_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=void 0;var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};r.registerInteraction(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),r.registerInteraction(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(15);e.BUTTON_ACTION_CONFIG={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};var s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.buttonGroup=null,n.buttonCfg=r.__assign({name:"button"},e.BUTTON_ACTION_CONFIG),n}return r.__extends(n,t),n.prototype.getButtonCfg=function(){var t=this.context.view,e=a.get(t,["interactions","filter-action","cfg","buttonConfig"]);return o.deepAssign(this.buttonCfg,e,this.cfg)},n.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},n.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:r.__assign({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},n.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=o.normalPadding(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:r.__assign({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},n.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},n.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},n.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},n.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},n}(i.Action);e.ButtonAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(15),u=n(119),c=n(512);function f(t){var e=t.chart,n=t.options,i=n.data,a=n.areaStyle,o=n.color,c=n.point,f=n.line,d=n.isPercent,p=n.xField,h=n.yField,g=n.tooltip,v=n.seriesField,y=n.startOnZero,m=null==c?void 0:c.state,b=u.getDataWhetherPecentage(i,h,p,h,d);e.data(b);var x=d?r.__assign({formatter:function(t){return{name:t[v]||t[p],value:(100*Number(t[h])).toFixed(2)+"%"}}},g):g,_=l.deepAssign({},t,{options:{area:{color:o,style:a},line:f&&r.__assign({color:o},f),point:c&&r.__assign({color:o},c),tooltip:x,label:void 0,args:{startOnZero:y}}}),O=l.deepAssign({options:{line:{size:2}}},_,{options:{sizeField:v,tooltip:!1}}),P=l.deepAssign({},_,{options:{tooltip:!1,state:m}});return s.area(_),s.line(O),s.point(P),t}function d(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"area");if(i){var u=i.callback,c=r.__rest(i,["callback"]);s.label({fields:[a],callback:u,cfg:r.__assign({layout:[{type:"limit-in-plot"},{type:"path-adjust-position"},{type:"point-adjust-position"},{type:"limit-in-plot",cfg:{action:"hide"}}]},l.transformLabel(c))})}else s.label(!1);return t}function p(t){var e=t.chart,n=t.options,r=n.isStack,a=n.isPercent,o=n.seriesField;return(a||r)&&o&&i.each(e.geometries,function(t){t.adjust("stack")}),t}Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return c.meta}}),e.adaptor=function(t){return l.flow(a.theme,a.pattern("areaStyle"),f,c.meta,p,c.axis,c.legend,a.tooltip,d,a.slider,a.annotation(),a.interaction,a.animation,a.limitInPlot)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},isStack:!0,line:{},legend:{position:"top-left"}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.interaction=e.pieAnnotation=e.transformStatisticOptions=void 0;var r=n(1),i=n(0),a=n(34),o=n(59),s=n(43),l=n(153),u=n(131),c=n(15),f=n(525),d=n(526),p=n(527);function h(t){var e=t.chart,n=t.options,i=n.data,a=n.angleField,o=n.colorField,l=n.color,u=n.pieStyle,f=c.processIllegalData(i,a);if(d.isAllZero(f,a)){var p="$$percentage$$";f=f.map(function(t){var e;return r.__assign(r.__assign({},t),((e={})[p]=1/f.length,e))}),e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:p,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}else{e.data(f);var h=c.deepAssign({},t,{options:{xField:"1",yField:a,seriesField:o,isStack:!0,interval:{color:l,style:u},args:{zIndexReversed:!0}}});s.interval(h)}return t}function g(t){var e,n=t.chart,r=t.options,i=r.meta,a=r.colorField,o=c.deepAssign({},i);return n.scale(o,((e={})[a]={type:"cat"},e)),t}function v(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"theta",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function y(t){var e=t.chart,n=t.options,a=n.label,o=n.colorField,s=n.angleField,l=e.geometries[0];if(a){var u=a.callback,f=r.__rest(a,["callback"]),p=c.transformLabel(f);if(p.content){var h=p.content;p.content=function(t,n,a){var l=t[o],u=t[s],f=e.getScaleByField(s),d=null==f?void 0:f.scale(u);return i.isFunction(h)?h(r.__assign(r.__assign({},t),{percent:d}),n,a):i.isString(h)?c.template(h,{value:u,name:l,percentage:i.isNumber(d)&&!i.isNil(u)?(100*d).toFixed(2)+"%":null}):h}}var g=p.type?({inner:"",outer:"pie-outer",spider:"pie-spider"})[p.type]:"pie-outer",v=p.layout?i.isArray(p.layout)?p.layout:[p.layout]:[];p.layout=(g?[{type:g}]:[]).concat(v),l.label({fields:o?[s,o]:[s],callback:u,cfg:r.__assign(r.__assign({},p),{offset:d.adaptOffset(p.type,p.offset),type:"pie"})})}else l.label(!1);return t}function m(t){var e=t.innerRadius,n=t.statistic,r=t.angleField,a=t.colorField,o=t.meta,s=t.locale,l=u.getLocale(s);if(e&&n){var p=c.deepAssign({},f.DEFAULT_OPTIONS.statistic,n),h=p.title,g=p.content;return!1!==h&&(h=c.deepAssign({},{formatter:function(t){return t?t[a]:i.isNil(h.content)?l.get(["statistic","total"]):h.content}},h)),!1!==g&&(g=c.deepAssign({},{formatter:function(t,e){var n=t?t[r]:d.getTotalValue(e,r),a=i.get(o,[r,"formatter"])||function(t){return t};return t?a(n):i.isNil(g.content)?a(n):g.content}},g)),c.deepAssign({},{statistic:{title:h,content:g}},t)}return t}function b(t){var e=t.chart,n=m(t.options),r=n.innerRadius,i=n.statistic;return e.getController("annotation").clear(!0),c.flow(a.annotation())(t),r&&i&&c.renderStatistic(e,{statistic:i,plotType:"pie"}),t}function x(t){var e=t.chart,n=t.options,r=n.tooltip,a=n.colorField,s=n.angleField,l=n.data;if(!1===r)e.tooltip(r);else if(e.tooltip(c.deepAssign({},r,{shared:!1})),d.isAllZero(l,s)){var u=i.get(r,"fields"),f=i.get(r,"formatter");i.isEmpty(i.get(r,"fields"))&&(u=[a,s],f=f||function(t){return{name:t[a],value:i.toString(t[s])}}),e.geometries[0].tooltip(u.join("*"),o.getMappingFunction(u,f))}return t}function _(t){var e=t.chart,n=m(t.options),a=n.interactions,o=n.statistic,s=n.annotations;return i.each(a,function(t){var n,a;if(!1===t.enable)e.removeInteraction(t.type);else if("pie-statistic-active"===t.type){var l=[];(null===(n=t.cfg)||void 0===n?void 0:n.start)||(l=[{trigger:"element:mouseenter",action:p.PIE_STATISTIC+":change",arg:{statistic:o,annotations:s}}]),i.each(null===(a=t.cfg)||void 0===a?void 0:a.start,function(t){l.push(r.__assign(r.__assign({},t),{arg:{statistic:o,annotations:s}}))}),e.interaction(t.type,c.deepAssign({},t.cfg,{start:l}))}else e.interaction(t.type,t.cfg||{})}),t}e.transformStatisticOptions=m,e.pieAnnotation=b,e.interaction=_,e.adaptor=function(t){return c.flow(l.pattern("pieStyle"),h,g,a.theme,v,a.legend,x,y,a.state,b,_,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(528),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return a.isEqual(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix(o.transform([["t",f,d]])),a.setMatrix(o.transform([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2)(n(6));Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=n(1),a=n(14),o=n(0),s=n(503),l=n(1131),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.__extends(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,i=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var u=o.get(i,["data","data"]);if(i.type.match("legend-item")){var c=a.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;u=n.getData().find(function(t){return t[f]===d.value})}}if(u){var p=o.get(t,"annotations",[]),h=o.get(t,"statistic",{});n.getController("annotation").clear(!0),o.each(p,function(t){"object"===(0,r.default)(t)&&n.annotation()[t.type](t)}),s.renderStatistic(n,{statistic:h,plotType:"pie"},u),n.render(!0)}var g=l.getCurrentElement(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();o.each(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(a.Action);e.StatisticAction=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=void 0,e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(0),a=n(15),o=n(15),s=n(34),l=n(59),u=n(64);function c(t){var e=t.chart,n=t.options,r=n.data,o=n.type,s=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=u.getTooltipMapping(v,[s,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),l.geometry(a.deepAssign({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,(i.get(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function f(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,l=n.yField;return o.flow(s.scale(((e={})[a]=r,e[l]=i,e)))(t)}function d(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function p(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function h(t){var e=t.chart,n=t.options,i=n.label,s=n.colorField,l=n.type,u=a.findGeometry(e,"density"===l?"heatmap":"polygon");if(i){if(s){var c=i.callback,f=r.__rest(i,["callback"]);u.label({fields:[s],callback:c,cfg:o.transformLabel(f)})}}else u.label(!1);return t}function g(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}e.adaptor=function(t){return o.flow(s.theme,s.pattern("heatmapStyle"),f,g,c,d,p,s.tooltip,h,s.annotation(),s.interaction,s.animation,s.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:r.__assign(r.__assign(r.__assign({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:r.__assign(r.__assign(r.__assign({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.legend=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(529),u=n(530);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=l.transform(t);e.data(f);var d=o.deepAssign({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:i.isFunction(c)&&r.__spreadArrays(i.get(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return s.point(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return o.flow(a.scale({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}e.legend=d,e.adaptor=function(t){o.flow(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=e.transform=e.wordCloud=void 0;var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){r.isNil(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}e.wordCloud=function(t,e){return a(t,e=r.assign({},i,e))},e.transform=a;var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n=0)&&(p=p?i.isArray(p)?p:[p]:[],f.layout=i.filter(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:a.transformLabel(f)})}else a.log(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return a.flow(o.scale(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}e.legend=c,e.adaptor=function(t){a.flow(o.pattern("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,o.annotation(),o.state)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(0),i=n(34),a=n(131),o=n(15),s=n(521),l=n(531),u=n(1142),c=n(1143),f=n(1144),d=n(120);function p(t){var e,n=t.options,i=n.compareField,l=n.xField,u=n.yField,c=n.locale,f=n.funnelStyle,p=n.data,h=a.getLocale(c),g={label:i?{fields:[l,u,i,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],formatter:function(t){return""+t[u]}}:{fields:[l,u,d.FUNNEL_PERCENT,d.FUNNEL_CONVERSATION],offset:0,position:"middle",formatter:function(t){return t[l]+" "+t[u]}},tooltip:{title:l,formatter:function(t){return{name:t[l],value:t[u]}}},conversionTag:{formatter:function(t){return h.get(["conversionTag","label"])+": "+s.conversionTagFormatter.apply(void 0,t[d.FUNNEL_CONVERSATION])}}};return(i||f)&&(e=function(t){return o.deepAssign({},i&&{lineWidth:1,stroke:"#fff"},r.isFunction(f)?f(t):f)}),o.deepAssign({options:g},t,{options:{funnelStyle:e,data:r.clone(p)}})}function h(t){var e=t.options,n=e.compareField,r=e.dynamicHeight;return e.seriesField?c.facetFunnel(t):n?u.compareFunnel(t):r?f.dynamicHeightFunnel(t):l.basicFunnel(t)}function g(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function v(t){return t.chart.axis(!1),t}function y(t){var e=t.chart,n=t.options.legend;return!1===n?e.legend(!1):e.legend(n),t}e.meta=g,e.adaptor=function(t){return o.flow(p,h,g,v,i.tooltip,i.interaction,y,i.animation,i.theme,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareFunnel=void 0;var r=n(0),i=n(15),a=n(64),o=n(59),s=n(120),l=n(300);function u(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function c(t){var e=t.chart,n=t.options,u=n.data,c=n.xField,f=n.yField,d=n.color,p=n.compareField,h=n.isTransposed,g=n.tooltip,v=n.maxSize,y=n.minSize,m=n.label,b=n.funnelStyle,x=n.state;return e.facet("mirror",{fields:[p],transpose:!h,padding:h?0:[32,0,0,0],eachView:function(t,e){var n=h?e.rowIndex:e.columnIndex;h||t.coordinate({type:"rect",actions:[["transpose"],["scale",0===n?-1:1,-1]]});var _=l.transformData(e.data,u,{yField:f,maxSize:v,minSize:y});t.data(_);var O=a.getTooltipMapping(g,[c,f,p]),P=O.fields,M=O.formatter;o.geometry({chart:t,options:{type:"interval",xField:c,yField:s.FUNNEL_MAPPING_VALUE,colorField:c,tooltipFields:r.isArray(P)&&P.concat([s.FUNNEL_PERCENT,s.FUNNEL_CONVERSATION]),mapping:{shape:"funnel",tooltip:M,color:d,style:b},label:!1!==m&&i.deepAssign({},h?{offset:0===n?10:-23,position:0===n?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:0===n?"end":"start"}},m),state:x}})}}),t}function f(t){var e=t.chart,n=t.options,r=n.conversionTag,a=n.isTransposed;return e.once("beforepaint",function(){e.views.forEach(function(t,e){l.conversionTagComponent(function(t,n,o,l){return i.deepAssign({},l,{start:[n-.5,t[s.FUNNEL_MAPPING_VALUE]],end:[n-.5,t[s.FUNNEL_MAPPING_VALUE]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:!1!==r?(0===e?-1:1)*r.offsetX:0,style:{textAlign:0===e?"end":"start"}}})})(i.deepAssign({},{chart:t,options:n}))})}),t}e.compareFunnel=function(t){return i.flow(u,c,f)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.facetFunnel=void 0;var r=n(15),i=n(531);function a(t){var e,n=t.chart,r=t.options,i=r.data,a=void 0===i?[]:i,o=r.yField;return n.data(a),n.scale(((e={})[o]={sync:!0},e)),t}function o(t){var e=t.chart,n=t.options,a=n.seriesField,o=n.isTransposed;return e.facet("rect",{fields:[a],padding:[o?0:32,10,0,10],eachView:function(e,n){i.basicFunnel(r.deepAssign({},t,{chart:e,options:{data:n.data}}))}}),t}e.facetFunnel=function(t){return r.flow(a,o)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dynamicHeightFunnel=void 0;var r=n(1),i=n(0),a=n(15),o=n(120),s=n(59),l=n(64),u=n(300);function c(t){var e=t.chart,n=t.options,r=n.data,a=void 0===r?[]:r,s=n.yField,l=i.reduce(a,function(t,e){return t+(e[s]||0)},0),u=i.maxBy(a,s)[s],c=i.map(a,function(t,e){var n=[],r=[];if(t[o.FUNNEL_TOTAL_PERCENT]=(t[s]||0)/l,e){var c=a[e-1][o.PLOYGON_X],f=a[e-1][o.PLOYGON_Y];n[0]=c[3],r[0]=f[3],n[1]=c[2],r[1]=f[2]}else n[0]=-.5,r[0]=1,n[1]=.5,r[1]=1;return r[2]=r[1]-t[o.FUNNEL_TOTAL_PERCENT],n[2]=(r[2]+1)/4,r[3]=r[2],n[3]=-n[2],t[o.PLOYGON_X]=n,t[o.PLOYGON_Y]=r,t[o.FUNNEL_PERCENT]=(t[s]||0)/u,t[o.FUNNEL_CONVERSATION]=[i.get(a,[e-1,s]),t[s]],t});return e.data(c),t}function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,u=n.color,c=n.tooltip,f=n.label,d=n.funnelStyle,p=n.state,h=l.getTooltipMapping(c,[r,a]),g=h.fields,v=h.formatter;return s.geometry({chart:e,options:{type:"polygon",xField:o.PLOYGON_X,yField:o.PLOYGON_Y,colorField:r,tooltipFields:i.isArray(g)&&g.concat([o.FUNNEL_PERCENT,o.FUNNEL_CONVERSATION]),label:f,state:p,mapping:{tooltip:v,color:u,style:d}}}),t}function d(t){var e=t.chart,n=t.options.isTransposed;return e.coordinate({type:"rect",actions:n?[["transpose"],["reflect","x"]]:[]}),t}function p(t){return u.conversionTagComponent(function(t,e,n,i){return r.__assign(r.__assign({},i),{start:[t[o.PLOYGON_X][1],t[o.PLOYGON_Y][1]],end:[t[o.PLOYGON_X][1]+.05,t[o.PLOYGON_Y][1]]})})(t),t}e.dynamicHeightFunnel=function(t){return a.flow(c,f,d,p)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=void 0;var r=n(1),i=n(34),a=n(43),o=n(15);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=o.deepAssign({},t,{options:{line:{style:s,color:l},point:u?r.__assign({color:l},u):u,area:c?r.__assign({color:l},c):c,label:void 0}}),d=o.deepAssign({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=o.deepAssign({},f,{options:{tooltip:!1,state:p}});return a.line(f),a.point(h),a.area(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return o.flow(i.scale(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=o.findGeometry(e,"line");if(i){var l=i.callback,u=r.__rest(i,["callback"]);s.label({fields:[a],callback:l,cfg:o.transformLabel(u)})}else s.label(!1);return t}e.adaptor=function(t){return o.flow(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,i.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(1147);r.registerAction("radar-tooltip",i.RadarTooltipAction),r.registerInteraction("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipAction=e.RadarTooltipController=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=a.isNil(s)?f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}else if(o&&e){var n=a.isNil(s)?e.name||f:s;d.push(r.__assign(r.__assign({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,i.registerComponentController("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(532);function u(t){var e=t.chart,n=t.options,r=n.percent,i=n.liquidStyle,a=n.radius,u=n.outline,c=n.wave,f=n.shape;e.scale({percent:{min:0,max:1}}),e.data(l.getLiquidData(r));var d=n.color||e.getTheme().defaultColor,p=o.deepAssign({},t,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:d,style:i,shape:"liquid-fill-gauge"}}}),h=s.interval(p).ext.geometry,g=e.getTheme().background;return h.customInfo({radius:a,outline:u,wave:c,shape:f,background:g}),e.legend(!1),e.axis(!1),e.tooltip(!1),t}function c(t,e){var n=t.chart,a=t.options,s=a.statistic,l=a.percent,u=a.meta;n.getController("annotation").clear(!0);var c=i.get(u,["percent","formatter"])||function(t){return(100*t).toFixed(2)+"%"},f=s.content;return f&&(f=o.deepAssign({},f,{content:i.isNil(f.content)?c(l):f.content})),o.renderStatistic(n,{statistic:r.__assign(r.__assign({},s),{content:f}),plotType:"liquid"},{percent:l}),e&&n.render(!0),t}e.statistic=c,e.adaptor=function(t){return o.flow(a.theme,a.pattern("liquidStyle"),u,c,a.scale({}),a.animation,a.interaction)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(528);function s(t,e,n,r){var i=2*n/3,a=Math.max(i,r),o=i/2,s=o+e-a/2,l=Math.asin(o/((a-o)*.85)),u=Math.sin(l)*o,c=Math.cos(l)*o,f=t-c,d=s+u,p=s+o/Math.sin(l);return"\n M "+f+" "+d+"\n A "+o+" "+o+" 0 1 1 "+(f+2*c)+" "+d+"\n Q "+t+" "+p+" "+t+" "+(e+a/2)+"\n Q "+t+" "+p+" "+f+" "+d+"\n Z \n "}function l(t,e,n,r){var i=n/2,a=r/2;return"\n M "+t+" "+(e-a)+" \n a "+i+" "+a+" 0 1 0 0 "+2*a+"\n a "+i+" "+a+" 0 1 0 0 "+-(2*a)+"\n Z\n "}function u(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+e+"\n L "+t+" "+(e+i)+"\n L "+(t-a)+" "+e+"\n Z\n "}function c(t,e,n,r){var i=r/2,a=n/2;return"\n M "+t+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}function f(t,e,n,r){var i=r/2,a=n/2*.618;return"\n M "+(t-a)+" "+(e-i)+"\n L "+(t+a)+" "+(e-i)+"\n L "+(t+a)+" "+(e+i)+"\n L "+(t-a)+" "+(e+i)+"\n Z\n "}i.registerShape("interval","liquid-fill-gauge",{draw:function(t,e){var n,i,d,p=t.customInfo,h=p.radius,g=p.shape,v=p.background,y=p.outline,m=p.wave,b=y.border,x=y.distance,_=m.count,O=m.length,P=a.reduce(t.points,function(t,e){return Math.min(t,e.x)},1/0),M=this.parsePoint({x:.5,y:.5}),A=this.parsePoint({x:P,y:.5}),S=Math.min(M.x-A.x,A.y*h),w=(n=r.__assign({opacity:1},t.style),t.color&&!n.fill&&(n.fill=t.color),n),E=(i=a.mix({},t,y),d=a.mix({},{fill:"#fff",fillOpacity:0,lineWidth:4},i.style),i.color&&!d.stroke&&(d.stroke=i.color),a.isNumber(i.opacity)&&(d.opacity=d.strokeOpacity=i.opacity),d),C=S-b/2,T={pin:s,circle:l,diamond:u,triangle:c,rect:f},I=("function"==typeof g?g:T[g]||T.circle)(M.x,M.y,2*C,2*C),j=e.addGroup({name:"waves"}),F=j.setClip({type:"path",attrs:{path:I}});return function(t,e,n,r,i,a,s,l,u){for(var c=i.fill,f=i.opacity,d=s.getBBox(),p=d.maxX-d.minX,h=d.maxY-d.minY,g=0;g0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0?g:v},b=l.deepAssign({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return o.interval(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=l.deepAssign({},{alias:f},i.get(d,f));return l.flow(a.scale(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),l.deepAssign({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=s.getLocale(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:l.deepAssign({},{r:5},i.get(a,"style"))}}),e.legend(l.deepAssign({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=l.findGeometry(e,"interval");if(i){var c=i.callback,f=r.__rest(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:l.transformLabel(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip(r.__assign({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1153),e.tooltip=y,e.adaptor=function(t){return l.flow(f,a.theme,d,p,h,g,y,v,a.state,a.interaction,a.animation,a.annotation())(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n(14),a=n(0),o=n(15);i.registerShape("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0,d=c>0;function p(t,e){var n=a.get(i,[t]);function r(t){return a.get(n,t)}var o={};return"x"===e?(a.isNumber(u)&&(a.isNumber(r("min"))||(o.min=f?0:2*u),a.isNumber(r("max"))||(o.max=f?2*u:0)),o):(a.isNumber(c)&&(a.isNumber(r("min"))||(o.min=d?0:2*c),a.isNumber(r("max"))||(o.max=d?2*c:0)),o)}return r.__assign(r.__assign({},i),((e={})[o]=r.__assign(r.__assign({},i[o]),p(o,"x")),e[s]=r.__assign(r.__assign({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(520)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.meta=void 0;var r=n(1),i=n(0),a=n(34),o=n(15),s=n(43),l=n(537);function u(t){var e=t.chart,n=t.options,a=n.bulletStyle,u=n.targetField,c=n.rangeField,f=n.measureField,d=n.xField,p=n.color,h=n.layout,g=n.size,v=n.label,y=l.transformData(n),m=y.min,b=y.max,x=y.ds;e.data(x);var _=o.deepAssign({},t,{options:{xField:d,yField:c,seriesField:"rKey",isStack:!0,label:i.get(v,"range"),interval:{color:i.get(p,"range"),style:i.get(a,"range"),size:i.get(g,"range")}}});s.interval(_),e.geometries[0].tooltip(!1);var O=o.deepAssign({},t,{options:{xField:d,yField:f,seriesField:"mKey",isStack:!0,label:i.get(v,"measure"),interval:{color:i.get(p,"measure"),style:i.get(a,"measure"),size:i.get(g,"measure")}}});s.interval(O);var P=o.deepAssign({},t,{options:{xField:d,yField:u,seriesField:"tKey",label:i.get(v,"target"),point:{color:i.get(p,"target"),style:i.get(a,"target"),size:i.isFunction(i.get(g,"target"))?function(t){return i.get(g,"target")(t)/2}:i.get(g,"target")/2,shape:"horizontal"===h?"line":"hyphen"}}});return s.point(P),"horizontal"===h&&e.coordinate().transpose(),r.__assign(r.__assign({},t),{ext:{data:{min:m,max:b}}})}function c(t){var e,n,r=t.options,i=t.ext,s=r.xAxis,l=r.yAxis,u=r.targetField,c=r.rangeField,f=r.measureField,d=r.xField,p=i.data;return o.flow(a.scale(((e={})[d]=s,e[f]=l,e),((n={})[f]={min:null==p?void 0:p.min,max:null==p?void 0:p.max,sync:!0},n[u]={sync:""+f},n[c]={sync:""+f},n)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.measureField,s=n.rangeField,l=n.targetField;return e.axis(""+s,!1),e.axis(""+l,!1),!1===r?e.axis(""+a,!1):e.axis(""+a,r),!1===i?e.axis(""+o,!1):e.axis(""+o,i),t}function d(t){var e=t.chart,n=t.options.legend;return e.removeInteraction("legend-filter"),e.legend(n),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),t}function p(t){var e=t.chart,n=t.options,a=n.label,s=n.measureField,l=n.targetField,u=n.rangeField,c=e.geometries,f=c[0],d=c[1],p=c[2];return i.get(a,"range")?f.label(""+u,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.range))):f.label(!1),i.get(a,"measure")?d.label(""+s,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.measure))):d.label(!1),i.get(a,"target")?p.label(""+l,r.__assign({layout:[{type:"limit-in-plot"}]},o.transformLabel(a.target))):p.label(!1),t}e.meta=c,e.adaptor=function(t){o.flow(u,c,f,d,a.theme,p,a.tooltip,a.interaction,a.animation)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(24),i=n(15);e.DEFAULT_OPTIONS=i.deepAssign({},r.Plot.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flow=function(){for(var t=[],e=0;e=(0,r.get)(e,["views","length"],0)?i(e):(0,r.reduce)(e.views,function(e,n){return e.concat(t(n))},i(e))},e.getAllGeometriesRecursively=function(t){return 0>=(0,r.get)(t,["views","length"],0)?t.geometries:(0,r.reduce)(t.views,function(t,e){return t.concat(e.geometries)},t.geometries)};var r=n(0);function i(t){return(0,r.reduce)(t.geometries,function(t,e){return t.concat(e.elements)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformLabel=function(t){if(!(0,i.isType)(t,"Object"))return t;var e=(0,r.__assign)({},t);return e.formatter&&!e.content&&(e.content=e.formatter),e};var r=n(1),i=n(0)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.catmullRom2bezier=o,e.getSplinePath=function(t,e,n){var r=[],a=t[0],s=null;if(t.length<=2)return i(t,e);for(var l=0,u=t.length;l0){var n;(function(t,e,n){var i,a=t.view,o=t.geometry,s=t.group,u=t.options,c=t.horizontal,f=u.offset,d=u.size,p=u.arrow,h=a.getCoordinate(),g=l(h,e)[c?3:0],v=l(h,n)[c?0:3],y=v.y-g.y,m=v.x-g.x;if("boolean"!=typeof p){var b=p.headSize,x=u.spacing;c?(m-b)/2_){var P=Math.max(1,Math.ceil(_/(O/y.length))-1),M=y.slice(0,P)+"...";x.attr("text",M)}}}}(h,n,t)}})}})),u}};var r=n(1),i=n(0),a=n(14),o=n(7),s=n(551);function l(t,e){return(0,i.map)(e.getModel().points,function(e){return t.convertPoint(e)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.connectedArea=function(t){return void 0===t&&(t=!1),function(e){var n=e.chart,r=e.options.connectedArea,o=function(){n.removeInteraction(i.hover),n.removeInteraction(i.click)};if(!t&&r){var s=r.trigger||"hover";o(),n.interaction(i[s],{start:a(s,r.style)})}else o();return e}};var r=n(14),i={hover:"__interval-connected-area-hover__",click:"__interval-connected-area-click__"},a=function(t,e){return"hover"===t?[{trigger:"interval:mouseenter",action:["element-highlight-by-color:highlight","element-link-by-color:link"],arg:[null,{style:e}]}]:[{trigger:"interval:click",action:["element-highlight-by-color:clear","element-highlight-by-color:highlight","element-link-by-color:clear","element-link-by-color:unlink","element-link-by-color:link"],arg:[null,null,null,null,{style:e}]}]};(0,r.registerInteraction)(i.hover,{start:a(i.hover),end:[{trigger:"interval:mouseleave",action:["element-highlight-by-color:reset","element-link-by-color:unlink"]}]}),(0,r.registerInteraction)(i.click,{start:a(i.click),end:[{trigger:"document:mousedown",action:["element-highlight-by-color:clear","element-link-by-color:clear"]}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getInteractionCfg=o;var r=n(14),i=n(1199);function a(t){return t.isInPlot()}function o(t,e,n){var r=e||"rect";switch(t){case"brush":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush:filter","brush:end",r+"-mask:end",r+"-mask:hide","brush-reset-button:show"]}],rollback:[{trigger:"brush-reset-button:click",action:["brush:reset","brush-reset-button:hide","cursor:crosshair"]}]};case"brush-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-x":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-x:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-x:filter","brush-x:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]};case"brush-x-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};case"brush-y":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:a,action:["brush-y:start",r+"-mask:start",r+"-mask:show"],arg:[null,{maskStyle:null==n?void 0:n.style}]}],processing:[{trigger:"mousemove",isEnable:a,action:[r+"-mask:resize"]}],end:[{trigger:"mouseup",isEnable:a,action:["brush-y:filter","brush-y:end",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-y:reset"]}]};case"brush-y-highlight":return{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(t){return!t.isInShape("mask")},action:[r+"-mask:start",r+"-mask:show"],arg:[{maskStyle:null==n?void 0:n.style}]},{trigger:"mask:dragstart",action:[r+"-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:[r+"-mask:resize"]},{trigger:"mask:drag",action:[r+"-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:[r+"-mask:end"]},{trigger:"mask:dragend",action:[r+"-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(t){return!t.isInPlot()},action:["element-range-highlight:clear",r+"-mask:end",r+"-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear",r+"-mask:hide"]}]};default:return{}}}(0,r.registerAction)("brush-reset-button",i.ButtonAction,{name:"brush-reset-button"}),(0,r.registerInteraction)("filter-action",{}),(0,r.registerInteraction)("brush",o("brush")),(0,r.registerInteraction)("brush-highlight",o("brush-highlight")),(0,r.registerInteraction)("brush-x",o("brush-x","x-rect")),(0,r.registerInteraction)("brush-y",o("brush-y","y-rect")),(0,r.registerInteraction)("brush-x-highlight",o("brush-x-highlight","x-rect")),(0,r.registerInteraction)("brush-y-highlight",o("brush-y-highlight","y-rect"))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ButtonAction=e.BUTTON_ACTION_CONFIG=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s={padding:[8,10],text:"reset",textStyle:{default:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"}},buttonStyle:{default:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},active:{fill:"#e6e6e6"}}};e.BUTTON_ACTION_CONFIG=s;var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buttonGroup=null,e.buttonCfg=(0,r.__assign)({name:"button"},s),e}return(0,r.__extends)(e,t),e.prototype.getButtonCfg=function(){var t=this.context.view,e=(0,a.get)(t,["interactions","filter-action","cfg","buttonConfig"]);return(0,o.deepAssign)(this.buttonCfg,e,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),e=this.context.view.foregroundGroup.addGroup({name:t.name}),n=this.drawText(e);this.drawBackground(e,n.getBBox()),this.buttonGroup=e},e.prototype.drawText=function(t){var e,n=this.getButtonCfg();return t.addShape({type:"text",name:"button-text",attrs:(0,r.__assign)({text:n.text},null===(e=n.textStyle)||void 0===e?void 0:e.default)})},e.prototype.drawBackground=function(t,e){var n,i=this.getButtonCfg(),a=(0,o.normalPadding)(i.padding),s=t.addShape({type:"rect",name:"button-rect",attrs:(0,r.__assign)({x:e.x-a[3],y:e.y-a[0],width:e.width+a[1]+a[3],height:e.height+a[0]+a[2]},null===(n=i.buttonStyle)||void 0===n?void 0:n.default)});return s.toBack(),t.on("mouseenter",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.active)}),t.on("mouseleave",function(){var t;s.attr(null===(t=i.buttonStyle)||void 0===t?void 0:t.default)}),s},e.prototype.resetPosition=function(){var t=this.context.view.getCoordinate().convert({x:1,y:1}),e=this.buttonGroup,n=e.getBBox(),r=i.Util.transform(null,[["t",t.x-n.width-10,t.y+n.height+5]]);e.setMatrix(r)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var e=this.buttonGroup;e&&e.remove(),t.prototype.destroy.call(this)},e}(i.Action);e.ButtonAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PieLegendAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(561),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getActiveElements=function(){var t=i.Util.getDelegationObject(this.context);if(t){var e=this.context.view,n=t.component,r=t.item,a=n.get("field");if(a)return e.geometries[0].elements.filter(function(t){return t.getModel().data[a]===r.value})}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,e=this.getActiveElements();return t.geometries[0].labelsContainer.getChildren().filter(function(t){return e.find(function(e){return(0,a.isEqual)(e.getData(),t.get("data"))})})},e.prototype.transfrom=function(t){void 0===t&&(t=7.5);var e=this.getActiveElements(),n=this.getActiveElementLabels();e.forEach(function(e,r){var a=n[r],s=e.geometry.coordinate;if(s.isPolar&&s.isTransposed){var l=i.Util.getAngle(e.getModel(),s),u=(l.startAngle+l.endAngle)/2,c=t,f=c*Math.cos(u),d=c*Math.sin(u);e.shape.setMatrix((0,o.transform)([["t",f,d]])),a.setMatrix((0,o.transform)([["t",f,d]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(i.Action);e.PieLegendAction=s},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.StatisticAction=void 0;var i=r(n(6)),a=n(1),o=n(14),s=n(0),l=n(542),u=n(1204),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,a.__extends)(e,t),e.prototype.getAnnotations=function(t){return(t||this.context.view).getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,e=this.context.view;e.removeInteraction("tooltip"),e.on("afterchangesize",function(){var n=t.getAnnotations(e);t.initialAnnotation=n})},e.prototype.change=function(t){var e=this.context,n=e.view,r=e.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var a=(0,s.get)(r,["data","data"]);if(r.type.match("legend-item")){var c=o.Util.getDelegationObject(this.context),f=n.getGroupedFields()[0];if(c&&f){var d=c.item;a=n.getData().find(function(t){return t[f]===d.value})}}if(a){var p=(0,s.get)(t,"annotations",[]),h=(0,s.get)(t,"statistic",{});n.getController("annotation").clear(!0),(0,s.each)(p,function(t){"object"===(0,i.default)(t)&&n.annotation()[t.type](t)}),(0,l.renderStatistic)(n,{statistic:h,plotType:"pie"},a),n.render(!0)}var g=(0,u.getCurrentElement)(this.context);g&&g.shape.toFront()},e.prototype.reset=function(){var t=this.context.view;t.getController("annotation").clear(!0);var e=this.getInitialAnnotation();(0,s.each)(e,function(e){t.annotation()[e.type](e)}),t.render(!0)},e}(o.Action);e.StatisticAction=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCurrentElement=function(t){var e,n=t.event.target;return n&&(e=n.get("element")),e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Rose=void 0;var r=n(1),i=n(19),a=n(1206),o=n(1207),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="rose",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Rose=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,a.flow)((0,o.pattern)("sectorStyle"),l,d,u,f,p,c,o.tooltip,o.interaction,o.animation,o.theme,(0,o.annotation)(),o.state)(t)},e.legend=c;var r=n(1),i=n(0),a=n(7),o=n(22),s=n(30);function l(t){var e=t.chart,n=t.options,r=n.data,i=n.sectorStyle,o=n.color;return e.data(r),(0,a.flow)(s.interval)((0,a.deepAssign)({},t,{options:{marginRatio:1,interval:{style:i,color:o}}})),t}function u(t){var e=t.chart,n=t.options,o=n.label,s=n.xField,l=(0,a.findGeometry)(e,"interval");if(!1===o)l.label(!1);else if((0,i.isObject)(o)){var u=o.callback,c=o.fields,f=(0,r.__rest)(o,["callback","fields"]),d=f.offset,p=f.layout;(void 0===d||d>=0)&&(p=p?(0,i.isArray)(p)?p:[p]:[],f.layout=(0,i.filter)(p,function(t){return"limit-in-shape"!==t.type}),f.layout.length||delete f.layout),l.label({fields:c||[s],callback:u,cfg:(0,a.transformLabel)(f)})}else(0,a.log)(a.LEVEL.WARN,null===o,"the label option must be an Object."),l.label({fields:[s]});return t}function c(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField;return!1===r?e.legend(!1):i&&e.legend(i,r),t}function f(t){var e=t.chart,n=t.options,r=n.radius,i=n.innerRadius,a=n.startAngle,o=n.endAngle;return e.coordinate({type:"polar",cfg:{radius:r,innerRadius:i,startAngle:a,endAngle:o}}),t}function d(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function p(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return r?e.axis(a,r):e.axis(a,!1),i?e.axis(o,i):e.axis(o,!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right"},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordCloud=void 0;var r=n(1),i=n(19),a=n(1209),o=n(563),s=n(562);n(1211);var l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="word-cloud",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData((0,s.transform)({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var e=this;return new Promise(function(n){var i=e.options.imageMask;if(!i){t.prototype.render.call(e),n();return}var a=function(i){e.options=(0,r.__assign)((0,r.__assign)({},e.options),{imageMask:i||null}),t.prototype.render.call(e),n()};(0,s.processImageMask)(i).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){var e=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){t.prototype.triggerResize.call(e)}))},e}(i.Plot);e.WordCloud=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){(0,o.flow)(c,f,a.tooltip,d,a.interaction,a.animation,a.theme,a.state)(t)},e.legend=d;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(562),u=n(563);function c(t){var e=t.chart,n=t.options,a=n.colorField,c=n.color,f=(0,l.transform)(t);e.data(f);var d=(0,o.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:a&&u.WORD_CLOUD_COLOR_FIELD,rawFields:(0,i.isFunction)(c)&&(0,r.__spreadArrays)((0,i.get)(n,"rawFields",[]),["datum"]),point:{color:c,shape:"word-cloud"}}});return(0,s.point)(d).ext.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),t}function f(t){return(0,o.flow)((0,a.scale)({x:{nice:!1},y:{nice:!1}}))(t)}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField;return!1===r?e.legend(!1):i&&e.legend(u.WORD_CLOUD_COLOR_FIELD,r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.functor=g,e.transform=a,e.wordCloud=function(t,e){return a(t,e=(0,r.assign)({},i,e))};var r=n(0),i={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function a(t,e){var n,i,a,y,m,b,x,_,O,P,M,A=(n=[256,256],i=l,a=c,y=u,m=f,b=d,x=p,_=Math.random,O=[],P=1/0,(M={}).start=function(){var t,e,r,l=n[0],c=n[1],f=((t=document.createElement("canvas")).width=t.height=1,e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2),t.width=2048/e,t.height=2048/e,(r=t.getContext("2d")).fillStyle=r.strokeStyle="red",r.textAlign="center",{context:r,ratio:e}),d=M.board?M.board:h((n[0]>>5)*n[1]),p=O.length,g=[],v=O.map(function(t,e,n){return t.text=s.call(this,t,e,n),t.font=i.call(this,t,e,n),t.style=u.call(this,t,e,n),t.weight=y.call(this,t,e,n),t.rotate=m.call(this,t,e,n),t.size=~~a.call(this,t,e,n),t.padding=b.call(this,t,e,n),t}).sort(function(t,e){return e.size-t.size}),A=-1,S=M.board?[{x:0,y:0},{x:l,y:c}]:null;return function(){for(var t=Date.now();Date.now()-t>1,e.y=c*(_()+.5)>>1,function(t,e,n,r){if(!e.sprite){var i=t.context,a=t.ratio;i.clearRect(0,0,2048/a,2048/a);var s=0,l=0,u=0,c=n.length;for(--r;++r>5<<5,d=~~Math.max(Math.abs(v+y),Math.abs(v-y))}else f=f+31>>5<<5;if(d>u&&(u=d),s+f>=2048&&(s=0,l+=u,u=0),l+d>=2048)break;i.translate((s+(f>>1))/a,(l+(d>>1))/a),e.rotate&&i.rotate(e.rotate*o),i.fillText(e.text,0,0),e.padding&&(i.lineWidth=2*e.padding,i.strokeText(e.text,0,0)),i.restore(),e.width=f,e.height=d,e.xoff=s,e.yoff=l,e.x1=f>>1,e.y1=d>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,s+=f}for(var b=i.getImageData(0,0,2048/a,2048/a).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var f=e.width,_=f>>5,d=e.y1-e.y0,O=0;O>5),w=b[(l+A)*2048+(s+O)<<2]?1<<31-O%32:0;x[S]|=w,P|=w}P?M=A:(e.y0++,d--,A--,l++)}e.y1=e.y0+M,e.sprite=x.slice(0,(e.y1-e.y0)*_)}}}(f,e,v,A),e.hasText&&function(t,e,r){for(var i,a,o,s=e.x,l=e.y,u=Math.sqrt(n[0]*n[0]+n[1]*n[1]),c=x(n),f=.5>_()?1:-1,d=-f;(i=c(d+=f))&&!(Math.min(Math.abs(a=~~i[0]),Math.abs(o=~~i[1]))>=u);)if(e.x=s+a,e.y=l+o,!(e.x+e.x0<0)&&!(e.y+e.y0<0)&&!(e.x+e.x1>n[0])&&!(e.y+e.y1>n[1])&&(!r||!function(t,e,n){n>>=5;for(var r,i=t.sprite,a=t.width>>5,o=t.x-(a<<4),s=127&o,l=32-s,u=t.y1-t.y0,c=(t.y+t.y0)*n+(o>>5),f=0;f>>s:0))&e[c+d])return!0;c+=n}return!1}(e,t,n[0]))&&(!r||e.x+e.x1>r[0].x&&e.x+e.x0r[0].y&&e.y+e.y0>5,g=n[0]>>5,v=e.x-(h<<4),y=127&v,m=32-y,b=e.y1-e.y0,O=void 0,P=(e.y+e.y0)*g+(v>>5),M=0;M>>y:0);P+=g}return delete e.sprite,!0}return!1}(d,e,S)&&(g.push(e),S?M.hasImage||function(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}(S,e):S=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=n[0]>>1,e.y-=n[1]>>1)}M._tags=g,M._bounds=S}(),M},M.createMask=function(t){var e=document.createElement("canvas"),r=n[0],i=n[1];if(r&&i){var a=r>>5,o=h((r>>5)*i);e.width=r,e.height=i;var s=e.getContext("2d");s.drawImage(t,0,0,t.width,t.height,0,0,r,i);for(var l=s.getImageData(0,0,r,i).data,u=0;u>5),d=u*r+c<<2,p=l[d]>=250&&l[d+1]>=250&&l[d+2]>=250?1<<31-c%32:0;o[f]|=p}M.board=o,M.hasImage=!0}},M.timeInterval=function(t){P=null==t?1/0:t},M.words=function(t){O=t},M.size=function(t){n=[+t[0],+t[1]]},M.font=function(t){i=g(t)},M.fontWeight=function(t){y=g(t)},M.rotate=function(t){m=g(t)},M.spiral=function(t){x=v[t]||t},M.fontSize=function(t){a=g(t)},M.padding=function(t){b=g(t)},M.random=function(t){_=g(t)},M);["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(t){(0,r.isNil)(e[t])||A[t](e[t])}),A.words(t),e.imageMask&&A.createMask(e.imageMask);var S=A.start()._tags;S.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var w=e.size,E=w[0],C=w[1];return S.push({text:"",value:0,x:0,y:0,opacity:0}),S.push({text:"",value:0,x:E,y:C,opacity:0}),S}var o=Math.PI/180;function s(t){return t.text}function l(){return"serif"}function u(){return"normal"}function c(t){return t.value}function f(){return 90*~~(2*Math.random())}function d(){return 1}function p(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function h(t){for(var e=[],n=-1;++n0,d=c>0;function p(t,e){var n=(0,a.get)(i,[t]);function r(t){return(0,a.get)(n,t)}var o={};return"x"===e?((0,a.isNumber)(u)&&((0,a.isNumber)(r("min"))||(o.min=f?0:2*u),(0,a.isNumber)(r("max"))||(o.max=f?2*u:0)),o):((0,a.isNumber)(c)&&((0,a.isNumber)(r("min"))||(o.min=d?0:2*c),(0,a.isNumber)(r("max"))||(o.max=d?2*c:0)),o)}return(0,r.__assign)((0,r.__assign)({},i),((e={})[o]=(0,r.__assign)((0,r.__assign)({},i[o]),p(o,"x")),e[s]=(0,r.__assign)((0,r.__assign)({},i[s]),p(s,"y")),e))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{size:4,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!0,crosshairs:{type:"xy"}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";n(566)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Radar=void 0;var r=n(1),i=n(19),a=n(7),o=n(1216);n(1217);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="radar",e}return(0,r.__extends)(e,t),e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.Radar=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(s,l,i.theme,u,c,i.legend,i.tooltip,f,i.interaction,i.animation,(0,i.annotation)())(t)};var r=n(1),i=n(22),a=n(30),o=n(7);function s(t){var e=t.chart,n=t.options,i=n.data,s=n.lineStyle,l=n.color,u=n.point,c=n.area;e.data(i);var f=(0,o.deepAssign)({},t,{options:{line:{style:s,color:l},point:u?(0,r.__assign)({color:l},u):u,area:c?(0,r.__assign)({color:l},c):c,label:void 0}}),d=(0,o.deepAssign)({},f,{options:{tooltip:!1}}),p=(null==u?void 0:u.state)||n.state,h=(0,o.deepAssign)({},f,{options:{tooltip:!1,state:p}});return(0,a.line)(f),(0,a.point)(h),(0,a.area)(d),t}function l(t){var e,n=t.options,r=n.xAxis,a=n.yAxis,s=n.xField,l=n.yField;return(0,o.flow)((0,i.scale)(((e={})[s]=r,e[l]=a,e)))(t)}function u(t){var e=t.chart,n=t.options,r=n.radius,i=n.startAngle,a=n.endAngle;return e.coordinate("polar",{radius:r,startAngle:i,endAngle:a}),t}function c(t){var e=t.chart,n=t.options,r=n.xField,i=n.xAxis,a=n.yField,o=n.yAxis;return e.axis(r,i),e.axis(a,o),t}function f(t){var e=t.chart,n=t.options,i=n.label,a=n.yField,s=(0,o.findGeometry)(e,"line");if(i){var l=i.callback,u=(0,r.__rest)(i,["callback"]);s.label({fields:[a],callback:l,cfg:(0,o.transformLabel)(u)})}else s.label(!1);return t}},function(t,e,n){"use strict";var r=n(14),i=n(1218);(0,r.registerAction)("radar-tooltip",i.RadarTooltipAction),(0,r.registerInteraction)("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RadarTooltipController=e.RadarTooltipAction=void 0;var r=n(1),i=n(14),a=n(0),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(e){var n=this.getTooltipCfg(),o=n.shared,s=n.title,l=t.prototype.getTooltipItems.call(this,e);if(l.length>0){var u=this.view.geometries[0],c=u.dataArray,f=l[0].name,d=[];return c.forEach(function(t){t.forEach(function(t){var e=i.Util.getTooltipItems(t,u)[0];if(!o&&e&&e.name===f){var n=(0,a.isNil)(s)?f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}else if(o&&e){var n=(0,a.isNil)(s)?e.name||f:s;d.push((0,r.__assign)((0,r.__assign)({},e),{name:e.title,title:n}))}})}),d}return[]},e}(i.TooltipController);e.RadarTooltipController=o,(0,i.registerComponentController)("radar-tooltip",o);var s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.init=function(){this.context.view.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event;this.getTooltipController().showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){this.getTooltipController().hideTooltip()},e.prototype.getTooltipController=function(){return this.context.view.getController("radar-tooltip")},e}(i.Action);e.RadarTooltipAction=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DualAxes=void 0;var r=n(1),i=n(19),a=n(7),o=n(1220),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dual-axes",e}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return(0,a.deepAssign)({},t.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return o.adaptor},e}(i.Plot);e.DualAxes=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)},e.animation=A,e.annotation=P,e.axis=x,e.color=m,e.interaction=O,e.legend=w,e.limitInPlot=S,e.meta=b,e.slider=E,e.theme=M,e.tooltip=_,e.transformOptions=g;var r=n(1),i=n(0),a=n(22),o=n(123),s=n(7),l=n(540),u=n(305),c=n(1221),f=n(1222),d=n(1223),p=n(567),h=n(568);function g(t){var e,n=t.options,r=n.geometryOptions,a=void 0===r?[]:r,o=n.xField,l=n.yField,c=(0,i.every)(a,function(t){var e=t.geometry;return e===p.DualAxesGeometry.Line||void 0===e});return(0,s.deepAssign)({},{options:{geometryOptions:[],meta:((e={})[o]={type:"cat",sync:!0,range:c?[0,1]:void 0},e),tooltip:{showMarkers:c,showCrosshairs:c,shared:!0,crosshairs:{type:"x"}},interactions:c?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},t,{options:{yAxis:(0,u.transformObjectToArray)(l,n.yAxis),geometryOptions:[(0,u.getGeometryOption)(o,l[0],a[0]),(0,u.getGeometryOption)(o,l[1],a[1])],annotations:(0,u.transformObjectToArray)(l,n.annotations)}})}function v(t){var e,n,r=t.chart,i=t.options.geometryOptions,a={line:0,column:1};return[{type:null===(e=i[0])||void 0===e?void 0:e.geometry,id:h.LEFT_AXES_VIEW},{type:null===(n=i[1])||void 0===n?void 0:n.geometry,id:h.RIGHT_AXES_VIEW}].sort(function(t,e){return-a[t.type]+a[e.type]}).forEach(function(t){return r.createView({id:t.id})}),t}function y(t){var e=t.chart,n=t.options,i=n.xField,a=n.yField,s=n.geometryOptions,c=n.data,d=n.tooltip;return[(0,r.__assign)((0,r.__assign)({},s[0]),{id:h.LEFT_AXES_VIEW,data:c[0],yField:a[0]}),(0,r.__assign)((0,r.__assign)({},s[1]),{id:h.RIGHT_AXES_VIEW,data:c[1],yField:a[1]})].forEach(function(t){var n=t.id,a=t.data,s=t.yField,c=(0,u.isColumn)(t)&&t.isPercent,p=c?(0,o.percent)(a,s,i,s):a,h=(0,l.findViewById)(e,n).data(p),g=c?(0,r.__assign)({formatter:function(e){return{name:e[t.seriesField]||s,value:(100*Number(e[s])).toFixed(2)+"%"}}},d):d;(0,f.drawSingleGeometry)({chart:h,options:{xField:i,yField:s,tooltip:g,geometryOption:t}})}),t}function m(t){var e,n=t.chart,r=t.options.geometryOptions,a=(null===(e=n.getTheme())||void 0===e?void 0:e.colors10)||[],o=0;return n.once("beforepaint",function(){(0,i.each)(r,function(t,e){var r=(0,l.findViewById)(n,0===e?h.LEFT_AXES_VIEW:h.RIGHT_AXES_VIEW);if(!t.color){var s=r.getGroupScales(),u=(0,i.get)(s,[0,"values","length"],1),c=a.slice(o,o+u).concat(0===e?[]:a);r.geometries.forEach(function(e){t.seriesField?e.color(t.seriesField,c):e.color(c[0])}),o+=u}}),n.render(!0)}),t}function b(t){var e,n,r=t.chart,i=t.options,o=i.xAxis,u=i.yAxis,c=i.xField,f=i.yField;return(0,a.scale)(((e={})[c]=o,e[f[0]]=u[0],e))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.LEFT_AXES_VIEW)})),(0,a.scale)(((n={})[c]=o,n[f[1]]=u[1],n))((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(r,h.RIGHT_AXES_VIEW)})),t}function x(t){var e=t.chart,n=t.options,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),a=n.xField,o=n.yField,s=n.xAxis,c=n.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),r.axis(a,s),r.axis(o[0],(0,u.getYAxisWithDefault)(c[0],p.AxisType.Left)),i.axis(a,!1),i.axis(o[1],(0,u.getYAxisWithDefault)(c[1],p.AxisType.Right)),t}function _(t){var e=t.chart,n=t.options.tooltip,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),i=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return e.tooltip(n),r.tooltip({shared:!0}),i.tooltip({shared:!0}),t}function O(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function P(t){var e=t.chart,n=t.options.annotations,r=(0,i.get)(n,[0]),o=(0,i.get)(n,[1]);return(0,a.annotation)(r)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{annotations:r}})),(0,a.annotation)(o)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{annotations:o}})),t}function M(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),(0,a.theme)(t),t}function A(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW)})),t}function S(t){var e=t.chart,n=t.options.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.LEFT_AXES_VIEW),options:{yAxis:n[0]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,l.findViewById)(e,h.RIGHT_AXES_VIEW),options:{yAxis:n[1]}})),t}function w(t){var e=t.chart,n=t.options,r=n.legend,a=n.geometryOptions,o=n.yField,u=n.data,f=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),d=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);if(!1===r)e.legend(!1);else if((0,i.isObject)(r)&&!0===r.custom)e.legend(r);else{var p=(0,i.get)(a,[0,"legend"],r),g=(0,i.get)(a,[1,"legend"],r);e.once("beforepaint",function(){var t=u[0].length?(0,c.getViewLegendItems)({view:f,geometryOption:a[0],yField:o[0],legend:p}):[],n=u[1].length?(0,c.getViewLegendItems)({view:d,geometryOption:a[1],yField:o[1],legend:g}):[];e.legend((0,s.deepAssign)({},r,{custom:!0,items:t.concat(n)}))}),a[0].seriesField&&f.legend(a[0].seriesField,p),a[1].seriesField&&d.legend(a[1].seriesField,g),e.on("legend-item:click",function(t){var n=(0,i.get)(t,"gEvent.delegateObject",{});if(n&&n.item){var r=n.item,a=r.value,s=r.isGeometry,u=r.viewId;if(s){if((0,i.findIndex)(o,function(t){return t===a})>-1){var c=(0,i.get)((0,l.findViewById)(e,u),"geometries");(0,i.each)(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=(0,i.get)(e.getController("legend"),"option.items",[]);(0,i.each)(e.views,function(t){var n=t.getGroupScales();(0,i.each)(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!(0,i.find)(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=(0,l.findViewById)(e,h.LEFT_AXES_VIEW),a=(0,l.findViewById)(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;(0,i.isEqual)(n,r)||(0,d.doSliderFilter)(a,n)}),e.once("afterpaint",function(){if(!(0,i.isBoolean)(n)){var t=n.start,e=n.end;(t||e)&&(0,d.doSliderFilter)(a,[t,e])}})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=(0,r.get)(l,"marker"),c=(0,a.findGeometry)(e,(0,o.isLine)(n)?"line":"interval");if(!n.seriesField){var f=(0,r.get)(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,(0,r.get)(d,["values",0],p)));var h=((0,r.isFunction)(u)?u:!(0,r.isEmpty)(u)&&(0,a.deepAssign)({},{style:{stroke:p,fill:p}},u))||((0,o.isLine)(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return(0,r.reduce)(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])};var r=n(0),i=n(14),a=n(7),o=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if((0,l.isLine)(u)){(0,a.line)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),(0,a.point)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{point:u.point&&(0,r.__assign)({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&(0,i.each)(n.geometries,function(t){t.adjust(v)})}return(0,l.isColumn)(u)&&(0,s.adaptor)((0,o.deepAssign)({},t,{options:(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(e,g)),u),{widthRatio:u.columnWidthRatio,interval:(0,r.__assign)((0,r.__assign)({},(0,o.pick)(u,["color"])),{style:u.columnStyle})})})),t};var r=n(1),i=n(0),a=n(30),o=n(7),s=n(198),l=n(305)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(7);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=(0,r.size)(o);if(s&&l){var u=(0,r.valuesOfKey)(o,s.field),c=(0,r.size)(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||(0,i.isBetween)(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_TOOLTIP_OPTIONS=e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(0),a={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(t,e){return""+(0,i.get)(e,[0,"data","y"],0)},containerTpl:'',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}};e.DEFAULT_TOOLTIP_OPTIONS=a;var o={appendPadding:2,tooltip:(0,r.__assign)({},a),animation:{}};e.DEFAULT_OPTIONS=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(1),i=n(156),a={appendPadding:2,tooltip:(0,r.__assign)({},i.DEFAULT_TOOLTIP_OPTIONS),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}};e.DEFAULT_OPTIONS=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Heatmap=void 0;var r=n(1),i=n(19),a=n(1228),o=n(1229);n(1230),n(1231);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="heatmap",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(i.Plot);e.Heatmap=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,a.flow)(o.theme,(0,o.pattern)("heatmapStyle"),c,h,u,f,d,o.tooltip,p,(0,o.annotation)(),o.interaction,o.animation,o.state)(t)};var r=n(1),i=n(0),a=n(7),o=n(22),s=n(49),l=n(65);function u(t){var e=t.chart,n=t.options,r=n.data,o=n.type,u=n.xField,c=n.yField,f=n.colorField,d=n.sizeField,p=n.sizeRatio,h=n.shape,g=n.color,v=n.tooltip,y=n.heatmapStyle;e.data(r);var m="polygon";"density"===o&&(m="heatmap");var b=(0,l.getTooltipMapping)(v,[u,c,f]),x=b.fields,_=b.formatter,O=1;return(p||0===p)&&(h||d?p<0||p>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):O=p:console.warn("sizeRatio is not in effect: Must define shape or sizeField first")),(0,s.geometry)((0,a.deepAssign)({},t,{options:{type:m,colorField:f,tooltipFields:x,shapeField:d||"",label:void 0,mapping:{tooltip:_,shape:h&&(d?function(t){var e=r.map(function(t){return t[d]}),n=Math.min.apply(Math,e),a=Math.max.apply(Math,e);return[h,((0,i.get)(t,d)-n)/(a-n),O]}:function(){return[h,1,O]}),color:g||f&&e.getTheme().sequenceColors.join("-"),style:y}}})),t}function c(t){var e,n=t.options,r=n.xAxis,i=n.yAxis,s=n.xField,l=n.yField;return(0,a.flow)((0,o.scale)(((e={})[s]=r,e[l]=i,e)))(t)}function f(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(o,!1):e.axis(o,i),t}function d(t){var e=t.chart,n=t.options,r=n.legend,i=n.colorField,a=n.sizeField,o=n.sizeLegend,s=!1!==r;return i&&e.legend(i,!!s&&r),a&&e.legend(a,void 0===o?r:o),s||o||e.legend(!1),t}function p(t){var e=t.chart,n=t.options,i=n.label,o=n.colorField,s=n.type,l=(0,a.findGeometry)(e,"density"===s?"heatmap":"polygon");if(i){if(o){var u=i.callback,c=(0,r.__rest)(i,["callback"]);l.label({fields:[o],callback:u,cfg:(0,a.transformLabel)(c)})}}else l.label(!1);return t}function h(t){var e=t.chart,n=t.options,r=n.coordinate,i=n.reflect;return r&&e.coordinate({type:r.type||"rect",cfg:r.cfg}),i&&e.coordinate().reflect(i),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","circle",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y))/2,u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("circle",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a,y:o,r:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("polygon","square",{draw:function(t,e){var n,i,a=t.x,o=t.y,s=this.parsePoints(t.points),l=Math.min(Math.abs(s[2].x-s[1].x),Math.abs(s[1].y-s[0].y)),u=Number(t.shape[1]),c=l*Math.sqrt(Number(t.shape[2]))*Math.sqrt(u),f=(null===(n=t.style)||void 0===n?void 0:n.fill)||t.color||(null===(i=t.defaultStyle)||void 0===i?void 0:i.fill);return e.addShape("rect",{attrs:(0,r.__assign)((0,r.__assign)((0,r.__assign)({x:a-c/2,y:o-c/2,width:c,height:c},t.defaultStyle),t.style),{fill:f})})}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Box=void 0;var r=n(1),i=n(19),a=n(1233),o=n(582),s=n(308),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="box",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return s.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t});var e=this.options.yField,n=this.chart.views.find(function(t){return t.id===s.OUTLIERS_VIEW_ID});n&&n.data(t),this.chart.changeData((0,o.transformData)(t,e))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Box=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(f,d,p,h,g,a.tooltip,a.interaction,a.animation,a.theme)(t)},e.legend=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(99),u=n(308),c=n(582);function f(t){var e=t.chart,n=t.options,r=n.xField,a=n.yField,l=n.groupField,f=n.color,d=n.tooltip,p=n.boxStyle;e.data((0,c.transformData)(n.data,a));var h=(0,i.isArray)(a)?u.BOX_RANGE:a,g=a?(0,i.isArray)(a)?a:[a]:[],v=d;!1!==v&&(v=(0,s.deepAssign)({},{fields:(0,i.isArray)(a)?a:[]},v));var y=(0,o.schema)((0,s.deepAssign)({},t,{options:{xField:r,yField:h,seriesField:l,tooltip:v,rawFields:g,label:!1,schema:{shape:"box",color:f,style:p}}})).ext;return l&&y.geometry.adjust("dodge"),t}function d(t){var e=t.chart,n=t.options,i=n.xField,a=n.data,s=n.outliersField,l=n.outliersStyle,c=n.padding,f=n.label;if(!s)return t;var d=e.createView({padding:c,id:u.OUTLIERS_VIEW_ID}),p=a.reduce(function(t,e){return e[s].forEach(function(n){var i;return t.push((0,r.__assign)((0,r.__assign)({},e),((i={})[s]=n,i)))}),t},[]);return d.data(p),(0,o.point)({chart:d,options:{xField:i,yField:s,point:{shape:"circle",style:l},label:f}}),d.axis(!1),t}function p(t){var e,n,r=t.chart,i=t.options,a=i.meta,o=i.xAxis,c=i.yAxis,f=i.xField,d=i.yField,p=i.outliersField,h=Array.isArray(d)?u.BOX_RANGE:d,g={};if(p){var v=u.BOX_SYNC_NAME;(e={})[p]={sync:v,nice:!0},e[h]={sync:v,nice:!0},g=e}var y=(0,s.deepAssign)(g,a,((n={})[f]=(0,s.pick)(o,l.AXIS_META_CONFIG_KEYS),n[h]=(0,s.pick)(c,l.AXIS_META_CONFIG_KEYS),n));return r.scale(y),t}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField,s=Array.isArray(o)?u.BOX_RANGE:o;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?e.axis(u.BOX_RANGE,!1):e.axis(s,i),t}function g(t){var e=t.chart,n=t.options,r=n.legend,i=n.groupField;return i?r?e.legend(i,r):e.legend(i,{position:"bottom"}):e.legend(!1),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Violin=void 0;var r=n(1),i=n(19),a=n(1235),o=n(584),s=n(583),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="violin",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData((0,s.transformViolinData)(this.options))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Violin=l},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(s.theme,g,v,y,m,s.tooltip,b,x,s.interaction,_,O)(t)},e.animation=O;var i=r(n(6)),a=n(1),o=n(0),s=n(22),l=n(30),u=n(7),c=n(99),f=n(583),d=n(584),p=["low","high","q1","q3","median"],h=[{type:"dodge",marginRatio:1/32}];function g(t){var e=t.chart,n=t.options;return e.data((0,f.transformViolinData)(n)),t}function v(t){var e=t.chart,n=t.options,r=n.seriesField,i=n.color,o=n.shape,s=n.violinStyle,u=n.tooltip,c=n.state,f=e.createView({id:d.VIOLIN_VIEW_ID});return(0,l.violin)({chart:f,options:{xField:d.X_FIELD,yField:d.VIOLIN_Y_FIELD,seriesField:r||d.X_FIELD,sizeField:d.VIOLIN_SIZE_FIELD,tooltip:(0,a.__assign)({fields:p},u),violin:{style:s,color:i,shape:void 0===o?"violin":o},state:c}}),f.geometries[0].adjust(h),t}function y(t){var e=t.chart,n=t.options,r=n.seriesField,o=n.color,s=n.tooltip,u=n.box;if(!1===u)return t;var c=e.createView({id:d.MIN_MAX_VIEW_ID});(0,l.interval)({chart:c,options:{xField:d.X_FIELD,yField:d.MIN_MAX_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:1,style:{lineWidth:0}}}}),c.geometries[0].adjust(h);var f=e.createView({id:d.QUANTILE_VIEW_ID});(0,l.interval)({chart:f,options:{xField:d.X_FIELD,yField:d.QUANTILE_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},interval:{color:o,size:8,style:{fillOpacity:1}}}}),f.geometries[0].adjust(h);var g=e.createView({id:d.MEDIAN_VIEW_ID});return(0,l.point)({chart:g,options:{xField:d.X_FIELD,yField:d.MEDIAN_FIELD,seriesField:r||d.X_FIELD,tooltip:(0,a.__assign)({fields:p},s),state:"object"===(0,i.default)(u)?u.state:{},point:{color:o,size:1,style:{fill:"white",lineWidth:0}}}}),g.geometries[0].adjust(h),f.axis(!1),c.axis(!1),g.axis(!1),g.legend(!1),c.legend(!1),f.legend(!1),t}function m(t){var e,n=t.chart,r=t.options,i=r.meta,o=r.xAxis,s=r.yAxis,l=(0,u.deepAssign)({},i,((e={})[d.X_FIELD]=(0,a.__assign)((0,a.__assign)({sync:!0},(0,u.pick)(o,c.AXIS_META_CONFIG_KEYS)),{type:"cat"}),e[d.VIOLIN_Y_FIELD]=(0,a.__assign)({sync:!0},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MIN_MAX_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.QUANTILE_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e[d.MEDIAN_FIELD]=(0,a.__assign)({sync:d.VIOLIN_Y_FIELD},(0,u.pick)(s,c.AXIS_META_CONFIG_KEYS)),e));return n.scale(l),t}function b(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return!1===r?a.axis(d.X_FIELD,!1):a.axis(d.X_FIELD,r),!1===i?a.axis(d.VIOLIN_Y_FIELD,!1):a.axis(d.VIOLIN_Y_FIELD,i),e.axis(!1),t}function x(t){var e=t.chart,n=t.options,r=n.legend,i=n.seriesField,a=n.shape;if(!1===r)e.legend(!1);else{var s=i||d.X_FIELD,l=(0,o.omit)(r,["selected"]);a&&a.startsWith("hollow")||(0,o.get)(l,["marker","style","lineWidth"])||(0,o.set)(l,["marker","style","lineWidth"],0),e.legend(s,l),(0,o.get)(r,"selected")&&(0,o.each)(e.views,function(t){return t.legend(s,r)})}return t}function _(t){var e=t.chart,n=(0,u.findViewById)(e,d.VIOLIN_VIEW_ID);return(0,s.annotation)()((0,a.__assign)((0,a.__assign)({},t),{chart:n})),t}function O(t){var e=t.chart,n=t.options.animation;return(0,o.each)(e.views,function(t){"boolean"==typeof n?t.animate(n):t.animate(!0),(0,o.each)(t.geometries,function(t){t.animate(n)})}),t}},function(t,e,n){"use strict";var r=Math.log(2),i=t.exports,a=n(1237);function o(t){return 1-Math.abs(t)}t.exports.getUnifiedMinMax=function(t,e){return i.getUnifiedMinMaxMulti([t],e)},t.exports.getUnifiedMinMaxMulti=function(t,e){e=e||{};var n=!1,r=!1,i=a.isNumber(e.width)?e.width:2,o=a.isNumber(e.size)?e.size:50,s=a.isNumber(e.min)?e.min:(n=!0,a.findMinMulti(t)),l=a.isNumber(e.max)?e.max:(r=!0,a.findMaxMulti(t)),u=(l-s)/(o-1);return n&&(s-=2*i*u),r&&(l+=2*i*u),{min:s,max:l}},t.exports.create=function(t,e){if(e=e||{},!t||0===t.length)return[];var n=a.isNumber(e.size)?e.size:50,r=a.isNumber(e.width)?e.width:2,s=i.getUnifiedMinMax(t,{size:n,width:r,min:e.min,max:e.max}),l=s.min,u=s.max-l,c=u/(n-1);if(0===u)return[{x:l,y:1}];for(var f=[],d=0;d=f.length)){var n=Math.max(e-r,0),i=Math.min(e+r,f.length-1),o=n-(e-r),s=e+r-i,u=h/(h-(p[-r-1+o]||0)-(p[-r-1+s]||0));o>0&&(v+=u*(o-1)*g);var d=Math.max(0,e-r+1);a.inside(0,f.length-1,d)&&(f[d].y+=1*u*g),a.inside(0,f.length-1,e+1)&&(f[e+1].y-=2*u*g),a.inside(0,f.length-1,i+1)&&(f[i+1].y+=1*u*g)}});var y=v,m=0,b=0;return f.forEach(function(t){m+=t.y,y+=m,t.y=y,b+=y}),b>0&&f.forEach(function(t){t.y/=b}),f},t.exports.getExpectedValueFromPdf=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){e+=t.x*t.y}),e}},t.exports.getXWithLeftTailArea=function(t,e){if(t&&0!==t.length){for(var n=0,r=0,i=0;i=e));i++);return t[r].x}},t.exports.getPerplexity=function(t){if(t&&0!==t.length){var e=0;return t.forEach(function(t){var n=Math.log(t.y);isFinite(n)&&(e+=t.y*n)}),Math.pow(2,e=-e/r)}}},function(t,e,n){"use strict";var r=t.exports;t.exports.isNumber=function(t){return"number"==typeof t},t.exports.findMin=function(t){if(0===t.length)return 1/0;for(var e=t[0],n=1;n1)throw Error("quantiles must be between 0 and 1");return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function i(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t,e,n,r){for(n=n||0,r=r||t.length-1;r>n;){if(r-n>600){var o=r-n+1,s=e-n+1,l=Math.log(o),u=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*u*(o-u)/o);s-o/2<0&&(c*=-1);var f=Math.max(n,Math.floor(e-s*u/o+c)),d=Math.min(r,Math.floor(e+(o-s)*u/o+c));a(t,e,f,d)}var p=t[e],h=n,g=r;for(i(t,n,e),t[r]>p&&i(t,n,r);hp;)g--}t[n]===p?i(t,n,g):i(t,++g,r),g<=e&&(n=g+1),e<=g&&(r=g-1)}}function o(t,e,n,r){e%1==0?a(t,e,n,r):(a(t,e=Math.floor(e),n,r),a(t,e+1,e+1,r))}function s(t,e){return t-e}function l(t,e){var n=t*e;return 1===e?t-1:0===e?0:n%1!=0?Math.ceil(n)-1:t%2==0?n-.5:n}Object.defineProperty(e,"__esModule",{value:!0}),e.quantile=function(t,e){var n=t.slice();if(Array.isArray(e)){(function(t,e){for(var n=[0],r=0;re?e:t},lighten:function(t,e){return t>e?t:e},dodge:function(t,e){return 255===t?255:(t=255*(e/255)/(1-t/255))>255?255:t},burn:function(t,e){return 255===e?255:0===t?0:255*(1-Math.min(1,(1-e/255)/(t/255)))}},o=function(t){if(!a[t])throw Error("unknown blend mode "+t);return a[t]};function s(t){var e,n=t.replace("/s+/g","");return"string"!=typeof n||n.startsWith("rgba")||n.startsWith("#")?(n.startsWith("rgba")&&(e=n.replace("rgba(","").replace(")","").split(",")),n.startsWith("#")&&(e=i.default.rgb2arr(n).concat([1])),e.map(function(t,e){return 3===e?Number(t):0|t})):i.default.rgb2arr(i.default.toRGB(n)).concat([1])}e.innerBlend=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bestInitialLayout=s,e.constrainedMDSLayout=l,e.disjointCluster=f,e.distanceFromIntersectArea=a,e.getDistanceMatrices=o,e.greedyLayout=u,e.lossFunction=c,e.normalizeSolution=function(t,e,n){null===e&&(e=Math.PI/2);var r,a,o=[];for(a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push({x:s.x,y:s.y,radius:s.radius,setid:a})}var l=f(o);for(r=0;r0){var r,a=t[0].x,o=t[0].y;for(r=0;r1){var s=Math.atan2(t[1].x,t[1].y)-e,l=void 0,u=void 0,c=Math.cos(s),f=Math.sin(s);for(r=0;r2){for(var d=Math.atan2(t[2].x,t[2].y)-e;d<0;)d+=2*Math.PI;for(;d>2*Math.PI;)d-=2*Math.PI;if(d>Math.PI){var p=t[1].y/(1e-10+t[1].x);for(r=0;re?1:-1}),e=0;e=Math.min(e[r].size,e[s].size)?u=1:t.size<=1e-10&&(u=-1),o[r][s]=o[s][r]=u}),{distances:i,constraints:o}}function s(t,e){var n=u(t,e),r=e.lossFunction||c;if(t.length>=8){var i=l(t,e);r(i,t)+1e-80&&h<=f||d<0&&h>=f||(a+=2*g*g,e[2*i]+=4*g*(o-u),e[2*i+1]+=4*g*(s-c),e[2*l]+=4*g*(u-o),e[2*l+1]+=4*g*(c-s))}return a}(t,e,d,p)};for(n=0;n=Math.min(o[p].size,o[h].size)&&(d=0),s[p].push({set:h,size:f.size,weight:d}),s[h].push({set:p,size:f.size,weight:d})}var g=[];for(n in s)if(s.hasOwnProperty(n)){for(var v=0,l=0;l0&&console.log("WARNING: area "+s+" not represented on screen")}return n},e.intersectionAreaPath=function(t){var e={};(0,i.intersectionArea)(t,e);var n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){var r=n[0].circle;return s(r.x,r.y,r.radius)}for(var a=["\nM",n[0].p2.x,n[0].p2.y],o=0;ou;a.push("\nA",u,u,0,c?1:0,1,l.p1.x,l.p1.y)}return a.join(" ")};var r=n(585),i=n(586);function a(t,e,n){var r,a,o=e[0].radius-(0,i.distance)(e[0],t);for(r=1;r=c&&(u=s[n],c=f)}var d=(0,r.nelderMead)(function(n){return -1*a({x:n[0],y:n[1]},t,e)},[u.x,u.y],{maxIterations:500,minErrorDelta:1e-10}).x,p={x:d[0],y:d[1]},h=!0;for(n=0;nt[n].radius){h=!1;break}for(n=0;n0;)u-=2*Math.PI;var c=a-t+(u=u/Math.PI/2*n)-2*t;l.push(["M",c,e]);for(var f=0,d=0;d0&&t.depth>p)return null;for(var e,i,s,l,f,h,v=t.data.name,y=(0,r.__assign)({},t);y.depth>1;)v=(null===(i=y.parent.data)||void 0===i?void 0:i.name)+" / "+v,y=y.parent;var b=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,o.pick)(t.data,(0,r.__spreadArrays)(c||[],[d.field]))),((e={})[u.SUNBURST_PATH_FIELD]=v,e[u.SUNBURST_ANCESTOR_FIELD]=y.data.name,e)),t);g&&(b[g]=t.data[g]||(null===(l=null===(s=t.parent)||void 0===s?void 0:s.data)||void 0===l?void 0:l[g])),n&&(b[n]=t.data[n]||(null===(h=null===(f=t.parent)||void 0===f?void 0:f.data)||void 0===h?void 0:h[n])),b.ext=d,b[a.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:d,colorField:n,rawFields:c},m.push(b)}),m};var r=n(1),i=n(0),a=n(201),o=n(7),s=n(1266),l=n(593),u=n(312)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.partition=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||2!==r.length)throw TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.partition().size(e.size).round(e.round).padding(e.padding)(i.hierarchy(t).sum(function(t){return(0,a.size)(t.children)?e.ignoreParentValue?0:t[n]-(0,a.reduce)(t.children,function(t,e){return t+e[n]},0):t[n]}).sort(e.sort)),u=r[0],c=r[1];return s.each(function(t){var e,n;t[u]=[t.x0,t.x1,t.x1,t.x0],t[c]=[t.y1,t.y1,t.y0,t.y0],t.name=t.name||(null===(e=t.data)||void 0===e?void 0:e.name)||(null===(n=t.data)||void 0===n?void 0:n.label),t.data.name=t.name,["x0","x1","y0","y1"].forEach(function(e){-1===r.indexOf(e)&&delete t[e]})}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",size:[1,1],round:!1,padding:0,sort:function(t,e){return e.value-t.value},as:["x","y"],ignoreParentValue:!0}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";var r=n(1);(0,n(14).registerShape)("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:(0,r.__assign)({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:(0,r.__assign)({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";var r=n(14),i=n(0);(0,r.registerShape)("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=(0,i.clamp)(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_0?g:v},b=(0,l.deepAssign)({},t,{options:{xField:a,yField:u.Y_FIELD,seriesField:a,rawFields:[s,u.DIFF_FIELD,u.IS_TOTAL,u.Y_FIELD],widthRatio:p,interval:{style:h,shape:"waterfall",color:m}}});return(0,o.interval)(b).ext.geometry.customInfo({leaderLine:d}),t}function p(t){var e,n,r=t.options,o=r.xAxis,s=r.yAxis,c=r.xField,f=r.yField,d=r.meta,p=(0,l.deepAssign)({},{alias:f},(0,i.get)(d,f));return(0,l.flow)((0,a.scale)(((e={})[c]=o,e[f]=s,e[u.Y_FIELD]=s,e),(0,l.deepAssign)({},d,((n={})[u.Y_FIELD]=p,n[u.DIFF_FIELD]=p,n[u.ABSOLUTE_FIELD]=p,n))))(t)}function h(t){var e=t.chart,n=t.options,r=n.xAxis,i=n.yAxis,a=n.xField,o=n.yField;return!1===r?e.axis(a,!1):e.axis(a,r),!1===i?(e.axis(o,!1),e.axis(u.Y_FIELD,!1)):(e.axis(o,i),e.axis(u.Y_FIELD,i)),t}function g(t){var e=t.chart,n=t.options,r=n.legend,a=n.total,o=n.risingFill,u=n.fallingFill,c=n.locale,f=(0,s.getLocale)(c);if(!1===r)e.legend(!1);else{var d=[{name:f.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:o}}},{name:f.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:u}}}];a&&d.push({name:a.label||"",value:"total",marker:{symbol:"square",style:(0,l.deepAssign)({},{r:5},(0,i.get)(a,"style"))}}),e.legend((0,l.deepAssign)({},{custom:!0,position:"top",items:d},r)),e.removeInteraction("legend-filter")}return t}function v(t){var e=t.chart,n=t.options,i=n.label,a=n.labelMode,o=n.xField,s=(0,l.findGeometry)(e,"interval");if(i){var c=i.callback,f=(0,r.__rest)(i,["callback"]);s.label({fields:"absolute"===a?[u.ABSOLUTE_FIELD,o]:[u.DIFF_FIELD,o],callback:c,cfg:(0,l.transformLabel)(f)})}else s.label(!1);return t}function y(t){var e=t.chart,n=t.options,i=n.tooltip,a=n.xField,o=n.yField;if(!1!==i){e.tooltip((0,r.__assign)({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[o]},i));var s=e.geometries[0];(null==i?void 0:i.formatter)?s.tooltip(a+"*"+o,i.formatter):s.tooltip(o)}else e.tooltip(!1);return t}n(1272)},function(t,e,n){"use strict";var r=n(1),i=n(14),a=n(0),o=n(7);(0,i.registerShape)("interval","waterfall",{draw:function(t,e){var n=t.customInfo,i=t.points,s=t.nextPoints,l=e.addGroup(),u=this.parsePath(function(t){for(var e=[],n=0;n0?Math.max.apply(Math,r):0,a=Math.abs(t)%360;return a?360*i/a:i},e.getStackedData=function(t,e,n){var i=[];return t.forEach(function(t){var a=i.find(function(n){return n[e]===t[e]});a?a[n]+=t[n]||null:i.push((0,r.__assign)({},t))}),i};var r=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0;var r=n(19),i=(0,n(7).deepAssign)({},r.Plot.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});e.DEFAULT_OPTIONS=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BidirectionalBar=void 0;var r=n(1),i=n(14),a=n(19),o=n(7),s=n(1278),l=n(599),u=n(598),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="bidirectional-bar",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return(0,o.deepAssign)({},t.getDefaultOptions.call(this),{syncViewPadding:l.syncViewPadding})},e.prototype.changeData=function(t){void 0===t&&(t=[]),this.chart.emit(i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.BEFORE_CHANGE_DATA,null)),this.updateOption({data:t});var e=this.options,n=e.xField,r=e.yField,a=e.layout,s=(0,l.transformData)(n,r,u.SERIES_FIELD_KEY,t,(0,l.isHorizontal)(a)),c=s[0],f=s[1],d=(0,o.findViewById)(this.chart,u.FIRST_AXES_VIEW),p=(0,o.findViewById)(this.chart,u.SECOND_AXES_VIEW);d.data(c),p.data(f),this.chart.render(!0),this.chart.emit(i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,i.Event.fromData(this.chart,i.VIEW_LIFE_CIRCLE.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.SERIES_FIELD_KEY=u.SERIES_FIELD_KEY,e}(a.Plot);e.BidirectionalBar=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(c,f,d,h,g,y,a.tooltip,p,v)(t)},e.animation=v,e.interaction=p,e.limitInPlot=h,e.theme=g;var r=n(1),i=n(0),a=n(22),o=n(30),s=n(7),l=n(598),u=n(599);function c(t){var e,n,r=t.chart,i=t.options,a=i.data,c=i.xField,f=i.yField,d=i.color,p=i.barStyle,h=i.widthRatio,g=i.legend,v=i.layout,y=(0,u.transformData)(c,f,l.SERIES_FIELD_KEY,a,(0,u.isHorizontal)(v));g?r.legend(l.SERIES_FIELD_KEY,g):!1===g&&r.legend(!1);var m=y[0],b=y[1];(0,u.isHorizontal)(v)?((e=r.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:l.FIRST_AXES_VIEW})).coordinate().transpose().reflect("x"),(n=r.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().transpose(),e.data(m),n.data(b)):(e=r.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:l.FIRST_AXES_VIEW}),(n=r.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:l.SECOND_AXES_VIEW})).coordinate().reflect("y"),e.data(m),n.data(b));var x=(0,s.deepAssign)({},t,{chart:e,options:{widthRatio:h,xField:c,yField:f[0],seriesField:l.SERIES_FIELD_KEY,interval:{color:d,style:p}}});(0,o.interval)(x);var _=(0,s.deepAssign)({},t,{chart:n,options:{xField:c,yField:f[1],seriesField:l.SERIES_FIELD_KEY,widthRatio:h,interval:{color:d,style:p}}});return(0,o.interval)(_),t}function f(t){var e,n,r,o=t.options,u=t.chart,c=o.xAxis,f=o.yAxis,d=o.xField,p=o.yField,h=(0,s.findViewById)(u,l.FIRST_AXES_VIEW),g=(0,s.findViewById)(u,l.SECOND_AXES_VIEW),v={};return(0,i.keys)((null==o?void 0:o.meta)||{}).map(function(t){(0,i.get)(null==o?void 0:o.meta,[t,"alias"])&&(v[t]=o.meta[t].alias)}),u.scale(((e={})[l.SERIES_FIELD_KEY]={sync:!0,formatter:function(t){return(0,i.get)(v,t,t)}},e)),(0,a.scale)(((n={})[d]=c,n[p[0]]=f[p[0]],n))((0,s.deepAssign)({},t,{chart:h})),(0,a.scale)(((r={})[d]=c,r[p[1]]=f[p[1]],r))((0,s.deepAssign)({},t,{chart:g})),t}function d(t){var e=t.chart,n=t.options,i=n.xAxis,a=n.yAxis,o=n.xField,c=n.yField,f=n.layout,d=(0,s.findViewById)(e,l.FIRST_AXES_VIEW),p=(0,s.findViewById)(e,l.SECOND_AXES_VIEW);return(null==i?void 0:i.position)==="bottom"?p.axis(o,(0,r.__assign)((0,r.__assign)({},i),{label:{formatter:function(){return""}}})):p.axis(o,!1),!1===i?d.axis(o,!1):d.axis(o,(0,r.__assign)({position:(0,u.isHorizontal)(f)?"top":"bottom"},i)),!1===a?(d.axis(c[0],!1),p.axis(c[1],!1)):(d.axis(c[0],a[c[0]]),p.axis(c[1],a[c[1]])),e.__axisPosition={position:d.getOptions().axes[o].position,layout:f},t}function p(t){var e=t.chart;return(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.interaction)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function h(t){var e=t.chart,n=t.options,r=n.yField,i=n.yAxis;return(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW),options:{yAxis:i[r[0]]}})),(0,a.limitInPlot)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW),options:{yAxis:i[r[1]]}})),t}function g(t){var e=t.chart;return(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.theme)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function v(t){var e=t.chart;return(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.FIRST_AXES_VIEW)})),(0,a.animation)((0,s.deepAssign)({},t,{chart:(0,s.findViewById)(e,l.SECOND_AXES_VIEW)})),t}function y(t){var e,n,i=this,a=t.chart,o=t.options,c=o.label,f=o.yField,d=o.layout,p=(0,s.findViewById)(a,l.FIRST_AXES_VIEW),h=(0,s.findViewById)(a,l.SECOND_AXES_VIEW),g=(0,s.findGeometry)(p,"interval"),v=(0,s.findGeometry)(h,"interval");if(c){var y=c.callback,m=(0,r.__rest)(c,["callback"]);m.position||(m.position="middle"),void 0===m.offset&&(m.offset=2);var b=(0,r.__assign)({},m);if((0,u.isHorizontal)(d)){var x=(null===(e=b.style)||void 0===e?void 0:e.textAlign)||("middle"===m.position?"center":"left");m.style=(0,s.deepAssign)({},m.style,{textAlign:x}),b.style=(0,s.deepAssign)({},b.style,{textAlign:{left:"right",right:"left",center:"center"}[x]})}else{var _={top:"bottom",bottom:"top",middle:"middle"};"string"==typeof m.position?m.position=_[m.position]:"function"==typeof m.position&&(m.position=function(){for(var t=[],e=0;e "+t.target,value:t.value}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var e=(0,l.transformToViewsData)(this.options,this.chart.width,this.chart.height),n=e.nodes,r=e.edges,i=(0,o.findViewById)(this.chart,u.NODES_VIEW_ID),a=(0,o.findViewById)(this.chart,u.EDGES_VIEW_ID);i.changeData(n),a.changeData(r)},e.prototype.getSchemaAdaptor=function(){return s.adaptor},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e}(a.Plot);e.Sankey=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(c,f,a.interaction,p,d,a.theme)(t)},e.animation=d,e.nodeDraggable=p;var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(601),u=n(316);function c(t){var e=t.options.rawFields,n=void 0===e?[]:e;return(0,o.deepAssign)({},{options:{tooltip:{fields:(0,i.uniq)((0,r.__spreadArrays)(["name","source","target","value","isNode"],n))},label:{fields:(0,i.uniq)((0,r.__spreadArrays)(["x","name"],n))}}},t)}function f(t){var e=t.chart,n=t.options,r=n.color,i=n.nodeStyle,a=n.edgeStyle,o=n.label,c=n.tooltip,f=n.nodeState,d=n.edgeState;e.legend(!1),e.tooltip(c),e.axis(!1),e.coordinate().reflect("y");var p=(0,l.transformToViewsData)(n,e.width,e.height),h=p.nodes,g=p.edges,v=e.createView({id:u.EDGES_VIEW_ID});v.data(g),(0,s.edge)({chart:v,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,edge:{color:r,style:a,shape:"arc"},tooltip:c,state:d}});var y=e.createView({id:u.NODES_VIEW_ID});return y.data(h),(0,s.polygon)({chart:y,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.COLOR_FIELD,polygon:{color:r,style:i},label:o,tooltip:c,state:f}}),e.interaction("element-active"),e.scale({x:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},y:{sync:!0,nice:!0,min:0,max:1,minLimit:0,maxLimit:1},name:{sync:"color",type:"cat"}}),t}function d(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,r.__spreadArrays)(e.views[0].geometries,e.views[1].geometries).forEach(function(t){t.animate(n)}),t}function p(t){var e=t.chart,n=t.options.nodeDraggable,r="sankey-node-draggable";return n?e.interaction(r):e.removeInteraction(r),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDefaultOptions=l,e.getNodeAlignFunction=s,e.sankeyLayout=function(t,e){var n=l(t),r=n.nodeId,a=n.nodeSort,o=n.nodeAlign,u=n.nodeWidth,c=n.nodePadding,f=n.nodeDepth,d=(0,i.sankey)().nodeSort(a).nodeWidth(u).nodePadding(c).nodeDepth(f).nodeAlign(s(o)).extent([[0,0],[1,1]]).nodeId(r)(e);return d.nodes.forEach(function(t){var e=t.x0,n=t.x1,r=t.y0,i=t.y1;t.x=[e,n,n,e],t.y=[r,r,i,i]}),d.links.forEach(function(t){var e=t.source,n=t.target,r=e.x1,i=n.x0;t.x=[r,r,i,i];var a=t.width/2;t.y=[t.y0+a,t.y0-a,t.y1+a,t.y1-a]}),d};var r=n(0),i=n(1286),a={left:i.left,right:i.right,center:i.center,justify:i.justify},o={nodeId:function(t){return t.index},nodeAlign:"justify",nodeWidth:.008,nodePadding:.03,nodeSort:void 0};function s(t){return((0,r.isString)(t)?a[t]:(0,r.isFunction)(t)?t:null)||i.justify}function l(t){return(0,r.assign)({},o,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"center",{enumerable:!0,get:function(){return i.center}}),Object.defineProperty(e,"justify",{enumerable:!0,get:function(){return i.justify}}),Object.defineProperty(e,"left",{enumerable:!0,get:function(){return i.left}}),Object.defineProperty(e,"right",{enumerable:!0,get:function(){return i.right}}),Object.defineProperty(e,"sankey",{enumerable:!0,get:function(){return r.Sankey}});var r=n(1287),i=n(602)},function(t,e,n){"use strict";var r=n(2);Object.defineProperty(e,"__esModule",{value:!0}),e.Sankey=function(){var t,e,n,r,v=0,y=0,m=1,b=1,x=24,_=8,O=f,P=a.justify,M=d,A=p,S=6;function w(a){var f={nodes:M(a),links:A(a)};return function(t){var e=t.nodes,r=t.links;e.forEach(function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]});var a=new Map(e.map(function(t){return[O(t),t]}));if(r.forEach(function(t,e){t.index=e;var n=t.source,r=t.target;"object"!==(0,i.default)(n)&&(n=t.source=h(a,n)),"object"!==(0,i.default)(r)&&(r=t.target=h(a,r)),n.sourceLinks.push(t),r.targetLinks.push(t)}),null!=n)for(var o=0;or)throw Error("circular link");i=a,a=new Set}if(t)for(var l=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),u=void 0,c=0;cn)throw Error("circular link");r=i,i=new Set}}(f),function(t){var i=function(t){for(var n=t.nodes,r=Math.max((0,o.maxValueBy)(n,function(t){return t.depth})+1,0),i=(m-v-x)/(r-1),a=Array(r).fill(0).map(function(){return[]}),s=0;s=0;--o){for(var s=t[o],l=0;l0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}})(i,f,d),function(t,n,i){for(var a=1,o=t.length;a0){var m=(f/d-c.y0)*n;c.y0+=m,c.y1+=m,I(c)}}void 0===e&&s.sort(u),s.length&&E(s,i)}}(i,f,d)}}(f),g(f),f}function E(t,e){var n=t.length>>1,i=t[n];T(t,i.y0-r,n-1,e),C(t,i.y1+r,n+1,e),T(t,b,t.length-1,e),C(t,y,0,e)}function C(t,e,n,i){for(;n1e-6&&(a.y0+=o,a.y1+=o),e=a.y1+r}}function T(t,e,n,i){for(;n>=0;--n){var a=t[n],o=(a.y1-e)*i;o>1e-6&&(a.y0-=o,a.y1-=o),e=a.y0-r}}function I(t){var e=t.sourceLinks,r=t.targetLinks;if(void 0===n){for(var i=0;io.findIndex(function(r){return r===t[e]+"_"+t[n]})})},e.getMatrix=a,e.getNodes=i;var r=n(0);function i(t,e,n){var r=[];return t.forEach(function(t){var i=t[e],a=t[n];r.includes(i)||r.push(i),r.includes(a)||r.push(a)}),r}function a(t,e,n,r){var i={};return e.forEach(function(t){i[t]={},e.forEach(function(e){i[t][e]=0})}),t.forEach(function(t){i[t[n]][t[r]]=1}),i}},function(t,e,n){"use strict";n(1291)},function(t,e,n){"use strict";var r=n(14),i=n(1292);(0,r.registerAction)("sankey-node-drag",i.SankeyNodeDragAction),(0,r.registerInteraction)("sankey-node-draggable",{showEnable:[{trigger:"polygon:mouseenter",action:"cursor:pointer"},{trigger:"polygon:mouseleave",action:"cursor:default"}],start:[{trigger:"polygon:mousedown",action:"sankey-node-drag:start"}],processing:[{trigger:"plot:mousemove",action:"sankey-node-drag:translate"},{isEnable:function(t){return t.isDragging},trigger:"plot:mousemove",action:"cursor:move"}],end:[{trigger:"plot:mouseup",action:"sankey-node-drag:end"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SankeyNodeDragAction=void 0;var r=n(1),i=n(14),a=n(0),o=n(7),s=n(316),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.isDragging=!1,e}return(0,r.__extends)(e,t),e.prototype.isNodeElement=function(){var t=(0,a.get)(this.context,"event.target");if(t){var e=t.get("element");return e&&e.getModel().data.isNode}return!1},e.prototype.getNodeView=function(){return(0,o.findViewById)(this.context.view,s.NODES_VIEW_ID)},e.prototype.getEdgeView=function(){return(0,o.findViewById)(this.context.view,s.EDGES_VIEW_ID)},e.prototype.getCurrentDatumIdx=function(t){return this.getNodeView().geometries[0].elements.indexOf(t)},e.prototype.start=function(){if(this.isNodeElement()){this.prevPoint={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")};var t=this.context.event.target.get("element"),e=this.getCurrentDatumIdx(t);-1!==e&&(this.currentElementIdx=e,this.context.isDragging=!0,this.isDragging=!0,this.prevNodeAnimateCfg=this.getNodeView().getOptions().animate,this.prevEdgeAnimateCfg=this.getEdgeView().getOptions().animate,this.getNodeView().animate(!1),this.getEdgeView().animate(!1))}},e.prototype.translate=function(){if(this.isDragging){var t=this.context.view,e={x:(0,a.get)(this.context,"event.x"),y:(0,a.get)(this.context,"event.y")},n=e.x-this.prevPoint.x,i=e.y-this.prevPoint.y,o=this.getNodeView(),s=o.geometries[0].elements[this.currentElementIdx];if(s&&s.getModel()){var l=s.getModel().data,u=o.getOptions().data,c=o.getCoordinate(),f={x:n/c.getWidth(),y:i/c.getHeight()},d=(0,r.__assign)((0,r.__assign)({},l),{x:l.x.map(function(t){return t+f.x}),y:l.y.map(function(t){return t+f.y})}),p=(0,r.__spreadArrays)(u);p[this.currentElementIdx]=d,o.data(p);var h=l.name,g=this.getEdgeView(),v=g.getOptions().data;v.forEach(function(t){t.source===h&&(t.x[0]+=f.x,t.x[1]+=f.x,t.y[0]+=f.y,t.y[1]+=f.y),t.target===h&&(t.x[2]+=f.x,t.x[3]+=f.x,t.y[2]+=f.y,t.y[3]+=f.y)}),g.data(v),this.prevPoint=e,t.render(!0)}}},e.prototype.end=function(){this.isDragging=!1,this.context.isDragging=!1,this.prevPoint=null,this.currentElementIdx=null,this.getNodeView().animate(this.prevNodeAnimateCfg),this.getEdgeView().animate(this.prevEdgeAnimateCfg)},e}(i.Action);e.SankeyNodeDragAction=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Chord=void 0;var r=n(1),i=n(19),a=n(1294),o=n(603),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="chord",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Chord=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,o.flow)(a.theme,c,g,f,d,p,h,y,v,a.interaction,a.state,m)(t)};var r=n(1),i=n(0),a=n(22),o=n(7),s=n(30),l=n(1295),u=n(603);function c(t){var e=t.options,n=e.data,i=e.sourceField,a=e.targetField,s=e.weightField,u=e.nodePaddingRatio,c=e.nodeWidthRatio,f=e.rawFields,d=void 0===f?[]:f,p=(0,o.transformDataToNodeLinkData)(n,i,a,s),h=(0,l.chordLayout)({weight:!0,nodePaddingRatio:u,nodeWidthRatio:c},p),g=h.nodes,v=h.links,y=g.map(function(t){return(0,r.__assign)((0,r.__assign)({},(0,o.pick)(t,(0,r.__spreadArrays)(["id","x","y","name"],d))),{isNode:!0})}),m=v.map(function(t){return(0,r.__assign)((0,r.__assign)({source:t.source.name,target:t.target.name,name:t.source.name||t.target.name},(0,o.pick)(t,(0,r.__spreadArrays)(["x","y","value"],d))),{isNode:!1})});return(0,r.__assign)((0,r.__assign)({},t),{ext:(0,r.__assign)((0,r.__assign)({},t.ext),{chordData:{nodesData:y,edgesData:m}})})}function f(t){var e;return t.chart.scale(((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}})[u.NODE_COLOR_FIELD]={sync:"color"},e[u.EDGE_COLOR_FIELD]={sync:"color"},e)),t}function d(t){return t.chart.axis(!1),t}function p(t){return t.chart.legend(!1),t}function h(t){var e=t.chart,n=t.options.tooltip;return e.tooltip(n),t}function g(t){return t.chart.coordinate("polar").reflect("y"),t}function v(t){var e=t.chart,n=t.options,r=t.ext.chordData.nodesData,i=n.nodeStyle,a=n.label,o=n.tooltip,l=e.createView();return l.data(r),(0,s.polygon)({chart:l,options:{xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.NODE_COLOR_FIELD,polygon:{style:i},label:a,tooltip:o}}),t}function y(t){var e=t.chart,n=t.options,r=t.ext.chordData.edgesData,i=n.edgeStyle,a=n.tooltip,o=e.createView();o.data(r);var l={xField:u.X_FIELD,yField:u.Y_FIELD,seriesField:u.EDGE_COLOR_FIELD,edge:{style:i,shape:"arc"},tooltip:a};return(0,s.edge)({chart:o,options:l}),t}function m(t){var e=t.chart,n=t.options.animation;return"boolean"==typeof n?e.animate(n):e.animate(!0),(0,i.each)((0,o.getAllGeometriesRecursively)(e),function(t){t.animate(n)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.chordLayout=function(t,e){var n,i,o=a(t),s={},l=e.nodes,u=e.links;return l.forEach(function(t){s[o.id(t)]=t}),(0,r.forIn)(s,function(t,e){t.inEdges=u.filter(function(t){return""+o.target(t)==""+e}),t.outEdges=u.filter(function(t){return""+o.source(t)==""+e}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(e){t.value+=o.targetWeight(e)}),t.outEdges.forEach(function(e){t.value+=o.sourceWeight(e)})}),!(i=({weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}})[(n=o).sortBy])&&(0,r.isFunction)(n.sortBy)&&(i=n.sortBy),i&&l.sort(i),{nodes:function(t,e){var n=t.length;if(!n)throw TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.nodePaddingRatio;if(r<0||r>=1)throw TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var i=r/(2*n),a=e.nodeWidthRatio;if(a<=0||a>=1)throw TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;t.forEach(function(t){o+=t.value}),t.forEach(function(t){t.weight=t.value/o,t.width=t.weight*(1-r),t.height=a}),t.forEach(function(n,r){for(var o=0,s=r-1;s>=0;s--)o+=t[s].width+2*i;var l=n.minX=i+o,u=n.maxX=n.minX+n.width,c=n.minY=e.y-a/2,f=n.maxY=c+a;n.x=[l,u,u,l],n.y=[c,c,f,f]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}return t}(l,o),links:function(t,e,n){if(n.weight){var i={};(0,r.forIn)(t,function(t,e){i[e]=t.value}),e.forEach(function(e){var r=n.source(e),a=n.target(e),o=t[r],s=t[a];if(o&&s){var l=i[r],u=n.sourceWeight(e),c=o.minX+(o.value-l)/o.value*o.width,f=c+u/o.value*o.width;i[r]-=u;var d=i[a],p=n.targetWeight(e),h=s.minX+(s.value-d)/s.value*s.width,g=h+p/s.value*s.width;i[a]-=p;var v=n.y;e.x=[c,f,h,g],e.y=[v,v,v,v],e.source=o,e.target=s}})}else e.forEach(function(e){var r=t[n.source(e)],i=t[n.target(e)];r&&i&&(e.x=[r.x,i.x],e.y=[r.y,i.y],e.source=r,e.target=i)});return e}(s,u,o)}},e.getDefaultOptions=a;var r=n(0),i={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function a(t){return(0,r.assign)({},i,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CirclePacking=void 0;var r=n(1),i=n(19),a=n(1297),o=n(604);n(1300);var s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="circle-packing",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e.prototype.triggerResize=function(){this.chart.destroyed||(this.chart.forceFit(),this.chart.clear(),this.execAdaptor(),this.chart.render(!0))},e}(i.Plot);e.CirclePacking=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)((0,o.pattern)("pointStyle"),f,d,o.theme,h,p,v,o.legend,g,y,o.animation,(0,o.annotation)())(t)},e.meta=h;var r=n(1),i=n(0),a=n(546),o=n(22),s=n(7),l=n(121),u=n(1298),c=n(604);function f(t){var e=t.chart,n=Math.min(e.viewBBox.width,e.viewBBox.height);return(0,s.deepAssign)({options:{size:function(t){return t.r*n}}},t)}function d(t){var e=t.options,n=t.chart,r=n.viewBBox,a=e.padding,o=e.appendPadding,s=e.drilldown,c=o;if(null==s?void 0:s.enabled){var f=(0,l.getAdjustAppendPadding)(n.appendPadding,(0,i.get)(s,["breadCrumb","position"]));c=(0,l.resolveAllPadding)([f,o])}var d=(0,u.resolvePaddingForCircle)(a,c,r).finalPadding;return n.padding=d,n.appendPadding=0,t}function p(t){var e=t.chart,n=t.options,i=e.padding,o=e.appendPadding,l=n.color,f=n.colorField,d=n.pointStyle,p=n.hierarchyConfig,h=n.sizeField,g=n.rawFields,v=void 0===g?[]:g,y=n.drilldown,m=(0,u.transformData)({data:n.data,hierarchyConfig:p,enableDrillDown:null==y?void 0:y.enabled,rawFields:v});e.data(m);var b=e.viewBBox,x=(0,u.resolvePaddingForCircle)(i,o,b).finalSize,_=function(t){return t.r*x};return h&&(_=function(t){return t[h]*x}),(0,a.point)((0,s.deepAssign)({},t,{options:{xField:"x",yField:"y",seriesField:f,sizeField:h,rawFields:(0,r.__spreadArrays)(c.RAW_FIELDS,v),point:{color:l,style:d,shape:"circle",size:_}}})),t}function h(t){return(0,s.flow)((0,o.scale)({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(t)}function g(t){var e=t.chart,n=t.options.tooltip;if(!1===n)e.tooltip(!1);else{var a=n;(0,i.get)(n,"fields")||(a=(0,s.deepAssign)({},{customItems:function(t){return t.map(function(t){var n=(0,i.get)(e.getOptions(),"scales"),a=(0,i.get)(n,["name","formatter"],function(t){return t}),o=(0,i.get)(n,["value","formatter"],function(t){return t});return(0,r.__assign)((0,r.__assign)({},t),{name:a(t.data.name),value:o(t.data.value)})})}},a)),e.tooltip(a)}return t}function v(t){return t.chart.axis(!1),t}function y(t){var e,n,i=t.chart,a=t.options;return(0,o.interaction)({chart:i,options:(e=a.drilldown,n=a.interactions,(null==e?void 0:e.enabled)?(0,s.deepAssign)({},a,{interactions:(0,r.__spreadArrays)(void 0===n?[]:n,[{type:"drill-down",cfg:{drillDownConfig:e,transformData:u.transformData,enableDrillDown:!0}}])}):a)}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolvePaddingForCircle=function(t,e,n){var r=(0,s.resolveAllPadding)([t,e]),i=r[0],a=r[1],o=r[2],l=r[3],u=n.width,c=n.height,f=u-(l+a),d=c-(i+o),p=Math.min(f,d),h=(f-p)/2,g=(d-p)/2;return{finalPadding:[i+g,a+h,o+g,l+h],finalSize:p<0?0:p}},e.transformData=function(t){var e=t.data,n=t.hierarchyConfig,s=t.rawFields,l=void 0===s?[]:s,u=t.enableDrillDown,c=(0,i.pack)(e,(0,r.__assign)((0,r.__assign)({},n),{field:"value",as:["x","y","r"]})),f=[];return c.forEach(function(t){for(var e,i=t.data.name,s=(0,r.__assign)({},t);s.depth>1;)i=(null===(e=s.parent.data)||void 0===e?void 0:e.name)+" / "+i,s=s.parent;if(u&&t.depth>2)return null;var c=(0,a.deepAssign)({},t.data,(0,r.__assign)((0,r.__assign)((0,r.__assign)({},(0,a.pick)(t.data,l)),{path:i}),t));c.ext=n,c[o.HIERARCHY_DATA_TRANSFORM_PARAMS]={hierarchyConfig:n,rawFields:l,enableDrillDown:u},f.push(c)}),f};var r=n(1),i=n(1299),a=n(7),o=n(201),s=n(121)},function(t,e,n){"use strict";var r=n(6);Object.defineProperty(e,"__esModule",{value:!0}),e.pack=function(t,e){var n,r=(e=(0,a.assign)({},l,e)).as;if(!(0,a.isArray)(r)||3!==r.length)throw TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');try{n=(0,o.getField)(e)}catch(t){console.warn(t)}var s=i.pack().size(e.size).padding(e.padding)(i.hierarchy(t).sum(function(t){return t[n]}).sort(e.sort)),u=r[0],c=r[1],f=r[2];return s.each(function(t){t[u]=t.x,t[c]=t.y,t[f]=t.r}),(0,o.getAllNodes)(s)};var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&Object.prototype.hasOwnProperty.call(t,o)){var l=a?Object.getOwnPropertyDescriptor(t,o):null;l&&(l.get||l.set)?Object.defineProperty(i,o,l):i[o]=t[o]}return i.default=t,n&&n.set(t,i),i}(n(193)),a=n(0),o=n(157);function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l={field:"value",as:["x","y","r"],sort:function(t,e){return e.value-t.value}}},function(t,e,n){"use strict";n(313)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.P=void 0;var r=n(1),i=n(7),a=function(t){function e(e,n,r,a){var o=t.call(this,e,(0,i.deepAssign)({},a,n))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=r,o}return(0,r.__extends)(e,t),e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e}(n(19).Plot);e.P=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,u.flow)(o.animation,f,d,o.interaction,o.animation,o.theme,o.tooltip)(t)};var r=n(1),i=n(0),a=n(49),o=n(22),s=n(19),l=n(99),u=n(7),c=n(606);function f(t){var e=t.chart,n=t.options,o=n.views,s=n.legend;return(0,i.each)(o,function(t){var n=t.region,o=t.data,s=t.meta,c=t.axes,f=t.coordinate,d=t.interactions,p=t.annotations,h=t.tooltip,g=t.geometries,v=e.createView({region:n});v.data(o);var y={};c&&(0,i.each)(c,function(t,e){y[e]=(0,u.pick)(t,l.AXIS_META_CONFIG_KEYS)}),y=(0,u.deepAssign)({},s,y),v.scale(y),c?(0,i.each)(c,function(t,e){v.axis(e,t)}):v.axis(!1),v.coordinate(f),(0,i.each)(g,function(t){var e=(0,a.geometry)({chart:v,options:t}).ext,n=t.adjust;n&&e.geometry.adjust(n)}),(0,i.each)(d,function(t){!1===t.enable?v.removeInteraction(t.type):v.interaction(t.type,t.cfg)}),(0,i.each)(p,function(t){v.annotation()[t.type]((0,r.__assign)({},t))}),"boolean"==typeof t.animation?v.animate(!1):(v.animate(!0),(0,i.each)(v.geometries,function(e){e.animate(t.animation)})),h&&(v.interaction("tooltip"),v.tooltip(h))}),s?(0,i.each)(s,function(t,n){e.legend(n,t)}):e.legend(!1),e.tooltip(n.tooltip),t}function d(t){var e=t.chart,n=t.options.plots;return(0,i.each)(n,function(t){var n=t.type,i=t.region,a=t.options,o=void 0===a?{}:a,l=o.tooltip,f=e.createView((0,r.__assign)({region:i},(0,u.pick)(o,s.PLOT_CONTAINER_OPTIONS)));l&&f.interaction("tooltip"),(0,c.execPlotAdaptor)(n,f,o)}),t}},function(t,e,n){"use strict";n(1304)},function(t,e,n){"use strict";var r=n(1),i=n(0),a=n(14),o=n(7),s=n(1305),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getAssociationItems=function(t,e){var n,r=this.context.event,a=e||{},l=a.linkField,u=a.dim,c=[];if(null===(n=r.data)||void 0===n?void 0:n.data){var f=r.data.data;(0,i.each)(t,function(t){var e,n,r=l;if("x"===u?r=t.getXScale().field:"y"===u?r=null===(e=t.getYScales().find(function(t){return t.field===r}))||void 0===e?void 0:e.field:r||(r=null===(n=t.getGroupScales()[0])||void 0===n?void 0:n.field),r){var a=(0,i.map)((0,o.getAllElements)(t),function(e){var n=!1,a=!1,o=(0,i.isArray)(f)?(0,i.get)(f[0],r):(0,i.get)(f,r);return(0,s.getElementValue)(e,r)===o?n=!0:a=!0,{element:e,view:t,active:n,inactive:a}});c.push.apply(c,a)}})}return c},e.prototype.showTooltip=function(t){var e=(0,o.getSiblingViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){if(t.active){var e=t.element.shape.getCanvasBBox();t.view.showTooltip({x:e.minX+e.width/2,y:e.minY+e.height/2})}})},e.prototype.hideTooltip=function(){var t=(0,o.getSiblingViews)(this.context.view);(0,i.each)(t,function(t){t.hideTooltip()})},e.prototype.active=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("active",!0)})},e.prototype.selected=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.active,n=t.element;e&&n.setState("selected",!0)})},e.prototype.highlight=function(t){var e=(0,o.getViews)(this.context.view),n=this.getAssociationItems(e,t);(0,i.each)(n,function(t){var e=t.inactive,n=t.element;e&&n.setState("inactive",!0)})},e.prototype.reset=function(){var t=(0,o.getViews)(this.context.view);(0,i.each)(t,function(t){(0,s.clearHighlight)(t)})},e}(a.Action);(0,a.registerAction)("association",l),(0,a.registerInteraction)("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]}),(0,a.registerInteraction)("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clearHighlight=function(t){var e=(0,i.getAllElements)(t);(0,r.each)(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})},e.getElementValue=function(t,e){var n=t.getModel().data;return(0,r.isArray)(n)?n[0][e]:n[e]};var r=n(0),i=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Facet=void 0;var r=n(1),i=n(19),a=n(1307),o=n(1309),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="area",e}return(0,r.__extends)(e,t),e.getDefaultOptions=function(){return o.DEFAULT_OPTIONS},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return a.adaptor},e}(i.Plot);e.Facet=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=function(t){return(0,s.flow)(a.theme,c,f)(t)};var r=n(1),i=n(0),a=n(22),o=n(99),s=n(7),l=n(606),u=n(1308);function c(t){var e=t.chart,n=t.options,a=n.type,o=n.data,s=n.fields,c=n.eachView,f=(0,i.omit)(n,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(o),e.facet(a,(0,r.__assign)((0,r.__assign)({},f),{fields:s,eachView:function(t,e){var n=c(t,e);if(n.geometries)(0,u.execViewAdaptor)(t,n);else{var r=n.options;r.tooltip&&t.interaction("tooltip"),(0,l.execPlotAdaptor)(n.type,t,r)}}})),t}function f(t){var e=t.chart,n=t.options,a=n.axes,l=n.meta,u=n.tooltip,c=n.coordinate,f=n.theme,d=n.legend,p=n.interactions,h=n.annotations,g={};return a&&(0,i.each)(a,function(t,e){g[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),g=(0,s.deepAssign)({},l,g),e.scale(g),e.coordinate(c),a?(0,i.each)(a,function(t,n){e.axis(n,t)}):e.axis(!1),u?(e.interaction("tooltip"),e.tooltip(u)):!1===u&&e.removeInteraction("tooltip"),e.legend(d),f&&e.theme(f),(0,i.each)(p,function(t){!1===t.enable?e.removeInteraction(t.type):e.interaction(t.type,t.cfg)}),(0,i.each)(h,function(t){e.annotation()[t.type]((0,r.__assign)({},t))}),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.execViewAdaptor=function(t,e){var n=e.data,l=e.coordinate,u=e.interactions,c=e.annotations,f=e.animation,d=e.tooltip,p=e.axes,h=e.meta,g=e.geometries;n&&t.data(n);var v={};p&&(0,i.each)(p,function(t,e){v[e]=(0,s.pick)(t,o.AXIS_META_CONFIG_KEYS)}),v=(0,s.deepAssign)({},h,v),t.scale(v),l&&t.coordinate(l),!1===p?t.axis(!1):(0,i.each)(p,function(e,n){t.axis(n,e)}),(0,i.each)(g,function(e){var n=(0,a.geometry)({chart:t,options:e}).ext,r=e.adjust;r&&n.geometry.adjust(r)}),(0,i.each)(u,function(e){!1===e.enable?t.removeInteraction(e.type):t.interaction(e.type,e.cfg)}),(0,i.each)(c,function(e){t.annotation()[e.type]((0,r.__assign)({},e))}),"boolean"==typeof f?t.animate(!1):(t.animate(!0),(0,i.each)(t.geometries,function(t){t.animate(f)})),d?(t.interaction("tooltip"),t.tooltip(d)):!1===d&&t.removeInteraction("tooltip")};var r=n(1),i=n(0),a=n(49),o=n(99),s=n(7)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_OPTIONS=void 0,e.DEFAULT_OPTIONS={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Stage=e.Lab=void 0,e.notice=o;var r,i,a=n(605);function o(t,e){console.warn(t===i.DEV?"Plot '"+e+"' is in DEV stage, just give us issues.":t===i.BETA?"Plot '"+e+"' is in BETA stage, DO NOT use it in production env.":t===i.STABLE?"Plot '"+e+"' is in STABLE stage, import it by \"import { "+e+" } from '@antv/g2plot'\".":"invalid Stage type.")}e.Stage=i,(r=i||(e.Stage=i={})).DEV="DEV",r.BETA="BETA",r.STABLE="STABLE";var s=function(){function t(){}return Object.defineProperty(t,"MultiView",{get:function(){return o(i.STABLE,"MultiView"),a.Mix},enumerable:!1,configurable:!0}),t}();e.Lab=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.adaptor=e.statistic=void 0;var r=n(1),i=n(0),a=n(34),o=n(43),s=n(509),l=n(15),u=n(317),c=n(607);function f(t){var e=t.chart,n=t.options,r=n.percent,a=n.range,f=n.radius,d=n.innerRadius,p=n.startAngle,h=n.endAngle,g=n.axis,v=n.indicator,y=n.gaugeStyle,m=n.type,b=n.meter,x=a.color,_=a.width;if(v){var O=c.getIndicatorData(r),P=e.createView({id:u.INDICATEOR_VIEW_ID});P.data(O),P.point().position(u.PERCENT+"*1").shape(v.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:v}),P.coordinate("polar",{startAngle:p,endAngle:h,radius:d*f}),P.axis(u.PERCENT,g),P.scale(u.PERCENT,l.pick(g,s.AXIS_META_CONFIG_KEYS))}var M=c.getRangeData(r,n.range),A=e.createView({id:u.RANGE_VIEW_ID});A.data(M);var S=i.isString(x)?[x,u.DEFAULT_COLOR]:x;return o.interval({chart:A,options:{xField:"1",yField:u.RANGE_VALUE,seriesField:u.RANGE_TYPE,rawFields:[u.PERCENT],isStack:!0,interval:{color:S,style:y,shape:"meter"===m?"meter-gauge":null},args:{zIndexReversed:!0},minColumnWidth:_,maxColumnWidth:_}}).ext.geometry.customInfo({meter:b}),A.coordinate("polar",{innerRadius:d,radius:f,startAngle:p,endAngle:h}).transpose(),t}function d(t){var e;return l.flow(a.scale(((e={range:{min:0,max:1,maxLimit:1,minLimit:0}})[u.PERCENT]={},e)))(t)}function p(t,e){var n=t.chart,i=t.options,a=i.statistic,o=i.percent;if(n.getController("annotation").clear(!0),a){var s=a.content,u=void 0;s&&(u=l.deepAssign({},{content:(100*o).toFixed(2)+"%",style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},s)),l.renderGaugeStatistic(n,{statistic:r.__assign(r.__assign({},a),{content:u})},{percent:o})}return e&&n.render(!0),t}function h(t){var e=t.chart;return e.legend(!1),e.tooltip(!1),t}e.statistic=p,e.adaptor=function(t){return l.flow(a.theme,a.animation,f,d,p,a.interaction,a.annotation(),h)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);n(14).registerShape("point","gauge-indicator",{draw:function(t,e){var n=t.customInfo,i=n.indicator,a=n.defaultColor,o=i.pointer,s=i.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:r.__assign({x1:u.x,y1:u.y,x2:t.x,y2:t.y,stroke:a},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:r.__assign({x:u.x,y:u.y,stroke:a},s.style)}),l}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),i=n(0);r.registerShape("interval","meter-gauge",{draw:function(t,e){var n=t.customInfo.meter,a=void 0===n?{}:n,o=a.steps,s=void 0===o?50:o,l=a.stepRatio,u=void 0===l?.5:l;s=s<1?1:s,u=i.clamp(u,0,1);var c=this.coordinate,f=c.startAngle,d=c.endAngle,p=0;u>0&&u<1&&(p=(d-f)/s/(u/(1-u)+1-1/s));for(var h=p/(1-u)*u,g=e.addGroup(),v=this.coordinate.getCenter(),y=this.coordinate.getRadius(),m=r.Util.getAngle(t,this.coordinate),b=m.startAngle,x=m.endAngle,_=b;_-1){var c=i.get(l.findViewById(e,u),"geometries");i.each(c,function(t){t.changeVisible(!n.item.unchecked)})}}else{var f=i.get(e.getController("legend"),"option.items",[]);i.each(e.views,function(t){var n=t.getGroupScales();i.each(n,function(e){e.values&&e.values.indexOf(a)>-1&&t.filter(e.field,function(t){return!i.find(f,function(e){return e.value===t}).unchecked})}),e.render(!0)})}}})}return t}function E(t){var e=t.chart,n=t.options.slider,r=l.findViewById(e,h.LEFT_AXES_VIEW),a=l.findViewById(e,h.RIGHT_AXES_VIEW);return n&&(r.option("slider",n),r.on("slider:valuechanged",function(t){var e=t.event,n=e.value,r=e.originValue;i.isEqual(n,r)||d.doSliderFilter(a,n)}),e.once("afterpaint",function(){if(!i.isBoolean(n)){var t=n.start,e=n.end;(t||e)&&d.doSliderFilter(a,[t,e])}})),t}e.transformOptions=g,e.color=m,e.meta=b,e.axis=x,e.tooltip=_,e.interaction=O,e.annotation=P,e.theme=M,e.animation=A,e.limitInPlot=S,e.legend=w,e.slider=E,e.adaptor=function(t){return s.flow(g,v,M,y,b,x,S,_,O,P,A,m,w,E)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getViewLegendItems=void 0;var r=n(0),i=n(14),a=n(15),o=n(318);e.getViewLegendItems=function(t){var e=t.view,n=t.geometryOption,s=t.yField,l=t.legend,u=r.get(l,"marker"),c=a.findGeometry(e,o.isLine(n)?"line":"interval");if(!n.seriesField){var f=r.get(e,"options.scales."+s+".alias")||s,d=c.getAttribute("color"),p=e.getTheme().defaultColor;d&&(p=i.Util.getMappingValue(d,f,r.get(d,["values",0],p)));var h=(r.isFunction(u)?u:!r.isEmpty(u)&&a.deepAssign({},{style:{stroke:p,fill:p}},u))||(o.isLine(n)?{symbol:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},style:{lineWidth:2,r:6,stroke:p}}:{symbol:"square",style:{fill:p}});return[{value:s,name:f,marker:h,isGeometry:!0,viewId:e.id}]}var g=c.getGroupAttributes();return r.reduce(g,function(t,n){var r=i.Util.getLegendItems(e,c,n,e.getTheme(),u);return t.concat(r)},[])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.drawSingleGeometry=void 0;var r=n(1),i=n(0),a=n(43),o=n(15),s=n(195),l=n(318);e.drawSingleGeometry=function(t){var e=t.options,n=t.chart,u=e.geometryOption,c=u.isStack,f=u.color,d=u.seriesField,p=u.groupField,h=u.isGroup,g=["xField","yField"];if(l.isLine(u)){a.line(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{line:{color:u.color,style:u.lineStyle}})})),a.point(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{point:u.point&&r.__assign({color:f,shape:"circle"},u.point)})}));var v=[];h&&v.push({type:"dodge",dodgeBy:p||d,customOffset:0}),c&&v.push({type:"stack"}),v.length&&i.each(n.geometries,function(t){t.adjust(v)})}return l.isColumn(u)&&s.adaptor(o.deepAssign({},t,{options:r.__assign(r.__assign(r.__assign({},o.pick(e,g)),u),{widthRatio:u.columnWidthRatio,interval:r.__assign(r.__assign({},o.pick(u,["color"])),{style:u.columnStyle})})})),t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.doSliderFilter=void 0;var r=n(0),i=n(15);e.doSliderFilter=function(t,e){var n=e[0],a=e[1],o=t.getOptions().data,s=t.getXScale(),l=r.size(o);if(s&&l){var u=r.valuesOfKey(o,s.field),c=r.size(u),f=Math.floor(n*(c-1)),d=Math.floor(a*(c-1));t.filter(s.field,function(t){var e=u.indexOf(t);return!(e>-1)||i.isBetween(e,f,d)}),t.render(!0)}}},function(t,e,n){"use strict";var r=n(9),i=n.n(r),a=n(10),o=n.n(a),s=n(363),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(5),h=n.n(p),g=n(66),v=[1,1.2,1.5,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10];function y(t){var e=1;if(0===(t=Math.abs(t)))return e;if(t<1){for(var n=0;t<1;)e/=10,t*=10,n++;return e.toString().length>12&&(e=parseFloat(e.toFixed(n))),e}for(;t>10;)e*=10,t/=10;return e}function m(t){var e=t.toString(),n=e.indexOf("."),r=e.indexOf("e-"),i=r>=0?parseInt(e.substr(r+2),10):e.substr(n+1).length;return i>20&&(i=20),i}function b(t,e){return parseFloat(t.toFixed(e))}Object(g.registerTickMethod)("linear-strict-tick-method",function(t){var e=t||{},n=e.tickCount,r=e.tickInterval,i=t||{},a=i.min,o=i.max;a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=n&&n>=2?n:5,l=r||function(t){var e=t.tickCount,n=t.min,r=t.max;if(n===r)return 1*y(r);for(var i=(r-n)/(e-1),a=y(i),o=i/a,s=r/a,l=n/a,u=0,c=0;c=r}({interval:v[s],tickCount:n,max:i,min:r})){o=v[s],a=!0;break}return a?o:10*t(0,n,r/10,i/10)}(u,e,l,s),d=m(f)+m(a);return b(f*a,d)}({tickCount:s,max:o,min:a}),u=Math.floor(a/l)*l;r&&(s=Math.max(s,Math.abs(Math.ceil((o-u)/r))+1));for(var c=[],f=0,d=m(l);fn}return!1}(n,t,a,r)&&(t=null),r||null===a?(l=n,(!!v.call(k,l)||!v.call(b,l)&&(y.test(l)?k[l]=!0:(b[l]=!0,!1)))&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t))):a.mustUseProperty?e[a.propertyName]=null===t?3!==a.type&&"":t:(n=a.attributeName,r=a.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(a=a.type)||4===a&&!0===t?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(x,E);S[n]=new w(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(x,E);S[n]=new w(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(x,E);S[n]=new w(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new w(e,1,!1,e.toLowerCase(),null,!0,!0)});var _=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,P=Symbol.for("react.element"),N=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),M=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),U=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var V=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var A=Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=A&&e[A]||e["@@iterator"])?e:null}var j,B=Object.assign;function H(e){if(void 0===j)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);j=n&&n[1]||""}return"\n"+j+e}var W=!1;function Q(e,n){if(!e||W)return"";W=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n){if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}e()}}catch(n){if(n&&r&&"string"==typeof n.stack){for(var l=n.stack.split("\n"),a=r.stack.split("\n"),u=l.length-1,o=a.length-1;1<=u&&0<=o&&l[u]!==a[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==a[o]){if(1!==u||1!==o)do if(u--,0>--o||l[u]!==a[o]){var i="\n"+l[u].replace(" at new "," at ");return e.displayName&&i.includes("")&&(i=i.replace("",e.displayName)),i}while(1<=u&&0<=o);break}}}finally{W=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?H(e):""}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function K(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var n=K(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var l=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function X(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==t&&(n.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function Z(e,n){var t=n.checked;return B({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function J(e,n){var t=null==n.defaultValue?"":n.defaultValue,r=null!=n.checked?n.checked:n.defaultChecked;t=q(null!=n.value?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function ee(e,n){null!=(n=n.checked)&&C(e,"checked",n,!1)}function en(e,n){ee(e,n);var t=q(n.value),r=n.type;if(null!=t)"number"===r?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===r||"reset"===r){e.removeAttribute("value");return}n.hasOwnProperty("value")?er(e,n.type,t):n.hasOwnProperty("defaultValue")&&er(e,n.type,q(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function et(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!("submit"!==r&&"reset"!==r||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function er(e,n,t){("number"!==n||G(e.ownerDocument)!==e)&&(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var el=Array.isArray;function ea(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=ep.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,r){MSApp.execUnsafeLocalFunction(function(){return ed(e,n,t,r)})}:ed);function eh(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType){t.nodeValue=n;return}}e.textContent=n}var eg={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ev=["Webkit","ms","Moz","O"];function ey(e,n,t){return null==n||"boolean"==typeof n||""===n?"":t||"number"!=typeof n||0===n||eg.hasOwnProperty(e)&&eg[e]?(""+n).trim():n+"px"}function eb(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var r=0===t.indexOf("--"),l=ey(t,n[t],r);"float"===t&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}Object.keys(eg).forEach(function(e){ev.forEach(function(n){eg[n=n+e.charAt(0).toUpperCase()+e.substring(1)]=eg[e]})});var ek=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ew(e,n){if(n){if(ek[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(f(137,e));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(f(60));if("object"!=typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(f(61))}if(null!=n.style&&"object"!=typeof n.style)throw Error(f(62))}}function eS(e,n){if(-1===e.indexOf("-"))return"string"==typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ex=null;function eE(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var eC=null,e_=null,eP=null;function eN(e){if(e=rD(e)){if("function"!=typeof eC)throw Error(f(280));var n=e.stateNode;n&&(n=rU(n),eC(e.stateNode,e.type,n))}}function ez(e){e_?eP?eP.push(e):eP=[e]:e_=e}function eT(){if(e_){var e=e_,n=eP;if(eP=e_=null,eN(e),n)for(e=0;e>>=0)?32:31-(e7(e)/ne|0)|0},e7=Math.log,ne=Math.LN2,nn=64,nt=4194304;function nr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function nl(e,n){var t=e.pendingLanes;if(0===t)return 0;var r=0,l=e.suspendedLanes,a=e.pingedLanes,u=268435455&t;if(0!==u){var o=u&~l;0!==o?r=nr(o):0!=(a&=u)&&(r=nr(a))}else 0!=(u=t&~l)?r=nr(u):0!==a&&(r=nr(a));if(0===r)return 0;if(0!==n&&n!==r&&0==(n&l)&&((l=r&-r)>=(a=n&-n)||16===l&&0!=(4194240&a)))return n;if(0!=(4&r)&&(r|=16&t),0!==(n=e.entangledLanes))for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function ni(e,n,t){e.pendingLanes|=n,536870912!==n&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[n=31-e9(n)]=t}function ns(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-e9(t),l=1<=td),th=!1;function tg(e,n){switch(e){case"keyup":return -1!==tc.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tv(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ty=!1,tb={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function tk(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!tb[e.type]:"textarea"===n}function tw(e,n,t,r){ez(r),0<(n=rs(n,"onChange")).length&&(t=new n0("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tS=null,tx=null;function tE(e){rn(e,0)}function tC(e){if(X(rI(e)))return e}function t_(e,n){if("change"===e)return n}var tP=!1;if(g){if(g){var tN="oninput"in document;if(!tN){var tz=document.createElement("div");tz.setAttribute("oninput","return;"),tN="function"==typeof tz.oninput}r=tN}else r=!1;tP=r&&(!document.documentMode||9=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tU(r)}}function tA(){for(var e=window,n=G();n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(t)e=n.contentWindow;else break;n=G(e.document)}return n}function t$(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var tj=g&&"documentMode"in document&&11>=document.documentMode,tB=null,tH=null,tW=null,tQ=!1;function tq(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;tQ||null==tB||tB!==G(r)||(r="selectionStart"in(r=tB)&&t$(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},tW&&tI(tW,r)||(tW=r,0<(r=rs(tH,"onSelect")).length&&(n=new n0("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=tB)))}function tK(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tY={animationend:tK("Animation","AnimationEnd"),animationiteration:tK("Animation","AnimationIteration"),animationstart:tK("Animation","AnimationStart"),transitionend:tK("Transition","TransitionEnd")},tX={},tG={};function tZ(e){if(tX[e])return tX[e];if(!tY[e])return e;var n,t=tY[e];for(n in t)if(t.hasOwnProperty(n)&&n in tG)return tX[e]=t[n];return e}g&&(tG=document.createElement("div").style,"AnimationEvent"in window||(delete tY.animationend.animation,delete tY.animationiteration.animation,delete tY.animationstart.animation),"TransitionEvent"in window||delete tY.transitionend.transition);var tJ=tZ("animationend"),t0=tZ("animationiteration"),t1=tZ("animationstart"),t2=tZ("transitionend"),t3=new Map,t4="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function t8(e,n){t3.set(e,n),m(n,[e])}for(var t6=0;t6rA||(e.current=rV[rA],rV[rA]=null,rA--)}function rB(e,n){rV[++rA]=e.current,e.current=n}var rH={},rW=r$(rH),rQ=r$(!1),rq=rH;function rK(e,n){var t=e.type.contextTypes;if(!t)return rH;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l,a={};for(l in t)a[l]=n[l];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function rY(e){return null!=(e=e.childContextTypes)}function rX(){rj(rQ),rj(rW)}function rG(e,n,t){if(rW.current!==rH)throw Error(f(168));rB(rW,n),rB(rQ,t)}function rZ(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,"function"!=typeof r.getChildContext)return t;for(var l in r=r.getChildContext())if(!(l in n))throw Error(f(108,function(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=n.render).displayName||e.name||"",n.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return function e(n){if(null==n)return null;if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n;switch(n){case z:return"Fragment";case N:return"Portal";case L:return"Profiler";case T:return"StrictMode";case O:return"Suspense";case D:return"SuspenseList"}if("object"==typeof n)switch(n.$$typeof){case M:return(n.displayName||"Context")+".Consumer";case R:return(n._context.displayName||"Context")+".Provider";case F:var t=n.render;return(n=n.displayName)||(n=""!==(n=t.displayName||t.name||"")?"ForwardRef("+n+")":"ForwardRef"),n;case I:return null!==(t=n.displayName||null)?t:e(n.type)||"Memo";case U:t=n._payload,n=n._init;try{return e(n(t))}catch(e){}}return null}(n);case 8:return n===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof n)return n.displayName||n.name||null;if("string"==typeof n)return n}return null}(e)||"Unknown",l));return B({},t,r)}function rJ(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||rH,rq=rW.current,rB(rW,e),rB(rQ,rQ.current),!0}function r0(e,n,t){var r=e.stateNode;if(!r)throw Error(f(169));t?(e=rZ(e,n,rq),r.__reactInternalMemoizedMergedChildContext=e,rj(rQ),rj(rW),rB(rW,e)):rj(rQ),rB(rQ,t)}var r1=null,r2=!1,r3=!1;function r4(){if(!r3&&null!==r1){r3=!0;var e=0,n=nc;try{var t=r1;for(nc=1;e>=u,l-=u,lt=1<<32-e9(n)+l|t<h?(g=f,f=null):g=f.sibling;var v=p(l,f,o[h],i);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&n(l,f),u=a(v,u,h),null===c?s=v:c.sibling=v,c=v,f=g}if(h===o.length)return t(l,f),lc&&ll(l,h),s;if(null===f){for(;hg?(v=h,h=null):v=h.sibling;var b=p(l,h,y.value,i);if(null===b){null===h&&(h=v);break}e&&h&&null===b.alternate&&n(l,h),u=a(b,u,g),null===c?s=b:c.sibling=b,c=b,h=v}if(y.done)return t(l,h),lc&&ll(l,g),s;if(null===h){for(;!y.done;g++,y=o.next())null!==(y=d(l,y.value,i))&&(u=a(y,u,g),null===c?s=y:c.sibling=y,c=y);return lc&&ll(l,g),s}for(h=r(l,h);!y.done;g++,y=o.next())null!==(y=m(h,l,g,y.value,i))&&(e&&null!==y.alternate&&h.delete(null===y.key?g:y.key),u=a(y,u,g),null===c?s=y:c.sibling=y,c=y);return e&&h.forEach(function(e){return n(l,e)}),lc&&ll(l,g),s}(i,s,c,h);lJ(i,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==s&&6===s.tag?(t(i,s.sibling),(s=l(s,c)).return=i,i=s):(t(i,s),(s=oZ(c,i.mode,h)).return=i,i=s),u(i)):t(i,s)}}var l2=l1(!0),l3=l1(!1),l4={},l8=r$(l4),l6=r$(l4),l5=r$(l4);function l9(e){if(e===l4)throw Error(f(174));return e}function l7(e,n){switch(rB(l5,n),rB(l6,e),rB(l8,l4),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ef(null,"");break;default:n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName,n=ef(n,e)}rj(l8),rB(l8,n)}function ae(){rj(l8),rj(l6),rj(l5)}function an(e){l9(l5.current);var n=l9(l8.current),t=ef(n,e.type);n!==t&&(rB(l6,e),rB(l8,t))}function at(e){l6.current===e&&(rj(l8),rj(l6))}var ar=r$(0);function al(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!=(128&n.flags))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var aa=[];function au(){for(var e=0;et?t:4,e(!0);var r=ai.transition;ai.transition={};try{e(!1),n()}finally{nc=t,ai.transition=r}}function aY(){return aS().memoizedState}function aX(e,n,t){var r=ob(e);t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},aZ(e)?aJ(n,t):null!==(t=lF(e,n,t,r))&&(ok(t,e,r,oy()),a0(t,n,r))}function aG(e,n,t){var r=ob(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(aZ(e))aJ(n,l);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=n.lastRenderedReducer))try{var u=n.lastRenderedState,o=a(u,t);if(l.hasEagerState=!0,l.eagerState=o,tD(o,u)){var i=n.interleaved;null===i?(l.next=l,lM(n)):(l.next=i.next,i.next=l),n.interleaved=l;return}}catch(e){}finally{}null!==(t=lF(e,n,l,r))&&(ok(t,e,r,l=oy()),a0(t,n,r))}}function aZ(e){var n=e.alternate;return e===ac||null!==n&&n===ac}function aJ(e,n){am=ap=!0;var t=e.pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function a0(e,n,t){if(0!=(4194240&t)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,ns(e,t)}}var a1={readContext:lL,useCallback:av,useContext:av,useEffect:av,useImperativeHandle:av,useInsertionEffect:av,useLayoutEffect:av,useMemo:av,useReducer:av,useRef:av,useState:av,useDebugValue:av,useDeferredValue:av,useTransition:av,useMutableSource:av,useSyncExternalStore:av,useId:av,unstable_isNewReconciler:!1},a2={readContext:lL,useCallback:function(e,n){return aw().memoizedState=[e,void 0===n?null:n],e},useContext:lL,useEffect:aU,useImperativeHandle:function(e,n,t){return t=null!=t?t.concat([e]):null,aD(4194308,4,aj.bind(null,n,e),t)},useLayoutEffect:function(e,n){return aD(4194308,4,e,n)},useInsertionEffect:function(e,n){return aD(4,2,e,n)},useMemo:function(e,n){var t=aw();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=aw();return n=void 0!==t?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=aX.bind(null,ac,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},aw().memoizedState=e},useState:aM,useDebugValue:aH,useDeferredValue:function(e){return aw().memoizedState=e},useTransition:function(){var e=aM(!1),n=e[0];return e=aK.bind(null,e[1]),aw().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=ac,l=aw();if(lc){if(void 0===t)throw Error(f(407));t=t()}else{if(t=n(),null===u3)throw Error(f(349));0!=(30&as)||aN(r,n,t)}l.memoizedState=t;var a={value:t,getSnapshot:n};return l.queue=a,aU(aT.bind(null,r,a,e),[e]),r.flags|=2048,aF(9,az.bind(null,r,a,t,n),void 0,null),t},useId:function(){var e=aw(),n=u3.identifierPrefix;if(lc){var t=lr,r=lt;n=":"+n+"R"+(t=(r&~(1<<32-e9(r)-1)).toString(32)+t),0<(t=ah++)&&(n+="H"+t.toString(32)),n+=":"}else n=":"+n+"r"+(t=ag++).toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},a3={readContext:lL,useCallback:aW,useContext:lL,useEffect:aV,useImperativeHandle:aB,useInsertionEffect:aA,useLayoutEffect:a$,useMemo:aQ,useReducer:aE,useRef:aO,useState:function(){return aE(ax)},useDebugValue:aH,useDeferredValue:function(e){return aq(aS(),af.memoizedState,e)},useTransition:function(){return[aE(ax)[0],aS().memoizedState]},useMutableSource:a_,useSyncExternalStore:aP,useId:aY,unstable_isNewReconciler:!1},a4={readContext:lL,useCallback:aW,useContext:lL,useEffect:aV,useImperativeHandle:aB,useInsertionEffect:aA,useLayoutEffect:a$,useMemo:aQ,useReducer:aC,useRef:aO,useState:function(){return aC(ax)},useDebugValue:aH,useDeferredValue:function(e){var n=aS();return null===af?n.memoizedState=e:aq(n,af.memoizedState,e)},useTransition:function(){return[aC(ax)[0],aS().memoizedState]},useMutableSource:a_,useSyncExternalStore:aP,useId:aY,unstable_isNewReconciler:!1};function a8(e,n){try{var t="",r=n;do t+=function(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=Q(e.type,!1);case 11:return e=Q(e.type.render,!1);case 1:return e=Q(e.type,!0);default:return""}}(r),r=r.return;while(r);var l=t}catch(e){l="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:n,stack:l,digest:null}}function a6(e,n,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=n?n:null}}function a5(e,n){try{console.error(n.value)}catch(e){setTimeout(function(){throw e})}}var a9="function"==typeof WeakMap?WeakMap:Map;function a7(e,n,t){(t=lV(-1,t)).tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){oi||(oi=!0,os=r),a5(e,n)},t}function ue(e,n,t){(t=lV(-1,t)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){a5(e,n)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(t.callback=function(){a5(e,n),"function"!=typeof r&&(null===oc?oc=new Set([this]):oc.add(this));var t=n.stack;this.componentDidCatch(n.value,{componentStack:null!==t?t:""})}),t}function un(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new a9;var l=new Set;r.set(n,l)}else void 0===(l=r.get(n))&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=o$.bind(null,e,n,t),n.then(e,e))}function ut(e){do{var n;if((n=13===e.tag)&&(n=null===(n=e.memoizedState)||null!==n.dehydrated),n)return e;e=e.return}while(null!==e);return null}function ur(e,n,t,r,l){return 0==(1&e.mode)?(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((n=lV(-1,1)).tag=2,lA(t,n,1))),t.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var ul=_.ReactCurrentOwner,ua=!1;function uu(e,n,t,r){n.child=null===e?l3(n,null,t,r):l2(n,e.child,t,r)}function uo(e,n,t,r,l){t=t.render;var a=n.ref;return(lT(n,l),r=ab(e,n,t,r,a,l),t=ak(),null===e||ua)?(lc&&t&&lu(n),n.flags|=1,uu(e,n,r,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,u_(e,n,l))}function ui(e,n,t,r,l){if(null===e){var a=t.type;return"function"!=typeof a||oq(a)||void 0!==a.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=oY(t.type,null,r,n,n.mode,l)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=a,us(e,n,a,r,l))}if(a=e.child,0==(e.lanes&l)){var u=a.memoizedProps;if((t=null!==(t=t.compare)?t:tI)(u,r)&&e.ref===n.ref)return u_(e,n,l)}return n.flags|=1,(e=oK(a,r)).ref=n.ref,e.return=n,n.child=e}function us(e,n,t,r,l){if(null!==e){var a=e.memoizedProps;if(tI(a,r)&&e.ref===n.ref){if(ua=!1,n.pendingProps=r=a,0==(e.lanes&l))return n.lanes=e.lanes,u_(e,n,l);0!=(131072&e.flags)&&(ua=!0)}}return ud(e,n,t,r,l)}function uc(e,n,t){var r=n.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0==(1&n.mode))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},rB(u5,u6),u6|=t;else{if(0==(1073741824&t))return e=null!==a?a.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,rB(u5,u6),u6|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:t,rB(u5,u6),u6|=r}}else null!==a?(r=a.baseLanes|t,n.memoizedState=null):r=t,rB(u5,u6),u6|=r;return uu(e,n,l,t),n.child}function uf(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function ud(e,n,t,r,l){var a=rY(t)?rq:rW.current;return(a=rK(n,a),lT(n,l),t=ab(e,n,t,r,a,l),r=ak(),null===e||ua)?(lc&&r&&lu(n),n.flags|=1,uu(e,n,t,l),n.child):(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,u_(e,n,l))}function up(e,n,t,r,l){if(rY(t)){var a=!0;rJ(n)}else a=!1;if(lT(n,l),null===n.stateNode)uC(e,n),lY(n,t,r),lG(n,t,r,l),r=!0;else if(null===e){var u=n.stateNode,o=n.memoizedProps;u.props=o;var i=u.context,s=t.contextType;s="object"==typeof s&&null!==s?lL(s):rK(n,s=rY(t)?rq:rW.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof u.getSnapshotBeforeUpdate;f||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==r||i!==s)&&lX(n,u,r,s),lD=!1;var d=n.memoizedState;u.state=d,lB(n,r,u,l),i=n.memoizedState,o!==r||d!==i||rQ.current||lD?("function"==typeof c&&(lQ(n,t,c,r),i=n.memoizedState),(o=lD||lK(n,t,o,r,d,i,s))?(f||"function"!=typeof u.UNSAFE_componentWillMount&&"function"!=typeof u.componentWillMount||("function"==typeof u.componentWillMount&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&u.UNSAFE_componentWillMount()),"function"==typeof u.componentDidMount&&(n.flags|=4194308)):("function"==typeof u.componentDidMount&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=i),u.props=r,u.state=i,u.context=s,r=o):("function"==typeof u.componentDidMount&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,lU(e,n),o=n.memoizedProps,s=n.type===n.elementType?o:lS(n.type,o),u.props=s,f=n.pendingProps,d=u.context,i="object"==typeof(i=t.contextType)&&null!==i?lL(i):rK(n,i=rY(t)?rq:rW.current);var p=t.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof u.getSnapshotBeforeUpdate)||"function"!=typeof u.UNSAFE_componentWillReceiveProps&&"function"!=typeof u.componentWillReceiveProps||(o!==f||d!==i)&&lX(n,u,r,i),lD=!1,d=n.memoizedState,u.state=d,lB(n,r,u,l);var m=n.memoizedState;o!==f||d!==m||rQ.current||lD?("function"==typeof p&&(lQ(n,t,p,r),m=n.memoizedState),(s=lD||lK(n,t,s,r,d,m,i)||!1)?(c||"function"!=typeof u.UNSAFE_componentWillUpdate&&"function"!=typeof u.componentWillUpdate||("function"==typeof u.componentWillUpdate&&u.componentWillUpdate(r,m,i),"function"==typeof u.UNSAFE_componentWillUpdate&&u.UNSAFE_componentWillUpdate(r,m,i)),"function"==typeof u.componentDidUpdate&&(n.flags|=4),"function"==typeof u.getSnapshotBeforeUpdate&&(n.flags|=1024)):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=m),u.props=r,u.state=m,u.context=i,r=s):("function"!=typeof u.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=4),"function"!=typeof u.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(n.flags|=1024),r=!1)}return um(e,n,t,r,a,l)}function um(e,n,t,r,l,a){uf(e,n);var u=0!=(128&n.flags);if(!r&&!u)return l&&r0(n,t,!1),u_(e,n,a);r=n.stateNode,ul.current=n;var o=u&&"function"!=typeof t.getDerivedStateFromError?null:r.render();return n.flags|=1,null!==e&&u?(n.child=l2(n,e.child,null,a),n.child=l2(n,null,o,a)):uu(e,n,o,a),n.memoizedState=r.state,l&&r0(n,t,!0),n.child}function uh(e){var n=e.stateNode;n.pendingContext?rG(e,n.pendingContext,n.pendingContext!==n.context):n.context&&rG(e,n.context,!1),l7(e,n.containerInfo)}function ug(e,n,t,r,l){return lb(),lk(l),n.flags|=256,uu(e,n,t,r),n.child}var uv={dehydrated:null,treeContext:null,retryLane:0};function uy(e){return{baseLanes:e,cachePool:null,transitions:null}}function ub(e,n,t){var r,l=n.pendingProps,a=ar.current,u=!1,o=0!=(128&n.flags);if((r=o)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(u=!0,n.flags&=-129):(null===e||null!==e.memoizedState)&&(a|=1),rB(ar,1&a),null===e)return(lh(n),null!==(e=n.memoizedState)&&null!==(e=e.dehydrated))?(0==(1&n.mode)?n.lanes=1:"$!"===e.data?n.lanes=8:n.lanes=1073741824,null):(o=l.children,e=l.fallback,u?(l=n.mode,u=n.child,o={mode:"hidden",children:o},0==(1&l)&&null!==u?(u.childLanes=0,u.pendingProps=o):u=oG(o,l,0,null),e=oX(e,l,t,null),u.return=n,e.return=n,u.sibling=e,n.child=u,n.child.memoizedState=uy(t),n.memoizedState=uv,e):uk(n,o));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,n,t,r,l,a,u){if(t)return 256&n.flags?(n.flags&=-257,uw(e,n,u,r=a6(Error(f(422))))):null!==n.memoizedState?(n.child=e.child,n.flags|=128,null):(a=r.fallback,l=n.mode,r=oG({mode:"visible",children:r.children},l,0,null),a=oX(a,l,u,null),a.flags|=2,r.return=n,a.return=n,r.sibling=a,n.child=r,0!=(1&n.mode)&&l2(n,e.child,null,u),n.child.memoizedState=uy(u),n.memoizedState=uv,a);if(0==(1&n.mode))return uw(e,n,u,null);if("$!"===l.data){if(r=l.nextSibling&&l.nextSibling.dataset)var o=r.dgst;return r=o,r=a6(a=Error(f(419)),r,void 0),uw(e,n,u,r)}if(o=0!=(u&e.childLanes),ua||o){if(null!==(r=u3)){switch(u&-u){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=0!=(l&(r.suspendedLanes|u))?0:l)&&l!==a.retryLane&&(a.retryLane=l,lO(e,l),ok(r,e,l,-1))}return oM(),uw(e,n,u,r=a6(Error(f(421))))}return"$?"===l.data?(n.flags|=128,n.child=e.child,n=oB.bind(null,e),l._reactRetry=n,null):(e=a.treeContext,ls=r_(l.nextSibling),li=n,lc=!0,lf=null,null!==e&&(r7[le++]=lt,r7[le++]=lr,r7[le++]=ln,lt=e.id,lr=e.overflow,ln=n),n=uk(n,r.children),n.flags|=4096,n)}(e,n,o,l,r,a,t);if(u){u=l.fallback,o=n.mode,r=(a=e.child).sibling;var i={mode:"hidden",children:l.children};return 0==(1&o)&&n.child!==a?((l=n.child).childLanes=0,l.pendingProps=i,n.deletions=null):(l=oK(a,i)).subtreeFlags=14680064&a.subtreeFlags,null!==r?u=oK(r,u):(u=oX(u,o,t,null),u.flags|=2),u.return=n,l.return=n,l.sibling=u,n.child=l,l=u,u=n.child,o=null===(o=e.child.memoizedState)?uy(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},u.memoizedState=o,u.childLanes=e.childLanes&~t,n.memoizedState=uv,l}return e=(u=e.child).sibling,l=oK(u,{mode:"visible",children:l.children}),0==(1&n.mode)&&(l.lanes=t),l.return=n,l.sibling=null,null!==e&&(null===(t=n.deletions)?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=l,n.memoizedState=null,l}function uk(e,n){return(n=oG({mode:"visible",children:n},e.mode,0,null)).return=e,e.child=n}function uw(e,n,t,r){return null!==r&&lk(r),l2(n,e.child,null,t),e=uk(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function uS(e,n,t){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n),lz(e.return,n,t)}function ux(e,n,t,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(a.isBackwards=n,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=t,a.tailMode=l)}function uE(e,n,t){var r=n.pendingProps,l=r.revealOrder,a=r.tail;if(uu(e,n,r.children,t),0!=(2&(r=ar.current)))r=1&r|2,n.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&uS(e,t,n);else if(19===e.tag)uS(e,t,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(rB(ar,r),0==(1&n.mode))n.memoizedState=null;else switch(l){case"forwards":for(l=null,t=n.child;null!==t;)null!==(e=t.alternate)&&null===al(e)&&(l=t),t=t.sibling;null===(t=l)?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),ux(n,!1,l,t,a);break;case"backwards":for(t=null,l=n.child,n.child=null;null!==l;){if(null!==(e=l.alternate)&&null===al(e)){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}ux(n,!0,t,null,a);break;case"together":ux(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function uC(e,n){0==(1&n.mode)&&null!==e&&(e.alternate=null,n.alternate=null,n.flags|=2)}function u_(e,n,t){if(null!==e&&(n.dependencies=e.dependencies),oe|=n.lanes,0==(t&n.childLanes))return null;if(null!==e&&n.child!==e.child)throw Error(f(153));if(null!==n.child){for(t=oK(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=oK(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function uP(e,n){if(!lc)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?n||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function uN(e){var n=null!==e.alternate&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=14680064&l.subtreeFlags,r|=14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}l=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},a=function(){},u=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,l9(l8.current);var a,u=null;switch(t){case"input":l=Z(e,l),r=Z(e,r),u=[];break;case"select":l=B({},l,{value:void 0}),r=B({},r,{value:void 0}),u=[];break;case"textarea":l=eu(e,l),r=eu(e,r),u=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=rg)}for(s in ew(t,r),t=null,l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&null!=l[s]){if("style"===s){var o=l[s];for(a in o)o.hasOwnProperty(a)&&(t||(t={}),t[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?u||(u=[]):(u=u||[]).push(s,null))}for(s in r){var i=r[s];if(o=null!=l?l[s]:void 0,r.hasOwnProperty(s)&&i!==o&&(null!=i||null!=o)){if("style"===s){if(o){for(a in o)!o.hasOwnProperty(a)||i&&i.hasOwnProperty(a)||(t||(t={}),t[a]="");for(a in i)i.hasOwnProperty(a)&&o[a]!==i[a]&&(t||(t={}),t[a]=i[a])}else t||(u||(u=[]),u.push(s,t)),t=i}else"dangerouslySetInnerHTML"===s?(i=i?i.__html:void 0,o=o?o.__html:void 0,null!=i&&o!==i&&(u=u||[]).push(s,i)):"children"===s?"string"!=typeof i&&"number"!=typeof i||(u=u||[]).push(s,""+i):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(p.hasOwnProperty(s)?(null!=i&&"onScroll"===s&&rt("scroll",e),u||o===i||(u=[])):(u=u||[]).push(s,i))}}t&&(u=u||[]).push("style",t);var s=u;(n.updateQueue=s)&&(n.flags|=4)}},o=function(e,n,t,r){t!==r&&(n.flags|=4)};var uz=!1,uT=!1,uL="function"==typeof WeakSet?WeakSet:Set,uR=null;function uM(e,n){var t=e.ref;if(null!==t){if("function"==typeof t)try{t(null)}catch(t){oA(e,n,t)}else t.current=null}}function uF(e,n,t){try{t()}catch(t){oA(e,n,t)}}var uO=!1;function uD(e,n,t){var r=n.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l=r=r.next;do{if((l.tag&e)===e){var a=l.destroy;l.destroy=void 0,void 0!==a&&uF(n,t,a)}l=l.next}while(l!==r)}}function uI(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function uU(e){var n=e.ref;if(null!==n){var t=e.stateNode;e.tag,e=t,"function"==typeof n?n(e):n.current=e}}function uV(e){return 5===e.tag||3===e.tag||4===e.tag}function uA(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uV(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}var u$=null,uj=!1;function uB(e,n,t){for(t=t.child;null!==t;)uH(e,n,t),t=t.sibling}function uH(e,n,t){if(e5&&"function"==typeof e5.onCommitFiberUnmount)try{e5.onCommitFiberUnmount(e6,t)}catch(e){}switch(t.tag){case 5:uT||uM(t,n);case 6:var r=u$,l=uj;u$=null,uB(e,n,t),u$=r,uj=l,null!==u$&&(uj?(e=u$,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):u$.removeChild(t.stateNode));break;case 18:null!==u$&&(uj?(e=u$,t=t.stateNode,8===e.nodeType?rC(e.parentNode,t):1===e.nodeType&&rC(e,t),nM(e)):rC(u$,t.stateNode));break;case 4:r=u$,l=uj,u$=t.stateNode.containerInfo,uj=!0,uB(e,n,t),u$=r,uj=l;break;case 0:case 11:case 14:case 15:if(!uT&&null!==(r=t.updateQueue)&&null!==(r=r.lastEffect)){l=r=r.next;do{var a=l,u=a.destroy;a=a.tag,void 0!==u&&(0!=(2&a)?uF(t,n,u):0!=(4&a)&&uF(t,n,u)),l=l.next}while(l!==r)}uB(e,n,t);break;case 1:if(!uT&&(uM(t,n),"function"==typeof(r=t.stateNode).componentWillUnmount))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(e){oA(t,n,e)}uB(e,n,t);break;case 21:default:uB(e,n,t);break;case 22:1&t.mode?(uT=(r=uT)||null!==t.memoizedState,uB(e,n,t),uT=r):uB(e,n,t)}}function uW(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new uL),n.forEach(function(n){var r=oH.bind(null,e,n);t.has(n)||(t.add(n),n.then(r,r))})}}function uQ(e,n){var t=n.deletions;if(null!==t)for(var r=0;rl&&(l=u),r&=~a}if(r=l,10<(r=(120>(r=eJ()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*uZ(r/1960))-r)){e.timeoutHandle=rk(oI.bind(null,e,ol,oo),r);break}oI(e,ol,oo);break;default:throw Error(f(329))}}}return ow(e,eJ()),e.callbackNode===t?oS.bind(null,e):null}function ox(e,n){var t=or;return e.current.memoizedState.isDehydrated&&(oT(e,n).flags|=256),2!==(e=oF(e,n))&&(n=ol,ol=t,null!==n&&oE(n)),e}function oE(e){null===ol?ol=e:ol.push.apply(ol,e)}function oC(e,n){for(n&=~ot,n&=~on,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(t,{is:r.is}):(e=c.createElement(t),"select"===t&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,t),e[rz]=n,e[rT]=r,l(e,n,!1,!1),n.stateNode=e;e:{switch(c=eS(t,r),t){case"dialog":rt("cancel",e),rt("close",e),i=r;break;case"iframe":case"object":case"embed":rt("load",e),i=r;break;case"video":case"audio":for(i=0;iou&&(n.flags|=128,r=!0,uP(s,!1),n.lanes=4194304)}}else{if(!r){if(null!==(e=al(c))){if(n.flags|=128,r=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.flags|=4),uP(s,!0),null===s.tail&&"hidden"===s.tailMode&&!c.alternate&&!lc)return uN(n),null}else 2*eJ()-s.renderingStartTime>ou&&1073741824!==t&&(n.flags|=128,r=!0,uP(s,!1),n.lanes=4194304)}s.isBackwards?(c.sibling=n.child,n.child=c):(null!==(t=s.last)?t.sibling=c:n.child=c,s.last=c)}if(null!==s.tail)return n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=eJ(),n.sibling=null,t=ar.current,rB(ar,r?1&t|2:1&t),n;return uN(n),null;case 22:case 23:return oz(),r=null!==n.memoizedState,null!==e&&null!==e.memoizedState!==r&&(n.flags|=8192),r&&0!=(1&n.mode)?0!=(1073741824&u6)&&(uN(n),6&n.subtreeFlags&&(n.flags|=8192)):uN(n),null;case 24:case 25:return null}throw Error(f(156,n.tag))}(t,n,u6))){u4=t;return}}else{if(null!==(t=function(e,n){switch(lo(n),n.tag){case 1:return rY(n.type)&&rX(),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return ae(),rj(rQ),rj(rW),au(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 5:return at(n),null;case 13:if(rj(ar),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(f(340));lb()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return rj(ar),null;case 4:return ae(),null;case 10:return lN(n.type._context),null;case 22:case 23:return oz(),null;default:return null}}(t,n))){t.flags&=32767,u4=t;return}if(null!==e)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{u9=6,u4=null;return}}if(null!==(n=n.sibling)){u4=n;return}u4=n=e}while(null!==n);0===u9&&(u9=5)}function oI(e,n,t){var r=nc,l=u1.transition;try{u1.transition=null,nc=1,function(e,n,t,r){do oU();while(null!==od);if(0!=(6&u2))throw Error(f(327));t=e.finishedWork;var l=e.finishedLanes;if(null!==t){if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(f(177));e.callbackNode=null,e.callbackPriority=0;var a=t.lanes|t.childLanes;if(function(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0r&&(l=r,r=a,a=l),l=tV(t,a);var u=tV(t,r);l&&u&&(1!==e.rangeCount||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&((n=n.createRange()).setStart(l.node,l.offset),e.removeAllRanges(),a>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)1===e.nodeType&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;te?16:e,null===od)var r=!1;else{if(e=od,od=null,op=0,0!=(6&u2))throw Error(f(331));var l=u2;for(u2|=4,uR=e.current;null!==uR;){var a=uR,u=a.child;if(0!=(16&uR.flags)){var o=a.deletions;if(null!==o){for(var i=0;ieJ()-oa?oT(e,0):ot|=t),ow(e,n)}function oj(e,n){0===n&&(0==(1&e.mode)?n=1:(n=nt,0==(130023424&(nt<<=1))&&(nt=4194304)));var t=oy();null!==(e=lO(e,n))&&(ni(e,n,t),ow(e,t))}function oB(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),oj(e,t)}function oH(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;null!==l&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(f(314))}null!==r&&r.delete(n),oj(e,t)}function oW(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function oQ(e,n,t,r){return new oW(e,n,t,r)}function oq(e){return!(!(e=e.prototype)||!e.isReactComponent)}function oK(e,n){var t=e.alternate;return null===t?((t=oQ(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=14680064&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function oY(e,n,t,r,l,a){var u=2;if(r=e,"function"==typeof e)oq(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case z:return oX(t.children,l,a,n);case T:u=8,l|=8;break;case L:return(e=oQ(12,t,n,2|l)).elementType=L,e.lanes=a,e;case O:return(e=oQ(13,t,n,l)).elementType=O,e.lanes=a,e;case D:return(e=oQ(19,t,n,l)).elementType=D,e.lanes=a,e;case V:return oG(t,l,a,n);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case R:u=10;break e;case M:u=9;break e;case F:u=11;break e;case I:u=14;break e;case U:u=16,r=null;break e}throw Error(f(130,null==e?e:typeof e,""))}return(n=oQ(u,t,n,l)).elementType=e,n.type=r,n.lanes=a,n}function oX(e,n,t,r){return(e=oQ(7,e,r,n)).lanes=t,e}function oG(e,n,t,r){return(e=oQ(22,e,r,n)).elementType=V,e.lanes=t,e.stateNode={isHidden:!1},e}function oZ(e,n,t){return(e=oQ(6,e,null,n)).lanes=t,e}function oJ(e,n,t){return(n=oQ(4,null!==e.children?e.children:[],e.key,n)).lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function o0(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=no(0),this.expirationTimes=no(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=no(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function o1(e,n,t,r,l,a,u,o,i){return e=new o0(e,n,t,o,i),1===n?(n=1,!0===a&&(n|=8)):n=0,a=oQ(3,null,null,n),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},lI(a),e}function o2(e){if(!e)return rH;e=e._reactInternals;e:{if(eW(e)!==e||1!==e.tag)throw Error(f(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(rY(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(null!==n);throw Error(f(171))}if(1===e.tag){var t=e.type;if(rY(t))return rZ(e,t,n)}return n}function o3(e,n,t,r,l,a,u,o,i){return(e=o1(t,r,!0,e,l,a,u,o,i)).context=o2(null),t=e.current,(a=lV(r=oy(),l=ob(t))).callback=null!=n?n:null,lA(t,a,l),e.current.lanes=l,ni(e,l,r),ow(e,r),e}function o4(e,n,t,r){var l=n.current,a=oy(),u=ob(l);return t=o2(t),null===n.context?n.context=t:n.pendingContext=t,(n=lV(a,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(n.callback=r),null!==(e=lA(l,n,u))&&(ok(e,l,u,a),l$(e,l,u)),u}function o8(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function o6(e,n){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t>>1,l=e[r];if(0>>1;ra(i,t))sa(c,i)?(e[r]=c,e[s]=t,r=s):(e[r]=i,e[o]=t,r=o);else if(sa(c,t))e[r]=c,e[s]=t,r=s;else break}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"==typeof performance&&"function"==typeof performance.now){var u,o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();n.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,m=3,h=!1,g=!1,v=!1,y="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,k="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(f);null!==n;){if(null===n.callback)l(f);else if(n.startTime<=e)l(f),n.sortIndex=n.expirationTime,t(c,n);else break;n=r(f)}}function S(e){if(v=!1,w(e),!g){if(null!==r(c))g=!0,M(x);else{var n=r(f);null!==n&&F(S,n.startTime-e)}}}function x(e,t){g=!1,v&&(v=!1,b(_),_=-1),h=!0;var a=m;try{for(w(t),p=r(c);null!==p&&(!(p.expirationTime>t)||e&&!z());){var u=p.callback;if("function"==typeof u){p.callback=null,m=p.priorityLevel;var o=u(p.expirationTime<=t);t=n.unstable_now(),"function"==typeof o?p.callback=o:p===r(c)&&l(c),w(t)}else l(c);p=r(c)}if(null!==p)var i=!0;else{var s=r(f);null!==s&&F(S,s.startTime-t),i=!1}return i}finally{p=null,m=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,C=null,_=-1,P=5,N=-1;function z(){return!(n.unstable_now()-Ne||125u?(e.sortIndex=a,t(f,e),null===r(c)&&e===r(f)&&(v?(b(_),_=-1):v=!0,F(S,a-u))):(e.sortIndex=o,t(c,e),g||h||(g=!0,M(x))),e},n.unstable_shouldYield=z,n.unstable_wrapCallback=function(e){var n=m;return function(){var t=m;m=n;try{return e.apply(this,arguments)}finally{m=t}}}},63840:function(e,n,t){e.exports=t(60053)}}]);
\ No newline at end of file
diff --git a/pilot/server/static/_next/static/chunks/main-4d516eb54537b10d.js b/pilot/server/static/_next/static/chunks/main-4d516eb54537b10d.js
new file mode 100644
index 000000000..f7fc34fbf
--- /dev/null
+++ b/pilot/server/static/_next/static/chunks/main-4d516eb54537b10d.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})})},66318:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return o}});let n=r(62478),a=r(25731);function o(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27521:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(25731);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,a="";if(n){let{children:e}=n.props;a="string"==typeof e?e:Array.isArray(e)?e.join(""):""}a!==document.title&&(document.title=a),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),i=Number(n.content),l=[];for(let t=0,r=n.previousElementSibling;t{for(let t=0,r=l.length;t{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),s.forEach(e=>r.insertBefore(e,n)),n.content=(i-l.length+s.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84473:function(e,t,r){"use strict";let n,a,o,i,l,u,s,c,f,d,h,p;Object.defineProperty(t,"__esModule",{value:!0});let m=r(61757);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{version:function(){return G},router:function(){return n},emitter:function(){return V},initialize:function(){return J},hydrate:function(){return ec}});let g=r(38754);r(40037);let y=g._(r(67294)),_=g._(r(20745)),b=r(19307),v=g._(r(28829)),P=r(44293),w=r(85913),S=r(80396),j=r(85342),O=r(66452),E=r(95514),x=r(26039),R=g._(r(81100)),C=g._(r(2959)),M=g._(r(7660)),A=r(9702),L=r(75919),T=r(80676),I=r(76226),N=r(21847),k=r(52501),D=r(27473),B=r(26119),H=r(35802),U=g._(r(53015)),F=e=>t=>e(t)+"",q=r.u;r.u=F(q);let W=r.k;r.k=F(W);let z=r.miniCssF;r.miniCssF=F(z);let G="13.4.7",V=(0,v.default)(),X=e=>[].slice.call(e),Y=!1;self.__next_require__=r;class $ extends y.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),n.isSsr&&(a.isFallback||a.nextExport&&((0,S.isDynamicRoute)(n.pathname)||location.search||Y)||a.props&&a.props.__N_SSG&&(location.search||Y))&&n.replace(n.pathname+"?"+String((0,j.assign)((0,j.urlQueryToSearchParams)(n.query),new URLSearchParams(location.search))),o,{_h:1,shallow:!a.isFallback&&!Y}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function J(e){void 0===e&&(e={}),a=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=a,p=a.defaultLocale;let t=a.assetPrefix||"";if(r.p=""+t+"/_next/",(0,O.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:a.runtimeConfig||{}}),o=(0,E.getURL)(),(0,k.hasBasePath)(o)&&(o=(0,N.removeBasePath)(o)),a.scriptLoader){let{initScriptLoader:e}=r(64104);e(a.scriptLoader)}i=new C.default(a.buildId,t);let s=e=>{let[t,r]=e;return i.routeLoader.onEntrypoint(t,r)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>s(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=s,(u=(0,R.default)()).getIsSsr=()=>n.isSsr,l=document.getElementById("__next"),{assetPrefix:t}}function K(e,t){return y.default.createElement(e,t)}function Q(e){var t;let{children:r}=e;return y.default.createElement($,{fn:e=>ee({App:f,err:e}).catch(e=>console.error("Error rendering page: ",e))},y.default.createElement(D.AppRouterContext.Provider,{value:(0,B.adaptForAppRouterInstance)(n)},y.default.createElement(H.SearchParamsContext.Provider,{value:(0,B.adaptForSearchParams)(n)},y.default.createElement(B.PathnameContextProviderAdapter,{router:n,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t},y.default.createElement(P.RouterContext.Provider,{value:(0,L.makePublicRouterInstance)(n)},y.default.createElement(b.HeadManagerContext.Provider,{value:u},y.default.createElement(I.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}},r)))))))}let Z=e=>t=>{let r={...t,Component:h,err:a.err,router:n};return y.default.createElement(Q,null,K(e,r))};function ee(e){let{App:t,err:l}=e;return console.error(l),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),i.loadPage("/_error").then(n=>{let{page:a,styleSheets:o}=n;return(null==s?void 0:s.Component)===a?Promise.resolve().then(()=>m._(r(14600))).then(n=>Promise.resolve().then(()=>m._(r(55366))).then(r=>(t=r.default,e.App=t,n))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:a,styleSheets:o}}).then(r=>{var i;let{ErrorComponent:u,styleSheets:s}=r,c=Z(t),f={Component:u,AppTree:c,router:n,ctx:{err:l,pathname:a.page,query:a.query,asPath:o,AppTree:c}};return Promise.resolve((null==(i=e.props)?void 0:i.err)?e.props:(0,E.loadGetInitialProps)(t,f)).then(t=>eu({...e,err:l,Component:u,styleSheets:s,props:t}))})}function et(e){let{callback:t}=e;return y.default.useLayoutEffect(()=>t(),[t]),null}let er=null,en=!0;function ea(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach(e=>performance.clearMarks(e))}function eo(){E.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),d&&performance.getEntriesByName("Next.js-hydration").forEach(d),ea())}function ei(){if(!E.ST)return;performance.mark("afterRender");let e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),d&&(performance.getEntriesByName("Next.js-render").forEach(d),performance.getEntriesByName("Next.js-route-change-to-render").forEach(d)),ea(),["Next.js-route-change-to-render","Next.js-render"].forEach(e=>performance.clearMeasures(e)))}function el(e){let{callbacks:t,children:r}=e;return y.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),y.default.useEffect(()=>{(0,M.default)(d)},[]),r}function eu(e){let t,{App:r,Component:a,props:o,err:i}=e,u="initial"in e?void 0:e.styleSheets;a=a||s.Component,o=o||s.props;let f={...o,Component:a,err:i,router:n};s=f;let d=!1,h=new Promise((e,r)=>{c&&c(),t=()=>{c=null,e()},c=()=>{d=!0,c=null;let e=Error("Cancel rendering route");e.cancelled=!0,r(e)}});function p(){t()}!function(){if(!u)return;let e=X(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map(e=>e.getAttribute("data-n-href"))),r=document.querySelector("noscript[data-n-css]"),n=null==r?void 0:r.getAttribute("data-n-css");u.forEach(e=>{let{href:r,text:a}=e;if(!t.has(r)){let e=document.createElement("style");e.setAttribute("data-n-href",r),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(a))}})}();let m=y.default.createElement(y.default.Fragment,null,y.default.createElement(et,{callback:function(){if(u&&!d){let e=new Set(u.map(e=>e.href)),t=X(document.querySelectorAll("style[data-n-href]")),r=t.map(e=>e.getAttribute("data-n-href"));for(let n=0;n{let{href:t}=e,r=document.querySelector('style[data-n-href="'+t+'"]');r&&(n.parentNode.insertBefore(r,n.nextSibling),n=r)}),X(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:r}=e.scroll;(0,w.handleSmoothScroll)(()=>{window.scrollTo(t,r)})}}}),y.default.createElement(Q,null,K(r,f),y.default.createElement(x.Portal,{type:"next-route-announcer"},y.default.createElement(A.RouteAnnouncer,null))));return!function(e,t){E.ST&&performance.mark("beforeRender");let r=t(en?eo:ei);if(er){let e=y.default.startTransition;e(()=>{er.render(r)})}else er=_.default.hydrateRoot(e,r,{onRecoverableError:U.default}),en=!1}(l,e=>y.default.createElement(el,{callbacks:[e,p]},m)),h}async function es(e){if(e.err){await ee(e);return}try{await eu(e)}catch(r){let t=(0,T.getProperError)(r);if(t.cancelled)throw t;await ee({...e,err:t})}}async function ec(e){let t=a.err;try{let e=await i.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:r}=e;f=t,r&&r.reportWebVitals&&(d=e=>{let t,{id:n,name:a,startTime:o,value:i,duration:l,entryType:u,entries:s,attribution:c}=e,f=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);s&&s.length&&(t=s[0].startTime);let d={id:n||f,name:a,startTime:o||t,value:null==i?l:i,label:"mark"===u||"measure"===u?"custom":"web-vital"};c&&(d.attribution=c),r.reportWebVitals(d)});let n=await i.routeLoader.whenEntrypoint(a.page);if("error"in n)throw n.error;h=n.component}catch(e){t=(0,T.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(a.dynamicIds),n=(0,L.createRouter)(a.page,a.query,o,{initialProps:a.props,pageLoader:i,App:f,Component:h,wrapApp:Z,err:t,isFallback:!!a.isFallback,subscription:(e,t,r)=>es(Object.assign({},e,{App:t,scroll:r})),locale:a.locale,locales:a.locales,defaultLocale:p,domainLocales:a.domainLocales,isPreview:a.isPreview}),Y=await n._initialMatchesMiddlewarePromise;let r={App:f,initial:!0,Component:h,props:a.props,err:t};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),es(r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},87206:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=r(84473);window.next={version:n.version,get router(){return n.router},emitter:n.emitter},(0,n.initialize)({}).then(()=>(0,n.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},25731:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});let n=r(59152),a=r(62551),o=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:r,hash:o}=(0,a.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+r+o};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53015:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(7483);function a(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};e.digest!==n.NEXT_DYNAMIC_NO_SSR_CODE&&t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2959:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let n=r(38754),a=r(66318),o=r(86680),i=n._(r(83413)),l=r(27521),u=r(80396),s=r(59325),c=r(59152),f=r(98116);class d{getPageList(){return(0,f.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:r,locale:n}=e,{pathname:f,query:d,search:h}=(0,s.parseRelativeUrl)(r),{pathname:p}=(0,s.parseRelativeUrl)(t),m=(0,c.removeTrailingSlash)(f);if("/"!==m[0])throw Error('Route name should start with a "/", got "'+m+'"');return(e=>{let t=(0,i.default)((0,c.removeTrailingSlash)((0,l.addLocale)(e,n)),".json");return(0,a.addBasePath)("/_next/data/"+this.buildId+t+h,!0)})(e.skipInterpolation?p:(0,u.isDynamicRoute)(m)?(0,o.interpolateAs)(f,p,d).result:m)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,f.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7660:function(e,t,r){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let a=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let o=!1;function i(e){n&&n(e)}let l=e=>{if(n=e,!o)for(let e of(o=!0,a))try{let t;t||(t=r(78018)),t["on"+e](i)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26039:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return o}});let n=r(67294),a=r(73935),o=e=>{let{children:t,type:r}=e,[o,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let e=document.createElement(r);return document.body.appendChild(e),i(e),()=>{document.body.removeChild(e)}},[r]),o?(0,a.createPortal)(t,o):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21847:function(e,t,r){"use strict";function n(e){return(e=e.slice(0)).startsWith("/")||(e="/"+e),e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(52501),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67169:function(e,t,r){"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(62551),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82997:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{requestIdleCallback:function(){return r},cancelIdleCallback:function(){return n}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9702:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{RouteAnnouncer:function(){return l},default:function(){return u}});let n=r(38754),a=n._(r(67294)),o=r(75919),i={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},l=()=>{let{asPath:e}=(0,o.useRouter)(),[t,r]=a.default.useState(""),n=a.default.useRef(e);return a.default.useEffect(()=>{if(n.current!==e){if(n.current=e,document.title)r(document.title);else{var t;let n=document.querySelector("h1"),a=null!=(t=null==n?void 0:n.innerText)?t:null==n?void 0:n.textContent;r(a||e)}}},[e]),a.default.createElement("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:i},t)},u=l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},98116:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{markAssetError:function(){return l},isAssetError:function(){return u},getClientBuildManifest:function(){return d},createRouteLoader:function(){return p}}),r(38754),r(83413);let n=r(41290),a=r(82997);function o(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{n=e});return t.set(e,a={resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let i=Symbol("ASSET_LOAD_ERROR");function l(e){return Object.defineProperty(e,i,{})}function u(e){return e&&i in e}let s=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),c=()=>"";function f(e,t,r){return new Promise((n,o)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(o),(0,a.requestIdleCallback)(()=>setTimeout(()=>{i||o(r)},t))})}function d(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return f(e,3800,l(Error("Failed to load client build manifest")))}function h(e,t){return d().then(r=>{if(!(t in r))throw l(Error("Failed to lookup route: "+t));let a=r[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+c()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+c())}})}function p(e){let t=new Map,r=new Map,n=new Map,i=new Map;function u(e){{var t;let n=r.get(e.toString());return n||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(l(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n))}}function c(e){let t=n.get(e);return t||n.set(e,t=fetch(e).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw l(e)})),t}return{whenEntrypoint:e=>o(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),i.delete(e))})},loadRoute(r,n){return o(r,i,()=>{let a;return f(h(e,r).then(e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(u)),Promise.all(a.map(c))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,l(Error("Route did not complete loading: "+r))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==a?void 0:a())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():h(e,t).then(e=>Promise.all(s?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let o='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(l(Error("Failed to prefetch: "+t))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,a.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75919:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return o.default},default:function(){return h},withRouter:function(){return u.default},useRouter:function(){return p},createRouter:function(){return m},makePublicRouterInstance:function(){return g}});let n=r(38754),a=n._(r(67294)),o=n._(r(20530)),i=r(44293),l=n._(r(80676)),u=n._(r(48441)),s={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function d(){if(!s.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return s.router}Object.defineProperty(s,"events",{get:()=>o.default.events}),c.forEach(e=>{Object.defineProperty(s,e,{get(){let t=d();return t[e]}})}),f.forEach(e=>{s[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n{s.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;ne()),s.readyCallbacks=[],s.router}function g(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,f.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;a{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:i="",strategy:l="afterInteractive",onError:s}=e,h=r||t;if(h&&f.has(h))return;if(c.has(t)){f.add(h),c.get(t).then(n,s);return}let p=()=>{a&&a(),f.add(h)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){s&&s(e)});for(let[r,n]of(o?(m.innerHTML=o.__html||"",p()):i?(m.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",p()):t&&(m.src=t,c.set(t,g)),Object.entries(e))){if(void 0===n||d.includes(r))continue;let e=u.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,n)}"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),document.body.appendChild(m)};function p(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))}):h(e)}function m(e){e.forEach(p),function(){let e=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];e.forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}()}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:u="afterInteractive",onError:c,...d}=e,{updateScripts:p,scripts:m,getIsSsr:g,appDir:y,nonce:_}=(0,i.useContext)(l.HeadManagerContext),b=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=t||r;b.current||(a&&e&&f.has(e)&&a(),b.current=!0)},[a,t,r]);let v=(0,i.useRef)(!1);if((0,i.useEffect)(()=>{!v.current&&("afterInteractive"===u?h(e):"lazyOnload"===u&&("complete"===document.readyState?(0,s.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))})),v.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(p?(m[u]=(m[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:c,...d}]),p(m)):g&&g()?f.add(t||r):g&&!g()&&h(e)),y){if("beforeInteractive"===u)return r?(o.default.preload(r,d.integrity?{as:"script",integrity:d.integrity}:{as:"script"}),i.default.createElement("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(d.dangerouslySetInnerHTML&&(d.children=d.dangerouslySetInnerHTML.__html,delete d.dangerouslySetInnerHTML),i.default.createElement("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...d}])+")"}}));"afterInteractive"===u&&r&&o.default.preload(r,d.integrity?{as:"script",integrity:d.integrity}:{as:"script"})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41290:function(e,t){"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48441:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(38754),a=n._(r(67294)),o=r(75919);function i(e){function t(t){return a.default.createElement(e,{router:(0,o.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55366:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(38754),a=n._(r(67294)),o=r(95514);async function i(e){let{Component:t,ctx:r}=e,n=await (0,o.loadGetInitialProps)(t,r);return{pageProps:n}}class l extends a.default.Component{render(){let{Component:e,pageProps:t}=this.props;return a.default.createElement(e,t)}}l.origGetInitialProps=i,l.getInitialProps=i,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},14600:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(38754),a=n._(r(67294)),o=n._(r(68965)),i={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:r}=e,n=t&&t.statusCode?t.statusCode:r?r.statusCode:404;return{statusCode:n}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class s extends a.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,r=this.props.title||i[e]||"An unexpected error has occurred";return a.default.createElement("div",{style:u.error},a.default.createElement(o.default,null,a.default.createElement("title",null,e?e+": "+r:"Application error: a client-side exception has occurred")),a.default.createElement("div",{style:u.desc},a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?a.default.createElement("h1",{className:"next-error-h1",style:u.h1},e):null,a.default.createElement("div",{style:u.wrap},a.default.createElement("h2",{style:u.h2},this.props.title||e?r:a.default.createElement(a.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}s.displayName="ErrorPage",s.getInitialProps=l,s.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},63853:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return o}});let n=r(38754),a=n._(r(67294)),o=a.default.createContext({})},64171:function(e,t){"use strict";function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},27473:function(e,t,r){"use strict";var n,a;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{CacheStates:function(){return n},AppRouterContext:function(){return l},LayoutRouterContext:function(){return u},GlobalLayoutRouterContext:function(){return s},TemplateContext:function(){return c}});let o=r(38754),i=o._(r(67294));(a=n||(n={})).LAZY_INITIALIZED="LAZYINITIALIZED",a.DATA_FETCH="DATAFETCH",a.READY="READY";let l=i.default.createContext(null),u=i.default.createContext(null),s=i.default.createContext(null),c=i.default.createContext(null)},46088:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=.01);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){let e={numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray};return e}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){let t=this.getHashValues(e);t.forEach(e=>{this.bitArray[e]=1})}contains(e){let t=this.getHashValues(e);return t.every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r>>13,t=Math.imul(t,1540483477)}return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},17266:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function a(e){return r.test(e)?e.replace(n,"\\$&"):e}},19307:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return o}});let n=r(38754),a=n._(r(67294)),o=a.default.createContext({})},68965:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{defaultHead:function(){return c},default:function(){return p}});let n=r(38754),a=r(61757),o=a._(r(67294)),i=n._(r(89034)),l=r(63853),u=r(19307),s=r(64171);function c(e){void 0===e&&(e=!1);let t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(59941);let d=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(c(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return a=>{let o=!0,i=!1;if(a.key&&"number"!=typeof a.key&&a.key.indexOf("$")>0){i=!0;let t=a.key.slice(a.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(a.type){case"title":case"base":t.has(a.type)?o=!1:t.add(a.type);break;case"meta":for(let e=0,t=d.length;e{let n=e.key||t;if(!r&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,o.default.cloneElement(e,t)}return o.default.cloneElement(e,{key:n})})}let p=function(e){let{children:t}=e,r=(0,o.useContext)(l.AmpStateContext),n=(0,o.useContext)(u.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,s.isInAmpMode)(r)},t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35802:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{SearchParamsContext:function(){return a},PathnameContext:function(){return o}});let n=r(67294),a=(0,n.createContext)(null),o=(0,n.createContext)(null)},7150:function(e,t){"use strict";function r(e,t){let r;let n=e.split("/");return(t||[]).some(t=>!!n[1]&&n[1].toLowerCase()===t.toLowerCase()&&(r=t,n.splice(1,1),e=n.join("/")||"/",!0)),{pathname:e,detectedLocale:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}})},76226:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return i}});let n=r(38754),a=n._(r(67294)),o=r(2478),i=a.default.createContext(o.imageConfigDefault)},2478:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},20189:function(e,t){"use strict";function r(e){return Object.prototype.toString.call(e)}function n(e){if("[object Object]"!==r(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getObjectClassLabel:function(){return r},isPlainObject:function(){return n}})},7483:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NEXT_DYNAMIC_NO_SSR_CODE",{enumerable:!0,get:function(){return r}});let r="NEXT_DYNAMIC_NO_SSR_CODE"},28829:function(e,t){"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},99245:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(84546),a=r(968);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},968:function(e,t){"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},44293:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return o}});let n=r(38754),a=n._(r(67294)),o=a.default.createContext(null)},26119:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{adaptForAppRouterInstance:function(){return l},adaptForSearchParams:function(){return u},PathnameContextProviderAdapter:function(){return s}});let n=r(61757),a=n._(r(67294)),o=r(35802),i=r(84546);function l(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},push(t){e.push(t)},replace(t){e.replace(t)},prefetch(t){e.prefetch(t)}}}function u(e){return e.isReady&&e.query?function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,e);else void 0!==n&&t.append(r,n);return t}(e.query):new URLSearchParams}function s(e){let{children:t,router:r,...n}=e,l=(0,a.useRef)(n.isAutoExport),u=(0,a.useMemo)(()=>{let e;let t=l.current;if(t&&(l.current=!1),(0,i.isDynamicRoute)(r.pathname)&&(r.isFallback||t&&!r.isReady))return null;try{e=new URL(r.asPath,"http://f")}catch(e){return"/"}return e.pathname},[r.asPath,r.isFallback,r.isReady,r.pathname]);return a.default.createElement(o.PathnameContext.Provider,{value:u},t)}},20530:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return V},matchesMiddleware:function(){return N},createKey:function(){return W}});let n=r(38754),a=r(61757),o=r(59152),i=r(98116),l=r(64104),u=a._(r(80676)),s=r(99245),c=r(7150),f=n._(r(28829)),d=r(95514),h=r(80396),p=r(59325);r(72431);let m=r(19917),g=r(6047),y=r(28904);r(72081);let _=r(62551),b=r(27521),v=r(67169),P=r(21847),w=r(66318),S=r(52501),j=r(79423),O=r(42666),E=r(85622),x=r(36965),R=r(65723),C=r(78001),M=r(48321),A=r(65722),L=r(86680),T=r(85913);function I(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function N(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,_.parsePath)(e.asPath),n=(0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,a=(0,w.addBasePath)((0,b.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function k(e){let t=(0,d.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function D(e,t,r){let[n,a]=(0,A.resolveHref)(e,t,!0),o=(0,d.getLocationOrigin)(),i=n.startsWith(o),l=a&&a.startsWith(o);n=k(n),a=a?k(a):a;let u=i?n:(0,w.addBasePath)(n),s=r?k((0,A.resolveHref)(e,r)):a||n;return{url:u,as:l?s:(0,w.addBasePath)(s)}}function B(e,t){let r=(0,o.removeTrailingSlash)((0,s.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,h.isDynamicRoute)(t)&&(0,g.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,o.removeTrailingSlash)(e))}async function H(e){let t=await N(e);if(!t||!e.fetchData)return null;try{let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},a=t.headers.get("x-nextjs-rewrite"),l=a||t.headers.get("x-nextjs-matched-path"),u=t.headers.get("x-matched-path");if(!u||l||u.includes("__next_data_catchall")||u.includes("/_error")||u.includes("/404")||(l=u),l){if(l.startsWith("/")){let t=(0,p.parseRelativeUrl)(l),u=(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),s=(0,o.removeTrailingSlash)(u.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(o=>{let[i,{__rewrites:l}]=o,f=(0,b.addLocale)(u.pathname,u.locale);if((0,h.isDynamicRoute)(f)||!a&&i.includes((0,c.normalizeLocalePath)((0,P.removeBasePath)(f),r.router.locales).pathname)){let r=(0,O.getNextPathnameInfo)((0,p.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});f=(0,w.addBasePath)(r.pathname),t.pathname=f}if(!i.includes(s)){let e=B(s,i);e!==s&&(s=e)}let d=i.includes(s)?s:B((0,c.normalizeLocalePath)((0,P.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,h.isDynamicRoute)(d)){let e=(0,m.getRouteMatcher)((0,g.getRouteRegex)(d))(f);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:d}})}let t=(0,_.parsePath)(e),u=(0,E.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:""+u+t.query+t.hash})}let s=t.headers.get("x-nextjs-redirect");if(s){if(s.startsWith("/")){let e=(0,_.parsePath)(s),t=(0,E.formatNextPathnameInfo)({...(0,O.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:s})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}catch(e){return null}}let U=Symbol("SSG_DATA_NOT_FOUND");function F(e){try{return JSON.parse(e)}catch(e){return null}}function q(e){var t;let{dataHref:r,inflightCache:n,isPrefetch:a,hasMiddleware:o,isServerRender:l,parseJSON:u,persistCache:s,isBackground:c,unstable_skipClientCache:f}=e,{href:d}=new URL(r,window.location.href),h=e=>(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(r,l?3:1,{headers:Object.assign({},a?{purpose:"prefetch"}:{},a&&o?{"x-middleware-prefetch":"1"}:{}),method:null!=(t=null==e?void 0:e.method)?t:"GET"}).then(t=>t.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:r,response:t,text:"",json:{},cacheKey:d}:t.text().then(e=>{if(!t.ok){if(o&&[301,302,307,308].includes(t.status))return{dataHref:r,response:t,text:e,json:{},cacheKey:d};if(404===t.status){var n;if(null==(n=F(e))?void 0:n.notFound)return{dataHref:r,json:{notFound:U},response:t,text:e,cacheKey:d}}let a=Error("Failed to load static props");throw l||(0,i.markAssetError)(a),a}return{dataHref:r,json:u?F(e):null,response:t,text:e,cacheKey:d}})).then(e=>(s&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[d],e)).catch(e=>{throw f||delete n[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e});return f&&s?h({}).then(e=>(n[d]=Promise.resolve(e),e)):void 0!==n[d]?n[d]:n[d]=h(c?{method:"HEAD"}:{})}function W(){return Math.random().toString(36).slice(2,10)}function z(e){let{url:t,router:r}=e;if(t===(0,w.addBasePath)((0,b.addLocale)(r.asPath,r.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let G=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0};return()=>{if(n){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}};class V{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=D(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=D(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,r,n){{let u=!1,s=!1;for(let c of[e,t])if(c){let t=(0,o.removeTrailingSlash)(new URL(c,"http://n").pathname),f=(0,w.addBasePath)((0,b.addLocale)(t,r||this.locale));if(t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var a,i,l;for(let e of(u=u||!!(null==(a=this._bfl_s)?void 0:a.contains(t))||!!(null==(i=this._bfl_s)?void 0:i.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!s&&e{})}}}}return!1}async change(e,t,r,n,a){var s,c,f,j,O,E,C,A,T;let k,H;if(!(0,R.isLocalURL)(t))return z({url:t,router:this}),!1;let F=1===n._h;F||n.shallow||await this._bfl(r,void 0,n.locale);let q=F||n._shouldResolveHref||(0,_.parsePath)(t).pathname===(0,_.parsePath)(r).pathname,W={...this.state},G=!0!==this.isReady;this.isReady=!0;let X=this.isSsr;if(F||(this.isSsr=!1),F&&this.clc)return!1;let Y=W.locale;d.ST&&performance.mark("routeChange");let{shallow:$=!1,scroll:J=!0}=n,K={shallow:$};this._inFlightRoute&&this.clc&&(X||V.events.emit("routeChangeError",I(),this._inFlightRoute,K),this.clc(),this.clc=null),r=(0,w.addBasePath)((0,b.addLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,n.locale,this.defaultLocale));let Q=(0,v.removeLocale)((0,S.hasBasePath)(r)?(0,P.removeBasePath)(r):r,W.locale);this._inFlightRoute=r;let Z=Y!==W.locale;if(!F&&this.onlyAHashChange(Q)&&!Z){W.asPath=Q,V.events.emit("hashChangeStart",r,K),this.changeState(e,t,r,{...n,scroll:!1}),J&&this.scrollToHash(Q);try{await this.set(W,this.components[W.route],null)}catch(e){throw(0,u.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,K),e}return V.events.emit("hashChangeComplete",r,K),!0}let ee=(0,p.parseRelativeUrl)(t),{pathname:et,query:er}=ee;if(null==(s=this.components[et])?void 0:s.__appRouter)return z({url:r,router:this}),new Promise(()=>{});try{[k,{__rewrites:H}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return z({url:r,router:this}),!1}this.urlIsNew(Q)||Z||(e="replaceState");let en=r;et=et?(0,o.removeTrailingSlash)((0,P.removeBasePath)(et)):et;let ea=(0,o.removeTrailingSlash)(et),eo=r.startsWith("/")&&(0,p.parseRelativeUrl)(r).pathname,ei=!!(eo&&ea!==eo&&(!(0,h.isDynamicRoute)(ea)||!(0,m.getRouteMatcher)((0,g.getRouteRegex)(ea))(eo))),el=!n.shallow&&await N({asPath:r,locale:W.locale,router:this});if(F&&el&&(q=!1),q&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=B(et,k),ee.pathname===et||(et=ee.pathname,ee.pathname=(0,w.addBasePath)(et),el||(t=(0,y.formatWithValidation)(ee)))),!(0,R.isLocalURL)(r))return z({url:r,router:this}),!1;en=(0,v.removeLocale)((0,P.removeBasePath)(en),W.locale),ea=(0,o.removeTrailingSlash)(et);let eu=!1;if((0,h.isDynamicRoute)(ea)){let e=(0,p.parseRelativeUrl)(en),n=e.pathname,a=(0,g.getRouteRegex)(ea);eu=(0,m.getRouteMatcher)(a)(n);let o=ea===n,i=o?(0,L.interpolateAs)(ea,n,er):{};if(eu&&(!o||i.result))o?r=(0,y.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,M.omit)(er,i.params)})):Object.assign(er,eu);else{let e=Object.keys(a.groups).filter(e=>!er[e]&&!a.groups[e].optional);if(e.length>0&&!el)throw Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+ea+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as"))}}F||V.events.emit("routeChangeStart",r,K);let es="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:ea,pathname:et,query:er,as:r,resolvedAs:en,routeProps:K,locale:W.locale,isPreview:W.isPreview,hasMiddleware:el,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:F&&!this.isFallback,isMiddlewareRewrite:ei});if(F||n.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,W.locale),"route"in o&&el){ea=et=o.route||ea,K.shallow||(er=Object.assign({},o.query||{},er));let e=(0,S.hasBasePath)(ee.pathname)?(0,P.removeBasePath)(ee.pathname):ee.pathname;if(eu&&et!==e&&Object.keys(eu).forEach(e=>{eu&&er[e]===eu[e]&&delete er[e]}),(0,h.isDynamicRoute)(et)){let e=!K.shallow&&o.resolvedAs?o.resolvedAs:(0,w.addBasePath)((0,b.addLocale)(new URL(r,location.href).pathname,W.locale),!0),t=e;(0,S.hasBasePath)(t)&&(t=(0,P.removeBasePath)(t));let n=(0,g.getRouteRegex)(et),a=(0,m.getRouteMatcher)(n)(new URL(t,location.href).pathname);a&&Object.assign(er,a)}}if("type"in o){if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,n);return z({url:o.destination,router:this}),new Promise(()=>{})}let i=o.Component;if(i&&i.unstable_scriptLoader){let e=[].concat(i.unstable_scriptLoader());e.forEach(e=>{(0,l.handleClientScriptLoad)(e.props)})}if((o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){n.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,p.parseRelativeUrl)(t);r.pathname=B(r.pathname,k);let{url:a,as:o}=D(this,t,t);return this.change(e,a,o,n)}return z({url:t,router:this}),new Promise(()=>{})}if(W.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===U){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isNotFound:!0}),"type"in o)throw Error("Unexpected middleware effect on /404")}}F&&"/_error"===this.pathname&&(null==(c=self.__NEXT_DATA__.props)?void 0:null==(f=c.pageProps)?void 0:f.statusCode)===500&&(null==(j=o.props)?void 0:j.pageProps)&&(o.props.pageProps.statusCode=500);let s=n.shallow&&W.route===(null!=(O=o.route)?O:ea),d=null!=(E=n.scroll)?E:!F&&!s,y=null!=a?a:d?{x:0,y:0}:null,_={...W,route:ea,pathname:et,query:er,asPath:Q,isFallback:!1};if(F&&es){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isQueryUpdating:F&&!this.isFallback}),"type"in o)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(C=self.__NEXT_DATA__.props)?void 0:null==(A=C.pageProps)?void 0:A.statusCode)===500&&(null==(T=o.props)?void 0:T.pageProps)&&(o.props.pageProps.statusCode=500);try{await this.set(_,o,y)}catch(e){throw(0,u.default)(e)&&e.cancelled&&V.events.emit("routeChangeError",e,Q,K),e}return!0}V.events.emit("beforeHistoryChange",r,K),this.changeState(e,t,r,n);let v=F&&!y&&!G&&!Z&&(0,x.compareRouterStates)(_,this.state);if(!v){try{await this.set(_,o,y)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw F||V.events.emit("routeChangeError",o.error,Q,K),o.error;F||V.events.emit("routeChangeComplete",r,K),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,u.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,d.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:W()},"",r))}async handleRouteInfoError(e,t,r,n,a,o){if(console.error(e),e.cancelled)throw e;if((0,i.isAssetError)(e)||o)throw V.events.emit("routeChangeError",e,n,a),z({url:n,router:this}),I();try{let n;let{page:a,styleSheets:o}=await this.fetchComponent("/_error"),i={props:n,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,u.default)(e)?e:Error(e+""),t,r,n,a,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:a,resolvedAs:i,routeProps:l,locale:s,hasMiddleware:f,isPreview:d,unstable_skipClientCache:h,isQueryUpdating:p,isMiddlewareRewrite:m,isNotFound:g}=e,_=t;try{var b,v,w,S;let e=G({route:_,router:this}),t=this.components[_];if(l.shallow&&t&&this.route===_)return t;f&&(t=void 0);let u=!t||"initial"in t?void 0:t,O={dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:g?"/404":i,locale:s}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:p?this.sbc:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:h,isBackground:p},E=p&&!m?null:await H({fetchData:()=>q(O),asPath:g?"/404":i,locale:s,router:this}).catch(e=>{if(p)return null;throw e});if(E&&("/_error"===r||"/404"===r)&&(E.effect=void 0),p&&(E?E.json=self.__NEXT_DATA__.props:E={json:self.__NEXT_DATA__.props}),e(),(null==E?void 0:null==(b=E.effect)?void 0:b.type)==="redirect-internal"||(null==E?void 0:null==(v=E.effect)?void 0:v.type)==="redirect-external")return E.effect;if((null==E?void 0:null==(w=E.effect)?void 0:w.type)==="rewrite"){let e=(0,o.removeTrailingSlash)(E.effect.resolvedHref),a=await this.pageLoader.getPageList();if((!p||a.includes(e))&&(_=e,r=E.effect.resolvedHref,n={...n,...E.effect.parsedAs.query},i=(0,P.removeBasePath)((0,c.normalizeLocalePath)(E.effect.parsedAs.pathname,this.locales).pathname),t=this.components[_],l.shallow&&t&&this.route===_&&!f))return{...t,route:_}}if((0,j.isAPIRoute)(_))return z({url:a,router:this}),new Promise(()=>{});let x=u||await this.fetchComponent(_).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),R=null==E?void 0:null==(S=E.response)?void 0:S.headers.get("x-middleware-skip"),C=x.__N_SSG||x.__N_SSP;R&&(null==E?void 0:E.dataHref)&&delete this.sdc[E.dataHref];let{props:M,cacheKey:A}=await this._getData(async()=>{if(C){if((null==E?void 0:E.json)&&!R)return{cacheKey:E.cacheKey,props:E.json};let e=(null==E?void 0:E.dataHref)?E.dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:s}),t=await q({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:R?{}:this.sdc,persistCache:!d,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(x.Component,{pathname:r,query:n,asPath:a,locale:s,locales:this.locales,defaultLocale:this.defaultLocale})}});return x.__N_SSP&&O.dataHref&&A&&delete this.sdc[A],this.isPreview||!x.__N_SSG||p||q(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),M.pageProps=Object.assign({},M.pageProps),x.props=M,x.route=_,x.query=n,x.resolvedAs=i,this.components[_]=x,x}catch(e){return this.handleRouteInfoError((0,u.getProperError)(e),r,n,a,l)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#"),[n,a]=e.split("#");return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#");if(""===t||"top"===t){(0,T.handleSmoothScroll)(()=>window.scrollTo(0,0));return}let r=decodeURIComponent(t),n=document.getElementById(r);if(n){(0,T.handleSmoothScroll)(()=>n.scrollIntoView());return}let a=document.getElementsByName(r)[0];a&&(0,T.handleSmoothScroll)(()=>a.scrollIntoView())}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,C.isBot)(window.navigator.userAgent))return;let n=(0,p.parseRelativeUrl)(e),a=n.pathname,{pathname:i,query:l}=n,u=i,s=await this.pageLoader.getPageList(),c=t,f=void 0!==r.locale?r.locale||void 0:this.locale,d=await N({asPath:t,locale:f,router:this});n.pathname=B(n.pathname,s),(0,h.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(l,(0,m.getRouteMatcher)((0,g.getRouteRegex)(n.pathname))((0,_.parsePath)(t).pathname)||{}),d||(e=(0,y.formatWithValidation)(n)));let b=await H({fetchData:()=>q({dataHref:this.pageLoader.getDataHref({href:(0,y.formatWithValidation)({pathname:u,query:l}),skipInterpolation:!0,asPath:c,locale:f}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:f,router:this});if((null==b?void 0:b.effect.type)==="rewrite"&&(n.pathname=b.effect.resolvedHref,i=b.effect.resolvedHref,l={...l,...b.effect.parsedAs.query},c=b.effect.parsedAs.pathname,e=(0,y.formatWithValidation)(n)),(null==b?void 0:b.effect.type)==="redirect-external")return;let v=(0,o.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(v).then(t=>!!t&&q({dataHref:(null==b?void 0:b.json)?null==b?void 0:b.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:f}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](v)])}async fetchComponent(e){let t=G({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return q({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,d.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,n,{initialProps:a,pageLoader:i,App:l,wrapApp:u,Component:s,err:c,subscription:f,isFallback:m,locale:g,locales:_,defaultLocale:b,domainLocales:v,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=W(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,y.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),(0,d.getURL)());return}if(n.__NA){window.location.reload();return}if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:o,options:i,key:l}=n;this._key=l;let{pathname:u}=(0,p.parseRelativeUrl)(a);(!this.isSsr||o!==(0,w.addBasePath)(this.asPath)||u!==(0,w.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let S=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[S]={Component:s,initial:!0,props:a,err:c,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:l,styleSheets:[]};{let{BloomFilter:e}=r(46088),t={numItems:6,errorRate:.01,numBits:58,numHashes:7,bitArray:[0,1,0,1,0,1,1,0,0,0,0,1,1,1,1,1,0,0,0,1,0,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,0,1,1,1,1,0,1,0,1,1,0,0,1,1,1,1,1,1,1,1,1,0]},n={numItems:1,errorRate:.01,numBits:10,numHashes:7,bitArray:[1,0,1,0,0,1,0,1,1,0]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==n?void 0:n.numHashes)&&(this._bfl_d=new e(n.numItems,n.errorRate),this._bfl_d.import(n))}this.events=V.events,this.pageLoader=i;let j=(0,h.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=f,this.clc=null,this._wrapApp=u,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!j&&!self.location.search),this.state={route:S,pathname:e,query:t,asPath:j?e:n,isPreview:!!P,locale:void 0,isFallback:m},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!n.startsWith("//")){let r={locale:g},a=(0,d.getURL)();this._initialMatchesMiddlewarePromise=N({router:this,locale:g,asPath:a}).then(o=>(r._shouldResolveHref=n!==e,this.changeState("replaceState",o?a:(0,y.formatWithValidation)({pathname:(0,w.addBasePath)(e),query:t}),a,r),o))}window.addEventListener("popstate",this.onPopState)}}V.events=(0,f.default)()},66355:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(62478),a=r(53488);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},62478:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=r(62551);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+t+r+a+o}},42774:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=r(62551);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+r+t+a+o}},36965:function(e,t){"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},85622:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return l}});let n=r(59152),a=r(62478),o=r(42774),i=r(66355);function l(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},28904:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return i},urlObjectKeys:function(){return l},formatWithValidation:function(){return u}});let n=r(61757),a=n._(r(85342)),o=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",l=e.hash||"",u=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(s+=":"+e.port)),u&&"object"==typeof u&&(u=String(a.urlQueryToSearchParams(u)));let c=e.search||u&&"?"+u||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),""+n+s+(i=i.replace(/[?#]/g,encodeURIComponent))+(c=c.replace("#","%23"))+l}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return i(e)}},83413:function(e,t){"use strict";function r(e,t){void 0===t&&(t="");let r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:""+e;return r+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},42666:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(7150),a=r(50563),o=r(53488);function i(e,t){var r,i,l;let{basePath:u,i18n:s,trailingSlash:c}=null!=(r=t.nextConfig)?r:{},f={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):c};if(u&&(0,o.pathHasPrefix)(f.pathname,u)&&(f.pathname=(0,a.removePathPrefix)(f.pathname,u),f.basePath=u),!0===t.parseData&&f.pathname.startsWith("/_next/data/")&&f.pathname.endsWith(".json")){let e=f.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),t=e[0];f.pathname="index"!==e[1]?"/"+e.slice(1).join("/"):"/",f.buildId=t}if(t.i18nProvider){let e=t.i18nProvider.analyze(f.pathname);f.locale=e.detectedLocale,f.pathname=null!=(i=e.pathname)?i:f.pathname}else if(s){let e=(0,n.normalizeLocalePath)(f.pathname,s.locales);f.locale=e.detectedLocale,f.pathname=null!=(l=e.pathname)?l:f.pathname}return f}},85913:function(e,t){"use strict";function r(e,t){void 0===t&&(t={});let r=document.documentElement,n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return r}})},84546:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});let n=r(47235),a=r(80396)},86680:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(19917),a=r(6047);function o(e,t,r){let o="",i=(0,a.getRouteRegex)(e),l=i.groups,u=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;o=e;let s=Object.keys(l);return s.every(e=>{let t=u[e]||"",{repeat:r,optional:n}=l[e],a="["+(r?"...":"")+e+"]";return n&&(a=(t?"":"/")+"["+a+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in u)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:s,result:o}}},78001:function(e,t){"use strict";function r(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return r}})},80396:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return n}});let r=/\/\[[^/]+?\](?=\/|$)/;function n(e){return r.test(e)}},65723:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return o}});let n=r(95514),a=r(52501);function o(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},48321:function(e,t){"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},62551:function(e,t){"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},59325:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(95514),a=r(85342);function o(e,t){let r=new URL((0,n.getLocationOrigin)()),o=t?new URL(t,r):e.startsWith(".")?new URL(window.location.href):r,{pathname:i,searchParams:l,search:u,hash:s,href:c,origin:f}=new URL(e,o);if(f!==r.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:i,query:(0,a.searchParamsToUrlQuery)(l),search:u,hash:s,href:c.slice(r.origin.length)}}},53488:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=r(62551);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},85342:function(e,t){"use strict";function r(e){let t={};return e.forEach((e,r)=>{void 0===t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[r,a]=e;Array.isArray(a)?a.forEach(e=>t.append(r,n(e))):t.set(r,n(a))}),t}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,r)=>e.append(r,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return a},assign:function(){return o}})},50563:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=r(53488);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},59152:function(e,t){"use strict";function r(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},65722:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=r(85342),a=r(28904),o=r(48321),i=r(95514),l=r(25731),u=r(65723),s=r(80396),c=r(86680);function f(e,t,r){let f;let d="string"==typeof t?t:(0,a.formatWithValidation)(t),h=d.match(/^[a-zA-Z]{1,}:\/\//),p=h?d.slice(h[0].length):d,m=p.split("?");if((m[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(p);d=(h?h[0]:"")+t}if(!(0,u.isLocalURL)(d))return r?[d]:d;try{f=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){f=new URL("/","http://n")}try{let e=new URL(d,f);e.pathname=(0,l.normalizePathTrailingSlash)(e.pathname);let t="";if((0,s.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:l}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,a.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(r,l)}))}let i=e.origin===f.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[d]:d}}},19917:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return a}});let n=r(95514);function a(e){let{re:t,groups:r}=e;return e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw new n.DecodeError("failed to decode param")}},i={};return Object.keys(r).forEach(e=>{let t=r[e],n=a[t.pos];void 0!==n&&(i[e]=~n.indexOf("/")?n.split("/").map(e=>o(e)):t.repeat?[o(n)]:o(n))}),i}}},6047:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getRouteRegex:function(){return u},getNamedRouteRegex:function(){return c},getNamedMiddlewareRegex:function(){return f}});let n=r(17266),a=r(59152),o="nxtP";function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}function l(e){let t=(0,a.removeTrailingSlash)(e).slice(1).split("/"),r={},o=1;return{parameterizedRoute:t.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,n.escapeStringRegexp)(e);{let{key:t,optional:n,repeat:a}=i(e.slice(1,-1));return r[t]={pos:o++,repeat:a,optional:n},a?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:r}}function u(e){let{parameterizedRoute:t,groups:r}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:r}}function s(e,t){let r,l;let u=(0,a.removeTrailingSlash)(e).slice(1).split("/"),s=(r=97,l=1,()=>{let e="";for(let t=0;t122&&(l++,r=97);return e}),c={};return{namedParameterizedRoute:u.map(e=>{if(!(e.startsWith("[")&&e.endsWith("]")))return"/"+(0,n.escapeStringRegexp)(e);{let{key:r,optional:n,repeat:a}=i(e.slice(1,-1)),l=r.replace(/\W/g,"");t&&(l=""+o+l);let u=!1;return(0===l.length||l.length>30)&&(u=!0),isNaN(parseInt(l.slice(0,1)))||(u=!0),u&&(l=s()),t?c[l]=""+o+r:c[l]=""+r,a?n?"(?:/(?<"+l+">.+?))?":"/(?<"+l+">.+?)":"/(?<"+l+">[^/]+?)"}}).join(""),routeKeys:c}}function c(e,t){let r=s(e,t);return{...u(e),namedRegex:"^"+r.namedParameterizedRoute+"(?:/)?$",routeKeys:r.routeKeys}}function f(e,t){let{parameterizedRoute:r}=l(e),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:a}=s(e,!1);return{namedRegex:"^"+a+(n?"(?:(/.*)?)":"")+"$"}}},47235:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Error("Catch-all must be the last part of the URL.");let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let r=a.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+r+"').");if(r.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+r+"').");function o(e,r){if(null!==e&&e!==r)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"').");t.forEach(e=>{if(e===r)throw Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path')}),t.push(r)}if(n){if(i){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');o(this.restSlugName,r),this.restSlugName=r,a="[...]"}}else{if(i)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');o(this.slugName,r),this.slugName=r,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}},66452:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return n},setConfig:function(){return a}});let n=()=>r;function a(e){r=e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},89034:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(61757),a=n._(r(67294)),o=a.useLayoutEffect,i=a.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function n(){if(t&&t.mountedInstances){let n=a.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(n,e))}}return o(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),o(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},95514:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{WEB_VITALS:function(){return r},execOnce:function(){return n},isAbsoluteUrl:function(){return o},getLocationOrigin:function(){return i},getURL:function(){return l},getDisplayName:function(){return u},isResSent:function(){return s},normalizeRepeatedSlashes:function(){return c},loadGetInitialProps:function(){return f},SP:function(){return d},ST:function(){return h},DecodeError:function(){return p},NormalizeError:function(){return m},PageNotFoundError:function(){return g},MissingStaticPage:function(){return y},MiddlewareNotFoundError:function(){return _}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,a=Array(n),o=0;oa.test(e);function i(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=i();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function s(e){return e.finished||e.headersSent}function c(e){let t=e.split("?"),r=t[0];return r.replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&s(r))return n;if(!n){let t='"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.';throw Error(t)}return n}let d="undefined"!=typeof performance,h=d&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class p extends Error{}class m extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class _ extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}},59941:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},78018:function(e){var t,r,n,a,o,i,l,u,s,c,f,d,h,p,m,g,y,_,b,v,P,w,S,j,O,E,x,R,C,M,A,L,T,I,N,k,D,B,H,U,F,q,W,z,G,V;(t={}).d=function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),r={},t.r(r),t.d(r,{getCLS:function(){return S},getFCP:function(){return v},getFID:function(){return M},getINP:function(){return q},getLCP:function(){return z},getTTFB:function(){return V},onCLS:function(){return S},onFCP:function(){return v},onFID:function(){return M},onINP:function(){return q},onLCP:function(){return z},onTTFB:function(){return V}}),u=-1,s=function(e){addEventListener("pageshow",function(t){t.persisted&&(u=t.timeStamp,e(t))},!0)},c=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},f=function(){var e=c();return e&&e.activationStart||0},d=function(e,t){var r=c(),n="navigate";return u>=0?n="back-forward-cache":r&&(n=document.prerendering||f()>0?"prerender":r.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},h=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver(function(e){t(e.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},p=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},m=function(e,t,r,n){var a,o;return function(i){var l;t.value>=0&&(i||n)&&((o=t.value-(a||0))||void 0===a)&&(a=t.value,t.delta=o,t.rating=(l=t.value)>r[1]?"poor":l>r[0]?"needs-improvement":"good",e(t))}},g=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},_=function(){p(function(e){g=e.timeStamp},!0)},b=function(){return g<0&&(g=y(),_(),s(function(){setTimeout(function(){g=y(),_()},0)})),{get firstHiddenTime(){return g}}},v=function(e,t){t=t||{};var r,n=[1800,3e3],a=b(),o=d("FCP"),i=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(u&&u.disconnect(),e.startTime-1&&e(t)},o=d("CLS",0),i=0,l=[],u=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=l[0],r=l[l.length-1];i&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,l.push(e)):(i=e.value,l=[e]),i>o.value&&(o.value=i,o.entries=l,n())}})},c=h("layout-shift",u);c&&(n=m(a,o,r,t.reportAllChanges),p(function(){u(c.takeRecords()),n(!0)}),s(function(){i=0,w=-1,n=m(a,o=d("CLS",0),r,t.reportAllChanges)}))},j={passive:!0,capture:!0},O=new Date,E=function(e,t){n||(n=t,a=e,o=new Date,C(removeEventListener),x())},x=function(){if(a>=0&&a1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){E(a,e),n()},r=function(){n()},n=function(){removeEventListener("pointerup",t,j),removeEventListener("pointercancel",r,j)},addEventListener("pointerup",t,j),addEventListener("pointercancel",r,j)):E(a,e)}},C=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,R,j)})},M=function(e,t){t=t||{};var r,o=[100,300],l=b(),u=d("FID"),c=function(e){e.startTimet.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};U[n.id]=n,H.push(n)}H.sort(function(e,t){return t.latency-e.latency}),H.splice(10).forEach(function(e){delete U[e.id]})}},q=function(e,t){t=t||{};var r=[200,500];k();var n,a=d("INP"),o=function(e){e.forEach(function(e){e.interactionId&&F(e),"first-input"!==e.entryType||H.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||F(e)});var t,r=(t=Math.min(H.length-1,Math.floor(B()/50)),H[t]);r&&r.latency!==a.value&&(a.value=r.latency,a.entries=r.entries,n())},i=h("event",o,{durationThreshold:t.durationThreshold||40});n=m(e,a,r,t.reportAllChanges),i&&(i.observe({type:"first-input",buffered:!0}),p(function(){o(i.takeRecords()),a.value<0&&B()>0&&(a.value=0,a.entries=[]),n(!0)}),s(function(){H=[],D=N(),n=m(e,a=d("INP"),r,t.reportAllChanges)}))},W={},z=function(e,t){t=t||{};var r,n=[2500,4e3],a=b(),o=d("LCP"),i=function(e){var t=e[e.length-1];if(t){var n=t.startTime-f();nperformance.now())return;n.entries=[o],a(!0),s(function(){(a=m(e,n=d("TTFB",0),r,t.reportAllChanges))(!0)})}})},e.exports=r},79423:function(e,t){"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},80676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return a},getProperError:function(){return o}});let n=r(20189);function a(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){return a(e)?e:Error((0,n.isPlainObject)(e)?JSON.stringify(e):e+"")}},72431:function(){},38754:function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:function(){return n},_interop_require_default:function(){return n}})},61757:function(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=o?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(a,i,l):a[i]=e[i]}return a.default=e,r&&r.set(e,a),a}r.r(t),r.d(t,{_:function(){return a},_interop_require_wildcard:function(){return a}})}},function(e){e.O(0,[774],function(){return e(e.s=87206)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/pilot/server/static/_next/static/chunks/main-app-ef92ae3458b7fdcc.js b/pilot/server/static/_next/static/chunks/main-app-ef92ae3458b7fdcc.js
new file mode 100644
index 000000000..218156889
--- /dev/null
+++ b/pilot/server/static/_next/static/chunks/main-app-ef92ae3458b7fdcc.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{58598:function(e,n,t){Promise.resolve().then(t.t.bind(t,68802,23)),Promise.resolve().then(t.t.bind(t,13211,23)),Promise.resolve().then(t.t.bind(t,5767,23)),Promise.resolve().then(t.t.bind(t,14299,23)),Promise.resolve().then(t.t.bind(t,37396,23))}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[253,769],function(){return n(29070),n(58598)}),_N_E=e.O()}]);
\ No newline at end of file
diff --git a/pilot/server/static/_next/static/chunks/pages/_app-1f2755172264764d.js b/pilot/server/static/_next/static/chunks/pages/_app-1f2755172264764d.js
new file mode 100644
index 000000000..ac7186b47
--- /dev/null
+++ b/pilot/server/static/_next/static/chunks/pages/_app-1f2755172264764d.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{41597:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return u(55366)}])}},function(n){var _=function(_){return n(n.s=_)};n.O(0,[774,179],function(){return _(41597),_(75919)}),_N_E=n.O()}]);
\ No newline at end of file
diff --git a/pilot/server/static/_next/static/chunks/pages/_error-f5357f382422dd96.js b/pilot/server/static/_next/static/chunks/pages/_error-f5357f382422dd96.js
new file mode 100644
index 000000000..ced7d1ff7
--- /dev/null
+++ b/pilot/server/static/_next/static/chunks/pages/_error-f5357f382422dd96.js
@@ -0,0 +1 @@
+(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[820],{81981:function(n,_,u){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return u(14600)}])}},function(n){n.O(0,[888,774,179],function(){return n(n.s=81981)}),_N_E=n.O()}]);
\ No newline at end of file
diff --git a/pilot/server/static/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js b/pilot/server/static/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js
new file mode 100644
index 000000000..6c105cac9
--- /dev/null
+++ b/pilot/server/static/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js
@@ -0,0 +1 @@
+!function(){var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=function(t){return t&&t.Math==Math&&t},n=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||Function("return this")(),o=function(t){try{return!!t()}catch(t){return!0}},i=!o(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,s=u&&!a.call({1:2},1)?function(t){var e=u(this,t);return!!e&&e.enumerable}:a,c={f:s},f=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},l={}.toString,h=function(t){return l.call(t).slice(8,-1)},p="".split,d=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==h(t)?p.call(t,""):Object(t)}:Object,v=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},g=function(t){return d(v(t))},y=function(t){return"object"==typeof t?null!==t:"function"==typeof t},m=function(t,e){if(!y(t))return t;var r,n;if(e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;if("function"==typeof(r=t.valueOf)&&!y(n=r.call(t)))return n;if(!e&&"function"==typeof(r=t.toString)&&!y(n=r.call(t)))return n;throw TypeError("Can't convert object to primitive value")},b={}.hasOwnProperty,w=function(t,e){return b.call(t,e)},S=n.document,E=y(S)&&y(S.createElement),x=function(t){return E?S.createElement(t):{}},A=!i&&!o(function(){return 7!=Object.defineProperty(x("div"),"a",{get:function(){return 7}}).a}),O=Object.getOwnPropertyDescriptor,R={f:i?O:function(t,e){if(t=g(t),e=m(e,!0),A)try{return O(t,e)}catch(t){}if(w(t,e))return f(!c.f.call(t,e),t[e])}},j=function(t){if(!y(t))throw TypeError(String(t)+" is not an object");return t},P=Object.defineProperty,I={f:i?P:function(t,e,r){if(j(t),e=m(e,!0),j(r),A)try{return P(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},T=i?function(t,e,r){return I.f(t,e,f(1,r))}:function(t,e,r){return t[e]=r,t},k=function(t,e){try{T(n,t,e)}catch(r){n[t]=e}return e},L="__core-js_shared__",U=n[L]||k(L,{}),M=Function.toString;"function"!=typeof U.inspectSource&&(U.inspectSource=function(t){return M.call(t)});var _,N,C,F=U.inspectSource,B=n.WeakMap,D="function"==typeof B&&/native code/.test(F(B)),q=!1,z=e(function(t){(t.exports=function(t,e){return U[t]||(U[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})}),W=0,K=Math.random(),G=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++W+K).toString(36)},$=z("keys"),V=function(t){return $[t]||($[t]=G(t))},H={};if(D){var X=new(0,n.WeakMap),Y=X.get,J=X.has,Q=X.set;_=function(t,e){return Q.call(X,t,e),e},N=function(t){return Y.call(X,t)||{}},C=function(t){return J.call(X,t)}}else{var Z=V("state");H[Z]=!0,_=function(t,e){return T(t,Z,e),e},N=function(t){return w(t,Z)?t[Z]:{}},C=function(t){return w(t,Z)}}var tt,et={set:_,get:N,has:C,enforce:function(t){return C(t)?N(t):_(t,{})},getterFor:function(t){return function(e){var r;if(!y(e)||(r=N(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}},rt=e(function(t){var e=et.get,r=et.enforce,o=String(String).split("String");(t.exports=function(t,e,i,a){var u=!!a&&!!a.unsafe,s=!!a&&!!a.enumerable,c=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||w(i,"name")||T(i,"name",e),r(i).source=o.join("string"==typeof e?e:"")),t!==n?(u?!c&&t[e]&&(s=!0):delete t[e],s?t[e]=i:T(t,e,i)):s?t[e]=i:k(e,i)})(Function.prototype,"toString",function(){return"function"==typeof this&&e(this).source||F(this)})}),nt=n,ot=function(t){return"function"==typeof t?t:void 0},it=function(t,e){return arguments.length<2?ot(nt[t])||ot(n[t]):nt[t]&&nt[t][e]||n[t]&&n[t][e]},at=Math.ceil,ut=Math.floor,st=function(t){return isNaN(t=+t)?0:(t>0?ut:at)(t)},ct=Math.min,ft=function(t){return t>0?ct(st(t),9007199254740991):0},lt=Math.max,ht=Math.min,pt=function(t,e){var r=st(t);return r<0?lt(r+e,0):ht(r,e)},dt=function(t){return function(e,r,n){var o,i=g(e),a=ft(i.length),u=pt(n,a);if(t&&r!=r){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===r)return t||u||0;return!t&&-1}},vt={includes:dt(!0),indexOf:dt(!1)},gt=vt.indexOf,yt=function(t,e){var r,n=g(t),o=0,i=[];for(r in n)!w(H,r)&&w(n,r)&&i.push(r);for(;e.length>o;)w(n,r=e[o++])&&(~gt(i,r)||i.push(r));return i},mt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bt=mt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(t){return yt(t,bt)}},St={f:Object.getOwnPropertySymbols},Et=it("Reflect","ownKeys")||function(t){var e=wt.f(j(t)),r=St.f;return r?e.concat(r(t)):e},xt=function(t,e){for(var r=Et(e),n=I.f,o=R.f,i=0;i2?arguments[2]:void 0,u=Mt((void 0===a?n:pt(a,n))-i,n-o),s=1;for(i0;)i in r?r[o]=r[i]:delete r[o],o+=s,i+=s;return r},Nt=!!Object.getOwnPropertySymbols&&!o(function(){return!String(Symbol())}),Ct=Nt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ft=z("wks"),Bt=n.Symbol,Dt=Ct?Bt:Bt&&Bt.withoutSetter||G,qt=function(t){return w(Ft,t)||(Ft[t]=Nt&&w(Bt,t)?Bt[t]:Dt("Symbol."+t)),Ft[t]},zt=Object.keys||function(t){return yt(t,mt)},Wt=i?Object.defineProperties:function(t,e){j(t);for(var r,n=zt(e),o=n.length,i=0;o>i;)I.f(t,r=n[i++],e[r]);return t},Kt=it("document","documentElement"),Gt="prototype",$t="script",Vt=V("IE_PROTO"),Ht=function(){},Xt=function(t){return"<"+$t+">"+t+""+$t+">"},Yt=function(){try{tt=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,r;Yt=tt?function(t){t.write(Xt("")),t.close();var e=t.parentWindow.Object;return t=null,e}(tt):(e=x("iframe"),r="java"+$t+":",e.style.display="none",Kt.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(Xt("document.F=Object")),t.close(),t.F);for(var n=mt.length;n--;)delete Yt[Gt][mt[n]];return Yt()};H[Vt]=!0;var Jt=Object.create||function(t,e){var r;return null!==t?(Ht[Gt]=j(t),r=new Ht,Ht[Gt]=null,r[Vt]=t):r=Yt(),void 0===e?r:Wt(r,e)},Qt=qt("unscopables"),Zt=Array.prototype;null==Zt[Qt]&&I.f(Zt,Qt,{configurable:!0,value:Jt(null)});var te=function(t){Zt[Qt][t]=!0};Lt({target:"Array",proto:!0},{copyWithin:_t}),te("copyWithin");var ee=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t},re=function(t,e,r){if(ee(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}},ne=Function.call,oe=function(t,e,r){return re(ne,n[t].prototype[e],r)};oe("Array","copyWithin"),Lt({target:"Array",proto:!0},{fill:function(t){for(var e=Ut(this),r=ft(e.length),n=arguments.length,o=pt(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:pt(i,r);a>o;)e[o++]=t;return e}}),te("fill"),oe("Array","fill");var ie=Array.isArray||function(t){return"Array"==h(t)},ae=qt("species"),ue=function(t,e){var r;return ie(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!ie(r.prototype)?y(r)&&null===(r=r[ae])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)},se=[].push,ce=function(t){var e=1==t,r=2==t,n=3==t,o=4==t,i=6==t,a=5==t||i;return function(u,s,c,f){for(var l,h,p=Ut(u),v=d(p),g=re(s,c,3),y=ft(v.length),m=0,b=f||ue,w=e?b(u,y):r?b(u,0):void 0;y>m;m++)if((a||m in v)&&(h=g(l=v[m],m,p),t))if(e)w[m]=h;else if(h)switch(t){case 3:return!0;case 5:return l;case 6:return m;case 2:se.call(w,l)}else if(o)return!1;return i?-1:n||o?o:w}},fe={forEach:ce(0),map:ce(1),filter:ce(2),some:ce(3),every:ce(4),find:ce(5),findIndex:ce(6)},le=Object.defineProperty,he={},pe=function(t){throw t},de=function(t,e){if(w(he,t))return he[t];e||(e={});var r=[][t],n=!!w(e,"ACCESSORS")&&e.ACCESSORS,a=w(e,0)?e[0]:pe,u=w(e,1)?e[1]:void 0;return he[t]=!!r&&!o(function(){if(n&&!i)return!0;var t={length:-1};n?le(t,1,{enumerable:!0,get:pe}):t[1]=1,r.call(t,a,u)})},ve=fe.find,ge="find",ye=!0,me=de(ge);ge in[]&&Array(1)[ge](function(){ye=!1}),Lt({target:"Array",proto:!0,forced:ye||!me},{find:function(t){return ve(this,t,arguments.length>1?arguments[1]:void 0)}}),te(ge),oe("Array","find");var be=fe.findIndex,we="findIndex",Se=!0,Ee=de(we);we in[]&&Array(1)[we](function(){Se=!1}),Lt({target:"Array",proto:!0,forced:Se||!Ee},{findIndex:function(t){return be(this,t,arguments.length>1?arguments[1]:void 0)}}),te(we),oe("Array","findIndex");var xe=function(t,e,r,n,o,i,a,u){for(var s,c=o,f=0,l=!!a&&re(a,u,3);f0&&ie(s))c=xe(t,e,s,ft(s.length),c,i-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[c]=s}c++}f++}return c},Ae=xe;Lt({target:"Array",proto:!0},{flatMap:function(t){var e,r=Ut(this),n=ft(r.length);return ee(t),(e=ue(r,0)).length=Ae(e,r,r,n,0,1,t,arguments.length>1?arguments[1]:void 0),e}}),te("flatMap"),oe("Array","flatMap"),Lt({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Ut(this),r=ft(e.length),n=ue(e,0);return n.length=Ae(n,e,e,r,0,void 0===t?1:st(t)),n}}),te("flat"),oe("Array","flat");var Oe,Re,je,Pe=function(t){return function(e,r){var n,o,i=String(v(e)),a=st(r),u=i.length;return a<0||a>=u?t?"":void 0:(n=i.charCodeAt(a))<55296||n>56319||a+1===u||(o=i.charCodeAt(a+1))<56320||o>57343?t?i.charAt(a):n:t?i.slice(a,a+2):o-56320+(n-55296<<10)+65536}},Ie={codeAt:Pe(!1),charAt:Pe(!0)},Te=!o(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),ke=V("IE_PROTO"),Le=Object.prototype,Ue=Te?Object.getPrototypeOf:function(t){return t=Ut(t),w(t,ke)?t[ke]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Le:null},Me=qt("iterator"),_e=!1;[].keys&&("next"in(je=[].keys())?(Re=Ue(Ue(je)))!==Object.prototype&&(Oe=Re):_e=!0),null==Oe&&(Oe={}),w(Oe,Me)||T(Oe,Me,function(){return this});var Ne={IteratorPrototype:Oe,BUGGY_SAFARI_ITERATORS:_e},Ce=I.f,Fe=qt("toStringTag"),Be=function(t,e,r){t&&!w(t=r?t:t.prototype,Fe)&&Ce(t,Fe,{configurable:!0,value:e})},De={},qe=Ne.IteratorPrototype,ze=function(){return this},We=function(t,e,r){var n=e+" Iterator";return t.prototype=Jt(qe,{next:f(1,r)}),Be(t,n,!1),De[n]=ze,t},Ke=function(t){if(!y(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t},Ge=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return j(r),Ke(n),e?t.call(r,n):r.__proto__=n,r}}():void 0),$e=Ne.IteratorPrototype,Ve=Ne.BUGGY_SAFARI_ITERATORS,He=qt("iterator"),Xe="keys",Ye="values",Je="entries",Qe=function(){return this},Ze=function(t,e,r,n,o,i,a){We(r,e,n);var u,s,c,f=function(t){if(t===o&&v)return v;if(!Ve&&t in p)return p[t];switch(t){case Xe:case Ye:case Je:return function(){return new r(this,t)}}return function(){return new r(this)}},l=e+" Iterator",h=!1,p=t.prototype,d=p[He]||p["@@iterator"]||o&&p[o],v=!Ve&&d||f(o),g="Array"==e&&p.entries||d;if(g&&(u=Ue(g.call(new t)),$e!==Object.prototype&&u.next&&(Ue(u)!==$e&&(Ge?Ge(u,$e):"function"!=typeof u[He]&&T(u,He,Qe)),Be(u,l,!0))),o==Ye&&d&&d.name!==Ye&&(h=!0,v=function(){return d.call(this)}),p[He]!==v&&T(p,He,v),De[e]=v,o)if(s={values:f(Ye),keys:i?v:f(Xe),entries:f(Je)},a)for(c in s)(Ve||h||!(c in p))&&rt(p,c,s[c]);else Lt({target:e,proto:!0,forced:Ve||h},s);return s},tr=Ie.charAt,er="String Iterator",rr=et.set,nr=et.getterFor(er);Ze(String,"String",function(t){rr(this,{type:er,string:String(t),index:0})},function(){var t,e=nr(this),r=e.string,n=e.index;return n>=r.length?{value:void 0,done:!0}:(t=tr(r,n),e.index+=t.length,{value:t,done:!1})});var or=function(t,e,r,n){try{return n?e(j(r)[0],r[1]):e(r)}catch(e){var o=t.return;throw void 0!==o&&j(o.call(t)),e}},ir=qt("iterator"),ar=Array.prototype,ur=function(t){return void 0!==t&&(De.Array===t||ar[ir]===t)},sr=function(t,e,r){var n=m(e);n in t?I.f(t,n,f(0,r)):t[n]=r},cr={};cr[qt("toStringTag")]="z";var fr="[object z]"===String(cr),lr=qt("toStringTag"),hr="Arguments"==h(function(){return arguments}()),pr=fr?h:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),lr))?r:hr?h(e):"Object"==(n=h(e))&&"function"==typeof e.callee?"Arguments":n},dr=qt("iterator"),vr=function(t){if(null!=t)return t[dr]||t["@@iterator"]||De[pr(t)]},gr=function(t){var e,r,n,o,i,a,u=Ut(t),s="function"==typeof this?this:Array,c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=vr(u),p=0;if(l&&(f=re(f,c>2?arguments[2]:void 0,2)),null==h||s==Array&&ur(h))for(r=new s(e=ft(u.length));e>p;p++)a=l?f(u[p],p):u[p],sr(r,p,a);else for(i=(o=h.call(u)).next,r=new s;!(n=i.call(o)).done;p++)a=l?or(o,f,[n.value,p],!0):n.value,sr(r,p,a);return r.length=p,r},yr=qt("iterator"),mr=!1;try{var br=0,wr={next:function(){return{done:!!br++}},return:function(){mr=!0}};wr[yr]=function(){return this},Array.from(wr,function(){throw 2})}catch(t){}var Sr=function(t,e){if(!e&&!mr)return!1;var r=!1;try{var n={};n[yr]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r},Er=!Sr(function(t){Array.from(t)});Lt({target:"Array",stat:!0,forced:Er},{from:gr});var xr=vt.includes,Ar=de("indexOf",{ACCESSORS:!0,1:0});Lt({target:"Array",proto:!0,forced:!Ar},{includes:function(t){return xr(this,t,arguments.length>1?arguments[1]:void 0)}}),te("includes"),oe("Array","includes");var Or="Array Iterator",Rr=et.set,jr=et.getterFor(Or),Pr=Ze(Array,"Array",function(t,e){Rr(this,{type:Or,target:g(t),index:0,kind:e})},function(){var t=jr(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");De.Arguments=De.Array,te("keys"),te("values"),te("entries"),oe("Array","values");var Ir=o(function(){function t(){}return!(Array.of.call(t)instanceof t)});Lt({target:"Array",stat:!0,forced:Ir},{of:function(){for(var t=0,e=arguments.length,r=new("function"==typeof this?this:Array)(e);e>t;)sr(r,t,arguments[t++]);return r.length=e,r}});var Tr=qt("hasInstance"),kr=Function.prototype;Tr in kr||I.f(kr,Tr,{value:function(t){if("function"!=typeof this||!y(t))return!1;if(!y(this.prototype))return t instanceof this;for(;t=Ue(t);)if(this.prototype===t)return!0;return!1}}),qt("hasInstance");var Lr=Function.prototype,Ur=Lr.toString,Mr=/^\s*function ([^ (]*)/,_r="name";i&&!(_r in Lr)&&(0,I.f)(Lr,_r,{configurable:!0,get:function(){try{return Ur.call(this).match(Mr)[1]}catch(t){return""}}});var Nr=!o(function(){return Object.isExtensible(Object.preventExtensions({}))}),Cr=e(function(t){var e=I.f,r=G("meta"),n=0,o=Object.isExtensible||function(){return!0},i=function(t){e(t,r,{value:{objectID:"O"+ ++n,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!y(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!w(t,r)){if(!o(t))return"F";if(!e)return"E";i(t)}return t[r].objectID},getWeakData:function(t,e){if(!w(t,r)){if(!o(t))return!0;if(!e)return!1;i(t)}return t[r].weakData},onFreeze:function(t){return Nr&&a.REQUIRED&&o(t)&&!w(t,r)&&i(t),t}};H[r]=!0}),Fr=e(function(t){var e=function(t,e){this.stopped=t,this.result=e},r=t.exports=function(t,r,n,o,i){var a,u,s,c,f,l,h,p=re(r,n,o?2:1);if(i)a=t;else{if("function"!=typeof(u=vr(t)))throw TypeError("Target is not iterable");if(ur(u)){for(s=0,c=ft(t.length);c>s;s++)if((f=o?p(j(h=t[s])[0],h[1]):p(t[s]))&&f instanceof e)return f;return new e(!1)}a=u.call(t)}for(l=a.next;!(h=l.call(a)).done;)if("object"==typeof(f=or(a,p,h.value,o))&&f&&f instanceof e)return f;return new e(!1)};r.stop=function(t){return new e(!0,t)}}),Br=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t},Dr=function(t,e,r){var n,o;return Ge&&"function"==typeof(n=e.constructor)&&n!==r&&y(o=n.prototype)&&o!==r.prototype&&Ge(t,o),t},qr=function(t,e,r){var i=-1!==t.indexOf("Map"),a=-1!==t.indexOf("Weak"),u=i?"set":"add",s=n[t],c=s&&s.prototype,f=s,l={},h=function(t){var e=c[t];rt(c,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return a&&!y(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(a&&!y(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(Tt(t,"function"!=typeof s||!(a||c.forEach&&!o(function(){(new s).entries().next()}))))f=r.getConstructor(e,t,i,u),Cr.REQUIRED=!0;else if(Tt(t,!0)){var p=new f,d=p[u](a?{}:-0,1)!=p,v=o(function(){p.has(1)}),g=Sr(function(t){new s(t)}),m=!a&&o(function(){for(var t=new s,e=5;e--;)t[u](e,e);return!t.has(-0)});g||((f=e(function(e,r){Br(e,f,t);var n=Dr(new s,e,f);return null!=r&&Fr(r,n[u],n,i),n})).prototype=c,c.constructor=f),(v||m)&&(h("delete"),h("has"),i&&h("get")),(m||d)&&h(u),a&&c.clear&&delete c.clear}return l[t]=f,Lt({global:!0,forced:f!=s},l),Be(f,t),a||r.setStrong(f,t,i),f},zr=function(t,e,r){for(var n in e)rt(t,n,e[n],r);return t},Wr=qt("species"),Kr=function(t){var e=it(t);i&&e&&!e[Wr]&&(0,I.f)(e,Wr,{configurable:!0,get:function(){return this}})},Gr=I.f,$r=Cr.fastKey,Vr=et.set,Hr=et.getterFor,Xr={getConstructor:function(t,e,r,n){var o=t(function(t,a){Br(t,o,e),Vr(t,{type:e,index:Jt(null),first:void 0,last:void 0,size:0}),i||(t.size=0),null!=a&&Fr(a,t[n],t,r)}),a=Hr(e),u=function(t,e,r){var n,o,u=a(t),c=s(t,e);return c?c.value=r:(u.last=c={index:o=$r(e,!0),key:e,value:r,previous:n=u.last,next:void 0,removed:!1},u.first||(u.first=c),n&&(n.next=c),i?u.size++:t.size++,"F"!==o&&(u.index[o]=c)),t},s=function(t,e){var r,n=a(t),o=$r(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==e)return r};return zr(o.prototype,{clear:function(){for(var t=a(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,i?t.size=0:this.size=0},delete:function(t){var e=this,r=a(e),n=s(e,t);if(n){var o=n.next,u=n.previous;delete r.index[n.index],n.removed=!0,u&&(u.next=o),o&&(o.previous=u),r.first==n&&(r.first=o),r.last==n&&(r.last=u),i?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=a(this),n=re(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),zr(o.prototype,r?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return u(this,0===t?0:t,e)}}:{add:function(t){return u(this,t=0===t?0:t,t)}}),i&&Gr(o.prototype,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,r){var n=e+" Iterator",o=Hr(e),i=Hr(n);Ze(t,e,function(t,e){Vr(this,{type:n,target:t,state:o(t),kind:e,last:void 0})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})},r?"entries":"values",!r,!0),Kr(e)}},Yr=qr("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Xr);fr||rt(Object.prototype,"toString",fr?{}.toString:function(){return"[object "+pr(this)+"]"},{unsafe:!0});var Jr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Qr=qt("iterator"),Zr=qt("toStringTag"),tn=Pr.values;for(var en in Jr){var rn=n[en],nn=rn&&rn.prototype;if(nn){if(nn[Qr]!==tn)try{T(nn,Qr,tn)}catch(t){nn[Qr]=tn}if(nn[Zr]||T(nn,Zr,en),Jr[en])for(var on in Pr)if(nn[on]!==Pr[on])try{T(nn,on,Pr[on])}catch(t){nn[on]=Pr[on]}}}var an=function(t){var e,r,n,o,i=arguments.length,a=i>1?arguments[1]:void 0;return ee(this),(e=void 0!==a)&&ee(a),null==t?new this:(r=[],e?(n=0,o=re(a,i>2?arguments[2]:void 0,2),Fr(t,function(t){r.push(o(t,n++))})):Fr(t,r.push,r),new this(r))};Lt({target:"Map",stat:!0},{from:an});var un=function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)};Lt({target:"Map",stat:!0},{of:un});var sn=function(){for(var t,e=j(this),r=ee(e.delete),n=!0,o=0,i=arguments.length;o1?arguments[1]:void 0,3);return!Fr(r,function(t,r){if(!n(r,t,e))return Fr.stop()},void 0,!0,!0).stopped}});var ln=qt("species"),hn=function(t,e){var r,n=j(t).constructor;return void 0===n||null==(r=j(n)[ln])?e:ee(r)};Lt({target:"Map",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Map"))),i=ee(o.set);return Fr(r,function(t,r){n(r,t,e)&&i.call(o,t,r)},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t,r){if(n(r,t,e))return Fr.stop(r)},void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{findKey:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t,r){if(n(r,t,e))return Fr.stop(t)},void 0,!0,!0).result}}),Lt({target:"Map",stat:!0},{groupBy:function(t,e){var r=new this;ee(e);var n=ee(r.has),o=ee(r.get),i=ee(r.set);return Fr(t,function(t){var a=e(t);n.call(r,a)?o.call(r,a).push(t):i.call(r,a,[t])}),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{includes:function(t){return Fr(fn(j(this)),function(e,r){if((n=r)===(o=t)||n!=n&&o!=o)return Fr.stop();var n,o},void 0,!0,!0).stopped}}),Lt({target:"Map",stat:!0},{keyBy:function(t,e){var r=new this;ee(e);var n=ee(r.set);return Fr(t,function(t){n.call(r,e(t),t)}),r}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{keyOf:function(t){return Fr(fn(j(this)),function(e,r){if(r===t)return Fr.stop(e)},void 0,!0,!0).result}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapKeys:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Map"))),i=ee(o.set);return Fr(r,function(t,r){i.call(o,n(r,t,e),r)},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{mapValues:function(t){var e=j(this),r=fn(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Map"))),i=ee(o.set);return Fr(r,function(t,r){i.call(o,t,n(r,t,e))},void 0,!0,!0),o}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{merge:function(t){for(var e=j(this),r=ee(e.set),n=0;n1?arguments[1]:void 0,3);return Fr(r,function(t,r){if(n(r,t,e))return Fr.stop()},void 0,!0,!0).stopped}}),Lt({target:"Map",proto:!0,real:!0,forced:q},{update:function(t,e){var r=j(this),n=arguments.length;ee(e);var o=r.has(t);if(!o&&n<3)throw TypeError("Updating absent value");var i=o?r.get(t):ee(n>2?arguments[2]:void 0)(t,r);return r.set(t,e(i,t,r)),r}});var pn=function(t,e){var r,n=j(this),o=arguments.length>2?arguments[2]:void 0;if("function"!=typeof e&&"function"!=typeof o)throw TypeError("At least one callback required");return n.has(t)?(r=n.get(t),"function"==typeof e&&(r=e(r),n.set(t,r))):"function"==typeof o&&(r=o(),n.set(t,r)),r};Lt({target:"Map",proto:!0,real:!0,forced:q},{upsert:pn}),Lt({target:"Map",proto:!0,real:!0,forced:q},{updateOrInsert:pn});var dn="\t\n\v\f\r \u2028\u2029\ufeff",vn="["+dn+"]",gn=RegExp("^"+vn+vn+"*"),yn=RegExp(vn+vn+"*$"),mn=function(t){return function(e){var r=String(v(e));return 1&t&&(r=r.replace(gn,"")),2&t&&(r=r.replace(yn,"")),r}},bn={start:mn(1),end:mn(2),trim:mn(3)},wn=wt.f,Sn=R.f,En=I.f,xn=bn.trim,An="Number",On=n[An],Rn=On.prototype,jn=h(Jt(Rn))==An,Pn=function(t){var e,r,n,o,i,a,u,s,c=m(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=xn(c)).charCodeAt(0))||45===e){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;uo)return NaN;return parseInt(i,n)}return+c};if(Tt(An,!On(" 0o1")||!On("0b1")||On("+0x1"))){for(var In,Tn=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof Tn&&(jn?o(function(){Rn.valueOf.call(r)}):h(r)!=An)?Dr(new On(Pn(e)),r,Tn):Pn(e)},kn=i?wn(On):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Ln=0;kn.length>Ln;Ln++)w(On,In=kn[Ln])&&!w(Tn,In)&&En(Tn,In,Sn(On,In));Tn.prototype=Rn,Rn.constructor=Tn,rt(n,An,Tn)}Lt({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)});var Un=n.isFinite;Lt({target:"Number",stat:!0},{isFinite:Number.isFinite||function(t){return"number"==typeof t&&Un(t)}});var Mn=Math.floor,_n=function(t){return!y(t)&&isFinite(t)&&Mn(t)===t};Lt({target:"Number",stat:!0},{isInteger:_n}),Lt({target:"Number",stat:!0},{isNaN:function(t){return t!=t}});var Nn=Math.abs;Lt({target:"Number",stat:!0},{isSafeInteger:function(t){return _n(t)&&Nn(t)<=9007199254740991}}),Lt({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991}),Lt({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991});var Cn=bn.trim,Fn=n.parseFloat,Bn=1/Fn(dn+"-0")!=-Infinity?function(t){var e=Cn(String(t)),r=Fn(e);return 0===r&&"-"==e.charAt(0)?-0:r}:Fn;Lt({target:"Number",stat:!0,forced:Number.parseFloat!=Bn},{parseFloat:Bn});var Dn=bn.trim,qn=n.parseInt,zn=/^[+-]?0[Xx]/,Wn=8!==qn(dn+"08")||22!==qn(dn+"0x16")?function(t,e){var r=Dn(String(t));return qn(r,e>>>0||(zn.test(r)?16:10))}:qn;Lt({target:"Number",stat:!0,forced:Number.parseInt!=Wn},{parseInt:Wn});var Kn=c.f,Gn=function(t){return function(e){for(var r,n=g(e),o=zt(n),a=o.length,u=0,s=[];a>u;)r=o[u++],i&&!Kn.call(n,r)||s.push(t?[r,n[r]]:n[r]);return s}},$n={entries:Gn(!0),values:Gn(!1)},Vn=$n.entries;Lt({target:"Object",stat:!0},{entries:function(t){return Vn(t)}}),Lt({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=g(t),o=R.f,i=Et(n),a={},u=0;i.length>u;)void 0!==(r=o(n,e=i[u++]))&&sr(a,e,r);return a}});var Hn=o(function(){zt(1)});Lt({target:"Object",stat:!0,forced:Hn},{keys:function(t){return zt(Ut(t))}});var Xn=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};Lt({target:"Object",stat:!0},{is:Xn});var Yn=$n.values;Lt({target:"Object",stat:!0},{values:function(t){return Yn(t)}});var Jn=it("Reflect","apply"),Qn=Function.apply,Zn=!o(function(){Jn(function(){})});Lt({target:"Reflect",stat:!0,forced:Zn},{apply:function(t,e,r){return ee(t),j(r),Jn?Jn(t,e,r):Qn.call(t,e,r)}});var to=[].slice,eo={},ro=Function.bind||function(t){var e=ee(this),r=to.call(arguments,1),n=function(){var o=r.concat(to.call(arguments));return this instanceof n?function(t,e,r){if(!(e in eo)){for(var n=[],o=0;o-1)&&(e=e.replace(/y/g,""));var a=Dr(hi?new si(t,e):si(t,e),n?this:ci,di);return pi&&r&&ai(a,{sticky:r}),a},vi=function(t){t in di||oi(di,t,{configurable:!0,get:function(){return si[t]},set:function(e){si[t]=e}})},gi=ii(si),yi=0;gi.length>yi;)vi(gi[yi++]);ci.constructor=di,di.prototype=ci,rt(n,"RegExp",di)}Kr("RegExp");var mi="toString",bi=RegExp.prototype,wi=bi[mi];(o(function(){return"/a/b"!=wi.call({source:"a",flags:"b"})})||wi.name!=mi)&&rt(RegExp.prototype,mi,function(){var t=j(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in bi)?Zo.call(t):r)},{unsafe:!0});var Si=RegExp.prototype.exec,Ei=String.prototype.replace,xi=Si,Ai=function(){var t=/a/,e=/b*/g;return Si.call(t,"a"),Si.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),Oi=ni.UNSUPPORTED_Y||ni.BROKEN_CARET,Ri=void 0!==/()??/.exec("")[1];(Ai||Ri||Oi)&&(xi=function(t){var e,r,n,o,i=this,a=Oi&&i.sticky,u=Zo.call(i),s=i.source,c=0,f=t;return a&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),f=String(t).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==t[i.lastIndex-1])&&(s="(?: "+s+")",f=" "+f,c++),r=new RegExp("^(?:"+s+")",u)),Ri&&(r=new RegExp("^"+s+"$(?!\\s)",u)),Ai&&(e=i.lastIndex),n=Si.call(a?r:i,f),a?n?(n.input=n.input.slice(c),n[0]=n[0].slice(c),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:Ai&&n&&(i.lastIndex=i.global?n.index+n[0].length:e),Ri&&n&&n.length>1&&Ei.call(n[0],r,function(){for(o=1;o")}),Ni="$0"==="a".replace(/./,"$0"),Ci=qt("replace"),Fi=!!/./[Ci]&&""===/./[Ci]("a","$0"),Bi=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Di=function(t,e,r,n){var i=qt(t),a=!o(function(){var e={};return e[i]=function(){return 7},7!=""[t](e)}),u=a&&!o(function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[Mi]=function(){return r},r.flags="",r[i]=/./[i]),r.exec=function(){return e=!0,null},r[i](""),!e});if(!a||!u||"replace"===t&&(!_i||!Ni||Fi)||"split"===t&&!Bi){var s=/./[i],c=r(i,""[t],function(t,e,r,n,o){return e.exec===ji?a&&!o?{done:!0,value:s.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}},{REPLACE_KEEPS_$0:Ni,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Fi}),f=c[1];rt(String.prototype,t,c[0]),rt(RegExp.prototype,i,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}n&&T(RegExp.prototype[i],"sham",!0)},qi=Ie.charAt,zi=function(t,e,r){return e+(r?qi(t,e).length:1)},Wi=function(t,e){var r=t.exec;if("function"==typeof r){var n=r.call(t,e);if("object"!=typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==h(t))throw TypeError("RegExp#exec called on incompatible receiver");return ji.call(t,e)};Di("match",1,function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this);if(!o.global)return Wi(o,i);var a=o.unicode;o.lastIndex=0;for(var u,s=[],c=0;null!==(u=Wi(o,i));){var f=String(u[0]);s[c]=f,""===f&&(o.lastIndex=zi(i,ft(o.lastIndex),a)),c++}return 0===c?null:s}]});var Ki=Math.max,Gi=Math.min,$i=Math.floor,Vi=/\$([$&'`]|\d\d?|<[^>]*>)/g,Hi=/\$([$&'`]|\d\d?)/g;Di("replace",2,function(t,e,r,n){var o=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=n.REPLACE_KEEPS_$0,a=o?"$":"$0";return[function(r,n){var o=v(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!o&&i||"string"==typeof n&&-1===n.indexOf(a)){var s=r(e,t,this,n);if(s.done)return s.value}var c=j(t),f=String(this),l="function"==typeof n;l||(n=String(n));var h=c.global;if(h){var p=c.unicode;c.lastIndex=0}for(var d=[];;){var v=Wi(c,f);if(null===v)break;if(d.push(v),!h)break;""===String(v[0])&&(c.lastIndex=zi(f,ft(c.lastIndex),p))}for(var g,y="",m=0,b=0;b=m&&(y+=f.slice(m,S)+R,m=S+w.length)}return y+f.slice(m)}];function u(t,r,n,o,i,a){var u=n+t.length,s=o.length,c=Hi;return void 0!==i&&(i=Ut(i),c=Vi),e.call(a,c,function(e,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=i[a.slice(1,-1)];break;default:var f=+a;if(0===f)return e;if(f>s){var l=$i(f/10);return 0===l?e:l<=s?void 0===o[l-1]?a.charAt(1):o[l-1]+a.charAt(1):e}c=o[f-1]}return void 0===c?"":c})}}),Di("search",1,function(t,e,r){return[function(e){var r=v(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=j(t),i=String(this),a=o.lastIndex;Xn(a,0)||(o.lastIndex=0);var u=Wi(o,i);return Xn(o.lastIndex,a)||(o.lastIndex=a),null===u?-1:u.index}]});var Xi=[].push,Yi=Math.min,Ji=4294967295,Qi=!o(function(){return!RegExp(Ji,"y")});Di("split",2,function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(v(this)),o=void 0===r?Ji:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!Qo(t))return e.call(n,t,o);for(var i,a,u,s=[],c=0,f=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(i=ji.call(f,n))&&!((a=f.lastIndex)>c&&(s.push(n.slice(c,i.index)),i.length>1&&i.index=o));)f.lastIndex===i.index&&f.lastIndex++;return c===n.length?!u&&f.test("")||s.push(""):s.push(n.slice(c)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=v(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,r):n.call(String(o),e,r)},function(t,o){var i=r(n,t,this,o,n!==e);if(i.done)return i.value;var a=j(t),u=String(this),s=hn(a,RegExp),c=a.unicode,f=new s(Qi?a:"^(?:"+a.source+")",(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Qi?"y":"g")),l=void 0===o?Ji:o>>>0;if(0===l)return[];if(0===u.length)return null===Wi(f,u)?[u]:[];for(var h=0,p=0,d=[];p1?arguments[1]:void 0,3);return!Fr(r,function(t){if(!n(t,t,e))return Fr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{difference:function(t){var e=j(this),r=new(hn(e,it("Set")))(e),n=ee(r.delete);return Fr(t,function(t){n.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{filter:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Set"))),i=ee(o.add);return Fr(r,function(t){n(t,t,e)&&i.call(o,t)},void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{find:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t){if(n(t,t,e))return Fr.stop(t)},void 0,!1,!0).result}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{intersection:function(t){var e=j(this),r=new(hn(e,it("Set"))),n=ee(e.has),o=ee(r.add);return Fr(t,function(t){n.call(e,t)&&o.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isDisjointFrom:function(t){var e=j(this),r=ee(e.has);return!Fr(t,function(t){if(!0===r.call(e,t))return Fr.stop()}).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSubsetOf:function(t){var e=cn(this),r=j(t),n=r.has;return"function"!=typeof n&&(r=new(it("Set"))(t),n=ee(r.has)),!Fr(e,function(t){if(!1===n.call(r,t))return Fr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{isSupersetOf:function(t){var e=j(this),r=ee(e.has);return!Fr(t,function(t){if(!1===r.call(e,t))return Fr.stop()}).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{join:function(t){var e=j(this),r=ta(e),n=void 0===t?",":String(t),o=[];return Fr(r,o.push,o,!1,!0),o.join(n)}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{map:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3),o=new(hn(e,it("Set"))),i=ee(o.add);return Fr(r,function(t){i.call(o,n(t,t,e))},void 0,!1,!0),o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{reduce:function(t){var e=j(this),r=ta(e),n=arguments.length<2,o=n?void 0:arguments[1];if(ee(t),Fr(r,function(r){n?(n=!1,o=r):o=t(o,r,r,e)},void 0,!1,!0),n)throw TypeError("Reduce of empty set with no initial value");return o}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{some:function(t){var e=j(this),r=ta(e),n=re(t,arguments.length>1?arguments[1]:void 0,3);return Fr(r,function(t){if(n(t,t,e))return Fr.stop()},void 0,!1,!0).stopped}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{symmetricDifference:function(t){var e=j(this),r=new(hn(e,it("Set")))(e),n=ee(r.delete),o=ee(r.add);return Fr(t,function(t){n.call(r,t)||o.call(r,t)}),r}}),Lt({target:"Set",proto:!0,real:!0,forced:q},{union:function(t){var e=j(this),r=new(hn(e,it("Set")))(e);return Fr(t,ee(r.add),r),r}});var ea,ra,na=it("navigator","userAgent")||"",oa=n.process,ia=oa&&oa.versions,aa=ia&&ia.v8;aa?ra=(ea=aa.split("."))[0]+ea[1]:na&&(!(ea=na.match(/Edge\/(\d+)/))||ea[1]>=74)&&(ea=na.match(/Chrome\/(\d+)/))&&(ra=ea[1]);var ua=ra&&+ra,sa=qt("species"),ca=qt("isConcatSpreadable"),fa=9007199254740991,la="Maximum allowed index exceeded",ha=ua>=51||!o(function(){var t=[];return t[ca]=!1,t.concat()[0]!==t}),pa=ua>=51||!o(function(){var t=[];return(t.constructor={})[sa]=function(){return{foo:1}},1!==t.concat(Boolean).foo}),da=function(t){if(!y(t))return!1;var e=t[ca];return void 0!==e?!!e:ie(t)};Lt({target:"Array",proto:!0,forced:!ha||!pa},{concat:function(t){var e,r,n,o,i,a=Ut(this),u=ue(a,0),s=0;for(e=-1,n=arguments.length;efa)throw TypeError(la);for(r=0;r=fa)throw TypeError(la);sr(u,s++,i)}return u.length=s,u}});var va=wt.f,ga={}.toString,ya="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ma={f:function(t){return ya&&"[object Window]"==ga.call(t)?function(t){try{return va(t)}catch(t){return ya.slice()}}(t):va(g(t))}},ba={f:qt},wa=I.f,Sa=function(t){var e=nt.Symbol||(nt.Symbol={});w(e,t)||wa(e,t,{value:ba.f(t)})},Ea=fe.forEach,xa=V("hidden"),Aa="Symbol",Oa="prototype",Ra=qt("toPrimitive"),ja=et.set,Pa=et.getterFor(Aa),Ia=Object[Oa],Ta=n.Symbol,ka=it("JSON","stringify"),La=R.f,Ua=I.f,Ma=ma.f,_a=c.f,Na=z("symbols"),Ca=z("op-symbols"),Fa=z("string-to-symbol-registry"),Ba=z("symbol-to-string-registry"),Da=z("wks"),qa=n.QObject,za=!qa||!qa[Oa]||!qa[Oa].findChild,Wa=i&&o(function(){return 7!=Jt(Ua({},"a",{get:function(){return Ua(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=La(Ia,e);n&&delete Ia[e],Ua(t,e,r),n&&t!==Ia&&Ua(Ia,e,n)}:Ua,Ka=function(t,e){var r=Na[t]=Jt(Ta[Oa]);return ja(r,{type:Aa,tag:t,description:e}),i||(r.description=e),r},Ga=Ct?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof Ta},$a=function(t,e,r){t===Ia&&$a(Ca,e,r),j(t);var n=m(e,!0);return j(r),w(Na,n)?(r.enumerable?(w(t,xa)&&t[xa][n]&&(t[xa][n]=!1),r=Jt(r,{enumerable:f(0,!1)})):(w(t,xa)||Ua(t,xa,f(1,{})),t[xa][n]=!0),Wa(t,n,r)):Ua(t,n,r)},Va=function(t,e){j(t);var r=g(e),n=zt(r).concat(Ja(r));return Ea(n,function(e){i&&!Ha.call(r,e)||$a(t,e,r[e])}),t},Ha=function(t){var e=m(t,!0),r=_a.call(this,e);return!(this===Ia&&w(Na,e)&&!w(Ca,e))&&(!(r||!w(this,e)||!w(Na,e)||w(this,xa)&&this[xa][e])||r)},Xa=function(t,e){var r=g(t),n=m(e,!0);if(r!==Ia||!w(Na,n)||w(Ca,n)){var o=La(r,n);return!o||!w(Na,n)||w(r,xa)&&r[xa][n]||(o.enumerable=!0),o}},Ya=function(t){var e=Ma(g(t)),r=[];return Ea(e,function(t){w(Na,t)||w(H,t)||r.push(t)}),r},Ja=function(t){var e=t===Ia,r=Ma(e?Ca:g(t)),n=[];return Ea(r,function(t){!w(Na,t)||e&&!w(Ia,t)||n.push(Na[t])}),n};if(Nt||(Ta=function(){if(this instanceof Ta)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=G(t),r=function(t){this===Ia&&r.call(Ca,t),w(this,xa)&&w(this[xa],e)&&(this[xa][e]=!1),Wa(this,e,f(1,t))};return i&&za&&Wa(Ia,e,{configurable:!0,set:r}),Ka(e,t)},rt(Ta[Oa],"toString",function(){return Pa(this).tag}),rt(Ta,"withoutSetter",function(t){return Ka(G(t),t)}),c.f=Ha,I.f=$a,R.f=Xa,wt.f=ma.f=Ya,St.f=Ja,ba.f=function(t){return Ka(qt(t),t)},i&&(Ua(Ta[Oa],"description",{configurable:!0,get:function(){return Pa(this).description}}),rt(Ia,"propertyIsEnumerable",Ha,{unsafe:!0}))),Lt({global:!0,wrap:!0,forced:!Nt,sham:!Nt},{Symbol:Ta}),Ea(zt(Da),function(t){Sa(t)}),Lt({target:Aa,stat:!0,forced:!Nt},{for:function(t){var e=String(t);if(w(Fa,e))return Fa[e];var r=Ta(e);return Fa[e]=r,Ba[r]=e,r},keyFor:function(t){if(!Ga(t))throw TypeError(t+" is not a symbol");if(w(Ba,t))return Ba[t]},useSetter:function(){za=!0},useSimple:function(){za=!1}}),Lt({target:"Object",stat:!0,forced:!Nt,sham:!i},{create:function(t,e){return void 0===e?Jt(t):Va(Jt(t),e)},defineProperty:$a,defineProperties:Va,getOwnPropertyDescriptor:Xa}),Lt({target:"Object",stat:!0,forced:!Nt},{getOwnPropertyNames:Ya,getOwnPropertySymbols:Ja}),Lt({target:"Object",stat:!0,forced:o(function(){St.f(1)})},{getOwnPropertySymbols:function(t){return St.f(Ut(t))}}),ka){var Qa=!Nt||o(function(){var t=Ta();return"[null]"!=ka([t])||"{}"!=ka({a:t})||"{}"!=ka(Object(t))});Lt({target:"JSON",stat:!0,forced:Qa},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(y(e)||void 0!==t)&&!Ga(t))return ie(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Ga(e))return e}),o[1]=e,ka.apply(null,o)}})}Ta[Oa][Ra]||T(Ta[Oa],Ra,Ta[Oa].valueOf),Be(Ta,Aa),H[xa]=!0,Sa("asyncIterator");var Za=I.f,tu=n.Symbol;if(i&&"function"==typeof tu&&(!("description"in tu.prototype)||void 0!==tu().description)){var eu={},ru=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof ru?new tu(t):void 0===t?tu():tu(t);return""===t&&(eu[e]=!0),e};xt(ru,tu);var nu=ru.prototype=tu.prototype;nu.constructor=ru;var ou=nu.toString,iu="Symbol(test)"==String(tu("test")),au=/^Symbol\((.*)\)[^)]+$/;Za(nu,"description",{configurable:!0,get:function(){var t=y(this)?this.valueOf():this,e=ou.call(t);if(w(eu,t))return"";var r=iu?e.slice(7,-1):e.replace(au,"$1");return""===r?void 0:r}}),Lt({global:!0,forced:!0},{Symbol:ru})}Sa("hasInstance"),Sa("isConcatSpreadable"),Sa("iterator"),Sa("match"),Sa("matchAll"),Sa("replace"),Sa("search"),Sa("species"),Sa("split"),Sa("toPrimitive"),Sa("toStringTag"),Sa("unscopables"),Be(Math,"Math",!0),Be(n.JSON,"JSON",!0),Sa("asyncDispose"),Sa("dispose"),Sa("observable"),Sa("patternMatch"),Sa("replaceAll"),ba.f("asyncIterator");var uu=Ie.codeAt;Lt({target:"String",proto:!0},{codePointAt:function(t){return uu(this,t)}}),oe("String","codePointAt");var su,cu=function(t){if(Qo(t))throw TypeError("The method doesn't accept regular expressions");return t},fu=qt("match"),lu=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[fu]=!1,"/./"[t](e)}catch(t){}}return!1},hu=R.f,pu="".endsWith,du=Math.min,vu=lu("endsWith"),gu=!(vu||(su=hu(String.prototype,"endsWith"),!su||su.writable));Lt({target:"String",proto:!0,forced:!gu&&!vu},{endsWith:function(t){var e=String(v(this));cu(t);var r=arguments.length>1?arguments[1]:void 0,n=ft(e.length),o=void 0===r?n:du(ft(r),n),i=String(t);return pu?pu.call(e,i,o):e.slice(o-i.length,o)===i}}),oe("String","endsWith");var yu=String.fromCharCode,mu=String.fromCodePoint;Lt({target:"String",stat:!0,forced:!!mu&&1!=mu.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,o=0;n>o;){if(e=+arguments[o++],pt(e,1114111)!==e)throw RangeError(e+" is not a valid code point");r.push(e<65536?yu(e):yu(55296+((e-=65536)>>10),e%1024+56320))}return r.join("")}}),Lt({target:"String",proto:!0,forced:!lu("includes")},{includes:function(t){return!!~String(v(this)).indexOf(cu(t),arguments.length>1?arguments[1]:void 0)}}),oe("String","includes");var bu="".repeat||function(t){var e=String(v(this)),r="",n=st(t);if(n<0||Infinity==n)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r},wu=Math.ceil,Su=function(t){return function(e,r,n){var o,i,a=String(v(e)),u=a.length,s=void 0===n?" ":String(n),c=ft(r);return c<=u||""==s?a:((i=bu.call(s,wu((o=c-u)/s.length))).length>o&&(i=i.slice(0,o)),t?a+i:i+a)}},Eu={start:Su(!1),end:Su(!0)},xu=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(na),Au=Eu.start;Lt({target:"String",proto:!0,forced:xu},{padStart:function(t){return Au(this,t,arguments.length>1?arguments[1]:void 0)}}),oe("String","padStart");var Ou=Eu.end;Lt({target:"String",proto:!0,forced:xu},{padEnd:function(t){return Ou(this,t,arguments.length>1?arguments[1]:void 0)}}),oe("String","padEnd"),Lt({target:"String",stat:!0},{raw:function(t){for(var e=g(t.raw),r=ft(e.length),n=arguments.length,o=[],i=0;r>i;)o.push(String(e[i++])),i1?arguments[1]:void 0,e.length)),n=String(t);return ju?ju.call(e,n,r):e.slice(r,r+n.length)===n}}),oe("String","startsWith");var ku=function(t){return o(function(){return!!dn[t]()||"
"!="
"[t]()||dn[t].name!==t})},Lu=bn.start,Uu=ku("trimStart"),Mu=Uu?function(){return Lu(this)}:"".trimStart;Lt({target:"String",proto:!0,forced:Uu},{trimStart:Mu,trimLeft:Mu}),oe("String","trimLeft");var _u=bn.end,Nu=ku("trimEnd"),Cu=Nu?function(){return _u(this)}:"".trimEnd;Lt({target:"String",proto:!0,forced:Nu},{trimEnd:Cu,trimRight:Cu}),oe("String","trimRight");var Fu=qt("iterator"),Bu=!o(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach(function(t,n){e.delete("b"),r+=n+t}),!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[Fu]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}),Du=Object.assign,qu=Object.defineProperty,zu=!Du||o(function(){if(i&&1!==Du({b:1},Du(qu({},"a",{enumerable:!0,get:function(){qu(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=Du({},t)[r]||zt(Du({},e)).join("")!=n})?function(t,e){for(var r=Ut(t),n=arguments.length,o=1,a=St.f,u=c.f;n>o;)for(var s,f=d(arguments[o++]),l=a?zt(f).concat(a(f)):zt(f),h=l.length,p=0;h>p;)s=l[p++],i&&!u.call(f,s)||(r[s]=f[s]);return r}:Du,Wu=2147483647,Ku=/[^\0-\u007E]/,Gu=/[.\u3002\uFF0E\uFF61]/g,$u="Overflow: input needs wider integers to process",Vu=Math.floor,Hu=String.fromCharCode,Xu=function(t){return t+22+75*(t<26)},Yu=function(t,e,r){var n=0;for(t=r?Vu(t/700):t>>1,t+=Vu(t/e);t>455;n+=36)t=Vu(t/35);return Vu(n+36*t/(t+38))},Ju=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r=55296&&o<=56319&&r=i&&nVu((Wu-a)/l))throw RangeError($u);for(a+=(f-i)*l,i=f,r=0;rWu)throw RangeError($u);if(n==i){for(var h=a,p=36;;p+=36){var d=p<=u?1:p>=u+26?26:p-u;if(h0?arguments[0]:void 0,f=[];if(ns(this,{type:es,entries:f,updateURL:function(){},updateSearchParams:gs}),void 0!==c)if(y(c))if("function"==typeof(t=vr(c)))for(r=(e=t.call(c)).next;!(n=r.call(e)).done;){if((a=(i=(o=cn(j(n.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");f.push({key:a.value+"",value:u.value+""})}else for(s in c)w(c,s)&&f.push({key:s,value:c[s]+""});else vs(f,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},ws=bs.prototype;zr(ws,{append:function(t,e){ys(arguments.length,2);var r=os(this);r.entries.push({key:t+"",value:e+""}),r.updateURL()},delete:function(t){ys(arguments.length,1);for(var e=os(this),r=e.entries,n=t+"",o=0;ot.key){o.splice(e,0,t);break}e===r&&o.push(t)}n.updateURL()},forEach:function(t){for(var e,r=os(this).entries,n=re(t,arguments.length>1?arguments[1]:void 0,3),o=0;o1&&(y(e=arguments[1])&&pr(r=e.body)===es&&((n=e.headers?new Zu(e.headers):new Zu).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=Jt(e,{body:f(0,String(r)),headers:f(0,n)})),o.push(e)),Qu.apply(this,o)}});var Ss,Es={URLSearchParams:bs,getState:os},xs=Ie.codeAt,As=n.URL,Os=Es.URLSearchParams,Rs=Es.getState,js=et.set,Ps=et.getterFor("URL"),Is=Math.floor,Ts=Math.pow,ks="Invalid scheme",Ls="Invalid host",Us="Invalid port",Ms=/[A-Za-z]/,_s=/[\d+-.A-Za-z]/,Ns=/\d/,Cs=/^(0x|0X)/,Fs=/^[0-7]+$/,Bs=/^\d+$/,Ds=/^[\dA-Fa-f]+$/,qs=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,zs=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,Ws=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,Ks=/[\u0009\u000A\u000D]/g,Gs=function(t,e){var r,n,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return Ls;if(!(r=Vs(e.slice(1,-1))))return Ls;t.host=r}else if(ec(t)){if(e=function(t){var e,r,n=[],o=t.toLowerCase().replace(Gu,".").split(".");for(e=0;e4)return t;for(r=[],n=0;n1&&"0"==o.charAt(0)&&(i=Cs.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?Bs:8==i?Fs:Ds).test(o))return t;a=parseInt(o,i)}r.push(a)}for(n=0;n=Ts(256,5-e))return null}else if(a>255)return null;for(u=r.pop(),n=0;n6)return;for(n=0;h();){if(o=null,n>0){if(!("."==h()&&n<4))return;l++}if(!Ns.test(h()))return;for(;Ns.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;s[c++]=e}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!=c)return;return s},Hs=function(t){var e,r,n,o;if("number"==typeof t){for(e=[],r=0;r<4;r++)e.unshift(t%256),t=Is(t/256);return e.join(".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,o=0,i=0;i<8;i++)0!==t[i]?(o>r&&(e=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(e=n,r=o),e}(t),r=0;r<8;r++)o&&0===t[r]||(o&&(o=!1),n===r?(e+=r?":":"::",o=!0):(e+=t[r].toString(16),r<7&&(e+=":")));return"["+e+"]"}return t},Xs={},Ys=zu({},Xs,{" ":1,'"':1,"<":1,">":1,"`":1}),Js=zu({},Ys,{"#":1,"?":1,"{":1,"}":1}),Qs=zu({},Js,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Zs=function(t,e){var r=xs(t,0);return r>32&&r<127&&!w(e,t)?t:encodeURIComponent(t)},tc={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ec=function(t){return w(tc,t.scheme)},rc=function(t){return""!=t.username||""!=t.password},nc=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},oc=function(t,e){var r;return 2==t.length&&Ms.test(t.charAt(0))&&(":"==(r=t.charAt(1))||!e&&"|"==r)},ic=function(t){var e;return t.length>1&&oc(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},ac=function(t){var e=t.path,r=e.length;!r||"file"==t.scheme&&1==r&&oc(e[0],!0)||e.pop()},uc=function(t){return"."===t||"%2e"===t.toLowerCase()},sc={},cc={},fc={},lc={},hc={},pc={},dc={},vc={},gc={},yc={},mc={},bc={},wc={},Sc={},Ec={},xc={},Ac={},Oc={},Rc={},jc={},Pc={},Ic=function(t,e,r,n){var o,i,a,u,s,c=r||sc,f=0,l="",h=!1,p=!1,d=!1;for(r||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(Ws,"")),e=e.replace(Ks,""),o=gr(e);f<=o.length;){switch(i=o[f],c){case sc:if(!i||!Ms.test(i)){if(r)return ks;c=fc;continue}l+=i.toLowerCase(),c=cc;break;case cc:if(i&&(_s.test(i)||"+"==i||"-"==i||"."==i))l+=i.toLowerCase();else{if(":"!=i){if(r)return ks;l="",c=fc,f=0;continue}if(r&&(ec(t)!=w(tc,l)||"file"==l&&(rc(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=l,r)return void(ec(t)&&tc[t.scheme]==t.port&&(t.port=null));l="","file"==t.scheme?c=Sc:ec(t)&&n&&n.scheme==t.scheme?c=lc:ec(t)?c=vc:"/"==o[f+1]?(c=hc,f++):(t.cannotBeABaseURL=!0,t.path.push(""),c=Rc)}break;case fc:if(!n||n.cannotBeABaseURL&&"#"!=i)return ks;if(n.cannotBeABaseURL&&"#"==i){t.scheme=n.scheme,t.path=n.path.slice(),t.query=n.query,t.fragment="",t.cannotBeABaseURL=!0,c=Pc;break}c="file"==n.scheme?Sc:pc;continue;case lc:if("/"!=i||"/"!=o[f+1]){c=pc;continue}c=gc,f++;break;case hc:if("/"==i){c=yc;break}c=Oc;continue;case pc:if(t.scheme=n.scheme,i==Ss)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query;else if("/"==i||"\\"==i&&ec(t))c=dc;else if("?"==i)t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query="",c=jc;else{if("#"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.path.pop(),c=Oc;continue}t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Pc}break;case dc:if(!ec(t)||"/"!=i&&"\\"!=i){if("/"!=i){t.username=n.username,t.password=n.password,t.host=n.host,t.port=n.port,c=Oc;continue}c=yc}else c=gc;break;case vc:if(c=gc,"/"!=i||"/"!=l.charAt(f+1))continue;f++;break;case gc:if("/"!=i&&"\\"!=i){c=yc;continue}break;case yc:if("@"==i){h&&(l="%40"+l),h=!0,a=gr(l);for(var v=0;v65535)return Us;t.port=ec(t)&&m===tc[t.scheme]?null:m,l=""}if(r)return;c=Ac;continue}return Us}l+=i;break;case Sc:if(t.scheme="file","/"==i||"\\"==i)c=Ec;else{if(!n||"file"!=n.scheme){c=Oc;continue}if(i==Ss)t.host=n.host,t.path=n.path.slice(),t.query=n.query;else if("?"==i)t.host=n.host,t.path=n.path.slice(),t.query="",c=jc;else{if("#"!=i){ic(o.slice(f).join(""))||(t.host=n.host,t.path=n.path.slice(),ac(t)),c=Oc;continue}t.host=n.host,t.path=n.path.slice(),t.query=n.query,t.fragment="",c=Pc}}break;case Ec:if("/"==i||"\\"==i){c=xc;break}n&&"file"==n.scheme&&!ic(o.slice(f).join(""))&&(oc(n.path[0],!0)?t.path.push(n.path[0]):t.host=n.host),c=Oc;continue;case xc:if(i==Ss||"/"==i||"\\"==i||"?"==i||"#"==i){if(!r&&oc(l))c=Oc;else if(""==l){if(t.host="",r)return;c=Ac}else{if(u=Gs(t,l))return u;if("localhost"==t.host&&(t.host=""),r)return;l="",c=Ac}continue}l+=i;break;case Ac:if(ec(t)){if(c=Oc,"/"!=i&&"\\"!=i)continue}else if(r||"?"!=i)if(r||"#"!=i){if(i!=Ss&&(c=Oc,"/"!=i))continue}else t.fragment="",c=Pc;else t.query="",c=jc;break;case Oc:if(i==Ss||"/"==i||"\\"==i&&ec(t)||!r&&("?"==i||"#"==i)){if(".."===(s=(s=l).toLowerCase())||"%2e."===s||".%2e"===s||"%2e%2e"===s?(ac(t),"/"==i||"\\"==i&&ec(t)||t.path.push("")):uc(l)?"/"==i||"\\"==i&&ec(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&oc(l)&&(t.host&&(t.host=""),l=l.charAt(0)+":"),t.path.push(l)),l="","file"==t.scheme&&(i==Ss||"?"==i||"#"==i))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==i?(t.query="",c=jc):"#"==i&&(t.fragment="",c=Pc)}else l+=Zs(i,Js);break;case Rc:"?"==i?(t.query="",c=jc):"#"==i?(t.fragment="",c=Pc):i!=Ss&&(t.path[0]+=Zs(i,Xs));break;case jc:r||"#"!=i?i!=Ss&&("'"==i&&ec(t)?t.query+="%27":t.query+="#"==i?"%23":Zs(i,Xs)):(t.fragment="",c=Pc);break;case Pc:i!=Ss&&(t.fragment+=Zs(i,Ys))}f++}},Tc=function(t){var e,r,n=Br(this,Tc,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),u=js(n,{type:"URL"});if(void 0!==o)if(o instanceof Tc)e=Ps(o);else if(r=Ic(e={},String(o)))throw TypeError(r);if(r=Ic(u,a,null,e))throw TypeError(r);var s=u.searchParams=new Os,c=Rs(s);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(s)||null},i||(n.href=Lc.call(n),n.origin=Uc.call(n),n.protocol=Mc.call(n),n.username=_c.call(n),n.password=Nc.call(n),n.host=Cc.call(n),n.hostname=Fc.call(n),n.port=Bc.call(n),n.pathname=Dc.call(n),n.search=qc.call(n),n.searchParams=zc.call(n),n.hash=Wc.call(n))},kc=Tc.prototype,Lc=function(){var t=Ps(this),e=t.scheme,r=t.username,n=t.password,o=t.host,i=t.port,a=t.path,u=t.query,s=t.fragment,c=e+":";return null!==o?(c+="//",rc(t)&&(c+=r+(n?":"+n:"")+"@"),c+=Hs(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},Uc=function(){var t=Ps(this),e=t.scheme,r=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&ec(t)?e+"://"+Hs(t.host)+(null!==r?":"+r:""):"null"},Mc=function(){return Ps(this).scheme+":"},_c=function(){return Ps(this).username},Nc=function(){return Ps(this).password},Cc=function(){var t=Ps(this),e=t.host,r=t.port;return null===e?"":null===r?Hs(e):Hs(e)+":"+r},Fc=function(){var t=Ps(this).host;return null===t?"":Hs(t)},Bc=function(){var t=Ps(this).port;return null===t?"":String(t)},Dc=function(){var t=Ps(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},qc=function(){var t=Ps(this).query;return t?"?"+t:""},zc=function(){return Ps(this).searchParams},Wc=function(){var t=Ps(this).fragment;return t?"#"+t:""},Kc=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&Wt(kc,{href:Kc(Lc,function(t){var e=Ps(this),r=String(t),n=Ic(e,r);if(n)throw TypeError(n);Rs(e.searchParams).updateSearchParams(e.query)}),origin:Kc(Uc),protocol:Kc(Mc,function(t){var e=Ps(this);Ic(e,String(t)+":",sc)}),username:Kc(_c,function(t){var e=Ps(this),r=gr(String(t));if(!nc(e)){e.username="";for(var n=0;nr;)e.push(arguments[r++]);return af[++of]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},Vc(of),of},tf=function(t){delete af[t]},"process"==h(ef)?Vc=function(t){ef.nextTick(cf(t))}:nf&&nf.now?Vc=function(t){nf.now(cf(t))}:rf&&!Jc?(Xc=(Hc=new rf).port2,Hc.port1.onmessage=ff,Vc=re(Xc.postMessage,Xc,1)):!n.addEventListener||"function"!=typeof postMessage||n.importScripts||o(lf)||"file:"===Qc.protocol?Vc=uf in x("script")?function(t){Kt.appendChild(x("script"))[uf]=function(){Kt.removeChild(this),sf(t)}}:function(t){setTimeout(cf(t),0)}:(Vc=lf,n.addEventListener("message",ff,!1)));var hf,pf,df,vf,gf,yf,mf,bf,wf={set:Zc,clear:tf},Sf=R.f,Ef=wf.set,xf=n.MutationObserver||n.WebKitMutationObserver,Af=n.process,Of=n.Promise,Rf="process"==h(Af),jf=Sf(n,"queueMicrotask"),Pf=jf&&jf.value;Pf||(hf=function(){var t,e;for(Rf&&(t=Af.domain)&&t.exit();pf;){e=pf.fn,pf=pf.next;try{e()}catch(t){throw pf?vf():df=void 0,t}}df=void 0,t&&t.enter()},Rf?vf=function(){Af.nextTick(hf)}:xf&&!Jc?(gf=!0,yf=document.createTextNode(""),new xf(hf).observe(yf,{characterData:!0}),vf=function(){yf.data=gf=!gf}):Of&&Of.resolve?(mf=Of.resolve(void 0),bf=mf.then,vf=function(){bf.call(mf,hf)}):vf=function(){Ef.call(n,hf)});var If,Tf,kf,Lf,Uf=Pf||function(t){var e={fn:t,next:void 0};df&&(df.next=e),pf||(pf=e,vf()),df=e},Mf=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n}),this.resolve=ee(e),this.reject=ee(r)},_f={f:function(t){return new Mf(t)}},Nf=function(t,e){if(j(t),y(e)&&e.constructor===t)return e;var r=_f.f(t);return(0,r.resolve)(e),r.promise},Cf=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},Ff=wf.set,Bf=qt("species"),Df="Promise",qf=et.get,zf=et.set,Wf=et.getterFor(Df),Kf=Yc,Gf=n.TypeError,$f=n.document,Vf=n.process,Hf=it("fetch"),Xf=_f.f,Yf=Xf,Jf="process"==h(Vf),Qf=!!($f&&$f.createEvent&&n.dispatchEvent),Zf="unhandledrejection",tl=Tt(Df,function(){if(F(Kf)===String(Kf)){if(66===ua)return!0;if(!Jf&&"function"!=typeof PromiseRejectionEvent)return!0}if(ua>=51&&/native code/.test(Kf))return!1;var t=Kf.resolve(1),e=function(t){t(function(){},function(){})};return(t.constructor={})[Bf]=e,!(t.then(function(){})instanceof e)}),el=tl||!Sr(function(t){Kf.all(t).catch(function(){})}),rl=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},nl=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;Uf(function(){for(var o=e.value,i=1==e.state,a=0;n.length>a;){var u,s,c,f=n[a++],l=i?f.ok:f.fail,h=f.resolve,p=f.reject,d=f.domain;try{l?(i||(2===e.rejection&&ul(t,e),e.rejection=1),!0===l?u=o:(d&&d.enter(),u=l(o),d&&(d.exit(),c=!0)),u===f.promise?p(Gf("Promise-chain cycle")):(s=rl(u))?s.call(u,h,p):h(u)):p(o)}catch(t){d&&!c&&d.exit(),p(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&il(t,e)})}},ol=function(t,e,r){var o,i;Qf?((o=$f.createEvent("Event")).promise=e,o.reason=r,o.initEvent(t,!1,!0),n.dispatchEvent(o)):o={promise:e,reason:r},(i=n["on"+t])?i(o):t===Zf&&function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}("Unhandled promise rejection",r)},il=function(t,e){Ff.call(n,function(){var r,n=e.value;if(al(e)&&(r=Cf(function(){Jf?Vf.emit("unhandledRejection",n,t):ol(Zf,t,n)}),e.rejection=Jf||al(e)?2:1,r.error))throw r.value})},al=function(t){return 1!==t.rejection&&!t.parent},ul=function(t,e){Ff.call(n,function(){Jf?Vf.emit("rejectionHandled",t):ol("rejectionhandled",t,e.value)})},sl=function(t,e,r,n){return function(o){t(e,r,o,n)}},cl=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,nl(t,e,!0))},fl=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw Gf("Promise can't be resolved itself");var o=rl(r);o?Uf(function(){var n={done:!1};try{o.call(r,sl(fl,t,n,e),sl(cl,t,n,e))}catch(r){cl(t,n,r,e)}}):(e.value=r,e.state=1,nl(t,e,!1))}catch(r){cl(t,{done:!1},r,e)}}};tl&&(Kf=function(t){Br(this,Kf,Df),ee(t),If.call(this);var e=qf(this);try{t(sl(fl,this,e),sl(cl,this,e))}catch(t){cl(this,e,t)}},(If=function(t){zf(this,{type:Df,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=zr(Kf.prototype,{then:function(t,e){var r=Wf(this),n=Xf(hn(this,Kf));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=Jf?Vf.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&nl(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),Tf=function(){var t=new If,e=qf(t);this.promise=t,this.resolve=sl(fl,t,e),this.reject=sl(cl,t,e)},_f.f=Xf=function(t){return t===Kf||t===kf?new Tf(t):Yf(t)},"function"==typeof Yc&&(Lf=Yc.prototype.then,rt(Yc.prototype,"then",function(t,e){var r=this;return new Kf(function(t,e){Lf.call(r,t,e)}).then(t,e)},{unsafe:!0}),"function"==typeof Hf&&Lt({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return Nf(Kf,Hf.apply(n,arguments))}}))),Lt({global:!0,wrap:!0,forced:tl},{Promise:Kf}),Be(Kf,Df,!1),Kr(Df),kf=it(Df),Lt({target:Df,stat:!0,forced:tl},{reject:function(t){var e=Xf(this);return e.reject.call(void 0,t),e.promise}}),Lt({target:Df,stat:!0,forced:tl},{resolve:function(t){return Nf(this,t)}}),Lt({target:Df,stat:!0,forced:el},{all:function(t){var e=this,r=Xf(e),n=r.resolve,o=r.reject,i=Cf(function(){var r=ee(e.resolve),i=[],a=0,u=1;Fr(t,function(t){var s=a++,c=!1;i.push(void 0),u++,r.call(e,t).then(function(t){c||(c=!0,i[s]=t,--u||n(i))},o)}),--u||n(i)});return i.error&&o(i.value),r.promise},race:function(t){var e=this,r=Xf(e),n=r.reject,o=Cf(function(){var o=ee(e.resolve);Fr(t,function(t){o.call(e,t).then(r.resolve,n)})});return o.error&&n(o.value),r.promise}}),Lt({target:"Promise",stat:!0},{allSettled:function(t){var e=this,r=_f.f(e),n=r.resolve,o=r.reject,i=Cf(function(){var r=ee(e.resolve),o=[],i=0,a=1;Fr(t,function(t){var u=i++,s=!1;o.push(void 0),a++,r.call(e,t).then(function(t){s||(s=!0,o[u]={status:"fulfilled",value:t},--a||n(o))},function(t){s||(s=!0,o[u]={status:"rejected",reason:t},--a||n(o))})}),--a||n(o)});return i.error&&o(i.value),r.promise}});var ll=!!Yc&&o(function(){Yc.prototype.finally.call({then:function(){}},function(){})});Lt({target:"Promise",proto:!0,real:!0,forced:ll},{finally:function(t){var e=hn(this,it("Promise")),r="function"==typeof t;return this.then(r?function(r){return Nf(e,t()).then(function(){return r})}:t,r?function(r){return Nf(e,t()).then(function(){throw r})}:t)}}),"function"!=typeof Yc||Yc.prototype.finally||rt(Yc.prototype,"finally",it("Promise").prototype.finally);var hl=et.set,pl=et.getterFor("AggregateError"),dl=function(t,e){var r=this;if(!(r instanceof dl))return new dl(t,e);Ge&&(r=Ge(new Error(e),Ue(r)));var n=[];return Fr(t,n.push,n),i?hl(r,{errors:n,type:"AggregateError"}):r.errors=n,void 0!==e&&T(r,"message",String(e)),r};dl.prototype=Jt(Error.prototype,{constructor:f(5,dl),message:f(5,""),name:f(5,"AggregateError")}),i&&I.f(dl.prototype,"errors",{get:function(){return pl(this).errors},configurable:!0}),Lt({global:!0},{AggregateError:dl}),Lt({target:"Promise",stat:!0},{try:function(t){var e=_f.f(this),r=Cf(t);return(r.error?e.reject:e.resolve)(r.value),e.promise}});var vl="No one promise resolved";Lt({target:"Promise",stat:!0},{any:function(t){var e=this,r=_f.f(e),n=r.resolve,o=r.reject,i=Cf(function(){var r=ee(e.resolve),i=[],a=0,u=1,s=!1;Fr(t,function(t){var c=a++,f=!1;i.push(void 0),u++,r.call(e,t).then(function(t){f||s||(s=!0,n(t))},function(t){f||s||(f=!0,i[c]=t,--u||o(new(it("AggregateError"))(i,vl)))})}),--u||o(new(it("AggregateError"))(i,vl))});return i.error&&o(i.value),r.promise}}),oe("Promise","finally");var gl="URLSearchParams"in self,yl="Symbol"in self&&"iterator"in Symbol,ml="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),bl="FormData"in self,wl="ArrayBuffer"in self;if(wl)var Sl=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],El=ArrayBuffer.isView||function(t){return t&&Sl.indexOf(Object.prototype.toString.call(t))>-1};function xl(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function Al(t){return"string"!=typeof t&&(t=String(t)),t}function Ol(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return yl&&(e[Symbol.iterator]=function(){return e}),e}function Rl(t){this.map={},t instanceof Rl?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function jl(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function Pl(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Il(t){var e=new FileReader,r=Pl(e);return e.readAsArrayBuffer(t),r}function Tl(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function kl(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:ml&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:bl&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:gl&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():wl&&ml&&(e=t)&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=Tl(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):wl&&(ArrayBuffer.prototype.isPrototypeOf(t)||El(t))?this._bodyArrayBuffer=Tl(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):gl&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ml&&(this.blob=function(){var t=jl(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?jl(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(Il)}),this.text=function(){var t=jl(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=Pl(e);return e.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function Ml(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(o))}}),e}function _l(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new Rl(e.headers),this.url=e.url||"",this._initBody(t)}Ul.prototype.clone=function(){return new Ul(this,{body:this._bodyInit})},kl.call(Ul.prototype),kl.call(_l.prototype),_l.prototype.clone=function(){return new _l(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Rl(this.headers),url:this.url})},_l.error=function(){var t=new _l(null,{status:0,statusText:""});return t.type="error",t};var Nl=[301,302,303,307,308];_l.redirect=function(t,e){if(-1===Nl.indexOf(e))throw new RangeError("Invalid status code");return new _l(null,{status:e,headers:{location:t}})};var Cl=self.DOMException;try{new Cl}catch(t){(Cl=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),Cl.prototype.constructor=Cl}function Fl(t,e){return new Promise(function(r,n){var o=new Ul(t,e);if(o.signal&&o.signal.aborted)return n(new Cl("Aborted","AbortError"));var i=new XMLHttpRequest;function a(){i.abort()}i.onload=function(){var t,e,n={status:i.status,statusText:i.statusText,headers:(t=i.getAllResponseHeaders()||"",e=new Rl,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();e.append(n,o)}}),e)};n.url="responseURL"in i?i.responseURL:n.headers.get("X-Request-URL"),r(new _l("response"in i?i.response:i.responseText,n))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.onabort=function(){n(new Cl("Aborted","AbortError"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&ml&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),o.signal&&(o.signal.addEventListener("abort",a),i.onreadystatechange=function(){4===i.readyState&&o.signal.removeEventListener("abort",a)}),i.send(void 0===o._bodyInit?null:o._bodyInit)})}Fl.polyfill=!0,self.fetch||(self.fetch=Fl,self.Headers=Rl,self.Request=Ul,self.Response=_l);var Bl=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,ql=Object.prototype.propertyIsEnumerable,zl=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(t){n[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var r,n,o=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),i=1;i0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u=o&&Object.keys(l.O).every(function(e){return l.O[e](n[f])})?n.splice(f--,1):(c=!1,o\*\]\:pointer-events-auto>*{pointer-events:auto}#nprogress{pointer-events:none}#nprogress .bar{background:var(--joy-palette-primary-500,#096bde);position:fixed;z-index:10031;top:0;left:0;width:100%;height:3px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px var(--joy-palette-primary-500,#096bde),0 0 5px var(--joy-palette-primary-500,#096bde);opacity:1;transform:rotate(3deg) translateY(-4px)}
\ No newline at end of file
diff --git a/pilot/server/static/agents.html b/pilot/server/static/agents.html
new file mode 100644
index 000000000..fd095f1f0
--- /dev/null
+++ b/pilot/server/static/agents.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/pilot/server/static/agents.txt b/pilot/server/static/agents.txt
new file mode 100644
index 000000000..39d2f1889
--- /dev/null
+++ b/pilot/server/static/agents.txt
@@ -0,0 +1,9 @@
+1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
+0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
+4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
+5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+8:I{"id":"68947","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","757:static/chunks/f60284a2-6891068c9ea7ce77.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","86:static/chunks/86-3a20bc6b78835c59.js","93:static/chunks/93-d96460b174626309.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","234:static/chunks/234-8eba541fbdf57ced.js","947:static/chunks/947-209ba7aac7928863.js","718:static/chunks/app/agents/page-4286c92088ccc4e9.js"],"name":"","async":false}
+2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","agents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],null],"segment":"agents"},"styles":[]}],"params":{}}],null]
+3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]
diff --git a/pilot/server/static/bg1.avif b/pilot/server/static/bg1.avif
new file mode 100644
index 000000000..a05ed83e3
Binary files /dev/null and b/pilot/server/static/bg1.avif differ
diff --git a/pilot/server/static/bg2.png b/pilot/server/static/bg2.png
new file mode 100644
index 000000000..7c119cee8
Binary files /dev/null and b/pilot/server/static/bg2.png differ
diff --git a/pilot/server/static/datastores.html b/pilot/server/static/datastores.html
new file mode 100644
index 000000000..d406e9f78
--- /dev/null
+++ b/pilot/server/static/datastores.html
@@ -0,0 +1 @@
+Knowledge Spaces
\ No newline at end of file
diff --git a/pilot/server/static/datastores.txt b/pilot/server/static/datastores.txt
new file mode 100644
index 000000000..5a2ade686
--- /dev/null
+++ b/pilot/server/static/datastores.txt
@@ -0,0 +1,9 @@
+1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
+0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
+4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
+5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+8:I{"id":"44323","chunks":["448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","86:static/chunks/86-3a20bc6b78835c59.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","777:static/chunks/777-6762a9fec77c12c4.js","611:static/chunks/611-d8d91bbf74fb8a74.js","43:static/chunks/app/datastores/page-171d660b8104db30.js"],"name":"","async":false}
+2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
+3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]
diff --git a/pilot/server/static/datastores/documents.html b/pilot/server/static/datastores/documents.html
new file mode 100644
index 000000000..d5e3aeb86
--- /dev/null
+++ b/pilot/server/static/datastores/documents.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/pilot/server/static/datastores/documents.txt b/pilot/server/static/datastores/documents.txt
new file mode 100644
index 000000000..34871ae62
--- /dev/null
+++ b/pilot/server/static/datastores/documents.txt
@@ -0,0 +1,9 @@
+1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
+0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
+4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
+5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+8:I{"id":"42069","chunks":["550:static/chunks/925f3d25-1af7259455ef26bd.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","86:static/chunks/86-3a20bc6b78835c59.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","777:static/chunks/777-6762a9fec77c12c4.js","434:static/chunks/434-09f9dde89abf2ac7.js","611:static/chunks/611-d8d91bbf74fb8a74.js","470:static/chunks/app/datastores/documents/page-0b797043cfee212f.js"],"name":"","async":false}
+2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
+3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]
diff --git a/pilot/server/static/datastores/documents/chunklist.html b/pilot/server/static/datastores/documents/chunklist.html
new file mode 100644
index 000000000..739efabed
--- /dev/null
+++ b/pilot/server/static/datastores/documents/chunklist.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/pilot/server/static/datastores/documents/chunklist.txt b/pilot/server/static/datastores/documents/chunklist.txt
new file mode 100644
index 000000000..388f9de45
--- /dev/null
+++ b/pilot/server/static/datastores/documents/chunklist.txt
@@ -0,0 +1,9 @@
+1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
+0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
+4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
+5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+8:I{"id":"26257","chunks":["448:static/chunks/448-f3a26a5f721e5a66.js","599:static/chunks/599-3961dce1841e3605.js","952:static/chunks/952-2dc4f0545dc6908d.js","777:static/chunks/777-6762a9fec77c12c4.js","434:static/chunks/434-09f9dde89abf2ac7.js","538:static/chunks/app/datastores/documents/chunklist/page-65ded782e5468079.js"],"name":"","async":false}
+2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children","chunklist","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"chunklist"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
+3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]
diff --git a/pilot/server/static/favicon.ico b/pilot/server/static/favicon.ico
new file mode 100644
index 000000000..718d6fea4
Binary files /dev/null and b/pilot/server/static/favicon.ico differ
diff --git a/pilot/server/static/index.html b/pilot/server/static/index.html
new file mode 100644
index 000000000..10903d171
--- /dev/null
+++ b/pilot/server/static/index.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/pilot/server/static/index.txt b/pilot/server/static/index.txt
new file mode 100644
index 000000000..cefec39d4
--- /dev/null
+++ b/pilot/server/static/index.txt
@@ -0,0 +1,9 @@
+1:HL["/_next/static/css/1a8d71ce4977c414.css",{"as":"style"}]
+0:["88tBPZRhns7FgumS5knsE",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/1a8d71ce4977c414.css","precedence":"next"}]],["$L3",null]]]]]
+4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","93:static/chunks/93-d96460b174626309.js","952:static/chunks/952-2dc4f0545dc6908d.js","261:static/chunks/261-cafe8fb2d045b3ac.js","751:static/chunks/751-9808572c67f2351c.js","66:static/chunks/66-a59692966e930d12.js","185:static/chunks/app/layout-7dd71906a9fa8a24.js"],"name":"","async":false}
+5:I{"id":"13211","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+6:I{"id":"5767","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+7:I{"id":"37396","chunks":["272:static/chunks/webpack-24270a861878a52b.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-5cc40fd35d2e3ebe.js"],"name":"","async":false}
+8:I{"id":"93768","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","448:static/chunks/448-f3a26a5f721e5a66.js","22:static/chunks/22-703ba16bc0ddc40c.js","599:static/chunks/599-3961dce1841e3605.js","86:static/chunks/86-3a20bc6b78835c59.js","93:static/chunks/93-d96460b174626309.js","259:static/chunks/259-2c3490a9eca2f411.js","931:static/chunks/app/page-3c8cf4f6594ea538.js"],"name":"","async":false}
+2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"params":{}}],null]
+3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]