UNPKG

@senx/discovery-widgets

Version:

Discovery Widgets Elements

1 lines 1.27 MB
import{L as Logger}from"./logger-7b3179cb.js";var Param=function(){function M(){this.scheme="WARP10";this.datasetNoAlpha=false;this.timeZone="UTC";this.showRangeSelector=false;this.showYRangeSelector=false;this.showDots=false;this.timeUnit="us";this.hideYAxis=false;this.hideXAxis=false;this.showLegend=false;this.showValues=false;this.fullDateDisplay=false;this.showControls=false;this.discontinue=false;this.expandAnnotation=false;this.displayExpander=true;this.leftMargin=0;this.showLoader=false;this.noDataLabel="No data";this.poiLine="dotted";this.dotSize=5;this.strokeWidth=1;this.unitFontSize=16;this.xUnitFontSize=16}return M}();var CHART_TYPES=["line","area","scatter","step-area","spline-area","spline","step","step-after","step-before","annotation","bar","bar-polar","display","image","map","gauge","linear-gauge","circle","compass","pie","doughnut","rose","tabular","svg","input:text","input:textarea","input:list","input:secret","input:autocomplete","input:chips","input:file","input:chips-autocomplete","input:slider","input:date","input:date-range","input:multi","input:multi-cb","input:number","button","button:radio","button:group","hidden","calendar","heatmap","profile","boxplot","dashboard","dashboard:flex","dashboard:scada"];var MapParams=function(){function M(){}return M}();var Dataset=function(){function M(){}return M}();var Label=function(){function M(){}return M}();var Tile=function(){function M(){this.options=new Param}return M}();var GTS=function(){function M(){}return M}();var DiscoveryEvent=function(){function M(){}return M}();var DataModel=function(){function M(){}return M}();var Dashboard=function(){function M(){this.type="dashboard";this.tiles=[];this.vars={};this.cols=12;this.cellHeight=220;this.bgColor="#fff";this.fontColor="#000"}return M}();var ChartBounds=function(){function M(){this.tsmin=0;this.tsmax=0;this.msmin="";this.msmax="";this.marginLeft=0}return M}();var aliceblue$1="#f0f8ff";var antiquewhite$1="#faebd7";var aqua$1="#00ffff";var aquamarine$1="#7fffd4";var azure$1="#f0ffff";var beige$1="#f5f5dc";var bisque$1="#ffe4c4";var black$1="#000000";var blanchedalmond$1="#ffebcd";var blue$1="#0000ff";var blueviolet$1="#8a2be2";var brown$1="#a52a2a";var burlywood$1="#deb887";var cadetblue$1="#5f9ea0";var chartreuse$1="#7fff00";var chocolate$1="#d2691e";var coral$1="#ff7f50";var cornflowerblue$1="#6495ed";var cornsilk$1="#fff8dc";var crimson$1="#dc143c";var cyan$1="#00ffff";var darkblue$1="#00008b";var darkcyan$1="#008b8b";var darkgoldenrod$1="#b8860b";var darkgray$1="#a9a9a9";var darkgreen$1="#006400";var darkgrey$1="#a9a9a9";var darkkhaki$1="#bdb76b";var darkmagenta$1="#8b008b";var darkolivegreen$1="#556b2f";var darkorange$1="#ff8c00";var darkorchid$1="#9932cc";var darkred$1="#8b0000";var darksalmon$1="#e9967a";var darkseagreen$1="#8fbc8f";var darkslateblue$1="#483d8b";var darkslategray$1="#2f4f4f";var darkslategrey$1="#2f4f4f";var darkturquoise$1="#00ced1";var darkviolet$1="#9400d3";var deeppink$1="#ff1493";var deepskyblue$1="#00bfff";var dimgray$1="#696969";var dimgrey$1="#696969";var dodgerblue$1="#1e90ff";var firebrick$1="#b22222";var floralwhite$1="#fffaf0";var forestgreen$1="#228b22";var fuchsia$1="#ff00ff";var gainsboro$1="#dcdcdc";var ghostwhite$1="#f8f8ff";var goldenrod$1="#daa520";var gold$1="#ffd700";var gray$1="#808080";var green$1="#008000";var greenyellow$1="#adff2f";var grey$1="#808080";var honeydew$1="#f0fff0";var hotpink$1="#ff69b4";var indianred$1="#cd5c5c";var indigo$1="#4b0082";var ivory$1="#fffff0";var khaki$1="#f0e68c";var lavenderblush$1="#fff0f5";var lavender$1="#e6e6fa";var lawngreen$1="#7cfc00";var lemonchiffon$1="#fffacd";var lightblue$1="#add8e6";var lightcoral$1="#f08080";var lightcyan$1="#e0ffff";var lightgoldenrodyellow$1="#fafad2";var lightgray$1="#d3d3d3";var lightgreen$1="#90ee90";var lightgrey$1="#d3d3d3";var lightpink$1="#ffb6c1";var lightsalmon$1="#ffa07a";var lightseagreen$1="#20b2aa";var lightskyblue$1="#87cefa";var lightslategray$1="#778899";var lightslategrey$1="#778899";var lightsteelblue$1="#b0c4de";var lightyellow$1="#ffffe0";var lime$1="#00ff00";var limegreen$1="#32cd32";var linen$1="#faf0e6";var magenta$1="#ff00ff";var maroon$1="#800000";var mediumaquamarine$1="#66cdaa";var mediumblue$1="#0000cd";var mediumorchid$1="#ba55d3";var mediumpurple$1="#9370db";var mediumseagreen$1="#3cb371";var mediumslateblue$1="#7b68ee";var mediumspringgreen$1="#00fa9a";var mediumturquoise$1="#48d1cc";var mediumvioletred$1="#c71585";var midnightblue$1="#191970";var mintcream$1="#f5fffa";var mistyrose$1="#ffe4e1";var moccasin$1="#ffe4b5";var navajowhite$1="#ffdead";var navy$1="#000080";var oldlace$1="#fdf5e6";var olive$1="#808000";var olivedrab$1="#6b8e23";var orange$1="#ffa500";var orangered$1="#ff4500";var orchid$1="#da70d6";var palegoldenrod$1="#eee8aa";var palegreen$1="#98fb98";var paleturquoise$1="#afeeee";var palevioletred$1="#db7093";var papayawhip$1="#ffefd5";var peachpuff$1="#ffdab9";var peru$1="#cd853f";var pink$1="#ffc0cb";var plum$1="#dda0dd";var powderblue$1="#b0e0e6";var purple$1="#800080";var rebeccapurple$1="#663399";var red$1="#ff0000";var rosybrown$1="#bc8f8f";var royalblue$1="#4169e1";var saddlebrown$1="#8b4513";var salmon$1="#fa8072";var sandybrown$1="#f4a460";var seagreen$1="#2e8b57";var seashell$1="#fff5ee";var sienna$1="#a0522d";var silver$1="#c0c0c0";var skyblue$1="#87ceeb";var slateblue$1="#6a5acd";var slategray$1="#708090";var slategrey$1="#708090";var snow$1="#fffafa";var springgreen$1="#00ff7f";var steelblue$1="#4682b4";var tan$1="#d2b48c";var teal$1="#008080";var thistle$1="#d8bfd8";var tomato$1="#ff6347";var turquoise$1="#40e0d0";var violet$1="#ee82ee";var wheat$1="#f5deb3";var white$1="#ffffff";var whitesmoke$1="#f5f5f5";var yellow$1="#ffff00";var yellowgreen$1="#9acd32";var cssColorNames={aliceblue:aliceblue$1,antiquewhite:antiquewhite$1,aqua:aqua$1,aquamarine:aquamarine$1,azure:azure$1,beige:beige$1,bisque:bisque$1,black:black$1,blanchedalmond:blanchedalmond$1,blue:blue$1,blueviolet:blueviolet$1,brown:brown$1,burlywood:burlywood$1,cadetblue:cadetblue$1,chartreuse:chartreuse$1,chocolate:chocolate$1,coral:coral$1,cornflowerblue:cornflowerblue$1,cornsilk:cornsilk$1,crimson:crimson$1,cyan:cyan$1,darkblue:darkblue$1,darkcyan:darkcyan$1,darkgoldenrod:darkgoldenrod$1,darkgray:darkgray$1,darkgreen:darkgreen$1,darkgrey:darkgrey$1,darkkhaki:darkkhaki$1,darkmagenta:darkmagenta$1,darkolivegreen:darkolivegreen$1,darkorange:darkorange$1,darkorchid:darkorchid$1,darkred:darkred$1,darksalmon:darksalmon$1,darkseagreen:darkseagreen$1,darkslateblue:darkslateblue$1,darkslategray:darkslategray$1,darkslategrey:darkslategrey$1,darkturquoise:darkturquoise$1,darkviolet:darkviolet$1,deeppink:deeppink$1,deepskyblue:deepskyblue$1,dimgray:dimgray$1,dimgrey:dimgrey$1,dodgerblue:dodgerblue$1,firebrick:firebrick$1,floralwhite:floralwhite$1,forestgreen:forestgreen$1,fuchsia:fuchsia$1,gainsboro:gainsboro$1,ghostwhite:ghostwhite$1,goldenrod:goldenrod$1,gold:gold$1,gray:gray$1,green:green$1,greenyellow:greenyellow$1,grey:grey$1,honeydew:honeydew$1,hotpink:hotpink$1,indianred:indianred$1,indigo:indigo$1,ivory:ivory$1,khaki:khaki$1,lavenderblush:lavenderblush$1,lavender:lavender$1,lawngreen:lawngreen$1,lemonchiffon:lemonchiffon$1,lightblue:lightblue$1,lightcoral:lightcoral$1,lightcyan:lightcyan$1,lightgoldenrodyellow:lightgoldenrodyellow$1,lightgray:lightgray$1,lightgreen:lightgreen$1,lightgrey:lightgrey$1,lightpink:lightpink$1,lightsalmon:lightsalmon$1,lightseagreen:lightseagreen$1,lightskyblue:lightskyblue$1,lightslategray:lightslategray$1,lightslategrey:lightslategrey$1,lightsteelblue:lightsteelblue$1,lightyellow:lightyellow$1,lime:lime$1,limegreen:limegreen$1,linen:linen$1,magenta:magenta$1,maroon:maroon$1,mediumaquamarine:mediumaquamarine$1,mediumblue:mediumblue$1,mediumorchid:mediumorchid$1,mediumpurple:mediumpurple$1,mediumseagreen:mediumseagreen$1,mediumslateblue:mediumslateblue$1,mediumspringgreen:mediumspringgreen$1,mediumturquoise:mediumturquoise$1,mediumvioletred:mediumvioletred$1,midnightblue:midnightblue$1,mintcream:mintcream$1,mistyrose:mistyrose$1,moccasin:moccasin$1,navajowhite:navajowhite$1,navy:navy$1,oldlace:oldlace$1,olive:olive$1,olivedrab:olivedrab$1,orange:orange$1,orangered:orangered$1,orchid:orchid$1,palegoldenrod:palegoldenrod$1,palegreen:palegreen$1,paleturquoise:paleturquoise$1,palevioletred:palevioletred$1,papayawhip:papayawhip$1,peachpuff:peachpuff$1,peru:peru$1,pink:pink$1,plum:plum$1,powderblue:powderblue$1,purple:purple$1,rebeccapurple:rebeccapurple$1,red:red$1,rosybrown:rosybrown$1,royalblue:royalblue$1,saddlebrown:saddlebrown$1,salmon:salmon$1,sandybrown:sandybrown$1,seagreen:seagreen$1,seashell:seashell$1,sienna:sienna$1,silver:silver$1,skyblue:skyblue$1,slateblue:slateblue$1,slategray:slategray$1,slategrey:slategrey$1,snow:snow$1,springgreen:springgreen$1,steelblue:steelblue$1,tan:tan$1,teal:teal$1,thistle:thistle$1,tomato:tomato$1,turquoise:turquoise$1,violet:violet$1,wheat:wheat$1,white:white$1,whitesmoke:whitesmoke$1,yellow:yellow$1,yellowgreen:yellowgreen$1};var commonjsGlobal=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getDefaultExportFromCjs(M){return M&&M.__esModule&&Object.prototype.hasOwnProperty.call(M,"default")?M["default"]:M}function getAugmentedNamespace(M){if(M.__esModule)return M;var b=Object.defineProperty({},"__esModule",{value:true});Object.keys(M).forEach((function(z){var p=Object.getOwnPropertyDescriptor(M,z);Object.defineProperty(b,z,p.get?p:{enumerable:true,get:function(){return M[z]}})}));return b}function commonjsRequire(M){throw new Error('Could not dynamically require "'+M+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var aqua="#00ffff";var aliceblue="#f0f8ff";var antiquewhite="#faebd7";var black="#000000";var blue="#0000ff";var cyan="#00ffff";var darkblue="#00008b";var darkcyan="#008b8b";var darkgreen="#006400";var darkturquoise="#00ced1";var deepskyblue="#00bfff";var green="#008000";var lime="#00ff00";var mediumblue="#0000cd";var mediumspringgreen="#00fa9a";var navy="#000080";var springgreen="#00ff7f";var teal="#008080";var midnightblue="#191970";var dodgerblue="#1e90ff";var lightseagreen="#20b2aa";var forestgreen="#228b22";var seagreen="#2e8b57";var darkslategray="#2f4f4f";var darkslategrey="#2f4f4f";var limegreen="#32cd32";var mediumseagreen="#3cb371";var turquoise="#40e0d0";var royalblue="#4169e1";var steelblue="#4682b4";var darkslateblue="#483d8b";var mediumturquoise="#48d1cc";var indigo="#4b0082";var darkolivegreen="#556b2f";var cadetblue="#5f9ea0";var cornflowerblue="#6495ed";var mediumaquamarine="#66cdaa";var dimgray="#696969";var dimgrey="#696969";var slateblue="#6a5acd";var olivedrab="#6b8e23";var slategray="#708090";var slategrey="#708090";var lightslategray="#778899";var lightslategrey="#778899";var mediumslateblue="#7b68ee";var lawngreen="#7cfc00";var aquamarine="#7fffd4";var chartreuse="#7fff00";var gray="#808080";var grey="#808080";var maroon="#800000";var olive="#808000";var purple="#800080";var lightskyblue="#87cefa";var skyblue="#87ceeb";var blueviolet="#8a2be2";var darkmagenta="#8b008b";var darkred="#8b0000";var saddlebrown="#8b4513";var darkseagreen="#8fbc8f";var lightgreen="#90ee90";var mediumpurple="#9370db";var darkviolet="#9400d3";var palegreen="#98fb98";var darkorchid="#9932cc";var yellowgreen="#9acd32";var sienna="#a0522d";var brown="#a52a2a";var darkgray="#a9a9a9";var darkgrey="#a9a9a9";var greenyellow="#adff2f";var lightblue="#add8e6";var paleturquoise="#afeeee";var lightsteelblue="#b0c4de";var powderblue="#b0e0e6";var firebrick="#b22222";var darkgoldenrod="#b8860b";var mediumorchid="#ba55d3";var rosybrown="#bc8f8f";var darkkhaki="#bdb76b";var silver="#c0c0c0";var mediumvioletred="#c71585";var indianred="#cd5c5c";var peru="#cd853f";var chocolate="#d2691e";var tan="#d2b48c";var lightgray="#d3d3d3";var lightgrey="#d3d3d3";var thistle="#d8bfd8";var goldenrod="#daa520";var orchid="#da70d6";var palevioletred="#db7093";var crimson="#dc143c";var gainsboro="#dcdcdc";var plum="#dda0dd";var burlywood="#deb887";var lightcyan="#e0ffff";var lavender="#e6e6fa";var darksalmon="#e9967a";var palegoldenrod="#eee8aa";var violet="#ee82ee";var azure="#f0ffff";var honeydew="#f0fff0";var khaki="#f0e68c";var lightcoral="#f08080";var sandybrown="#f4a460";var beige="#f5f5dc";var mintcream="#f5fffa";var wheat="#f5deb3";var whitesmoke="#f5f5f5";var ghostwhite="#f8f8ff";var lightgoldenrodyellow="#fafad2";var linen="#faf0e6";var salmon="#fa8072";var oldlace="#fdf5e6";var bisque="#ffe4c4";var blanchedalmond="#ffebcd";var coral="#ff7f50";var cornsilk="#fff8dc";var darkorange="#ff8c00";var deeppink="#ff1493";var floralwhite="#fffaf0";var fuchsia="#ff00ff";var gold="#ffd700";var hotpink="#ff69b4";var ivory="#fffff0";var lavenderblush="#fff0f5";var lemonchiffon="#fffacd";var lightpink="#ffb6c1";var lightsalmon="#ffa07a";var lightyellow="#ffffe0";var magenta="#ff00ff";var mistyrose="#ffe4e1";var moccasin="#ffe4b5";var navajowhite="#ffdead";var orange="#ffa500";var orangered="#ff4500";var papayawhip="#ffefd5";var peachpuff="#ffdab9";var pink="#ffc0cb";var red="#ff0000";var seashell="#fff5ee";var snow="#fffafa";var tomato="#ff6347";var white="#ffffff";var yellow="#ffff00";var rebeccapurple="#663399";var require$$0$1={aqua:aqua,aliceblue:aliceblue,antiquewhite:antiquewhite,black:black,blue:blue,cyan:cyan,darkblue:darkblue,darkcyan:darkcyan,darkgreen:darkgreen,darkturquoise:darkturquoise,deepskyblue:deepskyblue,green:green,lime:lime,mediumblue:mediumblue,mediumspringgreen:mediumspringgreen,navy:navy,springgreen:springgreen,teal:teal,midnightblue:midnightblue,dodgerblue:dodgerblue,lightseagreen:lightseagreen,forestgreen:forestgreen,seagreen:seagreen,darkslategray:darkslategray,darkslategrey:darkslategrey,limegreen:limegreen,mediumseagreen:mediumseagreen,turquoise:turquoise,royalblue:royalblue,steelblue:steelblue,darkslateblue:darkslateblue,mediumturquoise:mediumturquoise,indigo:indigo,darkolivegreen:darkolivegreen,cadetblue:cadetblue,cornflowerblue:cornflowerblue,mediumaquamarine:mediumaquamarine,dimgray:dimgray,dimgrey:dimgrey,slateblue:slateblue,olivedrab:olivedrab,slategray:slategray,slategrey:slategrey,lightslategray:lightslategray,lightslategrey:lightslategrey,mediumslateblue:mediumslateblue,lawngreen:lawngreen,aquamarine:aquamarine,chartreuse:chartreuse,gray:gray,grey:grey,maroon:maroon,olive:olive,purple:purple,lightskyblue:lightskyblue,skyblue:skyblue,blueviolet:blueviolet,darkmagenta:darkmagenta,darkred:darkred,saddlebrown:saddlebrown,darkseagreen:darkseagreen,lightgreen:lightgreen,mediumpurple:mediumpurple,darkviolet:darkviolet,palegreen:palegreen,darkorchid:darkorchid,yellowgreen:yellowgreen,sienna:sienna,brown:brown,darkgray:darkgray,darkgrey:darkgrey,greenyellow:greenyellow,lightblue:lightblue,paleturquoise:paleturquoise,lightsteelblue:lightsteelblue,powderblue:powderblue,firebrick:firebrick,darkgoldenrod:darkgoldenrod,mediumorchid:mediumorchid,rosybrown:rosybrown,darkkhaki:darkkhaki,silver:silver,mediumvioletred:mediumvioletred,indianred:indianred,peru:peru,chocolate:chocolate,tan:tan,lightgray:lightgray,lightgrey:lightgrey,thistle:thistle,goldenrod:goldenrod,orchid:orchid,palevioletred:palevioletred,crimson:crimson,gainsboro:gainsboro,plum:plum,burlywood:burlywood,lightcyan:lightcyan,lavender:lavender,darksalmon:darksalmon,palegoldenrod:palegoldenrod,violet:violet,azure:azure,honeydew:honeydew,khaki:khaki,lightcoral:lightcoral,sandybrown:sandybrown,beige:beige,mintcream:mintcream,wheat:wheat,whitesmoke:whitesmoke,ghostwhite:ghostwhite,lightgoldenrodyellow:lightgoldenrodyellow,linen:linen,salmon:salmon,oldlace:oldlace,bisque:bisque,blanchedalmond:blanchedalmond,coral:coral,cornsilk:cornsilk,darkorange:darkorange,deeppink:deeppink,floralwhite:floralwhite,fuchsia:fuchsia,gold:gold,hotpink:hotpink,ivory:ivory,lavenderblush:lavenderblush,lemonchiffon:lemonchiffon,lightpink:lightpink,lightsalmon:lightsalmon,lightyellow:lightyellow,magenta:magenta,mistyrose:mistyrose,moccasin:moccasin,navajowhite:navajowhite,orange:orange,orangered:orangered,papayawhip:papayawhip,peachpuff:peachpuff,pink:pink,red:red,seashell:seashell,snow:snow,tomato:tomato,white:white,yellow:yellow,rebeccapurple:rebeccapurple};var _cssColorNames=require$$0$1;var _cssColorNames2=_interopRequireDefault(_cssColorNames);function _interopRequireDefault(M){return M&&M.__esModule?M:{default:M}}var lib=function(M){return typeof M==="string"?!!_cssColorNames2.default[M.toLowerCase()]:false};var Colors;(function(M){M["COHESIVE"]="COHESIVE";M["COHESIVE_2"]="COHESIVE_2";M["BELIZE"]="BELIZE";M["VIRIDIS"]="VIRIDIS";M["MAGMA"]="MAGMA";M["INFERNO"]="INFERNO";M["PLASMA"]="PLASMA";M["YL_OR_RD"]="YL_OR_RD";M["YL_GN_BU"]="YL_GN_BU";M["BU_GN"]="BU_GN";M["WARP10"]="WARP10";M["NINETEEN_EIGHTY_FOUR"]="NINETEEN_EIGHTY_FOUR";M["ATLANTIS"]="ATLANTIS";M["DO_ANDROIDS_DREAM"]="DO_ANDROIDS_DREAM";M["DELOREAN"]="DELOREAN";M["CTHULHU"]="CTHULHU";M["ECTOPLASM"]="ECTOPLASM";M["T_MAX_400_FILM"]="T_MAX_400_FILM";M["MATRIX"]="MATRIX";M["CHARTANA"]="CHARTANA";M["VINTAGE"]="VINTAGE";M["CHALK"]="CHALK"})(Colors||(Colors={}));var HeatMaps;(function(M){M["COHESIVE"]="COHESIVE";M["COHESIVE_2"]="COHESIVE_2";M["BELIZE"]="BELIZE";M["VIRIDIS"]="VIRIDIS";M["MAGMA"]="MAGMA";M["INFERNO"]="INFERNO";M["PLASMA"]="PLASMA";M["YL_OR_RD"]="YL_OR_RD";M["YL_GN_BU"]="YL_GN_BU";M["BU_GN"]="BU_GN";M["NINETEEN_EIGHTY_FOUR"]="NINETEEN_EIGHTY_FOUR";M["ATLANTIS"]="ATLANTIS";M["DO_ANDROIDS_DREAM"]="DO_ANDROIDS_DREAM";M["DELOREAN"]="DELOREAN";M["CTHULHU"]="CTHULHU";M["ECTOPLASM"]="ECTOPLASM";M["T_MAX_400_FILM"]="T_MAX_400_FILM";M["MATRIX"]="MATRIX";M["CHALK"]="CHALK";M["VINTAGE"]="VINTAGE";M["DEFAULT"]="DEFAULT"})(HeatMaps||(HeatMaps={}));var ColorLib=function(){function M(){}M.getHeatMap=function(b){return M.heatMaps[b]||M.heatMaps.DEFAULT};M.getColor=function(b,z){if(typeof z==="string"){if(!M.color[z]){z="WARP10"}return M.color[z][b%2===0?b%M.color[z].length:M.color[z].length-b%M.color[z].length]}else{return z[b%2===0?b%z.length:z.length-b%z.length]}};M.sanitizeColor=function(b){if((b!==null&&b!==void 0?b:"").startsWith("#")){return b}else if((b!==null&&b!==void 0?b:"").startsWith("rgb(")){var z=/^rgb\((\d+), ?(\d+), ?(\d+)\)/gi;var p=z.exec(b);if(!p||p.length<4)return b;return M.rgb2hex(parseInt(p[1],10),parseInt(p[2],10),parseInt(p[3],10))}else if((b!==null&&b!==void 0?b:"").startsWith("rgba(")){var z=/^rgba\((\d+), ?(\d+), ?(\d+), ?\d\)/gi;var p=z.exec(b);if(!p||p.length<4)return b;return M.rgb2hex(p[1],p[2],p[3])}else{return lib(b!==null&&b!==void 0?b:"")?cssColorNames[b.toLowerCase()]:b==="transparent"?"#ffffffff":b}};M.hexToRgb=function(M){var b=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(M);return b?[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]:null};M.transparentize=function(b,z){if(z===void 0){z=.5}b=M.sanitizeColor(b!==null&&b!==void 0?b:"");return"rgba("+M.hexToRgb(b!==null&&b!==void 0?b:"").concat(z).join(",")+")"};M.hsvGradientFromRgbColors=function(b,z,p){var e=M.rgb2hsv(b.r,b.g,b.b);var O=M.rgb2hsv(z.r,z.g,z.b);b.h=e[0];b.s=e[1];b.v=e[2];z.h=O[0];z.s=O[1];z.v=O[2];var o=M.hsvGradient(b,z,p);for(var c=0,n=o;c<n.length;c++){var a=n[c];if(a){a.rgb=M.hsv2rgb(a.h,a.s,a.v);a.r=Math.floor(a.rgb[0]);a.g=Math.floor(a.rgb[1]);a.b=Math.floor(a.rgb[2])}}return o};M.rgb2hsv=function(M,b,z){var p=M/255;var e=b/255;var O=z/255;var o=Math.max(p,e,O);var c=Math.min(p,e,O);var n=o-c;var a;var r;var t=o;if(n===0){a=0;r=0}else{r=n/t;switch(o){case p:a=(e-O+n*(e<O?6:0))/6*n;break;case e:a=(O-p+n*2)/6*n;break;case O:a=(p-e+n*4)/6*n;break}}return[a,r,t]};M.hsvGradient=function(M,b,z){var p=new Array(z);var e=M.h>=b.h?M.h-b.h:1+M.h-b.h;var O=M.h>=b.h?1+b.h-M.h:b.h-M.h;for(var o=0;o<z;o++){var c=O<=e?M.h+O*o/(z-1):M.h-e*o/(z-1);if(c<0){c=1+c}if(c>1){c=c-1}var n=(1-o/(z-1))*M.s+o/(z-1)*b.s;var a=(1-o/(z-1))*M.v+o/(z-1)*b.v;p[o]={h:c,s:n,v:a}}return p};M.hsv2rgb=function(M,b,z){var p;var e;var O;var o=Math.floor(M*6);var c=M*6-o;var n=z*(1-b);var a=z*(1-c*b);var r=z*(1-(1-c)*b);switch(o%6){case 0:p=z;e=r;O=n;break;case 1:p=a;e=z;O=n;break;case 2:p=n;e=z;O=r;break;case 3:p=n;e=a;O=z;break;case 4:p=r;e=n;O=z;break;case 5:p=z;e=n;O=a;break}return[p*255,e*255,O*255]};M.rgb2hex=function(M,b,z){var p=function(M){var b=M.toString(16);return b.length===1?"0".concat(b):b};return"#".concat(p(M)).concat(p(b)).concat(p(z))};return M}();ColorLib.color={COHESIVE:["#F2D354","#E4612F","#D32C2E","#6D2627","#6C7F55","#934FC6","#F07A5D","#ED8371","#94E751","#C457F7","#973AF7","#B6FF7A","#C7FFD5","#90E4D0","#E09234","#D2FF91","#17B201"],COHESIVE_2:["#6F694E","#65D0B2","#D8F546","#FF724B","#D6523E","#F9F470","#F4BC78","#B1D637","#FFCFC8","#56CDAB","#CFDD22","#B3F5D2","#97DB29","#9DC5EE","#CFC0F5","#EDEA29","#5EC027","#386C94"],BELIZE:["#5899DA","#E8743B","#19A979","#ED4A7B","#945ECF","#13A4B4","#525DF4","#BF399E","#6C8893","#EE6868","#2F6497"],VIRIDIS:["#440154","#481f70","#443983","#3b528b","#31688e","#287c8e","#21918c","#20a486","#35b779","#5ec962","#90d743","#c8e020"],MAGMA:["#000004","#100b2d","#2c115f","#51127c","#721f81","#932b80","#b73779","#d8456c","#f1605d","#fc8961","#feb078","#fed799"],INFERNO:["#000004","#110a30","#320a5e","#57106e","#781c6d","#9a2865","#bc3754","#d84c3e","#ed6925","#f98e09","#fbb61a","#f4df53"],PLASMA:["#0d0887","#3a049a","#5c01a6","#7e03a8","#9c179e","#b52f8c","#cc4778","#de5f65","#ed7953","#f89540","#fdb42f","#fbd524"],YL_OR_RD:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],YL_GN_BU:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],BU_GN:["#f7fcfd","#ebf7fa","#dcf2f2","#c8eae4","#aadfd2","#88d1bc","#68c2a3","#4eb485","#37a266","#228c49","#0d7635","#025f27"],WARP10:["#ff9900","#E53935","#F4511E","#D81B60","#00ACC1","#1E88E5","#43A047","#FFB300","#6D4C41","#FDD835","#00897B","#3949AB","#5E35B1","#8E24AA","#C0CA33","#039BE5","#7CB342","#004eff"],NINETEEN_EIGHTY_FOUR:["#fc9ca2","#fb747d","#fa4c58","#f92432","#e30613","#c70512","#9f040e","#77030b","#500207"],ATLANTIS:["#edf2fb","#e2eafc","#d7e3fc","#ccdbfd","#c1d3fe","#b6ccfe","#abc4ff"],DO_ANDROIDS_DREAM:["#d8f3dc","#b7e4c7","#95d5b2","#74c69d","#52b788","#40916c","#2d6a4f","#1b4332","#081c15"],DELOREAN:["#b98b73","#cb997e","#ddbea9","#ffe8d6","#d4c7b0","#b7b7a4","#a5a58d","#6b705c","#3f4238"],CTHULHU:["#004c6d","#006083","#007599","#008bad","#00a1c1","#00b8d3","#00cfe3","#00e7f2","#00ffff"],ECTOPLASM:["#006466","#065a60","#0b525b","#144552","#1b3a4b","#212f45","#272640","#312244","#3e1f47","#4d194d"],T_MAX_400_FILM:["#f8f9fa","#e9ecef","#dee2e6","#ced4da","#adb5bd","#6c757d","#495057","#343a40","#212529"],MATRIX:["#025f27","#025f27","#0d7635","#228c49","#37a266","#4eb485","#68c2a3","#88d1bc"],CHARTANA:["#77BE69","#FADE2B","#F24865","#5694F2","#FF9830","#B876D9"],CHALK:["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],VINTAGE:["#d87c7c","#919e8b","#d7ab82","#6e7074","#61a0a8","#efa18d","#787464","#cc7e63","#724e58","#4b565b"]};ColorLib.heatMaps={COHESIVE:ColorLib.color.COHESIVE,COHESIVE_2:ColorLib.color.COHESIVE_2,VIRIDIS:ColorLib.color.VIRIDIS,MAGMA:ColorLib.color.MAGMA,INFERNO:ColorLib.color.INFERNO,PLASMA:ColorLib.color.PLASMA,YL_OR_RD:ColorLib.color.YL_OR_RD,YL_GN_BU:ColorLib.color.YL_GN_BU,BU_GN:ColorLib.color.BU_GN,NINETEEN_EIGHTY_FOUR:ColorLib.color.NINETEEN_EIGHTY_FOUR,ATLANTIS:ColorLib.color.ATLANTIS,DO_ANDROIDS_DREAM:ColorLib.color.DO_ANDROIDS_DREAM,DELOREAN:ColorLib.color.DELOREAN,CTHULHU:ColorLib.color.CTHULHU,ECTOPLASM:ColorLib.color.ECTOPLASM,T_MAX_400_FILM:ColorLib.color.T_MAX_400_FILM,MATRIX:ColorLib.color.MATRIX,DEFAULT:["#bf444c","#d88273","#f6efa6"]};var JsonLib=function(){function M(){this.escapee={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"}}M.prototype.error=function(M){throw{name:"SyntaxError",message:M,at:this.at,text:this.text}};M.prototype.next=function(){return this.ch=this.text.charAt(this.at++)};M.prototype.check=function(M){if(M!==this.ch){this.error("Expected '".concat(M,"' instead of '").concat(this.ch,"'"))}this.ch=this.text.charAt(this.at++)};M.prototype.parseNumber=function(){var M="";if(this.ch==="-"){M="-";this.check("-")}if(this.ch==="I"){this.check("I");this.check("n");this.check("f");this.check("i");this.check("n");this.check("i");this.check("t");this.check("y");return-Infinity}while(this.ch>="0"&&this.ch<="9"){M+=this.ch;this.next()}if(this.ch==="."){M+=".";while(this.next()&&this.ch>="0"&&this.ch<="9"){M+=this.ch}}if(this.ch==="e"||this.ch==="E"){M+=this.ch;this.next();if(this.ch==="-"||this.ch==="+"){M+=this.ch;this.next()}while(this.ch>="0"&&this.ch<="9"){M+=this.ch;this.next()}}return+M};M.prototype.parseString=function(){var M;var b="";var z;if(this.ch==='"'){while(this.next()){if(this.ch==='"'){this.next();return b}if(this.ch==="\\"){this.next();if(this.ch==="u"){z=0;for(var p=0;p<4;p++){M=parseInt(this.next(),16);if(!isFinite(M)){break}z=z*16+M}b+=String.fromCharCode(z)}else if(this.escapee[this.ch]){b+=this.escapee[this.ch]}else{break}}else{b+=this.ch}}}this.error("Bad string")};M.prototype.white=function(){while(this.ch&&this.ch<=" "){this.next()}};M.prototype.word=function(){switch(this.ch){case"t":this.check("t");this.check("r");this.check("u");this.check("e");return true;case"f":this.check("f");this.check("a");this.check("l");this.check("s");this.check("e");return false;case"n":this.check("n");this.check("u");this.check("l");this.check("l");return null;case"N":this.check("N");this.check("a");this.check("N");return NaN;case"I":this.check("I");this.check("n");this.check("f");this.check("i");this.check("n");this.check("i");this.check("t");this.check("y");return Infinity}this.error("Unexpected '".concat(this.ch,"'"))};M.prototype.array=function(){var M=[];if(this.ch==="["){this.check("[");this.white();if(this.ch==="]"){this.check("]");return M}while(this.ch!==undefined){M.push(this.value());this.white();if(this.ch==="]"){this.check("]");return M}this.check(",");this.white()}}this.error("Bad array")};M.prototype.object=function(){var M;var b={};if(this.ch==="{"){this.check("{");this.white();if(this.ch==="}"){this.check("}");return b}while(this.ch){M=this.parseString();this.white();this.check(":");if(b.hasOwnProperty(M)){this.error("Duplicate key '".concat(M,"'"))}b[M]=this.value();this.white();if(this.ch==="}"){this.check("}");return b}this.check(",");this.white()}}this.error("Bad object")};M.prototype.value=function(){this.white();switch(this.ch){case"{":return this.object();case"[":return this.array();case'"':return this.parseString();case"-":return this.parseNumber();default:return this.ch>="0"&&this.ch<="9"?this.parseNumber():this.word()}};M.prototype.parse=function(M,b){this.text=M;this.at=0;this.ch=" ";var z=this.value();this.white();if(this.ch){this.error("Syntax error")}return typeof b==="function"?function M(z,p){var e;var O;var o=z[p];if(o!==undefined&&typeof o==="object"){for(e in o){if(o.hasOwnProperty(e)){O=M(o,e);if(O!==undefined){o[e]=O}else{delete o[e]}}}}return b.call(z,p,o)}({"":z},""):z};return M}();var dayjs_min={exports:{}};(function(M,b){!function(b,z){M.exports=z()}(commonjsGlobal,(function(){var M=1e3,b=6e4,z=36e5,p="millisecond",e="second",O="minute",o="hour",c="day",n="week",a="month",r="quarter",t="year",A="date",i="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(M){var b=["th","st","nd","rd"],z=M%100;return"["+M+(b[(z-20)%10]||b[z]||b[0])+"]"}},u=function(M,b,z){var p=String(M);return!p||p.length>=b?M:""+Array(b+1-p.length).join(z)+M},f={s:u,z:function(M){var b=-M.utcOffset(),z=Math.abs(b),p=Math.floor(z/60),e=z%60;return(b<=0?"+":"-")+u(p,2,"0")+":"+u(e,2,"0")},m:function M(b,z){if(b.date()<z.date())return-M(z,b);var p=12*(z.year()-b.year())+(z.month()-b.month()),e=b.clone().add(p,a),O=z-e<0,o=b.clone().add(p+(O?-1:1),a);return+(-(p+(z-e)/(O?e-o:o-e))||0)},a:function(M){return M<0?Math.ceil(M)||0:Math.floor(M)},p:function(M){return{M:a,y:t,w:n,d:c,D:A,h:o,m:O,s:e,ms:p,Q:r}[M]||String(M||"").toLowerCase().replace(/s$/,"")},u:function(M){return void 0===M}},W="en",l={};l[W]=s;var m="$isDayjsObject",L=function(M){return M instanceof N||!(!M||!M[m])},_=function M(b,z,p){var e;if(!b)return W;if("string"==typeof b){var O=b.toLowerCase();l[O]&&(e=O),z&&(l[O]=z,e=O);var o=b.split("-");if(!e&&o.length>1)return M(o[0])}else{var c=b.name;l[c]=b,e=c}return!p&&e&&(W=e),e||!p&&W},h=function(M,b){if(L(M))return M.clone();var z="object"==typeof b?b:{};return z.date=M,z.args=arguments,new N(z)},R=f;R.l=_,R.i=L,R.w=function(M,b){return h(M,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var N=function(){function s(M){this.$L=_(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[m]=!0}var u=s.prototype;return u.parse=function(M){this.$d=function(M){var b=M.date,z=M.utc;if(null===b)return new Date(NaN);if(R.u(b))return new Date;if(b instanceof Date)return new Date(b);if("string"==typeof b&&!/Z$/i.test(b)){var p=b.match(d);if(p){var e=p[2]-1||0,O=(p[7]||"0").substring(0,3);return z?new Date(Date.UTC(p[1],e,p[3]||1,p[4]||0,p[5]||0,p[6]||0,O)):new Date(p[1],e,p[3]||1,p[4]||0,p[5]||0,p[6]||0,O)}}return new Date(b)}(M),this.init()},u.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},u.$utils=function(){return R},u.isValid=function(){return!(this.$d.toString()===i)},u.isSame=function(M,b){var z=h(M);return this.startOf(b)<=z&&z<=this.endOf(b)},u.isAfter=function(M,b){return h(M)<this.startOf(b)},u.isBefore=function(M,b){return this.endOf(b)<h(M)},u.$g=function(M,b,z){return R.u(M)?this[b]:this.set(z,M)},u.unix=function(){return Math.floor(this.valueOf()/1e3)},u.valueOf=function(){return this.$d.getTime()},u.startOf=function(M,b){var z=this,p=!!R.u(b)||b,r=R.p(M),i=function(M,b){var e=R.w(z.$u?Date.UTC(z.$y,b,M):new Date(z.$y,b,M),z);return p?e:e.endOf(c)},d=function(M,b){return R.w(z.toDate()[M].apply(z.toDate("s"),(p?[0,0,0,0]:[23,59,59,999]).slice(b)),z)},q=this.$W,s=this.$M,u=this.$D,f="set"+(this.$u?"UTC":"");switch(r){case t:return p?i(1,0):i(31,11);case a:return p?i(1,s):i(0,s+1);case n:var W=this.$locale().weekStart||0,l=(q<W?q+7:q)-W;return i(p?u-l:u+(6-l),s);case c:case A:return d(f+"Hours",0);case o:return d(f+"Minutes",1);case O:return d(f+"Seconds",2);case e:return d(f+"Milliseconds",3);default:return this.clone()}},u.endOf=function(M){return this.startOf(M,!1)},u.$set=function(M,b){var z,n=R.p(M),r="set"+(this.$u?"UTC":""),i=(z={},z[c]=r+"Date",z[A]=r+"Date",z[a]=r+"Month",z[t]=r+"FullYear",z[o]=r+"Hours",z[O]=r+"Minutes",z[e]=r+"Seconds",z[p]=r+"Milliseconds",z)[n],d=n===c?this.$D+(b-this.$W):b;if(n===a||n===t){var q=this.clone().set(A,1);q.$d[i](d),q.init(),this.$d=q.set(A,Math.min(this.$D,q.daysInMonth())).$d}else i&&this.$d[i](d);return this.init(),this},u.set=function(M,b){return this.clone().$set(M,b)},u.get=function(M){return this[R.p(M)]()},u.add=function(p,r){var A,i=this;p=Number(p);var d=R.p(r),q=function(M){var b=h(i);return R.w(b.date(b.date()+Math.round(M*p)),i)};if(d===a)return this.set(a,this.$M+p);if(d===t)return this.set(t,this.$y+p);if(d===c)return q(1);if(d===n)return q(7);var s=(A={},A[O]=b,A[o]=z,A[e]=M,A)[d]||1,u=this.$d.getTime()+p*s;return R.w(u,this)},u.subtract=function(M,b){return this.add(-1*M,b)},u.format=function(M){var b=this,z=this.$locale();if(!this.isValid())return z.invalidDate||i;var p=M||"YYYY-MM-DDTHH:mm:ssZ",e=R.z(this),O=this.$H,o=this.$m,c=this.$M,n=z.weekdays,a=z.months,r=z.meridiem,t=function(M,z,e,O){return M&&(M[z]||M(b,p))||e[z].slice(0,O)},A=function(M){return R.s(O%12||12,M,"0")},d=r||function(M,b,z){var p=M<12?"AM":"PM";return z?p.toLowerCase():p};return p.replace(q,(function(M,p){return p||function(M){switch(M){case"YY":return String(b.$y).slice(-2);case"YYYY":return R.s(b.$y,4,"0");case"M":return c+1;case"MM":return R.s(c+1,2,"0");case"MMM":return t(z.monthsShort,c,a,3);case"MMMM":return t(a,c);case"D":return b.$D;case"DD":return R.s(b.$D,2,"0");case"d":return String(b.$W);case"dd":return t(z.weekdaysMin,b.$W,n,2);case"ddd":return t(z.weekdaysShort,b.$W,n,3);case"dddd":return n[b.$W];case"H":return String(O);case"HH":return R.s(O,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return d(O,o,!0);case"A":return d(O,o,!1);case"m":return String(o);case"mm":return R.s(o,2,"0");case"s":return String(b.$s);case"ss":return R.s(b.$s,2,"0");case"SSS":return R.s(b.$ms,3,"0");case"Z":return e}return null}(M)||e.replace(":","")}))},u.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},u.diff=function(p,A,i){var d,q=this,s=R.p(A),u=h(p),f=(u.utcOffset()-this.utcOffset())*b,W=this-u,l=function(){return R.m(q,u)};switch(s){case t:d=l()/12;break;case a:d=l();break;case r:d=l()/3;break;case n:d=(W-f)/6048e5;break;case c:d=(W-f)/864e5;break;case o:d=W/z;break;case O:d=W/b;break;case e:d=W/M;break;default:d=W}return i?d:R.a(d)},u.daysInMonth=function(){return this.endOf(a).$D},u.$locale=function(){return l[this.$L]},u.locale=function(M,b){if(!M)return this.$L;var z=this.clone(),p=_(M,b,!0);return p&&(z.$L=p),z},u.clone=function(){return R.w(this.$d,this)},u.toDate=function(){return new Date(this.valueOf())},u.toJSON=function(){return this.isValid()?this.toISOString():null},u.toISOString=function(){return this.$d.toISOString()},u.toString=function(){return this.$d.toUTCString()},s}(),y=N.prototype;return h.prototype=y,[["$ms",p],["$s",e],["$m",O],["$H",o],["$W",c],["$M",a],["$y",t],["$D",A]].forEach((function(M){y[M[1]]=function(b){return this.$g(b,M[0],M[1])}})),h.extend=function(M,b){return M.$i||(M(b,N,h),M.$i=!0),h},h.locale=_,h.isDayjs=L,h.unix=function(M){return h(1e3*M)},h.en=l[W],h.Ls=l,h.p={},h}))})(dayjs_min);var dayjs=dayjs_min.exports;var duration$1={exports:{}};(function(M,b){!function(b,z){M.exports=z()}(commonjsGlobal,(function(){var M,b,z=1e3,p=6e4,e=36e5,O=864e5,o=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=31536e6,n=2628e6,a=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,r={years:c,months:n,days:O,hours:e,minutes:p,seconds:z,milliseconds:1,weeks:6048e5},t=function(M){return M instanceof f},A=function(M,b,z){return new f(M,z,b.$l)},i=function(M){return b.p(M)+"s"},d=function(M){return M<0},q=function(M){return d(M)?Math.ceil(M):Math.floor(M)},s=function(M){return Math.abs(M)},u=function(M,b){return M?d(M)?{negative:!0,format:""+s(M)+b}:{negative:!1,format:""+M+b}:{negative:!1,format:""}},f=function(){function d(M,b,z){var p=this;if(this.$d={},this.$l=z,void 0===M&&(this.$ms=0,this.parseFromMilliseconds()),b)return A(M*r[i(b)],this);if("number"==typeof M)return this.$ms=M,this.parseFromMilliseconds(),this;if("object"==typeof M)return Object.keys(M).forEach((function(b){p.$d[i(b)]=M[b]})),this.calMilliseconds(),this;if("string"==typeof M){var e=M.match(a);if(e){var O=e.slice(2).map((function(M){return null!=M?Number(M):0}));return this.$d.years=O[0],this.$d.months=O[1],this.$d.weeks=O[2],this.$d.days=O[3],this.$d.hours=O[4],this.$d.minutes=O[5],this.$d.seconds=O[6],this.calMilliseconds(),this}}return this}var s=d.prototype;return s.calMilliseconds=function(){var M=this;this.$ms=Object.keys(this.$d).reduce((function(b,z){return b+(M.$d[z]||0)*r[z]}),0)},s.parseFromMilliseconds=function(){var M=this.$ms;this.$d.years=q(M/c),M%=c,this.$d.months=q(M/n),M%=n,this.$d.days=q(M/O),M%=O,this.$d.hours=q(M/e),M%=e,this.$d.minutes=q(M/p),M%=p,this.$d.seconds=q(M/z),M%=z,this.$d.milliseconds=M},s.toISOString=function(){var M=u(this.$d.years,"Y"),b=u(this.$d.months,"M"),z=+this.$d.days||0;this.$d.weeks&&(z+=7*this.$d.weeks);var p=u(z,"D"),e=u(this.$d.hours,"H"),O=u(this.$d.minutes,"M"),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var c=u(o,"S"),n=M.negative||b.negative||p.negative||e.negative||O.negative||c.negative,a=e.format||O.format||c.format?"T":"",r=(n?"-":"")+"P"+M.format+b.format+p.format+a+e.format+O.format+c.format;return"P"===r||"-P"===r?"P0D":r},s.toJSON=function(){return this.toISOString()},s.format=function(M){var z=M||"YYYY-MM-DDTHH:mm:ss",p={Y:this.$d.years,YY:b.s(this.$d.years,2,"0"),YYYY:b.s(this.$d.years,4,"0"),M:this.$d.months,MM:b.s(this.$d.months,2,"0"),D:this.$d.days,DD:b.s(this.$d.days,2,"0"),H:this.$d.hours,HH:b.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:b.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:b.s(this.$d.seconds,2,"0"),SSS:b.s(this.$d.milliseconds,3,"0")};return z.replace(o,(function(M,b){return b||String(p[M])}))},s.as=function(M){return this.$ms/r[i(M)]},s.get=function(M){var b=this.$ms,z=i(M);return"milliseconds"===z?b%=1e3:b="weeks"===z?q(b/r[z]):this.$d[z],b||0},s.add=function(M,b,z){var p;return p=b?M*r[i(b)]:t(M)?M.$ms:A(M,this).$ms,A(this.$ms+p*(z?-1:1),this)},s.subtract=function(M,b){return this.add(M,b,!0)},s.locale=function(M){var b=this.clone();return b.$l=M,b},s.clone=function(){return A(this.$ms,this)},s.humanize=function(b){return M().add(this.$ms,"ms").locale(this.$l).fromNow(!b)},s.valueOf=function(){return this.asMilliseconds()},s.milliseconds=function(){return this.get("milliseconds")},s.asMilliseconds=function(){return this.as("milliseconds")},s.seconds=function(){return this.get("seconds")},s.asSeconds=function(){return this.as("seconds")},s.minutes=function(){return this.get("minutes")},s.asMinutes=function(){return this.as("minutes")},s.hours=function(){return this.get("hours")},s.asHours=function(){return this.as("hours")},s.days=function(){return this.get("days")},s.asDays=function(){return this.as("days")},s.weeks=function(){return this.get("weeks")},s.asWeeks=function(){return this.as("weeks")},s.months=function(){return this.get("months")},s.asMonths=function(){return this.as("months")},s.years=function(){return this.get("years")},s.asYears=function(){return this.as("years")},d}(),W=function(M,b,z){return M.add(b.years()*z,"y").add(b.months()*z,"M").add(b.days()*z,"d").add(b.hours()*z,"h").add(b.minutes()*z,"m").add(b.seconds()*z,"s").add(b.milliseconds()*z,"ms")};return function(z,p,e){M=e,b=e().$utils(),e.duration=function(M,b){var z=e.locale();return A(M,{$l:z},b)},e.isDuration=t;var O=p.prototype.add,o=p.prototype.subtract;p.prototype.add=function(M,b){return t(M)?W(this,M,1):O.bind(this)(M,b)},p.prototype.subtract=function(M,b){return t(M)?W(this,M,-1):o.bind(this)(M,b)}}}))})(duration$1);var duration=duration$1.exports;var momentWithLocales={exports:{}};(function(M,b){(function(b,z){M.exports=z()})(commonjsGlobal,(function(){var b;function z(){return b.apply(null,arguments)}function p(M){b=M}function e(M){return M instanceof Array||Object.prototype.toString.call(M)==="[object Array]"}function O(M){return M!=null&&Object.prototype.toString.call(M)==="[object Object]"}function o(M,b){return Object.prototype.hasOwnProperty.call(M,b)}function c(M){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(M).length===0}else{var b;for(b in M){if(o(M,b)){return false}}return true}}function n(M){return M===void 0}function a(M){return typeof M==="number"||Object.prototype.toString.call(M)==="[object Number]"}function r(M){return M instanceof Date||Object.prototype.toString.call(M)==="[object Date]"}function t(M,b){var z=[],p,e=M.length;for(p=0;p<e;++p){z.push(b(M[p],p))}return z}function A(M,b){for(var z in b){if(o(b,z)){M[z]=b[z]}}if(o(b,"toString")){M.toString=b.toString}if(o(b,"valueOf")){M.valueOf=b.valueOf}return M}function i(M,b,z,p){return Uz(M,b,z,p,true).utc()}function d(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidEra:null,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],era:null,meridiem:null,rfc2822:false,weekdayMismatch:false}}function q(M){if(M._pf==null){M._pf=d()}return M._pf}var s;if(Array.prototype.some){s=Array.prototype.some}else{s=function(M){var b=Object(this),z=b.length>>>0,p;for(p=0;p<z;p++){if(p in b&&M.call(this,b[p],p,b)){return true}}return false}}function u(M){var b=null,z=false,p=M._d&&!isNaN(M._d.getTime());if(p){b=q(M);z=s.call(b.parsedDateParts,(function(M){return M!=null}));p=b.overflow<0&&!b.empty&&!b.invalidEra&&!b.invalidMonth&&!b.invalidWeekday&&!b.weekdayMismatch&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&z);if(M._strict){p=p&&b.charsLeftOver===0&&b.unusedTokens.length===0&&b.bigHour===undefined}}if(Object.isFrozen==null||!Object.isFrozen(M)){M._isValid=p}else{return p}return M._isValid}function f(M){var b=i(NaN);if(M!=null){A(q(b),M)}else{q(b).userInvalidated=true}return b}var W=z.momentProperties=[],l=false;function m(M,b){var z,p,e,O=W.length;if(!n(b._isAMomentObject)){M._isAMomentObject=b._isAMomentObject}if(!n(b._i)){M._i=b._i}if(!n(b._f)){M._f=b._f}if(!n(b._l)){M._l=b._l}if(!n(b._strict)){M._strict=b._strict}if(!n(b._tzm)){M._tzm=b._tzm}if(!n(b._isUTC)){M._isUTC=b._isUTC}if(!n(b._offset)){M._offset=b._offset}if(!n(b._pf)){M._pf=q(b)}if(!n(b._locale)){M._locale=b._locale}if(O>0){for(z=0;z<O;z++){p=W[z];e=b[p];if(!n(e)){M[p]=e}}}return M}function L(M){m(this,M);this._d=new Date(M._d!=null?M._d.getTime():NaN);if(!this.isValid()){this._d=new Date(NaN)}if(l===false){l=true;z.updateOffset(this);l=false}}function _(M){return M instanceof L||M!=null&&M._isAMomentObject!=null}function h(M){if(z.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+M)}}function R(M,b){var p=true;return A((function(){if(z.deprecationHandler!=null){z.deprecationHandler(null,M)}if(p){var e=[],O,c,n,a=arguments.length;for(c=0;c<a;c++){O="";if(typeof arguments[c]==="object"){O+="\n["+c+"] ";for(n in arguments[0]){if(o(arguments[0],n)){O+=n+": "+arguments[0][n]+", "}}O=O.slice(0,-2)}else{O=arguments[c]}e.push(O)}h(M+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack);p=false}return b.apply(this,arguments)}),b)}var N={};function y(M,b){if(z.deprecationHandler!=null){z.deprecationHandler(M,b)}if(!N[M]){h(b);N[M]=true}}z.suppressDeprecationWarnings=false;z.deprecationHandler=null;function T(M){return typeof Function!=="undefined"&&M instanceof Function||Object.prototype.toString.call(M)==="[object Function]"}function g(M){var b,z;for(z in M){if(o(M,z)){b=M[z];if(T(b)){this[z]=b}else{this["_"+z]=b}}}this._config=M;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function v(M,b){var z=A({},M),p;for(p in b){if(o(b,p)){if(O(M[p])&&O(b[p])){z[p]={};A(z[p],M[p]);A(z[p],b[p])}else if(b[p]!=null){z[p]=b[p]}else{delete z[p]}}}for(p in M){if(o(M,p)&&!o(b,p)&&O(M[p])){z[p]=A({},z[p])}}return z}function Y(M){if(M!=null){this.set(M)}}var B;if(Object.keys){B=Object.keys}else{B=function(M){var b,z=[];for(b in M){if(o(M,b)){z.push(b)}}return z}}var k={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function D(M,b,z){var p=this._calendar[M]||this._calendar["sameElse"];return T(p)?p.call(b,z):p}function X(M,b,z){var p=""+Math.abs(M),e=b-p.length,O=M>=0;return(O?z?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+p}var w=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,S=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,H={},E={};function j(M,b,z,p){var e=p;if(typeof p==="string"){e=function(){return this[p]()}}if(M){E[M]=e}if(b){E[b[0]]=function(){return X(e.apply(this,arguments),b[1],b[2])}}if(z){E[z]=function(){return this.localeData().ordinal(e.apply(this,arguments),M)}}}function P(M){if(M.match(/\[[\s\S]/)){return M.replace(/^\[|\]$/g,"")}return M.replace(/\\/g,"")}function x(M){var b=M.match(w),z,p;for(z=0,p=b.length;z<p;z++){if(E[b[z]]){b[z]=E[b[z]]}else{b[z]=P(b[z])}}return function(z){var e="",O;for(O=0;O<p;O++){e+=T(b[O])?b[O].call(z,M):b[O]}return e}}function C(M,b){if(!M.isValid()){return M.localeData().invalidDate()}b=F(b,M.localeData());H[b]=H[b]||x(b);return H[b](M)}function F(M,b){var z=5;function p(M){return b.longDateFormat(M)||M}S.lastIndex=0;while(z>=0&&S.test(M)){M=M.replace(S,p);S.lastIndex=0;z-=1}return M}var I={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $(M){var b=this._longDateFormat[M],z=this._longDateFormat[M.toUpperCase()];if(b||!z){return b}this._longDateFormat[M]=z.match(w).map((function(M){if(M==="MMMM"||M==="MM"||M==="DD"||M==="dddd"){return M.slice(1)}return M})).join("");return this._longDateFormat[M]}var U="Invalid date";function G(){return this._invalidDate}var J="%d",K=/\d{1,2}/;function V(M){return this._ordinal.replace("%d",M)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Z(M,b,z,p){var e=this._relativeTime[z];return T(e)?e(M,b,z,p):e.replace(/%d/i,M)}function MM(M,b){var z=this._relativeTime[M>0?"future":"past"];return T(z)?z(b):z.replace(/%s/i,b)}var bM={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function zM(M){return typeof M==="string"?bM[M]||bM[M.toLowerCase()]:undefined}function pM(M){var b={},z,p;for(p in M){if(o(M,p)){z=zM(p);if(z){b[z]=M[p]}}}return b}var eM={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function OM(M){var b=[],z;for(z in M){if(o(M,z)){b.push({unit:z,priority:eM[z]})}}b.sort((function(M,b){return M.priority-b.priority}));return b}var oM=/\d/,cM=/\d\d/,nM=/\d{3}/,aM=/\d{4}/,rM=/[+-]?\d{6}/,tM=/\d\d?/,AM=/\d\d\d\d?/,iM=/\d\d\d\d\d\d?/,dM=/\d{1,3}/,qM=/\d{1,4}/,sM=/[+-]?\d{1,6}/,uM=/\d+/,fM=/[+-]?\d+/,WM=/Z|[+-]\d\d:?\d\d/gi,lM=/Z|[+-]\d\d(?::?\d\d)?/gi,mM=/[+-]?\d+(\.\d{1,3})?/,LM=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,_M=/^[1-9]\d?/,hM=/^([1-9]\d|\d)/,RM;RM={};function NM(M,b,z){RM[M]=T(b)?b:function(M,p){return M&&z?z:b}}function yM(M,b){if(!o(RM,M)){return new RegExp(TM(M))}return RM[M](b._strict,b._locale)}function TM(M){return gM(M.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(M,b,z,p,e){return b||z||p||e})))}function gM(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function vM(M){if(M<0){return Math.ceil(M)||0}else{return Math.floor(M)}}function YM(M){var b=+M,z=0;if(b!==0&&isFinite(b)){z=vM(b)}return z}var BM={};function kM(M,b){var z,p=b,e;if(typeof M==="string"){M=[M]}if(a(b)){p=function(M,z){z[b]=YM(M)}}e=M.length;for(z=0;z<e;z++){BM[M[z]]=p}}function DM(M,b){kM(M,(function(M,z,p,e){p._w=p._w||{};b(M,p._w,p,e)}))}function XM(M,b,z){if(b!=null&&o(BM,M)){BM[M](b,z._a,z,M)}}function wM(M){return M%4===0&&M%100!==0||M%400===0}var SM=0,HM=1,EM=2,jM=3,PM=4,xM=5,CM=6,FM=7,IM=8;j("Y",0,0,(function(){var M=this.year();return M<=9999?X(M,4):"+"+M}));j(0,["YY",2],0,(function(){return this.year()%100}));j(0,["YYYY",4],0,"year");j(0,["YYYYY",5],0,"year");j(0,["YYYYYY",6,true],0,"year");NM("Y",fM);NM("YY",tM,cM);NM("YYYY",qM,aM);NM("YYYYY",sM,rM);NM("YYYYYY",sM,rM);kM(["YYYYY","YYYYYY"],SM);kM("YYYY",(function(M,b){b[SM]=M.length===2?z.parseTwoDigitYear(M):YM(M)}));kM("YY",(function(M,b){b[SM]=z.parseTwoDigitYear(M)}));kM("Y",(function(M,b){b[SM]=parseInt(M,10)}));function $M(M){return wM(M)?366:365}z.parseTwoDigitYear=function(M){return YM(M)+(YM(M)>68?1900:2e3)};var UM=JM("FullYear",true);function GM(){return wM(this.year())}function JM(M,b){return function(p){if(p!=null){VM(this,M,p);z.updateOffset(this,b);return this}else{return KM(this,M)}}}function KM(M,b){if(!M.isValid()){return NaN}var z=M._d,p=M._isUTC;switch(b){case"Milliseconds":return p?z.getUTCMilliseconds():z.getMilliseconds();case"Seconds":return p?z.getUTCSeconds():z.getSeconds();case"Minutes":return p?z.getUTCMinutes():z.getMinutes();case"Hours":return p?z.getUTCHours():z.getHours();case"Date":return p?z.getUTCDate():z.getDate();case"Day":return p?z.getUTCDay():z.getDay();case"Month":return p?z.getUTCMonth():z.getMonth();case"FullYear":return p?z.getUTCFullYear():z.getFullYear();default:return NaN}}function VM(M,b,z){var p,e,O,o,c;if(!M.isValid()||isNaN(z)){return}p=M._d;e=M._isUTC;switch(b){case"Milliseconds":return void(e?p.setUTCMilliseconds(z):p.setMilliseconds(z));case"Seconds":return void(e?p.setUTCSeconds(z):p.setSeconds(z));case"Minutes":return void(e?p.setUTCMinutes(z):p.setMinutes(z));case"Hours":return void(e?p.setUTCHours(z):p.setHours(z));case"Date":return void(e?p.setUTCD