Explorar o código

Merge branch 'master' of https://gitee.com/bhikkhu-kosalla/mint

bhikkhu-kosalla-china %!s(int64=4) %!d(string=hai) anos
pai
achega
b02284b542
Modificáronse 100 ficheiros con 11731 adicións e 25094 borrados
  1. 0 42
      .favorites.json
  2. 17 8
      .gitignore
  3. 0 22
      .vscode/launch.json
  4. 0 14
      .vscode/settings.json
  5. 3 2
      app/article/index.php
  6. 8 0
      app/commit/commit.css
  7. 9 33
      app/commit/commit.js
  8. 49 0
      app/db/pali_sent.php
  9. 49 0
      app/db/pali_sim_sent.php
  10. 0 1
      app/db/pali_text.php
  11. 1 1
      app/doc/load_channal_para.php
  12. 2 2
      app/pali_sent/get_sim.php
  13. 8 1
      app/pali_sent/pali_sent.php
  14. BIN=BIN
      app/pcdl/css/.DS_Store
  15. 30 16
      app/public/css/notify.css
  16. 18 0
      app/public/js/comm.js
  17. 10881 0
      app/public/js/jquery-3.6.js
  18. 38 36
      app/public/js/notify.js
  19. 33 2
      app/reader/get_para.php
  20. 3 0
      app/reader/index.php
  21. 102 94
      app/reader/reader.js
  22. 29 5
      app/search/paliword.js
  23. 3 1
      app/search/paliword.php
  24. 2 2
      app/search/paliword_sc.php
  25. 2 1
      app/search/search.css
  26. BIN=BIN
      app/studio/css/.DS_Store
  27. 0 1
      app/studio/css/style.css
  28. 11 3
      app/studio/editor.php
  29. 1 1
      app/studio/project_load_db.php
  30. 22 4
      app/sync/sync.js
  31. 1 1
      app/sync/table_article.php
  32. 10 1
      app/sync/table_article_collect.php
  33. 1 1
      app/sync/table_channel.php
  34. 0 1
      app/sync/table_term_editor.php
  35. 0 49
      app/sync/table_user_wbw_block.php
  36. 43 0
      app/sync/table_wbw.php
  37. 44 0
      app/sync/table_wbw_block.php
  38. 101 87
      app/term/note.js
  39. 25 17
      app/term/pali_sim_sent.js
  40. 23 1
      app/term/term.css
  41. 2 0
      app/usent/get.php
  42. 45 5
      app/uwbw/update.js
  43. 5 5
      app/widget/iframe_modal_win.css
  44. 30 0
      app/widget/notify.css
  45. 80 0
      app/widget/notify.js
  46. 0 768
      composer.lock
  47. 0 15
      node_modules/.bin/marked
  48. 0 17
      node_modules/.bin/marked.cmd
  49. 0 18
      node_modules/.bin/marked.ps1
  50. 0 93
      node_modules/highcharts/README.md
  51. 0 7
      node_modules/highcharts/bower.json
  52. 0 235
      node_modules/highcharts/css/annotations/popup.css
  53. 0 239
      node_modules/highcharts/css/annotations/popup.scss
  54. 0 950
      node_modules/highcharts/css/highcharts.css
  55. 0 841
      node_modules/highcharts/css/highcharts.scss
  56. 0 265
      node_modules/highcharts/css/stocktools/gui.css
  57. 0 265
      node_modules/highcharts/css/stocktools/gui.scss
  58. 0 1011
      node_modules/highcharts/css/themes/dark-unica.css
  59. 0 122
      node_modules/highcharts/css/themes/dark-unica.scss
  60. 0 964
      node_modules/highcharts/css/themes/grid-light.css
  61. 0 33
      node_modules/highcharts/css/themes/grid-light.scss
  62. 0 980
      node_modules/highcharts/css/themes/sand-signika.css
  63. 0 74
      node_modules/highcharts/css/themes/sand-signika.scss
  64. 0 251
      node_modules/highcharts/es-modules/Accessibility/A11yI18n.js
  65. 0 285
      node_modules/highcharts/es-modules/Accessibility/Accessibility.js
  66. 0 380
      node_modules/highcharts/es-modules/Accessibility/AccessibilityComponent.js
  67. 0 135
      node_modules/highcharts/es-modules/Accessibility/Components/AnnotationsA11y.js
  68. 0 114
      node_modules/highcharts/es-modules/Accessibility/Components/ContainerComponent.js
  69. 0 469
      node_modules/highcharts/es-modules/Accessibility/Components/InfoRegionsComponent.js
  70. 0 321
      node_modules/highcharts/es-modules/Accessibility/Components/LegendComponent.js
  71. 0 349
      node_modules/highcharts/es-modules/Accessibility/Components/MenuComponent.js
  72. 0 414
      node_modules/highcharts/es-modules/Accessibility/Components/RangeSelectorComponent.js
  73. 0 171
      node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js
  74. 0 255
      node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js
  75. 0 109
      node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js
  76. 0 399
      node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js
  77. 0 579
      node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js
  78. 0 289
      node_modules/highcharts/es-modules/Accessibility/Components/ZoomComponent.js
  79. 0 262
      node_modules/highcharts/es-modules/Accessibility/FocusBorder.js
  80. 0 83
      node_modules/highcharts/es-modules/Accessibility/HighContrastMode.js
  81. 0 211
      node_modules/highcharts/es-modules/Accessibility/HighContrastTheme.js
  82. 0 363
      node_modules/highcharts/es-modules/Accessibility/KeyboardNavigation.js
  83. 0 99
      node_modules/highcharts/es-modules/Accessibility/KeyboardNavigationHandler.js
  84. 0 233
      node_modules/highcharts/es-modules/Accessibility/Options/DeprecatedOptions.js
  85. 0 340
      node_modules/highcharts/es-modules/Accessibility/Options/LangOptions.js
  86. 0 813
      node_modules/highcharts/es-modules/Accessibility/Options/Options.js
  87. 0 67
      node_modules/highcharts/es-modules/Accessibility/Utils/Announcer.js
  88. 0 276
      node_modules/highcharts/es-modules/Accessibility/Utils/ChartUtilities.js
  89. 0 50
      node_modules/highcharts/es-modules/Accessibility/Utils/DOMElementProvider.js
  90. 0 48
      node_modules/highcharts/es-modules/Accessibility/Utils/EventProvider.js
  91. 0 222
      node_modules/highcharts/es-modules/Accessibility/Utils/HTMLUtilities.js
  92. 0 193
      node_modules/highcharts/es-modules/Core/Animation/AnimationUtilities.js
  93. 0 395
      node_modules/highcharts/es-modules/Core/Animation/Fx.js
  94. 0 6099
      node_modules/highcharts/es-modules/Core/Axis/Axis.js
  95. 0 611
      node_modules/highcharts/es-modules/Core/Axis/Axis3D.js
  96. 0 532
      node_modules/highcharts/es-modules/Core/Axis/BrokenAxis.js
  97. 0 1158
      node_modules/highcharts/es-modules/Core/Axis/ColorAxis.js
  98. 0 177
      node_modules/highcharts/es-modules/Core/Axis/DateTimeAxis.js
  99. 0 939
      node_modules/highcharts/es-modules/Core/Axis/GridAxis.js
  100. 0 46
      node_modules/highcharts/es-modules/Core/Axis/HiddenAxis.js

+ 0 - 42
.favorites.json

@@ -1,42 +0,0 @@
-[
-    {
-        "type": "Directory",
-        "name": "/Users/pannabhinanda/Documents/GitHub/mint/app/studio",
-        "parent_id": null,
-        "workspaceRoot": "/Users/pannabhinanda/Documents/GitHub/mint",
-        "workspacePath": "app/studio",
-        "id": "l0LIqg3rmy8bkGVw"
-    },
-    {
-        "type": "Directory",
-        "name": "/Users/pannabhinanda/Documents/GitHub/mint/app/pcdl",
-        "parent_id": null,
-        "workspaceRoot": "/Users/pannabhinanda/Documents/GitHub/mint",
-        "workspacePath": "app/pcdl",
-        "id": "fFrl5CSnahWegGjw"
-    },
-    {
-        "type": "File",
-        "name": "/Users/pannabhinanda/Documents/GitHub/mint/app/ucenter/user.php",
-        "parent_id": null,
-        "workspaceRoot": "/Users/pannabhinanda/Documents/GitHub/mint",
-        "workspacePath": "app/ucenter/user.php",
-        "id": "Gzn2U0X5mR4wdoVK"
-    },
-    {
-        "type": "Directory",
-        "name": "/Users/pannabhinanda/Documents/GitHub/mint/app/palicanon",
-        "parent_id": null,
-        "workspaceRoot": "/Users/pannabhinanda/Documents/GitHub/mint",
-        "workspacePath": "app/palicanon",
-        "id": "6xoKe2dpJw3YN7BG"
-    },
-    {
-        "type": "Directory",
-        "name": "/Users/pannabhinanda/Documents/GitHub/mint/app/public/book_tag",
-        "parent_id": null,
-        "workspaceRoot": "/Users/pannabhinanda/Documents/GitHub/mint",
-        "workspacePath": "app/public/book_tag",
-        "id": "mspAzHVocFIxqJTu"
-    }
-]

+ 17 - 8
.gitignore

@@ -1,9 +1,18 @@
-/.debug
-/.vscode
-/tmp
-/.vscode
+# editors
+/.vscode/
 .DS_Store
-/.debug
-.favorites.json
-/vendor
-/node_modules
+
+# misc
+/appdata/
+/log/
+/palicsv/
+/user/
+/.debug/
+/tmp/
+/.favorites.json
+/package-lock.json
+/composer.lock
+
+# dependencies
+/vendor/
+/node_modules/

+ 0 - 22
.vscode/launch.json

@@ -1,22 +0,0 @@
-{
-  // 使用 IntelliSense 了解相关属性。
-  // 悬停以查看现有属性的描述。
-  // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
-  "version": "0.2.0",
-  "configurations": [
-  
-    {
-      "type": "chrome",
-      "request": "launch",
-      "name": "Launch Chrome against localhost",
-      "url": "http://localhost:80/mint/app",
-      "webRoot": "${workspaceFolder}"
-    },
-    {
-      "name": "Listen for XDebug",
-      "type": "php",
-      "request": "launch",
-      "port": 9000
-    }
-  ]
-}

+ 0 - 14
.vscode/settings.json

@@ -1,14 +0,0 @@
-{
-	"files.autoSave": "onFocusChange",
-	"workbench.iconTheme": "material-icon-theme",
-	"workbench.colorTheme": "Visual Studio Dark",
-	/*"editor.fontFamily": "SauceCodePro Nerd Font",*/
-	"editor.mouseWheelZoom": true,
-	"editor.codeActionsOnSave": {
-		"source.fixAll.eslint": true
-	},
-	"svg.preview.background": "transparent",
-	"editor.fontSize": 15,
-	"editor.wordWrap": "on",
-	"editor.formatOnSave": true
-}

+ 3 - 2
app/article/index.php

@@ -37,7 +37,8 @@ require_once "../pcdl/html_head.php";
 	if(isset($_GET["author"])){
 		echo "_author='".$_GET["author"]."';";
 	}
-	if(isset($_GET["mode"]) && $_GET["mode"]=="edit"){
+	if(isset($_GET["mode"]) && $_GET["mode"]=="edit" && isset($_COOKIE["userid"])){
+		#登录状态下 编辑模式
 		$_mode = "edit";
 		echo "_mode='edit';";
 	}
@@ -52,7 +53,7 @@ require_once "../pcdl/html_head.php";
 		}
 		else{
 			$_display = $_GET["display"];
-			echo "_display='".$_GET["display"]."';";			
+			echo "_display='".$_GET["display"]."';";	
 		}
 	}
 	else{

+ 8 - 0
app/commit/commit.css

@@ -60,3 +60,11 @@ ins {
 .commit_win_inner {
 	padding: 1em;
 }
+.commit_win_inner #step1 {
+	display: flex;
+	flex-direction: column;
+}
+.commit_win_inner .channel {
+	font-size: 110%;
+	padding: 5px, 5px, 5px, 20px;
+}

+ 9 - 33
app/commit/commit.js

@@ -21,10 +21,11 @@ function commit_render_channel_select() {
 	let html = "";
 	html += "<div class='commit_win_inner' >";
 	html += commit_render_head(1);
-	html += "<div style='display:flex;'>";
+	html += "<div id='step1' >";
 
 	if (typeof _commit_data.src != "undefined") {
-		html += "<div>译文来源:";
+		html += "<div >译文来源</div>";
+		html += "<div class='channel'>";
 		let isFound = false;
 		for (const iterator of _my_channal) {
 			if (_commit_data.src == iterator.id) {
@@ -50,8 +51,8 @@ function commit_render_channel_select() {
 		html += "<div>请选择译文来源";
 		html += "</div>";
 	}
-	html += "<div>目标译文:</div>";
-	html += "<div>";
+	html += "<div>目标译文:</div>";
+	html += "<div class='channel'>";
 	html += "<select id='dest_channel' onchange='dest_change(this)'>";
 	if (typeof _commit_data.dest == "undefined") {
 		let lastDest = localStorage.getItem("commit_dest_" + _commit_data.dest);
@@ -250,18 +251,14 @@ function commit_render_comp(mode) {
 							html += "<ins>" + iterator.translation[0].text + "</ins>";
 						} else {
 							if (iterator.translation[0].update_time > iterator.translation[1].update_time) {
-								html += commit_render_diff(iterator.translation[1].text, iterator.translation[0].text);
-								//html += "<del>" + iterator.translation[1].text + "</del><br>";
-								//html += "<ins>" + iterator.translation[0].text + "</ins>";
+								html += str_diff(iterator.translation[1].text, iterator.translation[0].text);
 							} else {
 								html += "[新]" + iterator.translation[1].text;
 							}
 						}
 						break;
 					case 1:
-						html += commit_render_diff(iterator.translation[1].text, iterator.translation[0].text);
-						//html += "<del>" + iterator.translation[1].text + "</del><br>";
-						//html += "<ins>" + iterator.translation[0].text + "</ins>";
+						html += str_diff(iterator.translation[1].text, iterator.translation[0].text);
 						break;
 					case 2:
 						html += iterator.translation[1].text;
@@ -281,25 +278,6 @@ function commit_render_comp(mode) {
 	return html;
 }
 
-function commit_render_diff(str1, str2) {
-	let output = "";
-
-	const diff = Diff.diffChars(str1, str2);
-
-	diff.forEach((part) => {
-		// green for additions, red for deletions
-		// grey for common parts
-		if (part.added) {
-			output += "<ins>" + part.value + "</ins>";
-		} else if (part.removed) {
-			output += "<del>" + part.value + "</del>";
-		} else {
-			output += part.value;
-		}
-	});
-	return output;
-}
-
 function commit_sent_select(obj) {
 	let sent_id = $(obj).attr("sent_id");
 	for (let iterator of sentData) {
@@ -342,12 +320,10 @@ function commit_pull() {
 	let pullData = new Array();
 	for (const iterator of sentData) {
 		if (iterator.checked) {
-			for (const iterator of _arrData) {
-				pullData.push(iterator.book + "-" + iterator.para + "-" + iterator.begin + "-" + iterator.end);
-			}
-			_commit_data.sent = pullData;
+			pullData.push(iterator.book + "-" + iterator.para + "-" + iterator.begin + "-" + iterator.end);
 		}
 	}
+	_commit_data.sent = pullData;
 	if (pullData.length == 0) {
 		alert("没有数据被选择");
 		return;

+ 49 - 0
app/db/pali_sent.php

@@ -0,0 +1,49 @@
+<?php
+require_once "../path.php";
+require_once "../db/table.php";
+
+class PaliSentence extends Table
+{
+    function __construct($redis=false) {
+		parent::__construct(_FILE_DB_PALI_SENTENCE_, "pali_sent", "", "",$redis);
+    }
+
+	public function getId($book,$para,$start,$end)
+	{
+		if (isset($book) && isset($para)) 
+		{
+			if($this->redis!==false){
+				$result = $this->redis->hGet('pali://sent/' . $book . "_" . $para . "_" . $start . "_" . $end, "id");
+				if($result!==FALSE){
+					return $result;
+				}
+			}
+			$id=0;
+			$query = "SELECT id from pali_sent where book = ? and paragraph = ? and begin=? and end=?";
+			$stmt = $this->dbh->prepare($query);
+			$stmt->execute(array($book,$para,$start,$end));
+			$result = $stmt->fetch(PDO::FETCH_ASSOC);
+			if ($result) {
+				$id= $result["id"];
+			}
+			$output = $this->redis->hSet('pali://sent/' . $book . "_" . $para . "_" . $start . "_" . $end, "id",$id);
+			return $id;
+		} else {
+			return 0;
+		}
+	}
+	public function getInfo($id)
+	{
+		$query = "SELECT book,paragraph, begin,end from pali_sent where id = ? ";
+		$stmt = $this->dbh->prepare($query);
+		$stmt->execute(array($id));
+		$result = $stmt->fetch(PDO::FETCH_ASSOC);
+		if ($result) {
+			return $result;
+		}
+		return false;
+	}
+
+}
+
+?>

+ 49 - 0
app/db/pali_sim_sent.php

@@ -0,0 +1,49 @@
+<?php
+require_once "../path.php";
+require_once "../db/table.php";
+
+class PaliSimSentence extends Table
+{
+    function __construct($redis=false) {
+		parent::__construct(_FILE_DB_PALI_SENTENCE_SIM_, "sent_sim", "", "",$redis);
+    }
+
+	public function getSimById($id)
+	{
+
+			if($this->redis!==false){
+				$result = $this->redis->hGet('pali://sim/id' , $id );
+				if($result!==FALSE){
+					return  json_decode($result,true);
+				}
+			}
+			$query = "SELECT sent2 as id  FROM sent_sim WHERE  sent1 = ? ";
+			$stmt = $this->dbh->prepare($query);
+			if($stmt){
+				$stmt->execute(array($id));
+				$simList = $stmt->fetchAll(PDO::FETCH_ASSOC);
+				$output =  json_encode($simList, JSON_UNESCAPED_UNICODE);
+				
+				$this->redis->hSet('pali://sim/id',$id, $output);
+				return $simList;
+			}
+			else{
+				return false;
+			}
+
+	}
+	public function getInfo($id)
+	{
+		$query = "SELECT book,paragraph, begin,end from pali_sent where id = ? ";
+		$stmt = $this->dbh->prepare($query);
+		$stmt->execute(array($id));
+		$result = $stmt->fetch(PDO::FETCH_ASSOC);
+		if ($result) {
+			return $result;
+		}
+		return false;
+	}
+
+}
+
+?>

+ 0 - 1
app/db/pali_text.php

@@ -1,6 +1,5 @@
 <?php
 require_once "../path.php";
-require_once "../share/function.php";
 require_once "../db/table.php";
 
 class PaliText extends Table

+ 1 - 1
app/doc/load_channal_para.php

@@ -69,7 +69,7 @@ foreach ($paralist as $para) {
 
         echo "<data>\n";
         $block_id = $FetchBlock["id"];
-        $query = "select * from wbw where block_id= ? ";
+        $query = "SELECT * from wbw where block_id= ? order by wid ASC";
         $stmt = $dh_wbw->prepare($query);
         $stmt->execute(array($block_id));
         $wbw_data = $stmt->fetchAll(PDO::FETCH_ASSOC);

+ 2 - 2
app/pali_sent/get_sim.php

@@ -9,7 +9,7 @@ require_once "../public/function.php";
 //获取相似句子列表
 
 if (isset($_POST["sent_id"])) {
-    $dns = "" . _FILE_DB_PALI_SENTENCE_SIM_;
+    $dns = _FILE_DB_PALI_SENTENCE_SIM_;
     $dbh_sim = new PDO($dns, "", "", array(PDO::ATTR_PERSISTENT => true));
     $dbh_sim->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
     $query = "SELECT sent2 FROM sent_sim WHERE  sent1 = ? limit 0 , 10";
@@ -23,7 +23,7 @@ if (isset($_POST["sent_id"])) {
 }
 $output = array();
 
-$dns = "" . _FILE_DB_PALI_SENTENCE_;
+$dns = _FILE_DB_PALI_SENTENCE_;
 $dbh = new PDO($dns, "", "", array(PDO::ATTR_PERSISTENT => true));
 $dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);
 

+ 8 - 1
app/pali_sent/pali_sent.php

@@ -196,9 +196,16 @@ tag {
 }
 /*書標題特殊樣式*/
 .chapter_list .level_1 {
-	background: linear-gradient(45deg, #e89650 20%, transparent 90%);
 	color: whitesmoke;
 }
+.book_view .level_1 {
+	background: linear-gradient(45deg, #e89650 20%, transparent 90%);
+}
+/*当前选择書標題特殊樣式*/
+li.level_1.selected {
+	height: 250px;
+	background: linear-gradient(45deg, #e89650 20%, transparent 90%);
+}
 .progress_circle {
 	transform-origin: center;
 	transform: rotateZ(-90deg);

BIN=BIN
app/pcdl/css/.DS_Store


+ 30 - 16
app/public/css/notify.css

@@ -1,16 +1,30 @@
-	.pcd_notify{
-		position: fixed;
-		top:3.6em;
-		left: 40vw;
-		min-width:20em;
-		max-width:95%;
-		text-align:center;
-		background-color:rgba(128, 128, 128, 0.64);
-		color:white;
-		padding:5px;
-		margin-left:auto;
-		margin-right:auto;
-		border-radius: 8px;
-		-webkit-transition-duration: 0.5s;
-		transition-duration: 0.5;
-	}
+.pcd_notify {
+	position: fixed;
+	top: 3.6em;
+	left: 40vw;
+	min-width: 20em;
+	max-width: 95%;
+	text-align: center;
+	background-color: rgba(128, 128, 128, 0.64);
+	color: white;
+	padding: 5px;
+	margin-left: auto;
+	margin-right: auto;
+	border-radius: 8px;
+	-webkit-transition-duration: 0.5s;
+	transition-duration: 0.5;
+	z-index: 2000;
+}
+.pcd_notify_bar {
+	position: fixed;
+	top: 6em;
+	left: 0;
+	width: 100%;
+	text-align: left;
+	background-color: rgba(255, 72, 0, 0.753);
+	color: rgb(0, 0, 0);
+	padding: 5px;
+	-webkit-transition-duration: 0.5s;
+	transition-duration: 0.5;
+	z-index: 2000;
+}

+ 18 - 0
app/public/js/comm.js

@@ -226,5 +226,23 @@ function getDataTime(time) {
 	}
 	return output;
 }
+function str_diff(str1, str2) {
+	let output = "";
+
+	const diff = Diff.diffChars(str1, str2);
+
+	diff.forEach((part) => {
+		// green for additions, red for deletions
+		// grey for common parts
+		if (part.added) {
+			output += "<ins>" + part.value + "</ins>";
+		} else if (part.removed) {
+			output += "<del>" + part.value + "</del>";
+		} else {
+			output += part.value;
+		}
+	});
+	return output;
+}
 //所有页面都需要在加载的的时候设置浏览器时区
 setTimeZone();

+ 10881 - 0
app/public/js/jquery-3.6.js

@@ -0,0 +1,10881 @@
+/*!
+ * jQuery JavaScript Library v3.6.0
+ * https://jquery.com/
+ *
+ * Includes Sizzle.js
+ * https://sizzlejs.com/
+ *
+ * Copyright OpenJS Foundation and other contributors
+ * Released under the MIT license
+ * https://jquery.org/license
+ *
+ * Date: 2021-03-02T17:08Z
+ */
+( function( global, factory ) {
+
+	"use strict";
+
+	if ( typeof module === "object" && typeof module.exports === "object" ) {
+
+		// For CommonJS and CommonJS-like environments where a proper `window`
+		// is present, execute the factory and get jQuery.
+		// For environments that do not have a `window` with a `document`
+		// (such as Node.js), expose a factory as module.exports.
+		// This accentuates the need for the creation of a real `window`.
+		// e.g. var jQuery = require("jquery")(window);
+		// See ticket #14549 for more info.
+		module.exports = global.document ?
+			factory( global, true ) :
+			function( w ) {
+				if ( !w.document ) {
+					throw new Error( "jQuery requires a window with a document" );
+				}
+				return factory( w );
+			};
+	} else {
+		factory( global );
+	}
+
+// Pass this if window is not defined yet
+} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
+
+// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1
+// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode
+// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common
+// enough that all such attempts are guarded in a try block.
+"use strict";
+
+var arr = [];
+
+var getProto = Object.getPrototypeOf;
+
+var slice = arr.slice;
+
+var flat = arr.flat ? function( array ) {
+	return arr.flat.call( array );
+} : function( array ) {
+	return arr.concat.apply( [], array );
+};
+
+
+var push = arr.push;
+
+var indexOf = arr.indexOf;
+
+var class2type = {};
+
+var toString = class2type.toString;
+
+var hasOwn = class2type.hasOwnProperty;
+
+var fnToString = hasOwn.toString;
+
+var ObjectFunctionString = fnToString.call( Object );
+
+var support = {};
+
+var isFunction = function isFunction( obj ) {
+
+		// Support: Chrome <=57, Firefox <=52
+		// In some browsers, typeof returns "function" for HTML <object> elements
+		// (i.e., `typeof document.createElement( "object" ) === "function"`).
+		// We don't want to classify *any* DOM node as a function.
+		// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5
+		// Plus for old WebKit, typeof returns "function" for HTML collections
+		// (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756)
+		return typeof obj === "function" && typeof obj.nodeType !== "number" &&
+			typeof obj.item !== "function";
+	};
+
+
+var isWindow = function isWindow( obj ) {
+		return obj != null && obj === obj.window;
+	};
+
+
+var document = window.document;
+
+
+
+	var preservedScriptAttributes = {
+		type: true,
+		src: true,
+		nonce: true,
+		noModule: true
+	};
+
+	function DOMEval( code, node, doc ) {
+		doc = doc || document;
+
+		var i, val,
+			script = doc.createElement( "script" );
+
+		script.text = code;
+		if ( node ) {
+			for ( i in preservedScriptAttributes ) {
+
+				// Support: Firefox 64+, Edge 18+
+				// Some browsers don't support the "nonce" property on scripts.
+				// On the other hand, just using `getAttribute` is not enough as
+				// the `nonce` attribute is reset to an empty string whenever it
+				// becomes browsing-context connected.
+				// See https://github.com/whatwg/html/issues/2369
+				// See https://html.spec.whatwg.org/#nonce-attributes
+				// The `node.getAttribute` check was added for the sake of
+				// `jQuery.globalEval` so that it can fake a nonce-containing node
+				// via an object.
+				val = node[ i ] || node.getAttribute && node.getAttribute( i );
+				if ( val ) {
+					script.setAttribute( i, val );
+				}
+			}
+		}
+		doc.head.appendChild( script ).parentNode.removeChild( script );
+	}
+
+
+function toType( obj ) {
+	if ( obj == null ) {
+		return obj + "";
+	}
+
+	// Support: Android <=2.3 only (functionish RegExp)
+	return typeof obj === "object" || typeof obj === "function" ?
+		class2type[ toString.call( obj ) ] || "object" :
+		typeof obj;
+}
+/* global Symbol */
+// Defining this global in .eslintrc.json would create a danger of using the global
+// unguarded in another place, it seems safer to define global only for this module
+
+
+
+var
+	version = "3.6.0",
+
+	// Define a local copy of jQuery
+	jQuery = function( selector, context ) {
+
+		// The jQuery object is actually just the init constructor 'enhanced'
+		// Need init if jQuery is called (just allow error to be thrown if not included)
+		return new jQuery.fn.init( selector, context );
+	};
+
+jQuery.fn = jQuery.prototype = {
+
+	// The current version of jQuery being used
+	jquery: version,
+
+	constructor: jQuery,
+
+	// The default length of a jQuery object is 0
+	length: 0,
+
+	toArray: function() {
+		return slice.call( this );
+	},
+
+	// Get the Nth element in the matched element set OR
+	// Get the whole matched element set as a clean array
+	get: function( num ) {
+
+		// Return all the elements in a clean array
+		if ( num == null ) {
+			return slice.call( this );
+		}
+
+		// Return just the one element from the set
+		return num < 0 ? this[ num + this.length ] : this[ num ];
+	},
+
+	// Take an array of elements and push it onto the stack
+	// (returning the new matched element set)
+	pushStack: function( elems ) {
+
+		// Build a new jQuery matched element set
+		var ret = jQuery.merge( this.constructor(), elems );
+
+		// Add the old object onto the stack (as a reference)
+		ret.prevObject = this;
+
+		// Return the newly-formed element set
+		return ret;
+	},
+
+	// Execute a callback for every element in the matched set.
+	each: function( callback ) {
+		return jQuery.each( this, callback );
+	},
+
+	map: function( callback ) {
+		return this.pushStack( jQuery.map( this, function( elem, i ) {
+			return callback.call( elem, i, elem );
+		} ) );
+	},
+
+	slice: function() {
+		return this.pushStack( slice.apply( this, arguments ) );
+	},
+
+	first: function() {
+		return this.eq( 0 );
+	},
+
+	last: function() {
+		return this.eq( -1 );
+	},
+
+	even: function() {
+		return this.pushStack( jQuery.grep( this, function( _elem, i ) {
+			return ( i + 1 ) % 2;
+		} ) );
+	},
+
+	odd: function() {
+		return this.pushStack( jQuery.grep( this, function( _elem, i ) {
+			return i % 2;
+		} ) );
+	},
+
+	eq: function( i ) {
+		var len = this.length,
+			j = +i + ( i < 0 ? len : 0 );
+		return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
+	},
+
+	end: function() {
+		return this.prevObject || this.constructor();
+	},
+
+	// For internal use only.
+	// Behaves like an Array's method, not like a jQuery method.
+	push: push,
+	sort: arr.sort,
+	splice: arr.splice
+};
+
+jQuery.extend = jQuery.fn.extend = function() {
+	var options, name, src, copy, copyIsArray, clone,
+		target = arguments[ 0 ] || {},
+		i = 1,
+		length = arguments.length,
+		deep = false;
+
+	// Handle a deep copy situation
+	if ( typeof target === "boolean" ) {
+		deep = target;
+
+		// Skip the boolean and the target
+		target = arguments[ i ] || {};
+		i++;
+	}
+
+	// Handle case when target is a string or something (possible in deep copy)
+	if ( typeof target !== "object" && !isFunction( target ) ) {
+		target = {};
+	}
+
+	// Extend jQuery itself if only one argument is passed
+	if ( i === length ) {
+		target = this;
+		i--;
+	}
+
+	for ( ; i < length; i++ ) {
+
+		// Only deal with non-null/undefined values
+		if ( ( options = arguments[ i ] ) != null ) {
+
+			// Extend the base object
+			for ( name in options ) {
+				copy = options[ name ];
+
+				// Prevent Object.prototype pollution
+				// Prevent never-ending loop
+				if ( name === "__proto__" || target === copy ) {
+					continue;
+				}
+
+				// Recurse if we're merging plain objects or arrays
+				if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
+					( copyIsArray = Array.isArray( copy ) ) ) ) {
+					src = target[ name ];
+
+					// Ensure proper type for the source value
+					if ( copyIsArray && !Array.isArray( src ) ) {
+						clone = [];
+					} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {
+						clone = {};
+					} else {
+						clone = src;
+					}
+					copyIsArray = false;
+
+					// Never move original objects, clone them
+					target[ name ] = jQuery.extend( deep, clone, copy );
+
+				// Don't bring in undefined values
+				} else if ( copy !== undefined ) {
+					target[ name ] = copy;
+				}
+			}
+		}
+	}
+
+	// Return the modified object
+	return target;
+};
+
+jQuery.extend( {
+
+	// Unique for each copy of jQuery on the page
+	expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
+
+	// Assume jQuery is ready without the ready module
+	isReady: true,
+
+	error: function( msg ) {
+		throw new Error( msg );
+	},
+
+	noop: function() {},
+
+	isPlainObject: function( obj ) {
+		var proto, Ctor;
+
+		// Detect obvious negatives
+		// Use toString instead of jQuery.type to catch host objects
+		if ( !obj || toString.call( obj ) !== "[object Object]" ) {
+			return false;
+		}
+
+		proto = getProto( obj );
+
+		// Objects with no prototype (e.g., `Object.create( null )`) are plain
+		if ( !proto ) {
+			return true;
+		}
+
+		// Objects with prototype are plain iff they were constructed by a global Object function
+		Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor;
+		return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString;
+	},
+
+	isEmptyObject: function( obj ) {
+		var name;
+
+		for ( name in obj ) {
+			return false;
+		}
+		return true;
+	},
+
+	// Evaluates a script in a provided context; falls back to the global one
+	// if not specified.
+	globalEval: function( code, options, doc ) {
+		DOMEval( code, { nonce: options && options.nonce }, doc );
+	},
+
+	each: function( obj, callback ) {
+		var length, i = 0;
+
+		if ( isArrayLike( obj ) ) {
+			length = obj.length;
+			for ( ; i < length; i++ ) {
+				if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
+					break;
+				}
+			}
+		} else {
+			for ( i in obj ) {
+				if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
+					break;
+				}
+			}
+		}
+
+		return obj;
+	},
+
+	// results is for internal usage only
+	makeArray: function( arr, results ) {
+		var ret = results || [];
+
+		if ( arr != null ) {
+			if ( isArrayLike( Object( arr ) ) ) {
+				jQuery.merge( ret,
+					typeof arr === "string" ?
+						[ arr ] : arr
+				);
+			} else {
+				push.call( ret, arr );
+			}
+		}
+
+		return ret;
+	},
+
+	inArray: function( elem, arr, i ) {
+		return arr == null ? -1 : indexOf.call( arr, elem, i );
+	},
+
+	// Support: Android <=4.0 only, PhantomJS 1 only
+	// push.apply(_, arraylike) throws on ancient WebKit
+	merge: function( first, second ) {
+		var len = +second.length,
+			j = 0,
+			i = first.length;
+
+		for ( ; j < len; j++ ) {
+			first[ i++ ] = second[ j ];
+		}
+
+		first.length = i;
+
+		return first;
+	},
+
+	grep: function( elems, callback, invert ) {
+		var callbackInverse,
+			matches = [],
+			i = 0,
+			length = elems.length,
+			callbackExpect = !invert;
+
+		// Go through the array, only saving the items
+		// that pass the validator function
+		for ( ; i < length; i++ ) {
+			callbackInverse = !callback( elems[ i ], i );
+			if ( callbackInverse !== callbackExpect ) {
+				matches.push( elems[ i ] );
+			}
+		}
+
+		return matches;
+	},
+
+	// arg is for internal usage only
+	map: function( elems, callback, arg ) {
+		var length, value,
+			i = 0,
+			ret = [];
+
+		// Go through the array, translating each of the items to their new values
+		if ( isArrayLike( elems ) ) {
+			length = elems.length;
+			for ( ; i < length; i++ ) {
+				value = callback( elems[ i ], i, arg );
+
+				if ( value != null ) {
+					ret.push( value );
+				}
+			}
+
+		// Go through every key on the object,
+		} else {
+			for ( i in elems ) {
+				value = callback( elems[ i ], i, arg );
+
+				if ( value != null ) {
+					ret.push( value );
+				}
+			}
+		}
+
+		// Flatten any nested arrays
+		return flat( ret );
+	},
+
+	// A global GUID counter for objects
+	guid: 1,
+
+	// jQuery.support is not used in Core but other projects attach their
+	// properties to it so it needs to exist.
+	support: support
+} );
+
+if ( typeof Symbol === "function" ) {
+	jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];
+}
+
+// Populate the class2type map
+jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
+	function( _i, name ) {
+		class2type[ "[object " + name + "]" ] = name.toLowerCase();
+	} );
+
+function isArrayLike( obj ) {
+
+	// Support: real iOS 8.2 only (not reproducible in simulator)
+	// `in` check used to prevent JIT error (gh-2145)
+	// hasOwn isn't used here due to false negatives
+	// regarding Nodelist length in IE
+	var length = !!obj && "length" in obj && obj.length,
+		type = toType( obj );
+
+	if ( isFunction( obj ) || isWindow( obj ) ) {
+		return false;
+	}
+
+	return type === "array" || length === 0 ||
+		typeof length === "number" && length > 0 && ( length - 1 ) in obj;
+}
+var Sizzle =
+/*!
+ * Sizzle CSS Selector Engine v2.3.6
+ * https://sizzlejs.com/
+ *
+ * Copyright JS Foundation and other contributors
+ * Released under the MIT license
+ * https://js.foundation/
+ *
+ * Date: 2021-02-16
+ */
+( function( window ) {
+var i,
+	support,
+	Expr,
+	getText,
+	isXML,
+	tokenize,
+	compile,
+	select,
+	outermostContext,
+	sortInput,
+	hasDuplicate,
+
+	// Local document vars
+	setDocument,
+	document,
+	docElem,
+	documentIsHTML,
+	rbuggyQSA,
+	rbuggyMatches,
+	matches,
+	contains,
+
+	// Instance-specific data
+	expando = "sizzle" + 1 * new Date(),
+	preferredDoc = window.document,
+	dirruns = 0,
+	done = 0,
+	classCache = createCache(),
+	tokenCache = createCache(),
+	compilerCache = createCache(),
+	nonnativeSelectorCache = createCache(),
+	sortOrder = function( a, b ) {
+		if ( a === b ) {
+			hasDuplicate = true;
+		}
+		return 0;
+	},
+
+	// Instance methods
+	hasOwn = ( {} ).hasOwnProperty,
+	arr = [],
+	pop = arr.pop,
+	pushNative = arr.push,
+	push = arr.push,
+	slice = arr.slice,
+
+	// Use a stripped-down indexOf as it's faster than native
+	// https://jsperf.com/thor-indexof-vs-for/5
+	indexOf = function( list, elem ) {
+		var i = 0,
+			len = list.length;
+		for ( ; i < len; i++ ) {
+			if ( list[ i ] === elem ) {
+				return i;
+			}
+		}
+		return -1;
+	},
+
+	booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" +
+		"ismap|loop|multiple|open|readonly|required|scoped",
+
+	// Regular expressions
+
+	// http://www.w3.org/TR/css3-selectors/#whitespace
+	whitespace = "[\\x20\\t\\r\\n\\f]",
+
+	// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
+	identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
+		"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
+
+	// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
+	attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
+
+		// Operator (capture 2)
+		"*([*^$|!~]?=)" + whitespace +
+
+		// "Attribute values must be CSS identifiers [capture 5]
+		// or strings [capture 3 or capture 4]"
+		"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" +
+		whitespace + "*\\]",
+
+	pseudos = ":(" + identifier + ")(?:\\((" +
+
+		// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
+		// 1. quoted (capture 3; capture 4 or capture 5)
+		"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
+
+		// 2. simple (capture 6)
+		"((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
+
+		// 3. anything else (capture 2)
+		".*" +
+		")\\)|)",
+
+	// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
+	rwhitespace = new RegExp( whitespace + "+", "g" ),
+	rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" +
+		whitespace + "+$", "g" ),
+
+	rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
+	rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace +
+		"*" ),
+	rdescend = new RegExp( whitespace + "|>" ),
+
+	rpseudo = new RegExp( pseudos ),
+	ridentifier = new RegExp( "^" + identifier + "$" ),
+
+	matchExpr = {
+		"ID": new RegExp( "^#(" + identifier + ")" ),
+		"CLASS": new RegExp( "^\\.(" + identifier + ")" ),
+		"TAG": new RegExp( "^(" + identifier + "|[*])" ),
+		"ATTR": new RegExp( "^" + attributes ),
+		"PSEUDO": new RegExp( "^" + pseudos ),
+		"CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
+			whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" +
+			whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
+		"bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
+
+		// For use in libraries implementing .is()
+		// We use this for POS matching in `select`
+		"needsContext": new RegExp( "^" + whitespace +
+			"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace +
+			"*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
+	},
+
+	rhtml = /HTML$/i,
+	rinputs = /^(?:input|select|textarea|button)$/i,
+	rheader = /^h\d$/i,
+
+	rnative = /^[^{]+\{\s*\[native \w/,
+
+	// Easily-parseable/retrievable ID or TAG or CLASS selectors
+	rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
+
+	rsibling = /[+~]/,
+
+	// CSS escapes
+	// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
+	runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ),
+	funescape = function( escape, nonHex ) {
+		var high = "0x" + escape.slice( 1 ) - 0x10000;
+
+		return nonHex ?
+
+			// Strip the backslash prefix from a non-hex escape sequence
+			nonHex :
+
+			// Replace a hexadecimal escape sequence with the encoded Unicode code point
+			// Support: IE <=11+
+			// For values outside the Basic Multilingual Plane (BMP), manually construct a
+			// surrogate pair
+			high < 0 ?
+				String.fromCharCode( high + 0x10000 ) :
+				String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
+	},
+
+	// CSS string/identifier serialization
+	// https://drafts.csswg.org/cssom/#common-serializing-idioms
+	rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
+	fcssescape = function( ch, asCodePoint ) {
+		if ( asCodePoint ) {
+
+			// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
+			if ( ch === "\0" ) {
+				return "\uFFFD";
+			}
+
+			// Control characters and (dependent upon position) numbers get escaped as code points
+			return ch.slice( 0, -1 ) + "\\" +
+				ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
+		}
+
+		// Other potentially-special ASCII characters get backslash-escaped
+		return "\\" + ch;
+	},
+
+	// Used for iframes
+	// See setDocument()
+	// Removing the function wrapper causes a "Permission Denied"
+	// error in IE
+	unloadHandler = function() {
+		setDocument();
+	},
+
+	inDisabledFieldset = addCombinator(
+		function( elem ) {
+			return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset";
+		},
+		{ dir: "parentNode", next: "legend" }
+	);
+
+// Optimize for push.apply( _, NodeList )
+try {
+	push.apply(
+		( arr = slice.call( preferredDoc.childNodes ) ),
+		preferredDoc.childNodes
+	);
+
+	// Support: Android<4.0
+	// Detect silently failing push.apply
+	// eslint-disable-next-line no-unused-expressions
+	arr[ preferredDoc.childNodes.length ].nodeType;
+} catch ( e ) {
+	push = { apply: arr.length ?
+
+		// Leverage slice if possible
+		function( target, els ) {
+			pushNative.apply( target, slice.call( els ) );
+		} :
+
+		// Support: IE<9
+		// Otherwise append directly
+		function( target, els ) {
+			var j = target.length,
+				i = 0;
+
+			// Can't trust NodeList.length
+			while ( ( target[ j++ ] = els[ i++ ] ) ) {}
+			target.length = j - 1;
+		}
+	};
+}
+
+function Sizzle( selector, context, results, seed ) {
+	var m, i, elem, nid, match, groups, newSelector,
+		newContext = context && context.ownerDocument,
+
+		// nodeType defaults to 9, since context defaults to document
+		nodeType = context ? context.nodeType : 9;
+
+	results = results || [];
+
+	// Return early from calls with invalid selector or context
+	if ( typeof selector !== "string" || !selector ||
+		nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {
+
+		return results;
+	}
+
+	// Try to shortcut find operations (as opposed to filters) in HTML documents
+	if ( !seed ) {
+		setDocument( context );
+		context = context || document;
+
+		if ( documentIsHTML ) {
+
+			// If the selector is sufficiently simple, try using a "get*By*" DOM method
+			// (excepting DocumentFragment context, where the methods don't exist)
+			if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {
+
+				// ID selector
+				if ( ( m = match[ 1 ] ) ) {
+
+					// Document context
+					if ( nodeType === 9 ) {
+						if ( ( elem = context.getElementById( m ) ) ) {
+
+							// Support: IE, Opera, Webkit
+							// TODO: identify versions
+							// getElementById can match elements by name instead of ID
+							if ( elem.id === m ) {
+								results.push( elem );
+								return results;
+							}
+						} else {
+							return results;
+						}
+
+					// Element context
+					} else {
+
+						// Support: IE, Opera, Webkit
+						// TODO: identify versions
+						// getElementById can match elements by name instead of ID
+						if ( newContext && ( elem = newContext.getElementById( m ) ) &&
+							contains( context, elem ) &&
+							elem.id === m ) {
+
+							results.push( elem );
+							return results;
+						}
+					}
+
+				// Type selector
+				} else if ( match[ 2 ] ) {
+					push.apply( results, context.getElementsByTagName( selector ) );
+					return results;
+
+				// Class selector
+				} else if ( ( m = match[ 3 ] ) && support.getElementsByClassName &&
+					context.getElementsByClassName ) {
+
+					push.apply( results, context.getElementsByClassName( m ) );
+					return results;
+				}
+			}
+
+			// Take advantage of querySelectorAll
+			if ( support.qsa &&
+				!nonnativeSelectorCache[ selector + " " ] &&
+				( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&
+
+				// Support: IE 8 only
+				// Exclude object elements
+				( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) {
+
+				newSelector = selector;
+				newContext = context;
+
+				// qSA considers elements outside a scoping root when evaluating child or
+				// descendant combinators, which is not what we want.
+				// In such cases, we work around the behavior by prefixing every selector in the
+				// list with an ID selector referencing the scope context.
+				// The technique has to be used as well when a leading combinator is used
+				// as such selectors are not recognized by querySelectorAll.
+				// Thanks to Andrew Dupont for this technique.
+				if ( nodeType === 1 &&
+					( rdescend.test( selector ) || rcombinators.test( selector ) ) ) {
+
+					// Expand context for sibling selectors
+					newContext = rsibling.test( selector ) && testContext( context.parentNode ) ||
+						context;
+
+					// We can use :scope instead of the ID hack if the browser
+					// supports it & if we're not changing the context.
+					if ( newContext !== context || !support.scope ) {
+
+						// Capture the context ID, setting it first if necessary
+						if ( ( nid = context.getAttribute( "id" ) ) ) {
+							nid = nid.replace( rcssescape, fcssescape );
+						} else {
+							context.setAttribute( "id", ( nid = expando ) );
+						}
+					}
+
+					// Prefix every selector in the list
+					groups = tokenize( selector );
+					i = groups.length;
+					while ( i-- ) {
+						groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " +
+							toSelector( groups[ i ] );
+					}
+					newSelector = groups.join( "," );
+				}
+
+				try {
+					push.apply( results,
+						newContext.querySelectorAll( newSelector )
+					);
+					return results;
+				} catch ( qsaError ) {
+					nonnativeSelectorCache( selector, true );
+				} finally {
+					if ( nid === expando ) {
+						context.removeAttribute( "id" );
+					}
+				}
+			}
+		}
+	}
+
+	// All others
+	return select( selector.replace( rtrim, "$1" ), context, results, seed );
+}
+
+/**
+ * Create key-value caches of limited size
+ * @returns {function(string, object)} Returns the Object data after storing it on itself with
+ *	property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
+ *	deleting the oldest entry
+ */
+function createCache() {
+	var keys = [];
+
+	function cache( key, value ) {
+
+		// Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
+		if ( keys.push( key + " " ) > Expr.cacheLength ) {
+
+			// Only keep the most recent entries
+			delete cache[ keys.shift() ];
+		}
+		return ( cache[ key + " " ] = value );
+	}
+	return cache;
+}
+
+/**
+ * Mark a function for special use by Sizzle
+ * @param {Function} fn The function to mark
+ */
+function markFunction( fn ) {
+	fn[ expando ] = true;
+	return fn;
+}
+
+/**
+ * Support testing using an element
+ * @param {Function} fn Passed the created element and returns a boolean result
+ */
+function assert( fn ) {
+	var el = document.createElement( "fieldset" );
+
+	try {
+		return !!fn( el );
+	} catch ( e ) {
+		return false;
+	} finally {
+
+		// Remove from its parent by default
+		if ( el.parentNode ) {
+			el.parentNode.removeChild( el );
+		}
+
+		// release memory in IE
+		el = null;
+	}
+}
+
+/**
+ * Adds the same handler for all of the specified attrs
+ * @param {String} attrs Pipe-separated list of attributes
+ * @param {Function} handler The method that will be applied
+ */
+function addHandle( attrs, handler ) {
+	var arr = attrs.split( "|" ),
+		i = arr.length;
+
+	while ( i-- ) {
+		Expr.attrHandle[ arr[ i ] ] = handler;
+	}
+}
+
+/**
+ * Checks document order of two siblings
+ * @param {Element} a
+ * @param {Element} b
+ * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
+ */
+function siblingCheck( a, b ) {
+	var cur = b && a,
+		diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
+			a.sourceIndex - b.sourceIndex;
+
+	// Use IE sourceIndex if available on both nodes
+	if ( diff ) {
+		return diff;
+	}
+
+	// Check if b follows a
+	if ( cur ) {
+		while ( ( cur = cur.nextSibling ) ) {
+			if ( cur === b ) {
+				return -1;
+			}
+		}
+	}
+
+	return a ? 1 : -1;
+}
+
+/**
+ * Returns a function to use in pseudos for input types
+ * @param {String} type
+ */
+function createInputPseudo( type ) {
+	return function( elem ) {
+		var name = elem.nodeName.toLowerCase();
+		return name === "input" && elem.type === type;
+	};
+}
+
+/**
+ * Returns a function to use in pseudos for buttons
+ * @param {String} type
+ */
+function createButtonPseudo( type ) {
+	return function( elem ) {
+		var name = elem.nodeName.toLowerCase();
+		return ( name === "input" || name === "button" ) && elem.type === type;
+	};
+}
+
+/**
+ * Returns a function to use in pseudos for :enabled/:disabled
+ * @param {Boolean} disabled true for :disabled; false for :enabled
+ */
+function createDisabledPseudo( disabled ) {
+
+	// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
+	return function( elem ) {
+
+		// Only certain elements can match :enabled or :disabled
+		// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled
+		// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled
+		if ( "form" in elem ) {
+
+			// Check for inherited disabledness on relevant non-disabled elements:
+			// * listed form-associated elements in a disabled fieldset
+			//   https://html.spec.whatwg.org/multipage/forms.html#category-listed
+			//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled
+			// * option elements in a disabled optgroup
+			//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled
+			// All such elements have a "form" property.
+			if ( elem.parentNode && elem.disabled === false ) {
+
+				// Option elements defer to a parent optgroup if present
+				if ( "label" in elem ) {
+					if ( "label" in elem.parentNode ) {
+						return elem.parentNode.disabled === disabled;
+					} else {
+						return elem.disabled === disabled;
+					}
+				}
+
+				// Support: IE 6 - 11
+				// Use the isDisabled shortcut property to check for disabled fieldset ancestors
+				return elem.isDisabled === disabled ||
+
+					// Where there is no isDisabled, check manually
+					/* jshint -W018 */
+					elem.isDisabled !== !disabled &&
+					inDisabledFieldset( elem ) === disabled;
+			}
+
+			return elem.disabled === disabled;
+
+		// Try to winnow out elements that can't be disabled before trusting the disabled property.
+		// Some victims get caught in our net (label, legend, menu, track), but it shouldn't
+		// even exist on them, let alone have a boolean value.
+		} else if ( "label" in elem ) {
+			return elem.disabled === disabled;
+		}
+
+		// Remaining elements are neither :enabled nor :disabled
+		return false;
+	};
+}
+
+/**
+ * Returns a function to use in pseudos for positionals
+ * @param {Function} fn
+ */
+function createPositionalPseudo( fn ) {
+	return markFunction( function( argument ) {
+		argument = +argument;
+		return markFunction( function( seed, matches ) {
+			var j,
+				matchIndexes = fn( [], seed.length, argument ),
+				i = matchIndexes.length;
+
+			// Match elements found at the specified indexes
+			while ( i-- ) {
+				if ( seed[ ( j = matchIndexes[ i ] ) ] ) {
+					seed[ j ] = !( matches[ j ] = seed[ j ] );
+				}
+			}
+		} );
+	} );
+}
+
+/**
+ * Checks a node for validity as a Sizzle context
+ * @param {Element|Object=} context
+ * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
+ */
+function testContext( context ) {
+	return context && typeof context.getElementsByTagName !== "undefined" && context;
+}
+
+// Expose support vars for convenience
+support = Sizzle.support = {};
+
+/**
+ * Detects XML nodes
+ * @param {Element|Object} elem An element or a document
+ * @returns {Boolean} True iff elem is a non-HTML XML node
+ */
+isXML = Sizzle.isXML = function( elem ) {
+	var namespace = elem && elem.namespaceURI,
+		docElem = elem && ( elem.ownerDocument || elem ).documentElement;
+
+	// Support: IE <=8
+	// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes
+	// https://bugs.jquery.com/ticket/4833
+	return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" );
+};
+
+/**
+ * Sets document-related variables once based on the current document
+ * @param {Element|Object} [doc] An element or document object to use to set the document
+ * @returns {Object} Returns the current document
+ */
+setDocument = Sizzle.setDocument = function( node ) {
+	var hasCompare, subWindow,
+		doc = node ? node.ownerDocument || node : preferredDoc;
+
+	// Return early if doc is invalid or already selected
+	// Support: IE 11+, Edge 17 - 18+
+	// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+	// two documents; shallow comparisons work.
+	// eslint-disable-next-line eqeqeq
+	if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {
+		return document;
+	}
+
+	// Update global variables
+	document = doc;
+	docElem = document.documentElement;
+	documentIsHTML = !isXML( document );
+
+	// Support: IE 9 - 11+, Edge 12 - 18+
+	// Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936)
+	// Support: IE 11+, Edge 17 - 18+
+	// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+	// two documents; shallow comparisons work.
+	// eslint-disable-next-line eqeqeq
+	if ( preferredDoc != document &&
+		( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {
+
+		// Support: IE 11, Edge
+		if ( subWindow.addEventListener ) {
+			subWindow.addEventListener( "unload", unloadHandler, false );
+
+		// Support: IE 9 - 10 only
+		} else if ( subWindow.attachEvent ) {
+			subWindow.attachEvent( "onunload", unloadHandler );
+		}
+	}
+
+	// Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,
+	// Safari 4 - 5 only, Opera <=11.6 - 12.x only
+	// IE/Edge & older browsers don't support the :scope pseudo-class.
+	// Support: Safari 6.0 only
+	// Safari 6.0 supports :scope but it's an alias of :root there.
+	support.scope = assert( function( el ) {
+		docElem.appendChild( el ).appendChild( document.createElement( "div" ) );
+		return typeof el.querySelectorAll !== "undefined" &&
+			!el.querySelectorAll( ":scope fieldset div" ).length;
+	} );
+
+	/* Attributes
+	---------------------------------------------------------------------- */
+
+	// Support: IE<8
+	// Verify that getAttribute really returns attributes and not properties
+	// (excepting IE8 booleans)
+	support.attributes = assert( function( el ) {
+		el.className = "i";
+		return !el.getAttribute( "className" );
+	} );
+
+	/* getElement(s)By*
+	---------------------------------------------------------------------- */
+
+	// Check if getElementsByTagName("*") returns only elements
+	support.getElementsByTagName = assert( function( el ) {
+		el.appendChild( document.createComment( "" ) );
+		return !el.getElementsByTagName( "*" ).length;
+	} );
+
+	// Support: IE<9
+	support.getElementsByClassName = rnative.test( document.getElementsByClassName );
+
+	// Support: IE<10
+	// Check if getElementById returns elements by name
+	// The broken getElementById methods don't pick up programmatically-set names,
+	// so use a roundabout getElementsByName test
+	support.getById = assert( function( el ) {
+		docElem.appendChild( el ).id = expando;
+		return !document.getElementsByName || !document.getElementsByName( expando ).length;
+	} );
+
+	// ID filter and find
+	if ( support.getById ) {
+		Expr.filter[ "ID" ] = function( id ) {
+			var attrId = id.replace( runescape, funescape );
+			return function( elem ) {
+				return elem.getAttribute( "id" ) === attrId;
+			};
+		};
+		Expr.find[ "ID" ] = function( id, context ) {
+			if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
+				var elem = context.getElementById( id );
+				return elem ? [ elem ] : [];
+			}
+		};
+	} else {
+		Expr.filter[ "ID" ] =  function( id ) {
+			var attrId = id.replace( runescape, funescape );
+			return function( elem ) {
+				var node = typeof elem.getAttributeNode !== "undefined" &&
+					elem.getAttributeNode( "id" );
+				return node && node.value === attrId;
+			};
+		};
+
+		// Support: IE 6 - 7 only
+		// getElementById is not reliable as a find shortcut
+		Expr.find[ "ID" ] = function( id, context ) {
+			if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
+				var node, i, elems,
+					elem = context.getElementById( id );
+
+				if ( elem ) {
+
+					// Verify the id attribute
+					node = elem.getAttributeNode( "id" );
+					if ( node && node.value === id ) {
+						return [ elem ];
+					}
+
+					// Fall back on getElementsByName
+					elems = context.getElementsByName( id );
+					i = 0;
+					while ( ( elem = elems[ i++ ] ) ) {
+						node = elem.getAttributeNode( "id" );
+						if ( node && node.value === id ) {
+							return [ elem ];
+						}
+					}
+				}
+
+				return [];
+			}
+		};
+	}
+
+	// Tag
+	Expr.find[ "TAG" ] = support.getElementsByTagName ?
+		function( tag, context ) {
+			if ( typeof context.getElementsByTagName !== "undefined" ) {
+				return context.getElementsByTagName( tag );
+
+			// DocumentFragment nodes don't have gEBTN
+			} else if ( support.qsa ) {
+				return context.querySelectorAll( tag );
+			}
+		} :
+
+		function( tag, context ) {
+			var elem,
+				tmp = [],
+				i = 0,
+
+				// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
+				results = context.getElementsByTagName( tag );
+
+			// Filter out possible comments
+			if ( tag === "*" ) {
+				while ( ( elem = results[ i++ ] ) ) {
+					if ( elem.nodeType === 1 ) {
+						tmp.push( elem );
+					}
+				}
+
+				return tmp;
+			}
+			return results;
+		};
+
+	// Class
+	Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) {
+		if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) {
+			return context.getElementsByClassName( className );
+		}
+	};
+
+	/* QSA/matchesSelector
+	---------------------------------------------------------------------- */
+
+	// QSA and matchesSelector support
+
+	// matchesSelector(:active) reports false when true (IE9/Opera 11.5)
+	rbuggyMatches = [];
+
+	// qSa(:focus) reports false when true (Chrome 21)
+	// We allow this because of a bug in IE8/9 that throws an error
+	// whenever `document.activeElement` is accessed on an iframe
+	// So, we allow :focus to pass through QSA all the time to avoid the IE error
+	// See https://bugs.jquery.com/ticket/13378
+	rbuggyQSA = [];
+
+	if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) {
+
+		// Build QSA regex
+		// Regex strategy adopted from Diego Perini
+		assert( function( el ) {
+
+			var input;
+
+			// Select is set to empty string on purpose
+			// This is to test IE's treatment of not explicitly
+			// setting a boolean content attribute,
+			// since its presence should be enough
+			// https://bugs.jquery.com/ticket/12359
+			docElem.appendChild( el ).innerHTML = "<a id='" + expando + "'></a>" +
+				"<select id='" + expando + "-\r\\' msallowcapture=''>" +
+				"<option selected=''></option></select>";
+
+			// Support: IE8, Opera 11-12.16
+			// Nothing should be selected when empty strings follow ^= or $= or *=
+			// The test attribute must be unknown in Opera but "safe" for WinRT
+			// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
+			if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) {
+				rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
+			}
+
+			// Support: IE8
+			// Boolean attributes and "value" are not treated correctly
+			if ( !el.querySelectorAll( "[selected]" ).length ) {
+				rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
+			}
+
+			// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
+			if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
+				rbuggyQSA.push( "~=" );
+			}
+
+			// Support: IE 11+, Edge 15 - 18+
+			// IE 11/Edge don't find elements on a `[name='']` query in some cases.
+			// Adding a temporary attribute to the document before the selection works
+			// around the issue.
+			// Interestingly, IE 10 & older don't seem to have the issue.
+			input = document.createElement( "input" );
+			input.setAttribute( "name", "" );
+			el.appendChild( input );
+			if ( !el.querySelectorAll( "[name='']" ).length ) {
+				rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" +
+					whitespace + "*(?:''|\"\")" );
+			}
+
+			// Webkit/Opera - :checked should return selected option elements
+			// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+			// IE8 throws error here and will not see later tests
+			if ( !el.querySelectorAll( ":checked" ).length ) {
+				rbuggyQSA.push( ":checked" );
+			}
+
+			// Support: Safari 8+, iOS 8+
+			// https://bugs.webkit.org/show_bug.cgi?id=136851
+			// In-page `selector#id sibling-combinator selector` fails
+			if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) {
+				rbuggyQSA.push( ".#.+[+~]" );
+			}
+
+			// Support: Firefox <=3.6 - 5 only
+			// Old Firefox doesn't throw on a badly-escaped identifier.
+			el.querySelectorAll( "\\\f" );
+			rbuggyQSA.push( "[\\r\\n\\f]" );
+		} );
+
+		assert( function( el ) {
+			el.innerHTML = "<a href='' disabled='disabled'></a>" +
+				"<select disabled='disabled'><option/></select>";
+
+			// Support: Windows 8 Native Apps
+			// The type and name attributes are restricted during .innerHTML assignment
+			var input = document.createElement( "input" );
+			input.setAttribute( "type", "hidden" );
+			el.appendChild( input ).setAttribute( "name", "D" );
+
+			// Support: IE8
+			// Enforce case-sensitivity of name attribute
+			if ( el.querySelectorAll( "[name=d]" ).length ) {
+				rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
+			}
+
+			// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
+			// IE8 throws error here and will not see later tests
+			if ( el.querySelectorAll( ":enabled" ).length !== 2 ) {
+				rbuggyQSA.push( ":enabled", ":disabled" );
+			}
+
+			// Support: IE9-11+
+			// IE's :disabled selector does not pick up the children of disabled fieldsets
+			docElem.appendChild( el ).disabled = true;
+			if ( el.querySelectorAll( ":disabled" ).length !== 2 ) {
+				rbuggyQSA.push( ":enabled", ":disabled" );
+			}
+
+			// Support: Opera 10 - 11 only
+			// Opera 10-11 does not throw on post-comma invalid pseudos
+			el.querySelectorAll( "*,:x" );
+			rbuggyQSA.push( ",.*:" );
+		} );
+	}
+
+	if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches ||
+		docElem.webkitMatchesSelector ||
+		docElem.mozMatchesSelector ||
+		docElem.oMatchesSelector ||
+		docElem.msMatchesSelector ) ) ) ) {
+
+		assert( function( el ) {
+
+			// Check to see if it's possible to do matchesSelector
+			// on a disconnected node (IE 9)
+			support.disconnectedMatch = matches.call( el, "*" );
+
+			// This should fail with an exception
+			// Gecko does not error, returns false instead
+			matches.call( el, "[s!='']:x" );
+			rbuggyMatches.push( "!=", pseudos );
+		} );
+	}
+
+	rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) );
+	rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) );
+
+	/* Contains
+	---------------------------------------------------------------------- */
+	hasCompare = rnative.test( docElem.compareDocumentPosition );
+
+	// Element contains another
+	// Purposefully self-exclusive
+	// As in, an element does not contain itself
+	contains = hasCompare || rnative.test( docElem.contains ) ?
+		function( a, b ) {
+			var adown = a.nodeType === 9 ? a.documentElement : a,
+				bup = b && b.parentNode;
+			return a === bup || !!( bup && bup.nodeType === 1 && (
+				adown.contains ?
+					adown.contains( bup ) :
+					a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
+			) );
+		} :
+		function( a, b ) {
+			if ( b ) {
+				while ( ( b = b.parentNode ) ) {
+					if ( b === a ) {
+						return true;
+					}
+				}
+			}
+			return false;
+		};
+
+	/* Sorting
+	---------------------------------------------------------------------- */
+
+	// Document order sorting
+	sortOrder = hasCompare ?
+	function( a, b ) {
+
+		// Flag for duplicate removal
+		if ( a === b ) {
+			hasDuplicate = true;
+			return 0;
+		}
+
+		// Sort on method existence if only one input has compareDocumentPosition
+		var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
+		if ( compare ) {
+			return compare;
+		}
+
+		// Calculate position if both inputs belong to the same document
+		// Support: IE 11+, Edge 17 - 18+
+		// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+		// two documents; shallow comparisons work.
+		// eslint-disable-next-line eqeqeq
+		compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?
+			a.compareDocumentPosition( b ) :
+
+			// Otherwise we know they are disconnected
+			1;
+
+		// Disconnected nodes
+		if ( compare & 1 ||
+			( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {
+
+			// Choose the first element that is related to our preferred document
+			// Support: IE 11+, Edge 17 - 18+
+			// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+			// two documents; shallow comparisons work.
+			// eslint-disable-next-line eqeqeq
+			if ( a == document || a.ownerDocument == preferredDoc &&
+				contains( preferredDoc, a ) ) {
+				return -1;
+			}
+
+			// Support: IE 11+, Edge 17 - 18+
+			// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+			// two documents; shallow comparisons work.
+			// eslint-disable-next-line eqeqeq
+			if ( b == document || b.ownerDocument == preferredDoc &&
+				contains( preferredDoc, b ) ) {
+				return 1;
+			}
+
+			// Maintain original order
+			return sortInput ?
+				( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
+				0;
+		}
+
+		return compare & 4 ? -1 : 1;
+	} :
+	function( a, b ) {
+
+		// Exit early if the nodes are identical
+		if ( a === b ) {
+			hasDuplicate = true;
+			return 0;
+		}
+
+		var cur,
+			i = 0,
+			aup = a.parentNode,
+			bup = b.parentNode,
+			ap = [ a ],
+			bp = [ b ];
+
+		// Parentless nodes are either documents or disconnected
+		if ( !aup || !bup ) {
+
+			// Support: IE 11+, Edge 17 - 18+
+			// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+			// two documents; shallow comparisons work.
+			/* eslint-disable eqeqeq */
+			return a == document ? -1 :
+				b == document ? 1 :
+				/* eslint-enable eqeqeq */
+				aup ? -1 :
+				bup ? 1 :
+				sortInput ?
+				( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
+				0;
+
+		// If the nodes are siblings, we can do a quick check
+		} else if ( aup === bup ) {
+			return siblingCheck( a, b );
+		}
+
+		// Otherwise we need full lists of their ancestors for comparison
+		cur = a;
+		while ( ( cur = cur.parentNode ) ) {
+			ap.unshift( cur );
+		}
+		cur = b;
+		while ( ( cur = cur.parentNode ) ) {
+			bp.unshift( cur );
+		}
+
+		// Walk down the tree looking for a discrepancy
+		while ( ap[ i ] === bp[ i ] ) {
+			i++;
+		}
+
+		return i ?
+
+			// Do a sibling check if the nodes have a common ancestor
+			siblingCheck( ap[ i ], bp[ i ] ) :
+
+			// Otherwise nodes in our document sort first
+			// Support: IE 11+, Edge 17 - 18+
+			// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+			// two documents; shallow comparisons work.
+			/* eslint-disable eqeqeq */
+			ap[ i ] == preferredDoc ? -1 :
+			bp[ i ] == preferredDoc ? 1 :
+			/* eslint-enable eqeqeq */
+			0;
+	};
+
+	return document;
+};
+
+Sizzle.matches = function( expr, elements ) {
+	return Sizzle( expr, null, null, elements );
+};
+
+Sizzle.matchesSelector = function( elem, expr ) {
+	setDocument( elem );
+
+	if ( support.matchesSelector && documentIsHTML &&
+		!nonnativeSelectorCache[ expr + " " ] &&
+		( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
+		( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {
+
+		try {
+			var ret = matches.call( elem, expr );
+
+			// IE 9's matchesSelector returns false on disconnected nodes
+			if ( ret || support.disconnectedMatch ||
+
+				// As well, disconnected nodes are said to be in a document
+				// fragment in IE 9
+				elem.document && elem.document.nodeType !== 11 ) {
+				return ret;
+			}
+		} catch ( e ) {
+			nonnativeSelectorCache( expr, true );
+		}
+	}
+
+	return Sizzle( expr, document, null, [ elem ] ).length > 0;
+};
+
+Sizzle.contains = function( context, elem ) {
+
+	// Set document vars if needed
+	// Support: IE 11+, Edge 17 - 18+
+	// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+	// two documents; shallow comparisons work.
+	// eslint-disable-next-line eqeqeq
+	if ( ( context.ownerDocument || context ) != document ) {
+		setDocument( context );
+	}
+	return contains( context, elem );
+};
+
+Sizzle.attr = function( elem, name ) {
+
+	// Set document vars if needed
+	// Support: IE 11+, Edge 17 - 18+
+	// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+	// two documents; shallow comparisons work.
+	// eslint-disable-next-line eqeqeq
+	if ( ( elem.ownerDocument || elem ) != document ) {
+		setDocument( elem );
+	}
+
+	var fn = Expr.attrHandle[ name.toLowerCase() ],
+
+		// Don't get fooled by Object.prototype properties (jQuery #13807)
+		val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
+			fn( elem, name, !documentIsHTML ) :
+			undefined;
+
+	return val !== undefined ?
+		val :
+		support.attributes || !documentIsHTML ?
+			elem.getAttribute( name ) :
+			( val = elem.getAttributeNode( name ) ) && val.specified ?
+				val.value :
+				null;
+};
+
+Sizzle.escape = function( sel ) {
+	return ( sel + "" ).replace( rcssescape, fcssescape );
+};
+
+Sizzle.error = function( msg ) {
+	throw new Error( "Syntax error, unrecognized expression: " + msg );
+};
+
+/**
+ * Document sorting and removing duplicates
+ * @param {ArrayLike} results
+ */
+Sizzle.uniqueSort = function( results ) {
+	var elem,
+		duplicates = [],
+		j = 0,
+		i = 0;
+
+	// Unless we *know* we can detect duplicates, assume their presence
+	hasDuplicate = !support.detectDuplicates;
+	sortInput = !support.sortStable && results.slice( 0 );
+	results.sort( sortOrder );
+
+	if ( hasDuplicate ) {
+		while ( ( elem = results[ i++ ] ) ) {
+			if ( elem === results[ i ] ) {
+				j = duplicates.push( i );
+			}
+		}
+		while ( j-- ) {
+			results.splice( duplicates[ j ], 1 );
+		}
+	}
+
+	// Clear input after sorting to release objects
+	// See https://github.com/jquery/sizzle/pull/225
+	sortInput = null;
+
+	return results;
+};
+
+/**
+ * Utility function for retrieving the text value of an array of DOM nodes
+ * @param {Array|Element} elem
+ */
+getText = Sizzle.getText = function( elem ) {
+	var node,
+		ret = "",
+		i = 0,
+		nodeType = elem.nodeType;
+
+	if ( !nodeType ) {
+
+		// If no nodeType, this is expected to be an array
+		while ( ( node = elem[ i++ ] ) ) {
+
+			// Do not traverse comment nodes
+			ret += getText( node );
+		}
+	} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
+
+		// Use textContent for elements
+		// innerText usage removed for consistency of new lines (jQuery #11153)
+		if ( typeof elem.textContent === "string" ) {
+			return elem.textContent;
+		} else {
+
+			// Traverse its children
+			for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+				ret += getText( elem );
+			}
+		}
+	} else if ( nodeType === 3 || nodeType === 4 ) {
+		return elem.nodeValue;
+	}
+
+	// Do not include comment or processing instruction nodes
+
+	return ret;
+};
+
+Expr = Sizzle.selectors = {
+
+	// Can be adjusted by the user
+	cacheLength: 50,
+
+	createPseudo: markFunction,
+
+	match: matchExpr,
+
+	attrHandle: {},
+
+	find: {},
+
+	relative: {
+		">": { dir: "parentNode", first: true },
+		" ": { dir: "parentNode" },
+		"+": { dir: "previousSibling", first: true },
+		"~": { dir: "previousSibling" }
+	},
+
+	preFilter: {
+		"ATTR": function( match ) {
+			match[ 1 ] = match[ 1 ].replace( runescape, funescape );
+
+			// Move the given value to match[3] whether quoted or unquoted
+			match[ 3 ] = ( match[ 3 ] || match[ 4 ] ||
+				match[ 5 ] || "" ).replace( runescape, funescape );
+
+			if ( match[ 2 ] === "~=" ) {
+				match[ 3 ] = " " + match[ 3 ] + " ";
+			}
+
+			return match.slice( 0, 4 );
+		},
+
+		"CHILD": function( match ) {
+
+			/* matches from matchExpr["CHILD"]
+				1 type (only|nth|...)
+				2 what (child|of-type)
+				3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
+				4 xn-component of xn+y argument ([+-]?\d*n|)
+				5 sign of xn-component
+				6 x of xn-component
+				7 sign of y-component
+				8 y of y-component
+			*/
+			match[ 1 ] = match[ 1 ].toLowerCase();
+
+			if ( match[ 1 ].slice( 0, 3 ) === "nth" ) {
+
+				// nth-* requires argument
+				if ( !match[ 3 ] ) {
+					Sizzle.error( match[ 0 ] );
+				}
+
+				// numeric x and y parameters for Expr.filter.CHILD
+				// remember that false/true cast respectively to 0/1
+				match[ 4 ] = +( match[ 4 ] ?
+					match[ 5 ] + ( match[ 6 ] || 1 ) :
+					2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) );
+				match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" );
+
+				// other types prohibit arguments
+			} else if ( match[ 3 ] ) {
+				Sizzle.error( match[ 0 ] );
+			}
+
+			return match;
+		},
+
+		"PSEUDO": function( match ) {
+			var excess,
+				unquoted = !match[ 6 ] && match[ 2 ];
+
+			if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) {
+				return null;
+			}
+
+			// Accept quoted arguments as-is
+			if ( match[ 3 ] ) {
+				match[ 2 ] = match[ 4 ] || match[ 5 ] || "";
+
+			// Strip excess characters from unquoted arguments
+			} else if ( unquoted && rpseudo.test( unquoted ) &&
+
+				// Get excess from tokenize (recursively)
+				( excess = tokenize( unquoted, true ) ) &&
+
+				// advance to the next closing parenthesis
+				( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) {
+
+				// excess is a negative index
+				match[ 0 ] = match[ 0 ].slice( 0, excess );
+				match[ 2 ] = unquoted.slice( 0, excess );
+			}
+
+			// Return only captures needed by the pseudo filter method (type and argument)
+			return match.slice( 0, 3 );
+		}
+	},
+
+	filter: {
+
+		"TAG": function( nodeNameSelector ) {
+			var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
+			return nodeNameSelector === "*" ?
+				function() {
+					return true;
+				} :
+				function( elem ) {
+					return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
+				};
+		},
+
+		"CLASS": function( className ) {
+			var pattern = classCache[ className + " " ];
+
+			return pattern ||
+				( pattern = new RegExp( "(^|" + whitespace +
+					")" + className + "(" + whitespace + "|$)" ) ) && classCache(
+						className, function( elem ) {
+							return pattern.test(
+								typeof elem.className === "string" && elem.className ||
+								typeof elem.getAttribute !== "undefined" &&
+									elem.getAttribute( "class" ) ||
+								""
+							);
+				} );
+		},
+
+		"ATTR": function( name, operator, check ) {
+			return function( elem ) {
+				var result = Sizzle.attr( elem, name );
+
+				if ( result == null ) {
+					return operator === "!=";
+				}
+				if ( !operator ) {
+					return true;
+				}
+
+				result += "";
+
+				/* eslint-disable max-len */
+
+				return operator === "=" ? result === check :
+					operator === "!=" ? result !== check :
+					operator === "^=" ? check && result.indexOf( check ) === 0 :
+					operator === "*=" ? check && result.indexOf( check ) > -1 :
+					operator === "$=" ? check && result.slice( -check.length ) === check :
+					operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 :
+					operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
+					false;
+				/* eslint-enable max-len */
+
+			};
+		},
+
+		"CHILD": function( type, what, _argument, first, last ) {
+			var simple = type.slice( 0, 3 ) !== "nth",
+				forward = type.slice( -4 ) !== "last",
+				ofType = what === "of-type";
+
+			return first === 1 && last === 0 ?
+
+				// Shortcut for :nth-*(n)
+				function( elem ) {
+					return !!elem.parentNode;
+				} :
+
+				function( elem, _context, xml ) {
+					var cache, uniqueCache, outerCache, node, nodeIndex, start,
+						dir = simple !== forward ? "nextSibling" : "previousSibling",
+						parent = elem.parentNode,
+						name = ofType && elem.nodeName.toLowerCase(),
+						useCache = !xml && !ofType,
+						diff = false;
+
+					if ( parent ) {
+
+						// :(first|last|only)-(child|of-type)
+						if ( simple ) {
+							while ( dir ) {
+								node = elem;
+								while ( ( node = node[ dir ] ) ) {
+									if ( ofType ?
+										node.nodeName.toLowerCase() === name :
+										node.nodeType === 1 ) {
+
+										return false;
+									}
+								}
+
+								// Reverse direction for :only-* (if we haven't yet done so)
+								start = dir = type === "only" && !start && "nextSibling";
+							}
+							return true;
+						}
+
+						start = [ forward ? parent.firstChild : parent.lastChild ];
+
+						// non-xml :nth-child(...) stores cache data on `parent`
+						if ( forward && useCache ) {
+
+							// Seek `elem` from a previously-cached index
+
+							// ...in a gzip-friendly way
+							node = parent;
+							outerCache = node[ expando ] || ( node[ expando ] = {} );
+
+							// Support: IE <9 only
+							// Defend against cloned attroperties (jQuery gh-1709)
+							uniqueCache = outerCache[ node.uniqueID ] ||
+								( outerCache[ node.uniqueID ] = {} );
+
+							cache = uniqueCache[ type ] || [];
+							nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
+							diff = nodeIndex && cache[ 2 ];
+							node = nodeIndex && parent.childNodes[ nodeIndex ];
+
+							while ( ( node = ++nodeIndex && node && node[ dir ] ||
+
+								// Fallback to seeking `elem` from the start
+								( diff = nodeIndex = 0 ) || start.pop() ) ) {
+
+								// When found, cache indexes on `parent` and break
+								if ( node.nodeType === 1 && ++diff && node === elem ) {
+									uniqueCache[ type ] = [ dirruns, nodeIndex, diff ];
+									break;
+								}
+							}
+
+						} else {
+
+							// Use previously-cached element index if available
+							if ( useCache ) {
+
+								// ...in a gzip-friendly way
+								node = elem;
+								outerCache = node[ expando ] || ( node[ expando ] = {} );
+
+								// Support: IE <9 only
+								// Defend against cloned attroperties (jQuery gh-1709)
+								uniqueCache = outerCache[ node.uniqueID ] ||
+									( outerCache[ node.uniqueID ] = {} );
+
+								cache = uniqueCache[ type ] || [];
+								nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
+								diff = nodeIndex;
+							}
+
+							// xml :nth-child(...)
+							// or :nth-last-child(...) or :nth(-last)?-of-type(...)
+							if ( diff === false ) {
+
+								// Use the same loop as above to seek `elem` from the start
+								while ( ( node = ++nodeIndex && node && node[ dir ] ||
+									( diff = nodeIndex = 0 ) || start.pop() ) ) {
+
+									if ( ( ofType ?
+										node.nodeName.toLowerCase() === name :
+										node.nodeType === 1 ) &&
+										++diff ) {
+
+										// Cache the index of each encountered element
+										if ( useCache ) {
+											outerCache = node[ expando ] ||
+												( node[ expando ] = {} );
+
+											// Support: IE <9 only
+											// Defend against cloned attroperties (jQuery gh-1709)
+											uniqueCache = outerCache[ node.uniqueID ] ||
+												( outerCache[ node.uniqueID ] = {} );
+
+											uniqueCache[ type ] = [ dirruns, diff ];
+										}
+
+										if ( node === elem ) {
+											break;
+										}
+									}
+								}
+							}
+						}
+
+						// Incorporate the offset, then check against cycle size
+						diff -= last;
+						return diff === first || ( diff % first === 0 && diff / first >= 0 );
+					}
+				};
+		},
+
+		"PSEUDO": function( pseudo, argument ) {
+
+			// pseudo-class names are case-insensitive
+			// http://www.w3.org/TR/selectors/#pseudo-classes
+			// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
+			// Remember that setFilters inherits from pseudos
+			var args,
+				fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
+					Sizzle.error( "unsupported pseudo: " + pseudo );
+
+			// The user may use createPseudo to indicate that
+			// arguments are needed to create the filter function
+			// just as Sizzle does
+			if ( fn[ expando ] ) {
+				return fn( argument );
+			}
+
+			// But maintain support for old signatures
+			if ( fn.length > 1 ) {
+				args = [ pseudo, pseudo, "", argument ];
+				return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
+					markFunction( function( seed, matches ) {
+						var idx,
+							matched = fn( seed, argument ),
+							i = matched.length;
+						while ( i-- ) {
+							idx = indexOf( seed, matched[ i ] );
+							seed[ idx ] = !( matches[ idx ] = matched[ i ] );
+						}
+					} ) :
+					function( elem ) {
+						return fn( elem, 0, args );
+					};
+			}
+
+			return fn;
+		}
+	},
+
+	pseudos: {
+
+		// Potentially complex pseudos
+		"not": markFunction( function( selector ) {
+
+			// Trim the selector passed to compile
+			// to avoid treating leading and trailing
+			// spaces as combinators
+			var input = [],
+				results = [],
+				matcher = compile( selector.replace( rtrim, "$1" ) );
+
+			return matcher[ expando ] ?
+				markFunction( function( seed, matches, _context, xml ) {
+					var elem,
+						unmatched = matcher( seed, null, xml, [] ),
+						i = seed.length;
+
+					// Match elements unmatched by `matcher`
+					while ( i-- ) {
+						if ( ( elem = unmatched[ i ] ) ) {
+							seed[ i ] = !( matches[ i ] = elem );
+						}
+					}
+				} ) :
+				function( elem, _context, xml ) {
+					input[ 0 ] = elem;
+					matcher( input, null, xml, results );
+
+					// Don't keep the element (issue #299)
+					input[ 0 ] = null;
+					return !results.pop();
+				};
+		} ),
+
+		"has": markFunction( function( selector ) {
+			return function( elem ) {
+				return Sizzle( selector, elem ).length > 0;
+			};
+		} ),
+
+		"contains": markFunction( function( text ) {
+			text = text.replace( runescape, funescape );
+			return function( elem ) {
+				return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1;
+			};
+		} ),
+
+		// "Whether an element is represented by a :lang() selector
+		// is based solely on the element's language value
+		// being equal to the identifier C,
+		// or beginning with the identifier C immediately followed by "-".
+		// The matching of C against the element's language value is performed case-insensitively.
+		// The identifier C does not have to be a valid language name."
+		// http://www.w3.org/TR/selectors/#lang-pseudo
+		"lang": markFunction( function( lang ) {
+
+			// lang value must be a valid identifier
+			if ( !ridentifier.test( lang || "" ) ) {
+				Sizzle.error( "unsupported lang: " + lang );
+			}
+			lang = lang.replace( runescape, funescape ).toLowerCase();
+			return function( elem ) {
+				var elemLang;
+				do {
+					if ( ( elemLang = documentIsHTML ?
+						elem.lang :
+						elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) {
+
+						elemLang = elemLang.toLowerCase();
+						return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
+					}
+				} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );
+				return false;
+			};
+		} ),
+
+		// Miscellaneous
+		"target": function( elem ) {
+			var hash = window.location && window.location.hash;
+			return hash && hash.slice( 1 ) === elem.id;
+		},
+
+		"root": function( elem ) {
+			return elem === docElem;
+		},
+
+		"focus": function( elem ) {
+			return elem === document.activeElement &&
+				( !document.hasFocus || document.hasFocus() ) &&
+				!!( elem.type || elem.href || ~elem.tabIndex );
+		},
+
+		// Boolean properties
+		"enabled": createDisabledPseudo( false ),
+		"disabled": createDisabledPseudo( true ),
+
+		"checked": function( elem ) {
+
+			// In CSS3, :checked should return both checked and selected elements
+			// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+			var nodeName = elem.nodeName.toLowerCase();
+			return ( nodeName === "input" && !!elem.checked ) ||
+				( nodeName === "option" && !!elem.selected );
+		},
+
+		"selected": function( elem ) {
+
+			// Accessing this property makes selected-by-default
+			// options in Safari work properly
+			if ( elem.parentNode ) {
+				// eslint-disable-next-line no-unused-expressions
+				elem.parentNode.selectedIndex;
+			}
+
+			return elem.selected === true;
+		},
+
+		// Contents
+		"empty": function( elem ) {
+
+			// http://www.w3.org/TR/selectors/#empty-pseudo
+			// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
+			//   but not by others (comment: 8; processing instruction: 7; etc.)
+			// nodeType < 6 works because attributes (2) do not appear as children
+			for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
+				if ( elem.nodeType < 6 ) {
+					return false;
+				}
+			}
+			return true;
+		},
+
+		"parent": function( elem ) {
+			return !Expr.pseudos[ "empty" ]( elem );
+		},
+
+		// Element/input types
+		"header": function( elem ) {
+			return rheader.test( elem.nodeName );
+		},
+
+		"input": function( elem ) {
+			return rinputs.test( elem.nodeName );
+		},
+
+		"button": function( elem ) {
+			var name = elem.nodeName.toLowerCase();
+			return name === "input" && elem.type === "button" || name === "button";
+		},
+
+		"text": function( elem ) {
+			var attr;
+			return elem.nodeName.toLowerCase() === "input" &&
+				elem.type === "text" &&
+
+				// Support: IE<8
+				// New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
+				( ( attr = elem.getAttribute( "type" ) ) == null ||
+					attr.toLowerCase() === "text" );
+		},
+
+		// Position-in-collection
+		"first": createPositionalPseudo( function() {
+			return [ 0 ];
+		} ),
+
+		"last": createPositionalPseudo( function( _matchIndexes, length ) {
+			return [ length - 1 ];
+		} ),
+
+		"eq": createPositionalPseudo( function( _matchIndexes, length, argument ) {
+			return [ argument < 0 ? argument + length : argument ];
+		} ),
+
+		"even": createPositionalPseudo( function( matchIndexes, length ) {
+			var i = 0;
+			for ( ; i < length; i += 2 ) {
+				matchIndexes.push( i );
+			}
+			return matchIndexes;
+		} ),
+
+		"odd": createPositionalPseudo( function( matchIndexes, length ) {
+			var i = 1;
+			for ( ; i < length; i += 2 ) {
+				matchIndexes.push( i );
+			}
+			return matchIndexes;
+		} ),
+
+		"lt": createPositionalPseudo( function( matchIndexes, length, argument ) {
+			var i = argument < 0 ?
+				argument + length :
+				argument > length ?
+					length :
+					argument;
+			for ( ; --i >= 0; ) {
+				matchIndexes.push( i );
+			}
+			return matchIndexes;
+		} ),
+
+		"gt": createPositionalPseudo( function( matchIndexes, length, argument ) {
+			var i = argument < 0 ? argument + length : argument;
+			for ( ; ++i < length; ) {
+				matchIndexes.push( i );
+			}
+			return matchIndexes;
+		} )
+	}
+};
+
+Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ];
+
+// Add button/input type pseudos
+for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
+	Expr.pseudos[ i ] = createInputPseudo( i );
+}
+for ( i in { submit: true, reset: true } ) {
+	Expr.pseudos[ i ] = createButtonPseudo( i );
+}
+
+// Easy API for creating new setFilters
+function setFilters() {}
+setFilters.prototype = Expr.filters = Expr.pseudos;
+Expr.setFilters = new setFilters();
+
+tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
+	var matched, match, tokens, type,
+		soFar, groups, preFilters,
+		cached = tokenCache[ selector + " " ];
+
+	if ( cached ) {
+		return parseOnly ? 0 : cached.slice( 0 );
+	}
+
+	soFar = selector;
+	groups = [];
+	preFilters = Expr.preFilter;
+
+	while ( soFar ) {
+
+		// Comma and first run
+		if ( !matched || ( match = rcomma.exec( soFar ) ) ) {
+			if ( match ) {
+
+				// Don't consume trailing commas as valid
+				soFar = soFar.slice( match[ 0 ].length ) || soFar;
+			}
+			groups.push( ( tokens = [] ) );
+		}
+
+		matched = false;
+
+		// Combinators
+		if ( ( match = rcombinators.exec( soFar ) ) ) {
+			matched = match.shift();
+			tokens.push( {
+				value: matched,
+
+				// Cast descendant combinators to space
+				type: match[ 0 ].replace( rtrim, " " )
+			} );
+			soFar = soFar.slice( matched.length );
+		}
+
+		// Filters
+		for ( type in Expr.filter ) {
+			if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||
+				( match = preFilters[ type ]( match ) ) ) ) {
+				matched = match.shift();
+				tokens.push( {
+					value: matched,
+					type: type,
+					matches: match
+				} );
+				soFar = soFar.slice( matched.length );
+			}
+		}
+
+		if ( !matched ) {
+			break;
+		}
+	}
+
+	// Return the length of the invalid excess
+	// if we're just parsing
+	// Otherwise, throw an error or return tokens
+	return parseOnly ?
+		soFar.length :
+		soFar ?
+			Sizzle.error( selector ) :
+
+			// Cache the tokens
+			tokenCache( selector, groups ).slice( 0 );
+};
+
+function toSelector( tokens ) {
+	var i = 0,
+		len = tokens.length,
+		selector = "";
+	for ( ; i < len; i++ ) {
+		selector += tokens[ i ].value;
+	}
+	return selector;
+}
+
+function addCombinator( matcher, combinator, base ) {
+	var dir = combinator.dir,
+		skip = combinator.next,
+		key = skip || dir,
+		checkNonElements = base && key === "parentNode",
+		doneName = done++;
+
+	return combinator.first ?
+
+		// Check against closest ancestor/preceding element
+		function( elem, context, xml ) {
+			while ( ( elem = elem[ dir ] ) ) {
+				if ( elem.nodeType === 1 || checkNonElements ) {
+					return matcher( elem, context, xml );
+				}
+			}
+			return false;
+		} :
+
+		// Check against all ancestor/preceding elements
+		function( elem, context, xml ) {
+			var oldCache, uniqueCache, outerCache,
+				newCache = [ dirruns, doneName ];
+
+			// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
+			if ( xml ) {
+				while ( ( elem = elem[ dir ] ) ) {
+					if ( elem.nodeType === 1 || checkNonElements ) {
+						if ( matcher( elem, context, xml ) ) {
+							return true;
+						}
+					}
+				}
+			} else {
+				while ( ( elem = elem[ dir ] ) ) {
+					if ( elem.nodeType === 1 || checkNonElements ) {
+						outerCache = elem[ expando ] || ( elem[ expando ] = {} );
+
+						// Support: IE <9 only
+						// Defend against cloned attroperties (jQuery gh-1709)
+						uniqueCache = outerCache[ elem.uniqueID ] ||
+							( outerCache[ elem.uniqueID ] = {} );
+
+						if ( skip && skip === elem.nodeName.toLowerCase() ) {
+							elem = elem[ dir ] || elem;
+						} else if ( ( oldCache = uniqueCache[ key ] ) &&
+							oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
+
+							// Assign to newCache so results back-propagate to previous elements
+							return ( newCache[ 2 ] = oldCache[ 2 ] );
+						} else {
+
+							// Reuse newcache so results back-propagate to previous elements
+							uniqueCache[ key ] = newCache;
+
+							// A match means we're done; a fail means we have to keep checking
+							if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {
+								return true;
+							}
+						}
+					}
+				}
+			}
+			return false;
+		};
+}
+
+function elementMatcher( matchers ) {
+	return matchers.length > 1 ?
+		function( elem, context, xml ) {
+			var i = matchers.length;
+			while ( i-- ) {
+				if ( !matchers[ i ]( elem, context, xml ) ) {
+					return false;
+				}
+			}
+			return true;
+		} :
+		matchers[ 0 ];
+}
+
+function multipleContexts( selector, contexts, results ) {
+	var i = 0,
+		len = contexts.length;
+	for ( ; i < len; i++ ) {
+		Sizzle( selector, contexts[ i ], results );
+	}
+	return results;
+}
+
+function condense( unmatched, map, filter, context, xml ) {
+	var elem,
+		newUnmatched = [],
+		i = 0,
+		len = unmatched.length,
+		mapped = map != null;
+
+	for ( ; i < len; i++ ) {
+		if ( ( elem = unmatched[ i ] ) ) {
+			if ( !filter || filter( elem, context, xml ) ) {
+				newUnmatched.push( elem );
+				if ( mapped ) {
+					map.push( i );
+				}
+			}
+		}
+	}
+
+	return newUnmatched;
+}
+
+function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
+	if ( postFilter && !postFilter[ expando ] ) {
+		postFilter = setMatcher( postFilter );
+	}
+	if ( postFinder && !postFinder[ expando ] ) {
+		postFinder = setMatcher( postFinder, postSelector );
+	}
+	return markFunction( function( seed, results, context, xml ) {
+		var temp, i, elem,
+			preMap = [],
+			postMap = [],
+			preexisting = results.length,
+
+			// Get initial elements from seed or context
+			elems = seed || multipleContexts(
+				selector || "*",
+				context.nodeType ? [ context ] : context,
+				[]
+			),
+
+			// Prefilter to get matcher input, preserving a map for seed-results synchronization
+			matcherIn = preFilter && ( seed || !selector ) ?
+				condense( elems, preMap, preFilter, context, xml ) :
+				elems,
+
+			matcherOut = matcher ?
+
+				// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
+				postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
+
+					// ...intermediate processing is necessary
+					[] :
+
+					// ...otherwise use results directly
+					results :
+				matcherIn;
+
+		// Find primary matches
+		if ( matcher ) {
+			matcher( matcherIn, matcherOut, context, xml );
+		}
+
+		// Apply postFilter
+		if ( postFilter ) {
+			temp = condense( matcherOut, postMap );
+			postFilter( temp, [], context, xml );
+
+			// Un-match failing elements by moving them back to matcherIn
+			i = temp.length;
+			while ( i-- ) {
+				if ( ( elem = temp[ i ] ) ) {
+					matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );
+				}
+			}
+		}
+
+		if ( seed ) {
+			if ( postFinder || preFilter ) {
+				if ( postFinder ) {
+
+					// Get the final matcherOut by condensing this intermediate into postFinder contexts
+					temp = [];
+					i = matcherOut.length;
+					while ( i-- ) {
+						if ( ( elem = matcherOut[ i ] ) ) {
+
+							// Restore matcherIn since elem is not yet a final match
+							temp.push( ( matcherIn[ i ] = elem ) );
+						}
+					}
+					postFinder( null, ( matcherOut = [] ), temp, xml );
+				}
+
+				// Move matched elements from seed to results to keep them synchronized
+				i = matcherOut.length;
+				while ( i-- ) {
+					if ( ( elem = matcherOut[ i ] ) &&
+						( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) {
+
+						seed[ temp ] = !( results[ temp ] = elem );
+					}
+				}
+			}
+
+		// Add elements to results, through postFinder if defined
+		} else {
+			matcherOut = condense(
+				matcherOut === results ?
+					matcherOut.splice( preexisting, matcherOut.length ) :
+					matcherOut
+			);
+			if ( postFinder ) {
+				postFinder( null, results, matcherOut, xml );
+			} else {
+				push.apply( results, matcherOut );
+			}
+		}
+	} );
+}
+
+function matcherFromTokens( tokens ) {
+	var checkContext, matcher, j,
+		len = tokens.length,
+		leadingRelative = Expr.relative[ tokens[ 0 ].type ],
+		implicitRelative = leadingRelative || Expr.relative[ " " ],
+		i = leadingRelative ? 1 : 0,
+
+		// The foundational matcher ensures that elements are reachable from top-level context(s)
+		matchContext = addCombinator( function( elem ) {
+			return elem === checkContext;
+		}, implicitRelative, true ),
+		matchAnyContext = addCombinator( function( elem ) {
+			return indexOf( checkContext, elem ) > -1;
+		}, implicitRelative, true ),
+		matchers = [ function( elem, context, xml ) {
+			var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
+				( checkContext = context ).nodeType ?
+					matchContext( elem, context, xml ) :
+					matchAnyContext( elem, context, xml ) );
+
+			// Avoid hanging onto element (issue #299)
+			checkContext = null;
+			return ret;
+		} ];
+
+	for ( ; i < len; i++ ) {
+		if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {
+			matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];
+		} else {
+			matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );
+
+			// Return special upon seeing a positional matcher
+			if ( matcher[ expando ] ) {
+
+				// Find the next relative operator (if any) for proper handling
+				j = ++i;
+				for ( ; j < len; j++ ) {
+					if ( Expr.relative[ tokens[ j ].type ] ) {
+						break;
+					}
+				}
+				return setMatcher(
+					i > 1 && elementMatcher( matchers ),
+					i > 1 && toSelector(
+
+					// If the preceding token was a descendant combinator, insert an implicit any-element `*`
+					tokens
+						.slice( 0, i - 1 )
+						.concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } )
+					).replace( rtrim, "$1" ),
+					matcher,
+					i < j && matcherFromTokens( tokens.slice( i, j ) ),
+					j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),
+					j < len && toSelector( tokens )
+				);
+			}
+			matchers.push( matcher );
+		}
+	}
+
+	return elementMatcher( matchers );
+}
+
+function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
+	var bySet = setMatchers.length > 0,
+		byElement = elementMatchers.length > 0,
+		superMatcher = function( seed, context, xml, results, outermost ) {
+			var elem, j, matcher,
+				matchedCount = 0,
+				i = "0",
+				unmatched = seed && [],
+				setMatched = [],
+				contextBackup = outermostContext,
+
+				// We must always have either seed elements or outermost context
+				elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ),
+
+				// Use integer dirruns iff this is the outermost matcher
+				dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),
+				len = elems.length;
+
+			if ( outermost ) {
+
+				// Support: IE 11+, Edge 17 - 18+
+				// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+				// two documents; shallow comparisons work.
+				// eslint-disable-next-line eqeqeq
+				outermostContext = context == document || context || outermost;
+			}
+
+			// Add elements passing elementMatchers directly to results
+			// Support: IE<9, Safari
+			// Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
+			for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {
+				if ( byElement && elem ) {
+					j = 0;
+
+					// Support: IE 11+, Edge 17 - 18+
+					// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+					// two documents; shallow comparisons work.
+					// eslint-disable-next-line eqeqeq
+					if ( !context && elem.ownerDocument != document ) {
+						setDocument( elem );
+						xml = !documentIsHTML;
+					}
+					while ( ( matcher = elementMatchers[ j++ ] ) ) {
+						if ( matcher( elem, context || document, xml ) ) {
+							results.push( elem );
+							break;
+						}
+					}
+					if ( outermost ) {
+						dirruns = dirrunsUnique;
+					}
+				}
+
+				// Track unmatched elements for set filters
+				if ( bySet ) {
+
+					// They will have gone through all possible matchers
+					if ( ( elem = !matcher && elem ) ) {
+						matchedCount--;
+					}
+
+					// Lengthen the array for every element, matched or not
+					if ( seed ) {
+						unmatched.push( elem );
+					}
+				}
+			}
+
+			// `i` is now the count of elements visited above, and adding it to `matchedCount`
+			// makes the latter nonnegative.
+			matchedCount += i;
+
+			// Apply set filters to unmatched elements
+			// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`
+			// equals `i`), unless we didn't visit _any_ elements in the above loop because we have
+			// no element matchers and no seed.
+			// Incrementing an initially-string "0" `i` allows `i` to remain a string only in that
+			// case, which will result in a "00" `matchedCount` that differs from `i` but is also
+			// numerically zero.
+			if ( bySet && i !== matchedCount ) {
+				j = 0;
+				while ( ( matcher = setMatchers[ j++ ] ) ) {
+					matcher( unmatched, setMatched, context, xml );
+				}
+
+				if ( seed ) {
+
+					// Reintegrate element matches to eliminate the need for sorting
+					if ( matchedCount > 0 ) {
+						while ( i-- ) {
+							if ( !( unmatched[ i ] || setMatched[ i ] ) ) {
+								setMatched[ i ] = pop.call( results );
+							}
+						}
+					}
+
+					// Discard index placeholder values to get only actual matches
+					setMatched = condense( setMatched );
+				}
+
+				// Add matches to results
+				push.apply( results, setMatched );
+
+				// Seedless set matches succeeding multiple successful matchers stipulate sorting
+				if ( outermost && !seed && setMatched.length > 0 &&
+					( matchedCount + setMatchers.length ) > 1 ) {
+
+					Sizzle.uniqueSort( results );
+				}
+			}
+
+			// Override manipulation of globals by nested matchers
+			if ( outermost ) {
+				dirruns = dirrunsUnique;
+				outermostContext = contextBackup;
+			}
+
+			return unmatched;
+		};
+
+	return bySet ?
+		markFunction( superMatcher ) :
+		superMatcher;
+}
+
+compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
+	var i,
+		setMatchers = [],
+		elementMatchers = [],
+		cached = compilerCache[ selector + " " ];
+
+	if ( !cached ) {
+
+		// Generate a function of recursive functions that can be used to check each element
+		if ( !match ) {
+			match = tokenize( selector );
+		}
+		i = match.length;
+		while ( i-- ) {
+			cached = matcherFromTokens( match[ i ] );
+			if ( cached[ expando ] ) {
+				setMatchers.push( cached );
+			} else {
+				elementMatchers.push( cached );
+			}
+		}
+
+		// Cache the compiled function
+		cached = compilerCache(
+			selector,
+			matcherFromGroupMatchers( elementMatchers, setMatchers )
+		);
+
+		// Save selector and tokenization
+		cached.selector = selector;
+	}
+	return cached;
+};
+
+/**
+ * A low-level selection function that works with Sizzle's compiled
+ *  selector functions
+ * @param {String|Function} selector A selector or a pre-compiled
+ *  selector function built with Sizzle.compile
+ * @param {Element} context
+ * @param {Array} [results]
+ * @param {Array} [seed] A set of elements to match against
+ */
+select = Sizzle.select = function( selector, context, results, seed ) {
+	var i, tokens, token, type, find,
+		compiled = typeof selector === "function" && selector,
+		match = !seed && tokenize( ( selector = compiled.selector || selector ) );
+
+	results = results || [];
+
+	// Try to minimize operations if there is only one selector in the list and no seed
+	// (the latter of which guarantees us context)
+	if ( match.length === 1 ) {
+
+		// Reduce context if the leading compound selector is an ID
+		tokens = match[ 0 ] = match[ 0 ].slice( 0 );
+		if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" &&
+			context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {
+
+			context = ( Expr.find[ "ID" ]( token.matches[ 0 ]
+				.replace( runescape, funescape ), context ) || [] )[ 0 ];
+			if ( !context ) {
+				return results;
+
+			// Precompiled matchers will still verify ancestry, so step up a level
+			} else if ( compiled ) {
+				context = context.parentNode;
+			}
+
+			selector = selector.slice( tokens.shift().value.length );
+		}
+
+		// Fetch a seed set for right-to-left matching
+		i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length;
+		while ( i-- ) {
+			token = tokens[ i ];
+
+			// Abort if we hit a combinator
+			if ( Expr.relative[ ( type = token.type ) ] ) {
+				break;
+			}
+			if ( ( find = Expr.find[ type ] ) ) {
+
+				// Search, expanding context for leading sibling combinators
+				if ( ( seed = find(
+					token.matches[ 0 ].replace( runescape, funescape ),
+					rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) ||
+						context
+				) ) ) {
+
+					// If seed is empty or no tokens remain, we can return early
+					tokens.splice( i, 1 );
+					selector = seed.length && toSelector( tokens );
+					if ( !selector ) {
+						push.apply( results, seed );
+						return results;
+					}
+
+					break;
+				}
+			}
+		}
+	}
+
+	// Compile and execute a filtering function if one is not provided
+	// Provide `match` to avoid retokenization if we modified the selector above
+	( compiled || compile( selector, match ) )(
+		seed,
+		context,
+		!documentIsHTML,
+		results,
+		!context || rsibling.test( selector ) && testContext( context.parentNode ) || context
+	);
+	return results;
+};
+
+// One-time assignments
+
+// Sort stability
+support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando;
+
+// Support: Chrome 14-35+
+// Always assume duplicates if they aren't passed to the comparison function
+support.detectDuplicates = !!hasDuplicate;
+
+// Initialize against the default document
+setDocument();
+
+// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
+// Detached nodes confoundingly follow *each other*
+support.sortDetached = assert( function( el ) {
+
+	// Should return 1, but returns 4 (following)
+	return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1;
+} );
+
+// Support: IE<8
+// Prevent attribute/property "interpolation"
+// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
+if ( !assert( function( el ) {
+	el.innerHTML = "<a href='#'></a>";
+	return el.firstChild.getAttribute( "href" ) === "#";
+} ) ) {
+	addHandle( "type|href|height|width", function( elem, name, isXML ) {
+		if ( !isXML ) {
+			return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
+		}
+	} );
+}
+
+// Support: IE<9
+// Use defaultValue in place of getAttribute("value")
+if ( !support.attributes || !assert( function( el ) {
+	el.innerHTML = "<input/>";
+	el.firstChild.setAttribute( "value", "" );
+	return el.firstChild.getAttribute( "value" ) === "";
+} ) ) {
+	addHandle( "value", function( elem, _name, isXML ) {
+		if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
+			return elem.defaultValue;
+		}
+	} );
+}
+
+// Support: IE<9
+// Use getAttributeNode to fetch booleans when getAttribute lies
+if ( !assert( function( el ) {
+	return el.getAttribute( "disabled" ) == null;
+} ) ) {
+	addHandle( booleans, function( elem, name, isXML ) {
+		var val;
+		if ( !isXML ) {
+			return elem[ name ] === true ? name.toLowerCase() :
+				( val = elem.getAttributeNode( name ) ) && val.specified ?
+					val.value :
+					null;
+		}
+	} );
+}
+
+return Sizzle;
+
+} )( window );
+
+
+
+jQuery.find = Sizzle;
+jQuery.expr = Sizzle.selectors;
+
+// Deprecated
+jQuery.expr[ ":" ] = jQuery.expr.pseudos;
+jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;
+jQuery.text = Sizzle.getText;
+jQuery.isXMLDoc = Sizzle.isXML;
+jQuery.contains = Sizzle.contains;
+jQuery.escapeSelector = Sizzle.escape;
+
+
+
+
+var dir = function( elem, dir, until ) {
+	var matched = [],
+		truncate = until !== undefined;
+
+	while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
+		if ( elem.nodeType === 1 ) {
+			if ( truncate && jQuery( elem ).is( until ) ) {
+				break;
+			}
+			matched.push( elem );
+		}
+	}
+	return matched;
+};
+
+
+var siblings = function( n, elem ) {
+	var matched = [];
+
+	for ( ; n; n = n.nextSibling ) {
+		if ( n.nodeType === 1 && n !== elem ) {
+			matched.push( n );
+		}
+	}
+
+	return matched;
+};
+
+
+var rneedsContext = jQuery.expr.match.needsContext;
+
+
+
+function nodeName( elem, name ) {
+
+	return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
+
+}
+var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
+
+
+
+// Implement the identical functionality for filter and not
+function winnow( elements, qualifier, not ) {
+	if ( isFunction( qualifier ) ) {
+		return jQuery.grep( elements, function( elem, i ) {
+			return !!qualifier.call( elem, i, elem ) !== not;
+		} );
+	}
+
+	// Single element
+	if ( qualifier.nodeType ) {
+		return jQuery.grep( elements, function( elem ) {
+			return ( elem === qualifier ) !== not;
+		} );
+	}
+
+	// Arraylike of elements (jQuery, arguments, Array)
+	if ( typeof qualifier !== "string" ) {
+		return jQuery.grep( elements, function( elem ) {
+			return ( indexOf.call( qualifier, elem ) > -1 ) !== not;
+		} );
+	}
+
+	// Filtered directly for both simple and complex selectors
+	return jQuery.filter( qualifier, elements, not );
+}
+
+jQuery.filter = function( expr, elems, not ) {
+	var elem = elems[ 0 ];
+
+	if ( not ) {
+		expr = ":not(" + expr + ")";
+	}
+
+	if ( elems.length === 1 && elem.nodeType === 1 ) {
+		return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];
+	}
+
+	return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
+		return elem.nodeType === 1;
+	} ) );
+};
+
+jQuery.fn.extend( {
+	find: function( selector ) {
+		var i, ret,
+			len = this.length,
+			self = this;
+
+		if ( typeof selector !== "string" ) {
+			return this.pushStack( jQuery( selector ).filter( function() {
+				for ( i = 0; i < len; i++ ) {
+					if ( jQuery.contains( self[ i ], this ) ) {
+						return true;
+					}
+				}
+			} ) );
+		}
+
+		ret = this.pushStack( [] );
+
+		for ( i = 0; i < len; i++ ) {
+			jQuery.find( selector, self[ i ], ret );
+		}
+
+		return len > 1 ? jQuery.uniqueSort( ret ) : ret;
+	},
+	filter: function( selector ) {
+		return this.pushStack( winnow( this, selector || [], false ) );
+	},
+	not: function( selector ) {
+		return this.pushStack( winnow( this, selector || [], true ) );
+	},
+	is: function( selector ) {
+		return !!winnow(
+			this,
+
+			// If this is a positional/relative selector, check membership in the returned set
+			// so $("p:first").is("p:last") won't return true for a doc with two "p".
+			typeof selector === "string" && rneedsContext.test( selector ) ?
+				jQuery( selector ) :
+				selector || [],
+			false
+		).length;
+	}
+} );
+
+
+// Initialize a jQuery object
+
+
+// A central reference to the root jQuery(document)
+var rootjQuery,
+
+	// A simple way to check for HTML strings
+	// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
+	// Strict HTML recognition (#11290: must start with <)
+	// Shortcut simple #id case for speed
+	rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,
+
+	init = jQuery.fn.init = function( selector, context, root ) {
+		var match, elem;
+
+		// HANDLE: $(""), $(null), $(undefined), $(false)
+		if ( !selector ) {
+			return this;
+		}
+
+		// Method init() accepts an alternate rootjQuery
+		// so migrate can support jQuery.sub (gh-2101)
+		root = root || rootjQuery;
+
+		// Handle HTML strings
+		if ( typeof selector === "string" ) {
+			if ( selector[ 0 ] === "<" &&
+				selector[ selector.length - 1 ] === ">" &&
+				selector.length >= 3 ) {
+
+				// Assume that strings that start and end with <> are HTML and skip the regex check
+				match = [ null, selector, null ];
+
+			} else {
+				match = rquickExpr.exec( selector );
+			}
+
+			// Match html or make sure no context is specified for #id
+			if ( match && ( match[ 1 ] || !context ) ) {
+
+				// HANDLE: $(html) -> $(array)
+				if ( match[ 1 ] ) {
+					context = context instanceof jQuery ? context[ 0 ] : context;
+
+					// Option to run scripts is true for back-compat
+					// Intentionally let the error be thrown if parseHTML is not present
+					jQuery.merge( this, jQuery.parseHTML(
+						match[ 1 ],
+						context && context.nodeType ? context.ownerDocument || context : document,
+						true
+					) );
+
+					// HANDLE: $(html, props)
+					if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {
+						for ( match in context ) {
+
+							// Properties of context are called as methods if possible
+							if ( isFunction( this[ match ] ) ) {
+								this[ match ]( context[ match ] );
+
+							// ...and otherwise set as attributes
+							} else {
+								this.attr( match, context[ match ] );
+							}
+						}
+					}
+
+					return this;
+
+				// HANDLE: $(#id)
+				} else {
+					elem = document.getElementById( match[ 2 ] );
+
+					if ( elem ) {
+
+						// Inject the element directly into the jQuery object
+						this[ 0 ] = elem;
+						this.length = 1;
+					}
+					return this;
+				}
+
+			// HANDLE: $(expr, $(...))
+			} else if ( !context || context.jquery ) {
+				return ( context || root ).find( selector );
+
+			// HANDLE: $(expr, context)
+			// (which is just equivalent to: $(context).find(expr)
+			} else {
+				return this.constructor( context ).find( selector );
+			}
+
+		// HANDLE: $(DOMElement)
+		} else if ( selector.nodeType ) {
+			this[ 0 ] = selector;
+			this.length = 1;
+			return this;
+
+		// HANDLE: $(function)
+		// Shortcut for document ready
+		} else if ( isFunction( selector ) ) {
+			return root.ready !== undefined ?
+				root.ready( selector ) :
+
+				// Execute immediately if ready is not present
+				selector( jQuery );
+		}
+
+		return jQuery.makeArray( selector, this );
+	};
+
+// Give the init function the jQuery prototype for later instantiation
+init.prototype = jQuery.fn;
+
+// Initialize central reference
+rootjQuery = jQuery( document );
+
+
+var rparentsprev = /^(?:parents|prev(?:Until|All))/,
+
+	// Methods guaranteed to produce a unique set when starting from a unique set
+	guaranteedUnique = {
+		children: true,
+		contents: true,
+		next: true,
+		prev: true
+	};
+
+jQuery.fn.extend( {
+	has: function( target ) {
+		var targets = jQuery( target, this ),
+			l = targets.length;
+
+		return this.filter( function() {
+			var i = 0;
+			for ( ; i < l; i++ ) {
+				if ( jQuery.contains( this, targets[ i ] ) ) {
+					return true;
+				}
+			}
+		} );
+	},
+
+	closest: function( selectors, context ) {
+		var cur,
+			i = 0,
+			l = this.length,
+			matched = [],
+			targets = typeof selectors !== "string" && jQuery( selectors );
+
+		// Positional selectors never match, since there's no _selection_ context
+		if ( !rneedsContext.test( selectors ) ) {
+			for ( ; i < l; i++ ) {
+				for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {
+
+					// Always skip document fragments
+					if ( cur.nodeType < 11 && ( targets ?
+						targets.index( cur ) > -1 :
+
+						// Don't pass non-elements to Sizzle
+						cur.nodeType === 1 &&
+							jQuery.find.matchesSelector( cur, selectors ) ) ) {
+
+						matched.push( cur );
+						break;
+					}
+				}
+			}
+		}
+
+		return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );
+	},
+
+	// Determine the position of an element within the set
+	index: function( elem ) {
+
+		// No argument, return index in parent
+		if ( !elem ) {
+			return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;
+		}
+
+		// Index in selector
+		if ( typeof elem === "string" ) {
+			return indexOf.call( jQuery( elem ), this[ 0 ] );
+		}
+
+		// Locate the position of the desired element
+		return indexOf.call( this,
+
+			// If it receives a jQuery object, the first element is used
+			elem.jquery ? elem[ 0 ] : elem
+		);
+	},
+
+	add: function( selector, context ) {
+		return this.pushStack(
+			jQuery.uniqueSort(
+				jQuery.merge( this.get(), jQuery( selector, context ) )
+			)
+		);
+	},
+
+	addBack: function( selector ) {
+		return this.add( selector == null ?
+			this.prevObject : this.prevObject.filter( selector )
+		);
+	}
+} );
+
+function sibling( cur, dir ) {
+	while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}
+	return cur;
+}
+
+jQuery.each( {
+	parent: function( elem ) {
+		var parent = elem.parentNode;
+		return parent && parent.nodeType !== 11 ? parent : null;
+	},
+	parents: function( elem ) {
+		return dir( elem, "parentNode" );
+	},
+	parentsUntil: function( elem, _i, until ) {
+		return dir( elem, "parentNode", until );
+	},
+	next: function( elem ) {
+		return sibling( elem, "nextSibling" );
+	},
+	prev: function( elem ) {
+		return sibling( elem, "previousSibling" );
+	},
+	nextAll: function( elem ) {
+		return dir( elem, "nextSibling" );
+	},
+	prevAll: function( elem ) {
+		return dir( elem, "previousSibling" );
+	},
+	nextUntil: function( elem, _i, until ) {
+		return dir( elem, "nextSibling", until );
+	},
+	prevUntil: function( elem, _i, until ) {
+		return dir( elem, "previousSibling", until );
+	},
+	siblings: function( elem ) {
+		return siblings( ( elem.parentNode || {} ).firstChild, elem );
+	},
+	children: function( elem ) {
+		return siblings( elem.firstChild );
+	},
+	contents: function( elem ) {
+		if ( elem.contentDocument != null &&
+
+			// Support: IE 11+
+			// <object> elements with no `data` attribute has an object
+			// `contentDocument` with a `null` prototype.
+			getProto( elem.contentDocument ) ) {
+
+			return elem.contentDocument;
+		}
+
+		// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only
+		// Treat the template element as a regular one in browsers that
+		// don't support it.
+		if ( nodeName( elem, "template" ) ) {
+			elem = elem.content || elem;
+		}
+
+		return jQuery.merge( [], elem.childNodes );
+	}
+}, function( name, fn ) {
+	jQuery.fn[ name ] = function( until, selector ) {
+		var matched = jQuery.map( this, fn, until );
+
+		if ( name.slice( -5 ) !== "Until" ) {
+			selector = until;
+		}
+
+		if ( selector && typeof selector === "string" ) {
+			matched = jQuery.filter( selector, matched );
+		}
+
+		if ( this.length > 1 ) {
+
+			// Remove duplicates
+			if ( !guaranteedUnique[ name ] ) {
+				jQuery.uniqueSort( matched );
+			}
+
+			// Reverse order for parents* and prev-derivatives
+			if ( rparentsprev.test( name ) ) {
+				matched.reverse();
+			}
+		}
+
+		return this.pushStack( matched );
+	};
+} );
+var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g );
+
+
+
+// Convert String-formatted options into Object-formatted ones
+function createOptions( options ) {
+	var object = {};
+	jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {
+		object[ flag ] = true;
+	} );
+	return object;
+}
+
+/*
+ * Create a callback list using the following parameters:
+ *
+ *	options: an optional list of space-separated options that will change how
+ *			the callback list behaves or a more traditional option object
+ *
+ * By default a callback list will act like an event callback list and can be
+ * "fired" multiple times.
+ *
+ * Possible options:
+ *
+ *	once:			will ensure the callback list can only be fired once (like a Deferred)
+ *
+ *	memory:			will keep track of previous values and will call any callback added
+ *					after the list has been fired right away with the latest "memorized"
+ *					values (like a Deferred)
+ *
+ *	unique:			will ensure a callback can only be added once (no duplicate in the list)
+ *
+ *	stopOnFalse:	interrupt callings when a callback returns false
+ *
+ */
+jQuery.Callbacks = function( options ) {
+
+	// Convert options from String-formatted to Object-formatted if needed
+	// (we check in cache first)
+	options = typeof options === "string" ?
+		createOptions( options ) :
+		jQuery.extend( {}, options );
+
+	var // Flag to know if list is currently firing
+		firing,
+
+		// Last fire value for non-forgettable lists
+		memory,
+
+		// Flag to know if list was already fired
+		fired,
+
+		// Flag to prevent firing
+		locked,
+
+		// Actual callback list
+		list = [],
+
+		// Queue of execution data for repeatable lists
+		queue = [],
+
+		// Index of currently firing callback (modified by add/remove as needed)
+		firingIndex = -1,
+
+		// Fire callbacks
+		fire = function() {
+
+			// Enforce single-firing
+			locked = locked || options.once;
+
+			// Execute callbacks for all pending executions,
+			// respecting firingIndex overrides and runtime changes
+			fired = firing = true;
+			for ( ; queue.length; firingIndex = -1 ) {
+				memory = queue.shift();
+				while ( ++firingIndex < list.length ) {
+
+					// Run callback and check for early termination
+					if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&
+						options.stopOnFalse ) {
+
+						// Jump to end and forget the data so .add doesn't re-fire
+						firingIndex = list.length;
+						memory = false;
+					}
+				}
+			}
+
+			// Forget the data if we're done with it
+			if ( !options.memory ) {
+				memory = false;
+			}
+
+			firing = false;
+
+			// Clean up if we're done firing for good
+			if ( locked ) {
+
+				// Keep an empty list if we have data for future add calls
+				if ( memory ) {
+					list = [];
+
+				// Otherwise, this object is spent
+				} else {
+					list = "";
+				}
+			}
+		},
+
+		// Actual Callbacks object
+		self = {
+
+			// Add a callback or a collection of callbacks to the list
+			add: function() {
+				if ( list ) {
+
+					// If we have memory from a past run, we should fire after adding
+					if ( memory && !firing ) {
+						firingIndex = list.length - 1;
+						queue.push( memory );
+					}
+
+					( function add( args ) {
+						jQuery.each( args, function( _, arg ) {
+							if ( isFunction( arg ) ) {
+								if ( !options.unique || !self.has( arg ) ) {
+									list.push( arg );
+								}
+							} else if ( arg && arg.length && toType( arg ) !== "string" ) {
+
+								// Inspect recursively
+								add( arg );
+							}
+						} );
+					} )( arguments );
+
+					if ( memory && !firing ) {
+						fire();
+					}
+				}
+				return this;
+			},
+
+			// Remove a callback from the list
+			remove: function() {
+				jQuery.each( arguments, function( _, arg ) {
+					var index;
+					while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
+						list.splice( index, 1 );
+
+						// Handle firing indexes
+						if ( index <= firingIndex ) {
+							firingIndex--;
+						}
+					}
+				} );
+				return this;
+			},
+
+			// Check if a given callback is in the list.
+			// If no argument is given, return whether or not list has callbacks attached.
+			has: function( fn ) {
+				return fn ?
+					jQuery.inArray( fn, list ) > -1 :
+					list.length > 0;
+			},
+
+			// Remove all callbacks from the list
+			empty: function() {
+				if ( list ) {
+					list = [];
+				}
+				return this;
+			},
+
+			// Disable .fire and .add
+			// Abort any current/pending executions
+			// Clear all callbacks and values
+			disable: function() {
+				locked = queue = [];
+				list = memory = "";
+				return this;
+			},
+			disabled: function() {
+				return !list;
+			},
+
+			// Disable .fire
+			// Also disable .add unless we have memory (since it would have no effect)
+			// Abort any pending executions
+			lock: function() {
+				locked = queue = [];
+				if ( !memory && !firing ) {
+					list = memory = "";
+				}
+				return this;
+			},
+			locked: function() {
+				return !!locked;
+			},
+
+			// Call all callbacks with the given context and arguments
+			fireWith: function( context, args ) {
+				if ( !locked ) {
+					args = args || [];
+					args = [ context, args.slice ? args.slice() : args ];
+					queue.push( args );
+					if ( !firing ) {
+						fire();
+					}
+				}
+				return this;
+			},
+
+			// Call all the callbacks with the given arguments
+			fire: function() {
+				self.fireWith( this, arguments );
+				return this;
+			},
+
+			// To know if the callbacks have already been called at least once
+			fired: function() {
+				return !!fired;
+			}
+		};
+
+	return self;
+};
+
+
+function Identity( v ) {
+	return v;
+}
+function Thrower( ex ) {
+	throw ex;
+}
+
+function adoptValue( value, resolve, reject, noValue ) {
+	var method;
+
+	try {
+
+		// Check for promise aspect first to privilege synchronous behavior
+		if ( value && isFunction( ( method = value.promise ) ) ) {
+			method.call( value ).done( resolve ).fail( reject );
+
+		// Other thenables
+		} else if ( value && isFunction( ( method = value.then ) ) ) {
+			method.call( value, resolve, reject );
+
+		// Other non-thenables
+		} else {
+
+			// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:
+			// * false: [ value ].slice( 0 ) => resolve( value )
+			// * true: [ value ].slice( 1 ) => resolve()
+			resolve.apply( undefined, [ value ].slice( noValue ) );
+		}
+
+	// For Promises/A+, convert exceptions into rejections
+	// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in
+	// Deferred#then to conditionally suppress rejection.
+	} catch ( value ) {
+
+		// Support: Android 4.0 only
+		// Strict mode functions invoked without .call/.apply get global-object context
+		reject.apply( undefined, [ value ] );
+	}
+}
+
+jQuery.extend( {
+
+	Deferred: function( func ) {
+		var tuples = [
+
+				// action, add listener, callbacks,
+				// ... .then handlers, argument index, [final state]
+				[ "notify", "progress", jQuery.Callbacks( "memory" ),
+					jQuery.Callbacks( "memory" ), 2 ],
+				[ "resolve", "done", jQuery.Callbacks( "once memory" ),
+					jQuery.Callbacks( "once memory" ), 0, "resolved" ],
+				[ "reject", "fail", jQuery.Callbacks( "once memory" ),
+					jQuery.Callbacks( "once memory" ), 1, "rejected" ]
+			],
+			state = "pending",
+			promise = {
+				state: function() {
+					return state;
+				},
+				always: function() {
+					deferred.done( arguments ).fail( arguments );
+					return this;
+				},
+				"catch": function( fn ) {
+					return promise.then( null, fn );
+				},
+
+				// Keep pipe for back-compat
+				pipe: function( /* fnDone, fnFail, fnProgress */ ) {
+					var fns = arguments;
+
+					return jQuery.Deferred( function( newDefer ) {
+						jQuery.each( tuples, function( _i, tuple ) {
+
+							// Map tuples (progress, done, fail) to arguments (done, fail, progress)
+							var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];
+
+							// deferred.progress(function() { bind to newDefer or newDefer.notify })
+							// deferred.done(function() { bind to newDefer or newDefer.resolve })
+							// deferred.fail(function() { bind to newDefer or newDefer.reject })
+							deferred[ tuple[ 1 ] ]( function() {
+								var returned = fn && fn.apply( this, arguments );
+								if ( returned && isFunction( returned.promise ) ) {
+									returned.promise()
+										.progress( newDefer.notify )
+										.done( newDefer.resolve )
+										.fail( newDefer.reject );
+								} else {
+									newDefer[ tuple[ 0 ] + "With" ](
+										this,
+										fn ? [ returned ] : arguments
+									);
+								}
+							} );
+						} );
+						fns = null;
+					} ).promise();
+				},
+				then: function( onFulfilled, onRejected, onProgress ) {
+					var maxDepth = 0;
+					function resolve( depth, deferred, handler, special ) {
+						return function() {
+							var that = this,
+								args = arguments,
+								mightThrow = function() {
+									var returned, then;
+
+									// Support: Promises/A+ section 2.3.3.3.3
+									// https://promisesaplus.com/#point-59
+									// Ignore double-resolution attempts
+									if ( depth < maxDepth ) {
+										return;
+									}
+
+									returned = handler.apply( that, args );
+
+									// Support: Promises/A+ section 2.3.1
+									// https://promisesaplus.com/#point-48
+									if ( returned === deferred.promise() ) {
+										throw new TypeError( "Thenable self-resolution" );
+									}
+
+									// Support: Promises/A+ sections 2.3.3.1, 3.5
+									// https://promisesaplus.com/#point-54
+									// https://promisesaplus.com/#point-75
+									// Retrieve `then` only once
+									then = returned &&
+
+										// Support: Promises/A+ section 2.3.4
+										// https://promisesaplus.com/#point-64
+										// Only check objects and functions for thenability
+										( typeof returned === "object" ||
+											typeof returned === "function" ) &&
+										returned.then;
+
+									// Handle a returned thenable
+									if ( isFunction( then ) ) {
+
+										// Special processors (notify) just wait for resolution
+										if ( special ) {
+											then.call(
+												returned,
+												resolve( maxDepth, deferred, Identity, special ),
+												resolve( maxDepth, deferred, Thrower, special )
+											);
+
+										// Normal processors (resolve) also hook into progress
+										} else {
+
+											// ...and disregard older resolution values
+											maxDepth++;
+
+											then.call(
+												returned,
+												resolve( maxDepth, deferred, Identity, special ),
+												resolve( maxDepth, deferred, Thrower, special ),
+												resolve( maxDepth, deferred, Identity,
+													deferred.notifyWith )
+											);
+										}
+
+									// Handle all other returned values
+									} else {
+
+										// Only substitute handlers pass on context
+										// and multiple values (non-spec behavior)
+										if ( handler !== Identity ) {
+											that = undefined;
+											args = [ returned ];
+										}
+
+										// Process the value(s)
+										// Default process is resolve
+										( special || deferred.resolveWith )( that, args );
+									}
+								},
+
+								// Only normal processors (resolve) catch and reject exceptions
+								process = special ?
+									mightThrow :
+									function() {
+										try {
+											mightThrow();
+										} catch ( e ) {
+
+											if ( jQuery.Deferred.exceptionHook ) {
+												jQuery.Deferred.exceptionHook( e,
+													process.stackTrace );
+											}
+
+											// Support: Promises/A+ section 2.3.3.3.4.1
+											// https://promisesaplus.com/#point-61
+											// Ignore post-resolution exceptions
+											if ( depth + 1 >= maxDepth ) {
+
+												// Only substitute handlers pass on context
+												// and multiple values (non-spec behavior)
+												if ( handler !== Thrower ) {
+													that = undefined;
+													args = [ e ];
+												}
+
+												deferred.rejectWith( that, args );
+											}
+										}
+									};
+
+							// Support: Promises/A+ section 2.3.3.3.1
+							// https://promisesaplus.com/#point-57
+							// Re-resolve promises immediately to dodge false rejection from
+							// subsequent errors
+							if ( depth ) {
+								process();
+							} else {
+
+								// Call an optional hook to record the stack, in case of exception
+								// since it's otherwise lost when execution goes async
+								if ( jQuery.Deferred.getStackHook ) {
+									process.stackTrace = jQuery.Deferred.getStackHook();
+								}
+								window.setTimeout( process );
+							}
+						};
+					}
+
+					return jQuery.Deferred( function( newDefer ) {
+
+						// progress_handlers.add( ... )
+						tuples[ 0 ][ 3 ].add(
+							resolve(
+								0,
+								newDefer,
+								isFunction( onProgress ) ?
+									onProgress :
+									Identity,
+								newDefer.notifyWith
+							)
+						);
+
+						// fulfilled_handlers.add( ... )
+						tuples[ 1 ][ 3 ].add(
+							resolve(
+								0,
+								newDefer,
+								isFunction( onFulfilled ) ?
+									onFulfilled :
+									Identity
+							)
+						);
+
+						// rejected_handlers.add( ... )
+						tuples[ 2 ][ 3 ].add(
+							resolve(
+								0,
+								newDefer,
+								isFunction( onRejected ) ?
+									onRejected :
+									Thrower
+							)
+						);
+					} ).promise();
+				},
+
+				// Get a promise for this deferred
+				// If obj is provided, the promise aspect is added to the object
+				promise: function( obj ) {
+					return obj != null ? jQuery.extend( obj, promise ) : promise;
+				}
+			},
+			deferred = {};
+
+		// Add list-specific methods
+		jQuery.each( tuples, function( i, tuple ) {
+			var list = tuple[ 2 ],
+				stateString = tuple[ 5 ];
+
+			// promise.progress = list.add
+			// promise.done = list.add
+			// promise.fail = list.add
+			promise[ tuple[ 1 ] ] = list.add;
+
+			// Handle state
+			if ( stateString ) {
+				list.add(
+					function() {
+
+						// state = "resolved" (i.e., fulfilled)
+						// state = "rejected"
+						state = stateString;
+					},
+
+					// rejected_callbacks.disable
+					// fulfilled_callbacks.disable
+					tuples[ 3 - i ][ 2 ].disable,
+
+					// rejected_handlers.disable
+					// fulfilled_handlers.disable
+					tuples[ 3 - i ][ 3 ].disable,
+
+					// progress_callbacks.lock
+					tuples[ 0 ][ 2 ].lock,
+
+					// progress_handlers.lock
+					tuples[ 0 ][ 3 ].lock
+				);
+			}
+
+			// progress_handlers.fire
+			// fulfilled_handlers.fire
+			// rejected_handlers.fire
+			list.add( tuple[ 3 ].fire );
+
+			// deferred.notify = function() { deferred.notifyWith(...) }
+			// deferred.resolve = function() { deferred.resolveWith(...) }
+			// deferred.reject = function() { deferred.rejectWith(...) }
+			deferred[ tuple[ 0 ] ] = function() {
+				deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments );
+				return this;
+			};
+
+			// deferred.notifyWith = list.fireWith
+			// deferred.resolveWith = list.fireWith
+			// deferred.rejectWith = list.fireWith
+			deferred[ tuple[ 0 ] + "With" ] = list.fireWith;
+		} );
+
+		// Make the deferred a promise
+		promise.promise( deferred );
+
+		// Call given func if any
+		if ( func ) {
+			func.call( deferred, deferred );
+		}
+
+		// All done!
+		return deferred;
+	},
+
+	// Deferred helper
+	when: function( singleValue ) {
+		var
+
+			// count of uncompleted subordinates
+			remaining = arguments.length,
+
+			// count of unprocessed arguments
+			i = remaining,
+
+			// subordinate fulfillment data
+			resolveContexts = Array( i ),
+			resolveValues = slice.call( arguments ),
+
+			// the primary Deferred
+			primary = jQuery.Deferred(),
+
+			// subordinate callback factory
+			updateFunc = function( i ) {
+				return function( value ) {
+					resolveContexts[ i ] = this;
+					resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
+					if ( !( --remaining ) ) {
+						primary.resolveWith( resolveContexts, resolveValues );
+					}
+				};
+			};
+
+		// Single- and empty arguments are adopted like Promise.resolve
+		if ( remaining <= 1 ) {
+			adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,
+				!remaining );
+
+			// Use .then() to unwrap secondary thenables (cf. gh-3000)
+			if ( primary.state() === "pending" ||
+				isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {
+
+				return primary.then();
+			}
+		}
+
+		// Multiple arguments are aggregated like Promise.all array elements
+		while ( i-- ) {
+			adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );
+		}
+
+		return primary.promise();
+	}
+} );
+
+
+// These usually indicate a programmer mistake during development,
+// warn about them ASAP rather than swallowing them by default.
+var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
+
+jQuery.Deferred.exceptionHook = function( error, stack ) {
+
+	// Support: IE 8 - 9 only
+	// Console exists when dev tools are open, which can happen at any time
+	if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {
+		window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack );
+	}
+};
+
+
+
+
+jQuery.readyException = function( error ) {
+	window.setTimeout( function() {
+		throw error;
+	} );
+};
+
+
+
+
+// The deferred used on DOM ready
+var readyList = jQuery.Deferred();
+
+jQuery.fn.ready = function( fn ) {
+
+	readyList
+		.then( fn )
+
+		// Wrap jQuery.readyException in a function so that the lookup
+		// happens at the time of error handling instead of callback
+		// registration.
+		.catch( function( error ) {
+			jQuery.readyException( error );
+		} );
+
+	return this;
+};
+
+jQuery.extend( {
+
+	// Is the DOM ready to be used? Set to true once it occurs.
+	isReady: false,
+
+	// A counter to track how many items to wait for before
+	// the ready event fires. See #6781
+	readyWait: 1,
+
+	// Handle when the DOM is ready
+	ready: function( wait ) {
+
+		// Abort if there are pending holds or we're already ready
+		if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
+			return;
+		}
+
+		// Remember that the DOM is ready
+		jQuery.isReady = true;
+
+		// If a normal DOM Ready event fired, decrement, and wait if need be
+		if ( wait !== true && --jQuery.readyWait > 0 ) {
+			return;
+		}
+
+		// If there are functions bound, to execute
+		readyList.resolveWith( document, [ jQuery ] );
+	}
+} );
+
+jQuery.ready.then = readyList.then;
+
+// The ready event handler and self cleanup method
+function completed() {
+	document.removeEventListener( "DOMContentLoaded", completed );
+	window.removeEventListener( "load", completed );
+	jQuery.ready();
+}
+
+// Catch cases where $(document).ready() is called
+// after the browser event has already occurred.
+// Support: IE <=9 - 10 only
+// Older IE sometimes signals "interactive" too soon
+if ( document.readyState === "complete" ||
+	( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
+
+	// Handle it asynchronously to allow scripts the opportunity to delay ready
+	window.setTimeout( jQuery.ready );
+
+} else {
+
+	// Use the handy event callback
+	document.addEventListener( "DOMContentLoaded", completed );
+
+	// A fallback to window.onload, that will always work
+	window.addEventListener( "load", completed );
+}
+
+
+
+
+// Multifunctional method to get and set values of a collection
+// The value/s can optionally be executed if it's a function
+var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
+	var i = 0,
+		len = elems.length,
+		bulk = key == null;
+
+	// Sets many values
+	if ( toType( key ) === "object" ) {
+		chainable = true;
+		for ( i in key ) {
+			access( elems, fn, i, key[ i ], true, emptyGet, raw );
+		}
+
+	// Sets one value
+	} else if ( value !== undefined ) {
+		chainable = true;
+
+		if ( !isFunction( value ) ) {
+			raw = true;
+		}
+
+		if ( bulk ) {
+
+			// Bulk operations run against the entire set
+			if ( raw ) {
+				fn.call( elems, value );
+				fn = null;
+
+			// ...except when executing function values
+			} else {
+				bulk = fn;
+				fn = function( elem, _key, value ) {
+					return bulk.call( jQuery( elem ), value );
+				};
+			}
+		}
+
+		if ( fn ) {
+			for ( ; i < len; i++ ) {
+				fn(
+					elems[ i ], key, raw ?
+						value :
+						value.call( elems[ i ], i, fn( elems[ i ], key ) )
+				);
+			}
+		}
+	}
+
+	if ( chainable ) {
+		return elems;
+	}
+
+	// Gets
+	if ( bulk ) {
+		return fn.call( elems );
+	}
+
+	return len ? fn( elems[ 0 ], key ) : emptyGet;
+};
+
+
+// Matches dashed string for camelizing
+var rmsPrefix = /^-ms-/,
+	rdashAlpha = /-([a-z])/g;
+
+// Used by camelCase as callback to replace()
+function fcamelCase( _all, letter ) {
+	return letter.toUpperCase();
+}
+
+// Convert dashed to camelCase; used by the css and data modules
+// Support: IE <=9 - 11, Edge 12 - 15
+// Microsoft forgot to hump their vendor prefix (#9572)
+function camelCase( string ) {
+	return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
+}
+var acceptData = function( owner ) {
+
+	// Accepts only:
+	//  - Node
+	//    - Node.ELEMENT_NODE
+	//    - Node.DOCUMENT_NODE
+	//  - Object
+	//    - Any
+	return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
+};
+
+
+
+
+function Data() {
+	this.expando = jQuery.expando + Data.uid++;
+}
+
+Data.uid = 1;
+
+Data.prototype = {
+
+	cache: function( owner ) {
+
+		// Check if the owner object already has a cache
+		var value = owner[ this.expando ];
+
+		// If not, create one
+		if ( !value ) {
+			value = {};
+
+			// We can accept data for non-element nodes in modern browsers,
+			// but we should not, see #8335.
+			// Always return an empty object.
+			if ( acceptData( owner ) ) {
+
+				// If it is a node unlikely to be stringify-ed or looped over
+				// use plain assignment
+				if ( owner.nodeType ) {
+					owner[ this.expando ] = value;
+
+				// Otherwise secure it in a non-enumerable property
+				// configurable must be true to allow the property to be
+				// deleted when data is removed
+				} else {
+					Object.defineProperty( owner, this.expando, {
+						value: value,
+						configurable: true
+					} );
+				}
+			}
+		}
+
+		return value;
+	},
+	set: function( owner, data, value ) {
+		var prop,
+			cache = this.cache( owner );
+
+		// Handle: [ owner, key, value ] args
+		// Always use camelCase key (gh-2257)
+		if ( typeof data === "string" ) {
+			cache[ camelCase( data ) ] = value;
+
+		// Handle: [ owner, { properties } ] args
+		} else {
+
+			// Copy the properties one-by-one to the cache object
+			for ( prop in data ) {
+				cache[ camelCase( prop ) ] = data[ prop ];
+			}
+		}
+		return cache;
+	},
+	get: function( owner, key ) {
+		return key === undefined ?
+			this.cache( owner ) :
+
+			// Always use camelCase key (gh-2257)
+			owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];
+	},
+	access: function( owner, key, value ) {
+
+		// In cases where either:
+		//
+		//   1. No key was specified
+		//   2. A string key was specified, but no value provided
+		//
+		// Take the "read" path and allow the get method to determine
+		// which value to return, respectively either:
+		//
+		//   1. The entire cache object
+		//   2. The data stored at the key
+		//
+		if ( key === undefined ||
+				( ( key && typeof key === "string" ) && value === undefined ) ) {
+
+			return this.get( owner, key );
+		}
+
+		// When the key is not a string, or both a key and value
+		// are specified, set or extend (existing objects) with either:
+		//
+		//   1. An object of properties
+		//   2. A key and value
+		//
+		this.set( owner, key, value );
+
+		// Since the "set" path can have two possible entry points
+		// return the expected data based on which path was taken[*]
+		return value !== undefined ? value : key;
+	},
+	remove: function( owner, key ) {
+		var i,
+			cache = owner[ this.expando ];
+
+		if ( cache === undefined ) {
+			return;
+		}
+
+		if ( key !== undefined ) {
+
+			// Support array or space separated string of keys
+			if ( Array.isArray( key ) ) {
+
+				// If key is an array of keys...
+				// We always set camelCase keys, so remove that.
+				key = key.map( camelCase );
+			} else {
+				key = camelCase( key );
+
+				// If a key with the spaces exists, use it.
+				// Otherwise, create an array by matching non-whitespace
+				key = key in cache ?
+					[ key ] :
+					( key.match( rnothtmlwhite ) || [] );
+			}
+
+			i = key.length;
+
+			while ( i-- ) {
+				delete cache[ key[ i ] ];
+			}
+		}
+
+		// Remove the expando if there's no more data
+		if ( key === undefined || jQuery.isEmptyObject( cache ) ) {
+
+			// Support: Chrome <=35 - 45
+			// Webkit & Blink performance suffers when deleting properties
+			// from DOM nodes, so set to undefined instead
+			// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)
+			if ( owner.nodeType ) {
+				owner[ this.expando ] = undefined;
+			} else {
+				delete owner[ this.expando ];
+			}
+		}
+	},
+	hasData: function( owner ) {
+		var cache = owner[ this.expando ];
+		return cache !== undefined && !jQuery.isEmptyObject( cache );
+	}
+};
+var dataPriv = new Data();
+
+var dataUser = new Data();
+
+
+
+//	Implementation Summary
+//
+//	1. Enforce API surface and semantic compatibility with 1.9.x branch
+//	2. Improve the module's maintainability by reducing the storage
+//		paths to a single mechanism.
+//	3. Use the same single mechanism to support "private" and "user" data.
+//	4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
+//	5. Avoid exposing implementation details on user objects (eg. expando properties)
+//	6. Provide a clear path for implementation upgrade to WeakMap in 2014
+
+var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
+	rmultiDash = /[A-Z]/g;
+
+function getData( data ) {
+	if ( data === "true" ) {
+		return true;
+	}
+
+	if ( data === "false" ) {
+		return false;
+	}
+
+	if ( data === "null" ) {
+		return null;
+	}
+
+	// Only convert to a number if it doesn't change the string
+	if ( data === +data + "" ) {
+		return +data;
+	}
+
+	if ( rbrace.test( data ) ) {
+		return JSON.parse( data );
+	}
+
+	return data;
+}
+
+function dataAttr( elem, key, data ) {
+	var name;
+
+	// If nothing was found internally, try to fetch any
+	// data from the HTML5 data-* attribute
+	if ( data === undefined && elem.nodeType === 1 ) {
+		name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase();
+		data = elem.getAttribute( name );
+
+		if ( typeof data === "string" ) {
+			try {
+				data = getData( data );
+			} catch ( e ) {}
+
+			// Make sure we set the data so it isn't changed later
+			dataUser.set( elem, key, data );
+		} else {
+			data = undefined;
+		}
+	}
+	return data;
+}
+
+jQuery.extend( {
+	hasData: function( elem ) {
+		return dataUser.hasData( elem ) || dataPriv.hasData( elem );
+	},
+
+	data: function( elem, name, data ) {
+		return dataUser.access( elem, name, data );
+	},
+
+	removeData: function( elem, name ) {
+		dataUser.remove( elem, name );
+	},
+
+	// TODO: Now that all calls to _data and _removeData have been replaced
+	// with direct calls to dataPriv methods, these can be deprecated.
+	_data: function( elem, name, data ) {
+		return dataPriv.access( elem, name, data );
+	},
+
+	_removeData: function( elem, name ) {
+		dataPriv.remove( elem, name );
+	}
+} );
+
+jQuery.fn.extend( {
+	data: function( key, value ) {
+		var i, name, data,
+			elem = this[ 0 ],
+			attrs = elem && elem.attributes;
+
+		// Gets all values
+		if ( key === undefined ) {
+			if ( this.length ) {
+				data = dataUser.get( elem );
+
+				if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) {
+					i = attrs.length;
+					while ( i-- ) {
+
+						// Support: IE 11 only
+						// The attrs elements can be null (#14894)
+						if ( attrs[ i ] ) {
+							name = attrs[ i ].name;
+							if ( name.indexOf( "data-" ) === 0 ) {
+								name = camelCase( name.slice( 5 ) );
+								dataAttr( elem, name, data[ name ] );
+							}
+						}
+					}
+					dataPriv.set( elem, "hasDataAttrs", true );
+				}
+			}
+
+			return data;
+		}
+
+		// Sets multiple values
+		if ( typeof key === "object" ) {
+			return this.each( function() {
+				dataUser.set( this, key );
+			} );
+		}
+
+		return access( this, function( value ) {
+			var data;
+
+			// The calling jQuery object (element matches) is not empty
+			// (and therefore has an element appears at this[ 0 ]) and the
+			// `value` parameter was not undefined. An empty jQuery object
+			// will result in `undefined` for elem = this[ 0 ] which will
+			// throw an exception if an attempt to read a data cache is made.
+			if ( elem && value === undefined ) {
+
+				// Attempt to get data from the cache
+				// The key will always be camelCased in Data
+				data = dataUser.get( elem, key );
+				if ( data !== undefined ) {
+					return data;
+				}
+
+				// Attempt to "discover" the data in
+				// HTML5 custom data-* attrs
+				data = dataAttr( elem, key );
+				if ( data !== undefined ) {
+					return data;
+				}
+
+				// We tried really hard, but the data doesn't exist.
+				return;
+			}
+
+			// Set the data...
+			this.each( function() {
+
+				// We always store the camelCased key
+				dataUser.set( this, key, value );
+			} );
+		}, null, value, arguments.length > 1, null, true );
+	},
+
+	removeData: function( key ) {
+		return this.each( function() {
+			dataUser.remove( this, key );
+		} );
+	}
+} );
+
+
+jQuery.extend( {
+	queue: function( elem, type, data ) {
+		var queue;
+
+		if ( elem ) {
+			type = ( type || "fx" ) + "queue";
+			queue = dataPriv.get( elem, type );
+
+			// Speed up dequeue by getting out quickly if this is just a lookup
+			if ( data ) {
+				if ( !queue || Array.isArray( data ) ) {
+					queue = dataPriv.access( elem, type, jQuery.makeArray( data ) );
+				} else {
+					queue.push( data );
+				}
+			}
+			return queue || [];
+		}
+	},
+
+	dequeue: function( elem, type ) {
+		type = type || "fx";
+
+		var queue = jQuery.queue( elem, type ),
+			startLength = queue.length,
+			fn = queue.shift(),
+			hooks = jQuery._queueHooks( elem, type ),
+			next = function() {
+				jQuery.dequeue( elem, type );
+			};
+
+		// If the fx queue is dequeued, always remove the progress sentinel
+		if ( fn === "inprogress" ) {
+			fn = queue.shift();
+			startLength--;
+		}
+
+		if ( fn ) {
+
+			// Add a progress sentinel to prevent the fx queue from being
+			// automatically dequeued
+			if ( type === "fx" ) {
+				queue.unshift( "inprogress" );
+			}
+
+			// Clear up the last queue stop function
+			delete hooks.stop;
+			fn.call( elem, next, hooks );
+		}
+
+		if ( !startLength && hooks ) {
+			hooks.empty.fire();
+		}
+	},
+
+	// Not public - generate a queueHooks object, or return the current one
+	_queueHooks: function( elem, type ) {
+		var key = type + "queueHooks";
+		return dataPriv.get( elem, key ) || dataPriv.access( elem, key, {
+			empty: jQuery.Callbacks( "once memory" ).add( function() {
+				dataPriv.remove( elem, [ type + "queue", key ] );
+			} )
+		} );
+	}
+} );
+
+jQuery.fn.extend( {
+	queue: function( type, data ) {
+		var setter = 2;
+
+		if ( typeof type !== "string" ) {
+			data = type;
+			type = "fx";
+			setter--;
+		}
+
+		if ( arguments.length < setter ) {
+			return jQuery.queue( this[ 0 ], type );
+		}
+
+		return data === undefined ?
+			this :
+			this.each( function() {
+				var queue = jQuery.queue( this, type, data );
+
+				// Ensure a hooks for this queue
+				jQuery._queueHooks( this, type );
+
+				if ( type === "fx" && queue[ 0 ] !== "inprogress" ) {
+					jQuery.dequeue( this, type );
+				}
+			} );
+	},
+	dequeue: function( type ) {
+		return this.each( function() {
+			jQuery.dequeue( this, type );
+		} );
+	},
+	clearQueue: function( type ) {
+		return this.queue( type || "fx", [] );
+	},
+
+	// Get a promise resolved when queues of a certain type
+	// are emptied (fx is the type by default)
+	promise: function( type, obj ) {
+		var tmp,
+			count = 1,
+			defer = jQuery.Deferred(),
+			elements = this,
+			i = this.length,
+			resolve = function() {
+				if ( !( --count ) ) {
+					defer.resolveWith( elements, [ elements ] );
+				}
+			};
+
+		if ( typeof type !== "string" ) {
+			obj = type;
+			type = undefined;
+		}
+		type = type || "fx";
+
+		while ( i-- ) {
+			tmp = dataPriv.get( elements[ i ], type + "queueHooks" );
+			if ( tmp && tmp.empty ) {
+				count++;
+				tmp.empty.add( resolve );
+			}
+		}
+		resolve();
+		return defer.promise( obj );
+	}
+} );
+var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source;
+
+var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
+
+
+var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
+
+var documentElement = document.documentElement;
+
+
+
+	var isAttached = function( elem ) {
+			return jQuery.contains( elem.ownerDocument, elem );
+		},
+		composed = { composed: true };
+
+	// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only
+	// Check attachment across shadow DOM boundaries when possible (gh-3504)
+	// Support: iOS 10.0-10.2 only
+	// Early iOS 10 versions support `attachShadow` but not `getRootNode`,
+	// leading to errors. We need to check for `getRootNode`.
+	if ( documentElement.getRootNode ) {
+		isAttached = function( elem ) {
+			return jQuery.contains( elem.ownerDocument, elem ) ||
+				elem.getRootNode( composed ) === elem.ownerDocument;
+		};
+	}
+var isHiddenWithinTree = function( elem, el ) {
+
+		// isHiddenWithinTree might be called from jQuery#filter function;
+		// in that case, element will be second argument
+		elem = el || elem;
+
+		// Inline style trumps all
+		return elem.style.display === "none" ||
+			elem.style.display === "" &&
+
+			// Otherwise, check computed style
+			// Support: Firefox <=43 - 45
+			// Disconnected elements can have computed display: none, so first confirm that elem is
+			// in the document.
+			isAttached( elem ) &&
+
+			jQuery.css( elem, "display" ) === "none";
+	};
+
+
+
+function adjustCSS( elem, prop, valueParts, tween ) {
+	var adjusted, scale,
+		maxIterations = 20,
+		currentValue = tween ?
+			function() {
+				return tween.cur();
+			} :
+			function() {
+				return jQuery.css( elem, prop, "" );
+			},
+		initial = currentValue(),
+		unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
+
+		// Starting value computation is required for potential unit mismatches
+		initialInUnit = elem.nodeType &&
+			( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) &&
+			rcssNum.exec( jQuery.css( elem, prop ) );
+
+	if ( initialInUnit && initialInUnit[ 3 ] !== unit ) {
+
+		// Support: Firefox <=54
+		// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)
+		initial = initial / 2;
+
+		// Trust units reported by jQuery.css
+		unit = unit || initialInUnit[ 3 ];
+
+		// Iteratively approximate from a nonzero starting point
+		initialInUnit = +initial || 1;
+
+		while ( maxIterations-- ) {
+
+			// Evaluate and update our best guess (doubling guesses that zero out).
+			// Finish if the scale equals or crosses 1 (making the old*new product non-positive).
+			jQuery.style( elem, prop, initialInUnit + unit );
+			if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {
+				maxIterations = 0;
+			}
+			initialInUnit = initialInUnit / scale;
+
+		}
+
+		initialInUnit = initialInUnit * 2;
+		jQuery.style( elem, prop, initialInUnit + unit );
+
+		// Make sure we update the tween properties later on
+		valueParts = valueParts || [];
+	}
+
+	if ( valueParts ) {
+		initialInUnit = +initialInUnit || +initial || 0;
+
+		// Apply relative offset (+=/-=) if specified
+		adjusted = valueParts[ 1 ] ?
+			initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :
+			+valueParts[ 2 ];
+		if ( tween ) {
+			tween.unit = unit;
+			tween.start = initialInUnit;
+			tween.end = adjusted;
+		}
+	}
+	return adjusted;
+}
+
+
+var defaultDisplayMap = {};
+
+function getDefaultDisplay( elem ) {
+	var temp,
+		doc = elem.ownerDocument,
+		nodeName = elem.nodeName,
+		display = defaultDisplayMap[ nodeName ];
+
+	if ( display ) {
+		return display;
+	}
+
+	temp = doc.body.appendChild( doc.createElement( nodeName ) );
+	display = jQuery.css( temp, "display" );
+
+	temp.parentNode.removeChild( temp );
+
+	if ( display === "none" ) {
+		display = "block";
+	}
+	defaultDisplayMap[ nodeName ] = display;
+
+	return display;
+}
+
+function showHide( elements, show ) {
+	var display, elem,
+		values = [],
+		index = 0,
+		length = elements.length;
+
+	// Determine new display value for elements that need to change
+	for ( ; index < length; index++ ) {
+		elem = elements[ index ];
+		if ( !elem.style ) {
+			continue;
+		}
+
+		display = elem.style.display;
+		if ( show ) {
+
+			// Since we force visibility upon cascade-hidden elements, an immediate (and slow)
+			// check is required in this first loop unless we have a nonempty display value (either
+			// inline or about-to-be-restored)
+			if ( display === "none" ) {
+				values[ index ] = dataPriv.get( elem, "display" ) || null;
+				if ( !values[ index ] ) {
+					elem.style.display = "";
+				}
+			}
+			if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) {
+				values[ index ] = getDefaultDisplay( elem );
+			}
+		} else {
+			if ( display !== "none" ) {
+				values[ index ] = "none";
+
+				// Remember what we're overwriting
+				dataPriv.set( elem, "display", display );
+			}
+		}
+	}
+
+	// Set the display of the elements in a second loop to avoid constant reflow
+	for ( index = 0; index < length; index++ ) {
+		if ( values[ index ] != null ) {
+			elements[ index ].style.display = values[ index ];
+		}
+	}
+
+	return elements;
+}
+
+jQuery.fn.extend( {
+	show: function() {
+		return showHide( this, true );
+	},
+	hide: function() {
+		return showHide( this );
+	},
+	toggle: function( state ) {
+		if ( typeof state === "boolean" ) {
+			return state ? this.show() : this.hide();
+		}
+
+		return this.each( function() {
+			if ( isHiddenWithinTree( this ) ) {
+				jQuery( this ).show();
+			} else {
+				jQuery( this ).hide();
+			}
+		} );
+	}
+} );
+var rcheckableType = ( /^(?:checkbox|radio)$/i );
+
+var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i );
+
+var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i );
+
+
+
+( function() {
+	var fragment = document.createDocumentFragment(),
+		div = fragment.appendChild( document.createElement( "div" ) ),
+		input = document.createElement( "input" );
+
+	// Support: Android 4.0 - 4.3 only
+	// Check state lost if the name is set (#11217)
+	// Support: Windows Web Apps (WWA)
+	// `name` and `type` must use .setAttribute for WWA (#14901)
+	input.setAttribute( "type", "radio" );
+	input.setAttribute( "checked", "checked" );
+	input.setAttribute( "name", "t" );
+
+	div.appendChild( input );
+
+	// Support: Android <=4.1 only
+	// Older WebKit doesn't clone checked state correctly in fragments
+	support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
+
+	// Support: IE <=11 only
+	// Make sure textarea (and checkbox) defaultValue is properly cloned
+	div.innerHTML = "<textarea>x</textarea>";
+	support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
+
+	// Support: IE <=9 only
+	// IE <=9 replaces <option> tags with their contents when inserted outside of
+	// the select element.
+	div.innerHTML = "<option></option>";
+	support.option = !!div.lastChild;
+} )();
+
+
+// We have to close these tags to support XHTML (#13200)
+var wrapMap = {
+
+	// XHTML parsers do not magically insert elements in the
+	// same way that tag soup parsers do. So we cannot shorten
+	// this by omitting <tbody> or other required elements.
+	thead: [ 1, "<table>", "</table>" ],
+	col: [ 2, "<table><colgroup>", "</colgroup></table>" ],
+	tr: [ 2, "<table><tbody>", "</tbody></table>" ],
+	td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
+
+	_default: [ 0, "", "" ]
+};
+
+wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
+wrapMap.th = wrapMap.td;
+
+// Support: IE <=9 only
+if ( !support.option ) {
+	wrapMap.optgroup = wrapMap.option = [ 1, "<select multiple='multiple'>", "</select>" ];
+}
+
+
+function getAll( context, tag ) {
+
+	// Support: IE <=9 - 11 only
+	// Use typeof to avoid zero-argument method invocation on host objects (#15151)
+	var ret;
+
+	if ( typeof context.getElementsByTagName !== "undefined" ) {
+		ret = context.getElementsByTagName( tag || "*" );
+
+	} else if ( typeof context.querySelectorAll !== "undefined" ) {
+		ret = context.querySelectorAll( tag || "*" );
+
+	} else {
+		ret = [];
+	}
+
+	if ( tag === undefined || tag && nodeName( context, tag ) ) {
+		return jQuery.merge( [ context ], ret );
+	}
+
+	return ret;
+}
+
+
+// Mark scripts as having already been evaluated
+function setGlobalEval( elems, refElements ) {
+	var i = 0,
+		l = elems.length;
+
+	for ( ; i < l; i++ ) {
+		dataPriv.set(
+			elems[ i ],
+			"globalEval",
+			!refElements || dataPriv.get( refElements[ i ], "globalEval" )
+		);
+	}
+}
+
+
+var rhtml = /<|&#?\w+;/;
+
+function buildFragment( elems, context, scripts, selection, ignored ) {
+	var elem, tmp, tag, wrap, attached, j,
+		fragment = context.createDocumentFragment(),
+		nodes = [],
+		i = 0,
+		l = elems.length;
+
+	for ( ; i < l; i++ ) {
+		elem = elems[ i ];
+
+		if ( elem || elem === 0 ) {
+
+			// Add nodes directly
+			if ( toType( elem ) === "object" ) {
+
+				// Support: Android <=4.0 only, PhantomJS 1 only
+				// push.apply(_, arraylike) throws on ancient WebKit
+				jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
+
+			// Convert non-html into a text node
+			} else if ( !rhtml.test( elem ) ) {
+				nodes.push( context.createTextNode( elem ) );
+
+			// Convert html into DOM nodes
+			} else {
+				tmp = tmp || fragment.appendChild( context.createElement( "div" ) );
+
+				// Deserialize a standard representation
+				tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase();
+				wrap = wrapMap[ tag ] || wrapMap._default;
+				tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];
+
+				// Descend through wrappers to the right content
+				j = wrap[ 0 ];
+				while ( j-- ) {
+					tmp = tmp.lastChild;
+				}
+
+				// Support: Android <=4.0 only, PhantomJS 1 only
+				// push.apply(_, arraylike) throws on ancient WebKit
+				jQuery.merge( nodes, tmp.childNodes );
+
+				// Remember the top-level container
+				tmp = fragment.firstChild;
+
+				// Ensure the created nodes are orphaned (#12392)
+				tmp.textContent = "";
+			}
+		}
+	}
+
+	// Remove wrapper from fragment
+	fragment.textContent = "";
+
+	i = 0;
+	while ( ( elem = nodes[ i++ ] ) ) {
+
+		// Skip elements already in the context collection (trac-4087)
+		if ( selection && jQuery.inArray( elem, selection ) > -1 ) {
+			if ( ignored ) {
+				ignored.push( elem );
+			}
+			continue;
+		}
+
+		attached = isAttached( elem );
+
+		// Append to fragment
+		tmp = getAll( fragment.appendChild( elem ), "script" );
+
+		// Preserve script evaluation history
+		if ( attached ) {
+			setGlobalEval( tmp );
+		}
+
+		// Capture executables
+		if ( scripts ) {
+			j = 0;
+			while ( ( elem = tmp[ j++ ] ) ) {
+				if ( rscriptType.test( elem.type || "" ) ) {
+					scripts.push( elem );
+				}
+			}
+		}
+	}
+
+	return fragment;
+}
+
+
+var rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
+
+function returnTrue() {
+	return true;
+}
+
+function returnFalse() {
+	return false;
+}
+
+// Support: IE <=9 - 11+
+// focus() and blur() are asynchronous, except when they are no-op.
+// So expect focus to be synchronous when the element is already active,
+// and blur to be synchronous when the element is not already active.
+// (focus and blur are always synchronous in other supported browsers,
+// this just defines when we can count on it).
+function expectSync( elem, type ) {
+	return ( elem === safeActiveElement() ) === ( type === "focus" );
+}
+
+// Support: IE <=9 only
+// Accessing document.activeElement can throw unexpectedly
+// https://bugs.jquery.com/ticket/13393
+function safeActiveElement() {
+	try {
+		return document.activeElement;
+	} catch ( err ) { }
+}
+
+function on( elem, types, selector, data, fn, one ) {
+	var origFn, type;
+
+	// Types can be a map of types/handlers
+	if ( typeof types === "object" ) {
+
+		// ( types-Object, selector, data )
+		if ( typeof selector !== "string" ) {
+
+			// ( types-Object, data )
+			data = data || selector;
+			selector = undefined;
+		}
+		for ( type in types ) {
+			on( elem, type, selector, data, types[ type ], one );
+		}
+		return elem;
+	}
+
+	if ( data == null && fn == null ) {
+
+		// ( types, fn )
+		fn = selector;
+		data = selector = undefined;
+	} else if ( fn == null ) {
+		if ( typeof selector === "string" ) {
+
+			// ( types, selector, fn )
+			fn = data;
+			data = undefined;
+		} else {
+
+			// ( types, data, fn )
+			fn = data;
+			data = selector;
+			selector = undefined;
+		}
+	}
+	if ( fn === false ) {
+		fn = returnFalse;
+	} else if ( !fn ) {
+		return elem;
+	}
+
+	if ( one === 1 ) {
+		origFn = fn;
+		fn = function( event ) {
+
+			// Can use an empty set, since event contains the info
+			jQuery().off( event );
+			return origFn.apply( this, arguments );
+		};
+
+		// Use same guid so caller can remove using origFn
+		fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
+	}
+	return elem.each( function() {
+		jQuery.event.add( this, types, fn, data, selector );
+	} );
+}
+
+/*
+ * Helper functions for managing events -- not part of the public interface.
+ * Props to Dean Edwards' addEvent library for many of the ideas.
+ */
+jQuery.event = {
+
+	global: {},
+
+	add: function( elem, types, handler, data, selector ) {
+
+		var handleObjIn, eventHandle, tmp,
+			events, t, handleObj,
+			special, handlers, type, namespaces, origType,
+			elemData = dataPriv.get( elem );
+
+		// Only attach events to objects that accept data
+		if ( !acceptData( elem ) ) {
+			return;
+		}
+
+		// Caller can pass in an object of custom data in lieu of the handler
+		if ( handler.handler ) {
+			handleObjIn = handler;
+			handler = handleObjIn.handler;
+			selector = handleObjIn.selector;
+		}
+
+		// Ensure that invalid selectors throw exceptions at attach time
+		// Evaluate against documentElement in case elem is a non-element node (e.g., document)
+		if ( selector ) {
+			jQuery.find.matchesSelector( documentElement, selector );
+		}
+
+		// Make sure that the handler has a unique ID, used to find/remove it later
+		if ( !handler.guid ) {
+			handler.guid = jQuery.guid++;
+		}
+
+		// Init the element's event structure and main handler, if this is the first
+		if ( !( events = elemData.events ) ) {
+			events = elemData.events = Object.create( null );
+		}
+		if ( !( eventHandle = elemData.handle ) ) {
+			eventHandle = elemData.handle = function( e ) {
+
+				// Discard the second event of a jQuery.event.trigger() and
+				// when an event is called after a page has unloaded
+				return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ?
+					jQuery.event.dispatch.apply( elem, arguments ) : undefined;
+			};
+		}
+
+		// Handle multiple events separated by a space
+		types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
+		t = types.length;
+		while ( t-- ) {
+			tmp = rtypenamespace.exec( types[ t ] ) || [];
+			type = origType = tmp[ 1 ];
+			namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
+
+			// There *must* be a type, no attaching namespace-only handlers
+			if ( !type ) {
+				continue;
+			}
+
+			// If event changes its type, use the special event handlers for the changed type
+			special = jQuery.event.special[ type ] || {};
+
+			// If selector defined, determine special event api type, otherwise given type
+			type = ( selector ? special.delegateType : special.bindType ) || type;
+
+			// Update special based on newly reset type
+			special = jQuery.event.special[ type ] || {};
+
+			// handleObj is passed to all event handlers
+			handleObj = jQuery.extend( {
+				type: type,
+				origType: origType,
+				data: data,
+				handler: handler,
+				guid: handler.guid,
+				selector: selector,
+				needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
+				namespace: namespaces.join( "." )
+			}, handleObjIn );
+
+			// Init the event handler queue if we're the first
+			if ( !( handlers = events[ type ] ) ) {
+				handlers = events[ type ] = [];
+				handlers.delegateCount = 0;
+
+				// Only use addEventListener if the special events handler returns false
+				if ( !special.setup ||
+					special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
+
+					if ( elem.addEventListener ) {
+						elem.addEventListener( type, eventHandle );
+					}
+				}
+			}
+
+			if ( special.add ) {
+				special.add.call( elem, handleObj );
+
+				if ( !handleObj.handler.guid ) {
+					handleObj.handler.guid = handler.guid;
+				}
+			}
+
+			// Add to the element's handler list, delegates in front
+			if ( selector ) {
+				handlers.splice( handlers.delegateCount++, 0, handleObj );
+			} else {
+				handlers.push( handleObj );
+			}
+
+			// Keep track of which events have ever been used, for event optimization
+			jQuery.event.global[ type ] = true;
+		}
+
+	},
+
+	// Detach an event or set of events from an element
+	remove: function( elem, types, handler, selector, mappedTypes ) {
+
+		var j, origCount, tmp,
+			events, t, handleObj,
+			special, handlers, type, namespaces, origType,
+			elemData = dataPriv.hasData( elem ) && dataPriv.get( elem );
+
+		if ( !elemData || !( events = elemData.events ) ) {
+			return;
+		}
+
+		// Once for each type.namespace in types; type may be omitted
+		types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
+		t = types.length;
+		while ( t-- ) {
+			tmp = rtypenamespace.exec( types[ t ] ) || [];
+			type = origType = tmp[ 1 ];
+			namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
+
+			// Unbind all events (on this namespace, if provided) for the element
+			if ( !type ) {
+				for ( type in events ) {
+					jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
+				}
+				continue;
+			}
+
+			special = jQuery.event.special[ type ] || {};
+			type = ( selector ? special.delegateType : special.bindType ) || type;
+			handlers = events[ type ] || [];
+			tmp = tmp[ 2 ] &&
+				new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" );
+
+			// Remove matching events
+			origCount = j = handlers.length;
+			while ( j-- ) {
+				handleObj = handlers[ j ];
+
+				if ( ( mappedTypes || origType === handleObj.origType ) &&
+					( !handler || handler.guid === handleObj.guid ) &&
+					( !tmp || tmp.test( handleObj.namespace ) ) &&
+					( !selector || selector === handleObj.selector ||
+						selector === "**" && handleObj.selector ) ) {
+					handlers.splice( j, 1 );
+
+					if ( handleObj.selector ) {
+						handlers.delegateCount--;
+					}
+					if ( special.remove ) {
+						special.remove.call( elem, handleObj );
+					}
+				}
+			}
+
+			// Remove generic event handler if we removed something and no more handlers exist
+			// (avoids potential for endless recursion during removal of special event handlers)
+			if ( origCount && !handlers.length ) {
+				if ( !special.teardown ||
+					special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
+
+					jQuery.removeEvent( elem, type, elemData.handle );
+				}
+
+				delete events[ type ];
+			}
+		}
+
+		// Remove data and the expando if it's no longer used
+		if ( jQuery.isEmptyObject( events ) ) {
+			dataPriv.remove( elem, "handle events" );
+		}
+	},
+
+	dispatch: function( nativeEvent ) {
+
+		var i, j, ret, matched, handleObj, handlerQueue,
+			args = new Array( arguments.length ),
+
+			// Make a writable jQuery.Event from the native event object
+			event = jQuery.event.fix( nativeEvent ),
+
+			handlers = (
+				dataPriv.get( this, "events" ) || Object.create( null )
+			)[ event.type ] || [],
+			special = jQuery.event.special[ event.type ] || {};
+
+		// Use the fix-ed jQuery.Event rather than the (read-only) native event
+		args[ 0 ] = event;
+
+		for ( i = 1; i < arguments.length; i++ ) {
+			args[ i ] = arguments[ i ];
+		}
+
+		event.delegateTarget = this;
+
+		// Call the preDispatch hook for the mapped type, and let it bail if desired
+		if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
+			return;
+		}
+
+		// Determine handlers
+		handlerQueue = jQuery.event.handlers.call( this, event, handlers );
+
+		// Run delegates first; they may want to stop propagation beneath us
+		i = 0;
+		while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {
+			event.currentTarget = matched.elem;
+
+			j = 0;
+			while ( ( handleObj = matched.handlers[ j++ ] ) &&
+				!event.isImmediatePropagationStopped() ) {
+
+				// If the event is namespaced, then each handler is only invoked if it is
+				// specially universal or its namespaces are a superset of the event's.
+				if ( !event.rnamespace || handleObj.namespace === false ||
+					event.rnamespace.test( handleObj.namespace ) ) {
+
+					event.handleObj = handleObj;
+					event.data = handleObj.data;
+
+					ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||
+						handleObj.handler ).apply( matched.elem, args );
+
+					if ( ret !== undefined ) {
+						if ( ( event.result = ret ) === false ) {
+							event.preventDefault();
+							event.stopPropagation();
+						}
+					}
+				}
+			}
+		}
+
+		// Call the postDispatch hook for the mapped type
+		if ( special.postDispatch ) {
+			special.postDispatch.call( this, event );
+		}
+
+		return event.result;
+	},
+
+	handlers: function( event, handlers ) {
+		var i, handleObj, sel, matchedHandlers, matchedSelectors,
+			handlerQueue = [],
+			delegateCount = handlers.delegateCount,
+			cur = event.target;
+
+		// Find delegate handlers
+		if ( delegateCount &&
+
+			// Support: IE <=9
+			// Black-hole SVG <use> instance trees (trac-13180)
+			cur.nodeType &&
+
+			// Support: Firefox <=42
+			// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
+			// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
+			// Support: IE 11 only
+			// ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343)
+			!( event.type === "click" && event.button >= 1 ) ) {
+
+			for ( ; cur !== this; cur = cur.parentNode || this ) {
+
+				// Don't check non-elements (#13208)
+				// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
+				if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) {
+					matchedHandlers = [];
+					matchedSelectors = {};
+					for ( i = 0; i < delegateCount; i++ ) {
+						handleObj = handlers[ i ];
+
+						// Don't conflict with Object.prototype properties (#13203)
+						sel = handleObj.selector + " ";
+
+						if ( matchedSelectors[ sel ] === undefined ) {
+							matchedSelectors[ sel ] = handleObj.needsContext ?
+								jQuery( sel, this ).index( cur ) > -1 :
+								jQuery.find( sel, this, null, [ cur ] ).length;
+						}
+						if ( matchedSelectors[ sel ] ) {
+							matchedHandlers.push( handleObj );
+						}
+					}
+					if ( matchedHandlers.length ) {
+						handlerQueue.push( { elem: cur, handlers: matchedHandlers } );
+					}
+				}
+			}
+		}
+
+		// Add the remaining (directly-bound) handlers
+		cur = this;
+		if ( delegateCount < handlers.length ) {
+			handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );
+		}
+
+		return handlerQueue;
+	},
+
+	addProp: function( name, hook ) {
+		Object.defineProperty( jQuery.Event.prototype, name, {
+			enumerable: true,
+			configurable: true,
+
+			get: isFunction( hook ) ?
+				function() {
+					if ( this.originalEvent ) {
+						return hook( this.originalEvent );
+					}
+				} :
+				function() {
+					if ( this.originalEvent ) {
+						return this.originalEvent[ name ];
+					}
+				},
+
+			set: function( value ) {
+				Object.defineProperty( this, name, {
+					enumerable: true,
+					configurable: true,
+					writable: true,
+					value: value
+				} );
+			}
+		} );
+	},
+
+	fix: function( originalEvent ) {
+		return originalEvent[ jQuery.expando ] ?
+			originalEvent :
+			new jQuery.Event( originalEvent );
+	},
+
+	special: {
+		load: {
+
+			// Prevent triggered image.load events from bubbling to window.load
+			noBubble: true
+		},
+		click: {
+
+			// Utilize native event to ensure correct state for checkable inputs
+			setup: function( data ) {
+
+				// For mutual compressibility with _default, replace `this` access with a local var.
+				// `|| data` is dead code meant only to preserve the variable through minification.
+				var el = this || data;
+
+				// Claim the first handler
+				if ( rcheckableType.test( el.type ) &&
+					el.click && nodeName( el, "input" ) ) {
+
+					// dataPriv.set( el, "click", ... )
+					leverageNative( el, "click", returnTrue );
+				}
+
+				// Return false to allow normal processing in the caller
+				return false;
+			},
+			trigger: function( data ) {
+
+				// For mutual compressibility with _default, replace `this` access with a local var.
+				// `|| data` is dead code meant only to preserve the variable through minification.
+				var el = this || data;
+
+				// Force setup before triggering a click
+				if ( rcheckableType.test( el.type ) &&
+					el.click && nodeName( el, "input" ) ) {
+
+					leverageNative( el, "click" );
+				}
+
+				// Return non-false to allow normal event-path propagation
+				return true;
+			},
+
+			// For cross-browser consistency, suppress native .click() on links
+			// Also prevent it if we're currently inside a leveraged native-event stack
+			_default: function( event ) {
+				var target = event.target;
+				return rcheckableType.test( target.type ) &&
+					target.click && nodeName( target, "input" ) &&
+					dataPriv.get( target, "click" ) ||
+					nodeName( target, "a" );
+			}
+		},
+
+		beforeunload: {
+			postDispatch: function( event ) {
+
+				// Support: Firefox 20+
+				// Firefox doesn't alert if the returnValue field is not set.
+				if ( event.result !== undefined && event.originalEvent ) {
+					event.originalEvent.returnValue = event.result;
+				}
+			}
+		}
+	}
+};
+
+// Ensure the presence of an event listener that handles manually-triggered
+// synthetic events by interrupting progress until reinvoked in response to
+// *native* events that it fires directly, ensuring that state changes have
+// already occurred before other listeners are invoked.
+function leverageNative( el, type, expectSync ) {
+
+	// Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add
+	if ( !expectSync ) {
+		if ( dataPriv.get( el, type ) === undefined ) {
+			jQuery.event.add( el, type, returnTrue );
+		}
+		return;
+	}
+
+	// Register the controller as a special universal handler for all event namespaces
+	dataPriv.set( el, type, false );
+	jQuery.event.add( el, type, {
+		namespace: false,
+		handler: function( event ) {
+			var notAsync, result,
+				saved = dataPriv.get( this, type );
+
+			if ( ( event.isTrigger & 1 ) && this[ type ] ) {
+
+				// Interrupt processing of the outer synthetic .trigger()ed event
+				// Saved data should be false in such cases, but might be a leftover capture object
+				// from an async native handler (gh-4350)
+				if ( !saved.length ) {
+
+					// Store arguments for use when handling the inner native event
+					// There will always be at least one argument (an event object), so this array
+					// will not be confused with a leftover capture object.
+					saved = slice.call( arguments );
+					dataPriv.set( this, type, saved );
+
+					// Trigger the native event and capture its result
+					// Support: IE <=9 - 11+
+					// focus() and blur() are asynchronous
+					notAsync = expectSync( this, type );
+					this[ type ]();
+					result = dataPriv.get( this, type );
+					if ( saved !== result || notAsync ) {
+						dataPriv.set( this, type, false );
+					} else {
+						result = {};
+					}
+					if ( saved !== result ) {
+
+						// Cancel the outer synthetic event
+						event.stopImmediatePropagation();
+						event.preventDefault();
+
+						// Support: Chrome 86+
+						// In Chrome, if an element having a focusout handler is blurred by
+						// clicking outside of it, it invokes the handler synchronously. If
+						// that handler calls `.remove()` on the element, the data is cleared,
+						// leaving `result` undefined. We need to guard against this.
+						return result && result.value;
+					}
+
+				// If this is an inner synthetic event for an event with a bubbling surrogate
+				// (focus or blur), assume that the surrogate already propagated from triggering the
+				// native event and prevent that from happening again here.
+				// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the
+				// bubbling surrogate propagates *after* the non-bubbling base), but that seems
+				// less bad than duplication.
+				} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {
+					event.stopPropagation();
+				}
+
+			// If this is a native event triggered above, everything is now in order
+			// Fire an inner synthetic event with the original arguments
+			} else if ( saved.length ) {
+
+				// ...and capture the result
+				dataPriv.set( this, type, {
+					value: jQuery.event.trigger(
+
+						// Support: IE <=9 - 11+
+						// Extend with the prototype to reset the above stopImmediatePropagation()
+						jQuery.extend( saved[ 0 ], jQuery.Event.prototype ),
+						saved.slice( 1 ),
+						this
+					)
+				} );
+
+				// Abort handling of the native event
+				event.stopImmediatePropagation();
+			}
+		}
+	} );
+}
+
+jQuery.removeEvent = function( elem, type, handle ) {
+
+	// This "if" is needed for plain objects
+	if ( elem.removeEventListener ) {
+		elem.removeEventListener( type, handle );
+	}
+};
+
+jQuery.Event = function( src, props ) {
+
+	// Allow instantiation without the 'new' keyword
+	if ( !( this instanceof jQuery.Event ) ) {
+		return new jQuery.Event( src, props );
+	}
+
+	// Event object
+	if ( src && src.type ) {
+		this.originalEvent = src;
+		this.type = src.type;
+
+		// Events bubbling up the document may have been marked as prevented
+		// by a handler lower down the tree; reflect the correct value.
+		this.isDefaultPrevented = src.defaultPrevented ||
+				src.defaultPrevented === undefined &&
+
+				// Support: Android <=2.3 only
+				src.returnValue === false ?
+			returnTrue :
+			returnFalse;
+
+		// Create target properties
+		// Support: Safari <=6 - 7 only
+		// Target should not be a text node (#504, #13143)
+		this.target = ( src.target && src.target.nodeType === 3 ) ?
+			src.target.parentNode :
+			src.target;
+
+		this.currentTarget = src.currentTarget;
+		this.relatedTarget = src.relatedTarget;
+
+	// Event type
+	} else {
+		this.type = src;
+	}
+
+	// Put explicitly provided properties onto the event object
+	if ( props ) {
+		jQuery.extend( this, props );
+	}
+
+	// Create a timestamp if incoming event doesn't have one
+	this.timeStamp = src && src.timeStamp || Date.now();
+
+	// Mark it as fixed
+	this[ jQuery.expando ] = true;
+};
+
+// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
+// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
+jQuery.Event.prototype = {
+	constructor: jQuery.Event,
+	isDefaultPrevented: returnFalse,
+	isPropagationStopped: returnFalse,
+	isImmediatePropagationStopped: returnFalse,
+	isSimulated: false,
+
+	preventDefault: function() {
+		var e = this.originalEvent;
+
+		this.isDefaultPrevented = returnTrue;
+
+		if ( e && !this.isSimulated ) {
+			e.preventDefault();
+		}
+	},
+	stopPropagation: function() {
+		var e = this.originalEvent;
+
+		this.isPropagationStopped = returnTrue;
+
+		if ( e && !this.isSimulated ) {
+			e.stopPropagation();
+		}
+	},
+	stopImmediatePropagation: function() {
+		var e = this.originalEvent;
+
+		this.isImmediatePropagationStopped = returnTrue;
+
+		if ( e && !this.isSimulated ) {
+			e.stopImmediatePropagation();
+		}
+
+		this.stopPropagation();
+	}
+};
+
+// Includes all common event props including KeyEvent and MouseEvent specific props
+jQuery.each( {
+	altKey: true,
+	bubbles: true,
+	cancelable: true,
+	changedTouches: true,
+	ctrlKey: true,
+	detail: true,
+	eventPhase: true,
+	metaKey: true,
+	pageX: true,
+	pageY: true,
+	shiftKey: true,
+	view: true,
+	"char": true,
+	code: true,
+	charCode: true,
+	key: true,
+	keyCode: true,
+	button: true,
+	buttons: true,
+	clientX: true,
+	clientY: true,
+	offsetX: true,
+	offsetY: true,
+	pointerId: true,
+	pointerType: true,
+	screenX: true,
+	screenY: true,
+	targetTouches: true,
+	toElement: true,
+	touches: true,
+	which: true
+}, jQuery.event.addProp );
+
+jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) {
+	jQuery.event.special[ type ] = {
+
+		// Utilize native event if possible so blur/focus sequence is correct
+		setup: function() {
+
+			// Claim the first handler
+			// dataPriv.set( this, "focus", ... )
+			// dataPriv.set( this, "blur", ... )
+			leverageNative( this, type, expectSync );
+
+			// Return false to allow normal processing in the caller
+			return false;
+		},
+		trigger: function() {
+
+			// Force setup before trigger
+			leverageNative( this, type );
+
+			// Return non-false to allow normal event-path propagation
+			return true;
+		},
+
+		// Suppress native focus or blur as it's already being fired
+		// in leverageNative.
+		_default: function() {
+			return true;
+		},
+
+		delegateType: delegateType
+	};
+} );
+
+// Create mouseenter/leave events using mouseover/out and event-time checks
+// so that event delegation works in jQuery.
+// Do the same for pointerenter/pointerleave and pointerover/pointerout
+//
+// Support: Safari 7 only
+// Safari sends mouseenter too often; see:
+// https://bugs.chromium.org/p/chromium/issues/detail?id=470258
+// for the description of the bug (it existed in older Chrome versions as well).
+jQuery.each( {
+	mouseenter: "mouseover",
+	mouseleave: "mouseout",
+	pointerenter: "pointerover",
+	pointerleave: "pointerout"
+}, function( orig, fix ) {
+	jQuery.event.special[ orig ] = {
+		delegateType: fix,
+		bindType: fix,
+
+		handle: function( event ) {
+			var ret,
+				target = this,
+				related = event.relatedTarget,
+				handleObj = event.handleObj;
+
+			// For mouseenter/leave call the handler if related is outside the target.
+			// NB: No relatedTarget if the mouse left/entered the browser window
+			if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {
+				event.type = handleObj.origType;
+				ret = handleObj.handler.apply( this, arguments );
+				event.type = fix;
+			}
+			return ret;
+		}
+	};
+} );
+
+jQuery.fn.extend( {
+
+	on: function( types, selector, data, fn ) {
+		return on( this, types, selector, data, fn );
+	},
+	one: function( types, selector, data, fn ) {
+		return on( this, types, selector, data, fn, 1 );
+	},
+	off: function( types, selector, fn ) {
+		var handleObj, type;
+		if ( types && types.preventDefault && types.handleObj ) {
+
+			// ( event )  dispatched jQuery.Event
+			handleObj = types.handleObj;
+			jQuery( types.delegateTarget ).off(
+				handleObj.namespace ?
+					handleObj.origType + "." + handleObj.namespace :
+					handleObj.origType,
+				handleObj.selector,
+				handleObj.handler
+			);
+			return this;
+		}
+		if ( typeof types === "object" ) {
+
+			// ( types-object [, selector] )
+			for ( type in types ) {
+				this.off( type, selector, types[ type ] );
+			}
+			return this;
+		}
+		if ( selector === false || typeof selector === "function" ) {
+
+			// ( types [, fn] )
+			fn = selector;
+			selector = undefined;
+		}
+		if ( fn === false ) {
+			fn = returnFalse;
+		}
+		return this.each( function() {
+			jQuery.event.remove( this, types, fn, selector );
+		} );
+	}
+} );
+
+
+var
+
+	// Support: IE <=10 - 11, Edge 12 - 13 only
+	// In IE/Edge using regex groups here causes severe slowdowns.
+	// See https://connect.microsoft.com/IE/feedback/details/1736512/
+	rnoInnerhtml = /<script|<style|<link/i,
+
+	// checked="checked" or checked
+	rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
+	rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
+
+// Prefer a tbody over its parent table for containing new rows
+function manipulationTarget( elem, content ) {
+	if ( nodeName( elem, "table" ) &&
+		nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
+
+		return jQuery( elem ).children( "tbody" )[ 0 ] || elem;
+	}
+
+	return elem;
+}
+
+// Replace/restore the type attribute of script elements for safe DOM manipulation
+function disableScript( elem ) {
+	elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type;
+	return elem;
+}
+function restoreScript( elem ) {
+	if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) {
+		elem.type = elem.type.slice( 5 );
+	} else {
+		elem.removeAttribute( "type" );
+	}
+
+	return elem;
+}
+
+function cloneCopyEvent( src, dest ) {
+	var i, l, type, pdataOld, udataOld, udataCur, events;
+
+	if ( dest.nodeType !== 1 ) {
+		return;
+	}
+
+	// 1. Copy private data: events, handlers, etc.
+	if ( dataPriv.hasData( src ) ) {
+		pdataOld = dataPriv.get( src );
+		events = pdataOld.events;
+
+		if ( events ) {
+			dataPriv.remove( dest, "handle events" );
+
+			for ( type in events ) {
+				for ( i = 0, l = events[ type ].length; i < l; i++ ) {
+					jQuery.event.add( dest, type, events[ type ][ i ] );
+				}
+			}
+		}
+	}
+
+	// 2. Copy user data
+	if ( dataUser.hasData( src ) ) {
+		udataOld = dataUser.access( src );
+		udataCur = jQuery.extend( {}, udataOld );
+
+		dataUser.set( dest, udataCur );
+	}
+}
+
+// Fix IE bugs, see support tests
+function fixInput( src, dest ) {
+	var nodeName = dest.nodeName.toLowerCase();
+
+	// Fails to persist the checked state of a cloned checkbox or radio button.
+	if ( nodeName === "input" && rcheckableType.test( src.type ) ) {
+		dest.checked = src.checked;
+
+	// Fails to return the selected option to the default selected state when cloning options
+	} else if ( nodeName === "input" || nodeName === "textarea" ) {
+		dest.defaultValue = src.defaultValue;
+	}
+}
+
+function domManip( collection, args, callback, ignored ) {
+
+	// Flatten any nested arrays
+	args = flat( args );
+
+	var fragment, first, scripts, hasScripts, node, doc,
+		i = 0,
+		l = collection.length,
+		iNoClone = l - 1,
+		value = args[ 0 ],
+		valueIsFunction = isFunction( value );
+
+	// We can't cloneNode fragments that contain checked, in WebKit
+	if ( valueIsFunction ||
+			( l > 1 && typeof value === "string" &&
+				!support.checkClone && rchecked.test( value ) ) ) {
+		return collection.each( function( index ) {
+			var self = collection.eq( index );
+			if ( valueIsFunction ) {
+				args[ 0 ] = value.call( this, index, self.html() );
+			}
+			domManip( self, args, callback, ignored );
+		} );
+	}
+
+	if ( l ) {
+		fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );
+		first = fragment.firstChild;
+
+		if ( fragment.childNodes.length === 1 ) {
+			fragment = first;
+		}
+
+		// Require either new content or an interest in ignored elements to invoke the callback
+		if ( first || ignored ) {
+			scripts = jQuery.map( getAll( fragment, "script" ), disableScript );
+			hasScripts = scripts.length;
+
+			// Use the original fragment for the last item
+			// instead of the first because it can end up
+			// being emptied incorrectly in certain situations (#8070).
+			for ( ; i < l; i++ ) {
+				node = fragment;
+
+				if ( i !== iNoClone ) {
+					node = jQuery.clone( node, true, true );
+
+					// Keep references to cloned scripts for later restoration
+					if ( hasScripts ) {
+
+						// Support: Android <=4.0 only, PhantomJS 1 only
+						// push.apply(_, arraylike) throws on ancient WebKit
+						jQuery.merge( scripts, getAll( node, "script" ) );
+					}
+				}
+
+				callback.call( collection[ i ], node, i );
+			}
+
+			if ( hasScripts ) {
+				doc = scripts[ scripts.length - 1 ].ownerDocument;
+
+				// Reenable scripts
+				jQuery.map( scripts, restoreScript );
+
+				// Evaluate executable scripts on first document insertion
+				for ( i = 0; i < hasScripts; i++ ) {
+					node = scripts[ i ];
+					if ( rscriptType.test( node.type || "" ) &&
+						!dataPriv.access( node, "globalEval" ) &&
+						jQuery.contains( doc, node ) ) {
+
+						if ( node.src && ( node.type || "" ).toLowerCase()  !== "module" ) {
+
+							// Optional AJAX dependency, but won't run scripts if not present
+							if ( jQuery._evalUrl && !node.noModule ) {
+								jQuery._evalUrl( node.src, {
+									nonce: node.nonce || node.getAttribute( "nonce" )
+								}, doc );
+							}
+						} else {
+							DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc );
+						}
+					}
+				}
+			}
+		}
+	}
+
+	return collection;
+}
+
+function remove( elem, selector, keepData ) {
+	var node,
+		nodes = selector ? jQuery.filter( selector, elem ) : elem,
+		i = 0;
+
+	for ( ; ( node = nodes[ i ] ) != null; i++ ) {
+		if ( !keepData && node.nodeType === 1 ) {
+			jQuery.cleanData( getAll( node ) );
+		}
+
+		if ( node.parentNode ) {
+			if ( keepData && isAttached( node ) ) {
+				setGlobalEval( getAll( node, "script" ) );
+			}
+			node.parentNode.removeChild( node );
+		}
+	}
+
+	return elem;
+}
+
+jQuery.extend( {
+	htmlPrefilter: function( html ) {
+		return html;
+	},
+
+	clone: function( elem, dataAndEvents, deepDataAndEvents ) {
+		var i, l, srcElements, destElements,
+			clone = elem.cloneNode( true ),
+			inPage = isAttached( elem );
+
+		// Fix IE cloning issues
+		if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&
+				!jQuery.isXMLDoc( elem ) ) {
+
+			// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2
+			destElements = getAll( clone );
+			srcElements = getAll( elem );
+
+			for ( i = 0, l = srcElements.length; i < l; i++ ) {
+				fixInput( srcElements[ i ], destElements[ i ] );
+			}
+		}
+
+		// Copy the events from the original to the clone
+		if ( dataAndEvents ) {
+			if ( deepDataAndEvents ) {
+				srcElements = srcElements || getAll( elem );
+				destElements = destElements || getAll( clone );
+
+				for ( i = 0, l = srcElements.length; i < l; i++ ) {
+					cloneCopyEvent( srcElements[ i ], destElements[ i ] );
+				}
+			} else {
+				cloneCopyEvent( elem, clone );
+			}
+		}
+
+		// Preserve script evaluation history
+		destElements = getAll( clone, "script" );
+		if ( destElements.length > 0 ) {
+			setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );
+		}
+
+		// Return the cloned set
+		return clone;
+	},
+
+	cleanData: function( elems ) {
+		var data, elem, type,
+			special = jQuery.event.special,
+			i = 0;
+
+		for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {
+			if ( acceptData( elem ) ) {
+				if ( ( data = elem[ dataPriv.expando ] ) ) {
+					if ( data.events ) {
+						for ( type in data.events ) {
+							if ( special[ type ] ) {
+								jQuery.event.remove( elem, type );
+
+							// This is a shortcut to avoid jQuery.event.remove's overhead
+							} else {
+								jQuery.removeEvent( elem, type, data.handle );
+							}
+						}
+					}
+
+					// Support: Chrome <=35 - 45+
+					// Assign undefined instead of using delete, see Data#remove
+					elem[ dataPriv.expando ] = undefined;
+				}
+				if ( elem[ dataUser.expando ] ) {
+
+					// Support: Chrome <=35 - 45+
+					// Assign undefined instead of using delete, see Data#remove
+					elem[ dataUser.expando ] = undefined;
+				}
+			}
+		}
+	}
+} );
+
+jQuery.fn.extend( {
+	detach: function( selector ) {
+		return remove( this, selector, true );
+	},
+
+	remove: function( selector ) {
+		return remove( this, selector );
+	},
+
+	text: function( value ) {
+		return access( this, function( value ) {
+			return value === undefined ?
+				jQuery.text( this ) :
+				this.empty().each( function() {
+					if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+						this.textContent = value;
+					}
+				} );
+		}, null, value, arguments.length );
+	},
+
+	append: function() {
+		return domManip( this, arguments, function( elem ) {
+			if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+				var target = manipulationTarget( this, elem );
+				target.appendChild( elem );
+			}
+		} );
+	},
+
+	prepend: function() {
+		return domManip( this, arguments, function( elem ) {
+			if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
+				var target = manipulationTarget( this, elem );
+				target.insertBefore( elem, target.firstChild );
+			}
+		} );
+	},
+
+	before: function() {
+		return domManip( this, arguments, function( elem ) {
+			if ( this.parentNode ) {
+				this.parentNode.insertBefore( elem, this );
+			}
+		} );
+	},
+
+	after: function() {
+		return domManip( this, arguments, function( elem ) {
+			if ( this.parentNode ) {
+				this.parentNode.insertBefore( elem, this.nextSibling );
+			}
+		} );
+	},
+
+	empty: function() {
+		var elem,
+			i = 0;
+
+		for ( ; ( elem = this[ i ] ) != null; i++ ) {
+			if ( elem.nodeType === 1 ) {
+
+				// Prevent memory leaks
+				jQuery.cleanData( getAll( elem, false ) );
+
+				// Remove any remaining nodes
+				elem.textContent = "";
+			}
+		}
+
+		return this;
+	},
+
+	clone: function( dataAndEvents, deepDataAndEvents ) {
+		dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
+		deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
+
+		return this.map( function() {
+			return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
+		} );
+	},
+
+	html: function( value ) {
+		return access( this, function( value ) {
+			var elem = this[ 0 ] || {},
+				i = 0,
+				l = this.length;
+
+			if ( value === undefined && elem.nodeType === 1 ) {
+				return elem.innerHTML;
+			}
+
+			// See if we can take a shortcut and just use innerHTML
+			if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
+				!wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) {
+
+				value = jQuery.htmlPrefilter( value );
+
+				try {
+					for ( ; i < l; i++ ) {
+						elem = this[ i ] || {};
+
+						// Remove element nodes and prevent memory leaks
+						if ( elem.nodeType === 1 ) {
+							jQuery.cleanData( getAll( elem, false ) );
+							elem.innerHTML = value;
+						}
+					}
+
+					elem = 0;
+
+				// If using innerHTML throws an exception, use the fallback method
+				} catch ( e ) {}
+			}
+
+			if ( elem ) {
+				this.empty().append( value );
+			}
+		}, null, value, arguments.length );
+	},
+
+	replaceWith: function() {
+		var ignored = [];
+
+		// Make the changes, replacing each non-ignored context element with the new content
+		return domManip( this, arguments, function( elem ) {
+			var parent = this.parentNode;
+
+			if ( jQuery.inArray( this, ignored ) < 0 ) {
+				jQuery.cleanData( getAll( this ) );
+				if ( parent ) {
+					parent.replaceChild( elem, this );
+				}
+			}
+
+		// Force callback invocation
+		}, ignored );
+	}
+} );
+
+jQuery.each( {
+	appendTo: "append",
+	prependTo: "prepend",
+	insertBefore: "before",
+	insertAfter: "after",
+	replaceAll: "replaceWith"
+}, function( name, original ) {
+	jQuery.fn[ name ] = function( selector ) {
+		var elems,
+			ret = [],
+			insert = jQuery( selector ),
+			last = insert.length - 1,
+			i = 0;
+
+		for ( ; i <= last; i++ ) {
+			elems = i === last ? this : this.clone( true );
+			jQuery( insert[ i ] )[ original ]( elems );
+
+			// Support: Android <=4.0 only, PhantomJS 1 only
+			// .get() because push.apply(_, arraylike) throws on ancient WebKit
+			push.apply( ret, elems.get() );
+		}
+
+		return this.pushStack( ret );
+	};
+} );
+var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
+
+var getStyles = function( elem ) {
+
+		// Support: IE <=11 only, Firefox <=30 (#15098, #14150)
+		// IE throws on elements created in popups
+		// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
+		var view = elem.ownerDocument.defaultView;
+
+		if ( !view || !view.opener ) {
+			view = window;
+		}
+
+		return view.getComputedStyle( elem );
+	};
+
+var swap = function( elem, options, callback ) {
+	var ret, name,
+		old = {};
+
+	// Remember the old values, and insert the new ones
+	for ( name in options ) {
+		old[ name ] = elem.style[ name ];
+		elem.style[ name ] = options[ name ];
+	}
+
+	ret = callback.call( elem );
+
+	// Revert the old values
+	for ( name in options ) {
+		elem.style[ name ] = old[ name ];
+	}
+
+	return ret;
+};
+
+
+var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
+
+
+
+( function() {
+
+	// Executing both pixelPosition & boxSizingReliable tests require only one layout
+	// so they're executed at the same time to save the second computation.
+	function computeStyleTests() {
+
+		// This is a singleton, we need to execute it only once
+		if ( !div ) {
+			return;
+		}
+
+		container.style.cssText = "position:absolute;left:-11111px;width:60px;" +
+			"margin-top:1px;padding:0;border:0";
+		div.style.cssText =
+			"position:relative;display:block;box-sizing:border-box;overflow:scroll;" +
+			"margin:auto;border:1px;padding:1px;" +
+			"width:60%;top:1%";
+		documentElement.appendChild( container ).appendChild( div );
+
+		var divStyle = window.getComputedStyle( div );
+		pixelPositionVal = divStyle.top !== "1%";
+
+		// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44
+		reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;
+
+		// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3
+		// Some styles come back with percentage values, even though they shouldn't
+		div.style.right = "60%";
+		pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;
+
+		// Support: IE 9 - 11 only
+		// Detect misreporting of content dimensions for box-sizing:border-box elements
+		boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;
+
+		// Support: IE 9 only
+		// Detect overflow:scroll screwiness (gh-3699)
+		// Support: Chrome <=64
+		// Don't get tricked when zoom affects offsetWidth (gh-4029)
+		div.style.position = "absolute";
+		scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;
+
+		documentElement.removeChild( container );
+
+		// Nullify the div so it wouldn't be stored in the memory and
+		// it will also be a sign that checks already performed
+		div = null;
+	}
+
+	function roundPixelMeasures( measure ) {
+		return Math.round( parseFloat( measure ) );
+	}
+
+	var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,
+		reliableTrDimensionsVal, reliableMarginLeftVal,
+		container = document.createElement( "div" ),
+		div = document.createElement( "div" );
+
+	// Finish early in limited (non-browser) environments
+	if ( !div.style ) {
+		return;
+	}
+
+	// Support: IE <=9 - 11 only
+	// Style of cloned element affects source element cloned (#8908)
+	div.style.backgroundClip = "content-box";
+	div.cloneNode( true ).style.backgroundClip = "";
+	support.clearCloneStyle = div.style.backgroundClip === "content-box";
+
+	jQuery.extend( support, {
+		boxSizingReliable: function() {
+			computeStyleTests();
+			return boxSizingReliableVal;
+		},
+		pixelBoxStyles: function() {
+			computeStyleTests();
+			return pixelBoxStylesVal;
+		},
+		pixelPosition: function() {
+			computeStyleTests();
+			return pixelPositionVal;
+		},
+		reliableMarginLeft: function() {
+			computeStyleTests();
+			return reliableMarginLeftVal;
+		},
+		scrollboxSize: function() {
+			computeStyleTests();
+			return scrollboxSizeVal;
+		},
+
+		// Support: IE 9 - 11+, Edge 15 - 18+
+		// IE/Edge misreport `getComputedStyle` of table rows with width/height
+		// set in CSS while `offset*` properties report correct values.
+		// Behavior in IE 9 is more subtle than in newer versions & it passes
+		// some versions of this test; make sure not to make it pass there!
+		//
+		// Support: Firefox 70+
+		// Only Firefox includes border widths
+		// in computed dimensions. (gh-4529)
+		reliableTrDimensions: function() {
+			var table, tr, trChild, trStyle;
+			if ( reliableTrDimensionsVal == null ) {
+				table = document.createElement( "table" );
+				tr = document.createElement( "tr" );
+				trChild = document.createElement( "div" );
+
+				table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate";
+				tr.style.cssText = "border:1px solid";
+
+				// Support: Chrome 86+
+				// Height set through cssText does not get applied.
+				// Computed height then comes back as 0.
+				tr.style.height = "1px";
+				trChild.style.height = "9px";
+
+				// Support: Android 8 Chrome 86+
+				// In our bodyBackground.html iframe,
+				// display for all div elements is set to "inline",
+				// which causes a problem only in Android 8 Chrome 86.
+				// Ensuring the div is display: block
+				// gets around this issue.
+				trChild.style.display = "block";
+
+				documentElement
+					.appendChild( table )
+					.appendChild( tr )
+					.appendChild( trChild );
+
+				trStyle = window.getComputedStyle( tr );
+				reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +
+					parseInt( trStyle.borderTopWidth, 10 ) +
+					parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;
+
+				documentElement.removeChild( table );
+			}
+			return reliableTrDimensionsVal;
+		}
+	} );
+} )();
+
+
+function curCSS( elem, name, computed ) {
+	var width, minWidth, maxWidth, ret,
+
+		// Support: Firefox 51+
+		// Retrieving style before computed somehow
+		// fixes an issue with getting wrong values
+		// on detached elements
+		style = elem.style;
+
+	computed = computed || getStyles( elem );
+
+	// getPropertyValue is needed for:
+	//   .css('filter') (IE 9 only, #12537)
+	//   .css('--customProperty) (#3144)
+	if ( computed ) {
+		ret = computed.getPropertyValue( name ) || computed[ name ];
+
+		if ( ret === "" && !isAttached( elem ) ) {
+			ret = jQuery.style( elem, name );
+		}
+
+		// A tribute to the "awesome hack by Dean Edwards"
+		// Android Browser returns percentage for some values,
+		// but width seems to be reliably pixels.
+		// This is against the CSSOM draft spec:
+		// https://drafts.csswg.org/cssom/#resolved-values
+		if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {
+
+			// Remember the original values
+			width = style.width;
+			minWidth = style.minWidth;
+			maxWidth = style.maxWidth;
+
+			// Put in the new values to get a computed value out
+			style.minWidth = style.maxWidth = style.width = ret;
+			ret = computed.width;
+
+			// Revert the changed values
+			style.width = width;
+			style.minWidth = minWidth;
+			style.maxWidth = maxWidth;
+		}
+	}
+
+	return ret !== undefined ?
+
+		// Support: IE <=9 - 11 only
+		// IE returns zIndex value as an integer.
+		ret + "" :
+		ret;
+}
+
+
+function addGetHookIf( conditionFn, hookFn ) {
+
+	// Define the hook, we'll check on the first run if it's really needed.
+	return {
+		get: function() {
+			if ( conditionFn() ) {
+
+				// Hook not needed (or it's not possible to use it due
+				// to missing dependency), remove it.
+				delete this.get;
+				return;
+			}
+
+			// Hook needed; redefine it so that the support test is not executed again.
+			return ( this.get = hookFn ).apply( this, arguments );
+		}
+	};
+}
+
+
+var cssPrefixes = [ "Webkit", "Moz", "ms" ],
+	emptyStyle = document.createElement( "div" ).style,
+	vendorProps = {};
+
+// Return a vendor-prefixed property or undefined
+function vendorPropName( name ) {
+
+	// Check for vendor prefixed names
+	var capName = name[ 0 ].toUpperCase() + name.slice( 1 ),
+		i = cssPrefixes.length;
+
+	while ( i-- ) {
+		name = cssPrefixes[ i ] + capName;
+		if ( name in emptyStyle ) {
+			return name;
+		}
+	}
+}
+
+// Return a potentially-mapped jQuery.cssProps or vendor prefixed property
+function finalPropName( name ) {
+	var final = jQuery.cssProps[ name ] || vendorProps[ name ];
+
+	if ( final ) {
+		return final;
+	}
+	if ( name in emptyStyle ) {
+		return name;
+	}
+	return vendorProps[ name ] = vendorPropName( name ) || name;
+}
+
+
+var
+
+	// Swappable if display is none or starts with table
+	// except "table", "table-cell", or "table-caption"
+	// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
+	rdisplayswap = /^(none|table(?!-c[ea]).+)/,
+	rcustomProp = /^--/,
+	cssShow = { position: "absolute", visibility: "hidden", display: "block" },
+	cssNormalTransform = {
+		letterSpacing: "0",
+		fontWeight: "400"
+	};
+
+function setPositiveNumber( _elem, value, subtract ) {
+
+	// Any relative (+/-) values have already been
+	// normalized at this point
+	var matches = rcssNum.exec( value );
+	return matches ?
+
+		// Guard against undefined "subtract", e.g., when used as in cssHooks
+		Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) :
+		value;
+}
+
+function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {
+	var i = dimension === "width" ? 1 : 0,
+		extra = 0,
+		delta = 0;
+
+	// Adjustment may not be necessary
+	if ( box === ( isBorderBox ? "border" : "content" ) ) {
+		return 0;
+	}
+
+	for ( ; i < 4; i += 2 ) {
+
+		// Both box models exclude margin
+		if ( box === "margin" ) {
+			delta += jQuery.css( elem, box + cssExpand[ i ], true, styles );
+		}
+
+		// If we get here with a content-box, we're seeking "padding" or "border" or "margin"
+		if ( !isBorderBox ) {
+
+			// Add padding
+			delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
+
+			// For "border" or "margin", add border
+			if ( box !== "padding" ) {
+				delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
+
+			// But still keep track of it otherwise
+			} else {
+				extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
+			}
+
+		// If we get here with a border-box (content + padding + border), we're seeking "content" or
+		// "padding" or "margin"
+		} else {
+
+			// For "content", subtract padding
+			if ( box === "content" ) {
+				delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
+			}
+
+			// For "content" or "padding", subtract border
+			if ( box !== "margin" ) {
+				delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
+			}
+		}
+	}
+
+	// Account for positive content-box scroll gutter when requested by providing computedVal
+	if ( !isBorderBox && computedVal >= 0 ) {
+
+		// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border
+		// Assuming integer scroll gutter, subtract the rest and round down
+		delta += Math.max( 0, Math.ceil(
+			elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -
+			computedVal -
+			delta -
+			extra -
+			0.5
+
+		// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter
+		// Use an explicit zero to avoid NaN (gh-3964)
+		) ) || 0;
+	}
+
+	return delta;
+}
+
+function getWidthOrHeight( elem, dimension, extra ) {
+
+	// Start with computed style
+	var styles = getStyles( elem ),
+
+		// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).
+		// Fake content-box until we know it's needed to know the true value.
+		boxSizingNeeded = !support.boxSizingReliable() || extra,
+		isBorderBox = boxSizingNeeded &&
+			jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
+		valueIsBorderBox = isBorderBox,
+
+		val = curCSS( elem, dimension, styles ),
+		offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );
+
+	// Support: Firefox <=54
+	// Return a confounding non-pixel value or feign ignorance, as appropriate.
+	if ( rnumnonpx.test( val ) ) {
+		if ( !extra ) {
+			return val;
+		}
+		val = "auto";
+	}
+
+
+	// Support: IE 9 - 11 only
+	// Use offsetWidth/offsetHeight for when box sizing is unreliable.
+	// In those cases, the computed value can be trusted to be border-box.
+	if ( ( !support.boxSizingReliable() && isBorderBox ||
+
+		// Support: IE 10 - 11+, Edge 15 - 18+
+		// IE/Edge misreport `getComputedStyle` of table rows with width/height
+		// set in CSS while `offset*` properties report correct values.
+		// Interestingly, in some cases IE 9 doesn't suffer from this issue.
+		!support.reliableTrDimensions() && nodeName( elem, "tr" ) ||
+
+		// Fall back to offsetWidth/offsetHeight when value is "auto"
+		// This happens for inline elements with no explicit setting (gh-3571)
+		val === "auto" ||
+
+		// Support: Android <=4.1 - 4.3 only
+		// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)
+		!parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) &&
+
+		// Make sure the element is visible & connected
+		elem.getClientRects().length ) {
+
+		isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
+
+		// Where available, offsetWidth/offsetHeight approximate border box dimensions.
+		// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the
+		// retrieved value as a content box dimension.
+		valueIsBorderBox = offsetProp in elem;
+		if ( valueIsBorderBox ) {
+			val = elem[ offsetProp ];
+		}
+	}
+
+	// Normalize "" and auto
+	val = parseFloat( val ) || 0;
+
+	// Adjust for the element's box model
+	return ( val +
+		boxModelAdjustment(
+			elem,
+			dimension,
+			extra || ( isBorderBox ? "border" : "content" ),
+			valueIsBorderBox,
+			styles,
+
+			// Provide the current computed size to request scroll gutter calculation (gh-3589)
+			val
+		)
+	) + "px";
+}
+
+jQuery.extend( {
+
+	// Add in style property hooks for overriding the default
+	// behavior of getting and setting a style property
+	cssHooks: {
+		opacity: {
+			get: function( elem, computed ) {
+				if ( computed ) {
+
+					// We should always get a number back from opacity
+					var ret = curCSS( elem, "opacity" );
+					return ret === "" ? "1" : ret;
+				}
+			}
+		}
+	},
+
+	// Don't automatically add "px" to these possibly-unitless properties
+	cssNumber: {
+		"animationIterationCount": true,
+		"columnCount": true,
+		"fillOpacity": true,
+		"flexGrow": true,
+		"flexShrink": true,
+		"fontWeight": true,
+		"gridArea": true,
+		"gridColumn": true,
+		"gridColumnEnd": true,
+		"gridColumnStart": true,
+		"gridRow": true,
+		"gridRowEnd": true,
+		"gridRowStart": true,
+		"lineHeight": true,
+		"opacity": true,
+		"order": true,
+		"orphans": true,
+		"widows": true,
+		"zIndex": true,
+		"zoom": true
+	},
+
+	// Add in properties whose names you wish to fix before
+	// setting or getting the value
+	cssProps: {},
+
+	// Get and set the style property on a DOM Node
+	style: function( elem, name, value, extra ) {
+
+		// Don't set styles on text and comment nodes
+		if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
+			return;
+		}
+
+		// Make sure that we're working with the right name
+		var ret, type, hooks,
+			origName = camelCase( name ),
+			isCustomProp = rcustomProp.test( name ),
+			style = elem.style;
+
+		// Make sure that we're working with the right name. We don't
+		// want to query the value if it is a CSS custom property
+		// since they are user-defined.
+		if ( !isCustomProp ) {
+			name = finalPropName( origName );
+		}
+
+		// Gets hook for the prefixed version, then unprefixed version
+		hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
+
+		// Check if we're setting a value
+		if ( value !== undefined ) {
+			type = typeof value;
+
+			// Convert "+=" or "-=" to relative numbers (#7345)
+			if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {
+				value = adjustCSS( elem, name, ret );
+
+				// Fixes bug #9237
+				type = "number";
+			}
+
+			// Make sure that null and NaN values aren't set (#7116)
+			if ( value == null || value !== value ) {
+				return;
+			}
+
+			// If a number was passed in, add the unit (except for certain CSS properties)
+			// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append
+			// "px" to a few hardcoded values.
+			if ( type === "number" && !isCustomProp ) {
+				value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" );
+			}
+
+			// background-* props affect original clone's values
+			if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) {
+				style[ name ] = "inherit";
+			}
+
+			// If a hook was provided, use that value, otherwise just set the specified value
+			if ( !hooks || !( "set" in hooks ) ||
+				( value = hooks.set( elem, value, extra ) ) !== undefined ) {
+
+				if ( isCustomProp ) {
+					style.setProperty( name, value );
+				} else {
+					style[ name ] = value;
+				}
+			}
+
+		} else {
+
+			// If a hook was provided get the non-computed value from there
+			if ( hooks && "get" in hooks &&
+				( ret = hooks.get( elem, false, extra ) ) !== undefined ) {
+
+				return ret;
+			}
+
+			// Otherwise just get the value from the style object
+			return style[ name ];
+		}
+	},
+
+	css: function( elem, name, extra, styles ) {
+		var val, num, hooks,
+			origName = camelCase( name ),
+			isCustomProp = rcustomProp.test( name );
+
+		// Make sure that we're working with the right name. We don't
+		// want to modify the value if it is a CSS custom property
+		// since they are user-defined.
+		if ( !isCustomProp ) {
+			name = finalPropName( origName );
+		}
+
+		// Try prefixed name followed by the unprefixed name
+		hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
+
+		// If a hook was provided get the computed value from there
+		if ( hooks && "get" in hooks ) {
+			val = hooks.get( elem, true, extra );
+		}
+
+		// Otherwise, if a way to get the computed value exists, use that
+		if ( val === undefined ) {
+			val = curCSS( elem, name, styles );
+		}
+
+		// Convert "normal" to computed value
+		if ( val === "normal" && name in cssNormalTransform ) {
+			val = cssNormalTransform[ name ];
+		}
+
+		// Make numeric if forced or a qualifier was provided and val looks numeric
+		if ( extra === "" || extra ) {
+			num = parseFloat( val );
+			return extra === true || isFinite( num ) ? num || 0 : val;
+		}
+
+		return val;
+	}
+} );
+
+jQuery.each( [ "height", "width" ], function( _i, dimension ) {
+	jQuery.cssHooks[ dimension ] = {
+		get: function( elem, computed, extra ) {
+			if ( computed ) {
+
+				// Certain elements can have dimension info if we invisibly show them
+				// but it must have a current display style that would benefit
+				return rdisplayswap.test( jQuery.css( elem, "display" ) ) &&
+
+					// Support: Safari 8+
+					// Table columns in Safari have non-zero offsetWidth & zero
+					// getBoundingClientRect().width unless display is changed.
+					// Support: IE <=11 only
+					// Running getBoundingClientRect on a disconnected node
+					// in IE throws an error.
+					( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?
+					swap( elem, cssShow, function() {
+						return getWidthOrHeight( elem, dimension, extra );
+					} ) :
+					getWidthOrHeight( elem, dimension, extra );
+			}
+		},
+
+		set: function( elem, value, extra ) {
+			var matches,
+				styles = getStyles( elem ),
+
+				// Only read styles.position if the test has a chance to fail
+				// to avoid forcing a reflow.
+				scrollboxSizeBuggy = !support.scrollboxSize() &&
+					styles.position === "absolute",
+
+				// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)
+				boxSizingNeeded = scrollboxSizeBuggy || extra,
+				isBorderBox = boxSizingNeeded &&
+					jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
+				subtract = extra ?
+					boxModelAdjustment(
+						elem,
+						dimension,
+						extra,
+						isBorderBox,
+						styles
+					) :
+					0;
+
+			// Account for unreliable border-box dimensions by comparing offset* to computed and
+			// faking a content-box to get border and padding (gh-3699)
+			if ( isBorderBox && scrollboxSizeBuggy ) {
+				subtract -= Math.ceil(
+					elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -
+					parseFloat( styles[ dimension ] ) -
+					boxModelAdjustment( elem, dimension, "border", false, styles ) -
+					0.5
+				);
+			}
+
+			// Convert to pixels if value adjustment is needed
+			if ( subtract && ( matches = rcssNum.exec( value ) ) &&
+				( matches[ 3 ] || "px" ) !== "px" ) {
+
+				elem.style[ dimension ] = value;
+				value = jQuery.css( elem, dimension );
+			}
+
+			return setPositiveNumber( elem, value, subtract );
+		}
+	};
+} );
+
+jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,
+	function( elem, computed ) {
+		if ( computed ) {
+			return ( parseFloat( curCSS( elem, "marginLeft" ) ) ||
+				elem.getBoundingClientRect().left -
+					swap( elem, { marginLeft: 0 }, function() {
+						return elem.getBoundingClientRect().left;
+					} )
+			) + "px";
+		}
+	}
+);
+
+// These hooks are used by animate to expand properties
+jQuery.each( {
+	margin: "",
+	padding: "",
+	border: "Width"
+}, function( prefix, suffix ) {
+	jQuery.cssHooks[ prefix + suffix ] = {
+		expand: function( value ) {
+			var i = 0,
+				expanded = {},
+
+				// Assumes a single number if not a string
+				parts = typeof value === "string" ? value.split( " " ) : [ value ];
+
+			for ( ; i < 4; i++ ) {
+				expanded[ prefix + cssExpand[ i ] + suffix ] =
+					parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
+			}
+
+			return expanded;
+		}
+	};
+
+	if ( prefix !== "margin" ) {
+		jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
+	}
+} );
+
+jQuery.fn.extend( {
+	css: function( name, value ) {
+		return access( this, function( elem, name, value ) {
+			var styles, len,
+				map = {},
+				i = 0;
+
+			if ( Array.isArray( name ) ) {
+				styles = getStyles( elem );
+				len = name.length;
+
+				for ( ; i < len; i++ ) {
+					map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );
+				}
+
+				return map;
+			}
+
+			return value !== undefined ?
+				jQuery.style( elem, name, value ) :
+				jQuery.css( elem, name );
+		}, name, value, arguments.length > 1 );
+	}
+} );
+
+
+function Tween( elem, options, prop, end, easing ) {
+	return new Tween.prototype.init( elem, options, prop, end, easing );
+}
+jQuery.Tween = Tween;
+
+Tween.prototype = {
+	constructor: Tween,
+	init: function( elem, options, prop, end, easing, unit ) {
+		this.elem = elem;
+		this.prop = prop;
+		this.easing = easing || jQuery.easing._default;
+		this.options = options;
+		this.start = this.now = this.cur();
+		this.end = end;
+		this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
+	},
+	cur: function() {
+		var hooks = Tween.propHooks[ this.prop ];
+
+		return hooks && hooks.get ?
+			hooks.get( this ) :
+			Tween.propHooks._default.get( this );
+	},
+	run: function( percent ) {
+		var eased,
+			hooks = Tween.propHooks[ this.prop ];
+
+		if ( this.options.duration ) {
+			this.pos = eased = jQuery.easing[ this.easing ](
+				percent, this.options.duration * percent, 0, 1, this.options.duration
+			);
+		} else {
+			this.pos = eased = percent;
+		}
+		this.now = ( this.end - this.start ) * eased + this.start;
+
+		if ( this.options.step ) {
+			this.options.step.call( this.elem, this.now, this );
+		}
+
+		if ( hooks && hooks.set ) {
+			hooks.set( this );
+		} else {
+			Tween.propHooks._default.set( this );
+		}
+		return this;
+	}
+};
+
+Tween.prototype.init.prototype = Tween.prototype;
+
+Tween.propHooks = {
+	_default: {
+		get: function( tween ) {
+			var result;
+
+			// Use a property on the element directly when it is not a DOM element,
+			// or when there is no matching style property that exists.
+			if ( tween.elem.nodeType !== 1 ||
+				tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {
+				return tween.elem[ tween.prop ];
+			}
+
+			// Passing an empty string as a 3rd parameter to .css will automatically
+			// attempt a parseFloat and fallback to a string if the parse fails.
+			// Simple values such as "10px" are parsed to Float;
+			// complex values such as "rotate(1rad)" are returned as-is.
+			result = jQuery.css( tween.elem, tween.prop, "" );
+
+			// Empty strings, null, undefined and "auto" are converted to 0.
+			return !result || result === "auto" ? 0 : result;
+		},
+		set: function( tween ) {
+
+			// Use step hook for back compat.
+			// Use cssHook if its there.
+			// Use .style if available and use plain properties where available.
+			if ( jQuery.fx.step[ tween.prop ] ) {
+				jQuery.fx.step[ tween.prop ]( tween );
+			} else if ( tween.elem.nodeType === 1 && (
+				jQuery.cssHooks[ tween.prop ] ||
+					tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {
+				jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
+			} else {
+				tween.elem[ tween.prop ] = tween.now;
+			}
+		}
+	}
+};
+
+// Support: IE <=9 only
+// Panic based approach to setting things on disconnected nodes
+Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
+	set: function( tween ) {
+		if ( tween.elem.nodeType && tween.elem.parentNode ) {
+			tween.elem[ tween.prop ] = tween.now;
+		}
+	}
+};
+
+jQuery.easing = {
+	linear: function( p ) {
+		return p;
+	},
+	swing: function( p ) {
+		return 0.5 - Math.cos( p * Math.PI ) / 2;
+	},
+	_default: "swing"
+};
+
+jQuery.fx = Tween.prototype.init;
+
+// Back compat <1.8 extension point
+jQuery.fx.step = {};
+
+
+
+
+var
+	fxNow, inProgress,
+	rfxtypes = /^(?:toggle|show|hide)$/,
+	rrun = /queueHooks$/;
+
+function schedule() {
+	if ( inProgress ) {
+		if ( document.hidden === false && window.requestAnimationFrame ) {
+			window.requestAnimationFrame( schedule );
+		} else {
+			window.setTimeout( schedule, jQuery.fx.interval );
+		}
+
+		jQuery.fx.tick();
+	}
+}
+
+// Animations created synchronously will run synchronously
+function createFxNow() {
+	window.setTimeout( function() {
+		fxNow = undefined;
+	} );
+	return ( fxNow = Date.now() );
+}
+
+// Generate parameters to create a standard animation
+function genFx( type, includeWidth ) {
+	var which,
+		i = 0,
+		attrs = { height: type };
+
+	// If we include width, step value is 1 to do all cssExpand values,
+	// otherwise step value is 2 to skip over Left and Right
+	includeWidth = includeWidth ? 1 : 0;
+	for ( ; i < 4; i += 2 - includeWidth ) {
+		which = cssExpand[ i ];
+		attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
+	}
+
+	if ( includeWidth ) {
+		attrs.opacity = attrs.width = type;
+	}
+
+	return attrs;
+}
+
+function createTween( value, prop, animation ) {
+	var tween,
+		collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ),
+		index = 0,
+		length = collection.length;
+	for ( ; index < length; index++ ) {
+		if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {
+
+			// We're done with this property
+			return tween;
+		}
+	}
+}
+
+function defaultPrefilter( elem, props, opts ) {
+	var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,
+		isBox = "width" in props || "height" in props,
+		anim = this,
+		orig = {},
+		style = elem.style,
+		hidden = elem.nodeType && isHiddenWithinTree( elem ),
+		dataShow = dataPriv.get( elem, "fxshow" );
+
+	// Queue-skipping animations hijack the fx hooks
+	if ( !opts.queue ) {
+		hooks = jQuery._queueHooks( elem, "fx" );
+		if ( hooks.unqueued == null ) {
+			hooks.unqueued = 0;
+			oldfire = hooks.empty.fire;
+			hooks.empty.fire = function() {
+				if ( !hooks.unqueued ) {
+					oldfire();
+				}
+			};
+		}
+		hooks.unqueued++;
+
+		anim.always( function() {
+
+			// Ensure the complete handler is called before this completes
+			anim.always( function() {
+				hooks.unqueued--;
+				if ( !jQuery.queue( elem, "fx" ).length ) {
+					hooks.empty.fire();
+				}
+			} );
+		} );
+	}
+
+	// Detect show/hide animations
+	for ( prop in props ) {
+		value = props[ prop ];
+		if ( rfxtypes.test( value ) ) {
+			delete props[ prop ];
+			toggle = toggle || value === "toggle";
+			if ( value === ( hidden ? "hide" : "show" ) ) {
+
+				// Pretend to be hidden if this is a "show" and
+				// there is still data from a stopped show/hide
+				if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
+					hidden = true;
+
+				// Ignore all other no-op show/hide data
+				} else {
+					continue;
+				}
+			}
+			orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
+		}
+	}
+
+	// Bail out if this is a no-op like .hide().hide()
+	propTween = !jQuery.isEmptyObject( props );
+	if ( !propTween && jQuery.isEmptyObject( orig ) ) {
+		return;
+	}
+
+	// Restrict "overflow" and "display" styles during box animations
+	if ( isBox && elem.nodeType === 1 ) {
+
+		// Support: IE <=9 - 11, Edge 12 - 15
+		// Record all 3 overflow attributes because IE does not infer the shorthand
+		// from identically-valued overflowX and overflowY and Edge just mirrors
+		// the overflowX value there.
+		opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
+
+		// Identify a display type, preferring old show/hide data over the CSS cascade
+		restoreDisplay = dataShow && dataShow.display;
+		if ( restoreDisplay == null ) {
+			restoreDisplay = dataPriv.get( elem, "display" );
+		}
+		display = jQuery.css( elem, "display" );
+		if ( display === "none" ) {
+			if ( restoreDisplay ) {
+				display = restoreDisplay;
+			} else {
+
+				// Get nonempty value(s) by temporarily forcing visibility
+				showHide( [ elem ], true );
+				restoreDisplay = elem.style.display || restoreDisplay;
+				display = jQuery.css( elem, "display" );
+				showHide( [ elem ] );
+			}
+		}
+
+		// Animate inline elements as inline-block
+		if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) {
+			if ( jQuery.css( elem, "float" ) === "none" ) {
+
+				// Restore the original display value at the end of pure show/hide animations
+				if ( !propTween ) {
+					anim.done( function() {
+						style.display = restoreDisplay;
+					} );
+					if ( restoreDisplay == null ) {
+						display = style.display;
+						restoreDisplay = display === "none" ? "" : display;
+					}
+				}
+				style.display = "inline-block";
+			}
+		}
+	}
+
+	if ( opts.overflow ) {
+		style.overflow = "hidden";
+		anim.always( function() {
+			style.overflow = opts.overflow[ 0 ];
+			style.overflowX = opts.overflow[ 1 ];
+			style.overflowY = opts.overflow[ 2 ];
+		} );
+	}
+
+	// Implement show/hide animations
+	propTween = false;
+	for ( prop in orig ) {
+
+		// General show/hide setup for this element animation
+		if ( !propTween ) {
+			if ( dataShow ) {
+				if ( "hidden" in dataShow ) {
+					hidden = dataShow.hidden;
+				}
+			} else {
+				dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } );
+			}
+
+			// Store hidden/visible for toggle so `.stop().toggle()` "reverses"
+			if ( toggle ) {
+				dataShow.hidden = !hidden;
+			}
+
+			// Show elements before animating them
+			if ( hidden ) {
+				showHide( [ elem ], true );
+			}
+
+			/* eslint-disable no-loop-func */
+
+			anim.done( function() {
+
+				/* eslint-enable no-loop-func */
+
+				// The final step of a "hide" animation is actually hiding the element
+				if ( !hidden ) {
+					showHide( [ elem ] );
+				}
+				dataPriv.remove( elem, "fxshow" );
+				for ( prop in orig ) {
+					jQuery.style( elem, prop, orig[ prop ] );
+				}
+			} );
+		}
+
+		// Per-property setup
+		propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
+		if ( !( prop in dataShow ) ) {
+			dataShow[ prop ] = propTween.start;
+			if ( hidden ) {
+				propTween.end = propTween.start;
+				propTween.start = 0;
+			}
+		}
+	}
+}
+
+function propFilter( props, specialEasing ) {
+	var index, name, easing, value, hooks;
+
+	// camelCase, specialEasing and expand cssHook pass
+	for ( index in props ) {
+		name = camelCase( index );
+		easing = specialEasing[ name ];
+		value = props[ index ];
+		if ( Array.isArray( value ) ) {
+			easing = value[ 1 ];
+			value = props[ index ] = value[ 0 ];
+		}
+
+		if ( index !== name ) {
+			props[ name ] = value;
+			delete props[ index ];
+		}
+
+		hooks = jQuery.cssHooks[ name ];
+		if ( hooks && "expand" in hooks ) {
+			value = hooks.expand( value );
+			delete props[ name ];
+
+			// Not quite $.extend, this won't overwrite existing keys.
+			// Reusing 'index' because we have the correct "name"
+			for ( index in value ) {
+				if ( !( index in props ) ) {
+					props[ index ] = value[ index ];
+					specialEasing[ index ] = easing;
+				}
+			}
+		} else {
+			specialEasing[ name ] = easing;
+		}
+	}
+}
+
+function Animation( elem, properties, options ) {
+	var result,
+		stopped,
+		index = 0,
+		length = Animation.prefilters.length,
+		deferred = jQuery.Deferred().always( function() {
+
+			// Don't match elem in the :animated selector
+			delete tick.elem;
+		} ),
+		tick = function() {
+			if ( stopped ) {
+				return false;
+			}
+			var currentTime = fxNow || createFxNow(),
+				remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
+
+				// Support: Android 2.3 only
+				// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
+				temp = remaining / animation.duration || 0,
+				percent = 1 - temp,
+				index = 0,
+				length = animation.tweens.length;
+
+			for ( ; index < length; index++ ) {
+				animation.tweens[ index ].run( percent );
+			}
+
+			deferred.notifyWith( elem, [ animation, percent, remaining ] );
+
+			// If there's more to do, yield
+			if ( percent < 1 && length ) {
+				return remaining;
+			}
+
+			// If this was an empty animation, synthesize a final progress notification
+			if ( !length ) {
+				deferred.notifyWith( elem, [ animation, 1, 0 ] );
+			}
+
+			// Resolve the animation and report its conclusion
+			deferred.resolveWith( elem, [ animation ] );
+			return false;
+		},
+		animation = deferred.promise( {
+			elem: elem,
+			props: jQuery.extend( {}, properties ),
+			opts: jQuery.extend( true, {
+				specialEasing: {},
+				easing: jQuery.easing._default
+			}, options ),
+			originalProperties: properties,
+			originalOptions: options,
+			startTime: fxNow || createFxNow(),
+			duration: options.duration,
+			tweens: [],
+			createTween: function( prop, end ) {
+				var tween = jQuery.Tween( elem, animation.opts, prop, end,
+					animation.opts.specialEasing[ prop ] || animation.opts.easing );
+				animation.tweens.push( tween );
+				return tween;
+			},
+			stop: function( gotoEnd ) {
+				var index = 0,
+
+					// If we are going to the end, we want to run all the tweens
+					// otherwise we skip this part
+					length = gotoEnd ? animation.tweens.length : 0;
+				if ( stopped ) {
+					return this;
+				}
+				stopped = true;
+				for ( ; index < length; index++ ) {
+					animation.tweens[ index ].run( 1 );
+				}
+
+				// Resolve when we played the last frame; otherwise, reject
+				if ( gotoEnd ) {
+					deferred.notifyWith( elem, [ animation, 1, 0 ] );
+					deferred.resolveWith( elem, [ animation, gotoEnd ] );
+				} else {
+					deferred.rejectWith( elem, [ animation, gotoEnd ] );
+				}
+				return this;
+			}
+		} ),
+		props = animation.props;
+
+	propFilter( props, animation.opts.specialEasing );
+
+	for ( ; index < length; index++ ) {
+		result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );
+		if ( result ) {
+			if ( isFunction( result.stop ) ) {
+				jQuery._queueHooks( animation.elem, animation.opts.queue ).stop =
+					result.stop.bind( result );
+			}
+			return result;
+		}
+	}
+
+	jQuery.map( props, createTween, animation );
+
+	if ( isFunction( animation.opts.start ) ) {
+		animation.opts.start.call( elem, animation );
+	}
+
+	// Attach callbacks from options
+	animation
+		.progress( animation.opts.progress )
+		.done( animation.opts.done, animation.opts.complete )
+		.fail( animation.opts.fail )
+		.always( animation.opts.always );
+
+	jQuery.fx.timer(
+		jQuery.extend( tick, {
+			elem: elem,
+			anim: animation,
+			queue: animation.opts.queue
+		} )
+	);
+
+	return animation;
+}
+
+jQuery.Animation = jQuery.extend( Animation, {
+
+	tweeners: {
+		"*": [ function( prop, value ) {
+			var tween = this.createTween( prop, value );
+			adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );
+			return tween;
+		} ]
+	},
+
+	tweener: function( props, callback ) {
+		if ( isFunction( props ) ) {
+			callback = props;
+			props = [ "*" ];
+		} else {
+			props = props.match( rnothtmlwhite );
+		}
+
+		var prop,
+			index = 0,
+			length = props.length;
+
+		for ( ; index < length; index++ ) {
+			prop = props[ index ];
+			Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];
+			Animation.tweeners[ prop ].unshift( callback );
+		}
+	},
+
+	prefilters: [ defaultPrefilter ],
+
+	prefilter: function( callback, prepend ) {
+		if ( prepend ) {
+			Animation.prefilters.unshift( callback );
+		} else {
+			Animation.prefilters.push( callback );
+		}
+	}
+} );
+
+jQuery.speed = function( speed, easing, fn ) {
+	var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
+		complete: fn || !fn && easing ||
+			isFunction( speed ) && speed,
+		duration: speed,
+		easing: fn && easing || easing && !isFunction( easing ) && easing
+	};
+
+	// Go to the end state if fx are off
+	if ( jQuery.fx.off ) {
+		opt.duration = 0;
+
+	} else {
+		if ( typeof opt.duration !== "number" ) {
+			if ( opt.duration in jQuery.fx.speeds ) {
+				opt.duration = jQuery.fx.speeds[ opt.duration ];
+
+			} else {
+				opt.duration = jQuery.fx.speeds._default;
+			}
+		}
+	}
+
+	// Normalize opt.queue - true/undefined/null -> "fx"
+	if ( opt.queue == null || opt.queue === true ) {
+		opt.queue = "fx";
+	}
+
+	// Queueing
+	opt.old = opt.complete;
+
+	opt.complete = function() {
+		if ( isFunction( opt.old ) ) {
+			opt.old.call( this );
+		}
+
+		if ( opt.queue ) {
+			jQuery.dequeue( this, opt.queue );
+		}
+	};
+
+	return opt;
+};
+
+jQuery.fn.extend( {
+	fadeTo: function( speed, to, easing, callback ) {
+
+		// Show any hidden elements after setting opacity to 0
+		return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show()
+
+			// Animate to the value specified
+			.end().animate( { opacity: to }, speed, easing, callback );
+	},
+	animate: function( prop, speed, easing, callback ) {
+		var empty = jQuery.isEmptyObject( prop ),
+			optall = jQuery.speed( speed, easing, callback ),
+			doAnimation = function() {
+
+				// Operate on a copy of prop so per-property easing won't be lost
+				var anim = Animation( this, jQuery.extend( {}, prop ), optall );
+
+				// Empty animations, or finishing resolves immediately
+				if ( empty || dataPriv.get( this, "finish" ) ) {
+					anim.stop( true );
+				}
+			};
+
+		doAnimation.finish = doAnimation;
+
+		return empty || optall.queue === false ?
+			this.each( doAnimation ) :
+			this.queue( optall.queue, doAnimation );
+	},
+	stop: function( type, clearQueue, gotoEnd ) {
+		var stopQueue = function( hooks ) {
+			var stop = hooks.stop;
+			delete hooks.stop;
+			stop( gotoEnd );
+		};
+
+		if ( typeof type !== "string" ) {
+			gotoEnd = clearQueue;
+			clearQueue = type;
+			type = undefined;
+		}
+		if ( clearQueue ) {
+			this.queue( type || "fx", [] );
+		}
+
+		return this.each( function() {
+			var dequeue = true,
+				index = type != null && type + "queueHooks",
+				timers = jQuery.timers,
+				data = dataPriv.get( this );
+
+			if ( index ) {
+				if ( data[ index ] && data[ index ].stop ) {
+					stopQueue( data[ index ] );
+				}
+			} else {
+				for ( index in data ) {
+					if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {
+						stopQueue( data[ index ] );
+					}
+				}
+			}
+
+			for ( index = timers.length; index--; ) {
+				if ( timers[ index ].elem === this &&
+					( type == null || timers[ index ].queue === type ) ) {
+
+					timers[ index ].anim.stop( gotoEnd );
+					dequeue = false;
+					timers.splice( index, 1 );
+				}
+			}
+
+			// Start the next in the queue if the last step wasn't forced.
+			// Timers currently will call their complete callbacks, which
+			// will dequeue but only if they were gotoEnd.
+			if ( dequeue || !gotoEnd ) {
+				jQuery.dequeue( this, type );
+			}
+		} );
+	},
+	finish: function( type ) {
+		if ( type !== false ) {
+			type = type || "fx";
+		}
+		return this.each( function() {
+			var index,
+				data = dataPriv.get( this ),
+				queue = data[ type + "queue" ],
+				hooks = data[ type + "queueHooks" ],
+				timers = jQuery.timers,
+				length = queue ? queue.length : 0;
+
+			// Enable finishing flag on private data
+			data.finish = true;
+
+			// Empty the queue first
+			jQuery.queue( this, type, [] );
+
+			if ( hooks && hooks.stop ) {
+				hooks.stop.call( this, true );
+			}
+
+			// Look for any active animations, and finish them
+			for ( index = timers.length; index--; ) {
+				if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
+					timers[ index ].anim.stop( true );
+					timers.splice( index, 1 );
+				}
+			}
+
+			// Look for any animations in the old queue and finish them
+			for ( index = 0; index < length; index++ ) {
+				if ( queue[ index ] && queue[ index ].finish ) {
+					queue[ index ].finish.call( this );
+				}
+			}
+
+			// Turn off finishing flag
+			delete data.finish;
+		} );
+	}
+} );
+
+jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) {
+	var cssFn = jQuery.fn[ name ];
+	jQuery.fn[ name ] = function( speed, easing, callback ) {
+		return speed == null || typeof speed === "boolean" ?
+			cssFn.apply( this, arguments ) :
+			this.animate( genFx( name, true ), speed, easing, callback );
+	};
+} );
+
+// Generate shortcuts for custom animations
+jQuery.each( {
+	slideDown: genFx( "show" ),
+	slideUp: genFx( "hide" ),
+	slideToggle: genFx( "toggle" ),
+	fadeIn: { opacity: "show" },
+	fadeOut: { opacity: "hide" },
+	fadeToggle: { opacity: "toggle" }
+}, function( name, props ) {
+	jQuery.fn[ name ] = function( speed, easing, callback ) {
+		return this.animate( props, speed, easing, callback );
+	};
+} );
+
+jQuery.timers = [];
+jQuery.fx.tick = function() {
+	var timer,
+		i = 0,
+		timers = jQuery.timers;
+
+	fxNow = Date.now();
+
+	for ( ; i < timers.length; i++ ) {
+		timer = timers[ i ];
+
+		// Run the timer and safely remove it when done (allowing for external removal)
+		if ( !timer() && timers[ i ] === timer ) {
+			timers.splice( i--, 1 );
+		}
+	}
+
+	if ( !timers.length ) {
+		jQuery.fx.stop();
+	}
+	fxNow = undefined;
+};
+
+jQuery.fx.timer = function( timer ) {
+	jQuery.timers.push( timer );
+	jQuery.fx.start();
+};
+
+jQuery.fx.interval = 13;
+jQuery.fx.start = function() {
+	if ( inProgress ) {
+		return;
+	}
+
+	inProgress = true;
+	schedule();
+};
+
+jQuery.fx.stop = function() {
+	inProgress = null;
+};
+
+jQuery.fx.speeds = {
+	slow: 600,
+	fast: 200,
+
+	// Default speed
+	_default: 400
+};
+
+
+// Based off of the plugin by Clint Helfers, with permission.
+// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
+jQuery.fn.delay = function( time, type ) {
+	time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
+	type = type || "fx";
+
+	return this.queue( type, function( next, hooks ) {
+		var timeout = window.setTimeout( next, time );
+		hooks.stop = function() {
+			window.clearTimeout( timeout );
+		};
+	} );
+};
+
+
+( function() {
+	var input = document.createElement( "input" ),
+		select = document.createElement( "select" ),
+		opt = select.appendChild( document.createElement( "option" ) );
+
+	input.type = "checkbox";
+
+	// Support: Android <=4.3 only
+	// Default value for a checkbox should be "on"
+	support.checkOn = input.value !== "";
+
+	// Support: IE <=11 only
+	// Must access selectedIndex to make default options select
+	support.optSelected = opt.selected;
+
+	// Support: IE <=11 only
+	// An input loses its value after becoming a radio
+	input = document.createElement( "input" );
+	input.value = "t";
+	input.type = "radio";
+	support.radioValue = input.value === "t";
+} )();
+
+
+var boolHook,
+	attrHandle = jQuery.expr.attrHandle;
+
+jQuery.fn.extend( {
+	attr: function( name, value ) {
+		return access( this, jQuery.attr, name, value, arguments.length > 1 );
+	},
+
+	removeAttr: function( name ) {
+		return this.each( function() {
+			jQuery.removeAttr( this, name );
+		} );
+	}
+} );
+
+jQuery.extend( {
+	attr: function( elem, name, value ) {
+		var ret, hooks,
+			nType = elem.nodeType;
+
+		// Don't get/set attributes on text, comment and attribute nodes
+		if ( nType === 3 || nType === 8 || nType === 2 ) {
+			return;
+		}
+
+		// Fallback to prop when attributes are not supported
+		if ( typeof elem.getAttribute === "undefined" ) {
+			return jQuery.prop( elem, name, value );
+		}
+
+		// Attribute hooks are determined by the lowercase version
+		// Grab necessary hook if one is defined
+		if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
+			hooks = jQuery.attrHooks[ name.toLowerCase() ] ||
+				( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );
+		}
+
+		if ( value !== undefined ) {
+			if ( value === null ) {
+				jQuery.removeAttr( elem, name );
+				return;
+			}
+
+			if ( hooks && "set" in hooks &&
+				( ret = hooks.set( elem, value, name ) ) !== undefined ) {
+				return ret;
+			}
+
+			elem.setAttribute( name, value + "" );
+			return value;
+		}
+
+		if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {
+			return ret;
+		}
+
+		ret = jQuery.find.attr( elem, name );
+
+		// Non-existent attributes return null, we normalize to undefined
+		return ret == null ? undefined : ret;
+	},
+
+	attrHooks: {
+		type: {
+			set: function( elem, value ) {
+				if ( !support.radioValue && value === "radio" &&
+					nodeName( elem, "input" ) ) {
+					var val = elem.value;
+					elem.setAttribute( "type", value );
+					if ( val ) {
+						elem.value = val;
+					}
+					return value;
+				}
+			}
+		}
+	},
+
+	removeAttr: function( elem, value ) {
+		var name,
+			i = 0,
+
+			// Attribute names can contain non-HTML whitespace characters
+			// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
+			attrNames = value && value.match( rnothtmlwhite );
+
+		if ( attrNames && elem.nodeType === 1 ) {
+			while ( ( name = attrNames[ i++ ] ) ) {
+				elem.removeAttribute( name );
+			}
+		}
+	}
+} );
+
+// Hooks for boolean attributes
+boolHook = {
+	set: function( elem, value, name ) {
+		if ( value === false ) {
+
+			// Remove boolean attributes when set to false
+			jQuery.removeAttr( elem, name );
+		} else {
+			elem.setAttribute( name, name );
+		}
+		return name;
+	}
+};
+
+jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) {
+	var getter = attrHandle[ name ] || jQuery.find.attr;
+
+	attrHandle[ name ] = function( elem, name, isXML ) {
+		var ret, handle,
+			lowercaseName = name.toLowerCase();
+
+		if ( !isXML ) {
+
+			// Avoid an infinite loop by temporarily removing this function from the getter
+			handle = attrHandle[ lowercaseName ];
+			attrHandle[ lowercaseName ] = ret;
+			ret = getter( elem, name, isXML ) != null ?
+				lowercaseName :
+				null;
+			attrHandle[ lowercaseName ] = handle;
+		}
+		return ret;
+	};
+} );
+
+
+
+
+var rfocusable = /^(?:input|select|textarea|button)$/i,
+	rclickable = /^(?:a|area)$/i;
+
+jQuery.fn.extend( {
+	prop: function( name, value ) {
+		return access( this, jQuery.prop, name, value, arguments.length > 1 );
+	},
+
+	removeProp: function( name ) {
+		return this.each( function() {
+			delete this[ jQuery.propFix[ name ] || name ];
+		} );
+	}
+} );
+
+jQuery.extend( {
+	prop: function( elem, name, value ) {
+		var ret, hooks,
+			nType = elem.nodeType;
+
+		// Don't get/set properties on text, comment and attribute nodes
+		if ( nType === 3 || nType === 8 || nType === 2 ) {
+			return;
+		}
+
+		if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
+
+			// Fix name and attach hooks
+			name = jQuery.propFix[ name ] || name;
+			hooks = jQuery.propHooks[ name ];
+		}
+
+		if ( value !== undefined ) {
+			if ( hooks && "set" in hooks &&
+				( ret = hooks.set( elem, value, name ) ) !== undefined ) {
+				return ret;
+			}
+
+			return ( elem[ name ] = value );
+		}
+
+		if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {
+			return ret;
+		}
+
+		return elem[ name ];
+	},
+
+	propHooks: {
+		tabIndex: {
+			get: function( elem ) {
+
+				// Support: IE <=9 - 11 only
+				// elem.tabIndex doesn't always return the
+				// correct value when it hasn't been explicitly set
+				// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
+				// Use proper attribute retrieval(#12072)
+				var tabindex = jQuery.find.attr( elem, "tabindex" );
+
+				if ( tabindex ) {
+					return parseInt( tabindex, 10 );
+				}
+
+				if (
+					rfocusable.test( elem.nodeName ) ||
+					rclickable.test( elem.nodeName ) &&
+					elem.href
+				) {
+					return 0;
+				}
+
+				return -1;
+			}
+		}
+	},
+
+	propFix: {
+		"for": "htmlFor",
+		"class": "className"
+	}
+} );
+
+// Support: IE <=11 only
+// Accessing the selectedIndex property
+// forces the browser to respect setting selected
+// on the option
+// The getter ensures a default option is selected
+// when in an optgroup
+// eslint rule "no-unused-expressions" is disabled for this code
+// since it considers such accessions noop
+if ( !support.optSelected ) {
+	jQuery.propHooks.selected = {
+		get: function( elem ) {
+
+			/* eslint no-unused-expressions: "off" */
+
+			var parent = elem.parentNode;
+			if ( parent && parent.parentNode ) {
+				parent.parentNode.selectedIndex;
+			}
+			return null;
+		},
+		set: function( elem ) {
+
+			/* eslint no-unused-expressions: "off" */
+
+			var parent = elem.parentNode;
+			if ( parent ) {
+				parent.selectedIndex;
+
+				if ( parent.parentNode ) {
+					parent.parentNode.selectedIndex;
+				}
+			}
+		}
+	};
+}
+
+jQuery.each( [
+	"tabIndex",
+	"readOnly",
+	"maxLength",
+	"cellSpacing",
+	"cellPadding",
+	"rowSpan",
+	"colSpan",
+	"useMap",
+	"frameBorder",
+	"contentEditable"
+], function() {
+	jQuery.propFix[ this.toLowerCase() ] = this;
+} );
+
+
+
+
+	// Strip and collapse whitespace according to HTML spec
+	// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace
+	function stripAndCollapse( value ) {
+		var tokens = value.match( rnothtmlwhite ) || [];
+		return tokens.join( " " );
+	}
+
+
+function getClass( elem ) {
+	return elem.getAttribute && elem.getAttribute( "class" ) || "";
+}
+
+function classesToArray( value ) {
+	if ( Array.isArray( value ) ) {
+		return value;
+	}
+	if ( typeof value === "string" ) {
+		return value.match( rnothtmlwhite ) || [];
+	}
+	return [];
+}
+
+jQuery.fn.extend( {
+	addClass: function( value ) {
+		var classes, elem, cur, curValue, clazz, j, finalValue,
+			i = 0;
+
+		if ( isFunction( value ) ) {
+			return this.each( function( j ) {
+				jQuery( this ).addClass( value.call( this, j, getClass( this ) ) );
+			} );
+		}
+
+		classes = classesToArray( value );
+
+		if ( classes.length ) {
+			while ( ( elem = this[ i++ ] ) ) {
+				curValue = getClass( elem );
+				cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
+
+				if ( cur ) {
+					j = 0;
+					while ( ( clazz = classes[ j++ ] ) ) {
+						if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
+							cur += clazz + " ";
+						}
+					}
+
+					// Only assign if different to avoid unneeded rendering.
+					finalValue = stripAndCollapse( cur );
+					if ( curValue !== finalValue ) {
+						elem.setAttribute( "class", finalValue );
+					}
+				}
+			}
+		}
+
+		return this;
+	},
+
+	removeClass: function( value ) {
+		var classes, elem, cur, curValue, clazz, j, finalValue,
+			i = 0;
+
+		if ( isFunction( value ) ) {
+			return this.each( function( j ) {
+				jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );
+			} );
+		}
+
+		if ( !arguments.length ) {
+			return this.attr( "class", "" );
+		}
+
+		classes = classesToArray( value );
+
+		if ( classes.length ) {
+			while ( ( elem = this[ i++ ] ) ) {
+				curValue = getClass( elem );
+
+				// This expression is here for better compressibility (see addClass)
+				cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
+
+				if ( cur ) {
+					j = 0;
+					while ( ( clazz = classes[ j++ ] ) ) {
+
+						// Remove *all* instances
+						while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
+							cur = cur.replace( " " + clazz + " ", " " );
+						}
+					}
+
+					// Only assign if different to avoid unneeded rendering.
+					finalValue = stripAndCollapse( cur );
+					if ( curValue !== finalValue ) {
+						elem.setAttribute( "class", finalValue );
+					}
+				}
+			}
+		}
+
+		return this;
+	},
+
+	toggleClass: function( value, stateVal ) {
+		var type = typeof value,
+			isValidValue = type === "string" || Array.isArray( value );
+
+		if ( typeof stateVal === "boolean" && isValidValue ) {
+			return stateVal ? this.addClass( value ) : this.removeClass( value );
+		}
+
+		if ( isFunction( value ) ) {
+			return this.each( function( i ) {
+				jQuery( this ).toggleClass(
+					value.call( this, i, getClass( this ), stateVal ),
+					stateVal
+				);
+			} );
+		}
+
+		return this.each( function() {
+			var className, i, self, classNames;
+
+			if ( isValidValue ) {
+
+				// Toggle individual class names
+				i = 0;
+				self = jQuery( this );
+				classNames = classesToArray( value );
+
+				while ( ( className = classNames[ i++ ] ) ) {
+
+					// Check each className given, space separated list
+					if ( self.hasClass( className ) ) {
+						self.removeClass( className );
+					} else {
+						self.addClass( className );
+					}
+				}
+
+			// Toggle whole class name
+			} else if ( value === undefined || type === "boolean" ) {
+				className = getClass( this );
+				if ( className ) {
+
+					// Store className if set
+					dataPriv.set( this, "__className__", className );
+				}
+
+				// If the element has a class name or if we're passed `false`,
+				// then remove the whole classname (if there was one, the above saved it).
+				// Otherwise bring back whatever was previously saved (if anything),
+				// falling back to the empty string if nothing was stored.
+				if ( this.setAttribute ) {
+					this.setAttribute( "class",
+						className || value === false ?
+							"" :
+							dataPriv.get( this, "__className__" ) || ""
+					);
+				}
+			}
+		} );
+	},
+
+	hasClass: function( selector ) {
+		var className, elem,
+			i = 0;
+
+		className = " " + selector + " ";
+		while ( ( elem = this[ i++ ] ) ) {
+			if ( elem.nodeType === 1 &&
+				( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) {
+				return true;
+			}
+		}
+
+		return false;
+	}
+} );
+
+
+
+
+var rreturn = /\r/g;
+
+jQuery.fn.extend( {
+	val: function( value ) {
+		var hooks, ret, valueIsFunction,
+			elem = this[ 0 ];
+
+		if ( !arguments.length ) {
+			if ( elem ) {
+				hooks = jQuery.valHooks[ elem.type ] ||
+					jQuery.valHooks[ elem.nodeName.toLowerCase() ];
+
+				if ( hooks &&
+					"get" in hooks &&
+					( ret = hooks.get( elem, "value" ) ) !== undefined
+				) {
+					return ret;
+				}
+
+				ret = elem.value;
+
+				// Handle most common string cases
+				if ( typeof ret === "string" ) {
+					return ret.replace( rreturn, "" );
+				}
+
+				// Handle cases where value is null/undef or number
+				return ret == null ? "" : ret;
+			}
+
+			return;
+		}
+
+		valueIsFunction = isFunction( value );
+
+		return this.each( function( i ) {
+			var val;
+
+			if ( this.nodeType !== 1 ) {
+				return;
+			}
+
+			if ( valueIsFunction ) {
+				val = value.call( this, i, jQuery( this ).val() );
+			} else {
+				val = value;
+			}
+
+			// Treat null/undefined as ""; convert numbers to string
+			if ( val == null ) {
+				val = "";
+
+			} else if ( typeof val === "number" ) {
+				val += "";
+
+			} else if ( Array.isArray( val ) ) {
+				val = jQuery.map( val, function( value ) {
+					return value == null ? "" : value + "";
+				} );
+			}
+
+			hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
+
+			// If set returns undefined, fall back to normal setting
+			if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) {
+				this.value = val;
+			}
+		} );
+	}
+} );
+
+jQuery.extend( {
+	valHooks: {
+		option: {
+			get: function( elem ) {
+
+				var val = jQuery.find.attr( elem, "value" );
+				return val != null ?
+					val :
+
+					// Support: IE <=10 - 11 only
+					// option.text throws exceptions (#14686, #14858)
+					// Strip and collapse whitespace
+					// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
+					stripAndCollapse( jQuery.text( elem ) );
+			}
+		},
+		select: {
+			get: function( elem ) {
+				var value, option, i,
+					options = elem.options,
+					index = elem.selectedIndex,
+					one = elem.type === "select-one",
+					values = one ? null : [],
+					max = one ? index + 1 : options.length;
+
+				if ( index < 0 ) {
+					i = max;
+
+				} else {
+					i = one ? index : 0;
+				}
+
+				// Loop through all the selected options
+				for ( ; i < max; i++ ) {
+					option = options[ i ];
+
+					// Support: IE <=9 only
+					// IE8-9 doesn't update selected after form reset (#2551)
+					if ( ( option.selected || i === index ) &&
+
+							// Don't return options that are disabled or in a disabled optgroup
+							!option.disabled &&
+							( !option.parentNode.disabled ||
+								!nodeName( option.parentNode, "optgroup" ) ) ) {
+
+						// Get the specific value for the option
+						value = jQuery( option ).val();
+
+						// We don't need an array for one selects
+						if ( one ) {
+							return value;
+						}
+
+						// Multi-Selects return an array
+						values.push( value );
+					}
+				}
+
+				return values;
+			},
+
+			set: function( elem, value ) {
+				var optionSet, option,
+					options = elem.options,
+					values = jQuery.makeArray( value ),
+					i = options.length;
+
+				while ( i-- ) {
+					option = options[ i ];
+
+					/* eslint-disable no-cond-assign */
+
+					if ( option.selected =
+						jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1
+					) {
+						optionSet = true;
+					}
+
+					/* eslint-enable no-cond-assign */
+				}
+
+				// Force browsers to behave consistently when non-matching value is set
+				if ( !optionSet ) {
+					elem.selectedIndex = -1;
+				}
+				return values;
+			}
+		}
+	}
+} );
+
+// Radios and checkboxes getter/setter
+jQuery.each( [ "radio", "checkbox" ], function() {
+	jQuery.valHooks[ this ] = {
+		set: function( elem, value ) {
+			if ( Array.isArray( value ) ) {
+				return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );
+			}
+		}
+	};
+	if ( !support.checkOn ) {
+		jQuery.valHooks[ this ].get = function( elem ) {
+			return elem.getAttribute( "value" ) === null ? "on" : elem.value;
+		};
+	}
+} );
+
+
+
+
+// Return jQuery for attributes-only inclusion
+
+
+support.focusin = "onfocusin" in window;
+
+
+var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
+	stopPropagationCallback = function( e ) {
+		e.stopPropagation();
+	};
+
+jQuery.extend( jQuery.event, {
+
+	trigger: function( event, data, elem, onlyHandlers ) {
+
+		var i, cur, tmp, bubbleType, ontype, handle, special, lastElement,
+			eventPath = [ elem || document ],
+			type = hasOwn.call( event, "type" ) ? event.type : event,
+			namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : [];
+
+		cur = lastElement = tmp = elem = elem || document;
+
+		// Don't do events on text and comment nodes
+		if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
+			return;
+		}
+
+		// focus/blur morphs to focusin/out; ensure we're not firing them right now
+		if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
+			return;
+		}
+
+		if ( type.indexOf( "." ) > -1 ) {
+
+			// Namespaced trigger; create a regexp to match event type in handle()
+			namespaces = type.split( "." );
+			type = namespaces.shift();
+			namespaces.sort();
+		}
+		ontype = type.indexOf( ":" ) < 0 && "on" + type;
+
+		// Caller can pass in a jQuery.Event object, Object, or just an event type string
+		event = event[ jQuery.expando ] ?
+			event :
+			new jQuery.Event( type, typeof event === "object" && event );
+
+		// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
+		event.isTrigger = onlyHandlers ? 2 : 3;
+		event.namespace = namespaces.join( "." );
+		event.rnamespace = event.namespace ?
+			new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) :
+			null;
+
+		// Clean up the event in case it is being reused
+		event.result = undefined;
+		if ( !event.target ) {
+			event.target = elem;
+		}
+
+		// Clone any incoming data and prepend the event, creating the handler arg list
+		data = data == null ?
+			[ event ] :
+			jQuery.makeArray( data, [ event ] );
+
+		// Allow special events to draw outside the lines
+		special = jQuery.event.special[ type ] || {};
+		if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {
+			return;
+		}
+
+		// Determine event propagation path in advance, per W3C events spec (#9951)
+		// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
+		if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {
+
+			bubbleType = special.delegateType || type;
+			if ( !rfocusMorph.test( bubbleType + type ) ) {
+				cur = cur.parentNode;
+			}
+			for ( ; cur; cur = cur.parentNode ) {
+				eventPath.push( cur );
+				tmp = cur;
+			}
+
+			// Only add window if we got to document (e.g., not plain obj or detached DOM)
+			if ( tmp === ( elem.ownerDocument || document ) ) {
+				eventPath.push( tmp.defaultView || tmp.parentWindow || window );
+			}
+		}
+
+		// Fire handlers on the event path
+		i = 0;
+		while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {
+			lastElement = cur;
+			event.type = i > 1 ?
+				bubbleType :
+				special.bindType || type;
+
+			// jQuery handler
+			handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] &&
+				dataPriv.get( cur, "handle" );
+			if ( handle ) {
+				handle.apply( cur, data );
+			}
+
+			// Native handler
+			handle = ontype && cur[ ontype ];
+			if ( handle && handle.apply && acceptData( cur ) ) {
+				event.result = handle.apply( cur, data );
+				if ( event.result === false ) {
+					event.preventDefault();
+				}
+			}
+		}
+		event.type = type;
+
+		// If nobody prevented the default action, do it now
+		if ( !onlyHandlers && !event.isDefaultPrevented() ) {
+
+			if ( ( !special._default ||
+				special._default.apply( eventPath.pop(), data ) === false ) &&
+				acceptData( elem ) ) {
+
+				// Call a native DOM method on the target with the same name as the event.
+				// Don't do default actions on window, that's where global variables be (#6170)
+				if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {
+
+					// Don't re-trigger an onFOO event when we call its FOO() method
+					tmp = elem[ ontype ];
+
+					if ( tmp ) {
+						elem[ ontype ] = null;
+					}
+
+					// Prevent re-triggering of the same event, since we already bubbled it above
+					jQuery.event.triggered = type;
+
+					if ( event.isPropagationStopped() ) {
+						lastElement.addEventListener( type, stopPropagationCallback );
+					}
+
+					elem[ type ]();
+
+					if ( event.isPropagationStopped() ) {
+						lastElement.removeEventListener( type, stopPropagationCallback );
+					}
+
+					jQuery.event.triggered = undefined;
+
+					if ( tmp ) {
+						elem[ ontype ] = tmp;
+					}
+				}
+			}
+		}
+
+		return event.result;
+	},
+
+	// Piggyback on a donor event to simulate a different one
+	// Used only for `focus(in | out)` events
+	simulate: function( type, elem, event ) {
+		var e = jQuery.extend(
+			new jQuery.Event(),
+			event,
+			{
+				type: type,
+				isSimulated: true
+			}
+		);
+
+		jQuery.event.trigger( e, null, elem );
+	}
+
+} );
+
+jQuery.fn.extend( {
+
+	trigger: function( type, data ) {
+		return this.each( function() {
+			jQuery.event.trigger( type, data, this );
+		} );
+	},
+	triggerHandler: function( type, data ) {
+		var elem = this[ 0 ];
+		if ( elem ) {
+			return jQuery.event.trigger( type, data, elem, true );
+		}
+	}
+} );
+
+
+// Support: Firefox <=44
+// Firefox doesn't have focus(in | out) events
+// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787
+//
+// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1
+// focus(in | out) events fire after focus & blur events,
+// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
+// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857
+if ( !support.focusin ) {
+	jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) {
+
+		// Attach a single capturing handler on the document while someone wants focusin/focusout
+		var handler = function( event ) {
+			jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );
+		};
+
+		jQuery.event.special[ fix ] = {
+			setup: function() {
+
+				// Handle: regular nodes (via `this.ownerDocument`), window
+				// (via `this.document`) & document (via `this`).
+				var doc = this.ownerDocument || this.document || this,
+					attaches = dataPriv.access( doc, fix );
+
+				if ( !attaches ) {
+					doc.addEventListener( orig, handler, true );
+				}
+				dataPriv.access( doc, fix, ( attaches || 0 ) + 1 );
+			},
+			teardown: function() {
+				var doc = this.ownerDocument || this.document || this,
+					attaches = dataPriv.access( doc, fix ) - 1;
+
+				if ( !attaches ) {
+					doc.removeEventListener( orig, handler, true );
+					dataPriv.remove( doc, fix );
+
+				} else {
+					dataPriv.access( doc, fix, attaches );
+				}
+			}
+		};
+	} );
+}
+var location = window.location;
+
+var nonce = { guid: Date.now() };
+
+var rquery = ( /\?/ );
+
+
+
+// Cross-browser xml parsing
+jQuery.parseXML = function( data ) {
+	var xml, parserErrorElem;
+	if ( !data || typeof data !== "string" ) {
+		return null;
+	}
+
+	// Support: IE 9 - 11 only
+	// IE throws on parseFromString with invalid input.
+	try {
+		xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
+	} catch ( e ) {}
+
+	parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ];
+	if ( !xml || parserErrorElem ) {
+		jQuery.error( "Invalid XML: " + (
+			parserErrorElem ?
+				jQuery.map( parserErrorElem.childNodes, function( el ) {
+					return el.textContent;
+				} ).join( "\n" ) :
+				data
+		) );
+	}
+	return xml;
+};
+
+
+var
+	rbracket = /\[\]$/,
+	rCRLF = /\r?\n/g,
+	rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
+	rsubmittable = /^(?:input|select|textarea|keygen)/i;
+
+function buildParams( prefix, obj, traditional, add ) {
+	var name;
+
+	if ( Array.isArray( obj ) ) {
+
+		// Serialize array item.
+		jQuery.each( obj, function( i, v ) {
+			if ( traditional || rbracket.test( prefix ) ) {
+
+				// Treat each array item as a scalar.
+				add( prefix, v );
+
+			} else {
+
+				// Item is non-scalar (array or object), encode its numeric index.
+				buildParams(
+					prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]",
+					v,
+					traditional,
+					add
+				);
+			}
+		} );
+
+	} else if ( !traditional && toType( obj ) === "object" ) {
+
+		// Serialize object item.
+		for ( name in obj ) {
+			buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
+		}
+
+	} else {
+
+		// Serialize scalar item.
+		add( prefix, obj );
+	}
+}
+
+// Serialize an array of form elements or a set of
+// key/values into a query string
+jQuery.param = function( a, traditional ) {
+	var prefix,
+		s = [],
+		add = function( key, valueOrFunction ) {
+
+			// If value is a function, invoke it and use its return value
+			var value = isFunction( valueOrFunction ) ?
+				valueOrFunction() :
+				valueOrFunction;
+
+			s[ s.length ] = encodeURIComponent( key ) + "=" +
+				encodeURIComponent( value == null ? "" : value );
+		};
+
+	if ( a == null ) {
+		return "";
+	}
+
+	// If an array was passed in, assume that it is an array of form elements.
+	if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
+
+		// Serialize the form elements
+		jQuery.each( a, function() {
+			add( this.name, this.value );
+		} );
+
+	} else {
+
+		// If traditional, encode the "old" way (the way 1.3.2 or older
+		// did it), otherwise encode params recursively.
+		for ( prefix in a ) {
+			buildParams( prefix, a[ prefix ], traditional, add );
+		}
+	}
+
+	// Return the resulting serialization
+	return s.join( "&" );
+};
+
+jQuery.fn.extend( {
+	serialize: function() {
+		return jQuery.param( this.serializeArray() );
+	},
+	serializeArray: function() {
+		return this.map( function() {
+
+			// Can add propHook for "elements" to filter or add form elements
+			var elements = jQuery.prop( this, "elements" );
+			return elements ? jQuery.makeArray( elements ) : this;
+		} ).filter( function() {
+			var type = this.type;
+
+			// Use .is( ":disabled" ) so that fieldset[disabled] works
+			return this.name && !jQuery( this ).is( ":disabled" ) &&
+				rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
+				( this.checked || !rcheckableType.test( type ) );
+		} ).map( function( _i, elem ) {
+			var val = jQuery( this ).val();
+
+			if ( val == null ) {
+				return null;
+			}
+
+			if ( Array.isArray( val ) ) {
+				return jQuery.map( val, function( val ) {
+					return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+				} );
+			}
+
+			return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
+		} ).get();
+	}
+} );
+
+
+var
+	r20 = /%20/g,
+	rhash = /#.*$/,
+	rantiCache = /([?&])_=[^&]*/,
+	rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
+
+	// #7653, #8125, #8152: local protocol detection
+	rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
+	rnoContent = /^(?:GET|HEAD)$/,
+	rprotocol = /^\/\//,
+
+	/* Prefilters
+	 * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
+	 * 2) These are called:
+	 *    - BEFORE asking for a transport
+	 *    - AFTER param serialization (s.data is a string if s.processData is true)
+	 * 3) key is the dataType
+	 * 4) the catchall symbol "*" can be used
+	 * 5) execution will start with transport dataType and THEN continue down to "*" if needed
+	 */
+	prefilters = {},
+
+	/* Transports bindings
+	 * 1) key is the dataType
+	 * 2) the catchall symbol "*" can be used
+	 * 3) selection will start with transport dataType and THEN go to "*" if needed
+	 */
+	transports = {},
+
+	// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
+	allTypes = "*/".concat( "*" ),
+
+	// Anchor tag for parsing the document origin
+	originAnchor = document.createElement( "a" );
+
+originAnchor.href = location.href;
+
+// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
+function addToPrefiltersOrTransports( structure ) {
+
+	// dataTypeExpression is optional and defaults to "*"
+	return function( dataTypeExpression, func ) {
+
+		if ( typeof dataTypeExpression !== "string" ) {
+			func = dataTypeExpression;
+			dataTypeExpression = "*";
+		}
+
+		var dataType,
+			i = 0,
+			dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];
+
+		if ( isFunction( func ) ) {
+
+			// For each dataType in the dataTypeExpression
+			while ( ( dataType = dataTypes[ i++ ] ) ) {
+
+				// Prepend if requested
+				if ( dataType[ 0 ] === "+" ) {
+					dataType = dataType.slice( 1 ) || "*";
+					( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );
+
+				// Otherwise append
+				} else {
+					( structure[ dataType ] = structure[ dataType ] || [] ).push( func );
+				}
+			}
+		}
+	};
+}
+
+// Base inspection function for prefilters and transports
+function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
+
+	var inspected = {},
+		seekingTransport = ( structure === transports );
+
+	function inspect( dataType ) {
+		var selected;
+		inspected[ dataType ] = true;
+		jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
+			var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
+			if ( typeof dataTypeOrTransport === "string" &&
+				!seekingTransport && !inspected[ dataTypeOrTransport ] ) {
+
+				options.dataTypes.unshift( dataTypeOrTransport );
+				inspect( dataTypeOrTransport );
+				return false;
+			} else if ( seekingTransport ) {
+				return !( selected = dataTypeOrTransport );
+			}
+		} );
+		return selected;
+	}
+
+	return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
+}
+
+// A special extend for ajax options
+// that takes "flat" options (not to be deep extended)
+// Fixes #9887
+function ajaxExtend( target, src ) {
+	var key, deep,
+		flatOptions = jQuery.ajaxSettings.flatOptions || {};
+
+	for ( key in src ) {
+		if ( src[ key ] !== undefined ) {
+			( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
+		}
+	}
+	if ( deep ) {
+		jQuery.extend( true, target, deep );
+	}
+
+	return target;
+}
+
+/* Handles responses to an ajax request:
+ * - finds the right dataType (mediates between content-type and expected dataType)
+ * - returns the corresponding response
+ */
+function ajaxHandleResponses( s, jqXHR, responses ) {
+
+	var ct, type, finalDataType, firstDataType,
+		contents = s.contents,
+		dataTypes = s.dataTypes;
+
+	// Remove auto dataType and get content-type in the process
+	while ( dataTypes[ 0 ] === "*" ) {
+		dataTypes.shift();
+		if ( ct === undefined ) {
+			ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" );
+		}
+	}
+
+	// Check if we're dealing with a known content-type
+	if ( ct ) {
+		for ( type in contents ) {
+			if ( contents[ type ] && contents[ type ].test( ct ) ) {
+				dataTypes.unshift( type );
+				break;
+			}
+		}
+	}
+
+	// Check to see if we have a response for the expected dataType
+	if ( dataTypes[ 0 ] in responses ) {
+		finalDataType = dataTypes[ 0 ];
+	} else {
+
+		// Try convertible dataTypes
+		for ( type in responses ) {
+			if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) {
+				finalDataType = type;
+				break;
+			}
+			if ( !firstDataType ) {
+				firstDataType = type;
+			}
+		}
+
+		// Or just use first one
+		finalDataType = finalDataType || firstDataType;
+	}
+
+	// If we found a dataType
+	// We add the dataType to the list if needed
+	// and return the corresponding response
+	if ( finalDataType ) {
+		if ( finalDataType !== dataTypes[ 0 ] ) {
+			dataTypes.unshift( finalDataType );
+		}
+		return responses[ finalDataType ];
+	}
+}
+
+/* Chain conversions given the request and the original response
+ * Also sets the responseXXX fields on the jqXHR instance
+ */
+function ajaxConvert( s, response, jqXHR, isSuccess ) {
+	var conv2, current, conv, tmp, prev,
+		converters = {},
+
+		// Work with a copy of dataTypes in case we need to modify it for conversion
+		dataTypes = s.dataTypes.slice();
+
+	// Create converters map with lowercased keys
+	if ( dataTypes[ 1 ] ) {
+		for ( conv in s.converters ) {
+			converters[ conv.toLowerCase() ] = s.converters[ conv ];
+		}
+	}
+
+	current = dataTypes.shift();
+
+	// Convert to each sequential dataType
+	while ( current ) {
+
+		if ( s.responseFields[ current ] ) {
+			jqXHR[ s.responseFields[ current ] ] = response;
+		}
+
+		// Apply the dataFilter if provided
+		if ( !prev && isSuccess && s.dataFilter ) {
+			response = s.dataFilter( response, s.dataType );
+		}
+
+		prev = current;
+		current = dataTypes.shift();
+
+		if ( current ) {
+
+			// There's only work to do if current dataType is non-auto
+			if ( current === "*" ) {
+
+				current = prev;
+
+			// Convert response if prev dataType is non-auto and differs from current
+			} else if ( prev !== "*" && prev !== current ) {
+
+				// Seek a direct converter
+				conv = converters[ prev + " " + current ] || converters[ "* " + current ];
+
+				// If none found, seek a pair
+				if ( !conv ) {
+					for ( conv2 in converters ) {
+
+						// If conv2 outputs current
+						tmp = conv2.split( " " );
+						if ( tmp[ 1 ] === current ) {
+
+							// If prev can be converted to accepted input
+							conv = converters[ prev + " " + tmp[ 0 ] ] ||
+								converters[ "* " + tmp[ 0 ] ];
+							if ( conv ) {
+
+								// Condense equivalence converters
+								if ( conv === true ) {
+									conv = converters[ conv2 ];
+
+								// Otherwise, insert the intermediate dataType
+								} else if ( converters[ conv2 ] !== true ) {
+									current = tmp[ 0 ];
+									dataTypes.unshift( tmp[ 1 ] );
+								}
+								break;
+							}
+						}
+					}
+				}
+
+				// Apply converter (if not an equivalence)
+				if ( conv !== true ) {
+
+					// Unless errors are allowed to bubble, catch and return them
+					if ( conv && s.throws ) {
+						response = conv( response );
+					} else {
+						try {
+							response = conv( response );
+						} catch ( e ) {
+							return {
+								state: "parsererror",
+								error: conv ? e : "No conversion from " + prev + " to " + current
+							};
+						}
+					}
+				}
+			}
+		}
+	}
+
+	return { state: "success", data: response };
+}
+
+jQuery.extend( {
+
+	// Counter for holding the number of active queries
+	active: 0,
+
+	// Last-Modified header cache for next request
+	lastModified: {},
+	etag: {},
+
+	ajaxSettings: {
+		url: location.href,
+		type: "GET",
+		isLocal: rlocalProtocol.test( location.protocol ),
+		global: true,
+		processData: true,
+		async: true,
+		contentType: "application/x-www-form-urlencoded; charset=UTF-8",
+
+		/*
+		timeout: 0,
+		data: null,
+		dataType: null,
+		username: null,
+		password: null,
+		cache: null,
+		throws: false,
+		traditional: false,
+		headers: {},
+		*/
+
+		accepts: {
+			"*": allTypes,
+			text: "text/plain",
+			html: "text/html",
+			xml: "application/xml, text/xml",
+			json: "application/json, text/javascript"
+		},
+
+		contents: {
+			xml: /\bxml\b/,
+			html: /\bhtml/,
+			json: /\bjson\b/
+		},
+
+		responseFields: {
+			xml: "responseXML",
+			text: "responseText",
+			json: "responseJSON"
+		},
+
+		// Data converters
+		// Keys separate source (or catchall "*") and destination types with a single space
+		converters: {
+
+			// Convert anything to text
+			"* text": String,
+
+			// Text to html (true = no transformation)
+			"text html": true,
+
+			// Evaluate text as a json expression
+			"text json": JSON.parse,
+
+			// Parse text as xml
+			"text xml": jQuery.parseXML
+		},
+
+		// For options that shouldn't be deep extended:
+		// you can add your own custom options here if
+		// and when you create one that shouldn't be
+		// deep extended (see ajaxExtend)
+		flatOptions: {
+			url: true,
+			context: true
+		}
+	},
+
+	// Creates a full fledged settings object into target
+	// with both ajaxSettings and settings fields.
+	// If target is omitted, writes into ajaxSettings.
+	ajaxSetup: function( target, settings ) {
+		return settings ?
+
+			// Building a settings object
+			ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
+
+			// Extending ajaxSettings
+			ajaxExtend( jQuery.ajaxSettings, target );
+	},
+
+	ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
+	ajaxTransport: addToPrefiltersOrTransports( transports ),
+
+	// Main method
+	ajax: function( url, options ) {
+
+		// If url is an object, simulate pre-1.5 signature
+		if ( typeof url === "object" ) {
+			options = url;
+			url = undefined;
+		}
+
+		// Force options to be an object
+		options = options || {};
+
+		var transport,
+
+			// URL without anti-cache param
+			cacheURL,
+
+			// Response headers
+			responseHeadersString,
+			responseHeaders,
+
+			// timeout handle
+			timeoutTimer,
+
+			// Url cleanup var
+			urlAnchor,
+
+			// Request state (becomes false upon send and true upon completion)
+			completed,
+
+			// To know if global events are to be dispatched
+			fireGlobals,
+
+			// Loop variable
+			i,
+
+			// uncached part of the url
+			uncached,
+
+			// Create the final options object
+			s = jQuery.ajaxSetup( {}, options ),
+
+			// Callbacks context
+			callbackContext = s.context || s,
+
+			// Context for global events is callbackContext if it is a DOM node or jQuery collection
+			globalEventContext = s.context &&
+				( callbackContext.nodeType || callbackContext.jquery ) ?
+				jQuery( callbackContext ) :
+				jQuery.event,
+
+			// Deferreds
+			deferred = jQuery.Deferred(),
+			completeDeferred = jQuery.Callbacks( "once memory" ),
+
+			// Status-dependent callbacks
+			statusCode = s.statusCode || {},
+
+			// Headers (they are sent all at once)
+			requestHeaders = {},
+			requestHeadersNames = {},
+
+			// Default abort message
+			strAbort = "canceled",
+
+			// Fake xhr
+			jqXHR = {
+				readyState: 0,
+
+				// Builds headers hashtable if needed
+				getResponseHeader: function( key ) {
+					var match;
+					if ( completed ) {
+						if ( !responseHeaders ) {
+							responseHeaders = {};
+							while ( ( match = rheaders.exec( responseHeadersString ) ) ) {
+								responseHeaders[ match[ 1 ].toLowerCase() + " " ] =
+									( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] )
+										.concat( match[ 2 ] );
+							}
+						}
+						match = responseHeaders[ key.toLowerCase() + " " ];
+					}
+					return match == null ? null : match.join( ", " );
+				},
+
+				// Raw string
+				getAllResponseHeaders: function() {
+					return completed ? responseHeadersString : null;
+				},
+
+				// Caches the header
+				setRequestHeader: function( name, value ) {
+					if ( completed == null ) {
+						name = requestHeadersNames[ name.toLowerCase() ] =
+							requestHeadersNames[ name.toLowerCase() ] || name;
+						requestHeaders[ name ] = value;
+					}
+					return this;
+				},
+
+				// Overrides response content-type header
+				overrideMimeType: function( type ) {
+					if ( completed == null ) {
+						s.mimeType = type;
+					}
+					return this;
+				},
+
+				// Status-dependent callbacks
+				statusCode: function( map ) {
+					var code;
+					if ( map ) {
+						if ( completed ) {
+
+							// Execute the appropriate callbacks
+							jqXHR.always( map[ jqXHR.status ] );
+						} else {
+
+							// Lazy-add the new callbacks in a way that preserves old ones
+							for ( code in map ) {
+								statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
+							}
+						}
+					}
+					return this;
+				},
+
+				// Cancel the request
+				abort: function( statusText ) {
+					var finalText = statusText || strAbort;
+					if ( transport ) {
+						transport.abort( finalText );
+					}
+					done( 0, finalText );
+					return this;
+				}
+			};
+
+		// Attach deferreds
+		deferred.promise( jqXHR );
+
+		// Add protocol if not provided (prefilters might expect it)
+		// Handle falsy url in the settings object (#10093: consistency with old signature)
+		// We also use the url parameter if available
+		s.url = ( ( url || s.url || location.href ) + "" )
+			.replace( rprotocol, location.protocol + "//" );
+
+		// Alias method option to type as per ticket #12004
+		s.type = options.method || options.type || s.method || s.type;
+
+		// Extract dataTypes list
+		s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ];
+
+		// A cross-domain request is in order when the origin doesn't match the current origin.
+		if ( s.crossDomain == null ) {
+			urlAnchor = document.createElement( "a" );
+
+			// Support: IE <=8 - 11, Edge 12 - 15
+			// IE throws exception on accessing the href property if url is malformed,
+			// e.g. http://example.com:80x/
+			try {
+				urlAnchor.href = s.url;
+
+				// Support: IE <=8 - 11 only
+				// Anchor's host property isn't correctly set when s.url is relative
+				urlAnchor.href = urlAnchor.href;
+				s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !==
+					urlAnchor.protocol + "//" + urlAnchor.host;
+			} catch ( e ) {
+
+				// If there is an error parsing the URL, assume it is crossDomain,
+				// it can be rejected by the transport if it is invalid
+				s.crossDomain = true;
+			}
+		}
+
+		// Convert data if not already a string
+		if ( s.data && s.processData && typeof s.data !== "string" ) {
+			s.data = jQuery.param( s.data, s.traditional );
+		}
+
+		// Apply prefilters
+		inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
+
+		// If request was aborted inside a prefilter, stop there
+		if ( completed ) {
+			return jqXHR;
+		}
+
+		// We can fire global events as of now if asked to
+		// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
+		fireGlobals = jQuery.event && s.global;
+
+		// Watch for a new set of requests
+		if ( fireGlobals && jQuery.active++ === 0 ) {
+			jQuery.event.trigger( "ajaxStart" );
+		}
+
+		// Uppercase the type
+		s.type = s.type.toUpperCase();
+
+		// Determine if request has content
+		s.hasContent = !rnoContent.test( s.type );
+
+		// Save the URL in case we're toying with the If-Modified-Since
+		// and/or If-None-Match header later on
+		// Remove hash to simplify url manipulation
+		cacheURL = s.url.replace( rhash, "" );
+
+		// More options handling for requests with no content
+		if ( !s.hasContent ) {
+
+			// Remember the hash so we can put it back
+			uncached = s.url.slice( cacheURL.length );
+
+			// If data is available and should be processed, append data to url
+			if ( s.data && ( s.processData || typeof s.data === "string" ) ) {
+				cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data;
+
+				// #9682: remove data so that it's not used in an eventual retry
+				delete s.data;
+			}
+
+			// Add or update anti-cache param if needed
+			if ( s.cache === false ) {
+				cacheURL = cacheURL.replace( rantiCache, "$1" );
+				uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) +
+					uncached;
+			}
+
+			// Put hash and anti-cache on the URL that will be requested (gh-1732)
+			s.url = cacheURL + uncached;
+
+		// Change '%20' to '+' if this is encoded form body content (gh-2658)
+		} else if ( s.data && s.processData &&
+			( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) {
+			s.data = s.data.replace( r20, "+" );
+		}
+
+		// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+		if ( s.ifModified ) {
+			if ( jQuery.lastModified[ cacheURL ] ) {
+				jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
+			}
+			if ( jQuery.etag[ cacheURL ] ) {
+				jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
+			}
+		}
+
+		// Set the correct header, if data is being sent
+		if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
+			jqXHR.setRequestHeader( "Content-Type", s.contentType );
+		}
+
+		// Set the Accepts header for the server, depending on the dataType
+		jqXHR.setRequestHeader(
+			"Accept",
+			s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?
+				s.accepts[ s.dataTypes[ 0 ] ] +
+					( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
+				s.accepts[ "*" ]
+		);
+
+		// Check for headers option
+		for ( i in s.headers ) {
+			jqXHR.setRequestHeader( i, s.headers[ i ] );
+		}
+
+		// Allow custom headers/mimetypes and early abort
+		if ( s.beforeSend &&
+			( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {
+
+			// Abort if not done already and return
+			return jqXHR.abort();
+		}
+
+		// Aborting is no longer a cancellation
+		strAbort = "abort";
+
+		// Install callbacks on deferreds
+		completeDeferred.add( s.complete );
+		jqXHR.done( s.success );
+		jqXHR.fail( s.error );
+
+		// Get transport
+		transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
+
+		// If no transport, we auto-abort
+		if ( !transport ) {
+			done( -1, "No Transport" );
+		} else {
+			jqXHR.readyState = 1;
+
+			// Send global event
+			if ( fireGlobals ) {
+				globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
+			}
+
+			// If request was aborted inside ajaxSend, stop there
+			if ( completed ) {
+				return jqXHR;
+			}
+
+			// Timeout
+			if ( s.async && s.timeout > 0 ) {
+				timeoutTimer = window.setTimeout( function() {
+					jqXHR.abort( "timeout" );
+				}, s.timeout );
+			}
+
+			try {
+				completed = false;
+				transport.send( requestHeaders, done );
+			} catch ( e ) {
+
+				// Rethrow post-completion exceptions
+				if ( completed ) {
+					throw e;
+				}
+
+				// Propagate others as results
+				done( -1, e );
+			}
+		}
+
+		// Callback for when everything is done
+		function done( status, nativeStatusText, responses, headers ) {
+			var isSuccess, success, error, response, modified,
+				statusText = nativeStatusText;
+
+			// Ignore repeat invocations
+			if ( completed ) {
+				return;
+			}
+
+			completed = true;
+
+			// Clear timeout if it exists
+			if ( timeoutTimer ) {
+				window.clearTimeout( timeoutTimer );
+			}
+
+			// Dereference transport for early garbage collection
+			// (no matter how long the jqXHR object will be used)
+			transport = undefined;
+
+			// Cache response headers
+			responseHeadersString = headers || "";
+
+			// Set readyState
+			jqXHR.readyState = status > 0 ? 4 : 0;
+
+			// Determine if successful
+			isSuccess = status >= 200 && status < 300 || status === 304;
+
+			// Get response data
+			if ( responses ) {
+				response = ajaxHandleResponses( s, jqXHR, responses );
+			}
+
+			// Use a noop converter for missing script but not if jsonp
+			if ( !isSuccess &&
+				jQuery.inArray( "script", s.dataTypes ) > -1 &&
+				jQuery.inArray( "json", s.dataTypes ) < 0 ) {
+				s.converters[ "text script" ] = function() {};
+			}
+
+			// Convert no matter what (that way responseXXX fields are always set)
+			response = ajaxConvert( s, response, jqXHR, isSuccess );
+
+			// If successful, handle type chaining
+			if ( isSuccess ) {
+
+				// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
+				if ( s.ifModified ) {
+					modified = jqXHR.getResponseHeader( "Last-Modified" );
+					if ( modified ) {
+						jQuery.lastModified[ cacheURL ] = modified;
+					}
+					modified = jqXHR.getResponseHeader( "etag" );
+					if ( modified ) {
+						jQuery.etag[ cacheURL ] = modified;
+					}
+				}
+
+				// if no content
+				if ( status === 204 || s.type === "HEAD" ) {
+					statusText = "nocontent";
+
+				// if not modified
+				} else if ( status === 304 ) {
+					statusText = "notmodified";
+
+				// If we have data, let's convert it
+				} else {
+					statusText = response.state;
+					success = response.data;
+					error = response.error;
+					isSuccess = !error;
+				}
+			} else {
+
+				// Extract error from statusText and normalize for non-aborts
+				error = statusText;
+				if ( status || !statusText ) {
+					statusText = "error";
+					if ( status < 0 ) {
+						status = 0;
+					}
+				}
+			}
+
+			// Set data for the fake xhr object
+			jqXHR.status = status;
+			jqXHR.statusText = ( nativeStatusText || statusText ) + "";
+
+			// Success/Error
+			if ( isSuccess ) {
+				deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
+			} else {
+				deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
+			}
+
+			// Status-dependent callbacks
+			jqXHR.statusCode( statusCode );
+			statusCode = undefined;
+
+			if ( fireGlobals ) {
+				globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
+					[ jqXHR, s, isSuccess ? success : error ] );
+			}
+
+			// Complete
+			completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
+
+			if ( fireGlobals ) {
+				globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
+
+				// Handle the global AJAX counter
+				if ( !( --jQuery.active ) ) {
+					jQuery.event.trigger( "ajaxStop" );
+				}
+			}
+		}
+
+		return jqXHR;
+	},
+
+	getJSON: function( url, data, callback ) {
+		return jQuery.get( url, data, callback, "json" );
+	},
+
+	getScript: function( url, callback ) {
+		return jQuery.get( url, undefined, callback, "script" );
+	}
+} );
+
+jQuery.each( [ "get", "post" ], function( _i, method ) {
+	jQuery[ method ] = function( url, data, callback, type ) {
+
+		// Shift arguments if data argument was omitted
+		if ( isFunction( data ) ) {
+			type = type || callback;
+			callback = data;
+			data = undefined;
+		}
+
+		// The url can be an options object (which then must have .url)
+		return jQuery.ajax( jQuery.extend( {
+			url: url,
+			type: method,
+			dataType: type,
+			data: data,
+			success: callback
+		}, jQuery.isPlainObject( url ) && url ) );
+	};
+} );
+
+jQuery.ajaxPrefilter( function( s ) {
+	var i;
+	for ( i in s.headers ) {
+		if ( i.toLowerCase() === "content-type" ) {
+			s.contentType = s.headers[ i ] || "";
+		}
+	}
+} );
+
+
+jQuery._evalUrl = function( url, options, doc ) {
+	return jQuery.ajax( {
+		url: url,
+
+		// Make this explicit, since user can override this through ajaxSetup (#11264)
+		type: "GET",
+		dataType: "script",
+		cache: true,
+		async: false,
+		global: false,
+
+		// Only evaluate the response if it is successful (gh-4126)
+		// dataFilter is not invoked for failure responses, so using it instead
+		// of the default converter is kludgy but it works.
+		converters: {
+			"text script": function() {}
+		},
+		dataFilter: function( response ) {
+			jQuery.globalEval( response, options, doc );
+		}
+	} );
+};
+
+
+jQuery.fn.extend( {
+	wrapAll: function( html ) {
+		var wrap;
+
+		if ( this[ 0 ] ) {
+			if ( isFunction( html ) ) {
+				html = html.call( this[ 0 ] );
+			}
+
+			// The elements to wrap the target around
+			wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );
+
+			if ( this[ 0 ].parentNode ) {
+				wrap.insertBefore( this[ 0 ] );
+			}
+
+			wrap.map( function() {
+				var elem = this;
+
+				while ( elem.firstElementChild ) {
+					elem = elem.firstElementChild;
+				}
+
+				return elem;
+			} ).append( this );
+		}
+
+		return this;
+	},
+
+	wrapInner: function( html ) {
+		if ( isFunction( html ) ) {
+			return this.each( function( i ) {
+				jQuery( this ).wrapInner( html.call( this, i ) );
+			} );
+		}
+
+		return this.each( function() {
+			var self = jQuery( this ),
+				contents = self.contents();
+
+			if ( contents.length ) {
+				contents.wrapAll( html );
+
+			} else {
+				self.append( html );
+			}
+		} );
+	},
+
+	wrap: function( html ) {
+		var htmlIsFunction = isFunction( html );
+
+		return this.each( function( i ) {
+			jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );
+		} );
+	},
+
+	unwrap: function( selector ) {
+		this.parent( selector ).not( "body" ).each( function() {
+			jQuery( this ).replaceWith( this.childNodes );
+		} );
+		return this;
+	}
+} );
+
+
+jQuery.expr.pseudos.hidden = function( elem ) {
+	return !jQuery.expr.pseudos.visible( elem );
+};
+jQuery.expr.pseudos.visible = function( elem ) {
+	return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );
+};
+
+
+
+
+jQuery.ajaxSettings.xhr = function() {
+	try {
+		return new window.XMLHttpRequest();
+	} catch ( e ) {}
+};
+
+var xhrSuccessStatus = {
+
+		// File protocol always yields status code 0, assume 200
+		0: 200,
+
+		// Support: IE <=9 only
+		// #1450: sometimes IE returns 1223 when it should be 204
+		1223: 204
+	},
+	xhrSupported = jQuery.ajaxSettings.xhr();
+
+support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
+support.ajax = xhrSupported = !!xhrSupported;
+
+jQuery.ajaxTransport( function( options ) {
+	var callback, errorCallback;
+
+	// Cross domain only allowed if supported through XMLHttpRequest
+	if ( support.cors || xhrSupported && !options.crossDomain ) {
+		return {
+			send: function( headers, complete ) {
+				var i,
+					xhr = options.xhr();
+
+				xhr.open(
+					options.type,
+					options.url,
+					options.async,
+					options.username,
+					options.password
+				);
+
+				// Apply custom fields if provided
+				if ( options.xhrFields ) {
+					for ( i in options.xhrFields ) {
+						xhr[ i ] = options.xhrFields[ i ];
+					}
+				}
+
+				// Override mime type if needed
+				if ( options.mimeType && xhr.overrideMimeType ) {
+					xhr.overrideMimeType( options.mimeType );
+				}
+
+				// X-Requested-With header
+				// For cross-domain requests, seeing as conditions for a preflight are
+				// akin to a jigsaw puzzle, we simply never set it to be sure.
+				// (it can always be set on a per-request basis or even using ajaxSetup)
+				// For same-domain requests, won't change header if already provided.
+				if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) {
+					headers[ "X-Requested-With" ] = "XMLHttpRequest";
+				}
+
+				// Set headers
+				for ( i in headers ) {
+					xhr.setRequestHeader( i, headers[ i ] );
+				}
+
+				// Callback
+				callback = function( type ) {
+					return function() {
+						if ( callback ) {
+							callback = errorCallback = xhr.onload =
+								xhr.onerror = xhr.onabort = xhr.ontimeout =
+									xhr.onreadystatechange = null;
+
+							if ( type === "abort" ) {
+								xhr.abort();
+							} else if ( type === "error" ) {
+
+								// Support: IE <=9 only
+								// On a manual native abort, IE9 throws
+								// errors on any property access that is not readyState
+								if ( typeof xhr.status !== "number" ) {
+									complete( 0, "error" );
+								} else {
+									complete(
+
+										// File: protocol always yields status 0; see #8605, #14207
+										xhr.status,
+										xhr.statusText
+									);
+								}
+							} else {
+								complete(
+									xhrSuccessStatus[ xhr.status ] || xhr.status,
+									xhr.statusText,
+
+									// Support: IE <=9 only
+									// IE9 has no XHR2 but throws on binary (trac-11426)
+									// For XHR2 non-text, let the caller handle it (gh-2498)
+									( xhr.responseType || "text" ) !== "text"  ||
+									typeof xhr.responseText !== "string" ?
+										{ binary: xhr.response } :
+										{ text: xhr.responseText },
+									xhr.getAllResponseHeaders()
+								);
+							}
+						}
+					};
+				};
+
+				// Listen to events
+				xhr.onload = callback();
+				errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" );
+
+				// Support: IE 9 only
+				// Use onreadystatechange to replace onabort
+				// to handle uncaught aborts
+				if ( xhr.onabort !== undefined ) {
+					xhr.onabort = errorCallback;
+				} else {
+					xhr.onreadystatechange = function() {
+
+						// Check readyState before timeout as it changes
+						if ( xhr.readyState === 4 ) {
+
+							// Allow onerror to be called first,
+							// but that will not handle a native abort
+							// Also, save errorCallback to a variable
+							// as xhr.onerror cannot be accessed
+							window.setTimeout( function() {
+								if ( callback ) {
+									errorCallback();
+								}
+							} );
+						}
+					};
+				}
+
+				// Create the abort callback
+				callback = callback( "abort" );
+
+				try {
+
+					// Do send the request (this may raise an exception)
+					xhr.send( options.hasContent && options.data || null );
+				} catch ( e ) {
+
+					// #14683: Only rethrow if this hasn't been notified as an error yet
+					if ( callback ) {
+						throw e;
+					}
+				}
+			},
+
+			abort: function() {
+				if ( callback ) {
+					callback();
+				}
+			}
+		};
+	}
+} );
+
+
+
+
+// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
+jQuery.ajaxPrefilter( function( s ) {
+	if ( s.crossDomain ) {
+		s.contents.script = false;
+	}
+} );
+
+// Install script dataType
+jQuery.ajaxSetup( {
+	accepts: {
+		script: "text/javascript, application/javascript, " +
+			"application/ecmascript, application/x-ecmascript"
+	},
+	contents: {
+		script: /\b(?:java|ecma)script\b/
+	},
+	converters: {
+		"text script": function( text ) {
+			jQuery.globalEval( text );
+			return text;
+		}
+	}
+} );
+
+// Handle cache's special case and crossDomain
+jQuery.ajaxPrefilter( "script", function( s ) {
+	if ( s.cache === undefined ) {
+		s.cache = false;
+	}
+	if ( s.crossDomain ) {
+		s.type = "GET";
+	}
+} );
+
+// Bind script tag hack transport
+jQuery.ajaxTransport( "script", function( s ) {
+
+	// This transport only deals with cross domain or forced-by-attrs requests
+	if ( s.crossDomain || s.scriptAttrs ) {
+		var script, callback;
+		return {
+			send: function( _, complete ) {
+				script = jQuery( "<script>" )
+					.attr( s.scriptAttrs || {} )
+					.prop( { charset: s.scriptCharset, src: s.url } )
+					.on( "load error", callback = function( evt ) {
+						script.remove();
+						callback = null;
+						if ( evt ) {
+							complete( evt.type === "error" ? 404 : 200, evt.type );
+						}
+					} );
+
+				// Use native DOM manipulation to avoid our domManip AJAX trickery
+				document.head.appendChild( script[ 0 ] );
+			},
+			abort: function() {
+				if ( callback ) {
+					callback();
+				}
+			}
+		};
+	}
+} );
+
+
+
+
+var oldCallbacks = [],
+	rjsonp = /(=)\?(?=&|$)|\?\?/;
+
+// Default jsonp settings
+jQuery.ajaxSetup( {
+	jsonp: "callback",
+	jsonpCallback: function() {
+		var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce.guid++ ) );
+		this[ callback ] = true;
+		return callback;
+	}
+} );
+
+// Detect, normalize options and install callbacks for jsonp requests
+jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
+
+	var callbackName, overwritten, responseContainer,
+		jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
+			"url" :
+			typeof s.data === "string" &&
+				( s.contentType || "" )
+					.indexOf( "application/x-www-form-urlencoded" ) === 0 &&
+				rjsonp.test( s.data ) && "data"
+		);
+
+	// Handle iff the expected data type is "jsonp" or we have a parameter to set
+	if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
+
+		// Get callback name, remembering preexisting value associated with it
+		callbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?
+			s.jsonpCallback() :
+			s.jsonpCallback;
+
+		// Insert callback into url or form data
+		if ( jsonProp ) {
+			s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
+		} else if ( s.jsonp !== false ) {
+			s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
+		}
+
+		// Use data converter to retrieve json after script execution
+		s.converters[ "script json" ] = function() {
+			if ( !responseContainer ) {
+				jQuery.error( callbackName + " was not called" );
+			}
+			return responseContainer[ 0 ];
+		};
+
+		// Force json dataType
+		s.dataTypes[ 0 ] = "json";
+
+		// Install callback
+		overwritten = window[ callbackName ];
+		window[ callbackName ] = function() {
+			responseContainer = arguments;
+		};
+
+		// Clean-up function (fires after converters)
+		jqXHR.always( function() {
+
+			// If previous value didn't exist - remove it
+			if ( overwritten === undefined ) {
+				jQuery( window ).removeProp( callbackName );
+
+			// Otherwise restore preexisting value
+			} else {
+				window[ callbackName ] = overwritten;
+			}
+
+			// Save back as free
+			if ( s[ callbackName ] ) {
+
+				// Make sure that re-using the options doesn't screw things around
+				s.jsonpCallback = originalSettings.jsonpCallback;
+
+				// Save the callback name for future use
+				oldCallbacks.push( callbackName );
+			}
+
+			// Call if it was a function and we have a response
+			if ( responseContainer && isFunction( overwritten ) ) {
+				overwritten( responseContainer[ 0 ] );
+			}
+
+			responseContainer = overwritten = undefined;
+		} );
+
+		// Delegate to script
+		return "script";
+	}
+} );
+
+
+
+
+// Support: Safari 8 only
+// In Safari 8 documents created via document.implementation.createHTMLDocument
+// collapse sibling forms: the second one becomes a child of the first one.
+// Because of that, this security measure has to be disabled in Safari 8.
+// https://bugs.webkit.org/show_bug.cgi?id=137337
+support.createHTMLDocument = ( function() {
+	var body = document.implementation.createHTMLDocument( "" ).body;
+	body.innerHTML = "<form></form><form></form>";
+	return body.childNodes.length === 2;
+} )();
+
+
+// Argument "data" should be string of html
+// context (optional): If specified, the fragment will be created in this context,
+// defaults to document
+// keepScripts (optional): If true, will include scripts passed in the html string
+jQuery.parseHTML = function( data, context, keepScripts ) {
+	if ( typeof data !== "string" ) {
+		return [];
+	}
+	if ( typeof context === "boolean" ) {
+		keepScripts = context;
+		context = false;
+	}
+
+	var base, parsed, scripts;
+
+	if ( !context ) {
+
+		// Stop scripts or inline event handlers from being executed immediately
+		// by using document.implementation
+		if ( support.createHTMLDocument ) {
+			context = document.implementation.createHTMLDocument( "" );
+
+			// Set the base href for the created document
+			// so any parsed elements with URLs
+			// are based on the document's URL (gh-2965)
+			base = context.createElement( "base" );
+			base.href = document.location.href;
+			context.head.appendChild( base );
+		} else {
+			context = document;
+		}
+	}
+
+	parsed = rsingleTag.exec( data );
+	scripts = !keepScripts && [];
+
+	// Single tag
+	if ( parsed ) {
+		return [ context.createElement( parsed[ 1 ] ) ];
+	}
+
+	parsed = buildFragment( [ data ], context, scripts );
+
+	if ( scripts && scripts.length ) {
+		jQuery( scripts ).remove();
+	}
+
+	return jQuery.merge( [], parsed.childNodes );
+};
+
+
+/**
+ * Load a url into a page
+ */
+jQuery.fn.load = function( url, params, callback ) {
+	var selector, type, response,
+		self = this,
+		off = url.indexOf( " " );
+
+	if ( off > -1 ) {
+		selector = stripAndCollapse( url.slice( off ) );
+		url = url.slice( 0, off );
+	}
+
+	// If it's a function
+	if ( isFunction( params ) ) {
+
+		// We assume that it's the callback
+		callback = params;
+		params = undefined;
+
+	// Otherwise, build a param string
+	} else if ( params && typeof params === "object" ) {
+		type = "POST";
+	}
+
+	// If we have elements to modify, make the request
+	if ( self.length > 0 ) {
+		jQuery.ajax( {
+			url: url,
+
+			// If "type" variable is undefined, then "GET" method will be used.
+			// Make value of this field explicit since
+			// user can override it through ajaxSetup method
+			type: type || "GET",
+			dataType: "html",
+			data: params
+		} ).done( function( responseText ) {
+
+			// Save response for use in complete callback
+			response = arguments;
+
+			self.html( selector ?
+
+				// If a selector was specified, locate the right elements in a dummy div
+				// Exclude scripts to avoid IE 'Permission Denied' errors
+				jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :
+
+				// Otherwise use the full result
+				responseText );
+
+		// If the request succeeds, this function gets "data", "status", "jqXHR"
+		// but they are ignored because response was set above.
+		// If it fails, this function gets "jqXHR", "status", "error"
+		} ).always( callback && function( jqXHR, status ) {
+			self.each( function() {
+				callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );
+			} );
+		} );
+	}
+
+	return this;
+};
+
+
+
+
+jQuery.expr.pseudos.animated = function( elem ) {
+	return jQuery.grep( jQuery.timers, function( fn ) {
+		return elem === fn.elem;
+	} ).length;
+};
+
+
+
+
+jQuery.offset = {
+	setOffset: function( elem, options, i ) {
+		var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
+			position = jQuery.css( elem, "position" ),
+			curElem = jQuery( elem ),
+			props = {};
+
+		// Set position first, in-case top/left are set even on static elem
+		if ( position === "static" ) {
+			elem.style.position = "relative";
+		}
+
+		curOffset = curElem.offset();
+		curCSSTop = jQuery.css( elem, "top" );
+		curCSSLeft = jQuery.css( elem, "left" );
+		calculatePosition = ( position === "absolute" || position === "fixed" ) &&
+			( curCSSTop + curCSSLeft ).indexOf( "auto" ) > -1;
+
+		// Need to be able to calculate position if either
+		// top or left is auto and position is either absolute or fixed
+		if ( calculatePosition ) {
+			curPosition = curElem.position();
+			curTop = curPosition.top;
+			curLeft = curPosition.left;
+
+		} else {
+			curTop = parseFloat( curCSSTop ) || 0;
+			curLeft = parseFloat( curCSSLeft ) || 0;
+		}
+
+		if ( isFunction( options ) ) {
+
+			// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)
+			options = options.call( elem, i, jQuery.extend( {}, curOffset ) );
+		}
+
+		if ( options.top != null ) {
+			props.top = ( options.top - curOffset.top ) + curTop;
+		}
+		if ( options.left != null ) {
+			props.left = ( options.left - curOffset.left ) + curLeft;
+		}
+
+		if ( "using" in options ) {
+			options.using.call( elem, props );
+
+		} else {
+			curElem.css( props );
+		}
+	}
+};
+
+jQuery.fn.extend( {
+
+	// offset() relates an element's border box to the document origin
+	offset: function( options ) {
+
+		// Preserve chaining for setter
+		if ( arguments.length ) {
+			return options === undefined ?
+				this :
+				this.each( function( i ) {
+					jQuery.offset.setOffset( this, options, i );
+				} );
+		}
+
+		var rect, win,
+			elem = this[ 0 ];
+
+		if ( !elem ) {
+			return;
+		}
+
+		// Return zeros for disconnected and hidden (display: none) elements (gh-2310)
+		// Support: IE <=11 only
+		// Running getBoundingClientRect on a
+		// disconnected node in IE throws an error
+		if ( !elem.getClientRects().length ) {
+			return { top: 0, left: 0 };
+		}
+
+		// Get document-relative position by adding viewport scroll to viewport-relative gBCR
+		rect = elem.getBoundingClientRect();
+		win = elem.ownerDocument.defaultView;
+		return {
+			top: rect.top + win.pageYOffset,
+			left: rect.left + win.pageXOffset
+		};
+	},
+
+	// position() relates an element's margin box to its offset parent's padding box
+	// This corresponds to the behavior of CSS absolute positioning
+	position: function() {
+		if ( !this[ 0 ] ) {
+			return;
+		}
+
+		var offsetParent, offset, doc,
+			elem = this[ 0 ],
+			parentOffset = { top: 0, left: 0 };
+
+		// position:fixed elements are offset from the viewport, which itself always has zero offset
+		if ( jQuery.css( elem, "position" ) === "fixed" ) {
+
+			// Assume position:fixed implies availability of getBoundingClientRect
+			offset = elem.getBoundingClientRect();
+
+		} else {
+			offset = this.offset();
+
+			// Account for the *real* offset parent, which can be the document or its root element
+			// when a statically positioned element is identified
+			doc = elem.ownerDocument;
+			offsetParent = elem.offsetParent || doc.documentElement;
+			while ( offsetParent &&
+				( offsetParent === doc.body || offsetParent === doc.documentElement ) &&
+				jQuery.css( offsetParent, "position" ) === "static" ) {
+
+				offsetParent = offsetParent.parentNode;
+			}
+			if ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {
+
+				// Incorporate borders into its offset, since they are outside its content origin
+				parentOffset = jQuery( offsetParent ).offset();
+				parentOffset.top += jQuery.css( offsetParent, "borderTopWidth", true );
+				parentOffset.left += jQuery.css( offsetParent, "borderLeftWidth", true );
+			}
+		}
+
+		// Subtract parent offsets and element margins
+		return {
+			top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ),
+			left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true )
+		};
+	},
+
+	// This method will return documentElement in the following cases:
+	// 1) For the element inside the iframe without offsetParent, this method will return
+	//    documentElement of the parent window
+	// 2) For the hidden or detached element
+	// 3) For body or html element, i.e. in case of the html node - it will return itself
+	//
+	// but those exceptions were never presented as a real life use-cases
+	// and might be considered as more preferable results.
+	//
+	// This logic, however, is not guaranteed and can change at any point in the future
+	offsetParent: function() {
+		return this.map( function() {
+			var offsetParent = this.offsetParent;
+
+			while ( offsetParent && jQuery.css( offsetParent, "position" ) === "static" ) {
+				offsetParent = offsetParent.offsetParent;
+			}
+
+			return offsetParent || documentElement;
+		} );
+	}
+} );
+
+// Create scrollLeft and scrollTop methods
+jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) {
+	var top = "pageYOffset" === prop;
+
+	jQuery.fn[ method ] = function( val ) {
+		return access( this, function( elem, method, val ) {
+
+			// Coalesce documents and windows
+			var win;
+			if ( isWindow( elem ) ) {
+				win = elem;
+			} else if ( elem.nodeType === 9 ) {
+				win = elem.defaultView;
+			}
+
+			if ( val === undefined ) {
+				return win ? win[ prop ] : elem[ method ];
+			}
+
+			if ( win ) {
+				win.scrollTo(
+					!top ? val : win.pageXOffset,
+					top ? val : win.pageYOffset
+				);
+
+			} else {
+				elem[ method ] = val;
+			}
+		}, method, val, arguments.length );
+	};
+} );
+
+// Support: Safari <=7 - 9.1, Chrome <=37 - 49
+// Add the top/left cssHooks using jQuery.fn.position
+// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
+// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347
+// getComputedStyle returns percent when specified for top/left/bottom/right;
+// rather than make the css module depend on the offset module, just check for it here
+jQuery.each( [ "top", "left" ], function( _i, prop ) {
+	jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
+		function( elem, computed ) {
+			if ( computed ) {
+				computed = curCSS( elem, prop );
+
+				// If curCSS returns percentage, fallback to offset
+				return rnumnonpx.test( computed ) ?
+					jQuery( elem ).position()[ prop ] + "px" :
+					computed;
+			}
+		}
+	);
+} );
+
+
+// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
+jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
+	jQuery.each( {
+		padding: "inner" + name,
+		content: type,
+		"": "outer" + name
+	}, function( defaultExtra, funcName ) {
+
+		// Margin is only for outerHeight, outerWidth
+		jQuery.fn[ funcName ] = function( margin, value ) {
+			var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
+				extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
+
+			return access( this, function( elem, type, value ) {
+				var doc;
+
+				if ( isWindow( elem ) ) {
+
+					// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)
+					return funcName.indexOf( "outer" ) === 0 ?
+						elem[ "inner" + name ] :
+						elem.document.documentElement[ "client" + name ];
+				}
+
+				// Get document width or height
+				if ( elem.nodeType === 9 ) {
+					doc = elem.documentElement;
+
+					// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],
+					// whichever is greatest
+					return Math.max(
+						elem.body[ "scroll" + name ], doc[ "scroll" + name ],
+						elem.body[ "offset" + name ], doc[ "offset" + name ],
+						doc[ "client" + name ]
+					);
+				}
+
+				return value === undefined ?
+
+					// Get width or height on the element, requesting but not forcing parseFloat
+					jQuery.css( elem, type, extra ) :
+
+					// Set width or height on the element
+					jQuery.style( elem, type, value, extra );
+			}, type, chainable ? margin : undefined, chainable );
+		};
+	} );
+} );
+
+
+jQuery.each( [
+	"ajaxStart",
+	"ajaxStop",
+	"ajaxComplete",
+	"ajaxError",
+	"ajaxSuccess",
+	"ajaxSend"
+], function( _i, type ) {
+	jQuery.fn[ type ] = function( fn ) {
+		return this.on( type, fn );
+	};
+} );
+
+
+
+
+jQuery.fn.extend( {
+
+	bind: function( types, data, fn ) {
+		return this.on( types, null, data, fn );
+	},
+	unbind: function( types, fn ) {
+		return this.off( types, null, fn );
+	},
+
+	delegate: function( selector, types, data, fn ) {
+		return this.on( types, selector, data, fn );
+	},
+	undelegate: function( selector, types, fn ) {
+
+		// ( namespace ) or ( selector, types [, fn] )
+		return arguments.length === 1 ?
+			this.off( selector, "**" ) :
+			this.off( types, selector || "**", fn );
+	},
+
+	hover: function( fnOver, fnOut ) {
+		return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
+	}
+} );
+
+jQuery.each(
+	( "blur focus focusin focusout resize scroll click dblclick " +
+	"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
+	"change select submit keydown keypress keyup contextmenu" ).split( " " ),
+	function( _i, name ) {
+
+		// Handle event binding
+		jQuery.fn[ name ] = function( data, fn ) {
+			return arguments.length > 0 ?
+				this.on( name, null, data, fn ) :
+				this.trigger( name );
+		};
+	}
+);
+
+
+
+
+// Support: Android <=4.0 only
+// Make sure we trim BOM and NBSP
+var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
+
+// Bind a function to a context, optionally partially applying any
+// arguments.
+// jQuery.proxy is deprecated to promote standards (specifically Function#bind)
+// However, it is not slated for removal any time soon
+jQuery.proxy = function( fn, context ) {
+	var tmp, args, proxy;
+
+	if ( typeof context === "string" ) {
+		tmp = fn[ context ];
+		context = fn;
+		fn = tmp;
+	}
+
+	// Quick check to determine if target is callable, in the spec
+	// this throws a TypeError, but we will just return undefined.
+	if ( !isFunction( fn ) ) {
+		return undefined;
+	}
+
+	// Simulated bind
+	args = slice.call( arguments, 2 );
+	proxy = function() {
+		return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
+	};
+
+	// Set the guid of unique handler to the same of original handler, so it can be removed
+	proxy.guid = fn.guid = fn.guid || jQuery.guid++;
+
+	return proxy;
+};
+
+jQuery.holdReady = function( hold ) {
+	if ( hold ) {
+		jQuery.readyWait++;
+	} else {
+		jQuery.ready( true );
+	}
+};
+jQuery.isArray = Array.isArray;
+jQuery.parseJSON = JSON.parse;
+jQuery.nodeName = nodeName;
+jQuery.isFunction = isFunction;
+jQuery.isWindow = isWindow;
+jQuery.camelCase = camelCase;
+jQuery.type = toType;
+
+jQuery.now = Date.now;
+
+jQuery.isNumeric = function( obj ) {
+
+	// As of jQuery 3.0, isNumeric is limited to
+	// strings and numbers (primitives or objects)
+	// that can be coerced to finite numbers (gh-2662)
+	var type = jQuery.type( obj );
+	return ( type === "number" || type === "string" ) &&
+
+		// parseFloat NaNs numeric-cast false positives ("")
+		// ...but misinterprets leading-number strings, particularly hex literals ("0x...")
+		// subtraction forces infinities to NaN
+		!isNaN( obj - parseFloat( obj ) );
+};
+
+jQuery.trim = function( text ) {
+	return text == null ?
+		"" :
+		( text + "" ).replace( rtrim, "" );
+};
+
+
+
+// Register as a named AMD module, since jQuery can be concatenated with other
+// files that may use define, but not via a proper concatenation script that
+// understands anonymous AMD modules. A named AMD is safest and most robust
+// way to register. Lowercase jquery is used because AMD module names are
+// derived from file names, and jQuery is normally delivered in a lowercase
+// file name. Do this after creating the global so that if an AMD module wants
+// to call noConflict to hide this version of jQuery, it will work.
+
+// Note that for maximum portability, libraries that are not jQuery should
+// declare themselves as anonymous modules, and avoid setting a global if an
+// AMD loader is present. jQuery is a special case. For more information, see
+// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
+
+if ( typeof define === "function" && define.amd ) {
+	define( "jquery", [], function() {
+		return jQuery;
+	} );
+}
+
+
+
+
+var
+
+	// Map over jQuery in case of overwrite
+	_jQuery = window.jQuery,
+
+	// Map over the $ in case of overwrite
+	_$ = window.$;
+
+jQuery.noConflict = function( deep ) {
+	if ( window.$ === jQuery ) {
+		window.$ = _$;
+	}
+
+	if ( deep && window.jQuery === jQuery ) {
+		window.jQuery = _jQuery;
+	}
+
+	return jQuery;
+};
+
+// Expose jQuery and $ identifiers, even in AMD
+// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
+// and CommonJS for browser emulators (#13566)
+if ( typeof noGlobal === "undefined" ) {
+	window.jQuery = window.$ = jQuery;
+}
+
+
+
+
+return jQuery;
+} );

+ 38 - 36
app/public/js/notify.js

@@ -1,46 +1,48 @@
 var ntf_msg_list = new Array();
 var ntf_max_msg_line = 2;
-function ntf_init(lines = 5) {
-  ntf_max_msg_line = lines;
-  var divNotify = document.createElement("div");
-  var typ = document.createAttribute("class");
+function ntf_init(lines = 5, style = "dialog") {
+	ntf_max_msg_line = lines;
+	var divNotify = document.createElement("div");
+	var typ = document.createAttribute("class");
 
-  typ.nodeValue = "pcd_notify";
-  divNotify.attributes.setNamedItem(typ);
+	typ.nodeValue = "pcd_notify";
+	divNotify.attributes.setNamedItem(typ);
 
-  var typId = document.createAttribute("id");
-  typId.nodeValue = "id_pcd_notify";
-  divNotify.attributes.setNamedItem(typId);
+	var typId = document.createAttribute("id");
+	typId.nodeValue = "id_pcd_notify";
+	divNotify.attributes.setNamedItem(typId);
 
-  var body = document.getElementsByTagName("body")[0];
-  body.appendChild(divNotify);
-  divNotify.style.display = "none";
+	var body = document.getElementsByTagName("body")[0];
+	body.appendChild(divNotify);
+	divNotify.style.display = "none";
 }
-var time_out_func
+var time_out_func;
 function ntf_show(msg, timeout = 8) {
-
-  if (ntf_msg_list.length < ntf_max_msg_line) {
-    ntf_msg_list.push(msg);
-  } else {
-    for (let i = 1; i < ntf_msg_list.length; i++) {
-      ntf_msg_list[i - 1] = ntf_msg_list[i];
-    }
-    ntf_msg_list[ntf_msg_list.length - 1] = msg;
-  }
-  let divNotify = document.getElementById("id_pcd_notify");
-  if (divNotify) {
-    let strHtml = "";
-    for (const strMsg of ntf_msg_list) {
-      strHtml += "<div class='ntf_msg_div'>";
-      strHtml += strMsg;
-      strHtml += "</div>";
-    }
-    strHtml += "<button onclick='ntf_hide()' style='margin-left: 70%;white-space: nowrap;'>" + gLocal.gui.I_know + "</button>"
-    divNotify.innerHTML = strHtml;
-    divNotify.style.display = "block";
-    setTimeout("ntf_hide()", timeout * 1000);
-  }
+	if (ntf_msg_list.length < ntf_max_msg_line) {
+		ntf_msg_list.push(msg);
+	} else {
+		for (let i = 1; i < ntf_msg_list.length; i++) {
+			ntf_msg_list[i - 1] = ntf_msg_list[i];
+		}
+		ntf_msg_list[ntf_msg_list.length - 1] = msg;
+	}
+	let divNotify = document.getElementById("id_pcd_notify");
+	if (divNotify) {
+		let strHtml = "";
+		for (const strMsg of ntf_msg_list) {
+			strHtml += "<div class='ntf_msg_div'>";
+			strHtml += strMsg;
+			strHtml += "</div>";
+		}
+		strHtml +=
+			"<button onclick='ntf_hide()' style='margin-left: 70%;white-space: nowrap;'>" +
+			gLocal.gui.I_know +
+			"</button>";
+		divNotify.innerHTML = strHtml;
+		divNotify.style.display = "block";
+		setTimeout("ntf_hide()", timeout * 1000);
+	}
 }
 function ntf_hide() {
-  document.getElementById("id_pcd_notify").style.display = "none";
+	document.getElementById("id_pcd_notify").style.display = "none";
 }

+ 33 - 2
app/reader/get_para.php

@@ -1,18 +1,23 @@
 <?php
 require_once "../public/_pdo.php";
 require_once "../path.php";
+require_once "../redis/function.php";
+require_once "../db/pali_sent.php";
+require_once "../db/pali_sim_sent.php";
+
+$mRedis = redis_connect();
 
 define("_MAX_CHAPTER_LEN_", 20000);
 
 if (isset($_GET["book"])) {
     $_book = $_GET["book"];
 } else {
-    exit;
+    $_book = 0;
 }
 if (isset($_GET["para"])) {
     $_para = $_GET["para"];
 } else {
-    exit;
+    $_para = 0;
 }
 
 if (isset($_GET["begin"])) {
@@ -32,6 +37,29 @@ if ($_view == "sent") {
     echo json_encode($output, JSON_UNESCAPED_UNICODE);
     exit;
 }
+if ($_view == "sim") {
+	$mPaliSent = new PaliSentence($mRedis);
+	$mPaliSim = new PaliSimSentence($mRedis);
+	if(!isset($_GET["id"])){
+		$id = $mPaliSent->getId($_book,$_para,$_begin,$_end);
+	}
+	else{
+		$id = $_GET["id"];
+	}
+	{
+		$sent_list[] = $mPaliSent->getInfo($id);
+		$arrList = $mPaliSim->getSimById($id);
+		if($arrList){
+			foreach ($arrList as $key => $value) {
+				# code...
+				$sent_list[] = $mPaliSent->getInfo($value["id"]);
+			}
+			$output["sentences"] = $sent_list;
+			echo json_encode($output, JSON_UNESCAPED_UNICODE);
+		}
+	}
+	exit;
+}
 
 $paraBegin=0;
 $paraEnd=0;
@@ -60,6 +88,9 @@ if ($FetchParInfo) {
             $paraEnd = $_para;
             # code...
             break;
+		case "sim":
+
+			break;
         default:
             # code...
             $paraBegin = $_para;

+ 3 - 0
app/reader/index.php

@@ -23,6 +23,9 @@ require_once "../pcdl/html_head.php";
 	if(isset($_GET["view"])){
 		echo "_reader_view='".$_GET["view"]."';";
 	}
+	if(isset($_GET["id"])){
+		echo "_reader_sent_id='".$_GET["id"]."';";
+	}
 	if(isset($_GET["book"])){
 		echo "_reader_book='".$_GET["book"]."';";
 	}

+ 102 - 94
app/reader/reader.js

@@ -1,4 +1,5 @@
 var _reader_view = "sent";
+var _reader_sent_id = -1;
 var _reader_book = -1;
 var _reader_para = -1;
 var _reader_begin = -1;
@@ -7,6 +8,7 @@ var _channal = "";
 var _lang = "";
 var _author = "";
 var _display = "para";
+var _direction = "row";
 var arrMyTerm = new Array();
 var _sent_data = new Array();
 var link_str = "";
@@ -14,119 +16,121 @@ var link_str = "";
 palicanon_load_term();
 
 function reader_load() {
-	$.get(
-		"../reader/get_para.php",
-		{
+	let param;
+	if (_reader_view == "sim") {
+		param = { view: "sim", id: _reader_sent_id };
+	} else {
+		param = {
 			view: _reader_view,
 			book: _reader_book,
 			para: _reader_para,
 			begin: _reader_begin,
 			end: _reader_end,
-		},
-		function (data) {
-			_sent_data = JSON.parse(data);
-			let tpl = "";
-			let currPara = 0;
-			$("#contents").html("");
-			if (_sent_data.sentences.length > 0) {
-				let firstPara = _sent_data.sentences[0].paragraph;
-				for (const iterator of _sent_data.sentences) {
-					if (currPara != iterator.paragraph) {
-						currPara = parseInt(iterator.paragraph);
-						if (currPara == parseInt(_reader_para) + 1 && parseInt(_reader_para) != firstPara) {
-							tpl += "</div>\n\n";
-						}
-						tpl += "\n\n";
-						tpl += "```para\n";
-						tpl += currPara + "\n";
-						tpl += "```\n\n";
-						if (currPara == _reader_para && parseInt(_reader_para) != firstPara) {
-							tpl += "<div id='para_focus' class='focus'>\n\n";
-						}
+		};
+	}
+	$.get("../reader/get_para.php", param, function (data) {
+		_sent_data = JSON.parse(data);
+		let tpl = "";
+		let currPara = 0;
+		$("#contents").html("");
+		if (_sent_data.sentences.length > 0) {
+			let firstPara = _sent_data.sentences[0].paragraph;
+			for (const iterator of _sent_data.sentences) {
+				if (currPara != iterator.paragraph && _reader_view != "sim") {
+					currPara = parseInt(iterator.paragraph);
+					if (currPara == parseInt(_reader_para) + 1 && parseInt(_reader_para) != firstPara) {
+						tpl += "</div>\n\n";
+					}
+					tpl += "\n\n";
+					tpl += "```para\n";
+					tpl += currPara + "\n";
+					tpl += "```\n\n";
+					if (currPara == _reader_para && parseInt(_reader_para) != firstPara) {
+						tpl += "<div id='para_focus' class='focus'>\n\n";
 					}
-					tpl +=
-						"{{" +
-						iterator.book +
-						"-" +
-						iterator.paragraph +
-						"-" +
-						iterator.begin +
-						"-" +
-						iterator.end +
-						"}}\n";
 				}
-				link_str = tpl;
-				$("#contents").html(note_init(tpl));
-				note_refresh_new(function () {
-					document.querySelector("#para_focus").scrollIntoView({
-						block: "end",
-						behavior: "smooth",
-					});
-					//document.querySelector("#para_focus").scrollTo(0, 200);
+				tpl +=
+					"{{" +
+					iterator.book +
+					"-" +
+					iterator.paragraph +
+					"-" +
+					iterator.begin +
+					"-" +
+					iterator.end +
+					"}}\n";
+			}
+			link_str = tpl;
+			$("#contents").html(note_init(tpl));
+			note_refresh_new(function () {
+				document.querySelector("#para_focus").scrollIntoView({
+					block: "end",
+					behavior: "smooth",
 				});
-				reader_draw_para_menu();
+				//document.querySelector("#para_focus").scrollTo(0, 200);
+			});
+			reader_draw_para_menu();
 
-				//右侧目录
-				let tocHtml = "";
-				let tocNextMenu = "";
-				if (_sent_data.toc.length > 0) {
-					let firstLevel = _sent_data.toc[0].level;
-					for (let index = 1; index < _sent_data.toc.length; index++) {
-						const element = _sent_data.toc[index];
-						tocHtml +=
-							"<div class='reader_right_toc level_" +
+			//右侧目录
+			let tocHtml = "";
+			let tocNextMenu = "";
+			if (_sent_data.toc.length > 0) {
+				let firstLevel = _sent_data.toc[0].level;
+				for (let index = 1; index < _sent_data.toc.length; index++) {
+					const element = _sent_data.toc[index];
+					tocHtml +=
+						"<div class='reader_right_toc level_" +
+						(element.level - firstLevel) +
+						"'><a href='#para_" +
+						element.paragraph +
+						"'>" +
+						element.toc +
+						"</a></div>";
+					tocNextMenu +=
+						"<a href='../reader/?view=chapter&book=" +
+						_reader_book +
+						"&para=" +
+						element.paragraph +
+						"'>" +
+						element.toc +
+						"</a>";
+				}
+				$("#toc_content").html(tocHtml);
+				if (tocNextMenu === "") {
+					$("#para_path_next_level").hide();
+				} else {
+					$("#toc_next_menu").html(tocNextMenu);
+					$("#para_path_next_level").show();
+				}
+			}
+		}
+
+		if (_sent_data.head == 1 || _sent_data.sentences.length == 0) {
+			//渲染目录
+			tpl = "<h2>Table of Content</h2>";
+			if (_sent_data.toc.length > 0) {
+				let firstLevel = _sent_data.toc[0].level;
+				for (let index = 1; index < _sent_data.toc.length; index++) {
+					const element = _sent_data.toc[index];
+					if (element.level < 8) {
+						tpl +=
+							"<div class='reader_main_toc level_" +
 							(element.level - firstLevel) +
-							"'><a href='#para_" +
-							element.paragraph +
-							"'>" +
-							element.toc +
-							"</a></div>";
-						tocNextMenu +=
-							"<a href='../reader/?view=chapter&book=" +
+							"'><a href='../reader/?view=chapter&book=" +
 							_reader_book +
 							"&para=" +
 							element.paragraph +
+							"&display=" +
+							_display +
 							"'>" +
 							element.toc +
-							"</a>";
-					}
-					$("#toc_content").html(tocHtml);
-					if (tocNextMenu === "") {
-						$("#para_path_next_level").hide();
-					} else {
-						$("#toc_next_menu").html(tocNextMenu);
-						$("#para_path_next_level").show();
-					}
-				}
-			}
-
-			if (_sent_data.head == 1 || _sent_data.sentences.length == 0) {
-				//渲染目录
-				tpl = "<h2>Table of Content</h2>";
-				if (_sent_data.toc.length > 0) {
-					let firstLevel = _sent_data.toc[0].level;
-					for (let index = 1; index < _sent_data.toc.length; index++) {
-						const element = _sent_data.toc[index];
-						if (element.level < 8) {
-							tpl +=
-								"<div class='reader_main_toc level_" +
-								(element.level - firstLevel) +
-								"'><a href='../reader/?view=chapter&book=" +
-								_reader_book +
-								"&para=" +
-								element.paragraph +
-								"&display=" +
-								_display +
-								"'>" +
-								element.toc +
-								"</a></div>";
-						}
+							"</a></div>";
 					}
 				}
-				$("#contents_toc").html(tpl);
 			}
+			$("#contents_toc").html(tpl);
 		}
-	);
+	});
 
 	reader_get_path();
 }
@@ -277,6 +281,10 @@ function edit_wbw(book, para) {
 
 function setMode(mode = "read") {
 	let url = "../reader/?view=" + _reader_view;
+
+	if (_reader_sent_id != -1) {
+		url += "&id=" + _reader_sent_id;
+	}
 	if (_reader_book != -1) {
 		url += "&book=" + _reader_book;
 	}

+ 29 - 5
app/search/paliword.js

@@ -2,7 +2,9 @@ var dict_pre_searching = false;
 var dict_pre_search_curr_word = "";
 var dict_search_xml_http = null;
 var _key_word = "";
+var _page = 0;
 var _filter_word = new Array();
+var _bookId = new Array();
 
 $(document).ready(function () {
 	paliword_search(_key_word);
@@ -16,6 +18,7 @@ function paliword_search(keyword, words = new Array(), book = new Array()) {
 			key: keyword,
 			words: JSON.stringify(words),
 			book: JSON.stringify(book),
+			page: _page,
 		},
 		function (data) {
 			let result = JSON.parse(data);
@@ -77,7 +80,12 @@ function render_word_result(worddata) {
 	let keyword = worddata.keyword;
 
 	html += "<div class='title'>";
-	html += "<a href='../reader/?view=chapter&book=" + worddata.book + "&para=" + worddata.para + "' target='_blank'>";
+	html +=
+		"<a href='../reader/?view=chapter&book=" +
+		worddata.book +
+		"&para=" +
+		worddata.para +
+		"&direction=col' target='_blank'>";
 	html += worddata.title + "</a></div>";
 
 	let newStr = highlightWords(worddata.palitext, keyword);
@@ -126,15 +134,18 @@ function word_search_filter() {
 	});
 	filter_cancel();
 	_filter_word = wordlist;
+	_page = 0;
 	paliword_search(_key_word, wordlist);
 }
 
 function word_select(wordid) {
 	_filter_word = [wordid];
+	_page = 0;
 	paliword_search(_key_word, [wordid]);
 }
 
 function case_filter_all() {
+	_page = 0;
 	paliword_search(_key_word);
 }
 
@@ -176,15 +187,23 @@ function render_nav(result) {
 	if (result["record_count"] > 20) {
 		let pages = parseInt(result["record_count"] / 20);
 		for (let index = 0; index < pages; index++) {
-			html += "<li >" + (index + 1) + "</li> ";
+			html += "<li ";
+			if (index == _page) {
+				html += "class='curr'";
+			}
+			html += " onclick=\"gotoPage('" + index + "')\"";
+			html += ">" + (index + 1) + "</li> ";
 		}
 	}
-	html += "<li >上一页</li> ";
-	html += "<li >下一页</li> ";
+	//html += "<li >上一页</li> ";
+	//html += "<li >下一页</li> ";
 	html += "</ul>";
 	return html;
 }
-
+function gotoPage(index) {
+	_page = index;
+	paliword_search(_key_word, _filter_word, _bookId);
+}
 function onWordFilterStart() {
 	$(".case_item").children().find(".filter").show();
 	$("#case_tools").children(".filter").show();
@@ -208,9 +227,13 @@ function search_book_filter(objid, type) {
 
 //选择需要过滤的书
 function book_select(bookid) {
+	_page = 0;
+
 	if (bookid == 0) {
+		_bookId = new Array();
 		paliword_search(_key_word, _filter_word);
 	} else {
+		_bookId = [bookid];
 		paliword_search(_key_word, _filter_word, [bookid]);
 	}
 }
@@ -222,6 +245,7 @@ function book_search_filter() {
 		}
 	});
 	book_filter_cancel();
+	_page = 0;
 	paliword_search(_key_word, _filter_word, booklist);
 }
 function onBookFilterStart() {

+ 3 - 1
app/search/paliword.php

@@ -133,7 +133,9 @@ include "../pcdl/html_head.php";
 		if(isset($_GET["key"])){
 			echo " _key_word = '{$_GET["key"]}';";
 		}
-		
+		if(isset($_GET["page"])){
+			echo " _page = '{$_GET["page"]}';";
+		}		
 		?>
 	</script>
 

+ 2 - 2
app/search/paliword_sc.php

@@ -209,8 +209,8 @@ $query = "SELECT count(*) from (SELECT book FROM word WHERE \"wordindex\" in $st
 $result["record_count"] = PDO_FetchOne($query);
 $result["time"][] = array("event" => "查询记录数", "time" => microtime(true) - $_start);
 
-$query = "SELECT book,paragraph, wordindex, sum(weight) as wt FROM word WHERE \"wordindex\" in $strQueryWordId $strQueryBookId GROUP BY book,paragraph ORDER BY wt DESC LIMIT 0,20";
-$Fetch = PDO_FetchAll($query);
+$query = "SELECT book,paragraph, wordindex, sum(weight) as wt FROM word WHERE \"wordindex\" in $strQueryWordId $strQueryBookId GROUP BY book,paragraph ORDER BY wt DESC LIMIT ?,?";
+$Fetch = PDO_FetchAll($query,array($_page * $_pagesize, $_pagesize));
 $result["time"][] = array("event" => "查询结束", "time" => microtime(true) - $_start);
 $out_data = array();
 

+ 2 - 1
app/search/search.css

@@ -27,7 +27,8 @@ highlight {
 	display: inline-block;
 	cursor: pointer;
 }
-.page_nav li:hover {
+.page_nav li:hover,
+.page_nav .curr {
 	background-color: var(--link-hover-color);
 	color: var(--btn-hover-color);
 }

BIN=BIN
app/studio/css/.DS_Store


+ 0 - 1
app/studio/css/style.css

@@ -1733,7 +1733,6 @@ span:active {
 .file_list_block {
 	background-color: var(--tool-bg-color);
 	color: var(--tool-color);
-	width: 65em;
 	max-width: 95%;
 	border-radius: 6px;
 	text-align: left;

+ 11 - 3
app/studio/editor.php

@@ -22,6 +22,9 @@ else{$currDevice="computer";}
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+	<title id="file_title"><?php echo $_local->gui->pcd_studio; ?></title>	
+
 	<link rel="shortcut icon" href="../favicon.icon" />
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
@@ -39,7 +42,9 @@ else{$currDevice="computer";}
 	<link type="text/css" rel="stylesheet" href="../guide/guide.css"/>
 	<script src="../public/js/marked.js"></script>
 
-<title id="file_title"><?php echo $_local->gui->pcd_studio; ?></title>
+	<script src="../public/js/jquery-3.6.js"></script>
+	<script src="../public/js/jquery-ui-1.12.1/jquery-ui.js"></script>
+
 	<script language="javascript" src="config.js"></script>
 	<script language="javascript" src="../pali_sent/pali_sent_list.js"></script>
 	<script language="javascript" src="../usent/usent_ref.js"></script>
@@ -57,14 +62,17 @@ else{$currDevice="computer";}
 	
 	<script language="javascript" src="sent/sent.js"></script>
 	<script language="javascript" src="../public/js/notify.js"></script>
+
+	<script language="javascript" src="../widget/notify.js"></script>
+	<link type="text/css" rel="stylesheet" href="../widget/notify.css"/>
+
 	<script language="javascript" src="../public/js/comm.js"></script>
 	<script language="javascript" src="../public/js/localforage.min.js"></script>
 	<script language="javascript" src="../public/script/my.js"></script>
 	<script src="../public/js/mermaid.min.js"></script>
 	
 	<script language="javascript" src="module/editor/language/default.js"></script>	
-	<script src="./js/jquery-3.3.1.min.js"></script>
-	<script src="../public/js/jquery-ui-1.12.1/jquery-ui.js"></script>
+
 
 	<script src="../term/term.js"></script>
 	<script src="../term/note.js"></script>

+ 1 - 1
app/studio/project_load_db.php

@@ -51,7 +51,7 @@ if (count($Fetch) > 0) {
                     echo "<id>{$block->block_id}</id>";
                     echo "</info>\n";
                     echo "<data>\n";
-                    $query = "select * from wbw where block_id='" . $block->block_id . "'";
+                    $query = "SELECT * FROM wbw WHERE block_id='" . $block->block_id . "' order by wid ASC";
                     $stmt = $dh_wbw->query($query);
                     $wbw_data = $stmt->fetchAll(PDO::FETCH_ASSOC);
                     foreach ($wbw_data as $word) {

+ 22 - 4
app/sync/sync.js

@@ -1,10 +1,12 @@
 var sync_db_list = [
+	{ script: "sync/table_channel.php", count: -1, finished: 0, enable: false },
 	{ script: "sync/table_article.php", count: -1, finished: 0, enable: false },
+	{ script: "sync/table_article_collect.php", count: -1, finished: 0, enable: false },
 	{ script: "sync/table_term_channel.php", count: -1, finished: 0, enable: false },
 	{ script: "sync/table_term_editor.php", count: -1, finished: 0, enable: false },
-	{ script: "sync/table_article_collect.php", count: -1, finished: 0, enable: false },
-	{ script: "sync/table_channel.php", count: -1, finished: 0, enable: false },
 	{ script: "sync/table_sentence.php", count: -1, finished: 0, enable: true },
+	{ script: "sync/table_wbw_block.php", count: -1, finished: 0, enable: false },
+	{ script: "sync/table_wbw.php", count: -1, finished: 0, enable: false },
 ];
 var isStop = false;
 var sync_curr_do_db = 0;
@@ -16,13 +18,13 @@ function sync_pull() {
 	sync_curr_do_db = 0;
 	isStop = false;
 	$("#sync_log").html("working"); //
-	sync_do_db($("#sync_server_address").val(), $("#sync_local_address").val(), 1);
+	sync_do_db($("#sync_server_address").val(), $("#sync_local_address").val(), 0);
 }
 function sync_push() {
 	isStop = false;
 	sync_curr_do_db = 0;
 	$("#sync_log").html("working"); //
-	sync_do_db($("#sync_local_address").val(), $("#sync_server_address").val(), 1);
+	sync_do_db($("#sync_local_address").val(), $("#sync_server_address").val(), 0);
 }
 function sync_stop() {
 	isStop = true;
@@ -30,6 +32,7 @@ function sync_stop() {
 var retryCount = 0;
 function sync_do_db(src, dest, time = 1) {
 	let size = 500;
+	//找到下一个有效的数据库
 	while (sync_db_list[sync_curr_do_db].enable == false) {
 		sync_curr_do_db++;
 		if (sync_curr_do_db >= sync_db_list.length) {
@@ -37,7 +40,16 @@ function sync_do_db(src, dest, time = 1) {
 			return;
 		}
 	}
+	if (time == 0) {
+		time = localStorage.getItem(sync_db_list[sync_curr_do_db].script + src);
+		if (time) {
+			time = parseInt(time);
+		} else {
+			time = 1;
+		}
+	}
 	if (sync_db_list[sync_curr_do_db].count < 0) {
+		//获取全部数据条数,用来绘制进度条
 		$.get(
 			"sync.php",
 			{
@@ -77,10 +89,14 @@ function sync_do_db(src, dest, time = 1) {
 					console.error(error + " data:" + data);
 					return;
 				}
+				let myDate = new Date();
+				myDate.setTime(time);
+
 				$("#sync_log").html(
 					$("#sync_log").html() +
 						"<div><h2>" +
 						sync_db_list[sync_curr_do_db].script +
+						myDate +
 						"</h2>" +
 						result.message +
 						"</div>"
@@ -90,12 +106,14 @@ function sync_do_db(src, dest, time = 1) {
 					return;
 				}
 				if (result.error > 0 && retryCount < 2) {
+					//失败重试
 					retryCount++;
 					sync_do_db(src, dest, time);
 					return;
 				}
 				retryCount = 0;
 				sync_db_list[sync_curr_do_db].finished += parseInt(result.src_row);
+				localStorage.setItem(sync_db_list[sync_curr_do_db].script + src, result.time);
 				if (result.src_row >= size) {
 					//没弄完,接着弄
 					sync_do_db(src, dest, result.time);

+ 1 - 1
app/sync/table_article.php

@@ -37,7 +37,7 @@ $input = (object) [
 		'status',
 		'modify_time',
 		'receive_time'
-    ]    
+    ]
 ];
 
 $result = do_sync($input);

+ 10 - 1
app/sync/table_article_collect.php

@@ -59,6 +59,10 @@ if (isset($_GET["op"])) {
 }
 
 switch ($op) {
+	case "sync_count":
+		$result = do_sync($input);
+		echo json_encode($result, JSON_UNESCAPED_UNICODE);
+		break;
 	case "sync":
 		$result = do_sync($input);
 		echo json_encode($result, JSON_UNESCAPED_UNICODE);
@@ -106,7 +110,12 @@ switch ($op) {
 			$output["message"]=$collection->getError();
 		}
 		echo json_encode($result, JSON_UNESCAPED_UNICODE);
-	break;	
+	break;
+	default:
+		$output["error"]=1;
+		$output["message"]="错误的操作码";	
+		echo json_encode($result, JSON_UNESCAPED_UNICODE);
+	break;
 }
 
 

+ 1 - 1
app/sync/table_channel.php

@@ -30,7 +30,7 @@ $input = (object) [
 		'status',
 		'lang',
 		'modify_time'
-    ]    
+    ]
 ];
 
 $result = do_sync($input);

+ 0 - 1
app/sync/table_term_editor.php

@@ -1,5 +1,4 @@
 <?php
-//header('Content-type: application/json; charset=utf8');
 
 require_once "../path.php";
 require_once "../sync/function.php";

+ 0 - 49
app/sync/table_user_wbw_block.php

@@ -1,49 +0,0 @@
-<?php
-//header('Content-type: application/json; charset=utf8');
-
-require_once "../path.php";
-require_once "../sync/function.php";
-
-$input = (object) [
-    "database" =>  _FILE_DB_TERM_,
-    "table" =>  "term",
-    "uuid" =>  "guid",
-    "sync_id" =>  ["pali","tag","channal"],
-    "modify_time" =>  "modify_time",
-    "receive_time" =>  "receive_time",
-	"where"=>" and ( (channal IS NOT NULL) or channal <> '') ",
-    "insert" => [
-        'guid',
-		'word',
-		'word_en',
-		'meaning',
-		'other_meaning',
-		'note',
-		'tag',
-		'create_time',
-		'owner',
-		'hit',
-		'language',
-		'receive_time',
-		'modify_time'
-    ],
-    "update" =>  [
-        "word",
-        "word_en",
-        "meaning",
-        "other_meaning",
-        "note",
-        "tag",
-        "owner",
-        "hit",
-        "language",
-        "create_time",
-		"modify_time",
-        "receive_time" 
-    ]    
-];
-
-$result = do_sync($input);
-echo json_encode($result, JSON_UNESCAPED_UNICODE);
-
-?>

+ 43 - 0
app/sync/table_wbw.php

@@ -0,0 +1,43 @@
+<?php
+
+require_once "../path.php";
+require_once "../sync/function.php";
+
+$input = (object) [
+    "database" =>  _FILE_DB_USER_WBW_,
+    "table" =>  "wbw",
+    "uuid" =>  "id",
+    "sync_id" =>  ["block_id","wid"],
+    "modify_time" =>  "modify_time",
+    "receive_time" =>  "receive_time",
+	"where"=>"  ",
+    "insert" => [
+        'id',
+		'block_id',
+		'book',
+		'paragraph',
+		'wid',
+		'word',
+		'data',
+		'status',
+		'owner',
+		'receive_time',
+		'modify_time'
+    ],
+    "update" =>  [
+        'id',
+		'book',
+		'paragraph',
+		'word',
+		'data',
+		'status',
+		'owner',
+		'receive_time',
+		'modify_time'
+    ]    
+];
+
+$result = do_sync($input);
+echo json_encode($result, JSON_UNESCAPED_UNICODE);
+
+?>

+ 44 - 0
app/sync/table_wbw_block.php

@@ -0,0 +1,44 @@
+<?php
+//header('Content-type: application/json; charset=utf8');
+
+require_once "../path.php";
+require_once "../sync/function.php";
+
+$input = (object) [
+    "database" =>  _FILE_DB_USER_WBW_,
+    "table" =>  "wbw_block",
+    "uuid" =>  "id",
+    "sync_id" =>  ["id"],
+    "modify_time" =>  "modify_time",
+    "receive_time" =>  "receive_time",
+	"where"=>" and ( (channal IS NOT NULL) or channal <> '')  ",
+    "insert" => [
+        'id',
+		'parent_id',
+		'channal',
+		'owner',
+		'book',
+		'paragraph',
+		'style',
+		'lang',
+		'status',
+		'receive_time',
+		'modify_time'
+    ],
+    "update" =>  [
+		'parent_id',
+		'channal',
+		'owner',
+		'book',
+		'paragraph',
+		'style',
+		'lang',
+		'status',
+		'modify_time'
+    ]
+];
+
+$result = do_sync($input);
+echo json_encode($result, JSON_UNESCAPED_UNICODE);
+
+?>

+ 101 - 87
app/term/note.js

@@ -49,8 +49,8 @@ function note_create() {
 function note_sent_edit_dlg_init() {
 	$("body").append(
 		'<div id="note_sent_edit_dlg" title="' +
-		gLocal.gui.edit +
-		'"><guide gid="markdown_guide"></guide><div id="edit_dialog_content"></div></div>'
+			gLocal.gui.edit +
+			'"><guide gid="markdown_guide"></guide><div id="edit_dialog_content"></div></div>'
 	);
 	guide_init();
 	$("#note_sent_edit_dlg").dialog({
@@ -241,8 +241,8 @@ function render_read_mode_sent(iterator) {
 			.parent()
 			.prepend(
 				"<div class='para_div'><div class='palitext_div'><div class='palitext palitext1'></div><div class='palitext palitext2'></div></div><div class='para_tran_div'>" +
-				tranDivHtml +
-				"</div></div>"
+					tranDivHtml +
+					"</div></div>"
 			);
 	}
 
@@ -373,6 +373,15 @@ function render_channal_list(channalinfo) {
 	}
 	output += "<div class='list_with_head " + selected + "'>";
 
+	output += '<div class="tool_bar">';
+	output += '<div class="right">';
+	output += '<div class="pop_menu">';
+	output += render_icon_button("copy", "commit_init({src:'" + channalinfo.id + "'})", gLocal.gui.copy_to);
+	output += render_icon_button("ic_mode_edit", "", gLocal.gui.modify);
+	output += "</div>";
+	output += "</div>";
+	output += "</div>";
+
 	output +=
 		'<div class="channel_select"><input type="checkbox" ' + checked + " channal_id='" + channalinfo.id + "'></div>";
 	output += "<div class='head'>";
@@ -730,6 +739,7 @@ function sent_tran_edit(obj) {
 	}
 }
 
+//采纳 pr
 function sent_pr_merge(id) {
 	$.post(
 		"../usent/sent_pr_merge.php",
@@ -750,10 +760,24 @@ function sent_commit(src, id) {
 	commit_init({
 		src: src,
 		sent: [id],
-		express: true,
+		express: false,
 	});
 }
-function render_one_sent_tran_a(iterator) {
+
+function render_icon_button(icon_id, event, tiptitle) {
+	let html = "";
+	html += "<button class='icon_btn tooltip' onclick=\"" + event + '">';
+	html += '<svg class="icon" >';
+	html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#' + icon_id + '"></use>';
+	html += "</svg>";
+	html += "<span class='tooltiptext tooltip-top'>";
+	html += tiptitle;
+	html += "</span>";
+	html += "</button>";
+	return html;
+}
+
+function render_one_sent_tran_a(iterator, diff = false) {
 	let mChannel = get_channel_by_id(iterator.channal);
 
 	let tranText;
@@ -775,8 +799,29 @@ function render_one_sent_tran_a(iterator) {
 				"</span>";
 		}
 	} else {
-		//note_init处理句子链接
-		tranText = note_init(term_std_str_to_tran(iterator.text, iterator.channal, iterator.editor, iterator.lang));
+		if (diff) {
+			let orgText = "";
+			for (const oneSent of _arrData) {
+				if (
+					oneSent.book == iterator.book &&
+					oneSent.para == iterator.para &&
+					oneSent.begin == iterator.begin &&
+					oneSent.end == iterator.end
+				) {
+					for (const tran of oneSent.translation) {
+						if (tran.channal == iterator.channal) {
+							orgText = tran.text;
+							break;
+						}
+					}
+					break;
+				}
+			}
+			tranText = str_diff(orgText, iterator.text);
+		} else {
+			//note_init处理句子链接
+			tranText = note_init(term_std_str_to_tran(iterator.text, iterator.channal, iterator.editor, iterator.lang));
+		}
 	}
 	let html = "";
 	html += "<div class='sent_tran ";
@@ -795,66 +840,30 @@ function render_one_sent_tran_a(iterator) {
 		if (typeof iterator.is_pr_editor != "undefined" && iterator.is_pr_editor == true) {
 			//提交人
 			//修改按钮
-			html += "<button class='icon_btn tooltip' onclick='sent_tran_edit(this)'>";
-			html += '<svg class="icon" >';
-			html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#ic_mode_edit"></use>';
-			html += "</svg>";
-			html += "<span class='tooltiptext tooltip-top'>";
-			html += gLocal.gui.modify;
-			html += "</span>";
-			html += "</button>";
-
+			html += render_icon_button("ic_mode_edit", "sent_tran_edit(this)", gLocal.gui.modify);
 			//删除按钮
-			html += "<button class='icon_btn tooltip' onclick='sent_pr_del(this)'>";
-			html += '<svg class="icon" >';
-			html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#ic_delete"></use>';
-			html += "</svg>";
-			html += "<span class='tooltiptext tooltip-top'>";
-			html += gLocal.gui.delete;
-			html += "</span>";
-			html += "</button>";
+			html += render_icon_button("ic_delete", "sent_pr_del(this)", gLocal.gui.delete);
 		} else {
 			//非提交人
 			if (parseInt(iterator.mypower) >= 20) {
 				//有权限 采纳按钮
-				html += "<button class='icon_btn tooltip' onclick=\"sent_pr_merge('" + iterator.id + "')\">";
-				html += '<svg class="icon" >';
-				html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#accept_copy"></use>';
-				html += "</svg>";
-				html += "<span class='tooltiptext tooltip-top'>";
-				html += gLocal.gui.accept_copy;
-				html += "</span>";
-				html += "</button>";
+				html += render_icon_button(
+					"accept_copy",
+					"sent_pr_merge('" + iterator.id + "')",
+					gLocal.gui.accept_copy
+				);
 			}
 			//点赞按钮
-			html += "<button class='icon_btn tooltip' onclick='sent_pr_like(this)'>";
-			html += '<svg class="icon" >';
-			html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#like"></use>';
-			html += "</svg>";
-			html += "<span class='tooltiptext tooltip-top'>";
-			html += gLocal.gui.like;
-			html += "</span>";
-			html += "</button>";
+			html += render_icon_button("like", "sent_pr_like(this)", gLocal.gui.like);
 		}
 	} else {
 		//非pr列表里的句子
 		//编辑按钮
-		html += "<button class='icon_btn tooltip' onclick='sent_tran_edit(this)'>";
-		html += '<svg class="icon" >';
 		if (parseInt(iterator.mypower) < 20) {
-			html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#my_idea"></use>';
+			html += render_icon_button("my_idea", "sent_tran_edit(this)", gLocal.gui.suggest);
 		} else {
-			html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#ic_mode_edit"></use>';
+			html += render_icon_button("ic_mode_edit", "sent_tran_edit(this)", gLocal.gui.edit);
 		}
-		html += "</svg>";
-		html += "<span class='tooltiptext tooltip-top'>";
-		if (parseInt(iterator.mypower) < 20) {
-			html += gLocal.gui.suggest;
-		} else {
-			html += gLocal.gui.edit;
-		}
-		html += "</span>";
-		html += "</button>";
 
 		//推送按钮
 		let commitIcon = "";
@@ -874,24 +883,18 @@ function render_one_sent_tran_a(iterator) {
 				commitTipText = gLocal.gui.copy_to;
 			}
 		}
-		html += "<button class='icon_btn tooltip' ";
-		html += " onclick=\"sent_commit('" + iterator.channal + "','" + sid + "')\">";
-		html += '<svg class="icon" >';
-		html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#' + commitIcon + '"></use>';
-		html += "</svg>";
-		html += "<span class='tooltiptext tooltip-top'>";
-		html += commitTipText;
-		html += "</span>";
-		html += "</button>";
+		html += render_icon_button(commitIcon, "sent_commit('" + iterator.channal + "','" + sid + "')", commitTipText);
 		//推送按钮结束
 
 		//更多按钮
 		html += '<div class="case_dropdown">';
+
 		html += "<button class='icon_btn'>";
 		html += '<svg class="icon" >';
 		html += '<use xlink="http://www.w3.org/1999/xlink" href="../studio/svg/icon.svg#ic_more"></use>';
 		html += "</svg>";
 		html += "</button>";
+
 		html += '<div class="case_dropdown-content menu_space_between" style="right:0;">';
 		//时间线
 		html += "<a onclick=\"history_show('" + iterator.id + "')\">";
@@ -929,6 +932,7 @@ function render_one_sent_tran_a(iterator) {
 
 	html += "</div>";
 	//句子菜单结束
+
 	html += "</div>";
 	html += "</div>";
 	//tool_bar 结束
@@ -960,13 +964,21 @@ function render_one_sent_tran_a(iterator) {
 	html += '<div class="body">';
 	html += '<div class="head_bar">';
 	html += '<div class="info">';
-	html += '<span class="name" title="' + iterator.editor_name.nickname + gLocal.gui.recent_update + '">';
+	html += '<span class="name channel_name" title="' + iterator.editor_name.nickname + gLocal.gui.recent_update + '">';
 	if (typeof iterator.channalinfo == "undefined") {
 		html += "unkown";
 	} else {
 		html += iterator.channalinfo.name;
 	}
-
+	html += "</span>";
+	html += '<span class="name editor_name" '
+	if (typeof iterator.channalinfo == "undefined") {
+		html += '>';
+		html += "unkown";
+	} else {
+		html += 'title="' + iterator.channalinfo.name + gLocal.gui.recent_update + '">';
+		html += iterator.editor_name.nickname;
+	}
 	html += "</span>";
 	html += '<span class="date">' + getPassDataTime(iterator.update_time) + "</span>";
 	html += "</div>";
@@ -1665,7 +1677,7 @@ function note_sent_save_a(obj) {
 		$(sent_tran_div).addClass("loading");
 	}
 }
-function update_sent_tran(sentData) { }
+function update_sent_tran(sentData) {}
 function sent_save_callback(data) {
 	let result = JSON.parse(data);
 	if (result.status > 0) {
@@ -1676,6 +1688,9 @@ function sent_save_callback(data) {
 		let sent_tran_div = $(
 			".sent_tran[dbid='" + result.id + "'][channel='" + result.channal + "'][sid='" + sid + "']"
 		);
+		if (sent_tran_div) {
+			sent_tran_div.removeClass("loading");
+		}
 		if (result.commit_type == 1 || result.commit_type == 2) {
 			ntf_show("成功修改");
 			if (sent_tran_div) {
@@ -1709,7 +1724,6 @@ function sent_save_callback(data) {
 						}
 					}
 				}
-				sent_tran_div.removeClass("loading");
 			}
 		} else if (result.commit_type == 3) {
 			ntf_show("已经提交修改建议");
@@ -1756,28 +1770,28 @@ function note_sent_save() {
 						}
 						$(
 							"#tran_text_" +
-							result.book +
-							"_" +
-							result.para +
-							"_" +
-							result.begin +
-							"_" +
-							result.end +
-							"_" +
-							result.channal
+								result.book +
+								"_" +
+								result.para +
+								"_" +
+								result.begin +
+								"_" +
+								result.end +
+								"_" +
+								result.channal
 						).html("<span style='color:var(--border-line-color);'>" + channel_info + "</span>");
 					} else {
 						$(
 							"#tran_text_" +
-							result.book +
-							"_" +
-							result.para +
-							"_" +
-							result.begin +
-							"_" +
-							result.end +
-							"_" +
-							result.channal
+								result.book +
+								"_" +
+								result.para +
+								"_" +
+								result.begin +
+								"_" +
+								result.end +
+								"_" +
+								result.channal
 						).html(marked(term_std_str_to_tran(result.text, result.channal, result.editor, result.lang)));
 						term_updata_translation();
 						for (const iterator of _arrData) {
@@ -1959,9 +1973,9 @@ function note_get_pr(channel, id) {
 		function (data) {
 			let result = JSON.parse(data);
 			if (result.length > 0) {
-				let html = "<div class='compact'>";
+				let html = "<div class='compact pr'>";
 				for (const iterator of result) {
-					html += render_one_sent_tran_a(iterator);
+					html += render_one_sent_tran_a(iterator, true);
 				}
 				html += "</div>";
 				$(".sent_tran[channel='" + channel + "'][sid='" + id + "']")

+ 25 - 17
app/term/pali_sim_sent.js

@@ -1,3 +1,4 @@
+var _sent_id = 0;
 function pali_sim_dlg_init(title = gLocal.gui.similar_sentences) {
 	$("body").append('<div id="pali_sim_dlg" title="' + title + '"><div id="pali_sim_dlg_content"></div></div>');
 
@@ -5,6 +6,13 @@ function pali_sim_dlg_init(title = gLocal.gui.similar_sentences) {
 		autoOpen: false,
 		width: 550,
 		buttons: [
+			{
+				text: "在新窗口打开",
+				click: function () {
+					window.open("../reader/?view=sim&id=" + _sent_id + "&display=sent&direction=col", "_blank");
+					$(this).dialog("close");
+				},
+			},
 			{
 				text: gLocal.gui.close,
 				click: function () {
@@ -15,23 +23,23 @@ function pali_sim_dlg_init(title = gLocal.gui.similar_sentences) {
 	});
 }
 function pali_sim_dlg_open(id, start, length) {
-	{
-		$.post(
-			"../pali_sent/get_sim.php",
-			{
-				sent_id: id,
-				start: start,
-				length: length,
-			},
-			function (data) {
-				let sents = JSON.parse(data);
-				let html = pali_sim_dlg_render(sents);
-				$("#pali_sim_dlg_content").html(html);
-				note_ref_init()
-				$("#pali_sim_dlg").dialog("open");
-			}
-		);
-	}
+	_sent_id = id;
+
+	$.post(
+		"../pali_sent/get_sim.php",
+		{
+			sent_id: id,
+			start: start,
+			length: length,
+		},
+		function (data) {
+			let sents = JSON.parse(data);
+			let html = pali_sim_dlg_render(sents);
+			$("#pali_sim_dlg_content").html(html);
+			note_ref_init();
+			$("#pali_sim_dlg").dialog("open");
+		}
+	);
 }
 
 function pali_sim_dlg_render(sent_list) {

+ 23 - 1
app/term/term.css

@@ -642,6 +642,15 @@ pw {
 	white-space: nowrap;
 	margin-right: 0.5em;
 }
+.head_bar > .info > .editor_name {
+	display: none;
+}
+.pr .head_bar > .info > .editor_name {
+	display: inline-block;
+}
+.pr .head_bar > .info > .channel_name {
+	display: none;
+}
 .head_bar > .info > .date {
 	font-size: 0.8em;
 	color: gray;
@@ -670,7 +679,12 @@ pw {
 .sent_tran_inner:hover .tool_bar > .right {
 	display: block;
 }
-
+.list_with_head:hover .tool_bar > .right {
+	display: block;
+}
+.list_with_head {
+	position: relative;
+}
 .body > .edit {
 	display: none;
 }
@@ -927,3 +941,11 @@ span.tran_sent {
 .palitext n {
 	color: dodgerblue;
 }
+/*字符串比对*/
+del {
+	color: red;
+}
+ins {
+	background-color: greenyellow;
+	text-decoration: unset;
+}

+ 2 - 0
app/usent/get.php

@@ -69,6 +69,8 @@ $user_info = new UserInfo();
 
 foreach ($Fetch as $key => $value) {
     # code...
+	$Fetch[$key]["para"]=$value["paragraph"];
+
     $channel = $channel_info->getChannal($value["channal"]);
     if ($channel) {
 		$Fetch[$key]["mypower"] = $channel_info->getPower($value["channal"]);

+ 45 - 5
app/uwbw/update.js

@@ -49,12 +49,12 @@ function user_wbw_push(block_id, wid, data) {
 	objData.para = doc_block("#" + block_id).info("paragraph");
 	user_wbw_data_buffer.push(objData);
 }
-
+var commitTimes = 0;
 function user_wbw_commit() {
 	if (user_wbw_data_buffer.length == 0) {
 		return;
 	}
-	$.post(
+	var jqxhr = $.post(
 		"../uwbw/update.php",
 		{
 			data: JSON.stringify(user_wbw_data_buffer),
@@ -63,15 +63,55 @@ function user_wbw_commit() {
 			try {
 				let result = JSON.parse(data);
 				if (result.status == 0) {
-					ntf_show("user wbw" + result.message);
+					ntf_show("user wbw " + result.message);
+					user_wbw_data_buffer = new Array();
 				} else {
 					ntf_show("user wbw error" + result.message);
 				}
 			} catch (e) {
 				console.error("user_wbw_update:" + e + " data:" + data);
-				ntf_show("user wbw");
+				ntf_show("wbw fail");
 			}
 		}
 	);
-	user_wbw_data_buffer = new Array();
+	jqxhr.done(function () {
+		notify_bar.hide();
+	});
+	jqxhr.fail(function (xhr, error, data) {
+		switch (xhr.status) {
+			case 500:
+				if (commitTimes < 5) {
+					commitTimes++;
+					notify_bar.show("发送失败,重试。第" + commitTimes + "次。");
+					user_wbw_commit();
+				} else {
+					notify_bar.show("重试次数过多,请稍后再试。");
+					commitTimes = 0;
+				}
+				break;
+			default:
+				notify_bar.show(xhr.statusText);
+				break;
+		}
+		switch (error) {
+			case "timeout":
+				notify_bar.show(
+					"服务器长时间没有回应。等待发送队列" +
+						user_wbw_data_buffer.length +
+						"<button onclick='user_wbw_commit()'>重试</button>"
+				);
+				break;
+			case "error":
+				notify_bar.show(
+					"与服务器通讯失败,您可能没有连接到网络。等待发送队列" +
+						user_wbw_data_buffer.length +
+						"<button onclick='user_wbw_commit()'>重试</button>"
+				);
+				break;
+			case "notmodified":
+				break;
+			default:
+				break;
+		}
+	});
 }

+ 5 - 5
app/widget/iframe_modal_win.css

@@ -6,11 +6,11 @@
 	width: 100%;
 	height: 100%;
 	display: none;
-	z-index: 99;
+	z-index: 1001;
 }
 .iframe_container {
 	display: none;
-	z-index: 100;
+	z-index: 1002;
 	background-color: var(--bg-color);
 	border-radius: 20px;
 	width: 75%;
@@ -29,11 +29,11 @@
 }
 .model_win_container {
 	display: none;
-	z-index: 100;
+	z-index: 1002;
 	background-color: var(--bg-color);
 	border-radius: 20px;
-	width: 75%;
-	height: 80%;
+	width: 95%;
+	height: 90%;
 	margin: auto;
 	position: fixed;
 	top: 0;

+ 30 - 0
app/widget/notify.css

@@ -0,0 +1,30 @@
+.pcd_notify {
+	position: fixed;
+	top: 3.6em;
+	left: 40vw;
+	min-width: 20em;
+	max-width: 95%;
+	text-align: center;
+	background-color: rgba(128, 128, 128, 0.64);
+	color: white;
+	padding: 5px;
+	margin-left: auto;
+	margin-right: auto;
+	border-radius: 8px;
+	-webkit-transition-duration: 0.5s;
+	transition-duration: 0.5;
+	z-index: 2000;
+}
+.pcd_notify_bar {
+	position: fixed;
+	top: 3.5em;
+	left: 0;
+	width: 100%;
+	text-align: left;
+	background-color: rgba(255, 72, 0, 0.753);
+	color: rgb(0, 0, 0);
+	padding: 5px;
+	-webkit-transition-duration: 0.5s;
+	transition-duration: 0.5;
+	z-index: 2000;
+}

+ 80 - 0
app/widget/notify.js

@@ -0,0 +1,80 @@
+var notify_bar;
+$(document).ready(function () {
+	notify_bar = notify_init(1, "bar");
+});
+function notify_init(lines = 5, style = "dialog") {
+	let divNotify = document.createElement("div");
+	var typ = document.createAttribute("class");
+
+	switch (style) {
+		case "dialog":
+			typ.nodeValue = "pcd_notify";
+			break;
+		case "bar":
+			typ.nodeValue = "pcd_notify_bar";
+			break;
+		default:
+			typ.nodeValue = "pcd_notify";
+			break;
+	}
+
+	divNotify.attributes.setNamedItem(typ);
+
+	let typId = document.createAttribute("id");
+	let id = "notify_" + com_uuid();
+	typId.nodeValue = id;
+	divNotify.attributes.setNamedItem(typId);
+
+	let body = document.getElementsByTagName("body")[0];
+	body.appendChild(divNotify);
+	divNotify.style.display = "none";
+	var objNotify = new Object();
+	objNotify.id = id;
+	objNotify.top = "3.5em";
+	objNotify.style = style;
+	if (style == "bar") {
+		objNotify.max_msg_line = 1;
+	} else {
+		objNotify.max_msg_line = lines;
+	}
+
+	objNotify.msg_list = new Array();
+	objNotify.timeout = 8;
+	objNotify.show = function (msg) {
+		if (this.msg_list.length < this.max_msg_line) {
+			this.msg_list.push(msg);
+		} else {
+			for (let i = 1; i < this.msg_list.length; i++) {
+				this.msg_list[i - 1] = this.msg_list[i];
+			}
+			this.msg_list[this.msg_list.length - 1] = msg;
+		}
+
+		let divNotify = document.getElementById(this.id);
+		if (divNotify) {
+			let strHtml = "";
+			for (const strMsg of this.msg_list) {
+				strHtml += "<div class='ntf_msg_div'>";
+				strHtml += strMsg;
+				strHtml += "</div>";
+			}
+			if (this.style == "dialog") {
+				strHtml +=
+					"<button onclick='ntf_hide()' style='margin-left: 70%;white-space: nowrap;'>" +
+					gLocal.gui.I_know +
+					"</button>";
+			}
+
+			divNotify.innerHTML = strHtml;
+			divNotify.style.display = "block";
+			if (this.style == "dialog") {
+				setTimeout(this.hide, this.timeout * 1000);
+			}
+		}
+	};
+	objNotify.hide = function () {
+		document.getElementById(this.id).style.display = "none";
+	};
+
+	return objNotify;
+}

+ 0 - 768
composer.lock

@@ -1,768 +0,0 @@
-{
-    "_readme": [
-        "This file locks the dependencies of your project to a known state",
-        "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
-        "This file is @generated automatically"
-    ],
-    "content-hash": "6583d2d180b23c45d6dfad28786d62bb",
-    "packages": [
-        {
-            "name": "elasticsearch/elasticsearch",
-            "version": "v7.11.0",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/elastic/elasticsearch-php.git",
-                "reference": "277cd5e182827c59c23e146a836a30470c0f879d"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/elastic/elasticsearch-php/zipball/277cd5e182827c59c23e146a836a30470c0f879d",
-                "reference": "277cd5e182827c59c23e146a836a30470c0f879d",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "ext-json": ">=1.3.7",
-                "ezimuel/ringphp": "^1.1.2",
-                "php": "^7.1 || ^8.0",
-                "psr/log": "~1.0"
-            },
-            "require-dev": {
-                "cpliakas/git-wrapper": "~2.0 || ~3.0",
-                "doctrine/inflector": "^1.3",
-                "ext-yaml": "*",
-                "ext-zip": "*",
-                "mockery/mockery": "^1.2",
-                "phpstan/phpstan": "^0.12",
-                "phpunit/phpunit": "^7.5 || ^8.5 || ^9.3",
-                "squizlabs/php_codesniffer": "^3.4",
-                "symfony/finder": "~4.0",
-                "symfony/yaml": "~4.0"
-            },
-            "suggest": {
-                "ext-curl": "*",
-                "monolog/monolog": "Allows for client-level logging and tracing"
-            },
-            "type": "library",
-            "autoload": {
-                "files": [
-                    "src/autoload.php"
-                ],
-                "psr-4": {
-                    "Elasticsearch\\": "src/Elasticsearch/"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "Apache-2.0"
-            ],
-            "authors": [
-                {
-                    "name": "Zachary Tong"
-                },
-                {
-                    "name": "Enrico Zimuel"
-                }
-            ],
-            "description": "PHP Client for Elasticsearch",
-            "keywords": [
-                "client",
-                "elasticsearch",
-                "search"
-            ],
-            "support": {
-                "issues": "https://github.com/elastic/elasticsearch-php/issues",
-                "source": "https://github.com/elastic/elasticsearch-php/tree/v7.11.0"
-            },
-            "time": "2021-02-11T11:04:51+00:00"
-        },
-        {
-            "name": "ezimuel/guzzlestreams",
-            "version": "3.0.1",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/ezimuel/guzzlestreams.git",
-                "reference": "abe3791d231167f14eb80d413420d1eab91163a8"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/ezimuel/guzzlestreams/zipball/abe3791d231167f14eb80d413420d1eab91163a8",
-                "reference": "abe3791d231167f14eb80d413420d1eab91163a8",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">=5.4.0"
-            },
-            "require-dev": {
-                "phpunit/phpunit": "~4.0"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "3.0-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "GuzzleHttp\\Stream\\": "src/"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "Michael Dowling",
-                    "email": "mtdowling@gmail.com",
-                    "homepage": "https://github.com/mtdowling"
-                }
-            ],
-            "description": "Fork of guzzle/streams (abandoned) to be used with elasticsearch-php",
-            "homepage": "http://guzzlephp.org/",
-            "keywords": [
-                "Guzzle",
-                "stream"
-            ],
-            "support": {
-                "source": "https://github.com/ezimuel/guzzlestreams/tree/3.0.1"
-            },
-            "time": "2020-02-14T23:11:50+00:00"
-        },
-        {
-            "name": "ezimuel/ringphp",
-            "version": "1.1.2",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/ezimuel/ringphp.git",
-                "reference": "0b78f89d8e0bb9e380046c31adfa40347e9f663b"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/ezimuel/ringphp/zipball/0b78f89d8e0bb9e380046c31adfa40347e9f663b",
-                "reference": "0b78f89d8e0bb9e380046c31adfa40347e9f663b",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "ezimuel/guzzlestreams": "^3.0.1",
-                "php": ">=5.4.0",
-                "react/promise": "~2.0"
-            },
-            "require-dev": {
-                "ext-curl": "*",
-                "phpunit/phpunit": "~4.0"
-            },
-            "suggest": {
-                "ext-curl": "Guzzle will use specific adapters if cURL is present"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "1.1-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "GuzzleHttp\\Ring\\": "src/"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "Michael Dowling",
-                    "email": "mtdowling@gmail.com",
-                    "homepage": "https://github.com/mtdowling"
-                }
-            ],
-            "description": "Fork of guzzle/RingPHP (abandoned) to be used with elasticsearch-php",
-            "support": {
-                "source": "https://github.com/ezimuel/ringphp/tree/1.1.2"
-            },
-            "time": "2020-02-14T23:51:21+00:00"
-        },
-        {
-            "name": "guzzlehttp/guzzle",
-            "version": "7.0.0",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/guzzle/guzzle.git",
-                "reference": "414c24961042f6616fb43e23fa69a785f9fc053e"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/guzzle/guzzle/zipball/414c24961042f6616fb43e23fa69a785f9fc053e",
-                "reference": "414c24961042f6616fb43e23fa69a785f9fc053e",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "ext-json": "*",
-                "guzzlehttp/promises": "^1.0",
-                "guzzlehttp/psr7": "^1.6.1",
-                "php": "^7.2.5",
-                "psr/http-client": "^1.0"
-            },
-            "provide": {
-                "psr/http-client-implementation": "1.0"
-            },
-            "require-dev": {
-                "ergebnis/composer-normalize": "^2.0",
-                "ext-curl": "*",
-                "php-http/client-integration-tests": "dev-phpunit8",
-                "phpunit/phpunit": "^8.5.5",
-                "psr/log": "^1.1"
-            },
-            "suggest": {
-                "ext-curl": "Required for CURL handler support",
-                "ext-intl": "Required for Internationalized Domain Name (IDN) support",
-                "psr/log": "Required for using the Log middleware"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "7.0-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "GuzzleHttp\\": "src/"
-                },
-                "files": [
-                    "src/functions_include.php"
-                ]
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "Michael Dowling",
-                    "email": "mtdowling@gmail.com",
-                    "homepage": "https://github.com/mtdowling"
-                },
-                {
-                    "name": "Márk Sági-Kazár",
-                    "email": "mark.sagikazar@gmail.com",
-                    "homepage": "https://sagikazarmark.hu"
-                }
-            ],
-            "description": "Guzzle is a PHP HTTP client library",
-            "homepage": "http://guzzlephp.org/",
-            "keywords": [
-                "client",
-                "curl",
-                "framework",
-                "http",
-                "http client",
-                "psr-18",
-                "psr-7",
-                "rest",
-                "web service"
-            ],
-            "support": {
-                "issues": "https://github.com/guzzle/guzzle/issues",
-                "source": "https://github.com/guzzle/guzzle/tree/master"
-            },
-            "time": "2020-06-27T08:47:54+00:00"
-        },
-        {
-            "name": "guzzlehttp/promises",
-            "version": "1.4.1",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/guzzle/promises.git",
-                "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
-                "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">=5.5"
-            },
-            "require-dev": {
-                "symfony/phpunit-bridge": "^4.4 || ^5.1"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "1.4-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "GuzzleHttp\\Promise\\": "src/"
-                },
-                "files": [
-                    "src/functions_include.php"
-                ]
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "Michael Dowling",
-                    "email": "mtdowling@gmail.com",
-                    "homepage": "https://github.com/mtdowling"
-                }
-            ],
-            "description": "Guzzle promises library",
-            "keywords": [
-                "promise"
-            ],
-            "support": {
-                "issues": "https://github.com/guzzle/promises/issues",
-                "source": "https://github.com/guzzle/promises/tree/1.4.1"
-            },
-            "time": "2021-03-07T09:25:29+00:00"
-        },
-        {
-            "name": "guzzlehttp/psr7",
-            "version": "1.8.1",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/guzzle/psr7.git",
-                "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/guzzle/psr7/zipball/35ea11d335fd638b5882ff1725228b3d35496ab1",
-                "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">=5.4.0",
-                "psr/http-message": "~1.0",
-                "ralouphie/getallheaders": "^2.0.5 || ^3.0.0"
-            },
-            "provide": {
-                "psr/http-message-implementation": "1.0"
-            },
-            "require-dev": {
-                "ext-zlib": "*",
-                "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10"
-            },
-            "suggest": {
-                "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "1.7-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "GuzzleHttp\\Psr7\\": "src/"
-                },
-                "files": [
-                    "src/functions_include.php"
-                ]
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "Michael Dowling",
-                    "email": "mtdowling@gmail.com",
-                    "homepage": "https://github.com/mtdowling"
-                },
-                {
-                    "name": "Tobias Schultze",
-                    "homepage": "https://github.com/Tobion"
-                }
-            ],
-            "description": "PSR-7 message implementation that also provides common utility methods",
-            "keywords": [
-                "http",
-                "message",
-                "psr-7",
-                "request",
-                "response",
-                "stream",
-                "uri",
-                "url"
-            ],
-            "support": {
-                "issues": "https://github.com/guzzle/psr7/issues",
-                "source": "https://github.com/guzzle/psr7/tree/1.8.1"
-            },
-            "time": "2021-03-21T16:25:00+00:00"
-        },
-        {
-            "name": "phpexcel/phpexcel",
-            "version": "dev-master",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/ddeboer/phpexcel.git",
-                "reference": "656336f53bcd0d11abba40db6c9f8553d320434c"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/ddeboer/phpexcel/zipball/656336f53bcd0d11abba40db6c9f8553d320434c",
-                "reference": "656336f53bcd0d11abba40db6c9f8553d320434c",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">5.2.0"
-            },
-            "type": "library",
-            "autoload": {
-                "psr-0": {
-                    "PHPExcel": "Classes"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "GNU"
-            ],
-            "description": "DEPRECATED! Use phpoffice/phpexcel instead.",
-            "homepage": "http://phpexcel.codeplex.com",
-            "support": {
-                "source": "https://github.com/ddeboer/phpexcel/tree/master"
-            },
-            "abandoned": "phpoffice/phpexcel",
-            "time": "2014-02-06T05:54:09+00:00"
-        },
-        {
-            "name": "psr/http-client",
-            "version": "1.0.1",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/php-fig/http-client.git",
-                "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
-                "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": "^7.0 || ^8.0",
-                "psr/http-message": "^1.0"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "1.0.x-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "Psr\\Http\\Client\\": "src/"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "PHP-FIG",
-                    "homepage": "http://www.php-fig.org/"
-                }
-            ],
-            "description": "Common interface for HTTP clients",
-            "homepage": "https://github.com/php-fig/http-client",
-            "keywords": [
-                "http",
-                "http-client",
-                "psr",
-                "psr-18"
-            ],
-            "support": {
-                "source": "https://github.com/php-fig/http-client/tree/master"
-            },
-            "time": "2020-06-29T06:28:15+00:00"
-        },
-        {
-            "name": "psr/http-message",
-            "version": "1.0.1",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/php-fig/http-message.git",
-                "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
-                "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">=5.3.0"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "1.0.x-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "Psr\\Http\\Message\\": "src/"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "PHP-FIG",
-                    "homepage": "http://www.php-fig.org/"
-                }
-            ],
-            "description": "Common interface for HTTP messages",
-            "homepage": "https://github.com/php-fig/http-message",
-            "keywords": [
-                "http",
-                "http-message",
-                "psr",
-                "psr-7",
-                "request",
-                "response"
-            ],
-            "support": {
-                "source": "https://github.com/php-fig/http-message/tree/master"
-            },
-            "time": "2016-08-06T14:39:51+00:00"
-        },
-        {
-            "name": "psr/log",
-            "version": "1.1.3",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/php-fig/log.git",
-                "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
-                "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">=5.3.0"
-            },
-            "type": "library",
-            "extra": {
-                "branch-alias": {
-                    "dev-master": "1.1.x-dev"
-                }
-            },
-            "autoload": {
-                "psr-4": {
-                    "Psr\\Log\\": "Psr/Log/"
-                }
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "PHP-FIG",
-                    "homepage": "http://www.php-fig.org/"
-                }
-            ],
-            "description": "Common interface for logging libraries",
-            "homepage": "https://github.com/php-fig/log",
-            "keywords": [
-                "log",
-                "psr",
-                "psr-3"
-            ],
-            "support": {
-                "source": "https://github.com/php-fig/log/tree/1.1.3"
-            },
-            "time": "2020-03-23T09:12:05+00:00"
-        },
-        {
-            "name": "ralouphie/getallheaders",
-            "version": "3.0.3",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/ralouphie/getallheaders.git",
-                "reference": "120b605dfeb996808c31b6477290a714d356e822"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
-                "reference": "120b605dfeb996808c31b6477290a714d356e822",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">=5.6"
-            },
-            "require-dev": {
-                "php-coveralls/php-coveralls": "^2.1",
-                "phpunit/phpunit": "^5 || ^6.5"
-            },
-            "type": "library",
-            "autoload": {
-                "files": [
-                    "src/getallheaders.php"
-                ]
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "Ralph Khattar",
-                    "email": "ralph.khattar@gmail.com"
-                }
-            ],
-            "description": "A polyfill for getallheaders.",
-            "support": {
-                "issues": "https://github.com/ralouphie/getallheaders/issues",
-                "source": "https://github.com/ralouphie/getallheaders/tree/develop"
-            },
-            "time": "2019-03-08T08:55:37+00:00"
-        },
-        {
-            "name": "react/promise",
-            "version": "v2.8.0",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/reactphp/promise.git",
-                "reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/reactphp/promise/zipball/f3cff96a19736714524ca0dd1d4130de73dbbbc4",
-                "reference": "f3cff96a19736714524ca0dd1d4130de73dbbbc4",
-                "shasum": "",
-                "mirrors": [
-                    {
-                        "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
-                        "preferred": true
-                    }
-                ]
-            },
-            "require": {
-                "php": ">=5.4.0"
-            },
-            "require-dev": {
-                "phpunit/phpunit": "^7.0 || ^6.5 || ^5.7 || ^4.8.36"
-            },
-            "type": "library",
-            "autoload": {
-                "psr-4": {
-                    "React\\Promise\\": "src/"
-                },
-                "files": [
-                    "src/functions_include.php"
-                ]
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "authors": [
-                {
-                    "name": "Jan Sorgalla",
-                    "email": "jsorgalla@gmail.com"
-                }
-            ],
-            "description": "A lightweight implementation of CommonJS Promises/A for PHP",
-            "keywords": [
-                "promise",
-                "promises"
-            ],
-            "support": {
-                "issues": "https://github.com/reactphp/promise/issues",
-                "source": "https://github.com/reactphp/promise/tree/v2.8.0"
-            },
-            "time": "2020-05-12T15:16:56+00:00"
-        }
-    ],
-    "packages-dev": [],
-    "aliases": [],
-    "minimum-stability": "stable",
-    "stability-flags": {
-        "phpexcel/phpexcel": 20
-    },
-    "prefer-stable": false,
-    "prefer-lowest": false,
-    "platform": [],
-    "platform-dev": [],
-    "plugin-api-version": "2.0.0"
-}

+ 0 - 15
node_modules/.bin/marked

@@ -1,15 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
-    *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
-esac
-
-if [ -x "$basedir/node" ]; then
-  "$basedir/node"  "$basedir/../marked/bin/marked" "$@"
-  ret=$?
-else 
-  node  "$basedir/../marked/bin/marked" "$@"
-  ret=$?
-fi
-exit $ret

+ 0 - 17
node_modules/.bin/marked.cmd

@@ -1,17 +0,0 @@
-@ECHO off
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
-  SET "_prog=%dp0%\node.exe"
-) ELSE (
-  SET "_prog=node"
-  SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-"%_prog%"  "%dp0%\..\marked\bin\marked" %*
-ENDLOCAL
-EXIT /b %errorlevel%
-:find_dp0
-SET dp0=%~dp0
-EXIT /b

+ 0 - 18
node_modules/.bin/marked.ps1

@@ -1,18 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
-  # Fix case when both the Windows and Linux builds of Node
-  # are installed in the same directory
-  $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
-  & "$basedir/node$exe"  "$basedir/../marked/bin/marked" $args
-  $ret=$LASTEXITCODE
-} else {
-  & "node$exe"  "$basedir/../marked/bin/marked" $args
-  $ret=$LASTEXITCODE
-}
-exit $ret

+ 0 - 93
node_modules/highcharts/README.md

@@ -1,93 +0,0 @@
-Highcharts is a JavaScript charting library based on SVG, with fallbacks to VML and canvas for old browsers. This package also contains Highstock, the financial charting package, and Highmaps for geo maps.
-
-This package is intended for supporting client-side JavaScript charting through bundlers like Parcel or Webpack and environments like Babel or TypeScript. If you indend to generate static charts on the server side, use the [Highcharts node.js Export Server](https://www.npmjs.com/package/highcharts-export-server) instead.
-
-* Official website: [www.highcharts.com](http://www.highcharts.com)
-* Download page: [www.highcharts.com/download](http://www.highcharts.com/download)
-* Licensing: [www.highcharts.com/license](http://www.highcharts.com/license)
-* Support: [www.highcharts.com/support](http://www.highcharts.com/support)
-* Issues: [Working repo](https://github.com/highcharts/highcharts/issues)
-
-## Download and install Highcharts
-Please note that there are several ways to use Highcharts. For general installation instructions, see [the docs](http://www.highcharts.com/docs/getting-started/installation).
-### Use our CDN
-Instead of downloading, you can use our CDN to access files directly. See [code.highcharts.com](https://code.highcharts.com) for details.
-```
-<script src="https://code.highcharts.com/highcharts.js"></script>
-```
-### Install from npm
-See [npm documentation](https://docs.npmjs.com/) on how to get started with npm.
-```
-npm install --save highcharts
-```
-
-#### Install nightly build
-See [highcharts documentation](https://www.highcharts.com/docs/getting-started/install-from-npm) for installing the nightly build.
-
-Note that we do not recommend the use of the nightly build in production environments as it **may contain bugs and is not considered stable.**
-
-```
-npm install --save highcharts/highcharts-dist#nightly
-```
-
-
-### Install from Bower
-See [Bower documentation](https://bower.io/) on how to get started with Bower.
-```
-bower install highcharts
-```
-
-## Load Highcharts as a CommonJS module
-Highcharts is using an UMD module pattern, as a result it has support for CommonJS.
-*The following examples presumes you are using npm to install Highcharts, see [Download and install Highcharts](#download-and-install-highcharts) for more details.*
-```js
-// Load Highcharts
-var Highcharts = require('highcharts');
-// Alternatively, this is how to load Highstock. Highmaps is similar.
-// var Highcharts = require('highcharts/highstock');
-
-// Load the exporting module, and initialize it.
-require('highcharts/modules/exporting')(Highcharts);
-
-// Generate the chart
-Highcharts.chart('container', {
-  // options - see https://api.highcharts.com/highcharts
-});
-```
-
-## Load Highcharts as an ES6 module
-Since Highcharts supports CommonJS, it can be loaded as an ES6 module with the use of transpilers. Two common transpilers are [Babel](https://babeljs.io/) and [TypeScript](https://www.typescriptlang.org/). These have different interpretations of a CommonJS module, which affects your syntax.
-*The following examples presumes you are using npm to install Highcharts, see [Download and install Highcharts](#download-and-install-highcharts) for more details.*
-### Babel
-```js
-import Highcharts from 'highcharts';
-// Alternatively, this is how to load Highstock. Highmaps is similar.
-// import Highcharts from 'highcharts/highstock';
-
-// Load the exporting module.
-import Exporting from 'highcharts/modules/exporting';
-// Initialize exporting module.
-Exporting(Highcharts);
-
-// Generate the chart
-Highcharts.chart('container', {
-  // options - see https://api.highcharts.com/highcharts
-});
-```
-### TypeScript
-```js
-import * as Highcharts from 'highcharts';
-// Alternatively, this is how to load Highstock. Highmaps is similar.
-// import Highcharts from 'highcharts/highstock';
-
-// Load the exporting module.
-import * as Exporting from 'highcharts/modules/exporting';
-// Initialize exporting module.
-Exporting(Highcharts);
-
-// Generate the chart
-Highcharts.chart('container', {
-  // options - see https://api.highcharts.com/highcharts
-});
-```
-

+ 0 - 7
node_modules/highcharts/bower.json

@@ -1,7 +0,0 @@
-{
-  "name": "highcharts",
-  "version": "9.0.1",
-  "main": "highcharts.js",
-  "license": "https://www.highcharts.com/license",
-  "types": "highcharts.d.ts"
-}

+ 0 - 235
node_modules/highcharts/css/annotations/popup.css

@@ -1,235 +0,0 @@
-.highcharts-popup.highcharts-annotation-toolbar {
-  right: 10%;
-  left: auto;
-  height: 40px;
-  overflow: hidden;
-  padding-right: 40px;
-  width: auto;
-  min-width: 0;
-}
-
-.highcharts-popup.highcharts-annotation-toolbar button {
-  margin-top: 0px;
-}
-
-.highcharts-popup.highcharts-annotation-toolbar > span {
-  display: block;
-  float: left;
-  padding: 12px;
-}
-
-.highcharts-popup {
-  background-color: #fff;
-  color: #666;
-  display: none;
-  font-size: 0.876em;
-  max-height: 90%;
-  top: 5%;
-  left: 15%;
-  overflow-x: hidden;
-  overflow-y: auto;
-  width: 75%;
-  min-width: 300px;
-  max-width: 600px;
-  position: absolute;
-  z-index: 100;
-  -webkit-box-shadow: 0px 0px 8px 0px rgba(61, 61, 61, 0.3);
-  -moz-box-shadow: 0px 0px 8px 0px rgba(61, 61, 61, 0.3);
-  box-shadow: 0px 0px 8px 0px rgba(61, 61, 61, 0.3);
-}
-
-.highcharts-popup div, .highcharts-popup span {
-  box-sizing: content-box;
-}
-
-.highcharts-popup input, .highcharts-popup label, .highcharts-popup select {
-  clear: both;
-  float: left;
-  width: 100%;
-  margin-bottom: 10px;
-}
-
-.highcharts-popup input {
-  border: 1px solid #e6e6e6;
-  padding: 5px;
-  width: calc(100% - 12px);
-}
-
-.highcharts-popup-lhs-col, .highcharts-popup-rhs-col {
-  padding: 20px;
-  height: calc(100% - 84px);
-  /* 44px - padding, 40px - tabs*/
-  float: left;
-}
-
-.highcharts-popup-lhs-col.highcharts-popup-lhs-full {
-  width: calc(100% - 52px);
-  overflow-y: auto;
-  overflow-x: hidden;
-  height: calc(100% - 140px);
-  border: none;
-  padding: 0px 20px 20px 20px;
-}
-
-.highcharts-popup-lhs-col.highcharts-popup-lhs-full + .highcharts-popup-bottom-row {
-  width: calc(100% - 32px);
-}
-
-.highcharts-popup-lhs-col {
-  clear: both;
-  width: calc(30% - 44px);
-  border-right: 1px solid #e6e6e6;
-}
-
-.highcharts-popup-bottom-row {
-  float: left;
-  padding: 0px 20px;
-  width: calc(100% - 40px);
-}
-
-.highcharts-popup-rhs-col {
-  width: calc(70% - 40px);
-}
-
-.highcharts-popup-rhs-col-wrapper {
-  float: left;
-  width: calc(100% - 20px);
-  padding-right: 20px;
-  height: calc(100% - 40px);
-  overflow-y: auto;
-  overflow-x: hidden;
-}
-
-.highcharts-popup-rhs-col-wrapper h3 {
-  margin-top: 0px;
-  padding-bottom: 0px;
-}
-
-.highcharts-bindings-wrapper ul.highcharts-indicator-list,
-.highcharts-indicator-list {
-  float: left;
-  color: #666;
-  height: 100%;
-  width: 100%;
-  overflow-y: auto;
-  overflow-x: hidden;
-  margin: 0px;
-  padding: 0px;
-}
-
-.highcharts-indicator-list li {
-  cursor: pointer;
-  padding: 0px 0px 5px 0px;
-  margin: 0px;
-  width: 100%;
-  height: auto;
-  overflow: hidden;
-  word-break: break-all;
-}
-
-.highcharts-indicator-list li:hover {
-  background-color: #e6ebf5;
-}
-
-.highcharts-tab-item {
-  background-color: #f7f7f7;
-  cursor: pointer;
-  display: block;
-  float: left;
-  padding: 10px;
-  height: 20px;
-}
-
-.highcharts-tab-item.highcharts-tab-item-active {
-  background-color: #e6ebf5;
-}
-
-.highcharts-tab-item-content {
-  display: none;
-  float: left;
-  height: 100%;
-  overflow: hidden;
-  width: 100%;
-  border-top: 1px solid #e6e6e6;
-}
-
-.highcharts-tab-item-show {
-  display: block;
-}
-
-.highcharts-popup-close {
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-  width: 20px;
-  height: 20px;
-  cursor: pointer;
-  position: absolute;
-  padding: 10px;
-  top: 0%;
-  right: 0%;
-  color: #333333;
-}
-
-.highcharts-popup-close:hover,
-.highcharts-popup button:hover,
-.highcharts-popup button.highcharts-annotation-edit-button:hover,
-.highcharts-popup button.highcharts-annotation-remove-button:hover {
-  background-color: #e6ebf5;
-}
-
-.highcharts-popup button {
-  float: right;
-  border: none;
-  background: #f7f7f7;
-  color: #666;
-  margin-left: 5px;
-  margin-top: 12px;
-}
-
-.highcharts-popup button:first-child {
-  margin-left: 0;
-}
-
-.highcharts-tab-disabled {
-  color: #ccc;
-}
-
-/* annotation edit small popup */
-.highcharts-popup button.highcharts-annotation-edit-button,
-.highcharts-popup button.highcharts-annotation-remove-button {
-  width: 20px;
-  height: 40px;
-  padding: 20px;
-}
-
-.highcharts-popup button.highcharts-annotation-edit-button {
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-  text-indent: -9999px;
-}
-
-.highcharts-popup button.highcharts-annotation-remove-button {
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-  text-indent: -9999px;
-}
-
-.highcharts-popup .highcharts-annotation-title {
-  display: block;
-  float: left;
-  font-size: 1.2em;
-  font-weight: bold;
-  margin-bottom: 15px;
-  width: 100%;
-}
-
-.highcharts-popup .highcharts-popup-main-title {
-  border-bottom: 1px solid #e6e6e6;
-  margin: 0px 0px 20px 0px;
-  padding: 8px 0px 6px 20px;
-}
-
-.highcharts-indicator-title {
-  float: left;
-  padding-bottom: 15px;
-}

+ 0 - 239
node_modules/highcharts/css/annotations/popup.scss

@@ -1,239 +0,0 @@
-// Colors for buttons.
-$button-background-color: #f7f7f7;
-$button-hover-color: #e6ebf5;
-
-
-.highcharts-popup.highcharts-annotation-toolbar {
-  right: 10%;
-  left: auto;
-  height: 40px;
-  overflow: hidden;
-  padding-right: 40px;
-  width: auto;
-  min-width: 0;
-}
-
-.highcharts-popup.highcharts-annotation-toolbar button {
-  margin-top:0px;
-}
-
-.highcharts-popup.highcharts-annotation-toolbar > span {
-  display:block;
-  float:left;
-  padding: 12px;
-}
-
-
-.highcharts-popup {
-  background-color: #fff;
-  color: #666;
-  display: none;
-  font-size: 0.876em;
-  max-height: 90%;
-  top: 5%;
-  left: 15%;
-  overflow-x: hidden;
-  overflow-y: auto;
-  width: 75%;
-  min-width: 300px;
-  max-width: 600px;
-  position: absolute;
-  z-index: 100;
-  -webkit-box-shadow: 0px 0px 8px 0px rgba(61,61,61,0.3);
-  -moz-box-shadow: 0px 0px 8px 0px rgba(61,61,61,0.3);
-  box-shadow: 0px 0px 8px 0px rgba(61,61,61,0.3);
-}
-
-.highcharts-popup div, .highcharts-popup span {
-  box-sizing: content-box;
-}
-
-.highcharts-popup input, .highcharts-popup label, .highcharts-popup select {
-  clear: both;
-  float: left;
-  width: 100%;
-  margin-bottom: 10px;
-}
-
-.highcharts-popup input {
-  border: 1px solid #e6e6e6;
-  padding: 5px;
-  width: calc(100% - 12px);
-}
-
-.highcharts-popup-lhs-col, .highcharts-popup-rhs-col {
-  padding: 20px;
-  height: calc(100% - 84px); /* 44px - padding, 40px - tabs*/
-  float: left;
-}
-
-.highcharts-popup-lhs-col.highcharts-popup-lhs-full { 
-  width: calc(100% - 52px);
-  overflow-y: auto;
-  overflow-x: hidden;
-  height: calc(100% - 140px);
-  border: none;
-  padding: 0px 20px 20px 20px;
-}
-
-.highcharts-popup-lhs-col.highcharts-popup-lhs-full + .highcharts-popup-bottom-row {
-  width: calc(100% - 32px);
-}
-
-.highcharts-popup-lhs-col {
-  clear: both;
-  width: calc(30% - 44px);
-  border-right: 1px solid #e6e6e6;
-}
-
-.highcharts-popup-bottom-row {
-  float: left;
-  padding: 0px 20px;
-  width: calc(100% - 40px);
-}
-
-.highcharts-popup-rhs-col {
-  width: calc(70% - 40px);
-}
-
-.highcharts-popup-rhs-col-wrapper {
-  float: left;
-  width: calc(100% - 20px);
-  padding-right: 20px;
-  height: calc(100% - 40px);
-  overflow-y: auto;
-  overflow-x: hidden;
-}
-
-.highcharts-popup-rhs-col-wrapper h3 {
-  margin-top:0px;
-  padding-bottom:0px;
-}
-
-.highcharts-bindings-wrapper ul.highcharts-indicator-list,
-.highcharts-indicator-list {
-  float: left;
-  color: #666;
-  height: 100%;
-  width: 100%;
-  overflow-y: auto;
-  overflow-x: hidden;
-  margin: 0px;
-  padding: 0px;
-}
-
-.highcharts-indicator-list li {
-  cursor: pointer;
-  padding: 0px 0px 5px 0px;
-  margin: 0px;
-  width: 100%;
-  height: auto;
-  overflow: hidden;
-  word-break: break-all;
-}
-
-.highcharts-indicator-list li:hover {
-  background-color: $button-hover-color;
-}
-
-.highcharts-tab-item {
-  background-color: $button-background-color;
-  cursor: pointer;
-  display: block;
-  float:left;
-  padding: 10px;
-  height: 20px;
-}
-
-.highcharts-tab-item.highcharts-tab-item-active {
-  background-color: $button-hover-color;
-}
-
-.highcharts-tab-item-content {
-  display: none; 
-  float: left;
-  height: 100%;
-  overflow: hidden;
-  width: 100%;
-  border-top: 1px solid #e6e6e6;
-}
-
-.highcharts-tab-item-show {
-  display: block;
-}
-
-.highcharts-popup-close {
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-  width: 20px;
-  height: 20px;
-  cursor: pointer;
-  position: absolute;
-  padding: 10px;
-  top: 0%;
-  right: 0%;
-  color: #333333;
-}
-
-.highcharts-popup-close:hover,
-.highcharts-popup button:hover,
-.highcharts-popup button.highcharts-annotation-edit-button:hover,
-.highcharts-popup button.highcharts-annotation-remove-button:hover {
-  background-color: $button-hover-color;
-}
-
-.highcharts-popup button {
-  float: right;
-  border: none;
-  background: $button-background-color;
-  color: #666;
-  margin-left:5px;
-  margin-top:12px;
-}
-.highcharts-popup button:first-child {
-  margin-left: 0;
-}
-
-.highcharts-tab-disabled {
-  color: #ccc;
-}
-
-/* annotation edit small popup */
-.highcharts-popup button.highcharts-annotation-edit-button,
-.highcharts-popup button.highcharts-annotation-remove-button {
-  width: 20px;
-  height: 40px;
-  padding: 20px;
-}
-
-.highcharts-popup button.highcharts-annotation-edit-button {
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-  text-indent: -9999px;
-}
-
-.highcharts-popup button.highcharts-annotation-remove-button {
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-  text-indent: -9999px;
-}
-
-.highcharts-popup .highcharts-annotation-title {
-  display: block;
-  float: left;
-  font-size: 1.2em;
-  font-weight: bold;
-  margin-bottom: 15px;
-  width: 100%;
-}
-
-.highcharts-popup .highcharts-popup-main-title {
-  border-bottom: 1px solid #e6e6e6;
-  margin: 0px 0px 20px 0px;
-  padding: 8px 0px 6px 20px;
-}
-
-.highcharts-indicator-title {
-  float: left;
-  padding-bottom: 15px;
-}

+ 0 - 950
node_modules/highcharts/css/highcharts.css

@@ -1,950 +0,0 @@
-/**
- * @license Highcharts
- *
- * (c) 2009-2016 Torstein Honsi
- *
- * License: www.highcharts.com/license
- */
-.highcharts-container {
-  position: relative;
-  overflow: hidden;
-  width: 100%;
-  height: 100%;
-  text-align: left;
-  line-height: normal;
-  z-index: 0;
-  /* #1072 */
-  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-  font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
-  font-size: 12px;
-  user-select: none;
-}
-
-.highcharts-root {
-  display: block;
-}
-
-.highcharts-root text {
-  stroke-width: 0;
-}
-
-.highcharts-strong {
-  font-weight: bold;
-}
-
-.highcharts-emphasized {
-  font-style: italic;
-}
-
-.highcharts-anchor {
-  cursor: pointer;
-}
-
-.highcharts-background {
-  fill: #ffffff;
-}
-
-.highcharts-plot-border, .highcharts-plot-background {
-  fill: none;
-}
-
-.highcharts-label-box {
-  fill: none;
-}
-
-.highcharts-button-box {
-  fill: inherit;
-}
-
-.highcharts-tracker-line {
-  stroke-linejoin: round;
-  stroke: rgba(192, 192, 192, 0.0001);
-  stroke-width: 22;
-  fill: none;
-}
-
-.highcharts-tracker-area {
-  fill: rgba(192, 192, 192, 0.0001);
-  stroke-width: 0;
-}
-
-/* Titles */
-.highcharts-title {
-  fill: #333333;
-  font-size: 1.5em;
-}
-
-.highcharts-subtitle {
-  fill: #666666;
-}
-
-/* Axes */
-.highcharts-axis-line {
-  fill: none;
-  stroke: #ccd6eb;
-}
-
-.highcharts-yaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-axis-title {
-  fill: #666666;
-}
-
-.highcharts-axis-labels {
-  fill: #666666;
-  cursor: default;
-  font-size: 0.9em;
-}
-
-.highcharts-grid-line {
-  fill: none;
-  stroke: #e6e6e6;
-}
-
-.highcharts-xaxis-grid .highcharts-grid-line {
-  stroke-width: 0px;
-}
-
-.highcharts-tick {
-  stroke: #ccd6eb;
-}
-
-.highcharts-yaxis .highcharts-tick {
-  stroke-width: 0;
-}
-
-.highcharts-minor-grid-line {
-  stroke: #f2f2f2;
-}
-
-.highcharts-crosshair-thin {
-  stroke-width: 1px;
-  stroke: #cccccc;
-}
-
-.highcharts-crosshair-category {
-  stroke: #ccd6eb;
-  stroke-opacity: 0.25;
-}
-
-/* Credits */
-.highcharts-credits {
-  cursor: pointer;
-  fill: #999999;
-  font-size: 0.7em;
-  transition: fill 250ms, font-size 250ms;
-}
-
-.highcharts-credits:hover {
-  fill: black;
-  font-size: 1em;
-}
-
-/* Tooltip */
-.highcharts-tooltip {
-  cursor: default;
-  pointer-events: none;
-  white-space: nowrap;
-  transition: stroke 150ms;
-}
-
-.highcharts-tooltip text {
-  fill: #333333;
-}
-
-.highcharts-tooltip .highcharts-header {
-  font-size: 0.85em;
-}
-
-.highcharts-tooltip-box {
-  stroke-width: 1px;
-  fill: #f7f7f7;
-  fill-opacity: 0.85;
-}
-
-.highcharts-tooltip-box .highcharts-label-box {
-  fill: #f7f7f7;
-  fill-opacity: 0.85;
-}
-
-div.highcharts-tooltip {
-  filter: none;
-}
-
-.highcharts-selection-marker {
-  fill: #335cad;
-  fill-opacity: 0.25;
-}
-
-.highcharts-graph {
-  fill: none;
-  stroke-width: 2px;
-  stroke-linecap: round;
-  stroke-linejoin: round;
-}
-
-.highcharts-empty-series {
-  stroke-width: 1px;
-  fill: none;
-  stroke: #cccccc;
-}
-
-.highcharts-state-hover .highcharts-graph {
-  stroke-width: 3;
-}
-
-.highcharts-point-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-series-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-state-hover path {
-  transition: stroke-width 50ms;
-  /* quick in */
-}
-
-.highcharts-state-normal path {
-  transition: stroke-width 250ms;
-  /* slow out */
-}
-
-/* Legend hover affects points and series */
-g.highcharts-series,
-.highcharts-point,
-.highcharts-markers,
-.highcharts-data-labels {
-  transition: opacity 250ms;
-}
-
-.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
-.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),
-.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
-.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
-  opacity: 0.2;
-}
-
-/* Series options */
-/* Default colors */
-.highcharts-color-0 {
-  fill: #7cb5ec;
-  stroke: #7cb5ec;
-}
-
-.highcharts-color-1 {
-  fill: #434348;
-  stroke: #434348;
-}
-
-.highcharts-color-2 {
-  fill: #90ed7d;
-  stroke: #90ed7d;
-}
-
-.highcharts-color-3 {
-  fill: #f7a35c;
-  stroke: #f7a35c;
-}
-
-.highcharts-color-4 {
-  fill: #8085e9;
-  stroke: #8085e9;
-}
-
-.highcharts-color-5 {
-  fill: #f15c80;
-  stroke: #f15c80;
-}
-
-.highcharts-color-6 {
-  fill: #e4d354;
-  stroke: #e4d354;
-}
-
-.highcharts-color-7 {
-  fill: #2b908f;
-  stroke: #2b908f;
-}
-
-.highcharts-color-8 {
-  fill: #f45b5b;
-  stroke: #f45b5b;
-}
-
-.highcharts-color-9 {
-  fill: #91e8e1;
-  stroke: #91e8e1;
-}
-
-.highcharts-area {
-  fill-opacity: 0.75;
-  stroke-width: 0;
-}
-
-.highcharts-markers {
-  stroke-width: 1px;
-  stroke: #ffffff;
-}
-
-.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),
-.highcharts-a11y-marker-hidden {
-  opacity: 0;
-}
-
-.highcharts-point {
-  stroke-width: 1px;
-}
-
-.highcharts-dense-data .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-data-label {
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-.highcharts-data-label-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-data-label text, text.highcharts-data-label {
-  fill: #333333;
-}
-
-.highcharts-data-label-connector {
-  fill: none;
-}
-
-.highcharts-data-label-hidden {
-  pointer-events: none;
-}
-
-.highcharts-halo {
-  fill-opacity: 0.25;
-  stroke-width: 0;
-}
-
-.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
-.highcharts-markers .highcharts-point-select {
-  fill: #cccccc;
-  stroke: #000000;
-}
-
-.highcharts-column-series rect.highcharts-point {
-  stroke: #ffffff;
-}
-
-.highcharts-column-series .highcharts-point {
-  transition: fill-opacity 250ms;
-}
-
-.highcharts-column-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pie-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #ffffff;
-}
-
-.highcharts-pie-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #ffffff;
-}
-
-.highcharts-funnel-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-pyramid-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #ffffff;
-}
-
-.highcharts-pyramid-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pyramid-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-solidgauge-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-treemap-series .highcharts-point {
-  stroke-width: 1px;
-  stroke: #e6e6e6;
-  transition: stroke 250ms, fill 250ms, fill-opacity 250ms;
-}
-
-.highcharts-treemap-series .highcharts-point-hover {
-  stroke: #999999;
-  transition: stroke 25ms, fill 25ms, fill-opacity 25ms;
-}
-
-.highcharts-treemap-series .highcharts-above-level {
-  display: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node {
-  fill: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive {
-  fill-opacity: 0.15;
-  cursor: pointer;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive:hover {
-  fill-opacity: 0.75;
-}
-
-.highcharts-vector-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-windbarb-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-lollipop-stem {
-  stroke: #000000;
-}
-
-.highcharts-focus-border {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-legend-item-hidden .highcharts-focus-border {
-  fill: none !important;
-}
-
-/* Legend */
-.highcharts-legend-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item > text {
-  fill: #333333;
-  font-weight: bold;
-  font-size: 1em;
-  cursor: pointer;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item:hover text {
-  fill: #000000;
-}
-
-.highcharts-legend-item-hidden * {
-  fill: #cccccc !important;
-  stroke: #cccccc !important;
-  transition: fill 250ms;
-}
-
-.highcharts-legend-nav-active {
-  fill: #003399;
-  cursor: pointer;
-}
-
-.highcharts-legend-nav-inactive {
-  fill: #cccccc;
-}
-
-circle.highcharts-legend-nav-active, circle.highcharts-legend-nav-inactive {
-  /* tracker */
-  fill: rgba(192, 192, 192, 0.0001);
-}
-
-.highcharts-legend-title-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-/* Bubble legend */
-.highcharts-bubble-legend-symbol {
-  stroke-width: 2;
-  fill-opacity: 0.5;
-}
-
-.highcharts-bubble-legend-connectors {
-  stroke-width: 1;
-}
-
-.highcharts-bubble-legend-labels {
-  fill: #333333;
-}
-
-/* Loading */
-.highcharts-loading {
-  position: absolute;
-  background-color: #ffffff;
-  opacity: 0.5;
-  text-align: center;
-  z-index: 10;
-  transition: opacity 250ms;
-}
-
-.highcharts-loading-hidden {
-  height: 0 !important;
-  opacity: 0;
-  overflow: hidden;
-  transition: opacity 250ms, height 250ms step-end;
-}
-
-.highcharts-loading-inner {
-  font-weight: bold;
-  position: relative;
-  top: 45%;
-}
-
-/* Plot bands and polar pane backgrounds */
-.highcharts-plot-band, .highcharts-pane {
-  fill: #000000;
-  fill-opacity: 0.05;
-}
-
-.highcharts-plot-line {
-  fill: none;
-  stroke: #999999;
-  stroke-width: 1px;
-}
-
-/* Highcharts More and modules */
-.highcharts-boxplot-box {
-  fill: #ffffff;
-}
-
-.highcharts-boxplot-median {
-  stroke-width: 2px;
-}
-
-.highcharts-bubble-series .highcharts-point {
-  fill-opacity: 0.5;
-}
-
-.highcharts-errorbar-series .highcharts-point {
-  stroke: #000000;
-}
-
-.highcharts-gauge-series .highcharts-data-label-box {
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-gauge-series .highcharts-dial {
-  fill: #000000;
-  stroke-width: 0;
-}
-
-.highcharts-polygon-series .highcharts-graph {
-  fill: inherit;
-  stroke-width: 0;
-}
-
-.highcharts-waterfall-series .highcharts-graph {
-  stroke: #333333;
-  stroke-dasharray: 1, 3;
-}
-
-.highcharts-sankey-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-sankey-series .highcharts-link {
-  transition: fill 250ms, fill-opacity 250ms;
-  fill-opacity: 0.5;
-}
-
-.highcharts-sankey-series .highcharts-point-hover.highcharts-link {
-  transition: fill 50ms, fill-opacity 50ms;
-  fill-opacity: 1;
-}
-
-.highcharts-venn-series .highcharts-point {
-  fill-opacity: 0.75;
-  stroke: #cccccc;
-  transition: stroke 250ms, fill-opacity 250ms;
-}
-
-.highcharts-venn-series .highcharts-point-hover {
-  fill-opacity: 1;
-  stroke: #cccccc;
-}
-
-/* Highstock */
-.highcharts-navigator-mask-outside {
-  fill-opacity: 0;
-}
-
-.highcharts-navigator-mask-inside {
-  fill: #6685c2;
-  /* navigator.maskFill option */
-  fill-opacity: 0.25;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-outline {
-  stroke: #cccccc;
-  fill: none;
-}
-
-.highcharts-navigator-handle {
-  stroke: #cccccc;
-  fill: #f2f2f2;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-series {
-  fill: #335cad;
-  stroke: #335cad;
-}
-
-.highcharts-navigator-series .highcharts-graph {
-  stroke-width: 1px;
-}
-
-.highcharts-navigator-series .highcharts-area {
-  fill-opacity: 0.05;
-}
-
-.highcharts-navigator-xaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke-width: 1px;
-  stroke: #e6e6e6;
-}
-
-.highcharts-navigator-xaxis.highcharts-axis-labels {
-  fill: #999999;
-}
-
-.highcharts-navigator-yaxis .highcharts-grid-line {
-  stroke-width: 0;
-}
-
-.highcharts-scrollbar-thumb {
-  fill: #cccccc;
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-button {
-  fill: #e6e6e6;
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-arrow {
-  fill: #666666;
-}
-
-.highcharts-scrollbar-rifles {
-  stroke: #666666;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-track {
-  fill: #f2f2f2;
-  stroke: #f2f2f2;
-  stroke-width: 1px;
-}
-
-.highcharts-button {
-  fill: #f7f7f7;
-  stroke: #cccccc;
-  cursor: default;
-  stroke-width: 1px;
-  transition: fill 250ms;
-}
-
-.highcharts-button text {
-  fill: #333333;
-}
-
-.highcharts-button-hover {
-  transition: fill 0ms;
-  fill: #e6e6e6;
-  stroke: #cccccc;
-}
-
-.highcharts-button-hover text {
-  fill: #333333;
-}
-
-.highcharts-button-pressed {
-  font-weight: bold;
-  fill: #e6ebf5;
-  stroke: #cccccc;
-}
-
-.highcharts-button-pressed text {
-  fill: #333333;
-  font-weight: bold;
-}
-
-.highcharts-button-disabled text {
-  fill: #333333;
-}
-
-.highcharts-range-selector-buttons .highcharts-button {
-  stroke-width: 0px;
-}
-
-.highcharts-range-label rect {
-  fill: none;
-}
-
-.highcharts-range-label text {
-  fill: #666666;
-}
-
-.highcharts-range-input rect {
-  fill: none;
-}
-
-.highcharts-range-input text {
-  fill: #333333;
-}
-
-.highcharts-range-input {
-  stroke-width: 1px;
-  stroke: #cccccc;
-}
-
-input.highcharts-range-selector {
-  position: absolute;
-  border: 0;
-  width: 1px;
-  /* Chrome needs a pixel to see it */
-  height: 1px;
-  padding: 0;
-  text-align: center;
-  left: -9em;
-  /* #4798 */
-}
-
-.highcharts-crosshair-label text {
-  fill: #ffffff;
-  font-size: 1.1em;
-}
-
-.highcharts-crosshair-label .highcharts-label-box {
-  fill: inherit;
-}
-
-.highcharts-candlestick-series .highcharts-point {
-  stroke: #000000;
-  stroke-width: 1px;
-}
-
-.highcharts-candlestick-series .highcharts-point-up {
-  fill: #ffffff;
-}
-
-.highcharts-ohlc-series .highcharts-point-hover {
-  stroke-width: 3px;
-}
-
-.highcharts-flags-series .highcharts-point .highcharts-label-box {
-  stroke: #999999;
-  fill: #ffffff;
-  transition: fill 250ms;
-}
-
-.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
-  stroke: #000000;
-  fill: #ccd6eb;
-}
-
-.highcharts-flags-series .highcharts-point text {
-  fill: #000000;
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-/* Highmaps */
-.highcharts-map-series .highcharts-point {
-  transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;
-  stroke: #cccccc;
-}
-
-.highcharts-map-series .highcharts-point-hover {
-  transition: fill 0ms, fill-opacity 0ms;
-  fill-opacity: 0.5;
-  stroke-width: 2px;
-}
-
-.highcharts-mapline-series .highcharts-point {
-  fill: none;
-}
-
-.highcharts-heatmap-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-map-navigation {
-  font-size: 1.3em;
-  font-weight: bold;
-  text-align: center;
-}
-
-.highcharts-coloraxis {
-  stroke-width: 0;
-}
-
-.highcharts-coloraxis-marker {
-  fill: #999999;
-}
-
-.highcharts-null-point {
-  fill: #f7f7f7;
-}
-
-/* 3d charts */
-.highcharts-3d-frame {
-  fill: transparent;
-}
-
-/* Exporting module */
-.highcharts-contextbutton {
-  fill: #ffffff;
-  /* needed to capture hover */
-  stroke: none;
-  stroke-linecap: round;
-}
-
-.highcharts-contextbutton:hover {
-  fill: #e6e6e6;
-  stroke: #e6e6e6;
-}
-
-.highcharts-button-symbol {
-  stroke: #666666;
-  stroke-width: 3px;
-}
-
-.highcharts-menu {
-  border: 1px solid #999999;
-  background: #ffffff;
-  padding: 5px 0;
-  box-shadow: 3px 3px 10px #888;
-}
-
-.highcharts-menu-item {
-  padding: 0.5em 1em;
-  background: none;
-  color: #333333;
-  cursor: pointer;
-  transition: background 250ms, color 250ms;
-}
-
-.highcharts-menu-item:hover {
-  background: #335cad;
-  color: #ffffff;
-}
-
-/* Drilldown module */
-.highcharts-drilldown-point {
-  cursor: pointer;
-}
-
-.highcharts-drilldown-data-label text,
-text.highcharts-drilldown-data-label,
-.highcharts-drilldown-axis-label {
-  cursor: pointer;
-  fill: #003399;
-  font-weight: bold;
-  text-decoration: underline;
-}
-
-/* No-data module */
-.highcharts-no-data text {
-  font-weight: bold;
-  font-size: 12px;
-  fill: #666666;
-}
-
-/* Drag-panes module */
-.highcharts-axis-resizer {
-  cursor: ns-resize;
-  stroke: black;
-  stroke-width: 2px;
-}
-
-/* Bullet type series */
-.highcharts-bullet-target {
-  stroke-width: 0;
-}
-
-/* Lineargauge type series */
-.highcharts-lineargauge-target {
-  stroke-width: 1px;
-  stroke: #333333;
-}
-
-.highcharts-lineargauge-target-line {
-  stroke-width: 1px;
-  stroke: #333333;
-}
-
-/* Annotations module */
-.highcharts-annotation-label-box {
-  stroke-width: 1px;
-  stroke: #000000;
-  fill: #000000;
-  fill-opacity: 0.75;
-}
-
-.highcharts-annotation-label text {
-  fill: #e6e6e6;
-}
-
-/* Gantt */
-.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {
-  cursor: pointer;
-}
-
-.highcharts-point-connecting-path {
-  fill: none;
-}
-
-.highcharts-grid-axis .highcharts-tick {
-  stroke-width: 1px;
-}
-
-.highcharts-grid-axis .highcharts-axis-line {
-  stroke-width: 1px;
-}

+ 0 - 841
node_modules/highcharts/css/highcharts.scss

@@ -1,841 +0,0 @@
-/**
- * @license Highcharts
- *
- * (c) 2009-2016 Torstein Honsi
- *
- * License: www.highcharts.com/license
- */
-
-// Colors for data series and points.
-$colors: #7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1 !default;
-
-// Chart background, point stroke for markers and columns etc
-$background-color: #ffffff !default;
-
-// Neutral colors, grayscale by default. The default colors are defined by mixing the
-// background-color with neutral, with a weight corresponding to the number in the name.
-$neutral-color-100: #000000 !default; // Strong text.
-$neutral-color-80: #333333 !default; // Main text and some strokes.
-$neutral-color-60: #666666 !default; // Axis labels, axis title, connector fallback.
-$neutral-color-40: #999999 !default; // Credits text, export menu stroke.
-$neutral-color-20: #cccccc !default; // Disabled texts, button strokes, crosshair etc.
-$neutral-color-10: #e6e6e6 !default; // Grid lines etc.
-$neutral-color-5: #f2f2f2 !default; // Minor grid lines etc.
-$neutral-color-3: #f7f7f7 !default; // Tooltip backgroud, button fills, map null points.
-
-// Colored, shades of blue by default
-$highlight-color-100: #003399 !default; // Drilldown clickable labels, color axis max color.
-$highlight-color-80: #335cad !default; // Selection marker, menu hover, button hover, chart border, navigator series.
-$highlight-color-60: #6685c2 !default; // Navigator mask fill.
-$highlight-color-20: #ccd6eb !default; // Ticks and axis line.
-$highlight-color-10: #e6ebf5 !default; // Pressed button, color axis min color.
-
-// Fonts
-$font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif !default;
-$title-font-size: 1.5em !default;
-$subtitle-font-size: 1em !default;
-$legend-font-size: 1em !default;
-$axis-labels-font-size: 0.9em !default;
-
-// Tooltip
-$tooltip-border: 1px !default;
-$tooltip-background: $neutral-color-3 !default;
-
-// Axes
-$xaxis-grid-line: 0px !default;
-
-// Range-selector
-$range-selector-button-border: 0px !default;
-$range-selector-input-text: $neutral-color-80 !default;
-$range-selector-input-border: $neutral-color-20 !default;
-
-// Data-labels
-$data-label-color: $neutral-color-80 !default;
-
-// Buttons
-$context-button-background: $background-color !default;
-
-$highcharts-button-background: $neutral-color-3 !default;
-$highcharts-button-border: $neutral-color-20 !default;
-$highcharts-button-text:  $neutral-color-80 !default;
-
-$highcharts-button-pressed-background: $highlight-color-10 !default;
-$highcharts-button-pressed-border: $neutral-color-20 !default;
-$highcharts-button-pressed-text:  $neutral-color-80 !default;
-
-$highcharts-button-hover-background: $neutral-color-10 !default;
-$highcharts-button-hover-border: $neutral-color-20 !default;
-$highcharts-button-hover-text:  $neutral-color-80 !default;
-
-// Navigator
-$navigator-series-fill: $highlight-color-80 !default;
-$navigator-series-border: $highlight-color-80 !default;
-
-// Scrollbar
-$scrollbar-track-background: $neutral-color-5 !default;
-$scrollbar-track-border: $neutral-color-5 !default;
-
-// Indicators
-$indicator-positive-line: #06b535; // Positive indicator color
-$indicator-negative-line: #f21313; // Negative indicator color
-
-.highcharts-container {
-    position: relative;
-    overflow: hidden;
-    width: 100%;
-    height: 100%;
-    text-align: left;
-    line-height: normal;
-    z-index: 0; /* #1072 */
-    -webkit-tap-highlight-color: rgba(0,0,0,0);
-    font-family: $font-family;
-    font-size: 12px;
-    user-select: none;
-}
-.highcharts-root {
-    display: block;
-}
-.highcharts-root text {
-    stroke-width: 0;
-}
-.highcharts-strong {
-    font-weight: bold;
-}
-.highcharts-emphasized {
-    font-style: italic;
-}
-.highcharts-anchor {
-    cursor: pointer;
-}
-.highcharts-background {
-    fill: $background-color;
-}
-.highcharts-plot-border, .highcharts-plot-background {
-    fill: none;
-}
-.highcharts-label-box {
-    fill: none;
-}
-.highcharts-button-box {
-    fill: inherit;
-}
-.highcharts-tracker-line {
-    stroke-linejoin: round;
-    stroke: rgba(192, 192, 192, 0.0001);
-    stroke-width: 22;
-    fill: none;
-}
-.highcharts-tracker-area {
-    fill: rgba(192, 192, 192, 0.0001);
-    stroke-width: 0;
-}
-
-/* Titles */
-.highcharts-title {
-    fill: $neutral-color-80;
-    font-size: $title-font-size;
-}
-.highcharts-subtitle {
-    fill: $neutral-color-60;
-}
-
-/* Axes */
-.highcharts-axis-line {
-    fill: none;
-    stroke: $highlight-color-20;
-}
-.highcharts-yaxis .highcharts-axis-line {
-    stroke-width: 0;
-}
-.highcharts-axis-title {
-    fill: $neutral-color-60;
-}
-.highcharts-axis-labels {
-    fill: $neutral-color-60;
-    cursor: default;
-    font-size: $axis-labels-font-size;
-}
-.highcharts-grid-line {
-    fill: none;
-    stroke: $neutral-color-10;
-}
-.highcharts-xaxis-grid .highcharts-grid-line {
-    stroke-width: $xaxis-grid-line;
-}
-.highcharts-tick {
-    stroke: $highlight-color-20;
-}
-.highcharts-yaxis .highcharts-tick {
-    stroke-width: 0;
-}
-.highcharts-minor-grid-line {
-    stroke: $neutral-color-5;
-}
-.highcharts-crosshair-thin {
-    stroke-width: 1px;
-    stroke: $neutral-color-20;
-}
-.highcharts-crosshair-category {
-    stroke: $highlight-color-20;
-    stroke-opacity: 0.25;
-}
-
-
-/* Credits */
-.highcharts-credits {
-    cursor: pointer;
-    fill: $neutral-color-40;
-    font-size: 0.7em;
-    transition: fill 250ms, font-size 250ms;
-}
-.highcharts-credits:hover {
-    fill: black;
-    font-size: 1em;
-}
-
-/* Tooltip */
-.highcharts-tooltip {
-    cursor: default;
-    pointer-events: none;
-    white-space: nowrap;
-    transition: stroke 150ms;
-}
-.highcharts-tooltip text {
-    fill: $neutral-color-80;
-}
-.highcharts-tooltip .highcharts-header {
-    font-size: 0.85em;
-}
-.highcharts-tooltip-box {
-    stroke-width: $tooltip-border;
-    fill: $tooltip-background;
-    fill-opacity: 0.85;
-}
-.highcharts-tooltip-box .highcharts-label-box {
-    fill: $tooltip-background;
-    fill-opacity: 0.85;
-}
-div.highcharts-tooltip {
-    filter: none;
-}
-
-.highcharts-selection-marker {
-    fill: $highlight-color-80;
-    fill-opacity: 0.25;
-}
-
-.highcharts-graph {
-    fill: none;
-    stroke-width: 2px;
-    stroke-linecap: round;
-    stroke-linejoin: round;
-}
-
-.highcharts-empty-series {
-    stroke-width: 1px;
-    fill: none;
-    stroke: $neutral-color-20;
-}
-
-.highcharts-state-hover .highcharts-graph {
-    stroke-width: 3;
-}
-
-.highcharts-point-inactive {
-    opacity: 0.2;
-    transition: opacity 50ms; /* quick in */
-}
-
-.highcharts-series-inactive {
-    opacity: 0.2;
-    transition: opacity 50ms; /* quick in */
-}
-
-.highcharts-state-hover path {
-    transition: stroke-width 50ms; /* quick in */
-}
-.highcharts-state-normal path {
-    transition: stroke-width 250ms; /* slow out */
-}
-/* Legend hover affects points and series */
-g.highcharts-series,
-.highcharts-point,
-.highcharts-markers,
-.highcharts-data-labels {
-    transition: opacity 250ms;
-}
-.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
-.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),
-.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
-.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
-    opacity: 0.2;
-}
-
-/* Series options */
-
-/* Default colors */
-@for $i from 1 through length($colors) {
-  $color: nth($colors, $i);
-  .highcharts-color-#{$i - 1} {
-    fill: $color;
-    stroke: $color;
-  }
-}
-
-.highcharts-area {
-    fill-opacity: 0.75;
-    stroke-width: 0;
-}
-.highcharts-markers {
-    stroke-width: 1px;
-    stroke: $background-color;
-}
-.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),
-.highcharts-a11y-marker-hidden {
-    opacity: 0;
-}
-.highcharts-point {
-    stroke-width: 1px;
-}
-.highcharts-dense-data .highcharts-point {
-    stroke-width: 0;
-}
-
-.highcharts-data-label {
-    font-size: 0.9em;
-    font-weight: bold;
-}
-.highcharts-data-label-box {
-    fill: none;
-    stroke-width: 0;
-}
-.highcharts-data-label text, text.highcharts-data-label {
-    fill: $data-label-color;
-}
-.highcharts-data-label-connector {
-    fill: none;
-}
-.highcharts-data-label-hidden {
-    pointer-events: none;
-}
-.highcharts-halo {
-    fill-opacity: 0.25;
-    stroke-width: 0;
-}
-.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
-.highcharts-markers .highcharts-point-select {
-    fill: $neutral-color-20;
-    stroke: $neutral-color-100;
-}
-.highcharts-column-series rect.highcharts-point {
-    // rect to prevent stroke on 3D columns
-    stroke: $background-color;
-}
-.highcharts-column-series .highcharts-point {
-    transition: fill-opacity 250ms;
-}
-.highcharts-column-series .highcharts-point-hover {
-    fill-opacity: 0.75;
-    transition: fill-opacity 50ms;
-}
-.highcharts-pie-series .highcharts-point {
-    stroke-linejoin: round;
-    stroke: $background-color;
-}
-.highcharts-pie-series .highcharts-point-hover {
-    fill-opacity: 0.75;
-    transition: fill-opacity 50ms;
-}
-.highcharts-funnel-series .highcharts-point {
-    stroke-linejoin: round;
-    stroke: $background-color;
-}
-.highcharts-funnel-series .highcharts-point-hover {
-    fill-opacity: 0.75;
-    transition: fill-opacity 50ms;
-}
-.highcharts-funnel-series .highcharts-point-select {
-    fill: inherit;
-    stroke: inherit;
-}
-.highcharts-pyramid-series .highcharts-point {
-    stroke-linejoin: round;
-    stroke: $background-color;
-}
-.highcharts-pyramid-series .highcharts-point-hover {
-    fill-opacity: 0.75;
-    transition: fill-opacity 50ms;
-}
-.highcharts-pyramid-series .highcharts-point-select {
-    fill: inherit;
-    stroke: inherit;
-}
-.highcharts-solidgauge-series .highcharts-point {
-    stroke-width: 0;
-}
-.highcharts-treemap-series .highcharts-point {
-    stroke-width: 1px;
-    stroke: $neutral-color-10;
-    transition: stroke 250ms, fill 250ms, fill-opacity 250ms;
-}
-.highcharts-treemap-series .highcharts-point-hover {
-    stroke: $neutral-color-40;
-    transition: stroke 25ms, fill 25ms, fill-opacity 25ms;
-}
-
-.highcharts-treemap-series .highcharts-above-level {
-    display: none;
-}
-.highcharts-treemap-series .highcharts-internal-node {
-    fill: none;
-}
-.highcharts-treemap-series .highcharts-internal-node-interactive {
-    fill-opacity: 0.15;
-    cursor: pointer;
-}
-.highcharts-treemap-series .highcharts-internal-node-interactive:hover {
-    fill-opacity: 0.75;
-}
-
-.highcharts-vector-series .highcharts-point {
-    fill: none;
-    stroke-width: 2px;
-}
-
-.highcharts-windbarb-series .highcharts-point {
-    fill: none;
-    stroke-width: 2px;
- }
-
-.highcharts-lollipop-stem {
-	stroke: $neutral-color-100;
-}
-
-.highcharts-focus-border {
-    fill: none;
-    stroke-width: 2px;
-}
-
-.highcharts-legend-item-hidden .highcharts-focus-border {
-    fill: none !important;
-}
-
-/* Legend */
-.highcharts-legend-box {
-    fill: none;
-    stroke-width: 0;
-}
-.highcharts-legend-item > text {
-    fill: $neutral-color-80;
-    font-weight: bold;
-    font-size: $legend-font-size;
-    cursor: pointer;
-    stroke-width: 0;
-}
-.highcharts-legend-item:hover text {
-    fill: $neutral-color-100;
-}
-.highcharts-legend-item-hidden * {
-    fill: $neutral-color-20 !important;
-    stroke: $neutral-color-20 !important;
-    transition: fill 250ms;
-}
-.highcharts-legend-nav-active {
-    fill: $highlight-color-100;
-    cursor: pointer;
-}
-.highcharts-legend-nav-inactive {
-    fill: $neutral-color-20;
-}
-circle.highcharts-legend-nav-active, circle.highcharts-legend-nav-inactive { /* tracker */
-    fill: rgba(192, 192, 192, 0.0001);
-}
-.highcharts-legend-title-box {
-    fill: none;
-    stroke-width: 0;
-}
-
-/* Bubble legend */
-.highcharts-bubble-legend-symbol {
-    stroke-width: 2;
-    fill-opacity: 0.5;
-}
-.highcharts-bubble-legend-connectors {
-    stroke-width: 1;
-}
-.highcharts-bubble-legend-labels {
-    fill: $neutral-color-80;
-}
-
-/* Loading */
-.highcharts-loading {
-    position: absolute;
-    background-color: $background-color;
-    opacity: 0.5;
-    text-align: center;
-    z-index: 10;
-    transition: opacity 250ms;
-}
-.highcharts-loading-hidden {
-    height: 0 !important;
-    opacity: 0;
-    overflow: hidden;
-    transition: opacity 250ms, height 250ms step-end;
-}
-.highcharts-loading-inner {
-    font-weight: bold;
-    position: relative;
-    top: 45%;
-}
-
-/* Plot bands and polar pane backgrounds */
-.highcharts-plot-band, .highcharts-pane {
-    fill: $neutral-color-100;
-    fill-opacity: 0.05;
-}
-.highcharts-plot-line {
-    fill: none;
-    stroke: $neutral-color-40;
-    stroke-width: 1px;
-}
-
-/* Highcharts More and modules */
-.highcharts-boxplot-box {
-    fill: $background-color;
-}
-.highcharts-boxplot-median {
-    stroke-width: 2px;
-}
-.highcharts-bubble-series .highcharts-point {
-    fill-opacity: 0.5;
-}
-.highcharts-errorbar-series .highcharts-point {
-    stroke: $neutral-color-100;
-}
-.highcharts-gauge-series .highcharts-data-label-box {
-    stroke: $neutral-color-20;
-    stroke-width: 1px;
-}
-.highcharts-gauge-series .highcharts-dial {
-    fill: $neutral-color-100;
-    stroke-width: 0;
-}
-.highcharts-polygon-series .highcharts-graph {
-    fill: inherit;
-    stroke-width: 0;
-}
-.highcharts-waterfall-series .highcharts-graph {
-    stroke: $neutral-color-80;
-    stroke-dasharray: 1, 3;
-}
-.highcharts-sankey-series .highcharts-point {
-    stroke-width: 0;
-}
-.highcharts-sankey-series .highcharts-link {
-    transition: fill 250ms, fill-opacity 250ms;
-    fill-opacity: 0.5;
-}
-.highcharts-sankey-series .highcharts-point-hover.highcharts-link {
-    transition: fill 50ms, fill-opacity 50ms;
-    fill-opacity: 1;
-}
-.highcharts-venn-series .highcharts-point {
-    fill-opacity: 0.75;
-    stroke: $neutral-color-20;
-    transition: stroke 250ms, fill-opacity 250ms;
-}
-.highcharts-venn-series .highcharts-point-hover {
-    fill-opacity: 1;
-    stroke: $neutral-color-20;
-}
-
-/* Highstock */
-.highcharts-navigator-mask-outside {
-    fill-opacity: 0;
-}
-.highcharts-navigator-mask-inside {
-    fill: $highlight-color-60; /* navigator.maskFill option */
-    fill-opacity: 0.25;
-    cursor: ew-resize;
-}
-.highcharts-navigator-outline {
-    stroke: $neutral-color-20;
-    fill: none;
-}
-.highcharts-navigator-handle {
-    stroke: $neutral-color-20;
-    fill: $neutral-color-5;
-    cursor: ew-resize;
-}
-.highcharts-navigator-series {
-    fill: $navigator-series-fill;
-    stroke: $navigator-series-border;
-}
-.highcharts-navigator-series .highcharts-graph {
-    stroke-width: 1px;
-}
-.highcharts-navigator-series .highcharts-area {
-    fill-opacity: 0.05;
-}
-.highcharts-navigator-xaxis .highcharts-axis-line {
-    stroke-width: 0;
-}
-.highcharts-navigator-xaxis .highcharts-grid-line {
-    stroke-width: 1px;
-    stroke: $neutral-color-10;
-}
-.highcharts-navigator-xaxis.highcharts-axis-labels {
-    fill: $neutral-color-40;
-}
-.highcharts-navigator-yaxis .highcharts-grid-line {
-    stroke-width: 0;
-}
-.highcharts-scrollbar-thumb {
-    fill: $neutral-color-20;
-    stroke: $neutral-color-20;
-    stroke-width: 1px;
-}
-.highcharts-scrollbar-button {
-    fill: $neutral-color-10;
-    stroke: $neutral-color-20;
-    stroke-width: 1px;
-}
-.highcharts-scrollbar-arrow {
-    fill: $neutral-color-60;
-}
-.highcharts-scrollbar-rifles {
-    stroke: $neutral-color-60;
-    stroke-width: 1px;
-}
-.highcharts-scrollbar-track {
-    fill: $scrollbar-track-background;
-    stroke: $scrollbar-track-border;
-    stroke-width: 1px;
-}
-.highcharts-button {
-    fill: $highcharts-button-background;
-    stroke: $highcharts-button-border;
-    cursor: default;
-    stroke-width: 1px;
-    transition: fill 250ms;
-}
-.highcharts-button text {
-    fill: $highcharts-button-text;
-}
-.highcharts-button-hover {
-    transition: fill 0ms;
-    fill: $highcharts-button-hover-background;
-    stroke: $highcharts-button-hover-border;
-}
-.highcharts-button-hover text {
-    fill: $highcharts-button-hover-text;
-}
-.highcharts-button-pressed {
-    font-weight: bold;
-    fill: $highcharts-button-pressed-background;
-    stroke: $highcharts-button-pressed-border;
-}
-.highcharts-button-pressed text {
-    fill: $highcharts-button-pressed-text;
-    font-weight: bold;
-}
-.highcharts-button-disabled text {
-    fill: $highcharts-button-text;
-}
-.highcharts-range-selector-buttons .highcharts-button {
-    stroke-width: $range-selector-button-border;
-}
-.highcharts-range-label rect {
-    fill: none;
-}
-.highcharts-range-label text {
-    fill: $neutral-color-60;
-}
-.highcharts-range-input rect {
-    fill: none;
-}
-.highcharts-range-input text {
-    fill: $range-selector-input-text;
-}
-.highcharts-range-input {
-    stroke-width:1px;
-    stroke: $range-selector-input-border;
-}
-input.highcharts-range-selector {
-    position: absolute;
-    border: 0;
-    width: 1px; /* Chrome needs a pixel to see it */
-    height: 1px;
-    padding: 0;
-    text-align: center;
-    left: -9em; /* #4798 */
-}
-.highcharts-crosshair-label text {
-    fill: $background-color;
-    font-size: 1.1em;
-}
-.highcharts-crosshair-label .highcharts-label-box {
-    fill: inherit;
-}
-
-
-.highcharts-candlestick-series .highcharts-point {
-    stroke: $neutral-color-100;
-    stroke-width: 1px;
-}
-.highcharts-candlestick-series .highcharts-point-up {
-    fill: $background-color;
-}
-.highcharts-ohlc-series .highcharts-point-hover {
-    stroke-width: 3px;
-}
-.highcharts-flags-series .highcharts-point .highcharts-label-box {
-    stroke: $neutral-color-40;
-    fill: $background-color;
-    transition: fill 250ms;
-}
-.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
-    stroke: $neutral-color-100;
-    fill: $highlight-color-20;
-}
-.highcharts-flags-series .highcharts-point text {
-    fill: $neutral-color-100;
-    font-size: 0.9em;
-    font-weight: bold;
-}
-
-/* Highmaps */
-.highcharts-map-series .highcharts-point {
-    transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;
-    stroke: $neutral-color-20;
-}
-.highcharts-map-series .highcharts-point-hover {
-    transition: fill 0ms, fill-opacity 0ms;
-    fill-opacity: 0.5;
-    stroke-width: 2px;
-}
-.highcharts-mapline-series .highcharts-point {
-    fill: none;
-}
-.highcharts-heatmap-series .highcharts-point {
-    stroke-width: 0;
-}
-.highcharts-map-navigation {
-    font-size: 1.3em;
-    font-weight: bold;
-    text-align: center;
-}
-.highcharts-coloraxis {
-    stroke-width: 0;
-}
-.highcharts-coloraxis-marker {
-    fill: $neutral-color-40;
-}
-.highcharts-null-point {
-    fill: $neutral-color-3;
-}
-
-/* 3d charts */
-.highcharts-3d-frame {
-    fill: transparent;
-}
-
-/* Exporting module */
-.highcharts-contextbutton {
-    fill: $context-button-background; /* needed to capture hover */
-    stroke: none;
-    stroke-linecap: round;
-}
-.highcharts-contextbutton:hover {
-    fill: $neutral-color-10;
-    stroke: $neutral-color-10;
-}
-.highcharts-button-symbol {
-    stroke: $neutral-color-60;
-    stroke-width: 3px;
-}
-.highcharts-menu {
-    border: 1px solid $neutral-color-40;
-    background: $background-color;
-    padding: 5px 0;
-    box-shadow: 3px 3px 10px #888;
-}
-.highcharts-menu-item {
-    padding: 0.5em 1em;
-    background: none;
-    color: $neutral-color-80;
-    cursor: pointer;
-    transition: background 250ms, color 250ms;
-}
-.highcharts-menu-item:hover {
-    background: $highlight-color-80;
-    color: $background-color;
-}
-
-/* Drilldown module */
-.highcharts-drilldown-point {
-    cursor: pointer;
-}
-.highcharts-drilldown-data-label text,
-text.highcharts-drilldown-data-label,
-.highcharts-drilldown-axis-label {
-    cursor: pointer;
-    fill: $highlight-color-100;
-    font-weight: bold;
-    text-decoration: underline;
-}
-
-/* No-data module */
-.highcharts-no-data text {
-    font-weight: bold;
-    font-size: 12px;
-    fill: $neutral-color-60;
-}
-
-/* Drag-panes module */
-.highcharts-axis-resizer {
-    cursor: ns-resize;
-    stroke: black;
-    stroke-width: 2px;
-}
-
-/* Bullet type series */
-.highcharts-bullet-target {
-    stroke-width: 0;
-}
-
-/* Lineargauge type series */
-.highcharts-lineargauge-target {
-	stroke-width: 1px;
-	stroke: $neutral-color-80;
-}
-.highcharts-lineargauge-target-line {
-	stroke-width: 1px;
-    stroke: $neutral-color-80;
-}
-
-/* Annotations module */
-.highcharts-annotation-label-box {
-    stroke-width: 1px;
-    stroke: $neutral-color-100;
-    fill: $neutral-color-100;
-    fill-opacity: 0.75;
-}
-.highcharts-annotation-label text {
-    fill: $neutral-color-10;
-}
-
-/* Gantt */
-.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {
-    cursor: pointer;
-}
-.highcharts-point-connecting-path {
-    fill: none;
-}
-.highcharts-grid-axis .highcharts-tick {
-    stroke-width: 1px;
-}
-.highcharts-grid-axis .highcharts-axis-line {
-    stroke-width: 1px;
-}
-

+ 0 - 265
node_modules/highcharts/css/stocktools/gui.css

@@ -1,265 +0,0 @@
-.chart:-webkit-full-screen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart:-moz-full-screen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart:-ms-fullscreen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart:fullscreen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart {
-  width: 100%;
-  float: left;
-  height: 400px;
-  position: relative;
-}
-
-.highcharts-draw-mode {
-  cursor: crosshair;
-}
-
-.highcharts-bindings-wrapper * {
-  box-sizing: content-box;
-}
-
-.highcharts-bindings-wrapper {
-  display: block;
-  width: 40px;
-  height: 100%;
-  position: absolute;
-  z-index: 10;
-}
-
-.highcharts-stocktools-popup {
-  width: 100%;
-}
-
-.highcharts-menu-wrapper {
-  float: left;
-  width: 40px;
-  height: calc(100% - 50px);
-  overflow: hidden;
-  position: absolute;
-  left: 0px;
-  top: 0px;
-  padding: 10px;
-}
-
-.highcharts-bindings-wrapper .highcharts-submenu-wrapper {
-  display: none;
-  position: absolute;
-  z-index: 10;
-  left: 0px;
-  top: 0px;
-  background: #fff;
-  width: 40px;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-wrapper {
-  text-align: center;
-  width: 40px;
-  position: absolute;
-  left: 10px;
-  bottom: 10px;
-  font-size: 1.5em;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-wrapper > div {
-  cursor: pointer;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-down {
-  background-size: cover;
-  /* Safari */
-  -webkit-transform: rotate(90deg);
-  /* Firefox */
-  -moz-transform: rotate(90deg);
-  /* IE */
-  -ms-transform: rotate(90deg);
-  /* Opera */
-  -o-transform: rotate(90deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
-  transform: rotate(90deg);
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-up {
-  background-size: cover;
-  outline: none;
-  display: inline-block;
-  width: 25px;
-  cursor: pointer;
-  -webkit-user-select: none;
-  /* Chrome/Safari */
-  -moz-user-select: none;
-  /* Firefox */
-  -ms-user-select: none;
-  /* IE10+ */
-  /* Rules below not implemented in browsers yet */
-  -o-user-select: none;
-  user-select: none;
-  /* Safari */
-  -webkit-transform: rotate(-90deg);
-  /* Firefox */
-  -moz-transform: rotate(-90deg);
-  /* IE */
-  -ms-transform: rotate(-90deg);
-  /* Opera */
-  -o-transform: rotate(-90deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
-  transform: rotate(-90deg);
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-right {
-  background-repeat: no-repeat;
-  background-position: right bottom;
-  background-size: contain;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-left.highcharts-arrow-right {
-  /* Safari */
-  -webkit-transform: rotate(0deg);
-  /* Firefox */
-  -moz-transform: rotate(0deg);
-  /* IE */
-  -ms-transform: rotate(0deg);
-  /* Opera */
-  -o-transform: rotate(0deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-  transform: rotate(0deg);
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-left {
-  /* Safari */
-  -webkit-transform: rotate(180deg);
-  /* Firefox */
-  -moz-transform: rotate(180deg);
-  /* IE */
-  -ms-transform: rotate(180deg);
-  /* Opera */
-  -o-transform: rotate(180deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-  transform: rotate(180deg);
-}
-
-.highcharts-bindings-wrapper ul {
-  width: 40px;
-  /* 30px spacing for arrows to scroll */
-  margin: 0px;
-  padding: 0px;
-  float: left;
-  transition: margin 250ms;
-}
-
-.highcharts-bindings-wrapper > ul {
-  width: 40px;
-  position: relative;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li {
-  list-style: none;
-  margin-bottom: 3px;
-  padding: 0px;
-  clear: both;
-  width: 100%;
-  height: 40px;
-  cursor: pointer;
-  position: relative;
-  background-color: #f7f7f7;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn {
-  cursor: default;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn > .highcharts-menu-item-btn {
-  opacity: 0.5;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn.highcharts-active {
-  background: #f7f7f7;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn .highcharts-menu-item-btn:hover {
-  background-color: transparent;
-}
-
-.highcharts-bindings-wrapper li > span.highcharts-menu-item-btn {
-  display: block;
-  float: left;
-  width: 100%;
-  height: 100%;
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-}
-
-.highcharts-submenu-wrapper li > span.highcharts-menu-item-btn {
-  width: 40px;
-}
-
-.highcharts-bindings-wrapper li > span.highcharts-submenu-item-arrow {
-  float: left;
-  width: 10px;
-  height: 100%;
-  cursor: pointer;
-  position: absolute;
-  bottom: 0px;
-  right: 0px;
-}
-
-.highcharts-bindings-wrapper li.highcharts-separator {
-  height: 15px;
-  background-color: transparent;
-  width: 36px;
-  pointer-events: none;
-}
-
-.highcharts-bindings-wrapper li.highcharts-separator > span.highcharts-menu-item-btn {
-  width: 100%;
-}
-
-.highcharts-bindings-wrapper li.highcharts-active > span.highcharts-menu-item-btn,
-.highcharts-bindings-wrapper li > span.highcharts-menu-item-btn:hover,
-.highcharts-bindings-wrapper .highcharts-arrow-wrapper > div:hover,
-.highcharts-bindings-wrapper li.highcharts-active,
-.highcharts-toggle-toolbar:hover {
-  background-color: #e6ebf5;
-  transition: background-color 100ms;
-}
-
-.highcharts-toggle-toolbar {
-  position: absolute;
-  cursor: pointer;
-  width: 10px;
-  height: 10px;
-  background-color: #f7f7f7;
-  background-size: cover;
-}
-
-.highcharts-hide {
-  display: none;
-}
-
-.highcharts-bindings-wrapper li:hover, .highcharts-submenu-item-arrow:hover {
-  background-color: #e6ebf5;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-down, .highcharts-bindings-wrapper .highcharts-arrow-up {
-  width: 50%;
-  height: 20px;
-  float: left;
-}

+ 0 - 265
node_modules/highcharts/css/stocktools/gui.scss

@@ -1,265 +0,0 @@
-// Colors for buttons.
-$button-background-color: #f7f7f7;
-$button-hover-color: #e6ebf5;
-
-.chart:-webkit-full-screen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart:-moz-full-screen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart:-ms-fullscreen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart:fullscreen {
-  width: 100%;
-  height: 100%;
-}
-
-.chart {
-  width: 100%;
-  float: left;
-  height: 400px;
-  position: relative;
-}
-
-.highcharts-draw-mode { cursor: crosshair; }
-
-.highcharts-bindings-wrapper * {
-  box-sizing: content-box;
-}
-
-.highcharts-bindings-wrapper {
-  display: block;
-  width: 40px;
-  height: 100%;
-  position: absolute;
-  z-index: 10;
-}
-
-.highcharts-stocktools-popup {
-  width: 100%;
-}
-
-.highcharts-menu-wrapper {
-  float: left;
-  width: 40px;
-  height: calc(100% - 50px);
-  overflow: hidden;
-  position: absolute;
-  left: 0px;
-  top: 0px;
-  padding: 10px;
-}
-
-.highcharts-bindings-wrapper .highcharts-submenu-wrapper {
-  display: none;
-  position: absolute;
-  z-index: 10;
-  left: 0px;
-  top: 0px;
-  background: #fff;
-  width: 40px;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-wrapper {
-  text-align: center;
-  width: 40px;
-  position: absolute;
-  left: 10px;
-  bottom: 10px;
-  font-size: 1.5em;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-wrapper > div {
-  cursor: pointer;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-down {
-  background-size: cover;
-  /* Safari */
-  -webkit-transform: rotate(90deg);
-  /* Firefox */
-  -moz-transform: rotate(90deg);
-  /* IE */
-  -ms-transform: rotate(90deg);
-  /* Opera */
-  -o-transform: rotate(90deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
-  transform: rotate(90deg);
-}
-.highcharts-bindings-wrapper .highcharts-arrow-up {
-  background-size: cover;
-  outline: none;
-  display: inline-block;
-  width: 25px;
-  cursor: pointer;
-  -webkit-user-select: none;
-  /* Chrome/Safari */
-  -moz-user-select: none;
-  /* Firefox */
-  -ms-user-select: none;
-  /* IE10+ */
-  /* Rules below not implemented in browsers yet */
-  -o-user-select: none;
-  user-select: none;
-  /* Safari */
-  -webkit-transform: rotate(-90deg);
-  /* Firefox */
-  -moz-transform: rotate(-90deg);
-  /* IE */
-  -ms-transform: rotate(-90deg);
-  /* Opera */
-  -o-transform: rotate(-90deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
-  transform: rotate(-90deg);
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-right {
-  background-repeat: no-repeat;
-  background-position: right bottom;
-  background-size: contain;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-left.highcharts-arrow-right {
-   /* Safari */
-  -webkit-transform: rotate(0deg);
-  /* Firefox */
-  -moz-transform: rotate(0deg);
-  /* IE */
-  -ms-transform: rotate(0deg);
-  /* Opera */
-  -o-transform: rotate(0deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-  transform: rotate(0deg);
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-left {
-  /* Safari */
-  -webkit-transform: rotate(180deg);
-  /* Firefox */
-  -moz-transform: rotate(180deg);
-  /* IE */
-  -ms-transform: rotate(180deg);
-  /* Opera */
-  -o-transform: rotate(180deg);
-  /* Internet Explorer */
-  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-  transform: rotate(180deg);
-}
-
-.highcharts-bindings-wrapper ul {
-  width: 40px;
-  /* 30px spacing for arrows to scroll */
-  margin: 0px;
-  padding: 0px;
-  float: left;
-  transition: margin 250ms;
-}
-
-.highcharts-bindings-wrapper>ul {
-  width: 40px;
-  position: relative;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li {
-  list-style: none;
-  margin-bottom: 3px;
-  padding: 0px;
-  clear: both;
-  width: 100%;
-  height: 40px;
-  cursor: pointer;
-  position: relative;
-  background-color: $button-background-color;
-}
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn {
-  cursor: default;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn > .highcharts-menu-item-btn {
-  opacity: 0.5;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn.highcharts-active {
-  background: $button-background-color;
-}
-
-.highcharts-bindings-wrapper .highcharts-stocktools-toolbar li.highcharts-disabled-btn .highcharts-menu-item-btn:hover {
-  background-color: transparent;
-}
-
-.highcharts-bindings-wrapper li>span.highcharts-menu-item-btn {
-  display: block;
-  float: left;
-  width: 100%;
-  height: 100%;
-  background-repeat: no-repeat;
-  background-position: 50% 50%;
-}
-
-.highcharts-submenu-wrapper li>span.highcharts-menu-item-btn {
-  width: 40px;
-}
-
-.highcharts-bindings-wrapper li>span.highcharts-submenu-item-arrow {
-  float: left;
-  width: 10px;
-  height: 100%;
-  cursor: pointer;
-  position: absolute;
-  bottom: 0px;
-  right: 0px;
-}
-
-.highcharts-bindings-wrapper li.highcharts-separator {
-  height: 15px;
-  background-color: transparent;
-  width: 36px;
-  pointer-events: none;
-}
-
-.highcharts-bindings-wrapper li.highcharts-separator>span.highcharts-menu-item-btn {
-  width: 100%;
-}
-
-.highcharts-bindings-wrapper li.highcharts-active>span.highcharts-menu-item-btn,
-.highcharts-bindings-wrapper li>span.highcharts-menu-item-btn:hover,
-.highcharts-bindings-wrapper .highcharts-arrow-wrapper > div:hover,
-.highcharts-bindings-wrapper li.highcharts-active,
-.highcharts-toggle-toolbar:hover {
-  background-color: $button-hover-color;
-  transition: background-color 100ms;
-}
-
-.highcharts-toggle-toolbar {
-  position: absolute;
-  cursor: pointer;
-  width: 10px;
-  height: 10px;
-  background-color: $button-background-color;
-  background-size: cover;
-}
-
-.highcharts-hide {
-  display: none;
-}
-
-.highcharts-bindings-wrapper li:hover, .highcharts-submenu-item-arrow:hover {
-  background-color: $button-hover-color;
-}
-
-.highcharts-bindings-wrapper .highcharts-arrow-down, .highcharts-bindings-wrapper .highcharts-arrow-up {
-  width: 50%;
-  height: 20px;
-  float: left;
-}

+ 0 - 1011
node_modules/highcharts/css/themes/dark-unica.css

@@ -1,1011 +0,0 @@
-@import 'https://fonts.googleapis.com/css?family=Unica+One';
-.highcharts-title, .highcharts-subtitle {
-  text-transform: uppercase;
-}
-
-.highcharts-tooltip text {
-  fill: #F0F0F0;
-}
-
-.highcharts-range-selector-buttons text {
-  fill: silver;
-}
-
-.highcharts-yaxis-grid {
-  stroke-width: 1px;
-}
-
-.highcharts-axis-labels, .highcharts-axis-title {
-  fill: #E0E0E3;
-}
-
-.highcharts-navigator .highcharts-navigator-handle {
-  fill: #666;
-  stroke: #aaa;
-}
-
-.highcharts-navigator .highcharts-navigator-outline {
-  stroke: #CCC;
-}
-
-.highcharts-navigator .highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke: #505053;
-}
-
-.highcharts-scrollbar .highcharts-scrollbar-rifles {
-  stroke: #fff;
-}
-
-.highcharts-scrollbar .highcharts-scrollbar-button {
-  stroke: #606063;
-  fill: #606063;
-}
-
-.highcharts-scrollbar .highcharts-scrollbar-arrow {
-  fill: #CCC;
-}
-
-.highcharts-scrollbar .highcharts-scrollbar-thumb {
-  fill: #808083;
-  stroke: #808083;
-}
-
-.highcharts-contextbutton .highcharts-button-symbol {
-  stroke: #DDDDDD;
-}
-
-/**
- * @license Highcharts
- *
- * (c) 2009-2016 Torstein Honsi
- *
- * License: www.highcharts.com/license
- */
-.highcharts-container {
-  position: relative;
-  overflow: hidden;
-  width: 100%;
-  height: 100%;
-  text-align: left;
-  line-height: normal;
-  z-index: 0;
-  /* #1072 */
-  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-  font-family: "Unica One", Arial, Helvetica, sans-serif;
-  font-size: 12px;
-  user-select: none;
-}
-
-.highcharts-root {
-  display: block;
-}
-
-.highcharts-root text {
-  stroke-width: 0;
-}
-
-.highcharts-strong {
-  font-weight: bold;
-}
-
-.highcharts-emphasized {
-  font-style: italic;
-}
-
-.highcharts-anchor {
-  cursor: pointer;
-}
-
-.highcharts-background {
-  fill: #2a2a2b;
-}
-
-.highcharts-plot-border, .highcharts-plot-background {
-  fill: none;
-}
-
-.highcharts-label-box {
-  fill: none;
-}
-
-.highcharts-button-box {
-  fill: inherit;
-}
-
-.highcharts-tracker-line {
-  stroke-linejoin: round;
-  stroke: rgba(192, 192, 192, 0.0001);
-  stroke-width: 22;
-  fill: none;
-}
-
-.highcharts-tracker-area {
-  fill: rgba(192, 192, 192, 0.0001);
-  stroke-width: 0;
-}
-
-/* Titles */
-.highcharts-title {
-  fill: #E0E0E3;
-  font-size: 20px;
-}
-
-.highcharts-subtitle {
-  fill: #E0E0E3;
-}
-
-/* Axes */
-.highcharts-axis-line {
-  fill: none;
-  stroke: #707073;
-}
-
-.highcharts-yaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-axis-title {
-  fill: #E0E0E3;
-}
-
-.highcharts-axis-labels {
-  fill: #E0E0E3;
-  cursor: default;
-  font-size: 0.9em;
-}
-
-.highcharts-grid-line {
-  fill: none;
-  stroke: #707073;
-}
-
-.highcharts-xaxis-grid .highcharts-grid-line {
-  stroke-width: 0px;
-}
-
-.highcharts-tick {
-  stroke: #707073;
-}
-
-.highcharts-yaxis .highcharts-tick {
-  stroke-width: 0;
-}
-
-.highcharts-minor-grid-line {
-  stroke: #505053;
-}
-
-.highcharts-crosshair-thin {
-  stroke-width: 1px;
-  stroke: #606063;
-}
-
-.highcharts-crosshair-category {
-  stroke: #707073;
-  stroke-opacity: 0.25;
-}
-
-/* Credits */
-.highcharts-credits {
-  cursor: pointer;
-  fill: #666;
-  font-size: 0.7em;
-  transition: fill 250ms, font-size 250ms;
-}
-
-.highcharts-credits:hover {
-  fill: black;
-  font-size: 1em;
-}
-
-/* Tooltip */
-.highcharts-tooltip {
-  cursor: default;
-  pointer-events: none;
-  white-space: nowrap;
-  transition: stroke 150ms;
-}
-
-.highcharts-tooltip text {
-  fill: #E0E0E3;
-}
-
-.highcharts-tooltip .highcharts-header {
-  font-size: 0.85em;
-}
-
-.highcharts-tooltip-box {
-  stroke-width: 1px;
-  fill: rgba(0, 0, 0, 0.85);
-  fill-opacity: 0.85;
-}
-
-.highcharts-tooltip-box .highcharts-label-box {
-  fill: rgba(0, 0, 0, 0.85);
-  fill-opacity: 0.85;
-}
-
-div.highcharts-tooltip {
-  filter: none;
-}
-
-.highcharts-selection-marker {
-  fill: #335cad;
-  fill-opacity: 0.25;
-}
-
-.highcharts-graph {
-  fill: none;
-  stroke-width: 2px;
-  stroke-linecap: round;
-  stroke-linejoin: round;
-}
-
-.highcharts-empty-series {
-  stroke-width: 1px;
-  fill: none;
-  stroke: #606063;
-}
-
-.highcharts-state-hover .highcharts-graph {
-  stroke-width: 3;
-}
-
-.highcharts-point-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-series-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-state-hover path {
-  transition: stroke-width 50ms;
-  /* quick in */
-}
-
-.highcharts-state-normal path {
-  transition: stroke-width 250ms;
-  /* slow out */
-}
-
-/* Legend hover affects points and series */
-g.highcharts-series,
-.highcharts-point,
-.highcharts-markers,
-.highcharts-data-labels {
-  transition: opacity 250ms;
-}
-
-.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
-.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),
-.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
-.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
-  opacity: 0.2;
-}
-
-/* Series options */
-/* Default colors */
-.highcharts-color-0 {
-  fill: #2b908f;
-  stroke: #2b908f;
-}
-
-.highcharts-color-1 {
-  fill: #90ee7e;
-  stroke: #90ee7e;
-}
-
-.highcharts-color-2 {
-  fill: #f45b5b;
-  stroke: #f45b5b;
-}
-
-.highcharts-color-3 {
-  fill: #7798BF;
-  stroke: #7798BF;
-}
-
-.highcharts-color-4 {
-  fill: #aaeeee;
-  stroke: #aaeeee;
-}
-
-.highcharts-color-5 {
-  fill: #ff0066;
-  stroke: #ff0066;
-}
-
-.highcharts-color-6 {
-  fill: #eeaaee;
-  stroke: #eeaaee;
-}
-
-.highcharts-color-7 {
-  fill: #55BF3B;
-  stroke: #55BF3B;
-}
-
-.highcharts-color-8 {
-  fill: #DF5353;
-  stroke: #DF5353;
-}
-
-.highcharts-color-9 {
-  fill: #7798BF;
-  stroke: #7798BF;
-}
-
-.highcharts-color-10 {
-  fill: #aaeeee;
-  stroke: #aaeeee;
-}
-
-.highcharts-area {
-  fill-opacity: 0.75;
-  stroke-width: 0;
-}
-
-.highcharts-markers {
-  stroke-width: 1px;
-  stroke: #2a2a2b;
-}
-
-.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),
-.highcharts-a11y-marker-hidden {
-  opacity: 0;
-}
-
-.highcharts-point {
-  stroke-width: 1px;
-}
-
-.highcharts-dense-data .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-data-label {
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-.highcharts-data-label-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-data-label text, text.highcharts-data-label {
-  fill: #B0B0B3;
-}
-
-.highcharts-data-label-connector {
-  fill: none;
-}
-
-.highcharts-data-label-hidden {
-  pointer-events: none;
-}
-
-.highcharts-halo {
-  fill-opacity: 0.25;
-  stroke-width: 0;
-}
-
-.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
-.highcharts-markers .highcharts-point-select {
-  fill: #606063;
-  stroke: #fff;
-}
-
-.highcharts-column-series rect.highcharts-point {
-  stroke: #2a2a2b;
-}
-
-.highcharts-column-series .highcharts-point {
-  transition: fill-opacity 250ms;
-}
-
-.highcharts-column-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pie-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #2a2a2b;
-}
-
-.highcharts-pie-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #2a2a2b;
-}
-
-.highcharts-funnel-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-pyramid-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #2a2a2b;
-}
-
-.highcharts-pyramid-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pyramid-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-solidgauge-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-treemap-series .highcharts-point {
-  stroke-width: 1px;
-  stroke: #707073;
-  transition: stroke 250ms, fill 250ms, fill-opacity 250ms;
-}
-
-.highcharts-treemap-series .highcharts-point-hover {
-  stroke: #666;
-  transition: stroke 25ms, fill 25ms, fill-opacity 25ms;
-}
-
-.highcharts-treemap-series .highcharts-above-level {
-  display: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node {
-  fill: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive {
-  fill-opacity: 0.15;
-  cursor: pointer;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive:hover {
-  fill-opacity: 0.75;
-}
-
-.highcharts-vector-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-windbarb-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-lollipop-stem {
-  stroke: #fff;
-}
-
-.highcharts-focus-border {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-legend-item-hidden .highcharts-focus-border {
-  fill: none !important;
-}
-
-/* Legend */
-.highcharts-legend-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item > text {
-  fill: #E0E0E3;
-  font-weight: bold;
-  font-size: 1em;
-  cursor: pointer;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item:hover text {
-  fill: #fff;
-}
-
-.highcharts-legend-item-hidden * {
-  fill: #606063 !important;
-  stroke: #606063 !important;
-  transition: fill 250ms;
-}
-
-.highcharts-legend-nav-active {
-  fill: #F0F0F3;
-  cursor: pointer;
-}
-
-.highcharts-legend-nav-inactive {
-  fill: #606063;
-}
-
-circle.highcharts-legend-nav-active, circle.highcharts-legend-nav-inactive {
-  /* tracker */
-  fill: rgba(192, 192, 192, 0.0001);
-}
-
-.highcharts-legend-title-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-/* Bubble legend */
-.highcharts-bubble-legend-symbol {
-  stroke-width: 2;
-  fill-opacity: 0.5;
-}
-
-.highcharts-bubble-legend-connectors {
-  stroke-width: 1;
-}
-
-.highcharts-bubble-legend-labels {
-  fill: #E0E0E3;
-}
-
-/* Loading */
-.highcharts-loading {
-  position: absolute;
-  background-color: #2a2a2b;
-  opacity: 0.5;
-  text-align: center;
-  z-index: 10;
-  transition: opacity 250ms;
-}
-
-.highcharts-loading-hidden {
-  height: 0 !important;
-  opacity: 0;
-  overflow: hidden;
-  transition: opacity 250ms, height 250ms step-end;
-}
-
-.highcharts-loading-inner {
-  font-weight: bold;
-  position: relative;
-  top: 45%;
-}
-
-/* Plot bands and polar pane backgrounds */
-.highcharts-plot-band, .highcharts-pane {
-  fill: #fff;
-  fill-opacity: 0.05;
-}
-
-.highcharts-plot-line {
-  fill: none;
-  stroke: #666;
-  stroke-width: 1px;
-}
-
-/* Highcharts More and modules */
-.highcharts-boxplot-box {
-  fill: #2a2a2b;
-}
-
-.highcharts-boxplot-median {
-  stroke-width: 2px;
-}
-
-.highcharts-bubble-series .highcharts-point {
-  fill-opacity: 0.5;
-}
-
-.highcharts-errorbar-series .highcharts-point {
-  stroke: #fff;
-}
-
-.highcharts-gauge-series .highcharts-data-label-box {
-  stroke: #606063;
-  stroke-width: 1px;
-}
-
-.highcharts-gauge-series .highcharts-dial {
-  fill: #fff;
-  stroke-width: 0;
-}
-
-.highcharts-polygon-series .highcharts-graph {
-  fill: inherit;
-  stroke-width: 0;
-}
-
-.highcharts-waterfall-series .highcharts-graph {
-  stroke: #E0E0E3;
-  stroke-dasharray: 1, 3;
-}
-
-.highcharts-sankey-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-sankey-series .highcharts-link {
-  transition: fill 250ms, fill-opacity 250ms;
-  fill-opacity: 0.5;
-}
-
-.highcharts-sankey-series .highcharts-point-hover.highcharts-link {
-  transition: fill 50ms, fill-opacity 50ms;
-  fill-opacity: 1;
-}
-
-.highcharts-venn-series .highcharts-point {
-  fill-opacity: 0.75;
-  stroke: #606063;
-  transition: stroke 250ms, fill-opacity 250ms;
-}
-
-.highcharts-venn-series .highcharts-point-hover {
-  fill-opacity: 1;
-  stroke: #606063;
-}
-
-/* Highstock */
-.highcharts-navigator-mask-outside {
-  fill-opacity: 0;
-}
-
-.highcharts-navigator-mask-inside {
-  fill: rgba(255, 255, 255, 0.1);
-  /* navigator.maskFill option */
-  fill-opacity: 0.25;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-outline {
-  stroke: #606063;
-  fill: none;
-}
-
-.highcharts-navigator-handle {
-  stroke: #606063;
-  fill: #505053;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-series {
-  fill: #7798BF;
-  stroke: #A6C7ED;
-}
-
-.highcharts-navigator-series .highcharts-graph {
-  stroke-width: 1px;
-}
-
-.highcharts-navigator-series .highcharts-area {
-  fill-opacity: 0.05;
-}
-
-.highcharts-navigator-xaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke-width: 1px;
-  stroke: #707073;
-}
-
-.highcharts-navigator-xaxis.highcharts-axis-labels {
-  fill: #666;
-}
-
-.highcharts-navigator-yaxis .highcharts-grid-line {
-  stroke-width: 0;
-}
-
-.highcharts-scrollbar-thumb {
-  fill: #606063;
-  stroke: #606063;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-button {
-  fill: #707073;
-  stroke: #606063;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-arrow {
-  fill: #E0E0E3;
-}
-
-.highcharts-scrollbar-rifles {
-  stroke: #E0E0E3;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-track {
-  fill: #404043;
-  stroke: #404043;
-  stroke-width: 1px;
-}
-
-.highcharts-button {
-  fill: #505053;
-  stroke: #606063;
-  cursor: default;
-  stroke-width: 1px;
-  transition: fill 250ms;
-}
-
-.highcharts-button text {
-  fill: #ccc;
-}
-
-.highcharts-button-hover {
-  transition: fill 0ms;
-  fill: #707073;
-  stroke: #606063;
-}
-
-.highcharts-button-hover text {
-  fill: #fff;
-}
-
-.highcharts-button-pressed {
-  font-weight: bold;
-  fill: #000003;
-  stroke: #606063;
-}
-
-.highcharts-button-pressed text {
-  fill: #fff;
-  font-weight: bold;
-}
-
-.highcharts-button-disabled text {
-  fill: #ccc;
-}
-
-.highcharts-range-selector-buttons .highcharts-button {
-  stroke-width: 0px;
-}
-
-.highcharts-range-label rect {
-  fill: none;
-}
-
-.highcharts-range-label text {
-  fill: #E0E0E3;
-}
-
-.highcharts-range-input rect {
-  fill: none;
-}
-
-.highcharts-range-input text {
-  fill: silver;
-}
-
-.highcharts-range-input {
-  stroke-width: 1px;
-  stroke: #505053;
-}
-
-input.highcharts-range-selector {
-  position: absolute;
-  border: 0;
-  width: 1px;
-  /* Chrome needs a pixel to see it */
-  height: 1px;
-  padding: 0;
-  text-align: center;
-  left: -9em;
-  /* #4798 */
-}
-
-.highcharts-crosshair-label text {
-  fill: #2a2a2b;
-  font-size: 1.1em;
-}
-
-.highcharts-crosshair-label .highcharts-label-box {
-  fill: inherit;
-}
-
-.highcharts-candlestick-series .highcharts-point {
-  stroke: #fff;
-  stroke-width: 1px;
-}
-
-.highcharts-candlestick-series .highcharts-point-up {
-  fill: #2a2a2b;
-}
-
-.highcharts-ohlc-series .highcharts-point-hover {
-  stroke-width: 3px;
-}
-
-.highcharts-flags-series .highcharts-point .highcharts-label-box {
-  stroke: #666;
-  fill: #2a2a2b;
-  transition: fill 250ms;
-}
-
-.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
-  stroke: #fff;
-  fill: #707073;
-}
-
-.highcharts-flags-series .highcharts-point text {
-  fill: #fff;
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-/* Highmaps */
-.highcharts-map-series .highcharts-point {
-  transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;
-  stroke: #606063;
-}
-
-.highcharts-map-series .highcharts-point-hover {
-  transition: fill 0ms, fill-opacity 0ms;
-  fill-opacity: 0.5;
-  stroke-width: 2px;
-}
-
-.highcharts-mapline-series .highcharts-point {
-  fill: none;
-}
-
-.highcharts-heatmap-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-map-navigation {
-  font-size: 1.3em;
-  font-weight: bold;
-  text-align: center;
-}
-
-.highcharts-coloraxis {
-  stroke-width: 0;
-}
-
-.highcharts-coloraxis-marker {
-  fill: #666;
-}
-
-.highcharts-null-point {
-  fill: #f7f7f7;
-}
-
-/* 3d charts */
-.highcharts-3d-frame {
-  fill: transparent;
-}
-
-/* Exporting module */
-.highcharts-contextbutton {
-  fill: #505053;
-  /* needed to capture hover */
-  stroke: none;
-  stroke-linecap: round;
-}
-
-.highcharts-contextbutton:hover {
-  fill: #707073;
-  stroke: #707073;
-}
-
-.highcharts-button-symbol {
-  stroke: #E0E0E3;
-  stroke-width: 3px;
-}
-
-.highcharts-menu {
-  border: 1px solid #666;
-  background: #2a2a2b;
-  padding: 5px 0;
-  box-shadow: 3px 3px 10px #888;
-}
-
-.highcharts-menu-item {
-  padding: 0.5em 1em;
-  background: none;
-  color: #E0E0E3;
-  cursor: pointer;
-  transition: background 250ms, color 250ms;
-}
-
-.highcharts-menu-item:hover {
-  background: #335cad;
-  color: #2a2a2b;
-}
-
-/* Drilldown module */
-.highcharts-drilldown-point {
-  cursor: pointer;
-}
-
-.highcharts-drilldown-data-label text,
-text.highcharts-drilldown-data-label,
-.highcharts-drilldown-axis-label {
-  cursor: pointer;
-  fill: #F0F0F3;
-  font-weight: bold;
-  text-decoration: underline;
-}
-
-/* No-data module */
-.highcharts-no-data text {
-  font-weight: bold;
-  font-size: 12px;
-  fill: #E0E0E3;
-}
-
-/* Drag-panes module */
-.highcharts-axis-resizer {
-  cursor: ns-resize;
-  stroke: black;
-  stroke-width: 2px;
-}
-
-/* Bullet type series */
-.highcharts-bullet-target {
-  stroke-width: 0;
-}
-
-/* Lineargauge type series */
-.highcharts-lineargauge-target {
-  stroke-width: 1px;
-  stroke: #E0E0E3;
-}
-
-.highcharts-lineargauge-target-line {
-  stroke-width: 1px;
-  stroke: #E0E0E3;
-}
-
-/* Annotations module */
-.highcharts-annotation-label-box {
-  stroke-width: 1px;
-  stroke: #fff;
-  fill: #fff;
-  fill-opacity: 0.75;
-}
-
-.highcharts-annotation-label text {
-  fill: #707073;
-}
-
-/* Gantt */
-.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {
-  cursor: pointer;
-}
-
-.highcharts-point-connecting-path {
-  fill: none;
-}
-
-.highcharts-grid-axis .highcharts-tick {
-  stroke-width: 1px;
-}
-
-.highcharts-grid-axis .highcharts-axis-line {
-  stroke-width: 1px;
-}

+ 0 - 122
node_modules/highcharts/css/themes/dark-unica.scss

@@ -1,122 +0,0 @@
-// Global font
-@import 'https://fonts.googleapis.com/css?family=Unica+One';
-
-// Chart background, point stroke for markers and columns etc
-$background-color: #2a2a2b;
-
-// Colors for data series and points.
-$colors: #2b908f #90ee7e #f45b5b #7798BF #aaeeee #ff0066 #eeaaee #55BF3B #DF5353 #7798BF #aaeeee;
-
-// Neutral colors
-$neutral-color-100: #fff;
-$neutral-color-80: #E0E0E3;
-$neutral-color-60: #E0E0E3;
-$neutral-color-40: #666;
-$neutral-color-20: #606063;
-$neutral-color-10: #707073;
-$neutral-color-5: #505053;
-
-// Colored, shades
-$highlight-color-100: #F0F0F3;
-$highlight-color-60: rgba(255,255,255,0.1);
-$highlight-color-20: $neutral-color-10;
-
-// Data-labels
-$data-label-color: #B0B0B3;
-
-// Fonts
-$font-family: 'Unica One', Arial, Helvetica, sans-serif;
-$title-font-size: 20px;
-
-// Tooltip
-$tooltip-background: rgba(0, 0, 0, 0.85);
-
-// Range-selector
-$range-selector-input-text: silver;
-$range-selector-input-border: $neutral-color-5;
-
-// Buttons
-$highcharts-button-background: $neutral-color-5;
-$highcharts-button-text:  #ccc;
-
-$highcharts-button-pressed-background: #000003;
-$highcharts-button-pressed-text:  $neutral-color-100;
-
-$highcharts-button-hover-background: $neutral-color-10;
-$highcharts-button-hover-text:  $neutral-color-100;
-
-$context-button-background: $neutral-color-5;
-
-// Navigator
-$navigator-series-fill: #7798BF;
-$navigator-series-border: #A6C7ED;
-
-// Navigator
-$scrollbar-track-background: #404043;
-$scrollbar-track-border: #404043;
-
-// Titles
-.highcharts-title, .highcharts-subtitle {
-	text-transform: uppercase;
-}
-
-// Tooltip
-.highcharts-tooltip text { 
-	fill: #F0F0F0
-}
-
-// Range-selector
-.highcharts-range-selector-buttons text {
-	fill: silver;
-}
-
-// Axes
-.highcharts-yaxis-grid  {
-	stroke-width: 1px;
-}
-
-.highcharts-axis-labels, .highcharts-axis-title {
-	fill: #E0E0E3;
-}
-
-// Navigator
-.highcharts-navigator .highcharts-navigator-handle {
-  fill: $neutral-color-40;
-  stroke: #aaa;
-}
-
-.highcharts-navigator .highcharts-navigator-outline {
-  stroke: #CCC;
-}
-
-.highcharts-navigator .highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke: $neutral-color-5;
-} 
-
-// Scrollbar
-.highcharts-scrollbar .highcharts-scrollbar-rifles {
-  stroke: $neutral-color-100;
-}
-
-.highcharts-scrollbar .highcharts-scrollbar-button { 
-  stroke: #606063;
-  fill: #606063;
-}
-
-.highcharts-scrollbar .highcharts-scrollbar-arrow { 
-  fill: #CCC;
-}
-
-.highcharts-scrollbar .highcharts-scrollbar-thumb { 
-   fill: #808083;
-   stroke: #808083;
-}
-
-// Navigation
-.highcharts-contextbutton .highcharts-button-symbol { 
-   stroke: #DDDDDD;
-}
-
-@import '../highcharts';
-
-

+ 0 - 964
node_modules/highcharts/css/themes/grid-light.css

@@ -1,964 +0,0 @@
-@import 'https://fonts.googleapis.com/css?family=Dosis:400,600';
-.highcharts-title, .highcharts-subtitle, .highcharts-yaxis .highcharts-axis-title {
-  text-transform: uppercase;
-}
-
-.highcharts-title {
-  font-weight: bold;
-}
-
-/**
- * @license Highcharts
- *
- * (c) 2009-2016 Torstein Honsi
- *
- * License: www.highcharts.com/license
- */
-.highcharts-container {
-  position: relative;
-  overflow: hidden;
-  width: 100%;
-  height: 100%;
-  text-align: left;
-  line-height: normal;
-  z-index: 0;
-  /* #1072 */
-  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-  font-family: "Dosis", Arial, Helvetica, sans-serif;
-  font-size: 12px;
-  user-select: none;
-}
-
-.highcharts-root {
-  display: block;
-}
-
-.highcharts-root text {
-  stroke-width: 0;
-}
-
-.highcharts-strong {
-  font-weight: bold;
-}
-
-.highcharts-emphasized {
-  font-style: italic;
-}
-
-.highcharts-anchor {
-  cursor: pointer;
-}
-
-.highcharts-background {
-  fill: #ffffff;
-}
-
-.highcharts-plot-border, .highcharts-plot-background {
-  fill: none;
-}
-
-.highcharts-label-box {
-  fill: none;
-}
-
-.highcharts-button-box {
-  fill: inherit;
-}
-
-.highcharts-tracker-line {
-  stroke-linejoin: round;
-  stroke: rgba(192, 192, 192, 0.0001);
-  stroke-width: 22;
-  fill: none;
-}
-
-.highcharts-tracker-area {
-  fill: rgba(192, 192, 192, 0.0001);
-  stroke-width: 0;
-}
-
-/* Titles */
-.highcharts-title {
-  fill: #000;
-  font-size: 16px;
-}
-
-.highcharts-subtitle {
-  fill: #666666;
-}
-
-/* Axes */
-.highcharts-axis-line {
-  fill: none;
-  stroke: #ccd6eb;
-}
-
-.highcharts-yaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-axis-title {
-  fill: #666666;
-}
-
-.highcharts-axis-labels {
-  fill: #666666;
-  cursor: default;
-  font-size: 12px;
-}
-
-.highcharts-grid-line {
-  fill: none;
-  stroke: #e6e6e6;
-}
-
-.highcharts-xaxis-grid .highcharts-grid-line {
-  stroke-width: 1px;
-}
-
-.highcharts-tick {
-  stroke: #ccd6eb;
-}
-
-.highcharts-yaxis .highcharts-tick {
-  stroke-width: 0;
-}
-
-.highcharts-minor-grid-line {
-  stroke: #f2f2f2;
-}
-
-.highcharts-crosshair-thin {
-  stroke-width: 1px;
-  stroke: #cccccc;
-}
-
-.highcharts-crosshair-category {
-  stroke: #ccd6eb;
-  stroke-opacity: 0.25;
-}
-
-/* Credits */
-.highcharts-credits {
-  cursor: pointer;
-  fill: #999999;
-  font-size: 0.7em;
-  transition: fill 250ms, font-size 250ms;
-}
-
-.highcharts-credits:hover {
-  fill: black;
-  font-size: 1em;
-}
-
-/* Tooltip */
-.highcharts-tooltip {
-  cursor: default;
-  pointer-events: none;
-  white-space: nowrap;
-  transition: stroke 150ms;
-}
-
-.highcharts-tooltip text {
-  fill: #000;
-}
-
-.highcharts-tooltip .highcharts-header {
-  font-size: 0.85em;
-}
-
-.highcharts-tooltip-box {
-  stroke-width: 0px;
-  fill: rgba(219, 219, 216, 0.8);
-  fill-opacity: 0.85;
-}
-
-.highcharts-tooltip-box .highcharts-label-box {
-  fill: rgba(219, 219, 216, 0.8);
-  fill-opacity: 0.85;
-}
-
-div.highcharts-tooltip {
-  filter: none;
-}
-
-.highcharts-selection-marker {
-  fill: #335cad;
-  fill-opacity: 0.25;
-}
-
-.highcharts-graph {
-  fill: none;
-  stroke-width: 2px;
-  stroke-linecap: round;
-  stroke-linejoin: round;
-}
-
-.highcharts-empty-series {
-  stroke-width: 1px;
-  fill: none;
-  stroke: #cccccc;
-}
-
-.highcharts-state-hover .highcharts-graph {
-  stroke-width: 3;
-}
-
-.highcharts-point-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-series-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-state-hover path {
-  transition: stroke-width 50ms;
-  /* quick in */
-}
-
-.highcharts-state-normal path {
-  transition: stroke-width 250ms;
-  /* slow out */
-}
-
-/* Legend hover affects points and series */
-g.highcharts-series,
-.highcharts-point,
-.highcharts-markers,
-.highcharts-data-labels {
-  transition: opacity 250ms;
-}
-
-.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
-.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),
-.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
-.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
-  opacity: 0.2;
-}
-
-/* Series options */
-/* Default colors */
-.highcharts-color-0 {
-  fill: #7cb5ec;
-  stroke: #7cb5ec;
-}
-
-.highcharts-color-1 {
-  fill: #f7a35c;
-  stroke: #f7a35c;
-}
-
-.highcharts-color-2 {
-  fill: #90ee7e;
-  stroke: #90ee7e;
-}
-
-.highcharts-color-3 {
-  fill: #7798BF;
-  stroke: #7798BF;
-}
-
-.highcharts-color-4 {
-  fill: #aaeeee;
-  stroke: #aaeeee;
-}
-
-.highcharts-color-5 {
-  fill: #ff0066;
-  stroke: #ff0066;
-}
-
-.highcharts-color-6 {
-  fill: #eeaaee;
-  stroke: #eeaaee;
-}
-
-.highcharts-color-7 {
-  fill: #55BF3B;
-  stroke: #55BF3B;
-}
-
-.highcharts-color-8 {
-  fill: #DF5353;
-  stroke: #DF5353;
-}
-
-.highcharts-color-9 {
-  fill: #7798BF;
-  stroke: #7798BF;
-}
-
-.highcharts-color-10 {
-  fill: #aaeeee;
-  stroke: #aaeeee;
-}
-
-.highcharts-area {
-  fill-opacity: 0.75;
-  stroke-width: 0;
-}
-
-.highcharts-markers {
-  stroke-width: 1px;
-  stroke: #ffffff;
-}
-
-.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),
-.highcharts-a11y-marker-hidden {
-  opacity: 0;
-}
-
-.highcharts-point {
-  stroke-width: 1px;
-}
-
-.highcharts-dense-data .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-data-label {
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-.highcharts-data-label-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-data-label text, text.highcharts-data-label {
-  fill: #000;
-}
-
-.highcharts-data-label-connector {
-  fill: none;
-}
-
-.highcharts-data-label-hidden {
-  pointer-events: none;
-}
-
-.highcharts-halo {
-  fill-opacity: 0.25;
-  stroke-width: 0;
-}
-
-.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
-.highcharts-markers .highcharts-point-select {
-  fill: #cccccc;
-  stroke: #404048;
-}
-
-.highcharts-column-series rect.highcharts-point {
-  stroke: #ffffff;
-}
-
-.highcharts-column-series .highcharts-point {
-  transition: fill-opacity 250ms;
-}
-
-.highcharts-column-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pie-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #ffffff;
-}
-
-.highcharts-pie-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #ffffff;
-}
-
-.highcharts-funnel-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-pyramid-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: #ffffff;
-}
-
-.highcharts-pyramid-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pyramid-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-solidgauge-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-treemap-series .highcharts-point {
-  stroke-width: 1px;
-  stroke: #e6e6e6;
-  transition: stroke 250ms, fill 250ms, fill-opacity 250ms;
-}
-
-.highcharts-treemap-series .highcharts-point-hover {
-  stroke: #999999;
-  transition: stroke 25ms, fill 25ms, fill-opacity 25ms;
-}
-
-.highcharts-treemap-series .highcharts-above-level {
-  display: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node {
-  fill: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive {
-  fill-opacity: 0.15;
-  cursor: pointer;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive:hover {
-  fill-opacity: 0.75;
-}
-
-.highcharts-vector-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-windbarb-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-lollipop-stem {
-  stroke: #404048;
-}
-
-.highcharts-focus-border {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-legend-item-hidden .highcharts-focus-border {
-  fill: none !important;
-}
-
-/* Legend */
-.highcharts-legend-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item > text {
-  fill: #000;
-  font-weight: bold;
-  font-size: 13px;
-  cursor: pointer;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item:hover text {
-  fill: #404048;
-}
-
-.highcharts-legend-item-hidden * {
-  fill: #cccccc !important;
-  stroke: #cccccc !important;
-  transition: fill 250ms;
-}
-
-.highcharts-legend-nav-active {
-  fill: #003399;
-  cursor: pointer;
-}
-
-.highcharts-legend-nav-inactive {
-  fill: #cccccc;
-}
-
-circle.highcharts-legend-nav-active, circle.highcharts-legend-nav-inactive {
-  /* tracker */
-  fill: rgba(192, 192, 192, 0.0001);
-}
-
-.highcharts-legend-title-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-/* Bubble legend */
-.highcharts-bubble-legend-symbol {
-  stroke-width: 2;
-  fill-opacity: 0.5;
-}
-
-.highcharts-bubble-legend-connectors {
-  stroke-width: 1;
-}
-
-.highcharts-bubble-legend-labels {
-  fill: #000;
-}
-
-/* Loading */
-.highcharts-loading {
-  position: absolute;
-  background-color: #ffffff;
-  opacity: 0.5;
-  text-align: center;
-  z-index: 10;
-  transition: opacity 250ms;
-}
-
-.highcharts-loading-hidden {
-  height: 0 !important;
-  opacity: 0;
-  overflow: hidden;
-  transition: opacity 250ms, height 250ms step-end;
-}
-
-.highcharts-loading-inner {
-  font-weight: bold;
-  position: relative;
-  top: 45%;
-}
-
-/* Plot bands and polar pane backgrounds */
-.highcharts-plot-band, .highcharts-pane {
-  fill: #404048;
-  fill-opacity: 0.05;
-}
-
-.highcharts-plot-line {
-  fill: none;
-  stroke: #999999;
-  stroke-width: 1px;
-}
-
-/* Highcharts More and modules */
-.highcharts-boxplot-box {
-  fill: #ffffff;
-}
-
-.highcharts-boxplot-median {
-  stroke-width: 2px;
-}
-
-.highcharts-bubble-series .highcharts-point {
-  fill-opacity: 0.5;
-}
-
-.highcharts-errorbar-series .highcharts-point {
-  stroke: #404048;
-}
-
-.highcharts-gauge-series .highcharts-data-label-box {
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-gauge-series .highcharts-dial {
-  fill: #404048;
-  stroke-width: 0;
-}
-
-.highcharts-polygon-series .highcharts-graph {
-  fill: inherit;
-  stroke-width: 0;
-}
-
-.highcharts-waterfall-series .highcharts-graph {
-  stroke: #000;
-  stroke-dasharray: 1, 3;
-}
-
-.highcharts-sankey-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-sankey-series .highcharts-link {
-  transition: fill 250ms, fill-opacity 250ms;
-  fill-opacity: 0.5;
-}
-
-.highcharts-sankey-series .highcharts-point-hover.highcharts-link {
-  transition: fill 50ms, fill-opacity 50ms;
-  fill-opacity: 1;
-}
-
-.highcharts-venn-series .highcharts-point {
-  fill-opacity: 0.75;
-  stroke: #cccccc;
-  transition: stroke 250ms, fill-opacity 250ms;
-}
-
-.highcharts-venn-series .highcharts-point-hover {
-  fill-opacity: 1;
-  stroke: #cccccc;
-}
-
-/* Highstock */
-.highcharts-navigator-mask-outside {
-  fill-opacity: 0;
-}
-
-.highcharts-navigator-mask-inside {
-  fill: #6685c2;
-  /* navigator.maskFill option */
-  fill-opacity: 0.25;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-outline {
-  stroke: #cccccc;
-  fill: none;
-}
-
-.highcharts-navigator-handle {
-  stroke: #cccccc;
-  fill: #f2f2f2;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-series {
-  fill: #335cad;
-  stroke: #335cad;
-}
-
-.highcharts-navigator-series .highcharts-graph {
-  stroke-width: 1px;
-}
-
-.highcharts-navigator-series .highcharts-area {
-  fill-opacity: 0.05;
-}
-
-.highcharts-navigator-xaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke-width: 1px;
-  stroke: #e6e6e6;
-}
-
-.highcharts-navigator-xaxis.highcharts-axis-labels {
-  fill: #999999;
-}
-
-.highcharts-navigator-yaxis .highcharts-grid-line {
-  stroke-width: 0;
-}
-
-.highcharts-scrollbar-thumb {
-  fill: #cccccc;
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-button {
-  fill: #e6e6e6;
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-arrow {
-  fill: #666666;
-}
-
-.highcharts-scrollbar-rifles {
-  stroke: #666666;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-track {
-  fill: #f2f2f2;
-  stroke: #f2f2f2;
-  stroke-width: 1px;
-}
-
-.highcharts-button {
-  fill: #f7f7f7;
-  stroke: #cccccc;
-  cursor: default;
-  stroke-width: 1px;
-  transition: fill 250ms;
-}
-
-.highcharts-button text {
-  fill: #000;
-}
-
-.highcharts-button-hover {
-  transition: fill 0ms;
-  fill: #e6e6e6;
-  stroke: #cccccc;
-}
-
-.highcharts-button-hover text {
-  fill: #000;
-}
-
-.highcharts-button-pressed {
-  font-weight: bold;
-  fill: #e6ebf5;
-  stroke: #cccccc;
-}
-
-.highcharts-button-pressed text {
-  fill: #000;
-  font-weight: bold;
-}
-
-.highcharts-button-disabled text {
-  fill: #000;
-}
-
-.highcharts-range-selector-buttons .highcharts-button {
-  stroke-width: 0px;
-}
-
-.highcharts-range-label rect {
-  fill: none;
-}
-
-.highcharts-range-label text {
-  fill: #666666;
-}
-
-.highcharts-range-input rect {
-  fill: none;
-}
-
-.highcharts-range-input text {
-  fill: #000;
-}
-
-.highcharts-range-input {
-  stroke-width: 1px;
-  stroke: #cccccc;
-}
-
-input.highcharts-range-selector {
-  position: absolute;
-  border: 0;
-  width: 1px;
-  /* Chrome needs a pixel to see it */
-  height: 1px;
-  padding: 0;
-  text-align: center;
-  left: -9em;
-  /* #4798 */
-}
-
-.highcharts-crosshair-label text {
-  fill: #ffffff;
-  font-size: 1.1em;
-}
-
-.highcharts-crosshair-label .highcharts-label-box {
-  fill: inherit;
-}
-
-.highcharts-candlestick-series .highcharts-point {
-  stroke: #404048;
-  stroke-width: 1px;
-}
-
-.highcharts-candlestick-series .highcharts-point-up {
-  fill: #ffffff;
-}
-
-.highcharts-ohlc-series .highcharts-point-hover {
-  stroke-width: 3px;
-}
-
-.highcharts-flags-series .highcharts-point .highcharts-label-box {
-  stroke: #999999;
-  fill: #ffffff;
-  transition: fill 250ms;
-}
-
-.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
-  stroke: #404048;
-  fill: #ccd6eb;
-}
-
-.highcharts-flags-series .highcharts-point text {
-  fill: #404048;
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-/* Highmaps */
-.highcharts-map-series .highcharts-point {
-  transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;
-  stroke: #cccccc;
-}
-
-.highcharts-map-series .highcharts-point-hover {
-  transition: fill 0ms, fill-opacity 0ms;
-  fill-opacity: 0.5;
-  stroke-width: 2px;
-}
-
-.highcharts-mapline-series .highcharts-point {
-  fill: none;
-}
-
-.highcharts-heatmap-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-map-navigation {
-  font-size: 1.3em;
-  font-weight: bold;
-  text-align: center;
-}
-
-.highcharts-coloraxis {
-  stroke-width: 0;
-}
-
-.highcharts-coloraxis-marker {
-  fill: #999999;
-}
-
-.highcharts-null-point {
-  fill: #f7f7f7;
-}
-
-/* 3d charts */
-.highcharts-3d-frame {
-  fill: transparent;
-}
-
-/* Exporting module */
-.highcharts-contextbutton {
-  fill: #ffffff;
-  /* needed to capture hover */
-  stroke: none;
-  stroke-linecap: round;
-}
-
-.highcharts-contextbutton:hover {
-  fill: #e6e6e6;
-  stroke: #e6e6e6;
-}
-
-.highcharts-button-symbol {
-  stroke: #666666;
-  stroke-width: 3px;
-}
-
-.highcharts-menu {
-  border: 1px solid #999999;
-  background: #ffffff;
-  padding: 5px 0;
-  box-shadow: 3px 3px 10px #888;
-}
-
-.highcharts-menu-item {
-  padding: 0.5em 1em;
-  background: none;
-  color: #000;
-  cursor: pointer;
-  transition: background 250ms, color 250ms;
-}
-
-.highcharts-menu-item:hover {
-  background: #335cad;
-  color: #ffffff;
-}
-
-/* Drilldown module */
-.highcharts-drilldown-point {
-  cursor: pointer;
-}
-
-.highcharts-drilldown-data-label text,
-text.highcharts-drilldown-data-label,
-.highcharts-drilldown-axis-label {
-  cursor: pointer;
-  fill: #003399;
-  font-weight: bold;
-  text-decoration: underline;
-}
-
-/* No-data module */
-.highcharts-no-data text {
-  font-weight: bold;
-  font-size: 12px;
-  fill: #666666;
-}
-
-/* Drag-panes module */
-.highcharts-axis-resizer {
-  cursor: ns-resize;
-  stroke: black;
-  stroke-width: 2px;
-}
-
-/* Bullet type series */
-.highcharts-bullet-target {
-  stroke-width: 0;
-}
-
-/* Lineargauge type series */
-.highcharts-lineargauge-target {
-  stroke-width: 1px;
-  stroke: #000;
-}
-
-.highcharts-lineargauge-target-line {
-  stroke-width: 1px;
-  stroke: #000;
-}
-
-/* Annotations module */
-.highcharts-annotation-label-box {
-  stroke-width: 1px;
-  stroke: #404048;
-  fill: #404048;
-  fill-opacity: 0.75;
-}
-
-.highcharts-annotation-label text {
-  fill: #e6e6e6;
-}
-
-/* Gantt */
-.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {
-  cursor: pointer;
-}
-
-.highcharts-point-connecting-path {
-  fill: none;
-}
-
-.highcharts-grid-axis .highcharts-tick {
-  stroke-width: 1px;
-}
-
-.highcharts-grid-axis .highcharts-axis-line {
-  stroke-width: 1px;
-}

+ 0 - 33
node_modules/highcharts/css/themes/grid-light.scss

@@ -1,33 +0,0 @@
-// Global font
-@import 'https://fonts.googleapis.com/css?family=Dosis:400,600';
-
-// Colors for data series and points.
-$colors: #7cb5ec #f7a35c #90ee7e #7798BF #aaeeee #ff0066 #eeaaee #55BF3B #DF5353 #7798BF #aaeeee;
-
-// Neutral colors
-$neutral-color-100: #404048;
-$neutral-color-80: #000;
-
-// Fonts
-$font-family: 'Dosis', Arial, Helvetica, sans-serif;
-$title-font-size: 16px;
-$legend-font-size: 13px;
-$axis-labels-font-size: 12px;
-
-// Tooltip
-$tooltip-border: 0px;
-$tooltip-background: rgba(219,219,216,0.8);
-
-// Axes
-$xaxis-grid-line: 1px !default;
-
-// Title
-.highcharts-title, .highcharts-subtitle, .highcharts-yaxis .highcharts-axis-title {
-	text-transform: uppercase;
-}
-
-.highcharts-title {
-	font-weight: bold;
-}
-
-@import '../highcharts';

+ 0 - 980
node_modules/highcharts/css/themes/sand-signika.css

@@ -1,980 +0,0 @@
-@import 'https://fonts.googleapis.com/css?family=Signika:400,700';
-.highcharts-container {
-  background: url(https://www.highcharts.com/samples/graphics/sand.png);
-}
-
-.highcharts-boxplot-box {
-  fill: #505053;
-}
-
-.highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke: #D0D0D8;
-}
-
-.highcharts-scrollbar-track {
-  stroke: #C0C0C8;
-}
-
-.highcharts-title {
-  font-weight: bold;
-}
-
-.highcharts-button-box {
-  stroke-width: 1px;
-}
-
-/**
- * @license Highcharts
- *
- * (c) 2009-2016 Torstein Honsi
- *
- * License: www.highcharts.com/license
- */
-.highcharts-container {
-  position: relative;
-  overflow: hidden;
-  width: 100%;
-  height: 100%;
-  text-align: left;
-  line-height: normal;
-  z-index: 0;
-  /* #1072 */
-  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-  font-family: "Signika", Arial, Helvetica, sans-serif;
-  font-size: 12px;
-  user-select: none;
-}
-
-.highcharts-root {
-  display: block;
-}
-
-.highcharts-root text {
-  stroke-width: 0;
-}
-
-.highcharts-strong {
-  font-weight: bold;
-}
-
-.highcharts-emphasized {
-  font-style: italic;
-}
-
-.highcharts-anchor {
-  cursor: pointer;
-}
-
-.highcharts-background {
-  fill: none;
-}
-
-.highcharts-plot-border, .highcharts-plot-background {
-  fill: none;
-}
-
-.highcharts-label-box {
-  fill: none;
-}
-
-.highcharts-button-box {
-  fill: inherit;
-}
-
-.highcharts-tracker-line {
-  stroke-linejoin: round;
-  stroke: rgba(192, 192, 192, 0.0001);
-  stroke-width: 22;
-  fill: none;
-}
-
-.highcharts-tracker-area {
-  fill: rgba(192, 192, 192, 0.0001);
-  stroke-width: 0;
-}
-
-/* Titles */
-.highcharts-title {
-  fill: #000;
-  font-size: 16px;
-}
-
-.highcharts-subtitle {
-  fill: #666666;
-}
-
-/* Axes */
-.highcharts-axis-line {
-  fill: none;
-  stroke: #ccd6eb;
-}
-
-.highcharts-yaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-axis-title {
-  fill: #666666;
-}
-
-.highcharts-axis-labels {
-  fill: #666666;
-  cursor: default;
-  font-size: 12px;
-}
-
-.highcharts-grid-line {
-  fill: none;
-  stroke: #e6e6e6;
-}
-
-.highcharts-xaxis-grid .highcharts-grid-line {
-  stroke-width: 0px;
-}
-
-.highcharts-tick {
-  stroke: #ccd6eb;
-}
-
-.highcharts-yaxis .highcharts-tick {
-  stroke-width: 0;
-}
-
-.highcharts-minor-grid-line {
-  stroke: #f2f2f2;
-}
-
-.highcharts-crosshair-thin {
-  stroke-width: 1px;
-  stroke: #cccccc;
-}
-
-.highcharts-crosshair-category {
-  stroke: #ccd6eb;
-  stroke-opacity: 0.25;
-}
-
-/* Credits */
-.highcharts-credits {
-  cursor: pointer;
-  fill: #999999;
-  font-size: 0.7em;
-  transition: fill 250ms, font-size 250ms;
-}
-
-.highcharts-credits:hover {
-  fill: black;
-  font-size: 1em;
-}
-
-/* Tooltip */
-.highcharts-tooltip {
-  cursor: default;
-  pointer-events: none;
-  white-space: nowrap;
-  transition: stroke 150ms;
-}
-
-.highcharts-tooltip text {
-  fill: #000;
-}
-
-.highcharts-tooltip .highcharts-header {
-  font-size: 0.85em;
-}
-
-.highcharts-tooltip-box {
-  stroke-width: 0px;
-  fill: #fff;
-  fill-opacity: 0.85;
-}
-
-.highcharts-tooltip-box .highcharts-label-box {
-  fill: #fff;
-  fill-opacity: 0.85;
-}
-
-div.highcharts-tooltip {
-  filter: none;
-}
-
-.highcharts-selection-marker {
-  fill: #335cad;
-  fill-opacity: 0.25;
-}
-
-.highcharts-graph {
-  fill: none;
-  stroke-width: 2px;
-  stroke-linecap: round;
-  stroke-linejoin: round;
-}
-
-.highcharts-empty-series {
-  stroke-width: 1px;
-  fill: none;
-  stroke: #cccccc;
-}
-
-.highcharts-state-hover .highcharts-graph {
-  stroke-width: 3;
-}
-
-.highcharts-point-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-series-inactive {
-  opacity: 0.2;
-  transition: opacity 50ms;
-  /* quick in */
-}
-
-.highcharts-state-hover path {
-  transition: stroke-width 50ms;
-  /* quick in */
-}
-
-.highcharts-state-normal path {
-  transition: stroke-width 250ms;
-  /* slow out */
-}
-
-/* Legend hover affects points and series */
-g.highcharts-series,
-.highcharts-point,
-.highcharts-markers,
-.highcharts-data-labels {
-  transition: opacity 250ms;
-}
-
-.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),
-.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),
-.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),
-.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {
-  opacity: 0.2;
-}
-
-/* Series options */
-/* Default colors */
-.highcharts-color-0 {
-  fill: #f45b5b;
-  stroke: #f45b5b;
-}
-
-.highcharts-color-1 {
-  fill: #8085e9;
-  stroke: #8085e9;
-}
-
-.highcharts-color-2 {
-  fill: #8d4654;
-  stroke: #8d4654;
-}
-
-.highcharts-color-3 {
-  fill: #7798BF;
-  stroke: #7798BF;
-}
-
-.highcharts-color-4 {
-  fill: #aaeeee;
-  stroke: #aaeeee;
-}
-
-.highcharts-color-5 {
-  fill: #ff0066;
-  stroke: #ff0066;
-}
-
-.highcharts-color-6 {
-  fill: #eeaaee;
-  stroke: #eeaaee;
-}
-
-.highcharts-color-7 {
-  fill: #55BF3B;
-  stroke: #55BF3B;
-}
-
-.highcharts-color-8 {
-  fill: #DF5353;
-  stroke: #DF5353;
-}
-
-.highcharts-color-9 {
-  fill: #7798BF;
-  stroke: #7798BF;
-}
-
-.highcharts-color-10 {
-  fill: #aaeeee;
-  stroke: #aaeeee;
-}
-
-.highcharts-area {
-  fill-opacity: 0.75;
-  stroke-width: 0;
-}
-
-.highcharts-markers {
-  stroke-width: 1px;
-  stroke: none;
-}
-
-.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),
-.highcharts-a11y-marker-hidden {
-  opacity: 0;
-}
-
-.highcharts-point {
-  stroke-width: 1px;
-}
-
-.highcharts-dense-data .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-data-label {
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-.highcharts-data-label-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-data-label text, text.highcharts-data-label {
-  fill: #000;
-}
-
-.highcharts-data-label-connector {
-  fill: none;
-}
-
-.highcharts-data-label-hidden {
-  pointer-events: none;
-}
-
-.highcharts-halo {
-  fill-opacity: 0.25;
-  stroke-width: 0;
-}
-
-.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,
-.highcharts-markers .highcharts-point-select {
-  fill: #cccccc;
-  stroke: #fff;
-}
-
-.highcharts-column-series rect.highcharts-point {
-  stroke: none;
-}
-
-.highcharts-column-series .highcharts-point {
-  transition: fill-opacity 250ms;
-}
-
-.highcharts-column-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pie-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: none;
-}
-
-.highcharts-pie-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: none;
-}
-
-.highcharts-funnel-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-funnel-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-pyramid-series .highcharts-point {
-  stroke-linejoin: round;
-  stroke: none;
-}
-
-.highcharts-pyramid-series .highcharts-point-hover {
-  fill-opacity: 0.75;
-  transition: fill-opacity 50ms;
-}
-
-.highcharts-pyramid-series .highcharts-point-select {
-  fill: inherit;
-  stroke: inherit;
-}
-
-.highcharts-solidgauge-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-treemap-series .highcharts-point {
-  stroke-width: 1px;
-  stroke: #e6e6e6;
-  transition: stroke 250ms, fill 250ms, fill-opacity 250ms;
-}
-
-.highcharts-treemap-series .highcharts-point-hover {
-  stroke: #999999;
-  transition: stroke 25ms, fill 25ms, fill-opacity 25ms;
-}
-
-.highcharts-treemap-series .highcharts-above-level {
-  display: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node {
-  fill: none;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive {
-  fill-opacity: 0.15;
-  cursor: pointer;
-}
-
-.highcharts-treemap-series .highcharts-internal-node-interactive:hover {
-  fill-opacity: 0.75;
-}
-
-.highcharts-vector-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-windbarb-series .highcharts-point {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-lollipop-stem {
-  stroke: #fff;
-}
-
-.highcharts-focus-border {
-  fill: none;
-  stroke-width: 2px;
-}
-
-.highcharts-legend-item-hidden .highcharts-focus-border {
-  fill: none !important;
-}
-
-/* Legend */
-.highcharts-legend-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item > text {
-  fill: #000;
-  font-weight: bold;
-  font-size: 13px;
-  cursor: pointer;
-  stroke-width: 0;
-}
-
-.highcharts-legend-item:hover text {
-  fill: #fff;
-}
-
-.highcharts-legend-item-hidden * {
-  fill: #cccccc !important;
-  stroke: #cccccc !important;
-  transition: fill 250ms;
-}
-
-.highcharts-legend-nav-active {
-  fill: #003399;
-  cursor: pointer;
-}
-
-.highcharts-legend-nav-inactive {
-  fill: #cccccc;
-}
-
-circle.highcharts-legend-nav-active, circle.highcharts-legend-nav-inactive {
-  /* tracker */
-  fill: rgba(192, 192, 192, 0.0001);
-}
-
-.highcharts-legend-title-box {
-  fill: none;
-  stroke-width: 0;
-}
-
-/* Bubble legend */
-.highcharts-bubble-legend-symbol {
-  stroke-width: 2;
-  fill-opacity: 0.5;
-}
-
-.highcharts-bubble-legend-connectors {
-  stroke-width: 1;
-}
-
-.highcharts-bubble-legend-labels {
-  fill: #000;
-}
-
-/* Loading */
-.highcharts-loading {
-  position: absolute;
-  background-color: none;
-  opacity: 0.5;
-  text-align: center;
-  z-index: 10;
-  transition: opacity 250ms;
-}
-
-.highcharts-loading-hidden {
-  height: 0 !important;
-  opacity: 0;
-  overflow: hidden;
-  transition: opacity 250ms, height 250ms step-end;
-}
-
-.highcharts-loading-inner {
-  font-weight: bold;
-  position: relative;
-  top: 45%;
-}
-
-/* Plot bands and polar pane backgrounds */
-.highcharts-plot-band, .highcharts-pane {
-  fill: #fff;
-  fill-opacity: 0.05;
-}
-
-.highcharts-plot-line {
-  fill: none;
-  stroke: #999999;
-  stroke-width: 1px;
-}
-
-/* Highcharts More and modules */
-.highcharts-boxplot-box {
-  fill: none;
-}
-
-.highcharts-boxplot-median {
-  stroke-width: 2px;
-}
-
-.highcharts-bubble-series .highcharts-point {
-  fill-opacity: 0.5;
-}
-
-.highcharts-errorbar-series .highcharts-point {
-  stroke: #fff;
-}
-
-.highcharts-gauge-series .highcharts-data-label-box {
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-gauge-series .highcharts-dial {
-  fill: #fff;
-  stroke-width: 0;
-}
-
-.highcharts-polygon-series .highcharts-graph {
-  fill: inherit;
-  stroke-width: 0;
-}
-
-.highcharts-waterfall-series .highcharts-graph {
-  stroke: #000;
-  stroke-dasharray: 1, 3;
-}
-
-.highcharts-sankey-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-sankey-series .highcharts-link {
-  transition: fill 250ms, fill-opacity 250ms;
-  fill-opacity: 0.5;
-}
-
-.highcharts-sankey-series .highcharts-point-hover.highcharts-link {
-  transition: fill 50ms, fill-opacity 50ms;
-  fill-opacity: 1;
-}
-
-.highcharts-venn-series .highcharts-point {
-  fill-opacity: 0.75;
-  stroke: #cccccc;
-  transition: stroke 250ms, fill-opacity 250ms;
-}
-
-.highcharts-venn-series .highcharts-point-hover {
-  fill-opacity: 1;
-  stroke: #cccccc;
-}
-
-/* Highstock */
-.highcharts-navigator-mask-outside {
-  fill-opacity: 0;
-}
-
-.highcharts-navigator-mask-inside {
-  fill: #6685c2;
-  /* navigator.maskFill option */
-  fill-opacity: 0.25;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-outline {
-  stroke: #cccccc;
-  fill: none;
-}
-
-.highcharts-navigator-handle {
-  stroke: #cccccc;
-  fill: #f2f2f2;
-  cursor: ew-resize;
-}
-
-.highcharts-navigator-series {
-  fill: #f45b5b;
-  stroke: #f45b5b;
-}
-
-.highcharts-navigator-series .highcharts-graph {
-  stroke-width: 1px;
-}
-
-.highcharts-navigator-series .highcharts-area {
-  fill-opacity: 0.05;
-}
-
-.highcharts-navigator-xaxis .highcharts-axis-line {
-  stroke-width: 0;
-}
-
-.highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke-width: 1px;
-  stroke: #e6e6e6;
-}
-
-.highcharts-navigator-xaxis.highcharts-axis-labels {
-  fill: #999999;
-}
-
-.highcharts-navigator-yaxis .highcharts-grid-line {
-  stroke-width: 0;
-}
-
-.highcharts-scrollbar-thumb {
-  fill: #cccccc;
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-button {
-  fill: #e6e6e6;
-  stroke: #cccccc;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-arrow {
-  fill: #666666;
-}
-
-.highcharts-scrollbar-rifles {
-  stroke: #666666;
-  stroke-width: 1px;
-}
-
-.highcharts-scrollbar-track {
-  fill: #f2f2f2;
-  stroke: #C0C0C8;
-  stroke-width: 1px;
-}
-
-.highcharts-button {
-  fill: #fff;
-  stroke: #C0C0C8;
-  cursor: default;
-  stroke-width: 1px;
-  transition: fill 250ms;
-}
-
-.highcharts-button text {
-  fill: #000;
-}
-
-.highcharts-button-hover {
-  transition: fill 0ms;
-  fill: #e6e6e6;
-  stroke: #cccccc;
-}
-
-.highcharts-button-hover text {
-  fill: #000;
-}
-
-.highcharts-button-pressed {
-  font-weight: bold;
-  fill: #D0D0D8;
-  stroke: #cccccc;
-}
-
-.highcharts-button-pressed text {
-  fill: #000;
-  font-weight: bold;
-}
-
-.highcharts-button-disabled text {
-  fill: #000;
-}
-
-.highcharts-range-selector-buttons .highcharts-button {
-  stroke-width: 0px;
-}
-
-.highcharts-range-label rect {
-  fill: none;
-}
-
-.highcharts-range-label text {
-  fill: #666666;
-}
-
-.highcharts-range-input rect {
-  fill: none;
-}
-
-.highcharts-range-input text {
-  fill: #000;
-}
-
-.highcharts-range-input {
-  stroke-width: 1px;
-  stroke: #cccccc;
-}
-
-input.highcharts-range-selector {
-  position: absolute;
-  border: 0;
-  width: 1px;
-  /* Chrome needs a pixel to see it */
-  height: 1px;
-  padding: 0;
-  text-align: center;
-  left: -9em;
-  /* #4798 */
-}
-
-.highcharts-crosshair-label text {
-  fill: none;
-  font-size: 1.1em;
-}
-
-.highcharts-crosshair-label .highcharts-label-box {
-  fill: inherit;
-}
-
-.highcharts-candlestick-series .highcharts-point {
-  stroke: #fff;
-  stroke-width: 1px;
-}
-
-.highcharts-candlestick-series .highcharts-point-up {
-  fill: none;
-}
-
-.highcharts-ohlc-series .highcharts-point-hover {
-  stroke-width: 3px;
-}
-
-.highcharts-flags-series .highcharts-point .highcharts-label-box {
-  stroke: #999999;
-  fill: none;
-  transition: fill 250ms;
-}
-
-.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {
-  stroke: #fff;
-  fill: #ccd6eb;
-}
-
-.highcharts-flags-series .highcharts-point text {
-  fill: #fff;
-  font-size: 0.9em;
-  font-weight: bold;
-}
-
-/* Highmaps */
-.highcharts-map-series .highcharts-point {
-  transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;
-  stroke: #cccccc;
-}
-
-.highcharts-map-series .highcharts-point-hover {
-  transition: fill 0ms, fill-opacity 0ms;
-  fill-opacity: 0.5;
-  stroke-width: 2px;
-}
-
-.highcharts-mapline-series .highcharts-point {
-  fill: none;
-}
-
-.highcharts-heatmap-series .highcharts-point {
-  stroke-width: 0;
-}
-
-.highcharts-map-navigation {
-  font-size: 1.3em;
-  font-weight: bold;
-  text-align: center;
-}
-
-.highcharts-coloraxis {
-  stroke-width: 0;
-}
-
-.highcharts-coloraxis-marker {
-  fill: #999999;
-}
-
-.highcharts-null-point {
-  fill: #f7f7f7;
-}
-
-/* 3d charts */
-.highcharts-3d-frame {
-  fill: transparent;
-}
-
-/* Exporting module */
-.highcharts-contextbutton {
-  fill: #fff;
-  /* needed to capture hover */
-  stroke: none;
-  stroke-linecap: round;
-}
-
-.highcharts-contextbutton:hover {
-  fill: #e6e6e6;
-  stroke: #e6e6e6;
-}
-
-.highcharts-button-symbol {
-  stroke: #666666;
-  stroke-width: 3px;
-}
-
-.highcharts-menu {
-  border: 1px solid #999999;
-  background: none;
-  padding: 5px 0;
-  box-shadow: 3px 3px 10px #888;
-}
-
-.highcharts-menu-item {
-  padding: 0.5em 1em;
-  background: none;
-  color: #000;
-  cursor: pointer;
-  transition: background 250ms, color 250ms;
-}
-
-.highcharts-menu-item:hover {
-  background: #335cad;
-  color: none;
-}
-
-/* Drilldown module */
-.highcharts-drilldown-point {
-  cursor: pointer;
-}
-
-.highcharts-drilldown-data-label text,
-text.highcharts-drilldown-data-label,
-.highcharts-drilldown-axis-label {
-  cursor: pointer;
-  fill: #003399;
-  font-weight: bold;
-  text-decoration: underline;
-}
-
-/* No-data module */
-.highcharts-no-data text {
-  font-weight: bold;
-  font-size: 12px;
-  fill: #666666;
-}
-
-/* Drag-panes module */
-.highcharts-axis-resizer {
-  cursor: ns-resize;
-  stroke: black;
-  stroke-width: 2px;
-}
-
-/* Bullet type series */
-.highcharts-bullet-target {
-  stroke-width: 0;
-}
-
-/* Lineargauge type series */
-.highcharts-lineargauge-target {
-  stroke-width: 1px;
-  stroke: #000;
-}
-
-.highcharts-lineargauge-target-line {
-  stroke-width: 1px;
-  stroke: #000;
-}
-
-/* Annotations module */
-.highcharts-annotation-label-box {
-  stroke-width: 1px;
-  stroke: #fff;
-  fill: #fff;
-  fill-opacity: 0.75;
-}
-
-.highcharts-annotation-label text {
-  fill: #e6e6e6;
-}
-
-/* Gantt */
-.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {
-  cursor: pointer;
-}
-
-.highcharts-point-connecting-path {
-  fill: none;
-}
-
-.highcharts-grid-axis .highcharts-tick {
-  stroke-width: 1px;
-}
-
-.highcharts-grid-axis .highcharts-axis-line {
-  stroke-width: 1px;
-}

+ 0 - 74
node_modules/highcharts/css/themes/sand-signika.scss

@@ -1,74 +0,0 @@
-// Global font
-@import 'https://fonts.googleapis.com/css?family=Signika:400,700';
-
-// Chart background, point stroke for markers and columns etc
-$background-color: none;
-
-// Colors for data series and points.
-$colors: #f45b5b #8085e9 #8d4654 #7798BF #aaeeee #ff0066 #eeaaee #55BF3B #DF5353 #7798BF #aaeeee;
-
-// Neutral colors
-$neutral-color-100: #fff;
-$neutral-color-80: #000;
-
-// Data-labels
-$data-label-color: #000;
-
-// Fonts
-$font-family: 'Signika', Arial, Helvetica, sans-serif;
-$title-font-size: 16px;
-$legend-font-size: 13px;
-$axis-labels-font-size: 12px;
-
-// Tooltip
-$tooltip-border: 0px;
-$tooltip-background: $neutral-color-100;
-
-// Buttons
-$highcharts-button-background: $neutral-color-100;
-$highcharts-button-border: #C0C0C8;
-$highcharts-button-text:  #000;
-
-$highcharts-button-pressed-background: #D0D0D8;
-$highcharts-button-pressed-text:  #000;
-
-$context-button-background: $neutral-color-100;
-
-// Navigator
-$navigator-series-fill: #f45b5b;
-$navigator-series-border: #f45b5b;
-
-// Scrollbar
-$scrollbar-track-border: #C0C0C8;
-
-// General
-.highcharts-container {
-  background: url(https://www.highcharts.com/samples/graphics/sand.png);
-}
-
-// Boxplot
-.highcharts-boxplot-box {
-   fill: #505053;
-}
-
-// Navigator
-.highcharts-navigator-xaxis .highcharts-grid-line {
-  stroke: #D0D0D8;
-}
-
-// Scrollbar
-.highcharts-scrollbar-track {
-  stroke: #C0C0C8;
-}
-
-// Title
-.highcharts-title {
-	font-weight: bold;
-}
-
-// Buttons
-.highcharts-button-box {
-	stroke-width: 1px;
-}
-
-@import '../highcharts';

+ 0 - 251
node_modules/highcharts/es-modules/Accessibility/A11yI18n.js

@@ -1,251 +0,0 @@
-/* *
- *
- *  Accessibility module - internationalization support
- *
- *  (c) 2010-2021 Highsoft AS
- *  Author: Øystein Moseng
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../Core/Globals.js';
-import U from '../Core/Utilities.js';
-var format = U.format, pick = U.pick;
-/* eslint-disable valid-jsdoc */
-/**
- * String trim that works for IE6-8 as well.
- *
- * @private
- * @function stringTrim
- *
- * @param {string} str
- *        The input string
- *
- * @return {string}
- *         The trimmed string
- */
-function stringTrim(str) {
-    return str.trim && str.trim() || str.replace(/^\s+|\s+$/g, '');
-}
-/**
- * i18n utility function. Format a single array or plural statement in a format
- * string. If the statement is not an array or plural statement, returns the
- * statement within brackets. Invalid array statements return an empty string.
- *
- * @private
- * @function formatExtendedStatement
- *
- * @param {string} statement
- *
- * @param {Highcharts.Dictionary<*>} ctx
- *        Context to apply to the format string.
- *
- * @return {string}
- */
-function formatExtendedStatement(statement, ctx) {
-    var eachStart = statement.indexOf('#each('), pluralStart = statement.indexOf('#plural('), indexStart = statement.indexOf('['), indexEnd = statement.indexOf(']'), arr, result;
-    // Dealing with an each-function?
-    if (eachStart > -1) {
-        var eachEnd = statement.slice(eachStart).indexOf(')') + eachStart, preEach = statement.substring(0, eachStart), postEach = statement.substring(eachEnd + 1), eachStatement = statement.substring(eachStart + 6, eachEnd), eachArguments = eachStatement.split(','), lenArg = Number(eachArguments[1]), len;
-        result = '';
-        arr = ctx[eachArguments[0]];
-        if (arr) {
-            lenArg = isNaN(lenArg) ? arr.length : lenArg;
-            len = lenArg < 0 ?
-                arr.length + lenArg :
-                Math.min(lenArg, arr.length); // Overshoot
-            // Run through the array for the specified length
-            for (var i = 0; i < len; ++i) {
-                result += preEach + arr[i] + postEach;
-            }
-        }
-        return result.length ? result : '';
-    }
-    // Dealing with a plural-function?
-    if (pluralStart > -1) {
-        var pluralEnd = statement.slice(pluralStart).indexOf(')') + pluralStart, pluralStatement = statement.substring(pluralStart + 8, pluralEnd), pluralArguments = pluralStatement.split(','), num = Number(ctx[pluralArguments[0]]);
-        switch (num) {
-            case 0:
-                result = pick(pluralArguments[4], pluralArguments[1]);
-                break;
-            case 1:
-                result = pick(pluralArguments[2], pluralArguments[1]);
-                break;
-            case 2:
-                result = pick(pluralArguments[3], pluralArguments[1]);
-                break;
-            default:
-                result = pluralArguments[1];
-        }
-        return result ? stringTrim(result) : '';
-    }
-    // Array index
-    if (indexStart > -1) {
-        var arrayName = statement.substring(0, indexStart), ix = Number(statement.substring(indexStart + 1, indexEnd)), val;
-        arr = ctx[arrayName];
-        if (!isNaN(ix) && arr) {
-            if (ix < 0) {
-                val = arr[arr.length + ix];
-                // Handle negative overshoot
-                if (typeof val === 'undefined') {
-                    val = arr[0];
-                }
-            }
-            else {
-                val = arr[ix];
-                // Handle positive overshoot
-                if (typeof val === 'undefined') {
-                    val = arr[arr.length - 1];
-                }
-            }
-        }
-        return typeof val !== 'undefined' ? val : '';
-    }
-    // Standard substitution, delegate to format or similar
-    return '{' + statement + '}';
-}
-/**
- * i18n formatting function. Extends Highcharts.format() functionality by also
- * handling arrays and plural conditionals. Arrays can be indexed as follows:
- *
- * - Format: 'This is the first index: {myArray[0]}. The last: {myArray[-1]}.'
- *
- * - Context: { myArray: [0, 1, 2, 3, 4, 5] }
- *
- * - Result: 'This is the first index: 0. The last: 5.'
- *
- *
- * They can also be iterated using the #each() function. This will repeat the
- * contents of the bracket expression for each element. Example:
- *
- * - Format: 'List contains: {#each(myArray)cm }'
- *
- * - Context: { myArray: [0, 1, 2] }
- *
- * - Result: 'List contains: 0cm 1cm 2cm '
- *
- *
- * The #each() function optionally takes a length parameter. If positive, this
- * parameter specifies the max number of elements to iterate through. If
- * negative, the function will subtract the number from the length of the array.
- * Use this to stop iterating before the array ends. Example:
- *
- * - Format: 'List contains: {#each(myArray, -1) }and {myArray[-1]}.'
- *
- * - Context: { myArray: [0, 1, 2, 3] }
- *
- * - Result: 'List contains: 0, 1, 2, and 3.'
- *
- *
- * Use the #plural() function to pick a string depending on whether or not a
- * context object is 1. Arguments are #plural(obj, plural, singular). Example:
- *
- * - Format: 'Has {numPoints} {#plural(numPoints, points, point}.'
- *
- * - Context: { numPoints: 5 }
- *
- * - Result: 'Has 5 points.'
- *
- *
- * Optionally there are additional parameters for dual and none: #plural(obj,
- * plural, singular, dual, none). Example:
- *
- * - Format: 'Has {#plural(numPoints, many points, one point, two points,
- *   none}.'
- *
- * - Context: { numPoints: 2 }
- *
- * - Result: 'Has two points.'
- *
- *
- * The dual or none parameters will take precedence if they are supplied.
- *
- * @requires modules/accessibility
- *
- * @function Highcharts.i18nFormat
- *
- * @param {string} formatString
- *        The string to format.
- *
- * @param {Highcharts.Dictionary<*>} context
- *        Context to apply to the format string.
- *
- * @param {Highcharts.Chart} chart
- *        A `Chart` instance with a time object and numberFormatter, passed on
- *        to format().
- *
- * @return {string}
- *         The formatted string.
- */
-H.i18nFormat = function (formatString, context, chart) {
-    var getFirstBracketStatement = function (sourceStr, offset) {
-        var str = sourceStr.slice(offset || 0), startBracket = str.indexOf('{'), endBracket = str.indexOf('}');
-        if (startBracket > -1 && endBracket > startBracket) {
-            return {
-                statement: str.substring(startBracket + 1, endBracket),
-                begin: offset + startBracket + 1,
-                end: offset + endBracket
-            };
-        }
-    }, tokens = [], bracketRes, constRes, cursor = 0;
-    // Tokenize format string into bracket statements and constants
-    do {
-        bracketRes = getFirstBracketStatement(formatString, cursor);
-        constRes = formatString.substring(cursor, bracketRes && bracketRes.begin - 1);
-        // If we have constant content before this bracket statement, add it
-        if (constRes.length) {
-            tokens.push({
-                value: constRes,
-                type: 'constant'
-            });
-        }
-        // Add the bracket statement
-        if (bracketRes) {
-            tokens.push({
-                value: bracketRes.statement,
-                type: 'statement'
-            });
-        }
-        cursor = bracketRes ? bracketRes.end + 1 : cursor + 1;
-    } while (bracketRes);
-    // Perform the formatting. The formatArrayStatement function returns the
-    // statement in brackets if it is not an array statement, which means it
-    // gets picked up by format below.
-    tokens.forEach(function (token) {
-        if (token.type === 'statement') {
-            token.value = formatExtendedStatement(token.value, context);
-        }
-    });
-    // Join string back together and pass to format to pick up non-array
-    // statements.
-    return format(tokens.reduce(function (acc, cur) {
-        return acc + cur.value;
-    }, ''), context, chart);
-};
-/**
- * Apply context to a format string from lang options of the chart.
- *
- * @requires modules/accessibility
- *
- * @function Highcharts.Chart#langFormat
- *
- * @param {string} langKey
- *        Key (using dot notation) into lang option structure.
- *
- * @param {Highcharts.Dictionary<*>} context
- *        Context to apply to the format string.
- *
- * @return {string}
- *         The formatted string.
- */
-H.Chart.prototype.langFormat = function (langKey, context) {
-    var keys = langKey.split('.'), formatString = this.options.lang, i = 0;
-    for (; i < keys.length; ++i) {
-        formatString = formatString && formatString[keys[i]];
-    }
-    return typeof formatString === 'string' ?
-        H.i18nFormat(formatString, context, this) : '';
-};

+ 0 - 285
node_modules/highcharts/es-modules/Accessibility/Accessibility.js

@@ -1,285 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility module for Highcharts
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import ChartUtilities from './Utils/ChartUtilities.js';
-import H from '../Core/Globals.js';
-var doc = H.doc;
-import KeyboardNavigationHandler from './KeyboardNavigationHandler.js';
-import O from '../Core/Options.js';
-var defaultOptions = O.defaultOptions;
-import Point from '../Core/Series/Point.js';
-import Series from '../Core/Series/Series.js';
-import U from '../Core/Utilities.js';
-var addEvent = U.addEvent, extend = U.extend, fireEvent = U.fireEvent, merge = U.merge;
-import AccessibilityComponent from './AccessibilityComponent.js';
-import KeyboardNavigation from './KeyboardNavigation.js';
-import LegendComponent from './Components/LegendComponent.js';
-import MenuComponent from './Components/MenuComponent.js';
-import SeriesComponent from './Components/SeriesComponent/SeriesComponent.js';
-import ZoomComponent from './Components/ZoomComponent.js';
-import RangeSelectorComponent from './Components/RangeSelectorComponent.js';
-import InfoRegionsComponent from './Components/InfoRegionsComponent.js';
-import ContainerComponent from './Components/ContainerComponent.js';
-import whcm from './HighContrastMode.js';
-import highContrastTheme from './HighContrastTheme.js';
-import defaultOptionsA11Y from './Options/Options.js';
-import defaultLangOptions from './Options/LangOptions.js';
-import copyDeprecatedOptions from './Options/DeprecatedOptions.js';
-import HTMLUtilities from './Utils/HTMLUtilities.js';
-import './A11yI18n.js';
-import './FocusBorder.js';
-// Add default options
-merge(true, defaultOptions, defaultOptionsA11Y, {
-    accessibility: {
-        highContrastTheme: highContrastTheme
-    },
-    lang: defaultLangOptions
-});
-// Expose functionality on Highcharts namespace
-H.A11yChartUtilities = ChartUtilities;
-H.A11yHTMLUtilities = HTMLUtilities;
-H.KeyboardNavigationHandler = KeyboardNavigationHandler;
-H.AccessibilityComponent = AccessibilityComponent;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * The Accessibility class
- *
- * @private
- * @requires module:modules/accessibility
- *
- * @class
- * @name Highcharts.Accessibility
- *
- * @param {Highcharts.Chart} chart
- *        Chart object
- */
-function Accessibility(chart) {
-    this.init(chart);
-}
-Accessibility.prototype = {
-    /**
-     * Initialize the accessibility class
-     * @private
-     * @param {Highcharts.Chart} chart
-     *        Chart object
-     */
-    init: function (chart) {
-        this.chart = chart;
-        // Abort on old browsers
-        if (!doc.addEventListener || !chart.renderer.isSVG) {
-            chart.renderTo.setAttribute('aria-hidden', true);
-            return;
-        }
-        // Copy over any deprecated options that are used. We could do this on
-        // every update, but it is probably not needed.
-        copyDeprecatedOptions(chart);
-        this.initComponents();
-        this.keyboardNavigation = new KeyboardNavigation(chart, this.components);
-        this.update();
-    },
-    /**
-     * @private
-     */
-    initComponents: function () {
-        var chart = this.chart, a11yOptions = chart.options.accessibility;
-        this.components = {
-            container: new ContainerComponent(),
-            infoRegions: new InfoRegionsComponent(),
-            legend: new LegendComponent(),
-            chartMenu: new MenuComponent(),
-            rangeSelector: new RangeSelectorComponent(),
-            series: new SeriesComponent(),
-            zoom: new ZoomComponent()
-        };
-        if (a11yOptions.customComponents) {
-            extend(this.components, a11yOptions.customComponents);
-        }
-        var components = this.components;
-        this.getComponentOrder().forEach(function (componentName) {
-            components[componentName].initBase(chart);
-            components[componentName].init();
-        });
-    },
-    /**
-     * Get order to update components in.
-     * @private
-     */
-    getComponentOrder: function () {
-        if (!this.components) {
-            return []; // For zombie accessibility object on old browsers
-        }
-        if (!this.components.series) {
-            return Object.keys(this.components);
-        }
-        var componentsExceptSeries = Object.keys(this.components)
-            .filter(function (c) { return c !== 'series'; });
-        // Update series first, so that other components can read accessibility
-        // info on points.
-        return ['series'].concat(componentsExceptSeries);
-    },
-    /**
-     * Update all components.
-     */
-    update: function () {
-        var components = this.components, chart = this.chart, a11yOptions = chart.options.accessibility;
-        fireEvent(chart, 'beforeA11yUpdate');
-        // Update the chart type list as this is used by multiple modules
-        chart.types = this.getChartTypes();
-        // Update markup
-        this.getComponentOrder().forEach(function (componentName) {
-            components[componentName].onChartUpdate();
-            fireEvent(chart, 'afterA11yComponentUpdate', {
-                name: componentName,
-                component: components[componentName]
-            });
-        });
-        // Update keyboard navigation
-        this.keyboardNavigation.update(a11yOptions.keyboardNavigation.order);
-        // Handle high contrast mode
-        if (!chart.highContrastModeActive && // Only do this once
-            whcm.isHighContrastModeActive()) {
-            whcm.setHighContrastTheme(chart);
-        }
-        fireEvent(chart, 'afterA11yUpdate', {
-            accessibility: this
-        });
-    },
-    /**
-     * Destroy all elements.
-     */
-    destroy: function () {
-        var chart = this.chart || {};
-        // Destroy components
-        var components = this.components;
-        Object.keys(components).forEach(function (componentName) {
-            components[componentName].destroy();
-            components[componentName].destroyBase();
-        });
-        // Kill keyboard nav
-        if (this.keyboardNavigation) {
-            this.keyboardNavigation.destroy();
-        }
-        // Hide container from screen readers if it exists
-        if (chart.renderTo) {
-            chart.renderTo.setAttribute('aria-hidden', true);
-        }
-        // Remove focus border if it exists
-        if (chart.focusElement) {
-            chart.focusElement.removeFocusBorder();
-        }
-    },
-    /**
-     * Return a list of the types of series we have in the chart.
-     * @private
-     */
-    getChartTypes: function () {
-        var types = {};
-        this.chart.series.forEach(function (series) {
-            types[series.type] = 1;
-        });
-        return Object.keys(types);
-    }
-};
-/**
- * @private
- */
-H.Chart.prototype.updateA11yEnabled = function () {
-    var a11y = this.accessibility, accessibilityOptions = this.options.accessibility;
-    if (accessibilityOptions && accessibilityOptions.enabled) {
-        if (a11y) {
-            a11y.update();
-        }
-        else {
-            this.accessibility = a11y = new Accessibility(this);
-        }
-    }
-    else if (a11y) {
-        // Destroy if after update we have a11y and it is disabled
-        if (a11y.destroy) {
-            a11y.destroy();
-        }
-        delete this.accessibility;
-    }
-    else {
-        // Just hide container
-        this.renderTo.setAttribute('aria-hidden', true);
-    }
-};
-// Handle updates to the module and send render updates to components
-addEvent(H.Chart, 'render', function (e) {
-    // Update/destroy
-    if (this.a11yDirty && this.renderTo) {
-        delete this.a11yDirty;
-        this.updateA11yEnabled();
-    }
-    var a11y = this.accessibility;
-    if (a11y) {
-        a11y.getComponentOrder().forEach(function (componentName) {
-            a11y.components[componentName].onChartRender();
-        });
-    }
-});
-// Update with chart/series/point updates
-addEvent(H.Chart, 'update', function (e) {
-    // Merge new options
-    var newOptions = e.options.accessibility;
-    if (newOptions) {
-        // Handle custom component updating specifically
-        if (newOptions.customComponents) {
-            this.options.accessibility.customComponents =
-                newOptions.customComponents;
-            delete newOptions.customComponents;
-        }
-        merge(true, this.options.accessibility, newOptions);
-        // Recreate from scratch
-        if (this.accessibility && this.accessibility.destroy) {
-            this.accessibility.destroy();
-            delete this.accessibility;
-        }
-    }
-    // Mark dirty for update
-    this.a11yDirty = true;
-});
-// Mark dirty for update
-addEvent(Point, 'update', function () {
-    if (this.series.chart.accessibility) {
-        this.series.chart.a11yDirty = true;
-    }
-});
-['addSeries', 'init'].forEach(function (event) {
-    addEvent(H.Chart, event, function () {
-        this.a11yDirty = true;
-    });
-});
-['update', 'updatedData', 'remove'].forEach(function (event) {
-    addEvent(Series, event, function () {
-        if (this.chart.accessibility) {
-            this.chart.a11yDirty = true;
-        }
-    });
-});
-// Direct updates (events happen after render)
-[
-    'afterDrilldown', 'drillupall'
-].forEach(function (event) {
-    addEvent(H.Chart, event, function () {
-        if (this.accessibility) {
-            this.accessibility.update();
-        }
-    });
-});
-// Destroy with chart
-addEvent(H.Chart, 'destroy', function () {
-    if (this.accessibility) {
-        this.accessibility.destroy();
-    }
-});

+ 0 - 380
node_modules/highcharts/es-modules/Accessibility/AccessibilityComponent.js

@@ -1,380 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component class definition
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import ChartUtilities from './Utils/ChartUtilities.js';
-var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
-import DOMElementProvider from './Utils/DOMElementProvider.js';
-import EventProvider from './Utils/EventProvider.js';
-import H from '../Core/Globals.js';
-var doc = H.doc, win = H.win;
-import HTMLUtilities from './Utils/HTMLUtilities.js';
-var removeElement = HTMLUtilities.removeElement, getFakeMouseEvent = HTMLUtilities.getFakeMouseEvent;
-import U from '../Core/Utilities.js';
-var extend = U.extend, fireEvent = U.fireEvent, merge = U.merge;
-/* eslint-disable valid-jsdoc */
-/** @lends Highcharts.AccessibilityComponent */
-var functionsToOverrideByDerivedClasses = {
-    /**
-     * Called on component initialization.
-     */
-    init: function () { },
-    /**
-     * Get keyboard navigation handler for this component.
-     * @return {Highcharts.KeyboardNavigationHandler}
-     */
-    getKeyboardNavigation: function () { },
-    /**
-     * Called on updates to the chart, including options changes.
-     * Note that this is also called on first render of chart.
-     */
-    onChartUpdate: function () { },
-    /**
-     * Called on every chart render.
-     */
-    onChartRender: function () { },
-    /**
-     * Called when accessibility is disabled or chart is destroyed.
-     */
-    destroy: function () { }
-};
-/**
- * The AccessibilityComponent base class, representing a part of the chart that
- * has accessibility logic connected to it. This class can be inherited from to
- * create a custom accessibility component for a chart.
- *
- * Components should take care to destroy added elements and unregister event
- * handlers on destroy. This is handled automatically if using this.addEvent and
- * this.createElement.
- *
- * @sample highcharts/accessibility/custom-component
- *         Custom accessibility component
- *
- * @requires module:modules/accessibility
- * @class
- * @name Highcharts.AccessibilityComponent
- */
-function AccessibilityComponent() { }
-/**
- * @lends Highcharts.AccessibilityComponent
- */
-AccessibilityComponent.prototype = {
-    /**
-     * Initialize the class
-     * @private
-     * @param {Highcharts.Chart} chart
-     *        Chart object
-     */
-    initBase: function (chart) {
-        this.chart = chart;
-        this.eventProvider = new EventProvider();
-        this.domElementProvider = new DOMElementProvider();
-        // Key code enum for common keys
-        this.keyCodes = {
-            left: 37,
-            right: 39,
-            up: 38,
-            down: 40,
-            enter: 13,
-            space: 32,
-            esc: 27,
-            tab: 9
-        };
-    },
-    /**
-     * Add an event to an element and keep track of it for later removal.
-     * See EventProvider for details.
-     * @private
-     */
-    addEvent: function () {
-        return this.eventProvider.addEvent
-            .apply(this.eventProvider, arguments);
-    },
-    /**
-     * Create an element and keep track of it for later removal.
-     * See DOMElementProvider for details.
-     * @private
-     */
-    createElement: function () {
-        return this.domElementProvider.createElement.apply(this.domElementProvider, arguments);
-    },
-    /**
-     * Fire an event on an element that is either wrapped by Highcharts,
-     * or a DOM element
-     * @private
-     * @param {Highcharts.HTMLElement|Highcharts.HTMLDOMElement|
-     *  Highcharts.SVGDOMElement|Highcharts.SVGElement} el
-     * @param {Event} eventObject
-     */
-    fireEventOnWrappedOrUnwrappedElement: function (el, eventObject) {
-        var type = eventObject.type;
-        if (doc.createEvent && (el.dispatchEvent || el.fireEvent)) {
-            if (el.dispatchEvent) {
-                el.dispatchEvent(eventObject);
-            }
-            else {
-                el.fireEvent(type, eventObject);
-            }
-        }
-        else {
-            fireEvent(el, type, eventObject);
-        }
-    },
-    /**
-     * Utility function to attempt to fake a click event on an element.
-     * @private
-     * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} element
-     */
-    fakeClickEvent: function (element) {
-        if (element) {
-            var fakeEventObject = getFakeMouseEvent('click');
-            this.fireEventOnWrappedOrUnwrappedElement(element, fakeEventObject);
-        }
-    },
-    /**
-     * Add a new proxy group to the proxy container. Creates the proxy container
-     * if it does not exist.
-     * @private
-     * @param {Highcharts.HTMLAttributes} [attrs]
-     * The attributes to set on the new group div.
-     * @return {Highcharts.HTMLDOMElement}
-     * The new proxy group element.
-     */
-    addProxyGroup: function (attrs) {
-        this.createOrUpdateProxyContainer();
-        var groupDiv = this.createElement('div');
-        Object.keys(attrs || {}).forEach(function (prop) {
-            if (attrs[prop] !== null) {
-                groupDiv.setAttribute(prop, attrs[prop]);
-            }
-        });
-        this.chart.a11yProxyContainer.appendChild(groupDiv);
-        return groupDiv;
-    },
-    /**
-     * Creates and updates DOM position of proxy container
-     * @private
-     */
-    createOrUpdateProxyContainer: function () {
-        var chart = this.chart, rendererSVGEl = chart.renderer.box;
-        chart.a11yProxyContainer = chart.a11yProxyContainer ||
-            this.createProxyContainerElement();
-        if (rendererSVGEl.nextSibling !== chart.a11yProxyContainer) {
-            chart.container.insertBefore(chart.a11yProxyContainer, rendererSVGEl.nextSibling);
-        }
-    },
-    /**
-     * @private
-     * @return {Highcharts.HTMLDOMElement} element
-     */
-    createProxyContainerElement: function () {
-        var pc = doc.createElement('div');
-        pc.className = 'highcharts-a11y-proxy-container';
-        return pc;
-    },
-    /**
-     * Create an invisible proxy HTML button in the same position as an SVG
-     * element
-     * @private
-     * @param {Highcharts.SVGElement} svgElement
-     * The wrapped svg el to proxy.
-     * @param {Highcharts.HTMLDOMElement} parentGroup
-     * The proxy group element in the proxy container to add this button to.
-     * @param {Highcharts.SVGAttributes} [attributes]
-     * Additional attributes to set.
-     * @param {Highcharts.SVGElement} [posElement]
-     * Element to use for positioning instead of svgElement.
-     * @param {Function} [preClickEvent]
-     * Function to call before click event fires.
-     *
-     * @return {Highcharts.HTMLDOMElement} The proxy button.
-     */
-    createProxyButton: function (svgElement, parentGroup, attributes, posElement, preClickEvent) {
-        var svgEl = svgElement.element, proxy = this.createElement('button'), attrs = merge({
-            'aria-label': svgEl.getAttribute('aria-label')
-        }, attributes);
-        Object.keys(attrs).forEach(function (prop) {
-            if (attrs[prop] !== null) {
-                proxy.setAttribute(prop, attrs[prop]);
-            }
-        });
-        proxy.className = 'highcharts-a11y-proxy-button';
-        if (preClickEvent) {
-            this.addEvent(proxy, 'click', preClickEvent);
-        }
-        this.setProxyButtonStyle(proxy);
-        this.updateProxyButtonPosition(proxy, posElement || svgElement);
-        this.proxyMouseEventsForButton(svgEl, proxy);
-        // Add to chart div and unhide from screen readers
-        parentGroup.appendChild(proxy);
-        if (!attrs['aria-hidden']) {
-            unhideChartElementFromAT(this.chart, proxy);
-        }
-        return proxy;
-    },
-    /**
-     * Get the position relative to chart container for a wrapped SVG element.
-     * @private
-     * @param {Highcharts.SVGElement} element
-     * The element to calculate position for.
-     * @return {Highcharts.BBoxObject}
-     * Object with x and y props for the position.
-     */
-    getElementPosition: function (element) {
-        var el = element.element, div = this.chart.renderTo;
-        if (div && el && el.getBoundingClientRect) {
-            var rectEl = el.getBoundingClientRect(), rectDiv = div.getBoundingClientRect();
-            return {
-                x: rectEl.left - rectDiv.left,
-                y: rectEl.top - rectDiv.top,
-                width: rectEl.right - rectEl.left,
-                height: rectEl.bottom - rectEl.top
-            };
-        }
-        return { x: 0, y: 0, width: 1, height: 1 };
-    },
-    /**
-     * @private
-     * @param {Highcharts.HTMLElement} button The proxy element.
-     */
-    setProxyButtonStyle: function (button) {
-        merge(true, button.style, {
-            'border-width': 0,
-            'background-color': 'transparent',
-            cursor: 'pointer',
-            outline: 'none',
-            opacity: 0.001,
-            filter: 'alpha(opacity=1)',
-            '-ms-filter': 'progid:DXImageTransform.Microsoft.Alpha(Opacity=1)',
-            zIndex: 999,
-            overflow: 'hidden',
-            padding: 0,
-            margin: 0,
-            display: 'block',
-            position: 'absolute'
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.HTMLElement} proxy The proxy to update position of.
-     * @param {Highcharts.SVGElement} posElement The element to overlay and take position from.
-     */
-    updateProxyButtonPosition: function (proxy, posElement) {
-        var bBox = this.getElementPosition(posElement);
-        merge(true, proxy.style, {
-            width: (bBox.width || 1) + 'px',
-            height: (bBox.height || 1) + 'px',
-            left: (bBox.x || 0) + 'px',
-            top: (bBox.y || 0) + 'px'
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.HTMLElement|Highcharts.HTMLDOMElement|
-     *  Highcharts.SVGDOMElement|Highcharts.SVGElement} source
-     * @param {Highcharts.HTMLElement} button
-     */
-    proxyMouseEventsForButton: function (source, button) {
-        var component = this;
-        [
-            'click', 'touchstart', 'touchend', 'touchcancel', 'touchmove',
-            'mouseover', 'mouseenter', 'mouseleave', 'mouseout'
-        ].forEach(function (evtType) {
-            var isTouchEvent = evtType.indexOf('touch') === 0;
-            component.addEvent(button, evtType, function (e) {
-                var clonedEvent = isTouchEvent ?
-                    component.cloneTouchEvent(e) :
-                    component.cloneMouseEvent(e);
-                if (source) {
-                    component.fireEventOnWrappedOrUnwrappedElement(source, clonedEvent);
-                }
-                e.stopPropagation();
-                e.preventDefault();
-            }, { passive: false });
-        });
-    },
-    /**
-     * Utility function to clone a mouse event for re-dispatching.
-     * @private
-     * @param {global.MouseEvent} e The event to clone.
-     * @return {global.MouseEvent} The cloned event
-     */
-    cloneMouseEvent: function (e) {
-        if (typeof win.MouseEvent === 'function') {
-            return new win.MouseEvent(e.type, e);
-        }
-        // No MouseEvent support, try using initMouseEvent
-        if (doc.createEvent) {
-            var evt = doc.createEvent('MouseEvent');
-            if (evt.initMouseEvent) {
-                evt.initMouseEvent(e.type, e.bubbles, // #10561, #12161
-                e.cancelable, e.view || win, e.detail, e.screenX, e.screenY, e.clientX, e.clientY, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.button, e.relatedTarget);
-                return evt;
-            }
-        }
-        return getFakeMouseEvent(e.type);
-    },
-    /**
-     * Utility function to clone a touch event for re-dispatching.
-     * @private
-     * @param {global.TouchEvent} e The event to clone.
-     * @return {global.TouchEvent} The cloned event
-     */
-    cloneTouchEvent: function (e) {
-        var touchListToTouchArray = function (l) {
-            var touchArray = [];
-            for (var i = 0; i < l.length; ++i) {
-                var item = l.item(i);
-                if (item) {
-                    touchArray.push(item);
-                }
-            }
-            return touchArray;
-        };
-        if (typeof win.TouchEvent === 'function') {
-            var newEvent = new win.TouchEvent(e.type, {
-                touches: touchListToTouchArray(e.touches),
-                targetTouches: touchListToTouchArray(e.targetTouches),
-                changedTouches: touchListToTouchArray(e.changedTouches),
-                ctrlKey: e.ctrlKey,
-                shiftKey: e.shiftKey,
-                altKey: e.altKey,
-                metaKey: e.metaKey,
-                bubbles: e.bubbles,
-                cancelable: e.cancelable,
-                composed: e.composed,
-                detail: e.detail,
-                view: e.view
-            });
-            if (e.defaultPrevented) {
-                newEvent.preventDefault();
-            }
-            return newEvent;
-        }
-        // Fallback to mouse event
-        var fakeEvt = this.cloneMouseEvent(e);
-        fakeEvt.touches = e.touches;
-        fakeEvt.changedTouches = e.changedTouches;
-        fakeEvt.targetTouches = e.targetTouches;
-        return fakeEvt;
-    },
-    /**
-     * Remove traces of the component.
-     * @private
-     */
-    destroyBase: function () {
-        removeElement(this.chart.a11yProxyContainer);
-        this.domElementProvider.destroyCreatedElements();
-        this.eventProvider.removeAddedEvents();
-    }
-};
-extend(AccessibilityComponent.prototype, functionsToOverrideByDerivedClasses);
-export default AccessibilityComponent;

+ 0 - 135
node_modules/highcharts/es-modules/Accessibility/Components/AnnotationsA11y.js

@@ -1,135 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Annotations accessibility code.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import HTMLUtilities from '../Utils/HTMLUtilities.js';
-var escapeStringForHTML = HTMLUtilities.escapeStringForHTML, stripHTMLTagsFromString = HTMLUtilities.stripHTMLTagsFromString;
-/**
- * Get list of all annotation labels in the chart.
- *
- * @private
- * @param {Highcharts.Chart} chart The chart to get annotation info on.
- * @return {Array<object>} The labels, or empty array if none.
- */
-function getChartAnnotationLabels(chart) {
-    var annotations = chart.annotations || [];
-    return annotations.reduce(function (acc, cur) {
-        var _a;
-        if (((_a = cur.options) === null || _a === void 0 ? void 0 : _a.visible) !== false) {
-            acc = acc.concat(cur.labels);
-        }
-        return acc;
-    }, []);
-}
-/**
- * Get the text of an annotation label.
- *
- * @private
- * @param {object} label The annotation label object
- * @return {string} The text in the label.
- */
-function getLabelText(label) {
-    var _a, _b, _c, _d;
-    var a11yDesc = (_b = (_a = label.options) === null || _a === void 0 ? void 0 : _a.accessibility) === null || _b === void 0 ? void 0 : _b.description;
-    return a11yDesc ? a11yDesc : ((_d = (_c = label.graphic) === null || _c === void 0 ? void 0 : _c.text) === null || _d === void 0 ? void 0 : _d.textStr) || '';
-}
-/**
- * Describe an annotation label.
- *
- * @private
- * @param {object} label The annotation label object to describe
- * @return {string} The description for the label.
- */
-function getAnnotationLabelDescription(label) {
-    var _a, _b;
-    var a11yDesc = (_b = (_a = label.options) === null || _a === void 0 ? void 0 : _a.accessibility) === null || _b === void 0 ? void 0 : _b.description;
-    if (a11yDesc) {
-        return a11yDesc;
-    }
-    var chart = label.chart;
-    var labelText = getLabelText(label);
-    var points = label.points;
-    var getAriaLabel = function (point) { var _a, _b; return ((_b = (_a = point === null || point === void 0 ? void 0 : point.graphic) === null || _a === void 0 ? void 0 : _a.element) === null || _b === void 0 ? void 0 : _b.getAttribute('aria-label')) || ''; };
-    var getValueDesc = function (point) {
-        var _a;
-        var valDesc = ((_a = point === null || point === void 0 ? void 0 : point.accessibility) === null || _a === void 0 ? void 0 : _a.valueDescription) || getAriaLabel(point);
-        var seriesName = (point === null || point === void 0 ? void 0 : point.series.name) || '';
-        return (seriesName ? seriesName + ', ' : '') + 'data point ' + valDesc;
-    };
-    var pointValueDescriptions = points
-        .filter(function (p) { return !!p.graphic; }) // Filter out mock points
-        .map(getValueDesc)
-        .filter(function (desc) { return !!desc; }); // Filter out points we can't describe
-    var numPoints = pointValueDescriptions.length;
-    var pointsSelector = numPoints > 1 ? 'MultiplePoints' : numPoints ? 'SinglePoint' : 'NoPoints';
-    var langFormatStr = 'accessibility.screenReaderSection.annotations.description' + pointsSelector;
-    var context = {
-        annotationText: labelText,
-        annotation: label,
-        numPoints: numPoints,
-        annotationPoint: pointValueDescriptions[0],
-        additionalAnnotationPoints: pointValueDescriptions.slice(1)
-    };
-    return chart.langFormat(langFormatStr, context);
-}
-/**
- * Return array of HTML strings for each annotation label in the chart.
- *
- * @private
- * @param {Highcharts.Chart} chart The chart to get annotation info on.
- * @return {Array<string>} Array of strings with HTML content for each annotation label.
- */
-function getAnnotationListItems(chart) {
-    var labels = getChartAnnotationLabels(chart);
-    return labels.map(function (label) {
-        var desc = escapeStringForHTML(stripHTMLTagsFromString(getAnnotationLabelDescription(label)));
-        return desc ? "<li>" + desc + "</li>" : '';
-    });
-}
-/**
- * Return the annotation info for a chart as string.
- *
- * @private
- * @param {Highcharts.Chart} chart The chart to get annotation info on.
- * @return {string} String with HTML content or empty string if no annotations.
- */
-function getAnnotationsInfoHTML(chart) {
-    var annotations = chart.annotations;
-    if (!(annotations && annotations.length)) {
-        return '';
-    }
-    var annotationItems = getAnnotationListItems(chart);
-    return "<ul style=\"list-style-type: none\">" + annotationItems.join(' ') + "</ul>";
-}
-/**
- * Return the texts for the annotation(s) connected to a point, or empty array
- * if none.
- *
- * @private
- * @param {Highcharts.Point} point The data point to get the annotation info from.
- * @return {Array<string>} Annotation texts
- */
-function getPointAnnotationTexts(point) {
-    var labels = getChartAnnotationLabels(point.series.chart);
-    var pointLabels = labels
-        .filter(function (label) { return label.points.indexOf(point) > -1; });
-    if (!pointLabels.length) {
-        return [];
-    }
-    return pointLabels.map(function (label) { return "" + getLabelText(label); });
-}
-var AnnotationsA11y = {
-    getAnnotationsInfoHTML: getAnnotationsInfoHTML,
-    getAnnotationLabelDescription: getAnnotationLabelDescription,
-    getAnnotationListItems: getAnnotationListItems,
-    getPointAnnotationTexts: getPointAnnotationTexts
-};
-export default AnnotationsA11y;

+ 0 - 114
node_modules/highcharts/es-modules/Accessibility/Components/ContainerComponent.js

@@ -1,114 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component for chart container.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-import AccessibilityComponent from '../AccessibilityComponent.js';
-import ChartUtilities from '../Utils/ChartUtilities.js';
-var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT, getChartTitle = ChartUtilities.getChartTitle;
-import H from '../../Core/Globals.js';
-var doc = H.doc;
-import HTMLUtilities from '../Utils/HTMLUtilities.js';
-var stripHTMLTags = HTMLUtilities.stripHTMLTagsFromString;
-import U from '../../Core/Utilities.js';
-var extend = U.extend;
-/* eslint-disable valid-jsdoc */
-/**
- * The ContainerComponent class
- *
- * @private
- * @class
- * @name Highcharts.ContainerComponent
- */
-var ContainerComponent = function () { };
-ContainerComponent.prototype = new AccessibilityComponent();
-extend(ContainerComponent.prototype, /** @lends Highcharts.ContainerComponent */ {
-    /**
-     * Called on first render/updates to the chart, including options changes.
-     */
-    onChartUpdate: function () {
-        this.handleSVGTitleElement();
-        this.setSVGContainerLabel();
-        this.setGraphicContainerAttrs();
-        this.setRenderToAttrs();
-        this.makeCreditsAccessible();
-    },
-    /**
-     * @private
-     */
-    handleSVGTitleElement: function () {
-        var chart = this.chart, titleId = 'highcharts-title-' + chart.index, titleContents = stripHTMLTags(chart.langFormat('accessibility.svgContainerTitle', {
-            chartTitle: getChartTitle(chart)
-        }));
-        if (titleContents.length) {
-            var titleElement = this.svgTitleElement =
-                this.svgTitleElement || doc.createElementNS('http://www.w3.org/2000/svg', 'title');
-            titleElement.textContent = titleContents;
-            titleElement.id = titleId;
-            chart.renderTo.insertBefore(titleElement, chart.renderTo.firstChild);
-        }
-    },
-    /**
-     * @private
-     */
-    setSVGContainerLabel: function () {
-        var chart = this.chart, svgContainerLabel = chart.langFormat('accessibility.svgContainerLabel', {
-            chartTitle: getChartTitle(chart)
-        });
-        if (chart.renderer.box && svgContainerLabel.length) {
-            chart.renderer.box.setAttribute('aria-label', svgContainerLabel);
-        }
-    },
-    /**
-     * @private
-     */
-    setGraphicContainerAttrs: function () {
-        var chart = this.chart, label = chart.langFormat('accessibility.graphicContainerLabel', {
-            chartTitle: getChartTitle(chart)
-        });
-        if (label.length) {
-            chart.container.setAttribute('aria-label', label);
-        }
-    },
-    /**
-     * @private
-     */
-    setRenderToAttrs: function () {
-        var chart = this.chart;
-        if (chart.options.accessibility.landmarkVerbosity !== 'disabled') {
-            chart.renderTo.setAttribute('role', 'region');
-        }
-        else {
-            chart.renderTo.removeAttribute('role');
-        }
-        chart.renderTo.setAttribute('aria-label', chart.langFormat('accessibility.chartContainerLabel', {
-            title: getChartTitle(chart),
-            chart: chart
-        }));
-    },
-    /**
-     * @private
-     */
-    makeCreditsAccessible: function () {
-        var chart = this.chart, credits = chart.credits;
-        if (credits) {
-            if (credits.textStr) {
-                credits.element.setAttribute('aria-label', chart.langFormat('accessibility.credits', { creditsStr: stripHTMLTags(credits.textStr) }));
-            }
-            unhideChartElementFromAT(chart, credits.element);
-        }
-    },
-    /**
-     * Accessibility disabled/chart destroyed.
-     */
-    destroy: function () {
-        this.chart.renderTo.setAttribute('aria-hidden', true);
-    }
-});
-export default ContainerComponent;

+ 0 - 469
node_modules/highcharts/es-modules/Accessibility/Components/InfoRegionsComponent.js

@@ -1,469 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component for chart info region and table.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-import H from '../../Core/Globals.js';
-var doc = H.doc;
-import AST from '../../Core/Renderer/HTML/AST.js';
-import U from '../../Core/Utilities.js';
-var extend = U.extend, format = U.format, pick = U.pick;
-import AccessibilityComponent from '../AccessibilityComponent.js';
-import Announcer from '../Utils/Announcer.js';
-import AnnotationsA11y from './AnnotationsA11y.js';
-var getAnnotationsInfoHTML = AnnotationsA11y.getAnnotationsInfoHTML;
-import ChartUtilities from '../Utils/ChartUtilities.js';
-var getAxisDescription = ChartUtilities.getAxisDescription, getAxisRangeDescription = ChartUtilities.getAxisRangeDescription, getChartTitle = ChartUtilities.getChartTitle, unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
-import HTMLUtilities from '../Utils/HTMLUtilities.js';
-var addClass = HTMLUtilities.addClass, escapeStringForHTML = HTMLUtilities.escapeStringForHTML, getElement = HTMLUtilities.getElement, getHeadingTagNameForElement = HTMLUtilities.getHeadingTagNameForElement, setElAttrs = HTMLUtilities.setElAttrs, stripHTMLTagsFromString = HTMLUtilities.stripHTMLTagsFromString, visuallyHideElement = HTMLUtilities.visuallyHideElement;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- */
-function stripEmptyHTMLTags(str) {
-    return str.replace(/<(\w+)[^>]*?>\s*<\/\1>/g, '');
-}
-/**
- * @private
- */
-function getTypeDescForMapChart(chart, formatContext) {
-    return formatContext.mapTitle ?
-        chart.langFormat('accessibility.chartTypes.mapTypeDescription', formatContext) :
-        chart.langFormat('accessibility.chartTypes.unknownMap', formatContext);
-}
-/**
- * @private
- */
-function getTypeDescForCombinationChart(chart, formatContext) {
-    return chart.langFormat('accessibility.chartTypes.combinationChart', formatContext);
-}
-/**
- * @private
- */
-function getTypeDescForEmptyChart(chart, formatContext) {
-    return chart.langFormat('accessibility.chartTypes.emptyChart', formatContext);
-}
-/**
- * @private
- */
-function buildTypeDescriptionFromSeries(chart, types, context) {
-    var firstType = types[0], typeExplaination = chart.langFormat('accessibility.seriesTypeDescriptions.' + firstType, context), multi = chart.series && chart.series.length < 2 ? 'Single' : 'Multiple';
-    return (chart.langFormat('accessibility.chartTypes.' + firstType + multi, context) ||
-        chart.langFormat('accessibility.chartTypes.default' + multi, context)) + (typeExplaination ? ' ' + typeExplaination : '');
-}
-/**
- * @private
- */
-function getTableSummary(chart) {
-    return chart.langFormat('accessibility.table.tableSummary', { chart: chart });
-}
-/**
- * Return simplified explaination of chart type. Some types will not be familiar
- * to most users, but in those cases we try to add an explaination of the type.
- *
- * @private
- * @function Highcharts.Chart#getTypeDescription
- * @param {Array<string>} types The series types in this chart.
- * @return {string} The text description of the chart type.
- */
-H.Chart.prototype.getTypeDescription = function (types) {
-    var firstType = types[0], firstSeries = this.series && this.series[0] || {}, formatContext = {
-        numSeries: this.series.length,
-        numPoints: firstSeries.points && firstSeries.points.length,
-        chart: this,
-        mapTitle: firstSeries.mapTitle
-    };
-    if (!firstType) {
-        return getTypeDescForEmptyChart(this, formatContext);
-    }
-    if (firstType === 'map') {
-        return getTypeDescForMapChart(this, formatContext);
-    }
-    if (this.types.length > 1) {
-        return getTypeDescForCombinationChart(this, formatContext);
-    }
-    return buildTypeDescriptionFromSeries(this, types, formatContext);
-};
-/**
- * The InfoRegionsComponent class
- *
- * @private
- * @class
- * @name Highcharts.InfoRegionsComponent
- */
-var InfoRegionsComponent = function () { };
-InfoRegionsComponent.prototype = new AccessibilityComponent();
-extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponent */ {
-    /**
-     * Init the component
-     * @private
-     */
-    init: function () {
-        var chart = this.chart;
-        var component = this;
-        this.initRegionsDefinitions();
-        this.addEvent(chart, 'aftergetTableAST', function (e) {
-            component.onDataTableCreated(e);
-        });
-        this.addEvent(chart, 'afterViewData', function (tableDiv) {
-            component.dataTableDiv = tableDiv;
-            // Use small delay to give browsers & AT time to register new table
-            setTimeout(function () {
-                component.focusDataTable();
-            }, 300);
-        });
-        this.announcer = new Announcer(chart, 'assertive');
-    },
-    /**
-     * @private
-     */
-    initRegionsDefinitions: function () {
-        var component = this;
-        this.screenReaderSections = {
-            before: {
-                element: null,
-                buildContent: function (chart) {
-                    var formatter = chart.options.accessibility
-                        .screenReaderSection.beforeChartFormatter;
-                    return formatter ? formatter(chart) :
-                        component.defaultBeforeChartFormatter(chart);
-                },
-                insertIntoDOM: function (el, chart) {
-                    chart.renderTo.insertBefore(el, chart.renderTo.firstChild);
-                },
-                afterInserted: function () {
-                    if (typeof component.sonifyButtonId !== 'undefined') {
-                        component.initSonifyButton(component.sonifyButtonId);
-                    }
-                    if (typeof component.dataTableButtonId !== 'undefined') {
-                        component.initDataTableButton(component.dataTableButtonId);
-                    }
-                }
-            },
-            after: {
-                element: null,
-                buildContent: function (chart) {
-                    var formatter = chart.options.accessibility.screenReaderSection
-                        .afterChartFormatter;
-                    return formatter ? formatter(chart) :
-                        component.defaultAfterChartFormatter();
-                },
-                insertIntoDOM: function (el, chart) {
-                    chart.renderTo.insertBefore(el, chart.container.nextSibling);
-                }
-            }
-        };
-    },
-    /**
-     * Called on chart render. Have to update the sections on render, in order
-     * to get a11y info from series.
-     */
-    onChartRender: function () {
-        var component = this;
-        this.linkedDescriptionElement = this.getLinkedDescriptionElement();
-        this.setLinkedDescriptionAttrs();
-        Object.keys(this.screenReaderSections).forEach(function (regionKey) {
-            component.updateScreenReaderSection(regionKey);
-        });
-    },
-    /**
-     * @private
-     */
-    getLinkedDescriptionElement: function () {
-        var chartOptions = this.chart.options, linkedDescOption = chartOptions.accessibility.linkedDescription;
-        if (!linkedDescOption) {
-            return;
-        }
-        if (typeof linkedDescOption !== 'string') {
-            return linkedDescOption;
-        }
-        var query = format(linkedDescOption, this.chart), queryMatch = doc.querySelectorAll(query);
-        if (queryMatch.length === 1) {
-            return queryMatch[0];
-        }
-    },
-    /**
-     * @private
-     */
-    setLinkedDescriptionAttrs: function () {
-        var el = this.linkedDescriptionElement;
-        if (el) {
-            el.setAttribute('aria-hidden', 'true');
-            addClass(el, 'highcharts-linked-description');
-        }
-    },
-    /**
-     * @private
-     * @param {string} regionKey The name/key of the region to update
-     */
-    updateScreenReaderSection: function (regionKey) {
-        var chart = this.chart, region = this.screenReaderSections[regionKey], content = region.buildContent(chart), sectionDiv = region.element = (region.element || this.createElement('div')), hiddenDiv = (sectionDiv.firstChild || this.createElement('div'));
-        this.setScreenReaderSectionAttribs(sectionDiv, regionKey);
-        AST.setElementHTML(hiddenDiv, content);
-        sectionDiv.appendChild(hiddenDiv);
-        region.insertIntoDOM(sectionDiv, chart);
-        visuallyHideElement(hiddenDiv);
-        unhideChartElementFromAT(chart, hiddenDiv);
-        if (region.afterInserted) {
-            region.afterInserted();
-        }
-    },
-    /**
-     * @private
-     * @param {Highcharts.HTMLDOMElement} sectionDiv The section element
-     * @param {string} regionKey Name/key of the region we are setting attrs for
-     */
-    setScreenReaderSectionAttribs: function (sectionDiv, regionKey) {
-        var labelLangKey = ('accessibility.screenReaderSection.' + regionKey + 'RegionLabel'), chart = this.chart, labelText = chart.langFormat(labelLangKey, { chart: chart }), sectionId = 'highcharts-screen-reader-region-' + regionKey + '-' +
-            chart.index;
-        setElAttrs(sectionDiv, {
-            id: sectionId,
-            'aria-label': labelText
-        });
-        // Sections are wrapped to be positioned relatively to chart in case
-        // elements inside are tabbed to.
-        sectionDiv.style.position = 'relative';
-        if (chart.options.accessibility.landmarkVerbosity === 'all' &&
-            labelText) {
-            sectionDiv.setAttribute('role', 'region');
-        }
-    },
-    /**
-     * @private
-     * @return {string}
-     */
-    defaultBeforeChartFormatter: function () {
-        var _a;
-        var chart = this.chart, format = chart.options.accessibility
-            .screenReaderSection.beforeChartFormat, axesDesc = this.getAxesDescription(), shouldHaveSonifyBtn = chart.sonify && ((_a = chart.options.sonification) === null || _a === void 0 ? void 0 : _a.enabled), sonifyButtonId = 'highcharts-a11y-sonify-data-btn-' +
-            chart.index, dataTableButtonId = 'hc-linkto-highcharts-data-table-' +
-            chart.index, annotationsList = getAnnotationsInfoHTML(chart), annotationsTitleStr = chart.langFormat('accessibility.screenReaderSection.annotations.heading', { chart: chart }), context = {
-            headingTagName: getHeadingTagNameForElement(chart.renderTo),
-            chartTitle: getChartTitle(chart),
-            typeDescription: this.getTypeDescriptionText(),
-            chartSubtitle: this.getSubtitleText(),
-            chartLongdesc: this.getLongdescText(),
-            xAxisDescription: axesDesc.xAxis,
-            yAxisDescription: axesDesc.yAxis,
-            playAsSoundButton: shouldHaveSonifyBtn ?
-                this.getSonifyButtonText(sonifyButtonId) : '',
-            viewTableButton: chart.getCSV ?
-                this.getDataTableButtonText(dataTableButtonId) : '',
-            annotationsTitle: annotationsList ? annotationsTitleStr : '',
-            annotationsList: annotationsList
-        }, formattedString = H.i18nFormat(format, context, chart);
-        this.dataTableButtonId = dataTableButtonId;
-        this.sonifyButtonId = sonifyButtonId;
-        return stripEmptyHTMLTags(formattedString);
-    },
-    /**
-     * @private
-     * @return {string}
-     */
-    defaultAfterChartFormatter: function () {
-        var chart = this.chart, format = chart.options.accessibility
-            .screenReaderSection.afterChartFormat, context = {
-            endOfChartMarker: this.getEndOfChartMarkerText()
-        }, formattedString = H.i18nFormat(format, context, chart);
-        return stripEmptyHTMLTags(formattedString);
-    },
-    /**
-     * @private
-     * @return {string}
-     */
-    getLinkedDescription: function () {
-        var el = this.linkedDescriptionElement, content = el && el.innerHTML || '';
-        return stripHTMLTagsFromString(content);
-    },
-    /**
-     * @private
-     * @return {string}
-     */
-    getLongdescText: function () {
-        var chartOptions = this.chart.options, captionOptions = chartOptions.caption, captionText = captionOptions && captionOptions.text, linkedDescription = this.getLinkedDescription();
-        return (chartOptions.accessibility.description ||
-            linkedDescription ||
-            captionText ||
-            '');
-    },
-    /**
-     * @private
-     * @return {string}
-     */
-    getTypeDescriptionText: function () {
-        var chart = this.chart;
-        return chart.types ?
-            chart.options.accessibility.typeDescription ||
-                chart.getTypeDescription(chart.types) : '';
-    },
-    /**
-     * @private
-     * @param {string} buttonId
-     * @return {string}
-     */
-    getDataTableButtonText: function (buttonId) {
-        var chart = this.chart, buttonText = chart.langFormat('accessibility.table.viewAsDataTableButtonText', { chart: chart, chartTitle: getChartTitle(chart) });
-        return '<button id="' + buttonId + '">' + buttonText + '</button>';
-    },
-    /**
-     * @private
-     * @param {string} buttonId
-     * @return {string}
-     */
-    getSonifyButtonText: function (buttonId) {
-        var _a;
-        var chart = this.chart;
-        if (((_a = chart.options.sonification) === null || _a === void 0 ? void 0 : _a.enabled) === false) {
-            return '';
-        }
-        var buttonText = chart.langFormat('accessibility.sonification.playAsSoundButtonText', { chart: chart, chartTitle: getChartTitle(chart) });
-        return '<button id="' + buttonId + '">' + buttonText + '</button>';
-    },
-    /**
-     * @private
-     * @return {string}
-     */
-    getSubtitleText: function () {
-        var subtitle = (this.chart.options.subtitle);
-        return stripHTMLTagsFromString(subtitle && subtitle.text || '');
-    },
-    /**
-     * @private
-     * @return {string}
-     */
-    getEndOfChartMarkerText: function () {
-        var chart = this.chart, markerText = chart.langFormat('accessibility.screenReaderSection.endOfChartMarker', { chart: chart }), id = 'highcharts-end-of-chart-marker-' + chart.index;
-        return '<div id="' + id + '">' + markerText + '</div>';
-    },
-    /**
-     * @private
-     * @param {Highcharts.Dictionary<string>} e
-     */
-    onDataTableCreated: function (e) {
-        var chart = this.chart;
-        if (chart.options.accessibility.enabled) {
-            if (this.viewDataTableButton) {
-                this.viewDataTableButton.setAttribute('aria-expanded', 'true');
-            }
-            var attributes = e.tree.attributes || {};
-            attributes.tabindex = -1;
-            attributes.summary = getTableSummary(chart);
-            e.tree.attributes = attributes;
-        }
-    },
-    /**
-     * @private
-     */
-    focusDataTable: function () {
-        var tableDiv = this.dataTableDiv, table = tableDiv && tableDiv.getElementsByTagName('table')[0];
-        if (table && table.focus) {
-            table.focus();
-        }
-    },
-    /**
-     * @private
-     * @param {string} sonifyButtonId
-     */
-    initSonifyButton: function (sonifyButtonId) {
-        var _this = this;
-        var el = this.sonifyButton = getElement(sonifyButtonId);
-        var chart = this.chart;
-        var defaultHandler = function (e) {
-            el === null || el === void 0 ? void 0 : el.setAttribute('aria-hidden', 'true');
-            el === null || el === void 0 ? void 0 : el.setAttribute('aria-label', '');
-            e.preventDefault();
-            e.stopPropagation();
-            var announceMsg = chart.langFormat('accessibility.sonification.playAsSoundClickAnnouncement', { chart: chart });
-            _this.announcer.announce(announceMsg);
-            setTimeout(function () {
-                el === null || el === void 0 ? void 0 : el.removeAttribute('aria-hidden');
-                el === null || el === void 0 ? void 0 : el.removeAttribute('aria-label');
-                if (chart.sonify) {
-                    chart.sonify();
-                }
-            }, 1000); // Delay to let screen reader speak the button press
-        };
-        if (el && chart) {
-            setElAttrs(el, {
-                tabindex: '-1'
-            });
-            el.onclick = function (e) {
-                var _a;
-                var onPlayAsSoundClick = (_a = chart.options.accessibility) === null || _a === void 0 ? void 0 : _a.screenReaderSection.onPlayAsSoundClick;
-                (onPlayAsSoundClick || defaultHandler).call(this, e, chart);
-            };
-        }
-    },
-    /**
-     * Set attribs and handlers for default viewAsDataTable button if exists.
-     * @private
-     * @param {string} tableButtonId
-     */
-    initDataTableButton: function (tableButtonId) {
-        var el = this.viewDataTableButton = getElement(tableButtonId), chart = this.chart, tableId = tableButtonId.replace('hc-linkto-', '');
-        if (el) {
-            setElAttrs(el, {
-                tabindex: '-1',
-                'aria-expanded': !!getElement(tableId)
-            });
-            el.onclick = chart.options.accessibility
-                .screenReaderSection.onViewDataTableClick ||
-                function () {
-                    chart.viewData();
-                };
-        }
-    },
-    /**
-     * Return object with text description of each of the chart's axes.
-     * @private
-     * @return {Highcharts.Dictionary<string>}
-     */
-    getAxesDescription: function () {
-        var chart = this.chart, shouldDescribeColl = function (collectionKey, defaultCondition) {
-            var axes = chart[collectionKey];
-            return axes.length > 1 || axes[0] &&
-                pick(axes[0].options.accessibility &&
-                    axes[0].options.accessibility.enabled, defaultCondition);
-        }, hasNoMap = !!chart.types && chart.types.indexOf('map') < 0, hasCartesian = !!chart.hasCartesianSeries, showXAxes = shouldDescribeColl('xAxis', !chart.angular && hasCartesian && hasNoMap), showYAxes = shouldDescribeColl('yAxis', hasCartesian && hasNoMap), desc = {};
-        if (showXAxes) {
-            desc.xAxis = this.getAxisDescriptionText('xAxis');
-        }
-        if (showYAxes) {
-            desc.yAxis = this.getAxisDescriptionText('yAxis');
-        }
-        return desc;
-    },
-    /**
-     * @private
-     * @param {string} collectionKey
-     * @return {string}
-     */
-    getAxisDescriptionText: function (collectionKey) {
-        var chart = this.chart;
-        var axes = chart[collectionKey];
-        return chart.langFormat('accessibility.axis.' + collectionKey + 'Description' + (axes.length > 1 ? 'Plural' : 'Singular'), {
-            chart: chart,
-            names: axes.map(function (axis) {
-                return getAxisDescription(axis);
-            }),
-            ranges: axes.map(function (axis) {
-                return getAxisRangeDescription(axis);
-            }),
-            numAxes: axes.length
-        });
-    },
-    /**
-     * Remove component traces
-     */
-    destroy: function () {
-        var _a;
-        (_a = this.announcer) === null || _a === void 0 ? void 0 : _a.destroy();
-    }
-});
-export default InfoRegionsComponent;

+ 0 - 321
node_modules/highcharts/es-modules/Accessibility/Components/LegendComponent.js

@@ -1,321 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component for chart legend.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../../Core/Globals.js';
-import Legend from '../../Core/Legend.js';
-import U from '../../Core/Utilities.js';
-var addEvent = U.addEvent, extend = U.extend, find = U.find, fireEvent = U.fireEvent;
-import AccessibilityComponent from '../AccessibilityComponent.js';
-import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
-import HTMLUtilities from '../Utils/HTMLUtilities.js';
-var removeElement = HTMLUtilities.removeElement, stripHTMLTags = HTMLUtilities.stripHTMLTagsFromString;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- */
-function scrollLegendToItem(legend, itemIx) {
-    var itemPage = legend.allItems[itemIx].pageIx, curPage = legend.currentPage;
-    if (typeof itemPage !== 'undefined' && itemPage + 1 !== curPage) {
-        legend.scroll(1 + itemPage - curPage);
-    }
-}
-/**
- * @private
- */
-function shouldDoLegendA11y(chart) {
-    var items = chart.legend && chart.legend.allItems, legendA11yOptions = (chart.options.legend.accessibility || {});
-    return !!(items && items.length &&
-        !(chart.colorAxis && chart.colorAxis.length) &&
-        legendA11yOptions.enabled !== false);
-}
-/**
- * Highlight legend item by index.
- *
- * @private
- * @function Highcharts.Chart#highlightLegendItem
- *
- * @param {number} ix
- *
- * @return {boolean}
- */
-H.Chart.prototype.highlightLegendItem = function (ix) {
-    var items = this.legend.allItems, oldIx = this.highlightedLegendItemIx;
-    if (items[ix]) {
-        if (items[oldIx]) {
-            fireEvent(items[oldIx].legendGroup.element, 'mouseout');
-        }
-        scrollLegendToItem(this.legend, ix);
-        this.setFocusToElement(items[ix].legendItem, items[ix].a11yProxyElement);
-        fireEvent(items[ix].legendGroup.element, 'mouseover');
-        return true;
-    }
-    return false;
-};
-// Keep track of pressed state for legend items
-addEvent(Legend, 'afterColorizeItem', function (e) {
-    var chart = this.chart, a11yOptions = chart.options.accessibility, legendItem = e.item;
-    if (a11yOptions.enabled && legendItem && legendItem.a11yProxyElement) {
-        legendItem.a11yProxyElement.setAttribute('aria-pressed', e.visible ? 'true' : 'false');
-    }
-});
-/**
- * The LegendComponent class
- *
- * @private
- * @class
- * @name Highcharts.LegendComponent
- */
-var LegendComponent = function () { };
-LegendComponent.prototype = new AccessibilityComponent();
-extend(LegendComponent.prototype, /** @lends Highcharts.LegendComponent */ {
-    /**
-     * Init the component
-     * @private
-     */
-    init: function () {
-        var component = this;
-        this.proxyElementsList = [];
-        this.recreateProxies();
-        // Note: Chart could create legend dynamically, so events can not be
-        // tied to the component's chart's current legend.
-        this.addEvent(Legend, 'afterScroll', function () {
-            if (this.chart === component.chart) {
-                component.updateProxiesPositions();
-                component.updateLegendItemProxyVisibility();
-                this.chart.highlightLegendItem(component.highlightedLegendItemIx);
-            }
-        });
-        this.addEvent(Legend, 'afterPositionItem', function (e) {
-            if (this.chart === component.chart && this.chart.renderer) {
-                component.updateProxyPositionForItem(e.item);
-            }
-        });
-    },
-    /**
-     * @private
-     */
-    updateLegendItemProxyVisibility: function () {
-        var legend = this.chart.legend, items = legend.allItems || [], curPage = legend.currentPage || 1, clipHeight = legend.clipHeight || 0;
-        items.forEach(function (item) {
-            var itemPage = item.pageIx || 0, y = item._legendItemPos ? item._legendItemPos[1] : 0, h = item.legendItem ? Math.round(item.legendItem.getBBox().height) : 0, hide = y + h - legend.pages[itemPage] > clipHeight || itemPage !== curPage - 1;
-            if (item.a11yProxyElement) {
-                item.a11yProxyElement.style.visibility = hide ?
-                    'hidden' : 'visible';
-            }
-        });
-    },
-    /**
-     * The legend needs updates on every render, in order to update positioning
-     * of the proxy overlays.
-     */
-    onChartRender: function () {
-        if (shouldDoLegendA11y(this.chart)) {
-            this.updateProxiesPositions();
-        }
-        else {
-            this.removeProxies();
-        }
-    },
-    /**
-     * @private
-     */
-    onChartUpdate: function () {
-        this.updateLegendTitle();
-    },
-    /**
-     * @private
-     */
-    updateProxiesPositions: function () {
-        for (var _i = 0, _a = this.proxyElementsList; _i < _a.length; _i++) {
-            var _b = _a[_i], element = _b.element, posElement = _b.posElement;
-            this.updateProxyButtonPosition(element, posElement);
-        }
-    },
-    /**
-     * @private
-     */
-    updateProxyPositionForItem: function (item) {
-        var proxyRef = find(this.proxyElementsList, function (ref) { return ref.item === item; });
-        if (proxyRef) {
-            this.updateProxyButtonPosition(proxyRef.element, proxyRef.posElement);
-        }
-    },
-    /**
-     * @private
-     */
-    recreateProxies: function () {
-        this.removeProxies();
-        if (shouldDoLegendA11y(this.chart)) {
-            this.addLegendProxyGroup();
-            this.proxyLegendItems();
-            this.updateLegendItemProxyVisibility();
-        }
-    },
-    /**
-     * @private
-     */
-    removeProxies: function () {
-        removeElement(this.legendProxyGroup);
-        this.proxyElementsList = [];
-    },
-    /**
-     * @private
-     */
-    updateLegendTitle: function () {
-        var _a, _b;
-        var chart = this.chart;
-        var legendTitle = stripHTMLTags((((_b = (_a = chart.legend) === null || _a === void 0 ? void 0 : _a.options.title) === null || _b === void 0 ? void 0 : _b.text) || '').replace(/<br ?\/?>/g, ' '));
-        var legendLabel = chart.langFormat('accessibility.legend.legendLabel' + (legendTitle ? '' : 'NoTitle'), {
-            chart: chart,
-            legendTitle: legendTitle
-        });
-        if (this.legendProxyGroup) {
-            this.legendProxyGroup.setAttribute('aria-label', legendLabel);
-        }
-    },
-    /**
-     * @private
-     */
-    addLegendProxyGroup: function () {
-        var a11yOptions = this.chart.options.accessibility, groupRole = a11yOptions.landmarkVerbosity === 'all' ?
-            'region' : null;
-        this.legendProxyGroup = this.addProxyGroup({
-            'aria-label': '_placeholder_',
-            role: groupRole
-        });
-    },
-    /**
-     * @private
-     */
-    proxyLegendItems: function () {
-        var component = this, items = (this.chart.legend &&
-            this.chart.legend.allItems || []);
-        items.forEach(function (item) {
-            if (item.legendItem && item.legendItem.element) {
-                component.proxyLegendItem(item);
-            }
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.BubbleLegend|Point|Highcharts.Series} item
-     */
-    proxyLegendItem: function (item) {
-        if (!item.legendItem || !item.legendGroup) {
-            return;
-        }
-        var itemLabel = this.chart.langFormat('accessibility.legend.legendItem', {
-            chart: this.chart,
-            itemName: stripHTMLTags(item.name)
-        }), attribs = {
-            tabindex: -1,
-            'aria-pressed': item.visible,
-            'aria-label': itemLabel
-        }, 
-        // Considers useHTML
-        proxyPositioningElement = item.legendGroup.div ?
-            item.legendItem : item.legendGroup;
-        item.a11yProxyElement = this.createProxyButton(item.legendItem, this.legendProxyGroup, attribs, proxyPositioningElement);
-        this.proxyElementsList.push({
-            item: item,
-            element: item.a11yProxyElement,
-            posElement: proxyPositioningElement
-        });
-    },
-    /**
-     * Get keyboard navigation handler for this component.
-     * @return {Highcharts.KeyboardNavigationHandler}
-     */
-    getKeyboardNavigation: function () {
-        var keys = this.keyCodes, component = this, chart = this.chart;
-        return new KeyboardNavigationHandler(chart, {
-            keyCodeMap: [
-                [
-                    [keys.left, keys.right, keys.up, keys.down],
-                    function (keyCode) {
-                        return component.onKbdArrowKey(this, keyCode);
-                    }
-                ],
-                [
-                    [keys.enter, keys.space],
-                    function () {
-                        return component.onKbdClick(this);
-                    }
-                ]
-            ],
-            validate: function () {
-                return component.shouldHaveLegendNavigation();
-            },
-            init: function (direction) {
-                return component.onKbdNavigationInit(direction);
-            }
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @param {number} keyCode
-     * @return {number}
-     * Response code
-     */
-    onKbdArrowKey: function (keyboardNavigationHandler, keyCode) {
-        var keys = this.keyCodes, response = keyboardNavigationHandler.response, chart = this.chart, a11yOptions = chart.options.accessibility, numItems = chart.legend.allItems.length, direction = (keyCode === keys.left || keyCode === keys.up) ? -1 : 1;
-        var res = chart.highlightLegendItem(this.highlightedLegendItemIx + direction);
-        if (res) {
-            this.highlightedLegendItemIx += direction;
-            return response.success;
-        }
-        if (numItems > 1 &&
-            a11yOptions.keyboardNavigation.wrapAround) {
-            keyboardNavigationHandler.init(direction);
-            return response.success;
-        }
-        // No wrap, move
-        return response[direction > 0 ? 'next' : 'prev'];
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @return {number}
-     * Response code
-     */
-    onKbdClick: function (keyboardNavigationHandler) {
-        var legendItem = this.chart.legend.allItems[this.highlightedLegendItemIx];
-        if (legendItem && legendItem.a11yProxyElement) {
-            fireEvent(legendItem.a11yProxyElement, 'click');
-        }
-        return keyboardNavigationHandler.response.success;
-    },
-    /**
-     * @private
-     * @return {boolean|undefined}
-     */
-    shouldHaveLegendNavigation: function () {
-        var chart = this.chart, legendOptions = chart.options.legend || {}, hasLegend = chart.legend && chart.legend.allItems, hasColorAxis = chart.colorAxis && chart.colorAxis.length, legendA11yOptions = (legendOptions.accessibility || {});
-        return !!(hasLegend &&
-            chart.legend.display &&
-            !hasColorAxis &&
-            legendA11yOptions.enabled &&
-            legendA11yOptions.keyboardNavigation &&
-            legendA11yOptions.keyboardNavigation.enabled);
-    },
-    /**
-     * @private
-     * @param {number} direction
-     */
-    onKbdNavigationInit: function (direction) {
-        var chart = this.chart, lastIx = chart.legend.allItems.length - 1, ixToHighlight = direction > 0 ? 0 : lastIx;
-        chart.highlightLegendItem(ixToHighlight);
-        this.highlightedLegendItemIx = ixToHighlight;
-    }
-});
-export default LegendComponent;

+ 0 - 349
node_modules/highcharts/es-modules/Accessibility/Components/MenuComponent.js

@@ -1,349 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component for exporting menu.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../../Core/Globals.js';
-import U from '../../Core/Utilities.js';
-var extend = U.extend;
-import AccessibilityComponent from '../AccessibilityComponent.js';
-import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
-import ChartUtilities from '../Utils/ChartUtilities.js';
-var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
-import HTMLUtilities from '../Utils/HTMLUtilities.js';
-var removeElement = HTMLUtilities.removeElement, getFakeMouseEvent = HTMLUtilities.getFakeMouseEvent;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * Get the wrapped export button element of a chart.
- *
- * @private
- * @param {Highcharts.Chart} chart
- * @returns {Highcharts.SVGElement}
- */
-function getExportMenuButtonElement(chart) {
-    return chart.exportSVGElements && chart.exportSVGElements[0];
-}
-/**
- * Show the export menu and focus the first item (if exists).
- *
- * @private
- * @function Highcharts.Chart#showExportMenu
- */
-H.Chart.prototype.showExportMenu = function () {
-    var exportButton = getExportMenuButtonElement(this);
-    if (exportButton) {
-        var el = exportButton.element;
-        if (el.onclick) {
-            el.onclick(getFakeMouseEvent('click'));
-        }
-    }
-};
-/**
- * @private
- * @function Highcharts.Chart#hideExportMenu
- */
-H.Chart.prototype.hideExportMenu = function () {
-    var chart = this, exportList = chart.exportDivElements;
-    if (exportList && chart.exportContextMenu) {
-        // Reset hover states etc.
-        exportList.forEach(function (el) {
-            if (el.className === 'highcharts-menu-item' && el.onmouseout) {
-                el.onmouseout(getFakeMouseEvent('mouseout'));
-            }
-        });
-        chart.highlightedExportItemIx = 0;
-        // Hide the menu div
-        chart.exportContextMenu.hideMenu();
-        // Make sure the chart has focus and can capture keyboard events
-        chart.container.focus();
-    }
-};
-/**
- * Highlight export menu item by index.
- *
- * @private
- * @function Highcharts.Chart#highlightExportItem
- *
- * @param {number} ix
- *
- * @return {boolean}
- */
-H.Chart.prototype.highlightExportItem = function (ix) {
-    var listItem = this.exportDivElements && this.exportDivElements[ix], curHighlighted = this.exportDivElements &&
-        this.exportDivElements[this.highlightedExportItemIx], hasSVGFocusSupport;
-    if (listItem &&
-        listItem.tagName === 'LI' &&
-        !(listItem.children && listItem.children.length)) {
-        // Test if we have focus support for SVG elements
-        hasSVGFocusSupport = !!(this.renderTo.getElementsByTagName('g')[0] || {}).focus;
-        // Only focus if we can set focus back to the elements after
-        // destroying the menu (#7422)
-        if (listItem.focus && hasSVGFocusSupport) {
-            listItem.focus();
-        }
-        if (curHighlighted && curHighlighted.onmouseout) {
-            curHighlighted.onmouseout(getFakeMouseEvent('mouseout'));
-        }
-        if (listItem.onmouseover) {
-            listItem.onmouseover(getFakeMouseEvent('mouseover'));
-        }
-        this.highlightedExportItemIx = ix;
-        return true;
-    }
-    return false;
-};
-/**
- * Try to highlight the last valid export menu item.
- *
- * @private
- * @function Highcharts.Chart#highlightLastExportItem
- * @return {boolean}
- */
-H.Chart.prototype.highlightLastExportItem = function () {
-    var chart = this, i;
-    if (chart.exportDivElements) {
-        i = chart.exportDivElements.length;
-        while (i--) {
-            if (chart.highlightExportItem(i)) {
-                return true;
-            }
-        }
-    }
-    return false;
-};
-/**
- * @private
- * @param {Highcharts.Chart} chart
- */
-function exportingShouldHaveA11y(chart) {
-    var exportingOpts = chart.options.exporting, exportButton = getExportMenuButtonElement(chart);
-    return !!(exportingOpts &&
-        exportingOpts.enabled !== false &&
-        exportingOpts.accessibility &&
-        exportingOpts.accessibility.enabled &&
-        exportButton &&
-        exportButton.element);
-}
-/**
- * The MenuComponent class
- *
- * @private
- * @class
- * @name Highcharts.MenuComponent
- */
-var MenuComponent = function () { };
-MenuComponent.prototype = new AccessibilityComponent();
-extend(MenuComponent.prototype, /** @lends Highcharts.MenuComponent */ {
-    /**
-     * Init the component
-     */
-    init: function () {
-        var chart = this.chart, component = this;
-        this.addEvent(chart, 'exportMenuShown', function () {
-            component.onMenuShown();
-        });
-        this.addEvent(chart, 'exportMenuHidden', function () {
-            component.onMenuHidden();
-        });
-    },
-    /**
-     * @private
-     */
-    onMenuHidden: function () {
-        var menu = this.chart.exportContextMenu;
-        if (menu) {
-            menu.setAttribute('aria-hidden', 'true');
-        }
-        this.isExportMenuShown = false;
-        this.setExportButtonExpandedState('false');
-    },
-    /**
-     * @private
-     */
-    onMenuShown: function () {
-        var chart = this.chart, menu = chart.exportContextMenu;
-        if (menu) {
-            this.addAccessibleContextMenuAttribs();
-            unhideChartElementFromAT(chart, menu);
-        }
-        this.isExportMenuShown = true;
-        this.setExportButtonExpandedState('true');
-    },
-    /**
-     * @private
-     * @param {string} stateStr
-     */
-    setExportButtonExpandedState: function (stateStr) {
-        var button = this.exportButtonProxy;
-        if (button) {
-            button.setAttribute('aria-expanded', stateStr);
-        }
-    },
-    /**
-     * Called on each render of the chart. We need to update positioning of the
-     * proxy overlay.
-     */
-    onChartRender: function () {
-        var chart = this.chart, a11yOptions = chart.options.accessibility;
-        // Always start with a clean slate
-        removeElement(this.exportProxyGroup);
-        // Set screen reader properties on export menu
-        if (exportingShouldHaveA11y(chart)) {
-            // Proxy button and group
-            this.exportProxyGroup = this.addProxyGroup(
-            // Wrap in a region div if verbosity is high
-            a11yOptions.landmarkVerbosity === 'all' ? {
-                'aria-label': chart.langFormat('accessibility.exporting.exportRegionLabel', { chart: chart }),
-                'role': 'region'
-            } : {});
-            var button = getExportMenuButtonElement(this.chart);
-            this.exportButtonProxy = this.createProxyButton(button, this.exportProxyGroup, {
-                'aria-label': chart.langFormat('accessibility.exporting.menuButtonLabel', { chart: chart }),
-                'aria-expanded': 'false'
-            });
-        }
-    },
-    /**
-     * @private
-     */
-    addAccessibleContextMenuAttribs: function () {
-        var chart = this.chart, exportList = chart.exportDivElements;
-        if (exportList && exportList.length) {
-            // Set tabindex on the menu items to allow focusing by script
-            // Set role to give screen readers a chance to pick up the contents
-            exportList.forEach(function (item) {
-                if (item.tagName === 'LI' &&
-                    !(item.children && item.children.length)) {
-                    item.setAttribute('tabindex', -1);
-                }
-                else {
-                    item.setAttribute('aria-hidden', 'true');
-                }
-            });
-            // Set accessibility properties on parent div
-            var parentDiv = exportList[0].parentNode;
-            parentDiv.removeAttribute('aria-hidden');
-            parentDiv.setAttribute('aria-label', chart.langFormat('accessibility.exporting.chartMenuLabel', { chart: chart }));
-        }
-    },
-    /**
-     * Get keyboard navigation handler for this component.
-     * @return {Highcharts.KeyboardNavigationHandler}
-     */
-    getKeyboardNavigation: function () {
-        var keys = this.keyCodes, chart = this.chart, component = this;
-        return new KeyboardNavigationHandler(chart, {
-            keyCodeMap: [
-                // Arrow prev handler
-                [
-                    [keys.left, keys.up],
-                    function () {
-                        return component.onKbdPrevious(this);
-                    }
-                ],
-                // Arrow next handler
-                [
-                    [keys.right, keys.down],
-                    function () {
-                        return component.onKbdNext(this);
-                    }
-                ],
-                // Click handler
-                [
-                    [keys.enter, keys.space],
-                    function () {
-                        return component.onKbdClick(this);
-                    }
-                ]
-            ],
-            // Only run exporting navigation if exporting support exists and is
-            // enabled on chart
-            validate: function () {
-                return chart.exportChart &&
-                    chart.options.exporting.enabled !== false &&
-                    chart.options.exporting.accessibility.enabled !==
-                        false;
-            },
-            // Focus export menu button
-            init: function () {
-                var exportBtn = component.exportButtonProxy, exportGroup = chart.exportingGroup;
-                if (exportGroup && exportBtn) {
-                    chart.setFocusToElement(exportGroup, exportBtn);
-                }
-            },
-            // Hide the menu
-            terminate: function () {
-                chart.hideExportMenu();
-            }
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @return {number}
-     * Response code
-     */
-    onKbdPrevious: function (keyboardNavigationHandler) {
-        var chart = this.chart, a11yOptions = chart.options.accessibility, response = keyboardNavigationHandler.response, i = chart.highlightedExportItemIx || 0;
-        // Try to highlight prev item in list. Highlighting e.g.
-        // separators will fail.
-        while (i--) {
-            if (chart.highlightExportItem(i)) {
-                return response.success;
-            }
-        }
-        // We failed, so wrap around or move to prev module
-        if (a11yOptions.keyboardNavigation.wrapAround) {
-            chart.highlightLastExportItem();
-            return response.success;
-        }
-        return response.prev;
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @return {number}
-     * Response code
-     */
-    onKbdNext: function (keyboardNavigationHandler) {
-        var chart = this.chart, a11yOptions = chart.options.accessibility, response = keyboardNavigationHandler.response, i = (chart.highlightedExportItemIx || 0) + 1;
-        // Try to highlight next item in list. Highlighting e.g.
-        // separators will fail.
-        for (; i < chart.exportDivElements.length; ++i) {
-            if (chart.highlightExportItem(i)) {
-                return response.success;
-            }
-        }
-        // We failed, so wrap around or move to next module
-        if (a11yOptions.keyboardNavigation.wrapAround) {
-            chart.highlightExportItem(0);
-            return response.success;
-        }
-        return response.next;
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @return {number}
-     * Response code
-     */
-    onKbdClick: function (keyboardNavigationHandler) {
-        var chart = this.chart, curHighlightedItem = chart.exportDivElements[chart.highlightedExportItemIx], exportButtonElement = getExportMenuButtonElement(chart).element;
-        if (this.isExportMenuShown) {
-            this.fakeClickEvent(curHighlightedItem);
-        }
-        else {
-            this.fakeClickEvent(exportButtonElement);
-            chart.highlightExportItem(0);
-        }
-        return keyboardNavigationHandler.response.success;
-    }
-});
-export default MenuComponent;

+ 0 - 414
node_modules/highcharts/es-modules/Accessibility/Components/RangeSelectorComponent.js

@@ -1,414 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component for the range selector.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import AccessibilityComponent from '../AccessibilityComponent.js';
-import ChartUtilities from '../Utils/ChartUtilities.js';
-var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT, getAxisRangeDescription = ChartUtilities.getAxisRangeDescription;
-import Announcer from '../Utils/Announcer.js';
-import H from '../../Core/Globals.js';
-import HTMLUtilities from '../Utils/HTMLUtilities.js';
-var setElAttrs = HTMLUtilities.setElAttrs;
-import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
-import U from '../../Core/Utilities.js';
-import RangeSelector from '../../Extensions/RangeSelector.js';
-var addEvent = U.addEvent, extend = U.extend;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- */
-function shouldRunInputNavigation(chart) {
-    return Boolean(chart.rangeSelector &&
-        chart.rangeSelector.inputGroup &&
-        chart.rangeSelector.inputGroup.element
-            .getAttribute('visibility') !== 'hidden' &&
-        chart.options.rangeSelector.inputEnabled !== false &&
-        chart.rangeSelector.minInput &&
-        chart.rangeSelector.maxInput);
-}
-/**
- * Highlight range selector button by index.
- *
- * @private
- * @function Highcharts.Chart#highlightRangeSelectorButton
- *
- * @param {number} ix
- *
- * @return {boolean}
- */
-H.Chart.prototype.highlightRangeSelectorButton = function (ix) {
-    var _a, _b;
-    var buttons = ((_a = this.rangeSelector) === null || _a === void 0 ? void 0 : _a.buttons) || [];
-    var curHighlightedIx = this.highlightedRangeSelectorItemIx;
-    var curSelectedIx = (_b = this.rangeSelector) === null || _b === void 0 ? void 0 : _b.selected;
-    // Deselect old
-    if (typeof curHighlightedIx !== 'undefined' &&
-        buttons[curHighlightedIx] &&
-        curHighlightedIx !== curSelectedIx) {
-        buttons[curHighlightedIx].setState(this.oldRangeSelectorItemState || 0);
-    }
-    // Select new
-    this.highlightedRangeSelectorItemIx = ix;
-    if (buttons[ix]) {
-        this.setFocusToElement(buttons[ix].box, buttons[ix].element);
-        if (ix !== curSelectedIx) {
-            this.oldRangeSelectorItemState = buttons[ix].state;
-            buttons[ix].setState(1);
-        }
-        return true;
-    }
-    return false;
-};
-// Range selector does not have destroy-setup for class instance events - so
-// we set it on the class and call the component from here.
-addEvent(RangeSelector, 'afterBtnClick', function () {
-    var _a;
-    var component = (_a = this.chart.accessibility) === null || _a === void 0 ? void 0 : _a.components.rangeSelector;
-    return component === null || component === void 0 ? void 0 : component.onAfterBtnClick();
-});
-/**
- * The RangeSelectorComponent class
- *
- * @private
- * @class
- * @name Highcharts.RangeSelectorComponent
- */
-var RangeSelectorComponent = function () { };
-RangeSelectorComponent.prototype = new AccessibilityComponent();
-extend(RangeSelectorComponent.prototype, /** @lends Highcharts.RangeSelectorComponent */ {
-    /**
-     * Init the component
-     * @private
-     */
-    init: function () {
-        var chart = this.chart;
-        this.announcer = new Announcer(chart, 'polite');
-    },
-    /**
-     * Called on first render/updates to the chart, including options changes.
-     */
-    onChartUpdate: function () {
-        var _a;
-        var chart = this.chart, component = this, rangeSelector = chart.rangeSelector;
-        if (!rangeSelector) {
-            return;
-        }
-        this.updateSelectorVisibility();
-        this.setDropdownAttrs();
-        if ((_a = rangeSelector.buttons) === null || _a === void 0 ? void 0 : _a.length) {
-            rangeSelector.buttons.forEach(function (button) {
-                component.setRangeButtonAttrs(button);
-            });
-        }
-        // Make sure input boxes are accessible and focusable
-        if (rangeSelector.maxInput && rangeSelector.minInput) {
-            ['minInput', 'maxInput'].forEach(function (key, i) {
-                var input = rangeSelector[key];
-                if (input) {
-                    unhideChartElementFromAT(chart, input);
-                    component.setRangeInputAttrs(input, 'accessibility.rangeSelector.' + (i ? 'max' : 'min') +
-                        'InputLabel');
-                }
-            });
-        }
-    },
-    /**
-     * Hide buttons from AT when showing dropdown, and vice versa.
-     * @private
-     */
-    updateSelectorVisibility: function () {
-        var chart = this.chart;
-        var rangeSelector = chart.rangeSelector;
-        var dropdown = rangeSelector === null || rangeSelector === void 0 ? void 0 : rangeSelector.dropdown;
-        var buttons = (rangeSelector === null || rangeSelector === void 0 ? void 0 : rangeSelector.buttons) || [];
-        var hideFromAT = function (el) { return el.setAttribute('aria-hidden', true); };
-        if ((rangeSelector === null || rangeSelector === void 0 ? void 0 : rangeSelector.hasVisibleDropdown) && dropdown) {
-            unhideChartElementFromAT(chart, dropdown);
-            buttons.forEach(function (btn) { return hideFromAT(btn.element); });
-        }
-        else {
-            if (dropdown) {
-                hideFromAT(dropdown);
-            }
-            buttons.forEach(function (btn) { return unhideChartElementFromAT(chart, btn.element); });
-        }
-    },
-    /**
-     * Set accessibility related attributes on dropdown element.
-     * @private
-     */
-    setDropdownAttrs: function () {
-        var _a;
-        var chart = this.chart;
-        var dropdown = (_a = chart.rangeSelector) === null || _a === void 0 ? void 0 : _a.dropdown;
-        if (dropdown) {
-            var label = chart.langFormat('accessibility.rangeSelector.dropdownLabel', { rangeTitle: chart.options.lang.rangeSelectorZoom });
-            dropdown.setAttribute('aria-label', label);
-            dropdown.setAttribute('tabindex', -1);
-        }
-    },
-    /**
-     * @private
-     * @param {Highcharts.SVGElement} button
-     */
-    setRangeButtonAttrs: function (button) {
-        setElAttrs(button.element, {
-            tabindex: -1,
-            role: 'button'
-        });
-    },
-    /**
-     * @private
-     */
-    setRangeInputAttrs: function (input, langKey) {
-        var chart = this.chart;
-        setElAttrs(input, {
-            tabindex: -1,
-            'aria-label': chart.langFormat(langKey, { chart: chart })
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @param {number} keyCode
-     * @return {number} Response code
-     */
-    onButtonNavKbdArrowKey: function (keyboardNavigationHandler, keyCode) {
-        var response = keyboardNavigationHandler.response, keys = this.keyCodes, chart = this.chart, wrapAround = chart.options.accessibility
-            .keyboardNavigation.wrapAround, direction = (keyCode === keys.left || keyCode === keys.up) ? -1 : 1, didHighlight = chart.highlightRangeSelectorButton(chart.highlightedRangeSelectorItemIx + direction);
-        if (!didHighlight) {
-            if (wrapAround) {
-                keyboardNavigationHandler.init(direction);
-                return response.success;
-            }
-            return response[direction > 0 ? 'next' : 'prev'];
-        }
-        return response.success;
-    },
-    /**
-     * @private
-     */
-    onButtonNavKbdClick: function (keyboardNavigationHandler) {
-        var response = keyboardNavigationHandler.response, chart = this.chart, wasDisabled = chart.oldRangeSelectorItemState === 3;
-        if (!wasDisabled) {
-            this.fakeClickEvent(chart.rangeSelector.buttons[chart.highlightedRangeSelectorItemIx].element);
-        }
-        return response.success;
-    },
-    /**
-     * Called whenever a range selector button has been clicked, either by
-     * mouse, touch, or kbd/voice/other.
-     * @private
-     */
-    onAfterBtnClick: function () {
-        var chart = this.chart;
-        var axisRangeDescription = getAxisRangeDescription(chart.xAxis[0]);
-        var announcement = chart.langFormat('accessibility.rangeSelector.clickButtonAnnouncement', { chart: chart, axisRangeDescription: axisRangeDescription });
-        if (announcement) {
-            this.announcer.announce(announcement);
-        }
-    },
-    /**
-     * @private
-     */
-    onInputKbdMove: function (direction) {
-        var _a, _b;
-        var chart = this.chart;
-        var rangeSel = chart.rangeSelector;
-        var newIx = chart.highlightedInputRangeIx = (chart.highlightedInputRangeIx || 0) + direction;
-        var newIxOutOfRange = newIx > 1 || newIx < 0;
-        if (newIxOutOfRange) {
-            (_a = chart.accessibility) === null || _a === void 0 ? void 0 : _a.keyboardNavigation.tabindexContainer.focus();
-            (_b = chart.accessibility) === null || _b === void 0 ? void 0 : _b.keyboardNavigation[direction < 0 ? 'prev' : 'next']();
-        }
-        else if (rangeSel) {
-            var svgEl = rangeSel[newIx ? 'maxDateBox' : 'minDateBox'];
-            var inputEl = rangeSel[newIx ? 'maxInput' : 'minInput'];
-            if (svgEl && inputEl) {
-                chart.setFocusToElement(svgEl, inputEl);
-            }
-        }
-    },
-    /**
-     * @private
-     * @param {number} direction
-     */
-    onInputNavInit: function (direction) {
-        var _this = this;
-        var component = this;
-        var chart = this.chart;
-        var buttonIxToHighlight = direction > 0 ? 0 : 1;
-        var rangeSel = chart.rangeSelector;
-        var svgEl = rangeSel === null || rangeSel === void 0 ? void 0 : rangeSel[buttonIxToHighlight ? 'maxDateBox' : 'minDateBox'];
-        var minInput = rangeSel === null || rangeSel === void 0 ? void 0 : rangeSel.minInput;
-        var maxInput = rangeSel === null || rangeSel === void 0 ? void 0 : rangeSel.maxInput;
-        var inputEl = buttonIxToHighlight ? maxInput : minInput;
-        chart.highlightedInputRangeIx = buttonIxToHighlight;
-        if (svgEl && minInput && maxInput) {
-            chart.setFocusToElement(svgEl, inputEl);
-            // Tab-press with the input focused does not propagate to chart
-            // automatically, so we manually catch and handle it when relevant.
-            if (this.removeInputKeydownHandler) {
-                this.removeInputKeydownHandler();
-            }
-            var keydownHandler = function (e) {
-                var isTab = (e.which || e.keyCode) === _this.keyCodes.tab;
-                if (isTab) {
-                    e.preventDefault();
-                    e.stopPropagation();
-                    component.onInputKbdMove(e.shiftKey ? -1 : 1);
-                }
-            };
-            var minRemover_1 = addEvent(minInput, 'keydown', keydownHandler);
-            var maxRemover_1 = addEvent(maxInput, 'keydown', keydownHandler);
-            this.removeInputKeydownHandler = function () {
-                minRemover_1();
-                maxRemover_1();
-            };
-        }
-    },
-    /**
-     * @private
-     */
-    onInputNavTerminate: function () {
-        var rangeSel = (this.chart.rangeSelector || {});
-        if (rangeSel.maxInput) {
-            rangeSel.hideInput('max');
-        }
-        if (rangeSel.minInput) {
-            rangeSel.hideInput('min');
-        }
-        if (this.removeInputKeydownHandler) {
-            this.removeInputKeydownHandler();
-            delete this.removeInputKeydownHandler;
-        }
-    },
-    /**
-     * @private
-     */
-    initDropdownNav: function () {
-        var _this = this;
-        var chart = this.chart;
-        var rangeSelector = chart.rangeSelector;
-        var dropdown = rangeSelector === null || rangeSelector === void 0 ? void 0 : rangeSelector.dropdown;
-        if (rangeSelector && dropdown) {
-            chart.setFocusToElement(rangeSelector.buttonGroup, dropdown);
-            if (this.removeDropdownKeydownHandler) {
-                this.removeDropdownKeydownHandler();
-            }
-            // Tab-press with dropdown focused does not propagate to chart
-            // automatically, so we manually catch and handle it when relevant.
-            this.removeDropdownKeydownHandler = addEvent(dropdown, 'keydown', function (e) {
-                var _a, _b;
-                var isTab = (e.which || e.keyCode) === _this.keyCodes.tab;
-                if (isTab) {
-                    e.preventDefault();
-                    e.stopPropagation();
-                    (_a = chart.accessibility) === null || _a === void 0 ? void 0 : _a.keyboardNavigation.tabindexContainer.focus();
-                    (_b = chart.accessibility) === null || _b === void 0 ? void 0 : _b.keyboardNavigation[e.shiftKey ? 'prev' : 'next']();
-                }
-            });
-        }
-    },
-    /**
-     * Get navigation for the range selector buttons.
-     * @private
-     * @return {Highcharts.KeyboardNavigationHandler} The module object.
-     */
-    getRangeSelectorButtonNavigation: function () {
-        var chart = this.chart;
-        var keys = this.keyCodes;
-        var component = this;
-        return new KeyboardNavigationHandler(chart, {
-            keyCodeMap: [
-                [
-                    [keys.left, keys.right, keys.up, keys.down],
-                    function (keyCode) {
-                        return component.onButtonNavKbdArrowKey(this, keyCode);
-                    }
-                ],
-                [
-                    [keys.enter, keys.space],
-                    function () {
-                        return component.onButtonNavKbdClick(this);
-                    }
-                ]
-            ],
-            validate: function () {
-                var _a, _b;
-                return !!((_b = (_a = chart.rangeSelector) === null || _a === void 0 ? void 0 : _a.buttons) === null || _b === void 0 ? void 0 : _b.length);
-            },
-            init: function (direction) {
-                var rangeSelector = chart.rangeSelector;
-                if (rangeSelector === null || rangeSelector === void 0 ? void 0 : rangeSelector.hasVisibleDropdown) {
-                    component.initDropdownNav();
-                }
-                else if (rangeSelector) {
-                    var lastButtonIx = rangeSelector.buttons.length - 1;
-                    chart.highlightRangeSelectorButton(direction > 0 ? 0 : lastButtonIx);
-                }
-            },
-            terminate: function () {
-                if (component.removeDropdownKeydownHandler) {
-                    component.removeDropdownKeydownHandler();
-                    delete component.removeDropdownKeydownHandler;
-                }
-            }
-        });
-    },
-    /**
-     * Get navigation for the range selector input boxes.
-     * @private
-     * @return {Highcharts.KeyboardNavigationHandler}
-     *         The module object.
-     */
-    getRangeSelectorInputNavigation: function () {
-        var chart = this.chart;
-        var component = this;
-        return new KeyboardNavigationHandler(chart, {
-            keyCodeMap: [],
-            validate: function () {
-                return shouldRunInputNavigation(chart);
-            },
-            init: function (direction) {
-                component.onInputNavInit(direction);
-            },
-            terminate: function () {
-                component.onInputNavTerminate();
-            }
-        });
-    },
-    /**
-     * Get keyboard navigation handlers for this component.
-     * @return {Array<Highcharts.KeyboardNavigationHandler>}
-     *         List of module objects.
-     */
-    getKeyboardNavigation: function () {
-        return [
-            this.getRangeSelectorButtonNavigation(),
-            this.getRangeSelectorInputNavigation()
-        ];
-    },
-    /**
-     * Remove component traces
-     */
-    destroy: function () {
-        var _a;
-        if (this.removeDropdownKeydownHandler) {
-            this.removeDropdownKeydownHandler();
-        }
-        if (this.removeInputKeydownHandler) {
-            this.removeInputKeydownHandler();
-        }
-        (_a = this.announcer) === null || _a === void 0 ? void 0 : _a.destroy();
-    }
-});
-export default RangeSelectorComponent;

+ 0 - 171
node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js

@@ -1,171 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Handle forcing series markers.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import Series from '../../../Core/Series/Series.js';
-import U from '../../../Core/Utilities.js';
-var addEvent = U.addEvent, merge = U.merge;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- */
-function isWithinDescriptionThreshold(series) {
-    var a11yOptions = series.chart.options.accessibility;
-    return series.points.length <
-        a11yOptions.series.pointDescriptionEnabledThreshold ||
-        a11yOptions.series.pointDescriptionEnabledThreshold === false;
-}
-/**
- * @private
- */
-function shouldForceMarkers(series) {
-    var chart = series.chart, chartA11yEnabled = chart.options.accessibility.enabled, seriesA11yEnabled = (series.options.accessibility &&
-        series.options.accessibility.enabled) !== false;
-    return chartA11yEnabled && seriesA11yEnabled && isWithinDescriptionThreshold(series);
-}
-/**
- * @private
- */
-function hasIndividualPointMarkerOptions(series) {
-    return !!(series._hasPointMarkers && series.points && series.points.length);
-}
-/**
- * @private
- */
-function unforceSeriesMarkerOptions(series) {
-    var resetMarkerOptions = series.resetA11yMarkerOptions;
-    if (resetMarkerOptions) {
-        merge(true, series.options, {
-            marker: {
-                enabled: resetMarkerOptions.enabled,
-                states: {
-                    normal: {
-                        opacity: resetMarkerOptions.states &&
-                            resetMarkerOptions.states.normal &&
-                            resetMarkerOptions.states.normal.opacity
-                    }
-                }
-            }
-        });
-    }
-}
-/**
- * @private
- */
-function forceZeroOpacityMarkerOptions(options) {
-    merge(true, options, {
-        marker: {
-            enabled: true,
-            states: {
-                normal: {
-                    opacity: 0
-                }
-            }
-        }
-    });
-}
-/**
- * @private
- */
-function getPointMarkerOpacity(pointOptions) {
-    return pointOptions.marker.states &&
-        pointOptions.marker.states.normal &&
-        pointOptions.marker.states.normal.opacity || 1;
-}
-/**
- * @private
- */
-function unforcePointMarkerOptions(pointOptions) {
-    merge(true, pointOptions.marker, {
-        states: {
-            normal: {
-                opacity: getPointMarkerOpacity(pointOptions)
-            }
-        }
-    });
-}
-/**
- * @private
- */
-function handleForcePointMarkers(series) {
-    var i = series.points.length;
-    while (i--) {
-        var point = series.points[i];
-        var pointOptions = point.options;
-        delete point.hasForcedA11yMarker;
-        if (pointOptions.marker) {
-            if (pointOptions.marker.enabled) {
-                unforcePointMarkerOptions(pointOptions);
-                point.hasForcedA11yMarker = false;
-            }
-            else {
-                forceZeroOpacityMarkerOptions(pointOptions);
-                point.hasForcedA11yMarker = true;
-            }
-        }
-    }
-}
-/**
- * @private
- */
-function addForceMarkersEvents() {
-    /**
-     * Keep track of forcing markers.
-     * @private
-     */
-    addEvent(Series, 'render', function () {
-        var series = this, options = series.options;
-        if (shouldForceMarkers(series)) {
-            if (options.marker && options.marker.enabled === false) {
-                series.a11yMarkersForced = true;
-                forceZeroOpacityMarkerOptions(series.options);
-            }
-            if (hasIndividualPointMarkerOptions(series)) {
-                handleForcePointMarkers(series);
-            }
-        }
-        else if (series.a11yMarkersForced) {
-            delete series.a11yMarkersForced;
-            unforceSeriesMarkerOptions(series);
-        }
-    });
-    /**
-     * Keep track of options to reset markers to if no longer forced.
-     * @private
-     */
-    addEvent(Series, 'afterSetOptions', function (e) {
-        this.resetA11yMarkerOptions = merge(e.options.marker || {}, this.userOptions.marker || {});
-    });
-    /**
-     * Process marker graphics after render
-     * @private
-     */
-    addEvent(Series, 'afterRender', function () {
-        var series = this;
-        // For styled mode the rendered graphic does not reflect the style
-        // options, and we need to add/remove classes to achieve the same.
-        if (series.chart.styledMode) {
-            if (series.markerGroup) {
-                series.markerGroup[series.a11yMarkersForced ? 'addClass' : 'removeClass']('highcharts-a11y-markers-hidden');
-            }
-            // Do we need to handle individual points?
-            if (hasIndividualPointMarkerOptions(series)) {
-                series.points.forEach(function (point) {
-                    if (point.graphic) {
-                        point.graphic[point.hasForcedA11yMarker ? 'addClass' : 'removeClass']('highcharts-a11y-marker-hidden');
-                        point.graphic[point.hasForcedA11yMarker === false ? 'addClass' : 'removeClass']('highcharts-a11y-marker-visible');
-                    }
-                });
-            }
-        }
-    });
-}
-export default addForceMarkersEvents;

+ 0 - 255
node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js

@@ -1,255 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Handle announcing new data for a chart.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../../../Core/Globals.js';
-import Series from '../../../Core/Series/Series.js';
-import U from '../../../Core/Utilities.js';
-var extend = U.extend, defined = U.defined;
-import ChartUtilities from '../../Utils/ChartUtilities.js';
-var getChartTitle = ChartUtilities.getChartTitle;
-import SeriesDescriber from './SeriesDescriber.js';
-var defaultPointDescriptionFormatter = SeriesDescriber
-    .defaultPointDescriptionFormatter, defaultSeriesDescriptionFormatter = SeriesDescriber
-    .defaultSeriesDescriptionFormatter;
-import Announcer from '../../Utils/Announcer.js';
-import EventProvider from '../../Utils/EventProvider.js';
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- */
-function chartHasAnnounceEnabled(chart) {
-    return !!chart.options.accessibility.announceNewData.enabled;
-}
-/**
- * @private
- */
-function findPointInDataArray(point) {
-    var candidates = point.series.data.filter(function (candidate) {
-        return point.x === candidate.x && point.y === candidate.y;
-    });
-    return candidates.length === 1 ? candidates[0] : point;
-}
-/**
- * Get array of unique series from two arrays
- * @private
- */
-function getUniqueSeries(arrayA, arrayB) {
-    var uniqueSeries = (arrayA || []).concat(arrayB || [])
-        .reduce(function (acc, cur) {
-        acc[cur.name + cur.index] = cur;
-        return acc;
-    }, {});
-    return Object.keys(uniqueSeries).map(function (ix) {
-        return uniqueSeries[ix];
-    });
-}
-/**
- * @private
- * @class
- */
-var NewDataAnnouncer = function (chart) {
-    this.chart = chart;
-};
-extend(NewDataAnnouncer.prototype, {
-    /**
-     * Initialize the new data announcer.
-     * @private
-     */
-    init: function () {
-        var chart = this.chart;
-        var announceOptions = chart.options.accessibility.announceNewData;
-        var announceType = announceOptions.interruptUser ? 'assertive' : 'polite';
-        this.lastAnnouncementTime = 0;
-        this.dirty = {
-            allSeries: {}
-        };
-        this.eventProvider = new EventProvider();
-        this.announcer = new Announcer(chart, announceType);
-        this.addEventListeners();
-    },
-    /**
-     * Remove traces of announcer.
-     * @private
-     */
-    destroy: function () {
-        this.eventProvider.removeAddedEvents();
-        this.announcer.destroy();
-    },
-    /**
-     * Add event listeners for the announcer
-     * @private
-     */
-    addEventListeners: function () {
-        var announcer = this, chart = this.chart, e = this.eventProvider;
-        e.addEvent(chart, 'afterDrilldown', function () {
-            announcer.lastAnnouncementTime = 0;
-        });
-        e.addEvent(Series, 'updatedData', function () {
-            announcer.onSeriesUpdatedData(this);
-        });
-        e.addEvent(chart, 'afterAddSeries', function (e) {
-            announcer.onSeriesAdded(e.series);
-        });
-        e.addEvent(Series, 'addPoint', function (e) {
-            announcer.onPointAdded(e.point);
-        });
-        e.addEvent(chart, 'redraw', function () {
-            announcer.announceDirtyData();
-        });
-    },
-    /**
-     * On new data in the series, make sure we add it to the dirty list.
-     * @private
-     * @param {Highcharts.Series} series
-     */
-    onSeriesUpdatedData: function (series) {
-        var chart = this.chart;
-        if (series.chart === chart && chartHasAnnounceEnabled(chart)) {
-            this.dirty.hasDirty = true;
-            this.dirty.allSeries[series.name + series.index] = series;
-        }
-    },
-    /**
-     * On new data series added, update dirty list.
-     * @private
-     * @param {Highcharts.Series} series
-     */
-    onSeriesAdded: function (series) {
-        if (chartHasAnnounceEnabled(this.chart)) {
-            this.dirty.hasDirty = true;
-            this.dirty.allSeries[series.name + series.index] = series;
-            // Add it to newSeries storage unless we already have one
-            this.dirty.newSeries = defined(this.dirty.newSeries) ?
-                void 0 : series;
-        }
-    },
-    /**
-     * On new point added, update dirty list.
-     * @private
-     * @param {Highcharts.Point} point
-     */
-    onPointAdded: function (point) {
-        var chart = point.series.chart;
-        if (this.chart === chart && chartHasAnnounceEnabled(chart)) {
-            // Add it to newPoint storage unless we already have one
-            this.dirty.newPoint = defined(this.dirty.newPoint) ?
-                void 0 : point;
-        }
-    },
-    /**
-     * Gather what we know and announce the data to user.
-     * @private
-     */
-    announceDirtyData: function () {
-        var chart = this.chart, announcer = this;
-        if (chart.options.accessibility.announceNewData &&
-            this.dirty.hasDirty) {
-            var newPoint = this.dirty.newPoint;
-            // If we have a single new point, see if we can find it in the
-            // data array. Otherwise we can only pass through options to
-            // the description builder, and it is a bit sparse in info.
-            if (newPoint) {
-                newPoint = findPointInDataArray(newPoint);
-            }
-            this.queueAnnouncement(Object.keys(this.dirty.allSeries).map(function (ix) {
-                return announcer.dirty.allSeries[ix];
-            }), this.dirty.newSeries, newPoint);
-            // Reset
-            this.dirty = {
-                allSeries: {}
-            };
-        }
-    },
-    /**
-     * Announce to user that there is new data.
-     * @private
-     * @param {Array<Highcharts.Series>} dirtySeries
-     *          Array of series with new data.
-     * @param {Highcharts.Series} [newSeries]
-     *          If a single new series was added, a reference to this series.
-     * @param {Highcharts.Point} [newPoint]
-     *          If a single point was added, a reference to this point.
-     */
-    queueAnnouncement: function (dirtySeries, newSeries, newPoint) {
-        var _this = this;
-        var chart = this.chart;
-        var annOptions = chart.options.accessibility.announceNewData;
-        if (annOptions.enabled) {
-            var now = +new Date();
-            var dTime = now - this.lastAnnouncementTime;
-            var time = Math.max(0, annOptions.minAnnounceInterval - dTime);
-            // Add series from previously queued announcement.
-            var allSeries = getUniqueSeries(this.queuedAnnouncement && this.queuedAnnouncement.series, dirtySeries);
-            // Build message and announce
-            var message = this.buildAnnouncementMessage(allSeries, newSeries, newPoint);
-            if (message) {
-                // Is there already one queued?
-                if (this.queuedAnnouncement) {
-                    clearTimeout(this.queuedAnnouncementTimer);
-                }
-                // Build the announcement
-                this.queuedAnnouncement = {
-                    time: now,
-                    message: message,
-                    series: allSeries
-                };
-                // Queue the announcement
-                this.queuedAnnouncementTimer = setTimeout(function () {
-                    if (_this && _this.announcer) {
-                        _this.lastAnnouncementTime = +new Date();
-                        _this.announcer.announce(_this.queuedAnnouncement.message);
-                        delete _this.queuedAnnouncement;
-                        delete _this.queuedAnnouncementTimer;
-                    }
-                }, time);
-            }
-        }
-    },
-    /**
-     * Get announcement message for new data.
-     * @private
-     * @param {Array<Highcharts.Series>} dirtySeries
-     *          Array of series with new data.
-     * @param {Highcharts.Series} [newSeries]
-     *          If a single new series was added, a reference to this series.
-     * @param {Highcharts.Point} [newPoint]
-     *          If a single point was added, a reference to this point.
-     *
-     * @return {string|null}
-     * The announcement message to give to user.
-     */
-    buildAnnouncementMessage: function (dirtySeries, newSeries, newPoint) {
-        var chart = this.chart, annOptions = chart.options.accessibility.announceNewData;
-        // User supplied formatter?
-        if (annOptions.announcementFormatter) {
-            var formatterRes = annOptions.announcementFormatter(dirtySeries, newSeries, newPoint);
-            if (formatterRes !== false) {
-                return formatterRes.length ? formatterRes : null;
-            }
-        }
-        // Default formatter - use lang options
-        var multiple = H.charts && H.charts.length > 1 ? 'Multiple' : 'Single', langKey = newSeries ? 'newSeriesAnnounce' + multiple :
-            newPoint ? 'newPointAnnounce' + multiple : 'newDataAnnounce', chartTitle = getChartTitle(chart);
-        return chart.langFormat('accessibility.announceNewData.' + langKey, {
-            chartTitle: chartTitle,
-            seriesDesc: newSeries ?
-                defaultSeriesDescriptionFormatter(newSeries) :
-                null,
-            pointDesc: newPoint ?
-                defaultPointDescriptionFormatter(newPoint) :
-                null,
-            point: newPoint,
-            series: newSeries
-        });
-    }
-});
-export default NewDataAnnouncer;

+ 0 - 109
node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js

@@ -1,109 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component for series and points.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../../../Core/Globals.js';
-import U from '../../../Core/Utilities.js';
-var extend = U.extend;
-import AccessibilityComponent from '../../AccessibilityComponent.js';
-import SeriesKeyboardNavigation from './SeriesKeyboardNavigation.js';
-import NewDataAnnouncer from './NewDataAnnouncer.js';
-import addForceMarkersEvents from './ForcedMarkers.js';
-import ChartUtilities from '../../Utils/ChartUtilities.js';
-var hideSeriesFromAT = ChartUtilities.hideSeriesFromAT;
-import SeriesDescriber from './SeriesDescriber.js';
-var describeSeries = SeriesDescriber.describeSeries;
-import Tooltip from '../../../Core/Tooltip.js';
-// Expose functionality to users
-H.SeriesAccessibilityDescriber = SeriesDescriber;
-// Handle forcing markers
-addForceMarkersEvents();
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * The SeriesComponent class
- *
- * @private
- * @class
- * @name Highcharts.SeriesComponent
- */
-var SeriesComponent = function () { };
-SeriesComponent.prototype = new AccessibilityComponent();
-extend(SeriesComponent.prototype, /** @lends Highcharts.SeriesComponent */ {
-    /**
-     * Init the component.
-     */
-    init: function () {
-        this.newDataAnnouncer = new NewDataAnnouncer(this.chart);
-        this.newDataAnnouncer.init();
-        this.keyboardNavigation = new SeriesKeyboardNavigation(this.chart, this.keyCodes);
-        this.keyboardNavigation.init();
-        this.hideTooltipFromATWhenShown();
-        this.hideSeriesLabelsFromATWhenShown();
-    },
-    /**
-     * @private
-     */
-    hideTooltipFromATWhenShown: function () {
-        var component = this;
-        this.addEvent(Tooltip, 'refresh', function () {
-            if (this.chart === component.chart &&
-                this.label &&
-                this.label.element) {
-                this.label.element.setAttribute('aria-hidden', true);
-            }
-        });
-    },
-    /**
-     * @private
-     */
-    hideSeriesLabelsFromATWhenShown: function () {
-        this.addEvent(this.chart, 'afterDrawSeriesLabels', function () {
-            this.series.forEach(function (series) {
-                if (series.labelBySeries) {
-                    series.labelBySeries.attr('aria-hidden', true);
-                }
-            });
-        });
-    },
-    /**
-     * Called on chart render. It is necessary to do this for render in case
-     * markers change on zoom/pixel density.
-     */
-    onChartRender: function () {
-        var chart = this.chart;
-        chart.series.forEach(function (series) {
-            var shouldDescribeSeries = (series.options.accessibility &&
-                series.options.accessibility.enabled) !== false &&
-                series.visible;
-            if (shouldDescribeSeries) {
-                describeSeries(series);
-            }
-            else {
-                hideSeriesFromAT(series);
-            }
-        });
-    },
-    /**
-     * Get keyboard navigation handler for this component.
-     * @return {Highcharts.KeyboardNavigationHandler}
-     */
-    getKeyboardNavigation: function () {
-        return this.keyboardNavigation.getKeyboardNavigationHandler();
-    },
-    /**
-     * Remove traces
-     */
-    destroy: function () {
-        this.newDataAnnouncer.destroy();
-        this.keyboardNavigation.destroy();
-    }
-});
-export default SeriesComponent;

+ 0 - 399
node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js

@@ -1,399 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Place desriptions on a series and its points.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import AnnotationsA11y from '../AnnotationsA11y.js';
-var getPointAnnotationTexts = AnnotationsA11y.getPointAnnotationTexts;
-import ChartUtilities from '../../Utils/ChartUtilities.js';
-var getAxisDescription = ChartUtilities.getAxisDescription, getSeriesFirstPointElement = ChartUtilities.getSeriesFirstPointElement, getSeriesA11yElement = ChartUtilities.getSeriesA11yElement, unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
-import HTMLUtilities from '../../Utils/HTMLUtilities.js';
-var reverseChildNodes = HTMLUtilities.reverseChildNodes, stripHTMLTags = HTMLUtilities.stripHTMLTagsFromString;
-import Tooltip from '../../../Core/Tooltip.js';
-import U from '../../../Core/Utilities.js';
-var find = U.find, format = U.format, isNumber = U.isNumber, numberFormat = U.numberFormat, pick = U.pick, defined = U.defined;
-/* eslint-disable valid-jsdoc */
-/**
- * @private
- */
-function findFirstPointWithGraphic(point) {
-    var sourcePointIndex = point.index;
-    if (!point.series || !point.series.data || !defined(sourcePointIndex)) {
-        return null;
-    }
-    return find(point.series.data, function (p) {
-        return !!(p &&
-            typeof p.index !== 'undefined' &&
-            p.index > sourcePointIndex &&
-            p.graphic &&
-            p.graphic.element);
-    }) || null;
-}
-/**
- * @private
- */
-function shouldAddDummyPoint(point) {
-    // Note: Sunburst series use isNull for hidden points on drilldown.
-    // Ignore these.
-    var isSunburst = point.series && point.series.is('sunburst'), isNull = point.isNull;
-    return isNull && !isSunburst;
-}
-/**
- * @private
- */
-function makeDummyElement(point, pos) {
-    var renderer = point.series.chart.renderer, dummy = renderer.rect(pos.x, pos.y, 1, 1);
-    dummy.attr({
-        'class': 'highcharts-a11y-dummy-point',
-        fill: 'none',
-        opacity: 0,
-        'fill-opacity': 0,
-        'stroke-opacity': 0
-    });
-    return dummy;
-}
-/**
- * @private
- * @param {Highcharts.Point} point
- * @return {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement|undefined}
- */
-function addDummyPointElement(point) {
-    var series = point.series, firstPointWithGraphic = findFirstPointWithGraphic(point), firstGraphic = firstPointWithGraphic && firstPointWithGraphic.graphic, parentGroup = firstGraphic ?
-        firstGraphic.parentGroup :
-        series.graph || series.group, dummyPos = firstPointWithGraphic ? {
-        x: pick(point.plotX, firstPointWithGraphic.plotX, 0),
-        y: pick(point.plotY, firstPointWithGraphic.plotY, 0)
-    } : {
-        x: pick(point.plotX, 0),
-        y: pick(point.plotY, 0)
-    }, dummyElement = makeDummyElement(point, dummyPos);
-    if (parentGroup && parentGroup.element) {
-        point.graphic = dummyElement;
-        point.hasDummyGraphic = true;
-        dummyElement.add(parentGroup);
-        // Move to correct pos in DOM
-        parentGroup.element.insertBefore(dummyElement.element, firstGraphic ? firstGraphic.element : null);
-        return dummyElement.element;
-    }
-}
-/**
- * @private
- * @param {Highcharts.Series} series
- * @return {boolean}
- */
-function hasMorePointsThanDescriptionThreshold(series) {
-    var chartA11yOptions = series.chart.options.accessibility, threshold = (chartA11yOptions.series.pointDescriptionEnabledThreshold);
-    return !!(threshold !== false &&
-        series.points &&
-        series.points.length >= threshold);
-}
-/**
- * @private
- * @param {Highcharts.Series} series
- * @return {boolean}
- */
-function shouldSetScreenReaderPropsOnPoints(series) {
-    var seriesA11yOptions = series.options.accessibility || {};
-    return !hasMorePointsThanDescriptionThreshold(series) &&
-        !seriesA11yOptions.exposeAsGroupOnly;
-}
-/**
- * @private
- * @param {Highcharts.Series} series
- * @return {boolean}
- */
-function shouldSetKeyboardNavPropsOnPoints(series) {
-    var chartA11yOptions = series.chart.options.accessibility, seriesNavOptions = chartA11yOptions.keyboardNavigation.seriesNavigation;
-    return !!(series.points && (series.points.length <
-        seriesNavOptions.pointNavigationEnabledThreshold ||
-        seriesNavOptions.pointNavigationEnabledThreshold === false));
-}
-/**
- * @private
- * @param {Highcharts.Series} series
- * @return {boolean}
- */
-function shouldDescribeSeriesElement(series) {
-    var chart = series.chart, chartOptions = chart.options.chart || {}, chartHas3d = chartOptions.options3d && chartOptions.options3d.enabled, hasMultipleSeries = chart.series.length > 1, describeSingleSeriesOption = chart.options.accessibility.series.describeSingleSeries, exposeAsGroupOnlyOption = (series.options.accessibility || {}).exposeAsGroupOnly, noDescribe3D = chartHas3d && hasMultipleSeries;
-    return !noDescribe3D && (hasMultipleSeries || describeSingleSeriesOption ||
-        exposeAsGroupOnlyOption || hasMorePointsThanDescriptionThreshold(series));
-}
-/**
- * @private
- * @param {Highcharts.Point} point
- * @param {number} value
- * @return {string}
- */
-function pointNumberToString(point, value) {
-    var chart = point.series.chart, a11yPointOptions = chart.options.accessibility.point || {}, tooltipOptions = point.series.tooltipOptions || {}, lang = chart.options.lang;
-    if (isNumber(value)) {
-        return numberFormat(value, a11yPointOptions.valueDecimals ||
-            tooltipOptions.valueDecimals ||
-            -1, lang.decimalPoint, lang.accessibility.thousandsSep || lang.thousandsSep);
-    }
-    return value;
-}
-/**
- * @private
- * @param {Highcharts.Series} series
- * @return {string}
- */
-function getSeriesDescriptionText(series) {
-    var seriesA11yOptions = series.options.accessibility || {}, descOpt = seriesA11yOptions.description;
-    return descOpt && series.chart.langFormat('accessibility.series.description', {
-        description: descOpt,
-        series: series
-    }) || '';
-}
-/**
- * @private
- * @param {Highcharts.series} series
- * @param {string} axisCollection
- * @return {string}
- */
-function getSeriesAxisDescriptionText(series, axisCollection) {
-    var axis = series[axisCollection];
-    return series.chart.langFormat('accessibility.series.' + axisCollection + 'Description', {
-        name: getAxisDescription(axis),
-        series: series
-    });
-}
-/**
- * Get accessible time description for a point on a datetime axis.
- *
- * @private
- * @function Highcharts.Point#getTimeDescription
- * @param {Highcharts.Point} point
- * @return {string|undefined}
- * The description as string.
- */
-function getPointA11yTimeDescription(point) {
-    var series = point.series, chart = series.chart, a11yOptions = chart.options.accessibility.point || {}, hasDateXAxis = series.xAxis && series.xAxis.dateTime;
-    if (hasDateXAxis) {
-        var tooltipDateFormat = Tooltip.prototype.getXDateFormat.call({
-            getDateFormat: Tooltip.prototype.getDateFormat,
-            chart: chart
-        }, point, chart.options.tooltip, series.xAxis), dateFormat = a11yOptions.dateFormatter &&
-            a11yOptions.dateFormatter(point) ||
-            a11yOptions.dateFormat ||
-            tooltipDateFormat;
-        return chart.time.dateFormat(dateFormat, point.x, void 0);
-    }
-}
-/**
- * @private
- * @param {Highcharts.Point} point
- * @return {string}
- */
-function getPointXDescription(point) {
-    var timeDesc = getPointA11yTimeDescription(point), xAxis = point.series.xAxis || {}, pointCategory = xAxis.categories && defined(point.category) &&
-        ('' + point.category).replace('<br/>', ' '), canUseId = point.id && point.id.indexOf('highcharts-') < 0, fallback = 'x, ' + point.x;
-    return point.name || timeDesc || pointCategory ||
-        (canUseId ? point.id : fallback);
-}
-/**
- * @private
- * @param {Highcharts.Point} point
- * @param {string} prefix
- * @param {string} suffix
- * @return {string}
- */
-function getPointArrayMapValueDescription(point, prefix, suffix) {
-    var pre = prefix || '', suf = suffix || '', keyToValStr = function (key) {
-        var num = pointNumberToString(point, pick(point[key], point.options[key]));
-        return key + ': ' + pre + num + suf;
-    }, pointArrayMap = point.series.pointArrayMap;
-    return pointArrayMap.reduce(function (desc, key) {
-        return desc + (desc.length ? ', ' : '') + keyToValStr(key);
-    }, '');
-}
-/**
- * @private
- * @param {Highcharts.Point} point
- * @return {string}
- */
-function getPointValue(point) {
-    var series = point.series, a11yPointOpts = series.chart.options.accessibility.point || {}, tooltipOptions = series.tooltipOptions || {}, valuePrefix = a11yPointOpts.valuePrefix ||
-        tooltipOptions.valuePrefix || '', valueSuffix = a11yPointOpts.valueSuffix ||
-        tooltipOptions.valueSuffix || '', fallbackKey = (typeof point.value !==
-        'undefined' ?
-        'value' : 'y'), fallbackDesc = pointNumberToString(point, point[fallbackKey]);
-    if (point.isNull) {
-        return series.chart.langFormat('accessibility.series.nullPointValue', {
-            point: point
-        });
-    }
-    if (series.pointArrayMap) {
-        return getPointArrayMapValueDescription(point, valuePrefix, valueSuffix);
-    }
-    return valuePrefix + fallbackDesc + valueSuffix;
-}
-/**
- * Return the description for the annotation(s) connected to a point, or empty
- * string if none.
- *
- * @private
- * @param {Highcharts.Point} point The data point to get the annotation info from.
- * @return {string} Annotation description
- */
-function getPointAnnotationDescription(point) {
-    var chart = point.series.chart;
-    var langKey = 'accessibility.series.pointAnnotationsDescription';
-    var annotations = getPointAnnotationTexts(point);
-    var context = { point: point, annotations: annotations };
-    return annotations.length ? chart.langFormat(langKey, context) : '';
-}
-/**
- * Return string with information about point.
- * @private
- * @return {string}
- */
-function getPointValueDescription(point) {
-    var series = point.series, chart = series.chart, pointValueDescriptionFormat = chart.options.accessibility
-        .point.valueDescriptionFormat, showXDescription = pick(series.xAxis &&
-        series.xAxis.options.accessibility &&
-        series.xAxis.options.accessibility.enabled, !chart.angular), xDesc = showXDescription ? getPointXDescription(point) : '', context = {
-        point: point,
-        index: defined(point.index) ? (point.index + 1) : '',
-        xDescription: xDesc,
-        value: getPointValue(point),
-        separator: showXDescription ? ', ' : ''
-    };
-    return format(pointValueDescriptionFormat, context, chart);
-}
-/**
- * Return string with information about point.
- * @private
- * @return {string}
- */
-function defaultPointDescriptionFormatter(point) {
-    var series = point.series, chart = series.chart, valText = getPointValueDescription(point), description = point.options && point.options.accessibility &&
-        point.options.accessibility.description, userDescText = description ? ' ' + description : '', seriesNameText = chart.series.length > 1 && series.name ?
-        ' ' + series.name + '.' : '', annotationsDesc = getPointAnnotationDescription(point), pointAnnotationsText = annotationsDesc ? ' ' + annotationsDesc : '';
-    point.accessibility = point.accessibility || {};
-    point.accessibility.valueDescription = valText;
-    return valText + userDescText + seriesNameText + pointAnnotationsText;
-}
-/**
- * Set a11y props on a point element
- * @private
- * @param {Highcharts.Point} point
- * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} pointElement
- */
-function setPointScreenReaderAttribs(point, pointElement) {
-    var series = point.series, a11yPointOptions = series.chart.options.accessibility.point || {}, seriesA11yOptions = series.options.accessibility || {}, label = stripHTMLTags(seriesA11yOptions.pointDescriptionFormatter &&
-        seriesA11yOptions.pointDescriptionFormatter(point) ||
-        a11yPointOptions.descriptionFormatter &&
-            a11yPointOptions.descriptionFormatter(point) ||
-        defaultPointDescriptionFormatter(point));
-    pointElement.setAttribute('role', 'img');
-    pointElement.setAttribute('aria-label', label);
-}
-/**
- * Add accessible info to individual point elements of a series
- * @private
- * @param {Highcharts.Series} series
- */
-function describePointsInSeries(series) {
-    var setScreenReaderProps = shouldSetScreenReaderPropsOnPoints(series), setKeyboardProps = shouldSetKeyboardNavPropsOnPoints(series);
-    if (setScreenReaderProps || setKeyboardProps) {
-        series.points.forEach(function (point) {
-            var _a, _b;
-            var pointEl = point.graphic && point.graphic.element ||
-                shouldAddDummyPoint(point) && addDummyPointElement(point);
-            var pointA11yDisabled = ((_b = (_a = point.options) === null || _a === void 0 ? void 0 : _a.accessibility) === null || _b === void 0 ? void 0 : _b.enabled) === false;
-            if (pointEl) {
-                // We always set tabindex, as long as we are setting props.
-                // When setting tabindex, also remove default outline to
-                // avoid ugly border on click.
-                pointEl.setAttribute('tabindex', '-1');
-                pointEl.style.outline = '0';
-                if (setScreenReaderProps && !pointA11yDisabled) {
-                    setPointScreenReaderAttribs(point, pointEl);
-                }
-                else {
-                    pointEl.setAttribute('aria-hidden', true);
-                }
-            }
-        });
-    }
-}
-/**
- * Return string with information about series.
- * @private
- * @return {string}
- */
-function defaultSeriesDescriptionFormatter(series) {
-    var chart = series.chart, chartTypes = chart.types || [], description = getSeriesDescriptionText(series), shouldDescribeAxis = function (coll) {
-        return chart[coll] && chart[coll].length > 1 && series[coll];
-    }, xAxisInfo = getSeriesAxisDescriptionText(series, 'xAxis'), yAxisInfo = getSeriesAxisDescriptionText(series, 'yAxis'), summaryContext = {
-        name: series.name || '',
-        ix: series.index + 1,
-        numSeries: chart.series && chart.series.length,
-        numPoints: series.points && series.points.length,
-        series: series
-    }, combinationSuffix = chartTypes.length > 1 ? 'Combination' : '', summary = chart.langFormat('accessibility.series.summary.' + series.type + combinationSuffix, summaryContext) || chart.langFormat('accessibility.series.summary.default' + combinationSuffix, summaryContext);
-    return summary + (description ? ' ' + description : '') + (shouldDescribeAxis('yAxis') ? ' ' + yAxisInfo : '') + (shouldDescribeAxis('xAxis') ? ' ' + xAxisInfo : '');
-}
-/**
- * Set a11y props on a series element
- * @private
- * @param {Highcharts.Series} series
- * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} seriesElement
- */
-function describeSeriesElement(series, seriesElement) {
-    var seriesA11yOptions = series.options.accessibility || {}, a11yOptions = series.chart.options.accessibility, landmarkVerbosity = a11yOptions.landmarkVerbosity;
-    // Handle role attribute
-    if (seriesA11yOptions.exposeAsGroupOnly) {
-        seriesElement.setAttribute('role', 'img');
-    }
-    else if (landmarkVerbosity === 'all') {
-        seriesElement.setAttribute('role', 'region');
-    } /* else do not add role */
-    seriesElement.setAttribute('tabindex', '-1');
-    seriesElement.style.outline = '0'; // Don't show browser outline on click, despite tabindex
-    seriesElement.setAttribute('aria-label', stripHTMLTags(a11yOptions.series.descriptionFormatter &&
-        a11yOptions.series.descriptionFormatter(series) ||
-        defaultSeriesDescriptionFormatter(series)));
-}
-/**
- * Put accessible info on series and points of a series.
- * @param {Highcharts.Series} series The series to add info on.
- */
-function describeSeries(series) {
-    var chart = series.chart, firstPointEl = getSeriesFirstPointElement(series), seriesEl = getSeriesA11yElement(series), is3d = chart.is3d && chart.is3d();
-    if (seriesEl) {
-        // For some series types the order of elements do not match the
-        // order of points in series. In that case we have to reverse them
-        // in order for AT to read them out in an understandable order.
-        // Due to z-index issues we can not do this for 3D charts.
-        if (seriesEl.lastChild === firstPointEl && !is3d) {
-            reverseChildNodes(seriesEl);
-        }
-        describePointsInSeries(series);
-        unhideChartElementFromAT(chart, seriesEl);
-        if (shouldDescribeSeriesElement(series)) {
-            describeSeriesElement(series, seriesEl);
-        }
-        else {
-            seriesEl.setAttribute('aria-label', '');
-        }
-    }
-}
-var SeriesDescriber = {
-    describeSeries: describeSeries,
-    defaultPointDescriptionFormatter: defaultPointDescriptionFormatter,
-    defaultSeriesDescriptionFormatter: defaultSeriesDescriptionFormatter,
-    getPointA11yTimeDescription: getPointA11yTimeDescription,
-    getPointXDescription: getPointXDescription,
-    getPointValue: getPointValue,
-    getPointValueDescription: getPointValueDescription
-};
-export default SeriesDescriber;

+ 0 - 579
node_modules/highcharts/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js

@@ -1,579 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Handle keyboard navigation for series.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import Chart from '../../../Core/Chart/Chart.js';
-import Point from '../../../Core/Series/Point.js';
-import Series from '../../../Core/Series/Series.js';
-import SeriesRegistry from '../../../Core/Series/SeriesRegistry.js';
-var seriesTypes = SeriesRegistry.seriesTypes;
-import U from '../../../Core/Utilities.js';
-var defined = U.defined, extend = U.extend, fireEvent = U.fireEvent;
-import KeyboardNavigationHandler from '../../KeyboardNavigationHandler.js';
-import EventProvider from '../../Utils/EventProvider.js';
-import ChartUtilities from '../../Utils/ChartUtilities.js';
-var getPointFromXY = ChartUtilities.getPointFromXY, getSeriesFromName = ChartUtilities.getSeriesFromName, scrollToPoint = ChartUtilities.scrollToPoint;
-import '../../../Series/Column/ColumnSeries.js';
-import '../../../Series/Pie/PieSeries.js';
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/*
- * Set for which series types it makes sense to move to the closest point with
- * up/down arrows, and which series types should just move to next series.
- */
-Series.prototype.keyboardMoveVertical = true;
-['column', 'pie'].forEach(function (type) {
-    if (seriesTypes[type]) {
-        seriesTypes[type].prototype.keyboardMoveVertical = false;
-    }
-});
-/**
- * Get the index of a point in a series. This is needed when using e.g. data
- * grouping.
- *
- * @private
- * @function getPointIndex
- *
- * @param {Highcharts.AccessibilityPoint} point
- *        The point to find index of.
- *
- * @return {number|undefined}
- *         The index in the series.points array of the point.
- */
-function getPointIndex(point) {
-    var index = point.index, points = point.series.points, i = points.length;
-    if (points[index] !== point) {
-        while (i--) {
-            if (points[i] === point) {
-                return i;
-            }
-        }
-    }
-    else {
-        return index;
-    }
-}
-/**
- * Determine if series navigation should be skipped
- *
- * @private
- * @function isSkipSeries
- *
- * @param {Highcharts.Series} series
- *
- * @return {boolean|number|undefined}
- */
-function isSkipSeries(series) {
-    var a11yOptions = series.chart.options.accessibility, seriesNavOptions = a11yOptions.keyboardNavigation.seriesNavigation, seriesA11yOptions = series.options.accessibility || {}, seriesKbdNavOptions = seriesA11yOptions.keyboardNavigation;
-    return seriesKbdNavOptions && seriesKbdNavOptions.enabled === false ||
-        seriesA11yOptions.enabled === false ||
-        series.options.enableMouseTracking === false || // #8440
-        !series.visible ||
-        // Skip all points in a series where pointNavigationEnabledThreshold is
-        // reached
-        (seriesNavOptions.pointNavigationEnabledThreshold &&
-            seriesNavOptions.pointNavigationEnabledThreshold <=
-                series.points.length);
-}
-/**
- * Determine if navigation for a point should be skipped
- *
- * @private
- * @function isSkipPoint
- *
- * @param {Highcharts.Point} point
- *
- * @return {boolean|number|undefined}
- */
-function isSkipPoint(point) {
-    var _a;
-    var a11yOptions = point.series.chart.options.accessibility;
-    var pointA11yDisabled = ((_a = point.options.accessibility) === null || _a === void 0 ? void 0 : _a.enabled) === false;
-    return point.isNull &&
-        a11yOptions.keyboardNavigation.seriesNavigation.skipNullPoints ||
-        point.visible === false ||
-        point.isInside === false ||
-        pointA11yDisabled ||
-        isSkipSeries(point.series);
-}
-/**
- * Get the point in a series that is closest (in pixel distance) to a reference
- * point. Optionally supply weight factors for x and y directions.
- *
- * @private
- * @function getClosestPoint
- *
- * @param {Highcharts.Point} point
- * @param {Highcharts.Series} series
- * @param {number} [xWeight]
- * @param {number} [yWeight]
- *
- * @return {Highcharts.Point|undefined}
- */
-function getClosestPoint(point, series, xWeight, yWeight) {
-    var minDistance = Infinity, dPoint, minIx, distance, i = series.points.length, hasUndefinedPosition = function (point) {
-        return !(defined(point.plotX) && defined(point.plotY));
-    };
-    if (hasUndefinedPosition(point)) {
-        return;
-    }
-    while (i--) {
-        dPoint = series.points[i];
-        if (hasUndefinedPosition(dPoint)) {
-            continue;
-        }
-        distance = (point.plotX - dPoint.plotX) *
-            (point.plotX - dPoint.plotX) *
-            (xWeight || 1) +
-            (point.plotY - dPoint.plotY) *
-                (point.plotY - dPoint.plotY) *
-                (yWeight || 1);
-        if (distance < minDistance) {
-            minDistance = distance;
-            minIx = i;
-        }
-    }
-    return defined(minIx) ? series.points[minIx] : void 0;
-}
-/**
- * Highlights a point (show tooltip and display hover state).
- *
- * @private
- * @function Highcharts.Point#highlight
- *
- * @return {Highcharts.Point}
- *         This highlighted point.
- */
-Point.prototype.highlight = function () {
-    var chart = this.series.chart;
-    if (!this.isNull) {
-        this.onMouseOver(); // Show the hover marker and tooltip
-    }
-    else {
-        if (chart.tooltip) {
-            chart.tooltip.hide(0);
-        }
-        // Don't call blur on the element, as it messes up the chart div's focus
-    }
-    scrollToPoint(this);
-    // We focus only after calling onMouseOver because the state change can
-    // change z-index and mess up the element.
-    if (this.graphic) {
-        chart.setFocusToElement(this.graphic);
-    }
-    chart.highlightedPoint = this;
-    return this;
-};
-/**
- * Function to highlight next/previous point in chart.
- *
- * @private
- * @function Highcharts.Chart#highlightAdjacentPoint
- *
- * @param {boolean} next
- *        Flag for the direction.
- *
- * @return {Highcharts.Point|boolean}
- *         Returns highlighted point on success, false on failure (no adjacent
- *         point to highlight in chosen direction).
- */
-Chart.prototype.highlightAdjacentPoint = function (next) {
-    var chart = this, series = chart.series, curPoint = chart.highlightedPoint, curPointIndex = curPoint && getPointIndex(curPoint) || 0, curPoints = (curPoint && curPoint.series.points), lastSeries = chart.series && chart.series[chart.series.length - 1], lastPoint = lastSeries && lastSeries.points &&
-        lastSeries.points[lastSeries.points.length - 1], newSeries, newPoint;
-    // If no points, return false
-    if (!series[0] || !series[0].points) {
-        return false;
-    }
-    if (!curPoint) {
-        // No point is highlighted yet. Try first/last point depending on move
-        // direction
-        newPoint = next ? series[0].points[0] : lastPoint;
-    }
-    else {
-        // We have a highlighted point.
-        // Grab next/prev point & series
-        newSeries = series[curPoint.series.index + (next ? 1 : -1)];
-        newPoint = curPoints[curPointIndex + (next ? 1 : -1)];
-        if (!newPoint && newSeries) {
-            // Done with this series, try next one
-            newPoint = newSeries.points[next ? 0 : newSeries.points.length - 1];
-        }
-        // If there is no adjacent point, we return false
-        if (!newPoint) {
-            return false;
-        }
-    }
-    // Recursively skip points
-    if (isSkipPoint(newPoint)) {
-        // If we skip this whole series, move to the end of the series before we
-        // recurse, just to optimize
-        newSeries = newPoint.series;
-        if (isSkipSeries(newSeries)) {
-            chart.highlightedPoint = next ?
-                newSeries.points[newSeries.points.length - 1] :
-                newSeries.points[0];
-        }
-        else {
-            // Otherwise, just move one point
-            chart.highlightedPoint = newPoint;
-        }
-        // Retry
-        return chart.highlightAdjacentPoint(next);
-    }
-    // There is an adjacent point, highlight it
-    return newPoint.highlight();
-};
-/**
- * Highlight first valid point in a series. Returns the point if successfully
- * highlighted, otherwise false. If there is a highlighted point in the series,
- * use that as starting point.
- *
- * @private
- * @function Highcharts.Series#highlightFirstValidPoint
- *
- * @return {boolean|Highcharts.Point}
- */
-Series.prototype.highlightFirstValidPoint = function () {
-    var curPoint = this.chart.highlightedPoint, start = (curPoint && curPoint.series) === this ?
-        getPointIndex(curPoint) :
-        0, points = this.points, len = points.length;
-    if (points && len) {
-        for (var i = start; i < len; ++i) {
-            if (!isSkipPoint(points[i])) {
-                return points[i].highlight();
-            }
-        }
-        for (var j = start; j >= 0; --j) {
-            if (!isSkipPoint(points[j])) {
-                return points[j].highlight();
-            }
-        }
-    }
-    return false;
-};
-/**
- * Highlight next/previous series in chart. Returns false if no adjacent series
- * in the direction, otherwise returns new highlighted point.
- *
- * @private
- * @function Highcharts.Chart#highlightAdjacentSeries
- *
- * @param {boolean} down
- *
- * @return {Highcharts.Point|boolean}
- */
-Chart.prototype.highlightAdjacentSeries = function (down) {
-    var chart = this, newSeries, newPoint, adjacentNewPoint, curPoint = chart.highlightedPoint, lastSeries = chart.series && chart.series[chart.series.length - 1], lastPoint = lastSeries && lastSeries.points &&
-        lastSeries.points[lastSeries.points.length - 1];
-    // If no point is highlighted, highlight the first/last point
-    if (!chart.highlightedPoint) {
-        newSeries = down ? (chart.series && chart.series[0]) : lastSeries;
-        newPoint = down ?
-            (newSeries && newSeries.points && newSeries.points[0]) : lastPoint;
-        return newPoint ? newPoint.highlight() : false;
-    }
-    newSeries = chart.series[curPoint.series.index + (down ? -1 : 1)];
-    if (!newSeries) {
-        return false;
-    }
-    // We have a new series in this direction, find the right point
-    // Weigh xDistance as counting much higher than Y distance
-    newPoint = getClosestPoint(curPoint, newSeries, 4);
-    if (!newPoint) {
-        return false;
-    }
-    // New series and point exists, but we might want to skip it
-    if (isSkipSeries(newSeries)) {
-        // Skip the series
-        newPoint.highlight();
-        adjacentNewPoint = chart.highlightAdjacentSeries(down); // Try recurse
-        if (!adjacentNewPoint) {
-            // Recurse failed
-            curPoint.highlight();
-            return false;
-        }
-        // Recurse succeeded
-        return adjacentNewPoint;
-    }
-    // Highlight the new point or any first valid point back or forwards from it
-    newPoint.highlight();
-    return newPoint.series.highlightFirstValidPoint();
-};
-/**
- * Highlight the closest point vertically.
- *
- * @private
- * @function Highcharts.Chart#highlightAdjacentPointVertical
- *
- * @param {boolean} down
- *
- * @return {Highcharts.Point|boolean}
- */
-Chart.prototype.highlightAdjacentPointVertical = function (down) {
-    var curPoint = this.highlightedPoint, minDistance = Infinity, bestPoint;
-    if (!defined(curPoint.plotX) || !defined(curPoint.plotY)) {
-        return false;
-    }
-    this.series.forEach(function (series) {
-        if (isSkipSeries(series)) {
-            return;
-        }
-        series.points.forEach(function (point) {
-            if (!defined(point.plotY) || !defined(point.plotX) ||
-                point === curPoint) {
-                return;
-            }
-            var yDistance = point.plotY - curPoint.plotY, width = Math.abs(point.plotX - curPoint.plotX), distance = Math.abs(yDistance) * Math.abs(yDistance) +
-                width * width * 4; // Weigh horizontal distance highly
-            // Reverse distance number if axis is reversed
-            if (series.yAxis && series.yAxis.reversed) {
-                yDistance *= -1;
-            }
-            if (yDistance <= 0 && down || yDistance >= 0 && !down || // Chk dir
-                distance < 5 || // Points in same spot => infinite loop
-                isSkipPoint(point)) {
-                return;
-            }
-            if (distance < minDistance) {
-                minDistance = distance;
-                bestPoint = point;
-            }
-        });
-    });
-    return bestPoint ? bestPoint.highlight() : false;
-};
-/**
- * @private
- * @param {Highcharts.Chart} chart
- * @return {Highcharts.Point|boolean}
- */
-function highlightFirstValidPointInChart(chart) {
-    var res = false;
-    delete chart.highlightedPoint;
-    res = chart.series.reduce(function (acc, cur) {
-        return acc || cur.highlightFirstValidPoint();
-    }, false);
-    return res;
-}
-/**
- * @private
- * @param {Highcharts.Chart} chart
- * @return {Highcharts.Point|boolean}
- */
-function highlightLastValidPointInChart(chart) {
-    var numSeries = chart.series.length, i = numSeries, res = false;
-    while (i--) {
-        chart.highlightedPoint = chart.series[i].points[chart.series[i].points.length - 1];
-        // Highlight first valid point in the series will also
-        // look backwards. It always starts from currently
-        // highlighted point.
-        res = chart.series[i].highlightFirstValidPoint();
-        if (res) {
-            break;
-        }
-    }
-    return res;
-}
-/**
- * @private
- * @param {Highcharts.Chart} chart
- */
-function updateChartFocusAfterDrilling(chart) {
-    highlightFirstValidPointInChart(chart);
-    if (chart.focusElement) {
-        chart.focusElement.removeFocusBorder();
-    }
-}
-/**
- * @private
- * @class
- * @name Highcharts.SeriesKeyboardNavigation
- */
-function SeriesKeyboardNavigation(chart, keyCodes) {
-    this.keyCodes = keyCodes;
-    this.chart = chart;
-}
-extend(SeriesKeyboardNavigation.prototype, /** @lends Highcharts.SeriesKeyboardNavigation */ {
-    /**
-     * Init the keyboard navigation
-     */
-    init: function () {
-        var keyboardNavigation = this, chart = this.chart, e = this.eventProvider = new EventProvider();
-        e.addEvent(Series, 'destroy', function () {
-            return keyboardNavigation.onSeriesDestroy(this);
-        });
-        e.addEvent(chart, 'afterDrilldown', function () {
-            updateChartFocusAfterDrilling(this);
-        });
-        e.addEvent(chart, 'drilldown', function (e) {
-            var point = e.point, series = point.series;
-            keyboardNavigation.lastDrilledDownPoint = {
-                x: point.x,
-                y: point.y,
-                seriesName: series ? series.name : ''
-            };
-        });
-        e.addEvent(chart, 'drillupall', function () {
-            setTimeout(function () {
-                keyboardNavigation.onDrillupAll();
-            }, 10);
-        });
-    },
-    onDrillupAll: function () {
-        // After drillup we want to find the point that was drilled down to and
-        // highlight it.
-        var last = this.lastDrilledDownPoint, chart = this.chart, series = last && getSeriesFromName(chart, last.seriesName), point;
-        if (last && series && defined(last.x) && defined(last.y)) {
-            point = getPointFromXY(series, last.x, last.y);
-        }
-        // Container focus can be lost on drillup due to deleted elements.
-        if (chart.container) {
-            chart.container.focus();
-        }
-        if (point && point.highlight) {
-            point.highlight();
-        }
-        if (chart.focusElement) {
-            chart.focusElement.removeFocusBorder();
-        }
-    },
-    /**
-     * @return {Highcharts.KeyboardNavigationHandler}
-     */
-    getKeyboardNavigationHandler: function () {
-        var keyboardNavigation = this, keys = this.keyCodes, chart = this.chart, inverted = chart.inverted;
-        return new KeyboardNavigationHandler(chart, {
-            keyCodeMap: [
-                [inverted ? [keys.up, keys.down] : [keys.left, keys.right], function (keyCode) {
-                        return keyboardNavigation.onKbdSideways(this, keyCode);
-                    }],
-                [inverted ? [keys.left, keys.right] : [keys.up, keys.down], function (keyCode) {
-                        return keyboardNavigation.onKbdVertical(this, keyCode);
-                    }],
-                [[keys.enter, keys.space], function (keyCode, event) {
-                        var point = chart.highlightedPoint;
-                        if (point) {
-                            fireEvent(point.series, 'click', extend(event, {
-                                point: point
-                            }));
-                            point.firePointEvent('click');
-                        }
-                        return this.response.success;
-                    }]
-            ],
-            init: function (dir) {
-                return keyboardNavigation.onHandlerInit(this, dir);
-            },
-            terminate: function () {
-                return keyboardNavigation.onHandlerTerminate();
-            }
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} handler
-     * @param {number} keyCode
-     * @return {number}
-     * response
-     */
-    onKbdSideways: function (handler, keyCode) {
-        var keys = this.keyCodes, isNext = keyCode === keys.right || keyCode === keys.down;
-        return this.attemptHighlightAdjacentPoint(handler, isNext);
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} handler
-     * @param {number} keyCode
-     * @return {number}
-     * response
-     */
-    onKbdVertical: function (handler, keyCode) {
-        var chart = this.chart, keys = this.keyCodes, isNext = keyCode === keys.down || keyCode === keys.right, navOptions = chart.options.accessibility.keyboardNavigation
-            .seriesNavigation;
-        // Handle serialized mode, act like left/right
-        if (navOptions.mode && navOptions.mode === 'serialize') {
-            return this.attemptHighlightAdjacentPoint(handler, isNext);
-        }
-        // Normal mode, move between series
-        var highlightMethod = (chart.highlightedPoint &&
-            chart.highlightedPoint.series.keyboardMoveVertical) ?
-            'highlightAdjacentPointVertical' :
-            'highlightAdjacentSeries';
-        chart[highlightMethod](isNext);
-        return handler.response.success;
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} handler
-     * @param {number} initDirection
-     * @return {number}
-     * response
-     */
-    onHandlerInit: function (handler, initDirection) {
-        var chart = this.chart;
-        if (initDirection > 0) {
-            highlightFirstValidPointInChart(chart);
-        }
-        else {
-            highlightLastValidPointInChart(chart);
-        }
-        return handler.response.success;
-    },
-    /**
-     * @private
-     */
-    onHandlerTerminate: function () {
-        var _a, _b;
-        var chart = this.chart;
-        var curPoint = chart.highlightedPoint;
-        (_a = chart.tooltip) === null || _a === void 0 ? void 0 : _a.hide(0);
-        (_b = curPoint === null || curPoint === void 0 ? void 0 : curPoint.onMouseOut) === null || _b === void 0 ? void 0 : _b.call(curPoint);
-        delete chart.highlightedPoint;
-    },
-    /**
-     * Function that attempts to highlight next/prev point. Handles wrap around.
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} handler
-     * @param {boolean} directionIsNext
-     * @return {number}
-     * response
-     */
-    attemptHighlightAdjacentPoint: function (handler, directionIsNext) {
-        var chart = this.chart, wrapAround = chart.options.accessibility.keyboardNavigation
-            .wrapAround, highlightSuccessful = chart.highlightAdjacentPoint(directionIsNext);
-        if (!highlightSuccessful) {
-            if (wrapAround) {
-                return handler.init(directionIsNext ? 1 : -1);
-            }
-            return handler.response[directionIsNext ? 'next' : 'prev'];
-        }
-        return handler.response.success;
-    },
-    /**
-     * @private
-     */
-    onSeriesDestroy: function (series) {
-        var chart = this.chart, currentHighlightedPointDestroyed = chart.highlightedPoint &&
-            chart.highlightedPoint.series === series;
-        if (currentHighlightedPointDestroyed) {
-            delete chart.highlightedPoint;
-            if (chart.focusElement) {
-                chart.focusElement.removeFocusBorder();
-            }
-        }
-    },
-    /**
-     * @private
-     */
-    destroy: function () {
-        this.eventProvider.removeAddedEvents();
-    }
-});
-export default SeriesKeyboardNavigation;

+ 0 - 289
node_modules/highcharts/es-modules/Accessibility/Components/ZoomComponent.js

@@ -1,289 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Accessibility component for chart zoom.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import AccessibilityComponent from '../AccessibilityComponent.js';
-import ChartUtilities from '../Utils/ChartUtilities.js';
-var unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
-import H from '../../Core/Globals.js';
-var noop = H.noop;
-import HTMLUtilities from '../Utils/HTMLUtilities.js';
-var removeElement = HTMLUtilities.removeElement, setElAttrs = HTMLUtilities.setElAttrs;
-import KeyboardNavigationHandler from '../KeyboardNavigationHandler.js';
-import U from '../../Core/Utilities.js';
-var extend = U.extend, pick = U.pick;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- */
-function chartHasMapZoom(chart) {
-    return !!(chart.mapZoom &&
-        chart.mapNavButtons &&
-        chart.mapNavButtons.length);
-}
-/**
- * Pan along axis in a direction (1 or -1), optionally with a defined
- * granularity (number of steps it takes to walk across current view)
- *
- * @private
- * @function Highcharts.Axis#panStep
- *
- * @param {number} direction
- * @param {number} [granularity]
- */
-H.Axis.prototype.panStep = function (direction, granularity) {
-    var gran = granularity || 3, extremes = this.getExtremes(), step = (extremes.max - extremes.min) / gran * direction, newMax = extremes.max + step, newMin = extremes.min + step, size = newMax - newMin;
-    if (direction < 0 && newMin < extremes.dataMin) {
-        newMin = extremes.dataMin;
-        newMax = newMin + size;
-    }
-    else if (direction > 0 && newMax > extremes.dataMax) {
-        newMax = extremes.dataMax;
-        newMin = newMax - size;
-    }
-    this.setExtremes(newMin, newMax);
-};
-/**
- * The ZoomComponent class
- *
- * @private
- * @class
- * @name Highcharts.ZoomComponent
- */
-var ZoomComponent = noop;
-ZoomComponent.prototype = new AccessibilityComponent();
-extend(ZoomComponent.prototype, /** @lends Highcharts.ZoomComponent */ {
-    /**
-     * Initialize the component
-     */
-    init: function () {
-        var component = this, chart = this.chart;
-        [
-            'afterShowResetZoom', 'afterDrilldown', 'drillupall'
-        ].forEach(function (eventType) {
-            component.addEvent(chart, eventType, function () {
-                component.updateProxyOverlays();
-            });
-        });
-    },
-    /**
-     * Called when chart is updated
-     */
-    onChartUpdate: function () {
-        var chart = this.chart, component = this;
-        // Make map zoom buttons accessible
-        if (chart.mapNavButtons) {
-            chart.mapNavButtons.forEach(function (button, i) {
-                unhideChartElementFromAT(chart, button.element);
-                component.setMapNavButtonAttrs(button.element, 'accessibility.zoom.mapZoom' + (i ? 'Out' : 'In'));
-            });
-        }
-    },
-    /**
-     * @private
-     * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} button
-     * @param {string} labelFormatKey
-     */
-    setMapNavButtonAttrs: function (button, labelFormatKey) {
-        var chart = this.chart, label = chart.langFormat(labelFormatKey, { chart: chart });
-        setElAttrs(button, {
-            tabindex: -1,
-            role: 'button',
-            'aria-label': label
-        });
-    },
-    /**
-     * Update the proxy overlays on every new render to ensure positions are
-     * correct.
-     */
-    onChartRender: function () {
-        this.updateProxyOverlays();
-    },
-    /**
-     * Update proxy overlays, recreating the buttons.
-     */
-    updateProxyOverlays: function () {
-        var chart = this.chart;
-        // Always start with a clean slate
-        removeElement(this.drillUpProxyGroup);
-        removeElement(this.resetZoomProxyGroup);
-        if (chart.resetZoomButton) {
-            this.recreateProxyButtonAndGroup(chart.resetZoomButton, 'resetZoomProxyButton', 'resetZoomProxyGroup', chart.langFormat('accessibility.zoom.resetZoomButton', { chart: chart }));
-        }
-        if (chart.drillUpButton) {
-            this.recreateProxyButtonAndGroup(chart.drillUpButton, 'drillUpProxyButton', 'drillUpProxyGroup', chart.langFormat('accessibility.drillUpButton', {
-                chart: chart,
-                buttonText: chart.getDrilldownBackText()
-            }));
-        }
-    },
-    /**
-     * @private
-     * @param {Highcharts.SVGElement} buttonEl
-     * @param {string} buttonProp
-     * @param {string} groupProp
-     * @param {string} label
-     */
-    recreateProxyButtonAndGroup: function (buttonEl, buttonProp, groupProp, label) {
-        removeElement(this[groupProp]);
-        this[groupProp] = this.addProxyGroup();
-        this[buttonProp] = this.createProxyButton(buttonEl, this[groupProp], { 'aria-label': label, tabindex: -1 });
-    },
-    /**
-     * Get keyboard navigation handler for map zoom.
-     * @private
-     * @return {Highcharts.KeyboardNavigationHandler} The module object
-     */
-    getMapZoomNavigation: function () {
-        var keys = this.keyCodes, chart = this.chart, component = this;
-        return new KeyboardNavigationHandler(chart, {
-            keyCodeMap: [
-                [
-                    [keys.up, keys.down, keys.left, keys.right],
-                    function (keyCode) {
-                        return component.onMapKbdArrow(this, keyCode);
-                    }
-                ],
-                [
-                    [keys.tab],
-                    function (_keyCode, e) {
-                        return component.onMapKbdTab(this, e);
-                    }
-                ],
-                [
-                    [keys.space, keys.enter],
-                    function () {
-                        return component.onMapKbdClick(this);
-                    }
-                ]
-            ],
-            validate: function () {
-                return chartHasMapZoom(chart);
-            },
-            init: function (direction) {
-                return component.onMapNavInit(direction);
-            }
-        });
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @param {number} keyCode
-     * @return {number} Response code
-     */
-    onMapKbdArrow: function (keyboardNavigationHandler, keyCode) {
-        var keys = this.keyCodes, panAxis = (keyCode === keys.up || keyCode === keys.down) ?
-            'yAxis' : 'xAxis', stepDirection = (keyCode === keys.left || keyCode === keys.up) ?
-            -1 : 1;
-        this.chart[panAxis][0].panStep(stepDirection);
-        return keyboardNavigationHandler.response.success;
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @param {global.KeyboardEvent} event
-     * @return {number} Response code
-     */
-    onMapKbdTab: function (keyboardNavigationHandler, event) {
-        var button, chart = this.chart, response = keyboardNavigationHandler.response, isBackwards = event.shiftKey, isMoveOutOfRange = isBackwards && !this.focusedMapNavButtonIx ||
-            !isBackwards && this.focusedMapNavButtonIx;
-        // Deselect old
-        chart.mapNavButtons[this.focusedMapNavButtonIx].setState(0);
-        if (isMoveOutOfRange) {
-            chart.mapZoom(); // Reset zoom
-            return response[isBackwards ? 'prev' : 'next'];
-        }
-        // Select other button
-        this.focusedMapNavButtonIx += isBackwards ? -1 : 1;
-        button = chart.mapNavButtons[this.focusedMapNavButtonIx];
-        chart.setFocusToElement(button.box, button.element);
-        button.setState(2);
-        return response.success;
-    },
-    /**
-     * @private
-     * @param {Highcharts.KeyboardNavigationHandler} keyboardNavigationHandler
-     * @return {number} Response code
-     */
-    onMapKbdClick: function (keyboardNavigationHandler) {
-        this.fakeClickEvent(this.chart.mapNavButtons[this.focusedMapNavButtonIx]
-            .element);
-        return keyboardNavigationHandler.response.success;
-    },
-    /**
-     * @private
-     * @param {number} direction
-     */
-    onMapNavInit: function (direction) {
-        var chart = this.chart, zoomIn = chart.mapNavButtons[0], zoomOut = chart.mapNavButtons[1], initialButton = direction > 0 ? zoomIn : zoomOut;
-        chart.setFocusToElement(initialButton.box, initialButton.element);
-        initialButton.setState(2);
-        this.focusedMapNavButtonIx = direction > 0 ? 0 : 1;
-    },
-    /**
-     * Get keyboard navigation handler for a simple chart button. Provide the
-     * button reference for the chart, and a function to call on click.
-     *
-     * @private
-     * @param {string} buttonProp The property on chart referencing the button.
-     * @return {Highcharts.KeyboardNavigationHandler} The module object
-     */
-    simpleButtonNavigation: function (buttonProp, proxyProp, onClick) {
-        var keys = this.keyCodes, component = this, chart = this.chart;
-        return new KeyboardNavigationHandler(chart, {
-            keyCodeMap: [
-                [
-                    [keys.tab, keys.up, keys.down, keys.left, keys.right],
-                    function (keyCode, e) {
-                        var isBackwards = keyCode === keys.tab && e.shiftKey ||
-                            keyCode === keys.left || keyCode === keys.up;
-                        // Arrow/tab => just move
-                        return this.response[isBackwards ? 'prev' : 'next'];
-                    }
-                ],
-                [
-                    [keys.space, keys.enter],
-                    function () {
-                        var res = onClick(this, chart);
-                        return pick(res, this.response.success);
-                    }
-                ]
-            ],
-            validate: function () {
-                var hasButton = (chart[buttonProp] &&
-                    chart[buttonProp].box &&
-                    component[proxyProp]);
-                return hasButton;
-            },
-            init: function () {
-                chart.setFocusToElement(chart[buttonProp].box, component[proxyProp]);
-            }
-        });
-    },
-    /**
-     * Get keyboard navigation handlers for this component.
-     * @return {Array<Highcharts.KeyboardNavigationHandler>}
-     *         List of module objects
-     */
-    getKeyboardNavigation: function () {
-        return [
-            this.simpleButtonNavigation('resetZoomButton', 'resetZoomProxyButton', function (_handler, chart) {
-                chart.zoomOut();
-            }),
-            this.simpleButtonNavigation('drillUpButton', 'drillUpProxyButton', function (handler, chart) {
-                chart.drillUp();
-                return handler.response.prev;
-            }),
-            this.getMapZoomNavigation()
-        ];
-    }
-});
-export default ZoomComponent;

+ 0 - 262
node_modules/highcharts/es-modules/Accessibility/FocusBorder.js

@@ -1,262 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Extend SVG and Chart classes with focus border capabilities.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../Core/Globals.js';
-import SVGElement from '../Core/Renderer/SVG/SVGElement.js';
-import SVGLabel from '../Core/Renderer/SVG/SVGLabel.js';
-import U from '../Core/Utilities.js';
-var addEvent = U.addEvent, extend = U.extend, pick = U.pick;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-// Attributes that trigger a focus border update
-var svgElementBorderUpdateTriggers = [
-    'x', 'y', 'transform', 'width', 'height', 'r', 'd', 'stroke-width'
-];
-/**
- * Add hook to destroy focus border if SVG element is destroyed, unless
- * hook already exists.
- * @private
- * @param el Element to add destroy hook to
- */
-function addDestroyFocusBorderHook(el) {
-    if (el.focusBorderDestroyHook) {
-        return;
-    }
-    var origDestroy = el.destroy;
-    el.destroy = function () {
-        var _a, _b;
-        (_b = (_a = el.focusBorder) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a);
-        return origDestroy.apply(el, arguments);
-    };
-    el.focusBorderDestroyHook = origDestroy;
-}
-/**
- * Remove hook from SVG element added by addDestroyFocusBorderHook, if
- * existing.
- * @private
- * @param el Element to remove destroy hook from
- */
-function removeDestroyFocusBorderHook(el) {
-    if (!el.focusBorderDestroyHook) {
-        return;
-    }
-    el.destroy = el.focusBorderDestroyHook;
-    delete el.focusBorderDestroyHook;
-}
-/**
- * Add hooks to update the focus border of an element when the element
- * size/position is updated, unless already added.
- * @private
- * @param el Element to add update hooks to
- * @param updateParams Parameters to pass through to addFocusBorder when updating.
- */
-function addUpdateFocusBorderHooks(el) {
-    var updateParams = [];
-    for (var _i = 1; _i < arguments.length; _i++) {
-        updateParams[_i - 1] = arguments[_i];
-    }
-    if (el.focusBorderUpdateHooks) {
-        return;
-    }
-    el.focusBorderUpdateHooks = {};
-    svgElementBorderUpdateTriggers.forEach(function (trigger) {
-        var setterKey = trigger + 'Setter';
-        var origSetter = el[setterKey] || el._defaultSetter;
-        el.focusBorderUpdateHooks[setterKey] = origSetter;
-        el[setterKey] = function () {
-            var ret = origSetter.apply(el, arguments);
-            el.addFocusBorder.apply(el, updateParams);
-            return ret;
-        };
-    });
-}
-/**
- * Remove hooks from SVG element added by addUpdateFocusBorderHooks, if
- * existing.
- * @private
- * @param el Element to remove update hooks from
- */
-function removeUpdateFocusBorderHooks(el) {
-    if (!el.focusBorderUpdateHooks) {
-        return;
-    }
-    Object.keys(el.focusBorderUpdateHooks).forEach(function (setterKey) {
-        var origSetter = el.focusBorderUpdateHooks[setterKey];
-        if (origSetter === el._defaultSetter) {
-            delete el[setterKey];
-        }
-        else {
-            el[setterKey] = origSetter;
-        }
-    });
-    delete el.focusBorderUpdateHooks;
-}
-/*
- * Add focus border functionality to SVGElements. Draws a new rect on top of
- * element around its bounding box. This is used by multiple components.
- */
-extend(SVGElement.prototype, {
-    /**
-     * @private
-     * @function Highcharts.SVGElement#addFocusBorder
-     *
-     * @param {number} margin
-     *
-     * @param {Highcharts.CSSObject} style
-     */
-    addFocusBorder: function (margin, style) {
-        // Allow updating by just adding new border
-        if (this.focusBorder) {
-            this.removeFocusBorder();
-        }
-        // Add the border rect
-        var bb = this.getBBox(), pad = pick(margin, 3);
-        bb.x += this.translateX ? this.translateX : 0;
-        bb.y += this.translateY ? this.translateY : 0;
-        var borderPosX = bb.x - pad, borderPosY = bb.y - pad, borderWidth = bb.width + 2 * pad, borderHeight = bb.height + 2 * pad;
-        // For text elements, apply x and y offset, #11397.
-        /**
-         * @private
-         * @function
-         *
-         * @param {Highcharts.SVGElement} text
-         *
-         * @return {TextAnchorCorrectionObject}
-         */
-        function getTextAnchorCorrection(text) {
-            var posXCorrection = 0, posYCorrection = 0;
-            if (text.attr('text-anchor') === 'middle') {
-                posXCorrection = H.isFirefox && text.rotation ? 0.25 : 0.5;
-                posYCorrection = H.isFirefox && !text.rotation ? 0.75 : 0.5;
-            }
-            else if (!text.rotation) {
-                posYCorrection = 0.75;
-            }
-            else {
-                posXCorrection = 0.25;
-            }
-            return {
-                x: posXCorrection,
-                y: posYCorrection
-            };
-        }
-        var isLabel = this instanceof SVGLabel;
-        if (this.element.nodeName === 'text' || isLabel) {
-            var isRotated = !!this.rotation;
-            var correction = !isLabel ? getTextAnchorCorrection(this) :
-                {
-                    x: isRotated ? 1 : 0,
-                    y: 0
-                };
-            var attrX = +this.attr('x');
-            var attrY = +this.attr('y');
-            if (!isNaN(attrX)) {
-                borderPosX = attrX - (bb.width * correction.x) - pad;
-            }
-            if (!isNaN(attrY)) {
-                borderPosY = attrY - (bb.height * correction.y) - pad;
-            }
-            if (isLabel && isRotated) {
-                var temp = borderWidth;
-                borderWidth = borderHeight;
-                borderHeight = temp;
-                if (!isNaN(attrX)) {
-                    borderPosX = attrX - (bb.height * correction.x) - pad;
-                }
-                if (!isNaN(attrY)) {
-                    borderPosY = attrY - (bb.width * correction.y) - pad;
-                }
-            }
-        }
-        this.focusBorder = this.renderer.rect(borderPosX, borderPosY, borderWidth, borderHeight, parseInt((style && style.borderRadius || 0).toString(), 10))
-            .addClass('highcharts-focus-border')
-            .attr({
-            zIndex: 99
-        })
-            .add(this.parentGroup);
-        if (!this.renderer.styledMode) {
-            this.focusBorder.attr({
-                stroke: style && style.stroke,
-                'stroke-width': style && style.strokeWidth
-            });
-        }
-        addUpdateFocusBorderHooks(this, margin, style);
-        addDestroyFocusBorderHook(this);
-    },
-    /**
-     * @private
-     * @function Highcharts.SVGElement#removeFocusBorder
-     */
-    removeFocusBorder: function () {
-        removeUpdateFocusBorderHooks(this);
-        removeDestroyFocusBorderHook(this);
-        if (this.focusBorder) {
-            this.focusBorder.destroy();
-            delete this.focusBorder;
-        }
-    }
-});
-/**
- * Redraws the focus border on the currently focused element.
- *
- * @private
- * @function Highcharts.Chart#renderFocusBorder
- */
-H.Chart.prototype.renderFocusBorder = function () {
-    var focusElement = this.focusElement, focusBorderOptions = this.options.accessibility.keyboardNavigation.focusBorder;
-    if (focusElement) {
-        focusElement.removeFocusBorder();
-        if (focusBorderOptions.enabled) {
-            focusElement.addFocusBorder(focusBorderOptions.margin, {
-                stroke: focusBorderOptions.style.color,
-                strokeWidth: focusBorderOptions.style.lineWidth,
-                borderRadius: focusBorderOptions.style.borderRadius
-            });
-        }
-    }
-};
-/**
- * Set chart's focus to an SVGElement. Calls focus() on it, and draws the focus
- * border. This is used by multiple components.
- *
- * @private
- * @function Highcharts.Chart#setFocusToElement
- *
- * @param {Highcharts.SVGElement} svgElement
- *        Element to draw the border around.
- *
- * @param {SVGDOMElement|HTMLDOMElement} [focusElement]
- *        If supplied, it draws the border around svgElement and sets the focus
- *        to focusElement.
- */
-H.Chart.prototype.setFocusToElement = function (svgElement, focusElement) {
-    var focusBorderOptions = this.options.accessibility.keyboardNavigation.focusBorder, browserFocusElement = focusElement || svgElement.element;
-    // Set browser focus if possible
-    if (browserFocusElement &&
-        browserFocusElement.focus) {
-        // If there is no focusin-listener, add one to work around Edge issue
-        // where Narrator is not reading out points despite calling focus().
-        if (!(browserFocusElement.hcEvents &&
-            browserFocusElement.hcEvents.focusin)) {
-            addEvent(browserFocusElement, 'focusin', function () { });
-        }
-        browserFocusElement.focus();
-        // Hide default focus ring
-        if (focusBorderOptions.hideBrowserFocusOutline) {
-            browserFocusElement.style.outline = 'none';
-        }
-    }
-    if (this.focusElement) {
-        this.focusElement.removeFocusBorder();
-    }
-    this.focusElement = svgElement;
-    this.renderFocusBorder();
-};

+ 0 - 83
node_modules/highcharts/es-modules/Accessibility/HighContrastMode.js

@@ -1,83 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Handling for Windows High Contrast Mode.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../Core/Globals.js';
-var doc = H.doc, isMS = H.isMS, win = H.win;
-var whcm = {
-    /**
-     * Detect WHCM in the browser.
-     *
-     * @function Highcharts#isHighContrastModeActive
-     * @private
-     * @return {boolean} Returns true if the browser is in High Contrast mode.
-     */
-    isHighContrastModeActive: function () {
-        // Use media query on Edge, but not on IE
-        var isEdge = /(Edg)/.test(win.navigator.userAgent);
-        if (win.matchMedia && isEdge) {
-            return win.matchMedia('(-ms-high-contrast: active)').matches;
-        }
-        // Test BG image for IE
-        if (isMS && win.getComputedStyle) {
-            var testDiv = doc.createElement('div');
-            var imageSrc = 'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';
-            testDiv.style.backgroundImage = "url(" + imageSrc + ")"; // #13071
-            doc.body.appendChild(testDiv);
-            var bi = (testDiv.currentStyle ||
-                win.getComputedStyle(testDiv)).backgroundImage;
-            doc.body.removeChild(testDiv);
-            return bi === 'none';
-        }
-        // Not used for other browsers
-        return false;
-    },
-    /**
-     * Force high contrast theme for the chart. The default theme is defined in
-     * a separate file.
-     *
-     * @function Highcharts#setHighContrastTheme
-     * @private
-     * @param {Highcharts.AccessibilityChart} chart The chart to set the theme of.
-     * @return {void}
-     */
-    setHighContrastTheme: function (chart) {
-        // We might want to add additional functionality here in the future for
-        // storing the old state so that we can reset the theme if HC mode is
-        // disabled. For now, the user will have to reload the page.
-        chart.highContrastModeActive = true;
-        // Apply theme to chart
-        var theme = (chart.options.accessibility.highContrastTheme);
-        chart.update(theme, false);
-        // Force series colors (plotOptions is not enough)
-        chart.series.forEach(function (s) {
-            var plotOpts = theme.plotOptions[s.type] || {};
-            s.update({
-                color: plotOpts.color || 'windowText',
-                colors: [plotOpts.color || 'windowText'],
-                borderColor: plotOpts.borderColor || 'window'
-            });
-            // Force point colors if existing
-            s.points.forEach(function (p) {
-                if (p.options && p.options.color) {
-                    p.update({
-                        color: plotOpts.color || 'windowText',
-                        borderColor: plotOpts.borderColor || 'window'
-                    }, false);
-                }
-            });
-        });
-        // The redraw for each series and after is required for 3D pie
-        // (workaround)
-        chart.redraw();
-    }
-};
-export default whcm;

+ 0 - 211
node_modules/highcharts/es-modules/Accessibility/HighContrastTheme.js

@@ -1,211 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Default theme for Windows High Contrast Mode.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-var theme = {
-    chart: {
-        backgroundColor: 'window'
-    },
-    title: {
-        style: {
-            color: 'windowText'
-        }
-    },
-    subtitle: {
-        style: {
-            color: 'windowText'
-        }
-    },
-    colorAxis: {
-        minColor: 'windowText',
-        maxColor: 'windowText',
-        stops: []
-    },
-    colors: ['windowText'],
-    xAxis: {
-        gridLineColor: 'windowText',
-        labels: {
-            style: {
-                color: 'windowText'
-            }
-        },
-        lineColor: 'windowText',
-        minorGridLineColor: 'windowText',
-        tickColor: 'windowText',
-        title: {
-            style: {
-                color: 'windowText'
-            }
-        }
-    },
-    yAxis: {
-        gridLineColor: 'windowText',
-        labels: {
-            style: {
-                color: 'windowText'
-            }
-        },
-        lineColor: 'windowText',
-        minorGridLineColor: 'windowText',
-        tickColor: 'windowText',
-        title: {
-            style: {
-                color: 'windowText'
-            }
-        }
-    },
-    tooltip: {
-        backgroundColor: 'window',
-        borderColor: 'windowText',
-        style: {
-            color: 'windowText'
-        }
-    },
-    plotOptions: {
-        series: {
-            lineColor: 'windowText',
-            fillColor: 'window',
-            borderColor: 'windowText',
-            edgeColor: 'windowText',
-            borderWidth: 1,
-            dataLabels: {
-                connectorColor: 'windowText',
-                color: 'windowText',
-                style: {
-                    color: 'windowText',
-                    textOutline: 'none'
-                }
-            },
-            marker: {
-                lineColor: 'windowText',
-                fillColor: 'windowText'
-            }
-        },
-        pie: {
-            color: 'window',
-            colors: ['window'],
-            borderColor: 'windowText',
-            borderWidth: 1
-        },
-        boxplot: {
-            fillColor: 'window'
-        },
-        candlestick: {
-            lineColor: 'windowText',
-            fillColor: 'window'
-        },
-        errorbar: {
-            fillColor: 'window'
-        }
-    },
-    legend: {
-        backgroundColor: 'window',
-        itemStyle: {
-            color: 'windowText'
-        },
-        itemHoverStyle: {
-            color: 'windowText'
-        },
-        itemHiddenStyle: {
-            color: '#555'
-        },
-        title: {
-            style: {
-                color: 'windowText'
-            }
-        }
-    },
-    credits: {
-        style: {
-            color: 'windowText'
-        }
-    },
-    labels: {
-        style: {
-            color: 'windowText'
-        }
-    },
-    drilldown: {
-        activeAxisLabelStyle: {
-            color: 'windowText'
-        },
-        activeDataLabelStyle: {
-            color: 'windowText'
-        }
-    },
-    navigation: {
-        buttonOptions: {
-            symbolStroke: 'windowText',
-            theme: {
-                fill: 'window'
-            }
-        }
-    },
-    rangeSelector: {
-        buttonTheme: {
-            fill: 'window',
-            stroke: 'windowText',
-            style: {
-                color: 'windowText'
-            },
-            states: {
-                hover: {
-                    fill: 'window',
-                    stroke: 'windowText',
-                    style: {
-                        color: 'windowText'
-                    }
-                },
-                select: {
-                    fill: '#444',
-                    stroke: 'windowText',
-                    style: {
-                        color: 'windowText'
-                    }
-                }
-            }
-        },
-        inputBoxBorderColor: 'windowText',
-        inputStyle: {
-            backgroundColor: 'window',
-            color: 'windowText'
-        },
-        labelStyle: {
-            color: 'windowText'
-        }
-    },
-    navigator: {
-        handles: {
-            backgroundColor: 'window',
-            borderColor: 'windowText'
-        },
-        outlineColor: 'windowText',
-        maskFill: 'transparent',
-        series: {
-            color: 'windowText',
-            lineColor: 'windowText'
-        },
-        xAxis: {
-            gridLineColor: 'windowText'
-        }
-    },
-    scrollbar: {
-        barBackgroundColor: '#444',
-        barBorderColor: 'windowText',
-        buttonArrowColor: 'windowText',
-        buttonBackgroundColor: 'window',
-        buttonBorderColor: 'windowText',
-        rifleColor: 'windowText',
-        trackBackgroundColor: 'window',
-        trackBorderColor: 'windowText'
-    }
-};
-export default theme;

+ 0 - 363
node_modules/highcharts/es-modules/Accessibility/KeyboardNavigation.js

@@ -1,363 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Main keyboard navigation handling.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../Core/Globals.js';
-var doc = H.doc, win = H.win;
-import U from '../Core/Utilities.js';
-var addEvent = U.addEvent, fireEvent = U.fireEvent;
-import HTMLUtilities from './Utils/HTMLUtilities.js';
-var getElement = HTMLUtilities.getElement;
-import EventProvider from './Utils/EventProvider.js';
-/* eslint-disable valid-jsdoc */
-// Add event listener to document to detect ESC key press and dismiss
-// hover/popup content.
-addEvent(doc, 'keydown', function (e) {
-    var keycode = e.which || e.keyCode;
-    var esc = 27;
-    if (keycode === esc && H.charts) {
-        H.charts.forEach(function (chart) {
-            if (chart && chart.dismissPopupContent) {
-                chart.dismissPopupContent();
-            }
-        });
-    }
-});
-/**
- * Dismiss popup content in chart, including export menu and tooltip.
- */
-H.Chart.prototype.dismissPopupContent = function () {
-    var chart = this;
-    fireEvent(this, 'dismissPopupContent', {}, function () {
-        if (chart.tooltip) {
-            chart.tooltip.hide(0);
-        }
-        chart.hideExportMenu();
-    });
-};
-/**
- * The KeyboardNavigation class, containing the overall keyboard navigation
- * logic for the chart.
- *
- * @requires module:modules/accessibility
- *
- * @private
- * @class
- * @param {Highcharts.Chart} chart
- *        Chart object
- * @param {object} components
- *        Map of component names to AccessibilityComponent objects.
- * @name Highcharts.KeyboardNavigation
- */
-function KeyboardNavigation(chart, components) {
-    this.init(chart, components);
-}
-KeyboardNavigation.prototype = {
-    /**
-     * Initialize the class
-     * @private
-     * @param {Highcharts.Chart} chart
-     *        Chart object
-     * @param {object} components
-     *        Map of component names to AccessibilityComponent objects.
-     */
-    init: function (chart, components) {
-        var _this = this;
-        var ep = this.eventProvider = new EventProvider();
-        this.chart = chart;
-        this.components = components;
-        this.modules = [];
-        this.currentModuleIx = 0;
-        // Run an update to get all modules
-        this.update();
-        ep.addEvent(this.tabindexContainer, 'keydown', function (e) { return _this.onKeydown(e); });
-        ep.addEvent(this.tabindexContainer, 'focus', function (e) { return _this.onFocus(e); });
-        ['mouseup', 'touchend'].forEach(function (eventName) {
-            return ep.addEvent(doc, eventName, function () { return _this.onMouseUp(); });
-        });
-        ['mousedown', 'touchstart'].forEach(function (eventName) {
-            return ep.addEvent(chart.renderTo, eventName, function () {
-                _this.isClickingChart = true;
-            });
-        });
-        ep.addEvent(chart.renderTo, 'mouseover', function () {
-            _this.pointerIsOverChart = true;
-        });
-        ep.addEvent(chart.renderTo, 'mouseout', function () {
-            _this.pointerIsOverChart = false;
-        });
-        // Init first module
-        if (this.modules.length) {
-            this.modules[0].init(1);
-        }
-    },
-    /**
-     * Update the modules for the keyboard navigation.
-     * @param {Array<string>} [order]
-     *        Array specifying the tab order of the components.
-     */
-    update: function (order) {
-        var a11yOptions = this.chart.options.accessibility, keyboardOptions = a11yOptions && a11yOptions.keyboardNavigation, components = this.components;
-        this.updateContainerTabindex();
-        if (keyboardOptions &&
-            keyboardOptions.enabled &&
-            order &&
-            order.length) {
-            // We (still) have keyboard navigation. Update module list
-            this.modules = order.reduce(function (modules, componentName) {
-                var navModules = components[componentName].getKeyboardNavigation();
-                return modules.concat(navModules);
-            }, []);
-            this.updateExitAnchor();
-        }
-        else {
-            this.modules = [];
-            this.currentModuleIx = 0;
-            this.removeExitAnchor();
-        }
-    },
-    /**
-     * Function to run on container focus
-     * @private
-     * @param {global.FocusEvent} e Browser focus event.
-     */
-    onFocus: function (e) {
-        var _a;
-        var chart = this.chart;
-        var focusComesFromChart = (e.relatedTarget &&
-            chart.container.contains(e.relatedTarget));
-        // Init keyboard nav if tabbing into chart
-        if (!this.isClickingChart && !focusComesFromChart) {
-            (_a = this.modules[0]) === null || _a === void 0 ? void 0 : _a.init(1);
-        }
-    },
-    /**
-     * Reset chart navigation state if we click outside the chart and it's
-     * not already reset.
-     * @private
-     */
-    onMouseUp: function () {
-        delete this.isClickingChart;
-        if (!this.keyboardReset && !this.pointerIsOverChart) {
-            var chart = this.chart, curMod = this.modules &&
-                this.modules[this.currentModuleIx || 0];
-            if (curMod && curMod.terminate) {
-                curMod.terminate();
-            }
-            if (chart.focusElement) {
-                chart.focusElement.removeFocusBorder();
-            }
-            this.currentModuleIx = 0;
-            this.keyboardReset = true;
-        }
-    },
-    /**
-     * Function to run on keydown
-     * @private
-     * @param {global.KeyboardEvent} ev Browser keydown event.
-     */
-    onKeydown: function (ev) {
-        var e = ev || win.event, preventDefault, curNavModule = this.modules && this.modules.length &&
-            this.modules[this.currentModuleIx];
-        // Used for resetting nav state when clicking outside chart
-        this.keyboardReset = false;
-        // If there is a nav module for the current index, run it.
-        // Otherwise, we are outside of the chart in some direction.
-        if (curNavModule) {
-            var response = curNavModule.run(e);
-            if (response === curNavModule.response.success) {
-                preventDefault = true;
-            }
-            else if (response === curNavModule.response.prev) {
-                preventDefault = this.prev();
-            }
-            else if (response === curNavModule.response.next) {
-                preventDefault = this.next();
-            }
-            if (preventDefault) {
-                e.preventDefault();
-                e.stopPropagation();
-            }
-        }
-    },
-    /**
-     * Go to previous module.
-     * @private
-     */
-    prev: function () {
-        return this.move(-1);
-    },
-    /**
-     * Go to next module.
-     * @private
-     */
-    next: function () {
-        return this.move(1);
-    },
-    /**
-     * Move to prev/next module.
-     * @private
-     * @param {number} direction
-     * Direction to move. +1 for next, -1 for prev.
-     * @return {boolean}
-     * True if there was a valid module in direction.
-     */
-    move: function (direction) {
-        var curModule = this.modules && this.modules[this.currentModuleIx];
-        if (curModule && curModule.terminate) {
-            curModule.terminate(direction);
-        }
-        // Remove existing focus border if any
-        if (this.chart.focusElement) {
-            this.chart.focusElement.removeFocusBorder();
-        }
-        this.currentModuleIx += direction;
-        var newModule = this.modules && this.modules[this.currentModuleIx];
-        if (newModule) {
-            if (newModule.validate && !newModule.validate()) {
-                return this.move(direction); // Invalid module, recurse
-            }
-            if (newModule.init) {
-                newModule.init(direction); // Valid module, init it
-                return true;
-            }
-        }
-        // No module
-        this.currentModuleIx = 0; // Reset counter
-        // Set focus to chart or exit anchor depending on direction
-        if (direction > 0) {
-            this.exiting = true;
-            this.exitAnchor.focus();
-        }
-        else {
-            this.tabindexContainer.focus();
-        }
-        return false;
-    },
-    /**
-     * We use an exit anchor to move focus out of chart whenever we want, by
-     * setting focus to this div and not preventing the default tab action. We
-     * also use this when users come back into the chart by tabbing back, in
-     * order to navigate from the end of the chart.
-     * @private
-     */
-    updateExitAnchor: function () {
-        var endMarkerId = 'highcharts-end-of-chart-marker-' + this.chart.index, endMarker = getElement(endMarkerId);
-        this.removeExitAnchor();
-        if (endMarker) {
-            this.makeElementAnExitAnchor(endMarker);
-            this.exitAnchor = endMarker;
-        }
-        else {
-            this.createExitAnchor();
-        }
-    },
-    /**
-     * Chart container should have tabindex if navigation is enabled.
-     * @private
-     */
-    updateContainerTabindex: function () {
-        var a11yOptions = this.chart.options.accessibility, keyboardOptions = a11yOptions && a11yOptions.keyboardNavigation, shouldHaveTabindex = !(keyboardOptions && keyboardOptions.enabled === false), chart = this.chart, container = chart.container;
-        var tabindexContainer;
-        if (chart.renderTo.hasAttribute('tabindex')) {
-            container.removeAttribute('tabindex');
-            tabindexContainer = chart.renderTo;
-        }
-        else {
-            tabindexContainer = container;
-        }
-        this.tabindexContainer = tabindexContainer;
-        var curTabindex = tabindexContainer.getAttribute('tabindex');
-        if (shouldHaveTabindex && !curTabindex) {
-            tabindexContainer.setAttribute('tabindex', '0');
-        }
-        else if (!shouldHaveTabindex) {
-            chart.container.removeAttribute('tabindex');
-        }
-    },
-    /**
-     * @private
-     */
-    makeElementAnExitAnchor: function (el) {
-        var chartTabindex = this.tabindexContainer.getAttribute('tabindex') || 0;
-        el.setAttribute('class', 'highcharts-exit-anchor');
-        el.setAttribute('tabindex', chartTabindex);
-        el.setAttribute('aria-hidden', false);
-        // Handle focus
-        this.addExitAnchorEventsToEl(el);
-    },
-    /**
-     * Add new exit anchor to the chart.
-     *
-     * @private
-     */
-    createExitAnchor: function () {
-        var chart = this.chart, exitAnchor = this.exitAnchor = doc.createElement('div');
-        chart.renderTo.appendChild(exitAnchor);
-        this.makeElementAnExitAnchor(exitAnchor);
-    },
-    /**
-     * @private
-     */
-    removeExitAnchor: function () {
-        if (this.exitAnchor && this.exitAnchor.parentNode) {
-            this.exitAnchor.parentNode
-                .removeChild(this.exitAnchor);
-            delete this.exitAnchor;
-        }
-    },
-    /**
-     * @private
-     */
-    addExitAnchorEventsToEl: function (element) {
-        var chart = this.chart, keyboardNavigation = this;
-        this.eventProvider.addEvent(element, 'focus', function (ev) {
-            var e = ev || win.event, curModule, focusComesFromChart = (e.relatedTarget &&
-                chart.container.contains(e.relatedTarget)), comingInBackwards = !(focusComesFromChart || keyboardNavigation.exiting);
-            if (comingInBackwards) {
-                keyboardNavigation.tabindexContainer.focus();
-                e.preventDefault();
-                // Move to last valid keyboard nav module
-                // Note the we don't run it, just set the index
-                if (keyboardNavigation.modules &&
-                    keyboardNavigation.modules.length) {
-                    keyboardNavigation.currentModuleIx =
-                        keyboardNavigation.modules.length - 1;
-                    curModule = keyboardNavigation.modules[keyboardNavigation.currentModuleIx];
-                    // Validate the module
-                    if (curModule &&
-                        curModule.validate && !curModule.validate()) {
-                        // Invalid. Try moving backwards to find next valid.
-                        keyboardNavigation.prev();
-                    }
-                    else if (curModule) {
-                        // We have a valid module, init it
-                        curModule.init(-1);
-                    }
-                }
-            }
-            else {
-                // Don't skip the next focus, we only skip once.
-                keyboardNavigation.exiting = false;
-            }
-        });
-    },
-    /**
-     * Remove all traces of keyboard navigation.
-     * @private
-     */
-    destroy: function () {
-        this.removeExitAnchor();
-        this.eventProvider.removeAddedEvents();
-        this.chart.container.removeAttribute('tabindex');
-    }
-};
-export default KeyboardNavigation;

+ 0 - 99
node_modules/highcharts/es-modules/Accessibility/KeyboardNavigationHandler.js

@@ -1,99 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Keyboard navigation handler base class definition
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import U from '../Core/Utilities.js';
-var find = U.find;
-/**
- * Options for the keyboard navigation handler.
- *
- * @interface Highcharts.KeyboardNavigationHandlerOptionsObject
- */ /**
-* An array containing pairs of an array of keycodes, mapped to a handler
-* function. When the keycode is received, the handler is called with the
-* keycode as parameter.
-* @name Highcharts.KeyboardNavigationHandlerOptionsObject#keyCodeMap
-* @type {Array<Array<Array<number>, Function>>}
-*/ /**
-* Function to run on initialization of module.
-* @name Highcharts.KeyboardNavigationHandlerOptionsObject#init
-* @type {Function}
-*/ /**
-* Function to run before moving to next/prev module. Receives moving direction
-* as parameter: +1 for next, -1 for previous.
-* @name Highcharts.KeyboardNavigationHandlerOptionsObject#terminate
-* @type {Function|undefined}
-*/ /**
-* Function to run to validate module. Should return false if module should not
-* run, true otherwise. Receives chart as parameter.
-* @name Highcharts.KeyboardNavigationHandlerOptionsObject#validate
-* @type {Function|undefined}
-*/
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * Define a keyboard navigation handler for use with a
- * Highcharts.AccessibilityComponent instance. This functions as an abstraction
- * layer for keyboard navigation, and defines a map of keyCodes to handler
- * functions.
- *
- * @requires module:modules/accessibility
- *
- * @sample highcharts/accessibility/custom-component
- *         Custom accessibility component
- *
- * @class
- * @name Highcharts.KeyboardNavigationHandler
- *
- * @param {Highcharts.Chart} chart
- * The chart this module should act on.
- *
- * @param {Highcharts.KeyboardNavigationHandlerOptionsObject} options
- * Options for the keyboard navigation handler.
- */
-function KeyboardNavigationHandler(chart, options) {
-    this.chart = chart;
-    this.keyCodeMap = options.keyCodeMap || [];
-    this.validate = options.validate;
-    this.init = options.init;
-    this.terminate = options.terminate;
-    // Response enum
-    this.response = {
-        success: 1,
-        prev: 2,
-        next: 3,
-        noHandler: 4,
-        fail: 5 // Handler failed
-    };
-}
-KeyboardNavigationHandler.prototype = {
-    /**
-     * Find handler function(s) for key code in the keyCodeMap and run it.
-     *
-     * @function KeyboardNavigationHandler#run
-     * @param {global.KeyboardEvent} e
-     * @return {number} Returns a response code indicating whether the run was
-     *      a success/fail/unhandled, or if we should move to next/prev module.
-     */
-    run: function (e) {
-        var keyCode = e.which || e.keyCode, response = this.response.noHandler, handlerCodeSet = find(this.keyCodeMap, function (codeSet) {
-            return codeSet[0].indexOf(keyCode) > -1;
-        });
-        if (handlerCodeSet) {
-            response = handlerCodeSet[1].call(this, keyCode, e);
-        }
-        else if (keyCode === 9) {
-            // Default tab handler, move to next/prev module
-            response = this.response[e.shiftKey ? 'prev' : 'next'];
-        }
-        return response;
-    }
-};
-export default KeyboardNavigationHandler;

+ 0 - 233
node_modules/highcharts/es-modules/Accessibility/Options/DeprecatedOptions.js

@@ -1,233 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Default options for accessibility.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-/* eslint-disable max-len */
-/*
- *  List of deprecated options:
- *
- *  chart.description -> accessibility.description
- *  chart.typeDescription -> accessibility.typeDescription
- *  series.description -> series.accessibility.description
- *  series.exposeElementToA11y -> series.accessibility.exposeAsGroupOnly
- *  series.pointDescriptionFormatter ->
- *      series.accessibility.pointDescriptionFormatter
- *  series.skipKeyboardNavigation ->
- *      series.accessibility.keyboardNavigation.enabled
- *  point.description -> point.accessibility.description !!!! WARNING: No longer deprecated and handled, removed for HC8.
- *  axis.description -> axis.accessibility.description
- *
- *  accessibility.pointDateFormat -> accessibility.point.dateFormat
- *  accessibility.addTableShortcut -> Handled by screenReaderSection.beforeChartFormat
- *  accessibility.pointDateFormatter -> accessibility.point.dateFormatter
- *  accessibility.pointDescriptionFormatter -> accessibility.point.descriptionFormatter
- *  accessibility.pointDescriptionThreshold -> accessibility.series.pointDescriptionEnabledThreshold
- *  accessibility.pointNavigationThreshold -> accessibility.keyboardNavigation.seriesNavigation.pointNavigationEnabledThreshold
- *  accessibility.pointValueDecimals -> accessibility.point.valueDecimals
- *  accessibility.pointValuePrefix -> accessibility.point.valuePrefix
- *  accessibility.pointValueSuffix -> accessibility.point.valueSuffix
- *  accessibility.screenReaderSectionFormatter -> accessibility.screenReaderSection.beforeChartFormatter
- *  accessibility.describeSingleSeries -> accessibility.series.describeSingleSeries
- *  accessibility.seriesDescriptionFormatter -> accessibility.series.descriptionFormatter
- *  accessibility.onTableAnchorClick -> accessibility.screenReaderSection.onViewDataTableClick
- *  accessibility.axisRangeDateFormat -> accessibility.screenReaderSection.axisRangeDateFormat
- *  accessibility.keyboardNavigation.skipNullPoints -> accessibility.keyboardNavigation.seriesNavigation.skipNullPoints
- *  accessibility.keyboardNavigation.mode -> accessibility.keyboardNavigation.seriesNavigation.mode
- *
- *  lang.accessibility.chartHeading -> no longer used, remove
- *  lang.accessibility.legendItem -> lang.accessibility.legend.legendItem
- *  lang.accessibility.legendLabel -> lang.accessibility.legend.legendLabel
- *  lang.accessibility.mapZoomIn -> lang.accessibility.zoom.mapZoomIn
- *  lang.accessibility.mapZoomOut -> lang.accessibility.zoom.mapZoomOut
- *  lang.accessibility.resetZoomButton -> lang.accessibility.zoom.resetZoomButton
- *  lang.accessibility.screenReaderRegionLabel -> lang.accessibility.screenReaderSection.beforeRegionLabel
- *  lang.accessibility.rangeSelectorButton -> lang.accessibility.rangeSelector.buttonText
- *  lang.accessibility.rangeSelectorMaxInput -> lang.accessibility.rangeSelector.maxInputLabel
- *  lang.accessibility.rangeSelectorMinInput -> lang.accessibility.rangeSelector.minInputLabel
- *  lang.accessibility.svgContainerEnd -> lang.accessibility.screenReaderSection.endOfChartMarker
- *  lang.accessibility.viewAsDataTable -> lang.accessibility.table.viewAsDataTableButtonText
- *  lang.accessibility.tableSummary -> lang.accessibility.table.tableSummary
- *
- */
-/* eslint-enable max-len */
-'use strict';
-import U from '../../Core/Utilities.js';
-var error = U.error, pick = U.pick;
-/* eslint-disable valid-jsdoc */
-/**
- * Set a new option on a root prop, where the option is defined as an array of
- * suboptions.
- * @private
- * @param root
- * @param {Array<string>} optionAsArray
- * @param {*} val
- * @return {void}
- */
-function traverseSetOption(root, optionAsArray, val) {
-    var opt = root, prop, i = 0;
-    for (; i < optionAsArray.length - 1; ++i) {
-        prop = optionAsArray[i];
-        opt = opt[prop] = pick(opt[prop], {});
-    }
-    opt[optionAsArray[optionAsArray.length - 1]] = val;
-}
-/**
- * If we have a clear root option node for old and new options and a mapping
- * between, we can use this generic function for the copy and warn logic.
- */
-function deprecateFromOptionsMap(chart, rootOldAsArray, rootNewAsArray, mapToNewOptions) {
-    /**
-     * @private
-     */
-    function getChildProp(root, propAsArray) {
-        return propAsArray.reduce(function (acc, cur) {
-            return acc[cur];
-        }, root);
-    }
-    var rootOld = getChildProp(chart.options, rootOldAsArray), rootNew = getChildProp(chart.options, rootNewAsArray);
-    Object.keys(mapToNewOptions).forEach(function (oldOptionKey) {
-        var _a;
-        var val = rootOld[oldOptionKey];
-        if (typeof val !== 'undefined') {
-            traverseSetOption(rootNew, mapToNewOptions[oldOptionKey], val);
-            error(32, false, chart, (_a = {},
-                _a[rootOldAsArray.join('.') + "." + oldOptionKey] = rootNewAsArray.join('.') + "." + mapToNewOptions[oldOptionKey].join('.'),
-                _a));
-        }
-    });
-}
-/**
- * @private
- */
-function copyDeprecatedChartOptions(chart) {
-    var chartOptions = chart.options.chart || {}, a11yOptions = chart.options.accessibility || {};
-    ['description', 'typeDescription'].forEach(function (prop) {
-        var _a;
-        if (chartOptions[prop]) {
-            a11yOptions[prop] = chartOptions[prop];
-            error(32, false, chart, (_a = {}, _a["chart." + prop] = "use accessibility." + prop, _a));
-        }
-    });
-}
-/**
- * @private
- */
-function copyDeprecatedAxisOptions(chart) {
-    chart.axes.forEach(function (axis) {
-        var opts = axis.options;
-        if (opts && opts.description) {
-            opts.accessibility = opts.accessibility || {};
-            opts.accessibility.description = opts.description;
-            error(32, false, chart, { 'axis.description': 'use axis.accessibility.description' });
-        }
-    });
-}
-/**
- * @private
- */
-function copyDeprecatedSeriesOptions(chart) {
-    // Map of deprecated series options. New options are defined as
-    // arrays of paths under series.options.
-    var oldToNewSeriesOptions = {
-        description: ['accessibility', 'description'],
-        exposeElementToA11y: ['accessibility', 'exposeAsGroupOnly'],
-        pointDescriptionFormatter: [
-            'accessibility', 'pointDescriptionFormatter'
-        ],
-        skipKeyboardNavigation: [
-            'accessibility', 'keyboardNavigation', 'enabled'
-        ]
-    };
-    chart.series.forEach(function (series) {
-        // Handle series wide options
-        Object.keys(oldToNewSeriesOptions).forEach(function (oldOption) {
-            var _a;
-            var optionVal = series.options[oldOption];
-            if (typeof optionVal !== 'undefined') {
-                // Set the new option
-                traverseSetOption(series.options, oldToNewSeriesOptions[oldOption], 
-                // Note that skipKeyboardNavigation has inverted option
-                // value, since we set enabled rather than disabled
-                oldOption === 'skipKeyboardNavigation' ?
-                    !optionVal : optionVal);
-                error(32, false, chart, (_a = {}, _a["series." + oldOption] = "series." + oldToNewSeriesOptions[oldOption].join('.'), _a));
-            }
-        });
-    });
-}
-/**
- * @private
- */
-function copyDeprecatedTopLevelAccessibilityOptions(chart) {
-    deprecateFromOptionsMap(chart, ['accessibility'], ['accessibility'], {
-        pointDateFormat: ['point', 'dateFormat'],
-        pointDateFormatter: ['point', 'dateFormatter'],
-        pointDescriptionFormatter: ['point', 'descriptionFormatter'],
-        pointDescriptionThreshold: ['series',
-            'pointDescriptionEnabledThreshold'],
-        pointNavigationThreshold: ['keyboardNavigation', 'seriesNavigation',
-            'pointNavigationEnabledThreshold'],
-        pointValueDecimals: ['point', 'valueDecimals'],
-        pointValuePrefix: ['point', 'valuePrefix'],
-        pointValueSuffix: ['point', 'valueSuffix'],
-        screenReaderSectionFormatter: ['screenReaderSection',
-            'beforeChartFormatter'],
-        describeSingleSeries: ['series', 'describeSingleSeries'],
-        seriesDescriptionFormatter: ['series', 'descriptionFormatter'],
-        onTableAnchorClick: ['screenReaderSection', 'onViewDataTableClick'],
-        axisRangeDateFormat: ['screenReaderSection', 'axisRangeDateFormat']
-    });
-}
-/**
- * @private
- */
-function copyDeprecatedKeyboardNavigationOptions(chart) {
-    deprecateFromOptionsMap(chart, ['accessibility', 'keyboardNavigation'], ['accessibility', 'keyboardNavigation', 'seriesNavigation'], {
-        skipNullPoints: ['skipNullPoints'],
-        mode: ['mode']
-    });
-}
-/**
- * @private
- */
-function copyDeprecatedLangOptions(chart) {
-    deprecateFromOptionsMap(chart, ['lang', 'accessibility'], ['lang', 'accessibility'], {
-        legendItem: ['legend', 'legendItem'],
-        legendLabel: ['legend', 'legendLabel'],
-        mapZoomIn: ['zoom', 'mapZoomIn'],
-        mapZoomOut: ['zoom', 'mapZoomOut'],
-        resetZoomButton: ['zoom', 'resetZoomButton'],
-        screenReaderRegionLabel: ['screenReaderSection',
-            'beforeRegionLabel'],
-        rangeSelectorButton: ['rangeSelector', 'buttonText'],
-        rangeSelectorMaxInput: ['rangeSelector', 'maxInputLabel'],
-        rangeSelectorMinInput: ['rangeSelector', 'minInputLabel'],
-        svgContainerEnd: ['screenReaderSection', 'endOfChartMarker'],
-        viewAsDataTable: ['table', 'viewAsDataTableButtonText'],
-        tableSummary: ['table', 'tableSummary']
-    });
-}
-/**
- * Copy options that are deprecated over to new options. Logs warnings to
- * console if deprecated options are used.
- *
- * @private
- */
-function copyDeprecatedOptions(chart) {
-    copyDeprecatedChartOptions(chart);
-    copyDeprecatedAxisOptions(chart);
-    if (chart.series) {
-        copyDeprecatedSeriesOptions(chart);
-    }
-    copyDeprecatedTopLevelAccessibilityOptions(chart);
-    copyDeprecatedKeyboardNavigationOptions(chart);
-    copyDeprecatedLangOptions(chart);
-}
-export default copyDeprecatedOptions;

+ 0 - 340
node_modules/highcharts/es-modules/Accessibility/Options/LangOptions.js

@@ -1,340 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Default lang/i18n options for accessibility.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-var langOptions = {
-    /**
-     * Configure the accessibility strings in the chart. Requires the
-     * [accessibility module](https://code.highcharts.com/modules/accessibility.js)
-     * to be loaded. For a description of the module and information on its
-     * features, see
-     * [Highcharts Accessibility](https://www.highcharts.com/docs/chart-concepts/accessibility).
-     *
-     * For more dynamic control over the accessibility functionality, see
-     * [accessibility.pointDescriptionFormatter](#accessibility.pointDescriptionFormatter),
-     * [accessibility.seriesDescriptionFormatter](#accessibility.seriesDescriptionFormatter),
-     * and
-     * [accessibility.screenReaderSectionFormatter](#accessibility.screenReaderSectionFormatter).
-     *
-     * @since        6.0.6
-     * @optionparent lang.accessibility
-     */
-    accessibility: {
-        defaultChartTitle: 'Chart',
-        chartContainerLabel: '{title}. Highcharts interactive chart.',
-        svgContainerLabel: 'Interactive chart',
-        drillUpButton: '{buttonText}',
-        credits: 'Chart credits: {creditsStr}',
-        /**
-         * Thousands separator to use when formatting numbers for screen
-         * readers. Note that many screen readers will not handle space as a
-         * thousands separator, and will consider "11 700" as two numbers.
-         *
-         * Set to `null` to use the separator defined in
-         * [lang.thousandsSep](lang.thousandsSep).
-         *
-         * @since 7.1.0
-         */
-        thousandsSep: ',',
-        /**
-         * Title element text for the chart SVG element. Leave this
-         * empty to disable adding the title element. Browsers will display
-         * this content when hovering over elements in the chart. Assistive
-         * technology may use this element to label the chart.
-         *
-         * @since 6.0.8
-         */
-        svgContainerTitle: '',
-        /**
-         * Set a label on the container wrapping the SVG.
-         *
-         * @see [chartContainerLabel](#lang.accessibility.chartContainerLabel)
-         *
-         * @since 8.0.0
-         */
-        graphicContainerLabel: '',
-        /**
-         * Language options for the screen reader information sections added
-         * before and after the charts.
-         *
-         * @since 8.0.0
-         */
-        screenReaderSection: {
-            beforeRegionLabel: 'Chart screen reader information.',
-            afterRegionLabel: '',
-            /**
-             * Language options for annotation descriptions.
-             *
-             * @since 8.0.1
-             */
-            annotations: {
-                heading: 'Chart annotations summary',
-                descriptionSinglePoint: '{annotationText}. Related to {annotationPoint}',
-                descriptionMultiplePoints: '{annotationText}. Related to {annotationPoint}' +
-                    '{ Also related to, #each(additionalAnnotationPoints)}',
-                descriptionNoPoints: '{annotationText}'
-            },
-            /**
-             * Label for the end of the chart. Announced by screen readers.
-             *
-             * @since 8.0.0
-             */
-            endOfChartMarker: 'End of interactive chart.'
-        },
-        /**
-         * Language options for sonification.
-         *
-         * @since 8.0.1
-         */
-        sonification: {
-            playAsSoundButtonText: 'Play as sound, {chartTitle}',
-            playAsSoundClickAnnouncement: 'Play'
-        },
-        /**
-         * Language options for accessibility of the legend.
-         *
-         * @since 8.0.0
-         */
-        legend: {
-            legendLabelNoTitle: 'Toggle series visibility',
-            legendLabel: 'Chart legend: {legendTitle}',
-            legendItem: 'Show {itemName}'
-        },
-        /**
-         * Chart and map zoom accessibility language options.
-         *
-         * @since 8.0.0
-         */
-        zoom: {
-            mapZoomIn: 'Zoom chart',
-            mapZoomOut: 'Zoom out chart',
-            resetZoomButton: 'Reset zoom'
-        },
-        /**
-         * Range selector language options for accessibility.
-         *
-         * @since 8.0.0
-         */
-        rangeSelector: {
-            dropdownLabel: '{rangeTitle}',
-            minInputLabel: 'Select start date.',
-            maxInputLabel: 'Select end date.',
-            clickButtonAnnouncement: 'Viewing {axisRangeDescription}'
-        },
-        /**
-         * Accessibility language options for the data table.
-         *
-         * @since 8.0.0
-         */
-        table: {
-            viewAsDataTableButtonText: 'View as data table, {chartTitle}',
-            tableSummary: 'Table representation of chart.'
-        },
-        /**
-         * Default announcement for new data in charts. If addPoint or
-         * addSeries is used, and only one series/point is added, the
-         * `newPointAnnounce` and `newSeriesAnnounce` strings are used.
-         * The `...Single` versions will be used if there is only one chart
-         * on the page, and the `...Multiple` versions will be used if there
-         * are multiple charts on the page. For all other new data events,
-         * the `newDataAnnounce` string will be used.
-         *
-         * @since 7.1.0
-         */
-        announceNewData: {
-            newDataAnnounce: 'Updated data for chart {chartTitle}',
-            newSeriesAnnounceSingle: 'New data series: {seriesDesc}',
-            newPointAnnounceSingle: 'New data point: {pointDesc}',
-            newSeriesAnnounceMultiple: 'New data series in chart {chartTitle}: {seriesDesc}',
-            newPointAnnounceMultiple: 'New data point in chart {chartTitle}: {pointDesc}'
-        },
-        /**
-         * Descriptions of lesser known series types. The relevant
-         * description is added to the screen reader information region
-         * when these series types are used.
-         *
-         * @since 6.0.6
-         */
-        seriesTypeDescriptions: {
-            boxplot: 'Box plot charts are typically used to display ' +
-                'groups of statistical data. Each data point in the ' +
-                'chart can have up to 5 values: minimum, lower quartile, ' +
-                'median, upper quartile, and maximum.',
-            arearange: 'Arearange charts are line charts displaying a ' +
-                'range between a lower and higher value for each point.',
-            areasplinerange: 'These charts are line charts displaying a ' +
-                'range between a lower and higher value for each point.',
-            bubble: 'Bubble charts are scatter charts where each data ' +
-                'point also has a size value.',
-            columnrange: 'Columnrange charts are column charts ' +
-                'displaying a range between a lower and higher value for ' +
-                'each point.',
-            errorbar: 'Errorbar series are used to display the ' +
-                'variability of the data.',
-            funnel: 'Funnel charts are used to display reduction of data ' +
-                'in stages.',
-            pyramid: 'Pyramid charts consist of a single pyramid with ' +
-                'item heights corresponding to each point value.',
-            waterfall: 'A waterfall chart is a column chart where each ' +
-                'column contributes towards a total end value.'
-        },
-        /**
-         * Chart type description strings. This is added to the chart
-         * information region.
-         *
-         * If there is only a single series type used in the chart, we use
-         * the format string for the series type, or default if missing.
-         * There is one format string for cases where there is only a single
-         * series in the chart, and one for multiple series of the same
-         * type.
-         *
-         * @since 6.0.6
-         */
-        chartTypes: {
-            /* eslint-disable max-len */
-            emptyChart: 'Empty chart',
-            mapTypeDescription: 'Map of {mapTitle} with {numSeries} data series.',
-            unknownMap: 'Map of unspecified region with {numSeries} data series.',
-            combinationChart: 'Combination chart with {numSeries} data series.',
-            defaultSingle: 'Chart with {numPoints} data {#plural(numPoints, points, point)}.',
-            defaultMultiple: 'Chart with {numSeries} data series.',
-            splineSingle: 'Line chart with {numPoints} data {#plural(numPoints, points, point)}.',
-            splineMultiple: 'Line chart with {numSeries} lines.',
-            lineSingle: 'Line chart with {numPoints} data {#plural(numPoints, points, point)}.',
-            lineMultiple: 'Line chart with {numSeries} lines.',
-            columnSingle: 'Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.',
-            columnMultiple: 'Bar chart with {numSeries} data series.',
-            barSingle: 'Bar chart with {numPoints} {#plural(numPoints, bars, bar)}.',
-            barMultiple: 'Bar chart with {numSeries} data series.',
-            pieSingle: 'Pie chart with {numPoints} {#plural(numPoints, slices, slice)}.',
-            pieMultiple: 'Pie chart with {numSeries} pies.',
-            scatterSingle: 'Scatter chart with {numPoints} {#plural(numPoints, points, point)}.',
-            scatterMultiple: 'Scatter chart with {numSeries} data series.',
-            boxplotSingle: 'Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.',
-            boxplotMultiple: 'Boxplot with {numSeries} data series.',
-            bubbleSingle: 'Bubble chart with {numPoints} {#plural(numPoints, bubbles, bubble)}.',
-            bubbleMultiple: 'Bubble chart with {numSeries} data series.'
-        },
-        /**
-         * Axis description format strings.
-         *
-         * @since 6.0.6
-         */
-        axis: {
-            /* eslint-disable max-len */
-            xAxisDescriptionSingular: 'The chart has 1 X axis displaying {names[0]}. {ranges[0]}',
-            xAxisDescriptionPlural: 'The chart has {numAxes} X axes displaying {#each(names, -1) }and {names[-1]}.',
-            yAxisDescriptionSingular: 'The chart has 1 Y axis displaying {names[0]}. {ranges[0]}',
-            yAxisDescriptionPlural: 'The chart has {numAxes} Y axes displaying {#each(names, -1) }and {names[-1]}.',
-            timeRangeDays: 'Range: {range} days.',
-            timeRangeHours: 'Range: {range} hours.',
-            timeRangeMinutes: 'Range: {range} minutes.',
-            timeRangeSeconds: 'Range: {range} seconds.',
-            rangeFromTo: 'Range: {rangeFrom} to {rangeTo}.',
-            rangeCategories: 'Range: {numCategories} categories.'
-        },
-        /**
-         * Exporting menu format strings for accessibility module.
-         *
-         * @since 6.0.6
-         */
-        exporting: {
-            chartMenuLabel: 'Chart menu',
-            menuButtonLabel: 'View chart menu',
-            exportRegionLabel: 'Chart menu'
-        },
-        /**
-         * Lang configuration for different series types. For more dynamic
-         * control over the series element descriptions, see
-         * [accessibility.seriesDescriptionFormatter](#accessibility.seriesDescriptionFormatter).
-         *
-         * @since 6.0.6
-         */
-        series: {
-            /**
-             * Lang configuration for the series main summary. Each series
-             * type has two modes:
-             *
-             * 1. This series type is the only series type used in the
-             *    chart
-             *
-             * 2. This is a combination chart with multiple series types
-             *
-             * If a definition does not exist for the specific series type
-             * and mode, the 'default' lang definitions are used.
-             *
-             * @since 6.0.6
-             */
-            summary: {
-                /* eslint-disable max-len */
-                'default': '{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.',
-                defaultCombination: '{name}, series {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.',
-                line: '{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.',
-                lineCombination: '{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.',
-                spline: '{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.',
-                splineCombination: '{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.',
-                column: '{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.',
-                columnCombination: '{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.',
-                bar: '{name}, bar series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bars, bar)}.',
-                barCombination: '{name}, series {ix} of {numSeries}. Bar series with {numPoints} {#plural(numPoints, bars, bar)}.',
-                pie: '{name}, pie {ix} of {numSeries} with {numPoints} {#plural(numPoints, slices, slice)}.',
-                pieCombination: '{name}, series {ix} of {numSeries}. Pie with {numPoints} {#plural(numPoints, slices, slice)}.',
-                scatter: '{name}, scatter plot {ix} of {numSeries} with {numPoints} {#plural(numPoints, points, point)}.',
-                scatterCombination: '{name}, series {ix} of {numSeries}, scatter plot with {numPoints} {#plural(numPoints, points, point)}.',
-                boxplot: '{name}, boxplot {ix} of {numSeries} with {numPoints} {#plural(numPoints, boxes, box)}.',
-                boxplotCombination: '{name}, series {ix} of {numSeries}. Boxplot with {numPoints} {#plural(numPoints, boxes, box)}.',
-                bubble: '{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.',
-                bubbleCombination: '{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.',
-                map: '{name}, map {ix} of {numSeries} with {numPoints} {#plural(numPoints, areas, area)}.',
-                mapCombination: '{name}, series {ix} of {numSeries}. Map with {numPoints} {#plural(numPoints, areas, area)}.',
-                mapline: '{name}, line {ix} of {numSeries} with {numPoints} data {#plural(numPoints, points, point)}.',
-                maplineCombination: '{name}, series {ix} of {numSeries}. Line with {numPoints} data {#plural(numPoints, points, point)}.',
-                mapbubble: '{name}, bubble series {ix} of {numSeries} with {numPoints} {#plural(numPoints, bubbles, bubble)}.',
-                mapbubbleCombination: '{name}, series {ix} of {numSeries}. Bubble series with {numPoints} {#plural(numPoints, bubbles, bubble)}.'
-            },
-            /**
-             * User supplied description text. This is added in the point
-             * comment description by default if present.
-             *
-             * @since 6.0.6
-             */
-            description: '{description}',
-            /**
-             * xAxis description for series if there are multiple xAxes in
-             * the chart.
-             *
-             * @since 6.0.6
-             */
-            xAxisDescription: 'X axis, {name}',
-            /**
-             * yAxis description for series if there are multiple yAxes in
-             * the chart.
-             *
-             * @since 6.0.6
-             */
-            yAxisDescription: 'Y axis, {name}',
-            /**
-             * Description for the value of null points.
-             *
-             * @since 8.0.0
-             */
-            nullPointValue: 'No value',
-            /**
-             * Description for annotations on a point, as it is made available
-             * to assistive technology.
-             *
-             * @since 8.0.1
-             */
-            pointAnnotationsDescription: '{Annotation: #each(annotations). }'
-        }
-    }
-};
-export default langOptions;

+ 0 - 813
node_modules/highcharts/es-modules/Accessibility/Options/Options.js

@@ -1,813 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Default options for accessibility.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import palette from '../../Core/Color/Palette.js';
-/**
- * Formatter callback for the accessibility announcement.
- *
- * @callback Highcharts.AccessibilityAnnouncementFormatter
- *
- * @param {Array<Highcharts.Series>} updatedSeries
- * Array of all series that received updates. If an announcement is already
- * queued, the series that received updates for that announcement are also
- * included in this array.
- *
- * @param {Highcharts.Series} [addedSeries]
- * This is provided if {@link Highcharts.Chart#addSeries} was called, and there
- * is a new series. In that case, this argument is a reference to the new
- * series.
- *
- * @param {Highcharts.Point} [addedPoint]
- * This is provided if {@link Highcharts.Series#addPoint} was called, and there
- * is a new point. In that case, this argument is a reference to the new point.
- *
- * @return {false|string}
- * The function should return a string with the text to announce to the user.
- * Return empty string to not announce anything. Return `false` to use the
- * default announcement format.
- */
-/**
- * @interface Highcharts.PointAccessibilityOptionsObject
- */ /**
-* Provide a description of the data point, announced to screen readers.
-* @name Highcharts.PointAccessibilityOptionsObject#description
-* @type {string|undefined}
-* @requires modules/accessibility
-* @since 7.1.0
-*/ /**
-* Enable or disable exposing the point to assistive technology
-* @name Highcharts.PointAccessibilityOptionsObject#enabled
-* @type {boolean|undefined}
-* @requires modules/accessibility
-* @since 9.0.1
-*/
-/* *
- * @interface Highcharts.PointOptionsObject in parts/Point.ts
- */ /**
-* @name Highcharts.PointOptionsObject#accessibility
-* @type {Highcharts.PointAccessibilityOptionsObject|undefined}
-* @requires modules/accessibility
-* @since 7.1.0
-*/
-/**
- * @callback Highcharts.ScreenReaderClickCallbackFunction
- *
- * @param {global.MouseEvent} evt
- *        Mouse click event
- *
- * @return {void}
- */
-/**
- * Creates a formatted string for the screen reader module.
- *
- * @callback Highcharts.ScreenReaderFormatterCallbackFunction<T>
- *
- * @param {T} context
- *        Context to format
- *
- * @return {string}
- *         Formatted string for the screen reader module.
- */
-var options = {
-    /**
-     * Options for configuring accessibility for the chart. Requires the
-     * [accessibility module](https://code.highcharts.com/modules/accessibility.js)
-     * to be loaded. For a description of the module and information
-     * on its features, see
-     * [Highcharts Accessibility](https://www.highcharts.com/docs/accessibility/accessibility-module).
-     *
-     * @since        5.0.0
-     * @requires     modules/accessibility
-     * @optionparent accessibility
-     */
-    accessibility: {
-        /**
-         * Enable accessibility functionality for the chart.
-         *
-         * @since 5.0.0
-         */
-        enabled: true,
-        /**
-         * Accessibility options for the screen reader information sections
-         * added before and after the chart.
-         *
-         * @since 8.0.0
-         */
-        screenReaderSection: {
-            /**
-             * Function to run upon clicking the "View as Data Table" link in
-             * the screen reader region.
-             *
-             * By default Highcharts will insert and set focus to a data table
-             * representation of the chart.
-             *
-             * @type      {Highcharts.ScreenReaderClickCallbackFunction}
-             * @since 8.0.0
-             * @apioption accessibility.screenReaderSection.onViewDataTableClick
-             */
-            /**
-             * Function to run upon clicking the "Play as sound" button in
-             * the screen reader region.
-             *
-             * By default Highcharts will call the `chart.sonify` function.
-             *
-             * @type      {Highcharts.ScreenReaderClickCallbackFunction}
-             * @since 8.0.1
-             * @apioption accessibility.screenReaderSection.onPlayAsSoundClick
-             */
-            /**
-             * A formatter function to create the HTML contents of the hidden
-             * screen reader information region before the chart. Receives one
-             * argument, `chart`, referring to the chart object. Should return a
-             * string with the HTML content of the region. By default this
-             * returns an automatic description of the chart based on
-             * [beforeChartFormat](#accessibility.screenReaderSection.beforeChartFormat).
-             *
-             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Chart>}
-             * @since 8.0.0
-             * @apioption accessibility.screenReaderSection.beforeChartFormatter
-             */
-            /**
-             * Format for the screen reader information region before the chart.
-             * Supported HTML tags are `<h1-6>`, `<p>`, `<div>`, `<a>`, `<ul>`,
-             * `<ol>`, `<li>`, and `<button>`. Attributes are not supported,
-             * except for id on `<div>`, `<a>`, and `<button>`. Id is required
-             * on `<a>` and `<button>` in the format `<tag id="abcd">`. Numbers,
-             * lower- and uppercase letters, "-" and "#" are valid characters in
-             * IDs.
-             *
-             * The headingTagName is an auto-detected heading (h1-h6) that
-             * corresponds to the heading level below the previous heading in
-             * the DOM.
-             *
-             * @since 8.0.0
-             */
-            beforeChartFormat: '<{headingTagName}>{chartTitle}</{headingTagName}>' +
-                '<div>{typeDescription}</div>' +
-                '<div>{chartSubtitle}</div>' +
-                '<div>{chartLongdesc}</div>' +
-                '<div>{playAsSoundButton}</div>' +
-                '<div>{viewTableButton}</div>' +
-                '<div>{xAxisDescription}</div>' +
-                '<div>{yAxisDescription}</div>' +
-                '<div>{annotationsTitle}{annotationsList}</div>',
-            /**
-             * A formatter function to create the HTML contents of the hidden
-             * screen reader information region after the chart. Analogous to
-             * [beforeChartFormatter](#accessibility.screenReaderSection.beforeChartFormatter).
-             *
-             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Chart>}
-             * @since 8.0.0
-             * @apioption accessibility.screenReaderSection.afterChartFormatter
-             */
-            /**
-             * Format for the screen reader information region after the chart.
-             * Analogous to [beforeChartFormat](#accessibility.screenReaderSection.beforeChartFormat).
-             *
-             * @since 8.0.0
-             */
-            afterChartFormat: '{endOfChartMarker}',
-            /**
-             * Date format to use to describe range of datetime axes.
-             *
-             * For an overview of the replacement codes, see
-             * [dateFormat](/class-reference/Highcharts#dateFormat).
-             *
-             * @see [point.dateFormat](#accessibility.point.dateFormat)
-             *
-             * @since 8.0.0
-             */
-            axisRangeDateFormat: '%Y-%m-%d %H:%M:%S'
-        },
-        /**
-         * Accessibility options global to all data series. Individual series
-         * can also have specific [accessibility options](#plotOptions.series.accessibility)
-         * set.
-         *
-         * @since 8.0.0
-         */
-        series: {
-            /**
-             * Formatter function to use instead of the default for series
-             * descriptions. Receives one argument, `series`, referring to the
-             * series to describe. Should return a string with the description
-             * of the series for a screen reader user. If `false` is returned,
-             * the default formatter will be used for that series.
-             *
-             * @see [series.description](#plotOptions.series.description)
-             *
-             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Series>}
-             * @since 8.0.0
-             * @apioption accessibility.series.descriptionFormatter
-             */
-            /**
-             * Whether or not to add series descriptions to charts with a single
-             * series.
-             *
-             * @since 8.0.0
-             */
-            describeSingleSeries: false,
-            /**
-             * When a series contains more points than this, we no longer expose
-             * information about individual points to screen readers.
-             *
-             * Set to `false` to disable.
-             *
-             * @type  {boolean|number}
-             * @since 8.0.0
-             */
-            pointDescriptionEnabledThreshold: 200
-        },
-        /**
-         * Options for descriptions of individual data points.
-         *
-         * @since 8.0.0
-         */
-        point: {
-            /**
-             * Date format to use for points on datetime axes when describing
-             * them to screen reader users.
-             *
-             * Defaults to the same format as in tooltip.
-             *
-             * For an overview of the replacement codes, see
-             * [dateFormat](/class-reference/Highcharts#dateFormat).
-             *
-             * @see [dateFormatter](#accessibility.point.dateFormatter)
-             *
-             * @type      {string}
-             * @since 8.0.0
-             * @apioption accessibility.point.dateFormat
-             */
-            /**
-             * Formatter function to determine the date/time format used with
-             * points on datetime axes when describing them to screen reader
-             * users. Receives one argument, `point`, referring to the point
-             * to describe. Should return a date format string compatible with
-             * [dateFormat](/class-reference/Highcharts#dateFormat).
-             *
-             * @see [dateFormat](#accessibility.point.dateFormat)
-             *
-             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}
-             * @since 8.0.0
-             * @apioption accessibility.point.dateFormatter
-             */
-            /**
-             * Prefix to add to the values in the point descriptions. Uses
-             * [tooltip.valuePrefix](#tooltip.valuePrefix) if not defined.
-             *
-             * @type        {string}
-             * @since 8.0.0
-             * @apioption   accessibility.point.valuePrefix
-             */
-            /**
-             * Suffix to add to the values in the point descriptions. Uses
-             * [tooltip.valueSuffix](#tooltip.valueSuffix) if not defined.
-             *
-             * @type        {string}
-             * @since 8.0.0
-             * @apioption   accessibility.point.valueSuffix
-             */
-            /**
-             * Decimals to use for the values in the point descriptions. Uses
-             * [tooltip.valueDecimals](#tooltip.valueDecimals) if not defined.
-             *
-             * @type        {number}
-             * @since 8.0.0
-             * @apioption   accessibility.point.valueDecimals
-             */
-            /**
-             * Formatter function to use instead of the default for point
-             * descriptions.
-             *
-             * Receives one argument, `point`, referring to the point to
-             * describe. Should return a string with the description of the
-             * point for a screen reader user. If `false` is returned, the
-             * default formatter will be used for that point.
-             *
-             * Note: Prefer using [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat)
-             * instead if possible, as default functionality such as describing
-             * annotations will be preserved.
-             *
-             * @see [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat)
-             * @see [point.accessibility.description](#series.line.data.accessibility.description)
-             *
-             * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}
-             * @since 8.0.0
-             * @apioption accessibility.point.descriptionFormatter
-             */
-            /**
-             * Format to use for describing the values of data points
-             * to assistive technology - including screen readers.
-             * The point context is available as `{point}`.
-             *
-             * Additionally, the series name, annotation info, and
-             * description added in `point.accessibility.description`
-             * is added by default if relevant. To override this, use the
-             * [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)
-             * option.
-             *
-             * @see [point.accessibility.description](#series.line.data.accessibility.description)
-             * @see [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)
-             *
-             * @type      {string}
-             * @since 8.0.1
-             */
-            valueDescriptionFormat: '{index}. {xDescription}{separator}{value}.'
-        },
-        /**
-         * Amount of landmarks/regions to create for screen reader users. More
-         * landmarks can make navigation with screen readers easier, but can
-         * be distracting if there are lots of charts on the page. Three modes
-         * are available:
-         *  - `all`: Adds regions for all series, legend, menu, information
-         *      region.
-         *  - `one`: Adds a single landmark per chart.
-         *  - `disabled`: No landmarks are added.
-         *
-         * @since 7.1.0
-         * @validvalue ["all", "one", "disabled"]
-         */
-        landmarkVerbosity: 'all',
-        /**
-         * Link the chart to an HTML element describing the contents of the
-         * chart.
-         *
-         * It is always recommended to describe charts using visible text, to
-         * improve SEO as well as accessibility for users with disabilities.
-         * This option lets an HTML element with a description be linked to the
-         * chart, so that screen reader users can connect the two.
-         *
-         * By setting this option to a string, Highcharts runs the string as an
-         * HTML selector query on the entire document. If there is only a single
-         * match, this element is linked to the chart. The content of the linked
-         * element will be included in the chart description for screen reader
-         * users.
-         *
-         * By default, the chart looks for an adjacent sibling element with the
-         * `highcharts-description` class.
-         *
-         * The feature can be disabled by setting the option to an empty string,
-         * or overridden by providing the
-         * [accessibility.description](#accessibility.description) option.
-         * Alternatively, the HTML element to link can be passed in directly as
-         * an HTML node.
-         *
-         * If you need the description to be part of the exported image,
-         * consider using the [caption](#caption) feature.
-         *
-         * If you need the description to be hidden visually, use the
-         * [accessibility.description](#accessibility.description) option.
-         *
-         * @see [caption](#caption)
-         * @see [description](#accessibility.description)
-         * @see [typeDescription](#accessibility.typeDescription)
-         *
-         * @sample highcharts/accessibility/accessible-line
-         *         Accessible line chart
-         *
-         * @type  {string|Highcharts.HTMLDOMElement}
-         * @since 8.0.0
-         */
-        linkedDescription: '*[data-highcharts-chart="{index}"] + .highcharts-description',
-        /**
-         * A hook for adding custom components to the accessibility module.
-         * Should be an object mapping component names to instances of classes
-         * inheriting from the Highcharts.AccessibilityComponent base class.
-         * Remember to add the component to the
-         * [keyboardNavigation.order](#accessibility.keyboardNavigation.order)
-         * for the keyboard navigation to be usable.
-         *
-         * @sample highcharts/accessibility/custom-component
-         *         Custom accessibility component
-         *
-         * @type      {*}
-         * @since     7.1.0
-         * @apioption accessibility.customComponents
-         */
-        /**
-         * Theme to apply to the chart when Windows High Contrast Mode is
-         * detected. By default, a high contrast theme matching the high
-         * contrast system system colors is used.
-         *
-         * @type      {*}
-         * @since     7.1.3
-         * @apioption accessibility.highContrastTheme
-         */
-        /**
-         * A text description of the chart.
-         *
-         * **Note: Prefer using [linkedDescription](#accessibility.linkedDescription)
-         * or [caption](#caption.text) instead.**
-         *
-         * If the Accessibility module is loaded, this option is included by
-         * default as a long description of the chart in the hidden screen
-         * reader information region.
-         *
-         * Note: Since Highcharts now supports captions and linked descriptions,
-         * it is preferred to define the description using those methods, as a
-         * visible caption/description benefits all users. If the
-         * `accessibility.description` option is defined, the linked description
-         * is ignored, and the caption is hidden from screen reader users.
-         *
-         * @see [linkedDescription](#accessibility.linkedDescription)
-         * @see [caption](#caption)
-         * @see [typeDescription](#accessibility.typeDescription)
-         *
-         * @type      {string}
-         * @since     5.0.0
-         * @apioption accessibility.description
-         */
-        /**
-         * A text description of the chart type.
-         *
-         * If the Accessibility module is loaded, this will be included in the
-         * description of the chart in the screen reader information region.
-         *
-         * Highcharts will by default attempt to guess the chart type, but for
-         * more complex charts it is recommended to specify this property for
-         * clarity.
-         *
-         * @type      {string}
-         * @since     5.0.0
-         * @apioption accessibility.typeDescription
-         */
-        /**
-         * Options for keyboard navigation.
-         *
-         * @declare Highcharts.KeyboardNavigationOptionsObject
-         * @since   5.0.0
-         */
-        keyboardNavigation: {
-            /**
-             * Enable keyboard navigation for the chart.
-             *
-             * @since 5.0.0
-             */
-            enabled: true,
-            /**
-             * Options for the focus border drawn around elements while
-             * navigating through them.
-             *
-             * @sample highcharts/accessibility/custom-focus
-             *         Custom focus ring
-             *
-             * @declare Highcharts.KeyboardNavigationFocusBorderOptionsObject
-             * @since   6.0.3
-             */
-            focusBorder: {
-                /**
-                 * Enable/disable focus border for chart.
-                 *
-                 * @since 6.0.3
-                 */
-                enabled: true,
-                /**
-                 * Hide the browser's default focus indicator.
-                 *
-                 * @since 6.0.4
-                 */
-                hideBrowserFocusOutline: true,
-                /**
-                 * Style options for the focus border drawn around elements
-                 * while navigating through them. Note that some browsers in
-                 * addition draw their own borders for focused elements. These
-                 * automatic borders can not be styled by Highcharts.
-                 *
-                 * In styled mode, the border is given the
-                 * `.highcharts-focus-border` class.
-                 *
-                 * @type    {Highcharts.CSSObject}
-                 * @since   6.0.3
-                 */
-                style: {
-                    /** @internal */
-                    color: palette.highlightColor80,
-                    /** @internal */
-                    lineWidth: 2,
-                    /** @internal */
-                    borderRadius: 3
-                },
-                /**
-                 * Focus border margin around the elements.
-                 *
-                 * @since 6.0.3
-                 */
-                margin: 2
-            },
-            /**
-             * Order of tab navigation in the chart. Determines which elements
-             * are tabbed to first. Available elements are: `series`, `zoom`,
-             * `rangeSelector`, `chartMenu`, `legend`. In addition, any custom
-             * components can be added here.
-             *
-             * @type  {Array<string>}
-             * @since 7.1.0
-             */
-            order: ['series', 'zoom', 'rangeSelector', 'legend', 'chartMenu'],
-            /**
-             * Whether or not to wrap around when reaching the end of arrow-key
-             * navigation for an element in the chart.
-             * @since 7.1.0
-             */
-            wrapAround: true,
-            /**
-             * Options for the keyboard navigation of data points and series.
-             *
-             * @declare Highcharts.KeyboardNavigationSeriesNavigationOptionsObject
-             * @since 8.0.0
-             */
-            seriesNavigation: {
-                /**
-                 * Set the keyboard navigation mode for the chart. Can be
-                 * "normal" or "serialize". In normal mode, left/right arrow
-                 * keys move between points in a series, while up/down arrow
-                 * keys move between series. Up/down navigation acts
-                 * intelligently to figure out which series makes sense to move
-                 * to from any given point.
-                 *
-                 * In "serialize" mode, points are instead navigated as a single
-                 * list. Left/right behaves as in "normal" mode. Up/down arrow
-                 * keys will behave like left/right. This can be useful for
-                 * unifying navigation behavior with/without screen readers
-                 * enabled.
-                 *
-                 * @type       {string}
-                 * @default    normal
-                 * @since 8.0.0
-                 * @validvalue ["normal", "serialize"]
-                 * @apioption  accessibility.keyboardNavigation.seriesNavigation.mode
-                 */
-                /**
-                 * Skip null points when navigating through points with the
-                 * keyboard.
-                 *
-                 * @since 8.0.0
-                 */
-                skipNullPoints: true,
-                /**
-                 * When a series contains more points than this, we no longer
-                 * allow keyboard navigation for it.
-                 *
-                 * Set to `false` to disable.
-                 *
-                 * @type  {boolean|number}
-                 * @since 8.0.0
-                 */
-                pointNavigationEnabledThreshold: false
-            }
-        },
-        /**
-         * Options for announcing new data to screen reader users. Useful
-         * for dynamic data applications and drilldown.
-         *
-         * Keep in mind that frequent announcements will not be useful to
-         * users, as they won't have time to explore the new data. For these
-         * applications, consider making snapshots of the data accessible, and
-         * do the announcements in batches.
-         *
-         * @declare Highcharts.AccessibilityAnnounceNewDataOptionsObject
-         * @since   7.1.0
-         */
-        announceNewData: {
-            /**
-             * Optional formatter callback for the announcement. Receives
-             * up to three arguments. The first argument is always an array
-             * of all series that received updates. If an announcement is
-             * already queued, the series that received updates for that
-             * announcement are also included in this array. The second
-             * argument is provided if `chart.addSeries` was called, and
-             * there is a new series. In that case, this argument is a
-             * reference to the new series. The third argument, similarly,
-             * is provided if `series.addPoint` was called, and there is a
-             * new point. In that case, this argument is a reference to the
-             * new point.
-             *
-             * The function should return a string with the text to announce
-             * to the user. Return empty string to not announce anything.
-             * Return `false` to use the default announcement format.
-             *
-             * @sample highcharts/accessibility/custom-dynamic
-             *         High priority live alerts
-             *
-             * @type      {Highcharts.AccessibilityAnnouncementFormatter}
-             * @apioption accessibility.announceNewData.announcementFormatter
-             */
-            /**
-             * Enable announcing new data to screen reader users
-             * @sample highcharts/accessibility/accessible-dynamic
-             *         Dynamic data accessible
-             */
-            enabled: false,
-            /**
-             * Minimum interval between announcements in milliseconds. If
-             * new data arrives before this amount of time has passed, it is
-             * queued for announcement. If another new data event happens
-             * while an announcement is queued, the queued announcement is
-             * dropped, and the latest announcement is queued instead. Set
-             * to 0 to allow all announcements, but be warned that frequent
-             * announcements are disturbing to users.
-             */
-            minAnnounceInterval: 5000,
-            /**
-             * Choose whether or not the announcements should interrupt the
-             * screen reader. If not enabled, the user will be notified once
-             * idle. It is recommended not to enable this setting unless
-             * there is a specific reason to do so.
-             */
-            interruptUser: false
-        }
-    },
-    /**
-     * Accessibility options for a data point.
-     *
-     * @declare   Highcharts.PointAccessibilityOptionsObject
-     * @since     7.1.0
-     * @apioption series.line.data.accessibility
-     */
-    /**
-     * Provide a description of the data point, announced to screen readers.
-     *
-     * @type      {string}
-     * @since     7.1.0
-     * @apioption series.line.data.accessibility.description
-     */
-    /**
-     * Set to false to disable accessibility functionality for a specific point.
-     * The point will not be included in keyboard navigation, and will not be
-     * exposed to assistive technology.
-     *
-     * @type      {boolean}
-     * @since 9.0.1
-     * @apioption series.line.data.accessibility.enabled
-     */
-    /**
-     * Accessibility options for a series.
-     *
-     * @declare    Highcharts.SeriesAccessibilityOptionsObject
-     * @since      7.1.0
-     * @requires   modules/accessibility
-     * @apioption  plotOptions.series.accessibility
-     */
-    /**
-     * Enable/disable accessibility functionality for a specific series.
-     *
-     * @type       {boolean}
-     * @since      7.1.0
-     * @apioption  plotOptions.series.accessibility.enabled
-     */
-    /**
-     * Provide a description of the series, announced to screen readers.
-     *
-     * @type       {string}
-     * @since      7.1.0
-     * @apioption  plotOptions.series.accessibility.description
-     */
-    /**
-     * Formatter function to use instead of the default for point
-     * descriptions. Same as `accessibility.point.descriptionFormatter`, but for
-     * a single series.
-     *
-     * @see [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)
-     *
-     * @type      {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}
-     * @since     7.1.0
-     * @apioption plotOptions.series.accessibility.pointDescriptionFormatter
-     */
-    /**
-     * Expose only the series element to screen readers, not its points.
-     *
-     * @type       {boolean}
-     * @since      7.1.0
-     * @apioption  plotOptions.series.accessibility.exposeAsGroupOnly
-     */
-    /**
-     * Keyboard navigation for a series
-     *
-     * @declare    Highcharts.SeriesAccessibilityKeyboardNavigationOptionsObject
-     * @since      7.1.0
-     * @apioption  plotOptions.series.accessibility.keyboardNavigation
-     */
-    /**
-     * Enable/disable keyboard navigation support for a specific series.
-     *
-     * @type       {boolean}
-     * @since      7.1.0
-     * @apioption  plotOptions.series.accessibility.keyboardNavigation.enabled
-     */
-    /**
-     * Accessibility options for an annotation label.
-     *
-     * @declare    Highcharts.AnnotationLabelAccessibilityOptionsObject
-     * @since 8.0.1
-     * @requires   modules/accessibility
-     * @apioption  annotations.labelOptions.accessibility
-     */
-    /**
-     * Description of an annotation label for screen readers and other assistive
-     * technology.
-     *
-     * @type       {string}
-     * @since 8.0.1
-     * @apioption  annotations.labelOptions.accessibility.description
-     */
-    /**
-     * Accessibility options for an axis. Requires the accessibility module.
-     *
-     * @declare    Highcharts.AxisAccessibilityOptionsObject
-     * @since      7.1.0
-     * @requires   modules/accessibility
-     * @apioption  xAxis.accessibility
-     */
-    /**
-     * Enable axis accessibility features, including axis information in the
-     * screen reader information region. If this is disabled on the xAxis, the
-     * x values are not exposed to screen readers for the individual data points
-     * by default.
-     *
-     * @type       {boolean}
-     * @since      7.1.0
-     * @apioption  xAxis.accessibility.enabled
-     */
-    /**
-     * Description for an axis to expose to screen reader users.
-     *
-     * @type       {string}
-     * @since      7.1.0
-     * @apioption  xAxis.accessibility.description
-     */
-    /**
-     * Range description for an axis. Overrides the default range description.
-     * Set to empty to disable range description for this axis.
-     *
-     * @type       {string}
-     * @since      7.1.0
-     * @apioption  xAxis.accessibility.rangeDescription
-     */
-    /**
-     * @optionparent legend
-     */
-    legend: {
-        /**
-         * Accessibility options for the legend. Requires the Accessibility
-         * module.
-         *
-         * @since     7.1.0
-         * @requires  modules/accessibility
-         */
-        accessibility: {
-            /**
-             * Enable accessibility support for the legend.
-             *
-             * @since  7.1.0
-             */
-            enabled: true,
-            /**
-             * Options for keyboard navigation for the legend.
-             *
-             * @since     7.1.0
-             * @requires  modules/accessibility
-             */
-            keyboardNavigation: {
-                /**
-                 * Enable keyboard navigation for the legend.
-                 *
-                 * @see [accessibility.keyboardNavigation](#accessibility.keyboardNavigation.enabled)
-                 *
-                 * @since  7.1.0
-                 */
-                enabled: true
-            }
-        }
-    },
-    /**
-     * @optionparent exporting
-     */
-    exporting: {
-        /**
-         * Accessibility options for the exporting menu. Requires the
-         * Accessibility module.
-         *
-         * @since    7.1.0
-         * @requires modules/accessibility
-         */
-        accessibility: {
-            /**
-             * Enable accessibility support for the export menu.
-             *
-             * @since 7.1.0
-             */
-            enabled: true
-        }
-    }
-};
-export default options;

+ 0 - 67
node_modules/highcharts/es-modules/Accessibility/Utils/Announcer.js

@@ -1,67 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Create announcer to speak messages to screen readers and other AT.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../../Core/Globals.js';
-import AST from '../../Core/Renderer/HTML/AST.js';
-var doc = H.doc;
-import DOMElementProvider from './DOMElementProvider.js';
-import HTMLUtilities from './HTMLUtilities.js';
-var setElAttrs = HTMLUtilities.setElAttrs, visuallyHideElement = HTMLUtilities.visuallyHideElement;
-var Announcer = /** @class */ (function () {
-    function Announcer(chart, type) {
-        this.chart = chart;
-        this.domElementProvider = new DOMElementProvider();
-        this.announceRegion = this.addAnnounceRegion(type);
-    }
-    Announcer.prototype.destroy = function () {
-        this.domElementProvider.destroyCreatedElements();
-    };
-    Announcer.prototype.announce = function (message) {
-        var _this = this;
-        AST.setElementHTML(this.announceRegion, message);
-        // Delete contents after a little while to avoid user finding the live
-        // region in the DOM.
-        if (this.clearAnnouncementRegionTimer) {
-            clearTimeout(this.clearAnnouncementRegionTimer);
-        }
-        this.clearAnnouncementRegionTimer = setTimeout(function () {
-            _this.announceRegion.innerHTML = '';
-            delete _this.clearAnnouncementRegionTimer;
-        }, 1000);
-    };
-    Announcer.prototype.addAnnounceRegion = function (type) {
-        var chartContainer = this.chart.announcerContainer || this.createAnnouncerContainer();
-        var div = this.domElementProvider.createElement('div');
-        setElAttrs(div, {
-            'aria-hidden': false,
-            'aria-live': type
-        });
-        visuallyHideElement(div);
-        chartContainer.appendChild(div);
-        return div;
-    };
-    Announcer.prototype.createAnnouncerContainer = function () {
-        var chart = this.chart;
-        var container = doc.createElement('div');
-        setElAttrs(container, {
-            'aria-hidden': false,
-            style: 'position:relative',
-            'class': 'highcharts-announcer-container'
-        });
-        chart.renderTo.insertBefore(container, chart.renderTo.firstChild);
-        chart.announcerContainer = container;
-        return container;
-    };
-    return Announcer;
-}());
-H.Announcer = Announcer;
-export default Announcer;

+ 0 - 276
node_modules/highcharts/es-modules/Accessibility/Utils/ChartUtilities.js

@@ -1,276 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Utils for dealing with charts.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import HTMLUtilities from './HTMLUtilities.js';
-var stripHTMLTags = HTMLUtilities.stripHTMLTagsFromString;
-import U from '../../Core/Utilities.js';
-var defined = U.defined, find = U.find, fireEvent = U.fireEvent;
-/* eslint-disable valid-jsdoc */
-/**
- * @return {string}
- */
-function getChartTitle(chart) {
-    return stripHTMLTags(chart.options.title.text ||
-        chart.langFormat('accessibility.defaultChartTitle', { chart: chart }));
-}
-/**
- * Return string with the axis name/title.
- * @param {Highcharts.Axis} axis
- * @return {string}
- */
-function getAxisDescription(axis) {
-    return axis && (axis.userOptions && axis.userOptions.accessibility &&
-        axis.userOptions.accessibility.description ||
-        axis.axisTitle && axis.axisTitle.textStr ||
-        axis.options.id ||
-        axis.categories && 'categories' ||
-        axis.dateTime && 'Time' ||
-        'values');
-}
-/**
- * Return string with text description of the axis range.
- * @param {Highcharts.Axis} axis The axis to get range desc of.
- * @return {string} A string with the range description for the axis.
- */
-function getAxisRangeDescription(axis) {
-    var axisOptions = axis.options || {};
-    // Handle overridden range description
-    if (axisOptions.accessibility &&
-        typeof axisOptions.accessibility.rangeDescription !== 'undefined') {
-        return axisOptions.accessibility.rangeDescription;
-    }
-    // Handle category axes
-    if (axis.categories) {
-        return getCategoryAxisRangeDesc(axis);
-    }
-    // Use time range, not from-to?
-    if (axis.dateTime && (axis.min === 0 || axis.dataMin === 0)) {
-        return getAxisTimeLengthDesc(axis);
-    }
-    // Just use from and to.
-    // We have the range and the unit to use, find the desc format
-    return getAxisFromToDescription(axis);
-}
-/**
- * Describe the range of a category axis.
- * @param {Highcharts.Axis} axis
- * @return {string}
- */
-function getCategoryAxisRangeDesc(axis) {
-    var chart = axis.chart;
-    if (axis.dataMax && axis.dataMin) {
-        return chart.langFormat('accessibility.axis.rangeCategories', {
-            chart: chart,
-            axis: axis,
-            numCategories: axis.dataMax - axis.dataMin + 1
-        });
-    }
-    return '';
-}
-/**
- * Describe the length of the time window shown on an axis.
- * @param {Highcharts.Axis} axis
- * @return {string}
- */
-function getAxisTimeLengthDesc(axis) {
-    var chart = axis.chart;
-    var range = {};
-    var rangeUnit = 'Seconds';
-    range.Seconds = ((axis.max || 0) - (axis.min || 0)) / 1000;
-    range.Minutes = range.Seconds / 60;
-    range.Hours = range.Minutes / 60;
-    range.Days = range.Hours / 24;
-    ['Minutes', 'Hours', 'Days'].forEach(function (unit) {
-        if (range[unit] > 2) {
-            rangeUnit = unit;
-        }
-    });
-    var rangeValue = range[rangeUnit].toFixed(rangeUnit !== 'Seconds' &&
-        rangeUnit !== 'Minutes' ? 1 : 0 // Use decimals for days/hours
-    );
-    // We have the range and the unit to use, find the desc format
-    return chart.langFormat('accessibility.axis.timeRange' + rangeUnit, {
-        chart: chart,
-        axis: axis,
-        range: rangeValue.replace('.0', '')
-    });
-}
-/**
- * Describe an axis from-to range.
- * @param {Highcharts.Axis} axis
- * @return {string}
- */
-function getAxisFromToDescription(axis) {
-    var _a, _b;
-    var chart = axis.chart;
-    var dateRangeFormat = ((_b = (_a = chart.options) === null || _a === void 0 ? void 0 : _a.accessibility) === null || _b === void 0 ? void 0 : _b.screenReaderSection.axisRangeDateFormat) || '';
-    var format = function (axisKey) {
-        return axis.dateTime ? chart.time.dateFormat(dateRangeFormat, axis[axisKey]) : axis[axisKey];
-    };
-    return chart.langFormat('accessibility.axis.rangeFromTo', {
-        chart: chart,
-        axis: axis,
-        rangeFrom: format('min'),
-        rangeTo: format('max')
-    });
-}
-/**
- * Get the DOM element for the first point in the series.
- * @private
- * @param {Highcharts.Series} series
- * The series to get element for.
- * @return {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement|undefined}
- * The DOM element for the point.
- */
-function getSeriesFirstPointElement(series) {
-    var _a, _b;
-    if ((_a = series.points) === null || _a === void 0 ? void 0 : _a.length) {
-        var firstPointWithGraphic = find(series.points, function (p) { return !!p.graphic; });
-        return (_b = firstPointWithGraphic === null || firstPointWithGraphic === void 0 ? void 0 : firstPointWithGraphic.graphic) === null || _b === void 0 ? void 0 : _b.element;
-    }
-}
-/**
- * Get the DOM element for the series that we put accessibility info on.
- * @private
- * @param {Highcharts.Series} series
- * The series to get element for.
- * @return {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement|undefined}
- * The DOM element for the series
- */
-function getSeriesA11yElement(series) {
-    var firstPointEl = getSeriesFirstPointElement(series);
-    return (firstPointEl &&
-        firstPointEl.parentNode || series.graph &&
-        series.graph.element || series.group &&
-        series.group.element); // Could be tracker series depending on series type
-}
-/**
- * Remove aria-hidden from element. Also unhides parents of the element, and
- * hides siblings that are not explicitly unhidden.
- * @private
- * @param {Highcharts.Chart} chart
- * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} element
- */
-function unhideChartElementFromAT(chart, element) {
-    element.setAttribute('aria-hidden', false);
-    if (element === chart.renderTo || !element.parentNode) {
-        return;
-    }
-    // Hide siblings unless their hidden state is already explicitly set
-    Array.prototype.forEach.call(element.parentNode.childNodes, function (node) {
-        if (!node.hasAttribute('aria-hidden')) {
-            node.setAttribute('aria-hidden', true);
-        }
-    });
-    // Repeat for parent
-    unhideChartElementFromAT(chart, element.parentNode);
-}
-/**
- * Hide series from screen readers.
- * @private
- * @param {Highcharts.Series} series
- * The series to hide
- * @return {void}
- */
-function hideSeriesFromAT(series) {
-    var seriesEl = getSeriesA11yElement(series);
-    if (seriesEl) {
-        seriesEl.setAttribute('aria-hidden', true);
-    }
-}
-/**
- * Get series objects by series name.
- * @private
- * @param {Highcharts.Chart} chart
- * @param {string} name
- * @return {Array<Highcharts.Series>}
- */
-function getSeriesFromName(chart, name) {
-    if (!name) {
-        return chart.series;
-    }
-    return (chart.series || []).filter(function (s) {
-        return s.name === name;
-    });
-}
-/**
- * Get point in a series from x/y values.
- * @private
- * @param {Array<Highcharts.Series>} series
- * @param {number} x
- * @param {number} y
- * @return {Highcharts.Point|undefined}
- */
-function getPointFromXY(series, x, y) {
-    var i = series.length, res;
-    while (i--) {
-        res = find(series[i].points || [], function (p) {
-            return p.x === x && p.y === y;
-        });
-        if (res) {
-            return res;
-        }
-    }
-}
-/**
- * Get relative position of point on an x/y axis from 0 to 1.
- * @private
- * @param {Highcharts.Axis} axis
- * @param {Highcharts.Point} point
- * @return {number}
- */
-function getRelativePointAxisPosition(axis, point) {
-    if (!defined(axis.dataMin) || !defined(axis.dataMax)) {
-        return 0;
-    }
-    var axisStart = axis.toPixels(axis.dataMin);
-    var axisEnd = axis.toPixels(axis.dataMax);
-    // We have to use pixel position because of axis breaks, log axis etc.
-    var positionProp = axis.coll === 'xAxis' ? 'x' : 'y';
-    var pointPos = axis.toPixels(point[positionProp] || 0);
-    return (pointPos - axisStart) / (axisEnd - axisStart);
-}
-/**
- * Get relative position of point on an x/y axis from 0 to 1.
- * @private
- * @param {Highcharts.Point} point
- */
-function scrollToPoint(point) {
-    var xAxis = point.series.xAxis;
-    var yAxis = point.series.yAxis;
-    var axis = (xAxis === null || xAxis === void 0 ? void 0 : xAxis.scrollbar) ? xAxis : yAxis;
-    var scrollbar = axis === null || axis === void 0 ? void 0 : axis.scrollbar;
-    if (scrollbar && defined(scrollbar.to) && defined(scrollbar.from)) {
-        var range = scrollbar.to - scrollbar.from;
-        var pos = getRelativePointAxisPosition(axis, point);
-        scrollbar.updatePosition(pos - range / 2, pos + range / 2);
-        fireEvent(scrollbar, 'changed', {
-            from: scrollbar.from,
-            to: scrollbar.to,
-            trigger: 'scrollbar',
-            DOMEvent: null
-        });
-    }
-}
-var ChartUtilities = {
-    getChartTitle: getChartTitle,
-    getAxisDescription: getAxisDescription,
-    getAxisRangeDescription: getAxisRangeDescription,
-    getPointFromXY: getPointFromXY,
-    getSeriesFirstPointElement: getSeriesFirstPointElement,
-    getSeriesFromName: getSeriesFromName,
-    getSeriesA11yElement: getSeriesA11yElement,
-    unhideChartElementFromAT: unhideChartElementFromAT,
-    hideSeriesFromAT: hideSeriesFromAT,
-    scrollToPoint: scrollToPoint
-};
-export default ChartUtilities;

+ 0 - 50
node_modules/highcharts/es-modules/Accessibility/Utils/DOMElementProvider.js

@@ -1,50 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Class that can keep track of elements added to DOM and clean them up on
- *  destroy.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../../Core/Globals.js';
-var doc = H.doc;
-import HTMLUtilities from './HTMLUtilities.js';
-var removeElement = HTMLUtilities.removeElement;
-import U from '../../Core/Utilities.js';
-var extend = U.extend;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- * @class
- */
-var DOMElementProvider = function () {
-    this.elements = [];
-};
-extend(DOMElementProvider.prototype, {
-    /**
-     * Create an element and keep track of it for later removal.
-     * Same args as document.createElement
-     * @private
-     */
-    createElement: function () {
-        var el = doc.createElement.apply(doc, arguments);
-        this.elements.push(el);
-        return el;
-    },
-    /**
-     * Destroy all created elements, removing them from the DOM.
-     * @private
-     */
-    destroyCreatedElements: function () {
-        this.elements.forEach(function (element) {
-            removeElement(element);
-        });
-        this.elements = [];
-    }
-});
-export default DOMElementProvider;

+ 0 - 48
node_modules/highcharts/es-modules/Accessibility/Utils/EventProvider.js

@@ -1,48 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Class that can keep track of events added, and clean them up on destroy.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../../Core/Globals.js';
-import U from '../../Core/Utilities.js';
-var addEvent = U.addEvent, extend = U.extend;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * @private
- * @class
- */
-var EventProvider = function () {
-    this.eventRemovers = [];
-};
-extend(EventProvider.prototype, {
-    /**
-     * Add an event to an element and keep track of it for later removal.
-     * Same args as Highcharts.addEvent.
-     * @private
-     * @return {Function}
-     */
-    addEvent: function () {
-        var remover = addEvent.apply(H, arguments);
-        this.eventRemovers.push(remover);
-        return remover;
-    },
-    /**
-     * Remove all added events.
-     * @private
-     * @return {void}
-     */
-    removeAddedEvents: function () {
-        this.eventRemovers.forEach(function (remover) {
-            remover();
-        });
-        this.eventRemovers = [];
-    }
-});
-export default EventProvider;

+ 0 - 222
node_modules/highcharts/es-modules/Accessibility/Utils/HTMLUtilities.js

@@ -1,222 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Øystein Moseng
- *
- *  Utility functions for accessibility module.
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-import H from '../../Core/Globals.js';
-var doc = H.doc, win = H.win;
-import U from '../../Core/Utilities.js';
-var merge = U.merge;
-/* eslint-disable valid-jsdoc */
-/**
- * @private
- * @param {Highcharts.HTMLDOMElement} el
- * @param {string} className
- * @return {void}
- */
-function addClass(el, className) {
-    if (el.classList) {
-        el.classList.add(className);
-    }
-    else if (el.className.indexOf(className) < 0) {
-        // Note: Dumb check for class name exists, should be fine for practical
-        // use cases, but will return false positives if the element has a class
-        // that contains the className.
-        el.className += className;
-    }
-}
-/**
- * @private
- * @param {string} str
- * @return {string}
- */
-function escapeStringForHTML(str) {
-    return str
-        .replace(/&/g, '&amp;')
-        .replace(/</g, '&lt;')
-        .replace(/>/g, '&gt;')
-        .replace(/"/g, '&quot;')
-        .replace(/'/g, '&#x27;')
-        .replace(/\//g, '&#x2F;');
-}
-/**
- * Get an element by ID
- * @param {string} id
- * @private
- * @return {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement|null}
- */
-function getElement(id) {
-    return doc.getElementById(id);
-}
-/**
- * Get a fake mouse event of a given type
- * @param {string} type
- * @private
- * @return {global.MouseEvent}
- */
-function getFakeMouseEvent(type) {
-    if (typeof win.MouseEvent === 'function') {
-        return new win.MouseEvent(type);
-    }
-    // No MouseEvent support, try using initMouseEvent
-    if (doc.createEvent) {
-        var evt = doc.createEvent('MouseEvent');
-        if (evt.initMouseEvent) {
-            evt.initMouseEvent(type, true, // Bubble
-            true, // Cancel
-            win, // View
-            type === 'click' ? 1 : 0, // Detail
-            // Coords
-            0, 0, 0, 0, 
-            // Pressed keys
-            false, false, false, false, 0, // button
-            null // related target
-            );
-            return evt;
-        }
-    }
-    return { type: type };
-}
-/**
- * Get an appropriate heading level for an element. Corresponds to the
- * heading level below the previous heading in the DOM.
- *
- * Note: Only detects previous headings in the DOM that are siblings,
- * ancestors, or previous siblings of ancestors. Headings that are nested below
- * siblings of ancestors (cousins et.al) are not picked up. This is because it
- * is ambiguous whether or not the nesting is for layout purposes or indicates a
- * separate section.
- *
- * @private
- * @param {Highcharts.HTMLDOMElement} [element]
- * @return {string} The heading tag name (h1, h2 etc).
- * If no nearest heading is found, "p" is returned.
- */
-function getHeadingTagNameForElement(element) {
-    var getIncreasedHeadingLevel = function (tagName) {
-        var headingLevel = parseInt(tagName.slice(1), 10);
-        var newLevel = Math.min(6, headingLevel + 1);
-        return 'h' + newLevel;
-    };
-    var isHeading = function (tagName) { return /H[1-6]/.test(tagName); };
-    var getPreviousSiblingsHeading = function (el) {
-        var sibling = el;
-        while (sibling = sibling.previousSibling) { // eslint-disable-line
-            var tagName = sibling.tagName || '';
-            if (isHeading(tagName)) {
-                return tagName;
-            }
-        }
-        return '';
-    };
-    var getHeadingRecursive = function (el) {
-        var prevSiblingsHeading = getPreviousSiblingsHeading(el);
-        if (prevSiblingsHeading) {
-            return getIncreasedHeadingLevel(prevSiblingsHeading);
-        }
-        // No previous siblings are headings, try parent node
-        var parent = el.parentElement;
-        if (!parent) {
-            return 'p';
-        }
-        var parentTagName = parent.tagName;
-        if (isHeading(parentTagName)) {
-            return getIncreasedHeadingLevel(parentTagName);
-        }
-        return getHeadingRecursive(parent);
-    };
-    return getHeadingRecursive(element);
-}
-/**
- * Remove an element from the DOM.
- * @private
- * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} [element]
- * @return {void}
- */
-function removeElement(element) {
-    if (element && element.parentNode) {
-        element.parentNode.removeChild(element);
-    }
-}
-/**
- * Utility function. Reverses child nodes of a DOM element.
- * @private
- * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} node
- * @return {void}
- */
-function reverseChildNodes(node) {
-    var i = node.childNodes.length;
-    while (i--) {
-        node.appendChild(node.childNodes[i]);
-    }
-}
-/**
- * Set attributes on element. Set to null to remove attribute.
- * @private
- * @param {Highcharts.HTMLDOMElement|Highcharts.SVGDOMElement} el
- * @param {Highcharts.HTMLAttributes|Highcharts.SVGAttributes} attrs
- * @return {void}
- */
-function setElAttrs(el, attrs) {
-    Object.keys(attrs).forEach(function (attr) {
-        var val = attrs[attr];
-        if (val === null) {
-            el.removeAttribute(attr);
-        }
-        else {
-            el.setAttribute(attr, val);
-        }
-    });
-}
-/**
- * Used for aria-label attributes, painting on a canvas will fail if the
- * text contains tags.
- * @private
- * @param {string} str
- * @return {string}
- */
-function stripHTMLTagsFromString(str) {
-    return typeof str === 'string' ?
-        str.replace(/<\/?[^>]+(>|$)/g, '') : str;
-}
-/**
- * Utility function for hiding an element visually, but still keeping it
- * available to screen reader users.
- * @private
- * @param {Highcharts.HTMLDOMElement} element
- * @return {void}
- */
-function visuallyHideElement(element) {
-    var hiddenStyle = {
-        position: 'absolute',
-        width: '1px',
-        height: '1px',
-        overflow: 'hidden',
-        whiteSpace: 'nowrap',
-        clip: 'rect(1px, 1px, 1px, 1px)',
-        marginTop: '-3px',
-        '-ms-filter': 'progid:DXImageTransform.Microsoft.Alpha(Opacity=1)',
-        filter: 'alpha(opacity=1)',
-        opacity: '0.01'
-    };
-    merge(true, element.style, hiddenStyle);
-}
-var HTMLUtilities = {
-    addClass: addClass,
-    escapeStringForHTML: escapeStringForHTML,
-    getElement: getElement,
-    getFakeMouseEvent: getFakeMouseEvent,
-    getHeadingTagNameForElement: getHeadingTagNameForElement,
-    removeElement: removeElement,
-    reverseChildNodes: reverseChildNodes,
-    setElAttrs: setElAttrs,
-    stripHTMLTagsFromString: stripHTMLTagsFromString,
-    visuallyHideElement: visuallyHideElement
-};
-export default HTMLUtilities;

+ 0 - 193
node_modules/highcharts/es-modules/Core/Animation/AnimationUtilities.js

@@ -1,193 +0,0 @@
-/* *
- *
- *  (c) 2010-2021 Torstein Honsi
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import Fx from './Fx.js';
-import H from '../Globals.js';
-import U from '../Utilities.js';
-var defined = U.defined, getStyle = U.getStyle, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, merge = U.merge, objectEach = U.objectEach, pick = U.pick;
-/**
- * Set the global animation to either a given value, or fall back to the given
- * chart's animation option.
- *
- * @function Highcharts.setAnimation
- *
- * @param {boolean|Partial<Highcharts.AnimationOptionsObject>|undefined} animation
- *        The animation object.
- *
- * @param {Highcharts.Chart} chart
- *        The chart instance.
- *
- * @todo
- * This function always relates to a chart, and sets a property on the renderer,
- * so it should be moved to the SVGRenderer.
- */
-var setAnimation = H.setAnimation = function setAnimation(animation, chart) {
-    chart.renderer.globalAnimation = pick(animation, chart.options.chart.animation, true);
-};
-/**
- * Get the animation in object form, where a disabled animation is always
- * returned as `{ duration: 0 }`.
- *
- * @function Highcharts.animObject
- *
- * @param {boolean|Highcharts.AnimationOptionsObject} [animation=0]
- *        An animation setting. Can be an object with duration, complete and
- *        easing properties, or a boolean to enable or disable.
- *
- * @return {Highcharts.AnimationOptionsObject}
- *         An object with at least a duration property.
- */
-var animObject = H.animObject = function animObject(animation) {
-    return isObject(animation) ?
-        merge({ duration: 500, defer: 0 }, animation) :
-        { duration: animation ? 500 : 0, defer: 0 };
-};
-/**
- * Get the defer as a number value from series animation options.
- *
- * @function Highcharts.getDeferredAnimation
- *
- * @param {Highcharts.Chart} chart
- *        The chart instance.
- *
- * @param {boolean|Highcharts.AnimationOptionsObject} animation
- *        An animation setting. Can be an object with duration, complete and
- *        easing properties, or a boolean to enable or disable.
- *
- * @param {Highcharts.Series} [series]
- *        Series to defer animation.
- *
- * @return {number}
- *        The numeric value.
- */
-var getDeferredAnimation = H.getDeferredAnimation = function (chart, animation, series) {
-    var labelAnimation = animObject(animation);
-    var s = series ? [series] : chart.series;
-    var defer = 0;
-    var duration = 0;
-    s.forEach(function (series) {
-        var seriesAnim = animObject(series.options.animation);
-        defer = animation && defined(animation.defer) ?
-            labelAnimation.defer :
-            Math.max(defer, seriesAnim.duration + seriesAnim.defer);
-        duration = Math.min(labelAnimation.duration, seriesAnim.duration);
-    });
-    // Disable defer for exporting
-    if (chart.renderer.forExport) {
-        defer = 0;
-    }
-    var anim = {
-        defer: Math.max(0, defer - duration),
-        duration: Math.min(defer, duration)
-    };
-    return anim;
-};
-/**
- * The global animate method, which uses Fx to create individual animators.
- *
- * @function Highcharts.animate
- *
- * @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} el
- *        The element to animate.
- *
- * @param {Highcharts.CSSObject|Highcharts.SVGAttributes} params
- *        An object containing key-value pairs of the properties to animate.
- *        Supports numeric as pixel-based CSS properties for HTML objects and
- *        attributes for SVGElements.
- *
- * @param {Partial<Highcharts.AnimationOptionsObject>} [opt]
- *        Animation options.
- *
- * @return {void}
- */
-var animate = function (el, params, opt) {
-    var start, unit = '', end, fx, args;
-    if (!isObject(opt)) { // Number or undefined/null
-        args = arguments;
-        opt = {
-            duration: args[2],
-            easing: args[3],
-            complete: args[4]
-        };
-    }
-    if (!isNumber(opt.duration)) {
-        opt.duration = 400;
-    }
-    opt.easing = typeof opt.easing === 'function' ?
-        opt.easing :
-        (Math[opt.easing] || Math.easeInOutSine);
-    opt.curAnim = merge(params);
-    objectEach(params, function (val, prop) {
-        // Stop current running animation of this property
-        stop(el, prop);
-        fx = new Fx(el, opt, prop);
-        end = null;
-        if (prop === 'd' && isArray(params.d)) {
-            fx.paths = fx.initPath(el, el.pathArray, params.d);
-            fx.toD = params.d;
-            start = 0;
-            end = 1;
-        }
-        else if (el.attr) {
-            start = el.attr(prop);
-        }
-        else {
-            start = parseFloat(getStyle(el, prop)) || 0;
-            if (prop !== 'opacity') {
-                unit = 'px';
-            }
-        }
-        if (!end) {
-            end = val;
-        }
-        if (end && end.match && end.match('px')) {
-            end = end.replace(/px/g, ''); // #4351
-        }
-        fx.run(start, end, unit);
-    });
-};
-/**
- * Stop running animation.
- *
- * @function Highcharts.stop
- *
- * @param {Highcharts.SVGElement} el
- *        The SVGElement to stop animation on.
- *
- * @param {string} [prop]
- *        The property to stop animating. If given, the stop method will stop a
- *        single property from animating, while others continue.
- *
- * @return {void}
- *
- * @todo
- * A possible extension to this would be to stop a single property, when
- * we want to continue animating others. Then assign the prop to the timer
- * in the Fx.run method, and check for the prop here. This would be an
- * improvement in all cases where we stop the animation from .attr. Instead of
- * stopping everything, we can just stop the actual attributes we're setting.
- */
-var stop = H.stop = function (el, prop) {
-    var i = Fx.timers.length;
-    // Remove timers related to this element (#4519)
-    while (i--) {
-        if (Fx.timers[i].elem === el && (!prop || prop === Fx.timers[i].prop)) {
-            Fx.timers[i].stopped = true; // #4667
-        }
-    }
-};
-var animationExports = {
-    animate: animate,
-    animObject: animObject,
-    getDeferredAnimation: getDeferredAnimation,
-    setAnimation: setAnimation,
-    stop: stop
-};
-export default animationExports;

+ 0 - 395
node_modules/highcharts/es-modules/Core/Animation/Fx.js

@@ -1,395 +0,0 @@
-/* *
- *
- *  (c) 2010-2021 Torstein Honsi
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../Globals.js';
-var win = H.win;
-import U from '../Utilities.js';
-var isNumber = U.isNumber, objectEach = U.objectEach;
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * An animator object used internally. One instance applies to one property
- * (attribute or style prop) on one element. Animation is always initiated
- * through {@link SVGElement#animate}.
- *
- * @example
- * var rect = renderer.rect(0, 0, 10, 10).add();
- * rect.animate({ width: 100 });
- *
- * @private
- * @class
- * @name Highcharts.Fx
- */
-var Fx = /** @class */ (function () {
-    /* *
-     *
-     *  Constructors
-     *
-     * */
-    /**
-     *
-     * @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} elem
-     *        The element to animate.
-     *
-     * @param {Partial<Highcharts.AnimationOptionsObject>} options
-     *        Animation options.
-     *
-     * @param {string} prop
-     *        The single attribute or CSS property to animate.
-     */
-    function Fx(elem, options, prop) {
-        this.pos = NaN;
-        this.options = options;
-        this.elem = elem;
-        this.prop = prop;
-    }
-    /* *
-     *
-     *  Functions
-     *
-     * */
-    /**
-     * Set the current step of a path definition on SVGElement.
-     *
-     * @function Highcharts.Fx#dSetter
-     *
-     * @return {void}
-     */
-    Fx.prototype.dSetter = function () {
-        var paths = this.paths, start = paths && paths[0], end = paths && paths[1], path = [], now = this.now || 0;
-        // Land on the final path without adjustment points appended in the ends
-        if (now === 1 || !start || !end) {
-            path = this.toD || [];
-        }
-        else if (start.length === end.length && now < 1) {
-            for (var i = 0; i < end.length; i++) {
-                // Tween between the start segment and the end segment. Start
-                // with a copy of the end segment and tween the appropriate
-                // numerics
-                var startSeg = start[i];
-                var endSeg = end[i];
-                var tweenSeg = [];
-                for (var j = 0; j < endSeg.length; j++) {
-                    var startItem = startSeg[j];
-                    var endItem = endSeg[j];
-                    // Tween numbers
-                    if (isNumber(startItem) &&
-                        isNumber(endItem) &&
-                        // Arc boolean flags
-                        !(endSeg[0] === 'A' && (j === 4 || j === 5))) {
-                        tweenSeg[j] = startItem + now * (endItem - startItem);
-                        // Strings, take directly from the end segment
-                    }
-                    else {
-                        tweenSeg[j] = endItem;
-                    }
-                }
-                path.push(tweenSeg);
-            }
-            // If animation is finished or length not matching, land on right value
-        }
-        else {
-            path = end;
-        }
-        this.elem.attr('d', path, void 0, true);
-    };
-    /**
-     * Update the element with the current animation step.
-     *
-     * @function Highcharts.Fx#update
-     *
-     * @return {void}
-     */
-    Fx.prototype.update = function () {
-        var elem = this.elem, prop = this.prop, // if destroyed, it is null
-        now = this.now, step = this.options.step;
-        // Animation setter defined from outside
-        if (this[prop + 'Setter']) {
-            this[prop + 'Setter']();
-            // Other animations on SVGElement
-        }
-        else if (elem.attr) {
-            if (elem.element) {
-                elem.attr(prop, now, null, true);
-            }
-            // HTML styles, raw HTML content like container size
-        }
-        else {
-            elem.style[prop] = now + this.unit;
-        }
-        if (step) {
-            step.call(elem, now, this);
-        }
-    };
-    /**
-     * Run an animation.
-     *
-     * @function Highcharts.Fx#run
-     *
-     * @param {number} from
-     *        The current value, value to start from.
-     *
-     * @param {number} to
-     *        The end value, value to land on.
-     *
-     * @param {string} unit
-     *        The property unit, for example `px`.
-     *
-     * @return {void}
-     */
-    Fx.prototype.run = function (from, to, unit) {
-        var self = this, options = self.options, timer = function (gotoEnd) {
-            return timer.stopped ? false : self.step(gotoEnd);
-        }, requestAnimationFrame = win.requestAnimationFrame ||
-            function (step) {
-                setTimeout(step, 13);
-            }, step = function () {
-            for (var i = 0; i < Fx.timers.length; i++) {
-                if (!Fx.timers[i]()) {
-                    Fx.timers.splice(i--, 1);
-                }
-            }
-            if (Fx.timers.length) {
-                requestAnimationFrame(step);
-            }
-        };
-        if (from === to && !this.elem['forceAnimate:' + this.prop]) {
-            delete options.curAnim[this.prop];
-            if (options.complete && Object.keys(options.curAnim).length === 0) {
-                options.complete.call(this.elem);
-            }
-        }
-        else { // #7166
-            this.startTime = +new Date();
-            this.start = from;
-            this.end = to;
-            this.unit = unit;
-            this.now = this.start;
-            this.pos = 0;
-            timer.elem = this.elem;
-            timer.prop = this.prop;
-            if (timer() && Fx.timers.push(timer) === 1) {
-                requestAnimationFrame(step);
-            }
-        }
-    };
-    /**
-     * Run a single step in the animation.
-     *
-     * @function Highcharts.Fx#step
-     *
-     * @param {boolean} [gotoEnd]
-     *        Whether to go to the endpoint of the animation after abort.
-     *
-     * @return {boolean}
-     *         Returns `true` if animation continues.
-     */
-    Fx.prototype.step = function (gotoEnd) {
-        var t = +new Date(), ret, done, options = this.options, elem = this.elem, complete = options.complete, duration = options.duration, curAnim = options.curAnim;
-        if (elem.attr && !elem.element) { // #2616, element is destroyed
-            ret = false;
-        }
-        else if (gotoEnd || t >= duration + this.startTime) {
-            this.now = this.end;
-            this.pos = 1;
-            this.update();
-            curAnim[this.prop] = true;
-            done = true;
-            objectEach(curAnim, function (val) {
-                if (val !== true) {
-                    done = false;
-                }
-            });
-            if (done && complete) {
-                complete.call(elem);
-            }
-            ret = false;
-        }
-        else {
-            this.pos = options.easing((t - this.startTime) / duration);
-            this.now = this.start + ((this.end - this.start) * this.pos);
-            this.update();
-            ret = true;
-        }
-        return ret;
-    };
-    /**
-     * Prepare start and end values so that the path can be animated one to one.
-     *
-     * @function Highcharts.Fx#initPath
-     *
-     * @param {Highcharts.SVGElement} elem
-     *        The SVGElement item.
-     *
-     * @param {Highcharts.SVGPathArray|undefined} fromD
-     *        Starting path definition.
-     *
-     * @param {Highcharts.SVGPathArray} toD
-     *        Ending path definition.
-     *
-     * @return {Array<Highcharts.SVGPathArray,Highcharts.SVGPathArray>}
-     *         An array containing start and end paths in array form so that
-     *         they can be animated in parallel.
-     */
-    Fx.prototype.initPath = function (elem, fromD, toD) {
-        var shift, startX = elem.startX, endX = elem.endX, fullLength, i, start = fromD && fromD.slice(), // copy
-        end = toD.slice(), // copy
-        isArea = elem.isArea, positionFactor = isArea ? 2 : 1, reverse;
-        if (!start) {
-            return [end, end];
-        }
-        /**
-         * If shifting points, prepend a dummy point to the end path.
-         * @private
-         * @param {Highcharts.SVGPathArray} arr - array
-         * @param {Highcharts.SVGPathArray} other - array
-         * @return {void}
-         */
-        function prepend(arr, other) {
-            while (arr.length < fullLength) {
-                // Move to, line to or curve to?
-                var moveSegment = arr[0], otherSegment = other[fullLength - arr.length];
-                if (otherSegment && moveSegment[0] === 'M') {
-                    if (otherSegment[0] === 'C') {
-                        arr[0] = [
-                            'C',
-                            moveSegment[1],
-                            moveSegment[2],
-                            moveSegment[1],
-                            moveSegment[2],
-                            moveSegment[1],
-                            moveSegment[2]
-                        ];
-                    }
-                    else {
-                        arr[0] = ['L', moveSegment[1], moveSegment[2]];
-                    }
-                }
-                // Prepend a copy of the first point
-                arr.unshift(moveSegment);
-                // For areas, the bottom path goes back again to the left, so we
-                // need to append a copy of the last point.
-                if (isArea) {
-                    arr.push(arr[arr.length - 1]);
-                }
-            }
-        }
-        /**
-         * Copy and append last point until the length matches the end length.
-         * @private
-         * @param {Highcharts.SVGPathArray} arr - array
-         * @param {Highcharts.SVGPathArray} other - array
-         * @return {void}
-         */
-        function append(arr, other) {
-            while (arr.length < fullLength) {
-                // Pull out the slice that is going to be appended or inserted.
-                // In a line graph, the positionFactor is 1, and the last point
-                // is sliced out. In an area graph, the positionFactor is 2,
-                // causing the middle two points to be sliced out, since an area
-                // path starts at left, follows the upper path then turns and
-                // follows the bottom back.
-                var segmentToAdd = arr[arr.length / positionFactor - 1].slice();
-                // Disable the first control point of curve segments
-                if (segmentToAdd[0] === 'C') {
-                    segmentToAdd[1] = segmentToAdd[5];
-                    segmentToAdd[2] = segmentToAdd[6];
-                }
-                if (!isArea) {
-                    arr.push(segmentToAdd);
-                }
-                else {
-                    var lowerSegmentToAdd = arr[arr.length / positionFactor].slice();
-                    arr.splice(arr.length / 2, 0, segmentToAdd, lowerSegmentToAdd);
-                }
-            }
-        }
-        // For sideways animation, find out how much we need to shift to get the
-        // start path Xs to match the end path Xs.
-        if (startX && endX) {
-            for (i = 0; i < startX.length; i++) {
-                // Moving left, new points coming in on right
-                if (startX[i] === endX[0]) {
-                    shift = i;
-                    break;
-                    // Moving right
-                }
-                else if (startX[0] ===
-                    endX[endX.length - startX.length + i]) {
-                    shift = i;
-                    reverse = true;
-                    break;
-                    // Fixed from the right side, "scaling" left
-                }
-                else if (startX[startX.length - 1] ===
-                    endX[endX.length - startX.length + i]) {
-                    shift = startX.length - i;
-                    break;
-                }
-            }
-            if (typeof shift === 'undefined') {
-                start = [];
-            }
-        }
-        if (start.length && isNumber(shift)) {
-            // The common target length for the start and end array, where both
-            // arrays are padded in opposite ends
-            fullLength = end.length + shift * positionFactor;
-            if (!reverse) {
-                prepend(end, start);
-                append(start, end);
-            }
-            else {
-                prepend(start, end);
-                append(end, start);
-            }
-        }
-        return [start, end];
-    };
-    /**
-     * Handle animation of the color attributes directly.
-     *
-     * @function Highcharts.Fx#fillSetter
-     *
-     * @return {void}
-     */
-    Fx.prototype.fillSetter = function () {
-        Fx.prototype.strokeSetter.apply(this, arguments);
-    };
-    /**
-     * Handle animation of the color attributes directly.
-     *
-     * @function Highcharts.Fx#strokeSetter
-     *
-     * @return {void}
-     */
-    Fx.prototype.strokeSetter = function () {
-        this.elem.attr(this.prop, H.color(this.start).tweenTo(H.color(this.end), this.pos), null, true);
-    };
-    /* *
-     *
-     * Static properties
-     *
-     * */
-    Fx.timers = [];
-    return Fx;
-}());
-/* *
- *
- *  Compatibility
- *
- * */
-H.Fx = Fx;
-H.timers = Fx.timers;
-/* *
- *
- *  Default Export
- *
- * */
-export default Fx;

+ 0 - 6099
node_modules/highcharts/es-modules/Core/Axis/Axis.js

@@ -1,6099 +0,0 @@
-/* *
- *
- *  (c) 2010-2021 Torstein Honsi
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import A from '../Animation/AnimationUtilities.js';
-var animObject = A.animObject;
-import Color from '../Color/Color.js';
-import H from '../Globals.js';
-import palette from '../Color/Palette.js';
-import O from '../Options.js';
-var defaultOptions = O.defaultOptions;
-import Tick from './Tick.js';
-import U from '../Utilities.js';
-var addEvent = U.addEvent, arrayMax = U.arrayMax, arrayMin = U.arrayMin, clamp = U.clamp, correctFloat = U.correctFloat, defined = U.defined, destroyObjectProperties = U.destroyObjectProperties, erase = U.erase, error = U.error, extend = U.extend, fireEvent = U.fireEvent, format = U.format, getMagnitude = U.getMagnitude, isArray = U.isArray, isFunction = U.isFunction, isNumber = U.isNumber, isString = U.isString, merge = U.merge, normalizeTickInterval = U.normalizeTickInterval, objectEach = U.objectEach, pick = U.pick, relativeLength = U.relativeLength, removeEvent = U.removeEvent, splat = U.splat, syncTimeout = U.syncTimeout;
-/**
- * Options for the path on the Axis to be calculated.
- * @interface Highcharts.AxisPlotLinePathOptionsObject
- */ /**
-* Axis value.
-* @name Highcharts.AxisPlotLinePathOptionsObject#value
-* @type {number|undefined}
-*/ /**
-* Line width used for calculation crisp line coordinates. Defaults to 1.
-* @name Highcharts.AxisPlotLinePathOptionsObject#lineWidth
-* @type {number|undefined}
-*/ /**
-* If `false`, the function will return null when it falls outside the axis
-* bounds. If `true`, the function will return a path aligned to the plot area
-* sides if it falls outside. If `pass`, it will return a path outside.
-* @name Highcharts.AxisPlotLinePathOptionsObject#force
-* @type {string|boolean|undefined}
-*/ /**
-* Used in Highstock. When `true`, plot paths (crosshair, plotLines, gridLines)
-* will be rendered on all axes when defined on the first axis.
-* @name Highcharts.AxisPlotLinePathOptionsObject#acrossPanes
-* @type {boolean|undefined}
-*/ /**
-* Use old coordinates (for resizing and rescaling).
-* If not set, defaults to `false`.
-* @name Highcharts.AxisPlotLinePathOptionsObject#old
-* @type {boolean|undefined}
-*/ /**
-* If given, return the plot line path of a pixel position on the axis.
-* @name Highcharts.AxisPlotLinePathOptionsObject#translatedValue
-* @type {number|undefined}
-*/ /**
-* Used in Polar axes. Reverse the positions for concatenation of polygonal
-* plot bands
-* @name Highcharts.AxisPlotLinePathOptionsObject#reverse
-* @type {boolean|undefined}
-*/
-/**
- * Options for crosshairs on axes.
- *
- * @product highstock
- *
- * @typedef {Highcharts.XAxisCrosshairOptions|Highcharts.YAxisCrosshairOptions} Highcharts.AxisCrosshairOptions
- */
-/**
- * @typedef {"navigator"|"pan"|"rangeSelectorButton"|"rangeSelectorInput"|"scrollbar"|"traverseUpButton"|"zoom"} Highcharts.AxisExtremesTriggerValue
- */
-/**
- * @callback Highcharts.AxisEventCallbackFunction
- *
- * @param {Highcharts.Axis} this
- */
-/**
- * @callback Highcharts.AxisLabelsFormatterCallbackFunction
- *
- * @param {Highcharts.AxisLabelsFormatterContextObject<number>} this
- *
- * @param {Highcharts.AxisLabelsFormatterContextObject<string>} that
- *
- * @return {string}
- */
-/**
- * @interface Highcharts.AxisLabelsFormatterContextObject<T>
- */ /**
-* @name Highcharts.AxisLabelsFormatterContextObject<T>#axis
-* @type {Highcharts.Axis}
-*/ /**
-* @name Highcharts.AxisLabelsFormatterContextObject<T>#chart
-* @type {Highcharts.Chart}
-*/ /**
-* @name Highcharts.AxisLabelsFormatterContextObject<T>#isFirst
-* @type {boolean}
-*/ /**
-* @name Highcharts.AxisLabelsFormatterContextObject<T>#isLast
-* @type {boolean}
-*/ /**
-* @name Highcharts.AxisLabelsFormatterContextObject<T>#pos
-* @type {number}
-*/ /**
-* This can be either a numeric value or a category string.
-* @name Highcharts.AxisLabelsFormatterContextObject<T>#value
-* @type {T}
-*/
-/**
- * Options for axes.
- *
- * @typedef {Highcharts.XAxisOptions|Highcharts.YAxisOptions|Highcharts.ZAxisOptions} Highcharts.AxisOptions
- */
-/**
- * @callback Highcharts.AxisPointBreakEventCallbackFunction
- *
- * @param {Highcharts.Axis} this
- *
- * @param {Highcharts.AxisPointBreakEventObject} evt
- */
-/**
- * @interface Highcharts.AxisPointBreakEventObject
- */ /**
-* @name Highcharts.AxisPointBreakEventObject#brk
-* @type {Highcharts.Dictionary<number>}
-*/ /**
-* @name Highcharts.AxisPointBreakEventObject#point
-* @type {Highcharts.Point}
-*/ /**
-* @name Highcharts.AxisPointBreakEventObject#preventDefault
-* @type {Function}
-*/ /**
-* @name Highcharts.AxisPointBreakEventObject#target
-* @type {Highcharts.SVGElement}
-*/ /**
-* @name Highcharts.AxisPointBreakEventObject#type
-* @type {"pointBreak"|"pointInBreak"}
-*/
-/**
- * @callback Highcharts.AxisSetExtremesEventCallbackFunction
- *
- * @param {Highcharts.Axis} this
- *
- * @param {Highcharts.AxisSetExtremesEventObject} evt
- */
-/**
- * @interface Highcharts.AxisSetExtremesEventObject
- * @extends Highcharts.ExtremesObject
- */ /**
-* @name Highcharts.AxisSetExtremesEventObject#preventDefault
-* @type {Function}
-*/ /**
-* @name Highcharts.AxisSetExtremesEventObject#target
-* @type {Highcharts.SVGElement}
-*/ /**
-* @name Highcharts.AxisSetExtremesEventObject#trigger
-* @type {Highcharts.AxisExtremesTriggerValue|string}
-*/ /**
-* @name Highcharts.AxisSetExtremesEventObject#type
-* @type {"setExtremes"}
-*/
-/**
- * @callback Highcharts.AxisTickPositionerCallbackFunction
- *
- * @param {Highcharts.Axis} this
- *
- * @return {Highcharts.AxisTickPositionsArray}
- */
-/**
- * @interface Highcharts.AxisTickPositionsArray
- * @augments Array<number>
- */
-/**
- * @typedef {"high"|"low"|"middle"} Highcharts.AxisTitleAlignValue
- */
-/**
- * @typedef {Highcharts.XAxisTitleOptions|Highcharts.YAxisTitleOptions|Highcharts.ZAxisTitleOptions} Highcharts.AxisTitleOptions
- */
-/**
- * @typedef {"linear"|"logarithmic"|"datetime"|"category"|"treegrid"} Highcharts.AxisTypeValue
- */
-/**
- * The returned object literal from the {@link Highcharts.Axis#getExtremes}
- * function.
- *
- * @interface Highcharts.ExtremesObject
- */ /**
-* The maximum value of the axis' associated series.
-* @name Highcharts.ExtremesObject#dataMax
-* @type {number}
-*/ /**
-* The minimum value of the axis' associated series.
-* @name Highcharts.ExtremesObject#dataMin
-* @type {number}
-*/ /**
-* The maximum axis value, either automatic or set manually. If the `max` option
-* is not set, `maxPadding` is 0 and `endOnTick` is false, this value will be
-* the same as `dataMax`.
-* @name Highcharts.ExtremesObject#max
-* @type {number}
-*/ /**
-* The minimum axis value, either automatic or set manually. If the `min` option
-* is not set, `minPadding` is 0 and `startOnTick` is false, this value will be
-* the same as `dataMin`.
-* @name Highcharts.ExtremesObject#min
-* @type {number}
-*/ /**
-* The user defined maximum, either from the `max` option or from a zoom or
-* `setExtremes` action.
-* @name Highcharts.ExtremesObject#userMax
-* @type {number}
-*/ /**
-* The user defined minimum, either from the `min` option or from a zoom or
-* `setExtremes` action.
-* @name Highcharts.ExtremesObject#userMin
-* @type {number}
-*/
-/**
- * Formatter function for the text of a crosshair label.
- *
- * @callback Highcharts.XAxisCrosshairLabelFormatterCallbackFunction
- *
- * @param {Highcharts.Axis} this
- *        Axis context
- *
- * @param {number} value
- *        Y value of the data point
- *
- * @return {string}
- */
-''; // detach doclets above
-var deg2rad = H.deg2rad;
-/**
- * Create a new axis object. Called internally when instanciating a new chart or
- * adding axes by {@link Highcharts.Chart#addAxis}.
- *
- * A chart can have from 0 axes (pie chart) to multiples. In a normal, single
- * series cartesian chart, there is one X axis and one Y axis.
- *
- * The X axis or axes are referenced by {@link Highcharts.Chart.xAxis}, which is
- * an array of Axis objects. If there is only one axis, it can be referenced
- * through `chart.xAxis[0]`, and multiple axes have increasing indices. The same
- * pattern goes for Y axes.
- *
- * If you need to get the axes from a series object, use the `series.xAxis` and
- * `series.yAxis` properties. These are not arrays, as one series can only be
- * associated to one X and one Y axis.
- *
- * A third way to reference the axis programmatically is by `id`. Add an `id` in
- * the axis configuration options, and get the axis by
- * {@link Highcharts.Chart#get}.
- *
- * Configuration options for the axes are given in options.xAxis and
- * options.yAxis.
- *
- * @class
- * @name Highcharts.Axis
- *
- * @param {Highcharts.Chart} chart
- * The Chart instance to apply the axis on.
- *
- * @param {Highcharts.AxisOptions} userOptions
- * Axis options.
- */
-var Axis = /** @class */ (function () {
-    /* *
-     *
-     *  Constructors
-     *
-     * */
-    function Axis(chart, userOptions) {
-        this.alternateBands = void 0;
-        this.bottom = void 0;
-        this.categories = void 0;
-        this.chart = void 0;
-        this.closestPointRange = void 0;
-        this.coll = void 0;
-        this.hasNames = void 0;
-        this.hasVisibleSeries = void 0;
-        this.height = void 0;
-        this.isLinked = void 0;
-        this.labelEdge = void 0; // @todo
-        this.labelFormatter = void 0;
-        this.left = void 0;
-        this.len = void 0;
-        this.max = void 0;
-        this.maxLabelLength = void 0;
-        this.min = void 0;
-        this.minorTickInterval = void 0;
-        this.minorTicks = void 0;
-        this.minPixelPadding = void 0;
-        this.names = void 0;
-        this.offset = void 0;
-        this.options = void 0;
-        this.overlap = void 0;
-        this.paddedTicks = void 0;
-        this.plotLinesAndBands = void 0;
-        this.plotLinesAndBandsGroups = void 0;
-        this.pointRange = void 0;
-        this.pointRangePadding = void 0;
-        this.pos = void 0;
-        this.positiveValuesOnly = void 0;
-        this.right = void 0;
-        this.series = void 0;
-        this.side = void 0;
-        this.tickAmount = void 0;
-        this.tickInterval = void 0;
-        this.tickmarkOffset = void 0;
-        this.tickPositions = void 0;
-        this.tickRotCorr = void 0;
-        this.ticks = void 0;
-        this.top = void 0;
-        this.transA = void 0;
-        this.transB = void 0;
-        this.translationSlope = void 0;
-        this.userOptions = void 0;
-        this.visible = void 0;
-        this.width = void 0;
-        this.zoomEnabled = void 0;
-        this.init(chart, userOptions);
-    }
-    /* *
-     *
-     *  Functions
-     *
-     * */
-    /**
-     * Overrideable function to initialize the axis.
-     *
-     * @see {@link Axis}
-     *
-     * @function Highcharts.Axis#init
-     *
-     * @param {Highcharts.Chart} chart
-     * The Chart instance to apply the axis on.
-     *
-     * @param {Highcharts.AxisOptions} userOptions
-     * Axis options.
-     *
-     * @fires Highcharts.Axis#event:afterInit
-     * @fires Highcharts.Axis#event:init
-     */
-    Axis.prototype.init = function (chart, userOptions) {
-        var isXAxis = userOptions.isX, axis = this;
-        /**
-         * The Chart that the axis belongs to.
-         *
-         * @name Highcharts.Axis#chart
-         * @type {Highcharts.Chart}
-         */
-        axis.chart = chart;
-        /**
-         * Whether the axis is horizontal.
-         *
-         * @name Highcharts.Axis#horiz
-         * @type {boolean|undefined}
-         */
-        axis.horiz = chart.inverted && !axis.isZAxis ? !isXAxis : isXAxis;
-        /**
-         * Whether the axis is the x-axis.
-         *
-         * @name Highcharts.Axis#isXAxis
-         * @type {boolean|undefined}
-         */
-        axis.isXAxis = isXAxis;
-        /**
-         * The collection where the axis belongs, for example `xAxis`, `yAxis`
-         * or `colorAxis`. Corresponds to properties on Chart, for example
-         * {@link Chart.xAxis}.
-         *
-         * @name Highcharts.Axis#coll
-         * @type {string}
-         */
-        axis.coll = axis.coll || (isXAxis ? 'xAxis' : 'yAxis');
-        fireEvent(this, 'init', { userOptions: userOptions });
-        axis.opposite = pick(userOptions.opposite, axis.opposite); // needed in setOptions
-        /**
-         * The side on which the axis is rendered. 0 is top, 1 is right, 2
-         * is bottom and 3 is left.
-         *
-         * @name Highcharts.Axis#side
-         * @type {number}
-         */
-        axis.side = pick(userOptions.side, axis.side, (axis.horiz ?
-            (axis.opposite ? 0 : 2) : // top : bottom
-            (axis.opposite ? 1 : 3)) // right : left
-        );
-        /**
-         * Current options for the axis after merge of defaults and user's
-         * options.
-         *
-         * @name Highcharts.Axis#options
-         * @type {Highcharts.AxisOptions}
-         */
-        axis.setOptions(userOptions);
-        var options = this.options, type = options.type;
-        axis.labelFormatter = (options.labels.formatter ||
-            // can be overwritten by dynamic format
-            axis.defaultLabelFormatter);
-        /**
-         * User's options for this axis without defaults.
-         *
-         * @name Highcharts.Axis#userOptions
-         * @type {Highcharts.AxisOptions}
-         */
-        axis.userOptions = userOptions;
-        axis.minPixelPadding = 0;
-        /**
-         * Whether the axis is reversed. Based on the `axis.reversed`,
-         * option, but inverted charts have reversed xAxis by default.
-         *
-         * @name Highcharts.Axis#reversed
-         * @type {boolean}
-         */
-        axis.reversed = pick(options.reversed, axis.reversed);
-        axis.visible = options.visible !== false;
-        axis.zoomEnabled = options.zoomEnabled !== false;
-        // Initial categories
-        axis.hasNames =
-            type === 'category' || options.categories === true;
-        /**
-         * If categories are present for the axis, names are used instead of
-         * numbers for that axis.
-         *
-         * Since Highcharts 3.0, categories can also be extracted by giving each
-         * point a name and setting axis type to `category`. However, if you
-         * have multiple series, best practice remains defining the `categories`
-         * array.
-         *
-         * @see [xAxis.categories](/highcharts/xAxis.categories)
-         *
-         * @name Highcharts.Axis#categories
-         * @type {Array<string>}
-         * @readonly
-         */
-        axis.categories = options.categories || axis.hasNames;
-        if (!axis.names) { // Preserve on update (#3830)
-            axis.names = [];
-            axis.names.keys = {};
-        }
-        // Placeholder for plotlines and plotbands groups
-        axis.plotLinesAndBandsGroups = {};
-        // Shorthand types
-        axis.positiveValuesOnly = !!axis.logarithmic;
-        // Flag, if axis is linked to another axis
-        axis.isLinked = defined(options.linkedTo);
-        /**
-         * List of major ticks mapped by postition on axis.
-         *
-         * @see {@link Highcharts.Tick}
-         *
-         * @name Highcharts.Axis#ticks
-         * @type {Highcharts.Dictionary<Highcharts.Tick>}
-         */
-        axis.ticks = {};
-        axis.labelEdge = [];
-        /**
-         * List of minor ticks mapped by position on the axis.
-         *
-         * @see {@link Highcharts.Tick}
-         *
-         * @name Highcharts.Axis#minorTicks
-         * @type {Highcharts.Dictionary<Highcharts.Tick>}
-         */
-        axis.minorTicks = {};
-        // List of plotLines/Bands
-        axis.plotLinesAndBands = [];
-        // Alternate bands
-        axis.alternateBands = {};
-        // Axis metrics
-        axis.len = 0;
-        axis.minRange = axis.userMinRange = options.minRange || options.maxZoom;
-        axis.range = options.range;
-        axis.offset = options.offset || 0;
-        /**
-         * The maximum value of the axis. In a logarithmic axis, this is the
-         * logarithm of the real value, and the real value can be obtained from
-         * {@link Axis#getExtremes}.
-         *
-         * @name Highcharts.Axis#max
-         * @type {number|null}
-         */
-        axis.max = null;
-        /**
-         * The minimum value of the axis. In a logarithmic axis, this is the
-         * logarithm of the real value, and the real value can be obtained from
-         * {@link Axis#getExtremes}.
-         *
-         * @name Highcharts.Axis#min
-         * @type {number|null}
-         */
-        axis.min = null;
-        /**
-         * The processed crosshair options.
-         *
-         * @name Highcharts.Axis#crosshair
-         * @type {boolean|Highcharts.AxisCrosshairOptions}
-         */
-        axis.crosshair = pick(options.crosshair, splat(chart.options.tooltip.crosshairs)[isXAxis ? 0 : 1], false);
-        var events = axis.options.events;
-        // Register. Don't add it again on Axis.update().
-        if (chart.axes.indexOf(axis) === -1) { //
-            if (isXAxis) { // #2713
-                chart.axes.splice(chart.xAxis.length, 0, axis);
-            }
-            else {
-                chart.axes.push(axis);
-            }
-            chart[axis.coll].push(axis);
-        }
-        /**
-         * All series associated to the axis.
-         *
-         * @name Highcharts.Axis#series
-         * @type {Array<Highcharts.Series>}
-         */
-        axis.series = axis.series || []; // populated by Series
-        // Reversed axis
-        if (chart.inverted &&
-            !axis.isZAxis &&
-            isXAxis &&
-            typeof axis.reversed === 'undefined') {
-            axis.reversed = true;
-        }
-        axis.labelRotation = axis.options.labels.rotation;
-        // register event listeners
-        objectEach(events, function (event, eventType) {
-            if (isFunction(event)) {
-                addEvent(axis, eventType, event);
-            }
-        });
-        fireEvent(this, 'afterInit');
-    };
-    /**
-     * Merge and set options.
-     *
-     * @private
-     * @function Highcharts.Axis#setOptions
-     *
-     * @param {Highcharts.AxisOptions} userOptions
-     * Axis options.
-     *
-     * @fires Highcharts.Axis#event:afterSetOptions
-     */
-    Axis.prototype.setOptions = function (userOptions) {
-        this.options = merge(Axis.defaultOptions, (this.coll === 'yAxis') && Axis.defaultYAxisOptions, [
-            Axis.defaultTopAxisOptions,
-            Axis.defaultRightAxisOptions,
-            Axis.defaultBottomAxisOptions,
-            Axis.defaultLeftAxisOptions
-        ][this.side], merge(
-        // if set in setOptions (#1053):
-        defaultOptions[this.coll], userOptions));
-        fireEvent(this, 'afterSetOptions', { userOptions: userOptions });
-    };
-    /**
-     * The default label formatter. The context is a special config object for
-     * the label. In apps, use the
-     * [labels.formatter](https://api.highcharts.com/highcharts/xAxis.labels.formatter)
-     * instead, except when a modification is needed.
-     *
-     * @function Highcharts.Axis#defaultLabelFormatter
-     *
-     * @param {Highcharts.AxisLabelsFormatterContextObject<number>|Highcharts.AxisLabelsFormatterContextObject<string>} this
-     * Formatter context of axis label.
-     *
-     * @return {string}
-     * The formatted label content.
-     */
-    Axis.prototype.defaultLabelFormatter = function () {
-        var axis = this.axis, value = isNumber(this.value) ? this.value : NaN, time = axis.chart.time, categories = axis.categories, dateTimeLabelFormat = this.dateTimeLabelFormat, lang = defaultOptions.lang, numericSymbols = lang.numericSymbols, numSymMagnitude = lang.numericSymbolMagnitude || 1000, i = numericSymbols && numericSymbols.length, multi, ret, formatOption = axis.options.labels.format, 
-        // make sure the same symbol is added for all labels on a linear
-        // axis
-        numericSymbolDetector = axis.logarithmic ?
-            Math.abs(value) :
-            axis.tickInterval;
-        var chart = this.chart;
-        var numberFormatter = chart.numberFormatter;
-        if (formatOption) {
-            ret = format(formatOption, this, chart);
-        }
-        else if (categories) {
-            ret = "" + this.value;
-        }
-        else if (dateTimeLabelFormat) { // datetime axis
-            ret = time.dateFormat(dateTimeLabelFormat, value);
-        }
-        else if (i && numericSymbolDetector >= 1000) {
-            // Decide whether we should add a numeric symbol like k (thousands)
-            // or M (millions). If we are to enable this in tooltip or other
-            // places as well, we can move this logic to the numberFormatter and
-            // enable it by a parameter.
-            while (i-- && typeof ret === 'undefined') {
-                multi = Math.pow(numSymMagnitude, i + 1);
-                if (
-                // Only accept a numeric symbol when the distance is more
-                // than a full unit. So for example if the symbol is k, we
-                // don't accept numbers like 0.5k.
-                numericSymbolDetector >= multi &&
-                    // Accept one decimal before the symbol. Accepts 0.5k but
-                    // not 0.25k. How does this work with the previous?
-                    (value * 10) % multi === 0 &&
-                    numericSymbols[i] !== null &&
-                    value !== 0) { // #5480
-                    ret = numberFormatter(value / multi, -1) + numericSymbols[i];
-                }
-            }
-        }
-        if (typeof ret === 'undefined') {
-            if (Math.abs(value) >= 10000) { // add thousands separators
-                ret = numberFormatter(value, -1);
-            }
-            else { // small numbers
-                ret = numberFormatter(value, -1, void 0, ''); // #2466
-            }
-        }
-        return ret;
-    };
-    /**
-     * Get the minimum and maximum for the series of each axis. The function
-     * analyzes the axis series and updates `this.dataMin` and `this.dataMax`.
-     *
-     * @private
-     * @function Highcharts.Axis#getSeriesExtremes
-     *
-     * @fires Highcharts.Axis#event:afterGetSeriesExtremes
-     * @fires Highcharts.Axis#event:getSeriesExtremes
-     */
-    Axis.prototype.getSeriesExtremes = function () {
-        var axis = this, chart = axis.chart, xExtremes;
-        fireEvent(this, 'getSeriesExtremes', null, function () {
-            axis.hasVisibleSeries = false;
-            // Reset properties in case we're redrawing (#3353)
-            axis.dataMin = axis.dataMax = axis.threshold = null;
-            axis.softThreshold = !axis.isXAxis;
-            if (axis.stacking) {
-                axis.stacking.buildStacks();
-            }
-            // loop through this axis' series
-            axis.series.forEach(function (series) {
-                if (series.visible ||
-                    !chart.options.chart.ignoreHiddenSeries) {
-                    var seriesOptions = series.options, xData, threshold = seriesOptions.threshold, seriesDataMin, seriesDataMax;
-                    axis.hasVisibleSeries = true;
-                    // Validate threshold in logarithmic axes
-                    if (axis.positiveValuesOnly && threshold <= 0) {
-                        threshold = null;
-                    }
-                    // Get dataMin and dataMax for X axes
-                    if (axis.isXAxis) {
-                        xData = series.xData;
-                        if (xData.length) {
-                            var isPositive = function (number) { return number > 0; };
-                            xData = axis.logarithmic ?
-                                xData.filter(axis.validatePositiveValue) :
-                                xData;
-                            xExtremes = series.getXExtremes(xData);
-                            // If xData contains values which is not numbers,
-                            // then filter them out. To prevent performance hit,
-                            // we only do this after we have already found
-                            // seriesDataMin because in most cases all data is
-                            // valid. #5234.
-                            seriesDataMin = xExtremes.min;
-                            seriesDataMax = xExtremes.max;
-                            if (!isNumber(seriesDataMin) &&
-                                // #5010:
-                                !(seriesDataMin instanceof Date)) {
-                                xData = xData.filter(isNumber);
-                                xExtremes = series.getXExtremes(xData);
-                                // Do it again with valid data
-                                seriesDataMin = xExtremes.min;
-                                seriesDataMax = xExtremes.max;
-                            }
-                            if (xData.length) {
-                                axis.dataMin = Math.min(pick(axis.dataMin, seriesDataMin), seriesDataMin);
-                                axis.dataMax = Math.max(pick(axis.dataMax, seriesDataMax), seriesDataMax);
-                            }
-                        }
-                        // Get dataMin and dataMax for Y axes, as well as handle
-                        // stacking and processed data
-                    }
-                    else {
-                        // Get this particular series extremes
-                        var dataExtremes = series.applyExtremes();
-                        // Get the dataMin and dataMax so far. If percentage is
-                        // used, the min and max are always 0 and 100. If
-                        // seriesDataMin and seriesDataMax is null, then series
-                        // doesn't have active y data, we continue with nulls
-                        if (isNumber(dataExtremes.dataMin)) {
-                            seriesDataMin = dataExtremes.dataMin;
-                            axis.dataMin = Math.min(pick(axis.dataMin, seriesDataMin), seriesDataMin);
-                        }
-                        if (isNumber(dataExtremes.dataMax)) {
-                            seriesDataMax = dataExtremes.dataMax;
-                            axis.dataMax = Math.max(pick(axis.dataMax, seriesDataMax), seriesDataMax);
-                        }
-                        // Adjust to threshold
-                        if (defined(threshold)) {
-                            axis.threshold = threshold;
-                        }
-                        // If any series has a hard threshold, it takes
-                        // precedence
-                        if (!seriesOptions.softThreshold ||
-                            axis.positiveValuesOnly) {
-                            axis.softThreshold = false;
-                        }
-                    }
-                }
-            });
-        });
-        fireEvent(this, 'afterGetSeriesExtremes');
-    };
-    /**
-     * Translate from axis value to pixel position on the chart, or back. Use
-     * the `toPixels` and `toValue` functions in applications.
-     *
-     * @private
-     * @function Highcharts.Axis#translate
-     *
-     * @param {number} val
-     * TO-DO: parameter description
-     *
-     * @param {boolean|null} [backwards]
-     * TO-DO: parameter description
-     *
-     * @param {boolean|null} [cvsCoord]
-     * TO-DO: parameter description
-     *
-     * @param {boolean|null} [old]
-     * TO-DO: parameter description
-     *
-     * @param {boolean} [handleLog]
-     * TO-DO: parameter description
-     *
-     * @param {number} [pointPlacement]
-     * TO-DO: parameter description
-     *
-     * @return {number|undefined}
-     */
-    Axis.prototype.translate = function (val, backwards, cvsCoord, old, handleLog, pointPlacement) {
-        var axis = this.linkedParent || this, // #1417
-        sign = 1, cvsOffset = 0, localA = old && axis.old ? axis.old.transA : axis.transA, localMin = old && axis.old ? axis.old.min : axis.min, returnValue = 0, minPixelPadding = axis.minPixelPadding, doPostTranslate = (axis.isOrdinal ||
-            axis.brokenAxis && axis.brokenAxis.hasBreaks ||
-            (axis.logarithmic && handleLog)) && axis.lin2val;
-        if (!localA) {
-            localA = axis.transA;
-        }
-        // In vertical axes, the canvas coordinates start from 0 at the top like
-        // in SVG.
-        if (cvsCoord) {
-            sign *= -1; // canvas coordinates inverts the value
-            cvsOffset = axis.len;
-        }
-        // Handle reversed axis
-        if (axis.reversed) {
-            sign *= -1;
-            cvsOffset -= sign * (axis.sector || axis.len);
-        }
-        // From pixels to value
-        if (backwards) { // reverse translation
-            val = val * sign + cvsOffset;
-            val -= minPixelPadding;
-            // from chart pixel to value:
-            returnValue = val / localA + localMin;
-            if (doPostTranslate) { // log and ordinal axes
-                returnValue = axis.lin2val(returnValue);
-            }
-            // From value to pixels
-        }
-        else {
-            if (doPostTranslate) { // log and ordinal axes
-                val = axis.val2lin(val);
-            }
-            returnValue = isNumber(localMin) ?
-                (sign * (val - localMin) * localA +
-                    cvsOffset +
-                    (sign * minPixelPadding) +
-                    (isNumber(pointPlacement) ?
-                        localA * pointPlacement :
-                        0)) :
-                void 0;
-        }
-        return returnValue;
-    };
-    /**
-     * Translate a value in terms of axis units into pixels within the chart.
-     *
-     * @function Highcharts.Axis#toPixels
-     *
-     * @param {number} value
-     * A value in terms of axis units.
-     *
-     * @param {boolean} paneCoordinates
-     * Whether to return the pixel coordinate relative to the chart or just the
-     * axis/pane itself.
-     *
-     * @return {number}
-     * Pixel position of the value on the chart or axis.
-     */
-    Axis.prototype.toPixels = function (value, paneCoordinates) {
-        return this.translate(value, false, !this.horiz, null, true) +
-            (paneCoordinates ? 0 : this.pos);
-    };
-    /**
-     * Translate a pixel position along the axis to a value in terms of axis
-     * units.
-     *
-     * @function Highcharts.Axis#toValue
-     *
-     * @param {number} pixel
-     * The pixel value coordinate.
-     *
-     * @param {boolean} [paneCoordinates=false]
-     * Whether the input pixel is relative to the chart or just the axis/pane
-     * itself.
-     *
-     * @return {number}
-     * The axis value.
-     */
-    Axis.prototype.toValue = function (pixel, paneCoordinates) {
-        return this.translate(pixel - (paneCoordinates ? 0 : this.pos), true, !this.horiz, null, true);
-    };
-    /**
-     * Create the path for a plot line that goes from the given value on
-     * this axis, across the plot to the opposite side. Also used internally for
-     * grid lines and crosshairs.
-     *
-     * @function Highcharts.Axis#getPlotLinePath
-     *
-     * @param {Highcharts.AxisPlotLinePathOptionsObject} options
-     * Options for the path.
-     *
-     * @return {Highcharts.SVGPathArray|null}
-     * The SVG path definition for the plot line.
-     */
-    Axis.prototype.getPlotLinePath = function (options) {
-        var axis = this, chart = axis.chart, axisLeft = axis.left, axisTop = axis.top, old = options.old, value = options.value, translatedValue = options.translatedValue, lineWidth = options.lineWidth, force = options.force, x1, y1, x2, y2, cHeight = (old && chart.oldChartHeight) || chart.chartHeight, cWidth = (old && chart.oldChartWidth) || chart.chartWidth, skip, transB = axis.transB, evt;
-        // eslint-disable-next-line valid-jsdoc
-        /**
-         * Check if x is between a and b. If not, either move to a/b
-         * or skip, depending on the force parameter.
-         * @private
-         */
-        function between(x, a, b) {
-            if (force !== 'pass' && x < a || x > b) {
-                if (force) {
-                    x = clamp(x, a, b);
-                }
-                else {
-                    skip = true;
-                }
-            }
-            return x;
-        }
-        evt = {
-            value: value,
-            lineWidth: lineWidth,
-            old: old,
-            force: force,
-            acrossPanes: options.acrossPanes,
-            translatedValue: translatedValue
-        };
-        fireEvent(this, 'getPlotLinePath', evt, function (e) {
-            translatedValue = pick(translatedValue, axis.translate(value, null, null, old));
-            // Keep the translated value within sane bounds, and avoid Infinity
-            // to fail the isNumber test (#7709).
-            translatedValue = clamp(translatedValue, -1e5, 1e5);
-            x1 = x2 = Math.round(translatedValue + transB);
-            y1 = y2 = Math.round(cHeight - translatedValue - transB);
-            if (!isNumber(translatedValue)) { // no min or max
-                skip = true;
-                force = false; // #7175, don't force it when path is invalid
-            }
-            else if (axis.horiz) {
-                y1 = axisTop;
-                y2 = cHeight - axis.bottom;
-                x1 = x2 = between(x1, axisLeft, axisLeft + axis.width);
-            }
-            else {
-                x1 = axisLeft;
-                x2 = cWidth - axis.right;
-                y1 = y2 = between(y1, axisTop, axisTop + axis.height);
-            }
-            e.path = skip && !force ?
-                null :
-                chart.renderer.crispLine([['M', x1, y1], ['L', x2, y2]], lineWidth || 1);
-        });
-        return evt.path;
-    };
-    /**
-     * Internal function to get the tick positions of a linear axis to round
-     * values like whole tens or every five.
-     *
-     * @function Highcharts.Axis#getLinearTickPositions
-     *
-     * @param {number} tickInterval
-     * The normalized tick interval.
-     *
-     * @param {number} min
-     * Axis minimum.
-     *
-     * @param {number} max
-     * Axis maximum.
-     *
-     * @return {Array<number>}
-     * An array of axis values where ticks should be placed.
-     */
-    Axis.prototype.getLinearTickPositions = function (tickInterval, min, max) {
-        var pos, lastPos, roundedMin = correctFloat(Math.floor(min / tickInterval) * tickInterval), roundedMax = correctFloat(Math.ceil(max / tickInterval) * tickInterval), tickPositions = [], precision;
-        // When the precision is higher than what we filter out in
-        // correctFloat, skip it (#6183).
-        if (correctFloat(roundedMin + tickInterval) === roundedMin) {
-            precision = 20;
-        }
-        // For single points, add a tick regardless of the relative position
-        // (#2662, #6274)
-        if (this.single) {
-            return [min];
-        }
-        // Populate the intermediate values
-        pos = roundedMin;
-        while (pos <= roundedMax) {
-            // Place the tick on the rounded value
-            tickPositions.push(pos);
-            // Always add the raw tickInterval, not the corrected one.
-            pos = correctFloat(pos + tickInterval, precision);
-            // If the interval is not big enough in the current min - max range
-            // to actually increase the loop variable, we need to break out to
-            // prevent endless loop. Issue #619
-            if (pos === lastPos) {
-                break;
-            }
-            // Record the last value
-            lastPos = pos;
-        }
-        return tickPositions;
-    };
-    /**
-     * Resolve the new minorTicks/minorTickInterval options into the legacy
-     * loosely typed minorTickInterval option.
-     *
-     * @function Highcharts.Axis#getMinorTickInterval
-     *
-     * @return {number|"auto"|null}
-     */
-    Axis.prototype.getMinorTickInterval = function () {
-        var options = this.options;
-        if (options.minorTicks === true) {
-            return pick(options.minorTickInterval, 'auto');
-        }
-        if (options.minorTicks === false) {
-            return null;
-        }
-        return options.minorTickInterval;
-    };
-    /**
-     * Internal function to return the minor tick positions. For logarithmic
-     * axes, the same logic as for major ticks is reused.
-     *
-     * @function Highcharts.Axis#getMinorTickPositions
-     *
-     * @return {Array<number>}
-     * An array of axis values where ticks should be placed.
-     */
-    Axis.prototype.getMinorTickPositions = function () {
-        var axis = this, options = axis.options, tickPositions = axis.tickPositions, minorTickInterval = axis.minorTickInterval, minorTickPositions = [], pos, pointRangePadding = axis.pointRangePadding || 0, min = axis.min - pointRangePadding, // #1498
-        max = axis.max + pointRangePadding, // #1498
-        range = max - min;
-        // If minor ticks get too dense, they are hard to read, and may cause
-        // long running script. So we don't draw them.
-        if (range && range / minorTickInterval < axis.len / 3) { // #3875
-            var logarithmic_1 = axis.logarithmic;
-            if (logarithmic_1) {
-                // For each interval in the major ticks, compute the minor ticks
-                // separately.
-                this.paddedTicks.forEach(function (_pos, i, paddedTicks) {
-                    if (i) {
-                        minorTickPositions.push.apply(minorTickPositions, logarithmic_1.getLogTickPositions(minorTickInterval, paddedTicks[i - 1], paddedTicks[i], true));
-                    }
-                });
-            }
-            else if (axis.dateTime &&
-                this.getMinorTickInterval() === 'auto') { // #1314
-                minorTickPositions = minorTickPositions.concat(axis.getTimeTicks(axis.dateTime.normalizeTimeTickInterval(minorTickInterval), min, max, options.startOfWeek));
-            }
-            else {
-                for (pos = min + (tickPositions[0] - min) % minorTickInterval; pos <= max; pos += minorTickInterval) {
-                    // Very, very, tight grid lines (#5771)
-                    if (pos === minorTickPositions[0]) {
-                        break;
-                    }
-                    minorTickPositions.push(pos);
-                }
-            }
-        }
-        if (minorTickPositions.length !== 0) {
-            axis.trimTicks(minorTickPositions); // #3652 #3743 #1498 #6330
-        }
-        return minorTickPositions;
-    };
-    /**
-     * Adjust the min and max for the minimum range. Keep in mind that the
-     * series data is not yet processed, so we don't have information on data
-     * cropping and grouping, or updated `axis.pointRange` or
-     * `series.pointRange`. The data can't be processed until we have finally
-     * established min and max.
-     *
-     * @private
-     * @function Highcharts.Axis#adjustForMinRange
-     */
-    Axis.prototype.adjustForMinRange = function () {
-        var axis = this, options = axis.options, min = axis.min, max = axis.max, log = axis.logarithmic, zoomOffset, spaceAvailable, closestDataRange = 0, i, distance, xData, loopLength, minArgs, maxArgs, minRange;
-        // Set the automatic minimum range based on the closest point distance
-        if (axis.isXAxis &&
-            typeof axis.minRange === 'undefined' &&
-            !log) {
-            if (defined(options.min) || defined(options.max)) {
-                axis.minRange = null; // don't do this again
-            }
-            else {
-                // Find the closest distance between raw data points, as opposed
-                // to closestPointRange that applies to processed points
-                // (cropped and grouped)
-                axis.series.forEach(function (series) {
-                    xData = series.xData;
-                    loopLength = series.xIncrement ? 1 : xData.length - 1;
-                    if (xData.length > 1) {
-                        for (i = loopLength; i > 0; i--) {
-                            distance = xData[i] - xData[i - 1];
-                            if (!closestDataRange || distance < closestDataRange) {
-                                closestDataRange = distance;
-                            }
-                        }
-                    }
-                });
-                axis.minRange = Math.min(closestDataRange * 5, axis.dataMax - axis.dataMin);
-            }
-        }
-        // if minRange is exceeded, adjust
-        if (max - min < axis.minRange) {
-            spaceAvailable =
-                axis.dataMax - axis.dataMin >=
-                    axis.minRange;
-            minRange = axis.minRange;
-            zoomOffset = (minRange - max + min) / 2;
-            // if min and max options have been set, don't go beyond it
-            minArgs = [
-                min - zoomOffset,
-                pick(options.min, min - zoomOffset)
-            ];
-            // If space is available, stay within the data range
-            if (spaceAvailable) {
-                minArgs[2] = axis.logarithmic ?
-                    axis.logarithmic.log2lin(axis.dataMin) :
-                    axis.dataMin;
-            }
-            min = arrayMax(minArgs);
-            maxArgs = [
-                min + minRange,
-                pick(options.max, min + minRange)
-            ];
-            // If space is availabe, stay within the data range
-            if (spaceAvailable) {
-                maxArgs[2] = log ?
-                    log.log2lin(axis.dataMax) :
-                    axis.dataMax;
-            }
-            max = arrayMin(maxArgs);
-            // now if the max is adjusted, adjust the min back
-            if (max - min < minRange) {
-                minArgs[0] = max - minRange;
-                minArgs[1] = pick(options.min, max - minRange);
-                min = arrayMax(minArgs);
-            }
-        }
-        // Record modified extremes
-        axis.min = min;
-        axis.max = max;
-    };
-    // eslint-disable-next-line valid-jsdoc
-    /**
-     * Find the closestPointRange across all series.
-     *
-     * @private
-     * @function Highcharts.Axis#getClosest
-     */
-    Axis.prototype.getClosest = function () {
-        var ret;
-        if (this.categories) {
-            ret = 1;
-        }
-        else {
-            this.series.forEach(function (series) {
-                var seriesClosest = series.closestPointRange, visible = series.visible ||
-                    !series.chart.options.chart.ignoreHiddenSeries;
-                if (!series.noSharedTooltip &&
-                    defined(seriesClosest) &&
-                    visible) {
-                    ret = defined(ret) ?
-                        Math.min(ret, seriesClosest) :
-                        seriesClosest;
-                }
-            });
-        }
-        return ret;
-    };
-    /**
-     * When a point name is given and no x, search for the name in the existing
-     * categories, or if categories aren't provided, search names or create a
-     * new category (#2522).
-     * @private
-     * @function Highcharts.Axis#nameToX
-     *
-     * @param {Highcharts.Point} point
-     * The point to inspect.
-     *
-     * @return {number}
-     * The X value that the point is given.
-     */
-    Axis.prototype.nameToX = function (point) {
-        var explicitCategories = isArray(this.categories), names = explicitCategories ? this.categories : this.names, nameX = point.options.x, x;
-        point.series.requireSorting = false;
-        if (!defined(nameX)) {
-            nameX = this.options.uniqueNames === false ?
-                point.series.autoIncrement() :
-                (explicitCategories ?
-                    names.indexOf(point.name) :
-                    pick(names.keys[point.name], -1));
-        }
-        if (nameX === -1) { // Not found in currenct categories
-            if (!explicitCategories) {
-                x = names.length;
-            }
-        }
-        else {
-            x = nameX;
-        }
-        // Write the last point's name to the names array
-        if (typeof x !== 'undefined') {
-            this.names[x] = point.name;
-            // Backwards mapping is much faster than array searching (#7725)
-            this.names.keys[point.name] = x;
-        }
-        return x;
-    };
-    /**
-     * When changes have been done to series data, update the axis.names.
-     *
-     * @private
-     * @function Highcharts.Axis#updateNames
-     */
-    Axis.prototype.updateNames = function () {
-        var axis = this, names = this.names, i = names.length;
-        if (i > 0) {
-            Object.keys(names.keys).forEach(function (key) {
-                delete (names.keys)[key];
-            });
-            names.length = 0;
-            this.minRange = this.userMinRange; // Reset
-            (this.series || []).forEach(function (series) {
-                // Reset incrementer (#5928)
-                series.xIncrement = null;
-                // When adding a series, points are not yet generated
-                if (!series.points || series.isDirtyData) {
-                    // When we're updating the series with data that is longer
-                    // than it was, and cropThreshold is passed, we need to make
-                    // sure that the axis.max is increased _before_ running the
-                    // premature processData. Otherwise this early iteration of
-                    // processData will crop the points to axis.max, and the
-                    // names array will be too short (#5857).
-                    axis.max = Math.max(axis.max, series.xData.length - 1);
-                    series.processData();
-                    series.generatePoints();
-                }
-                series.data.forEach(function (point, i) {
-                    var x;
-                    if (point &&
-                        point.options &&
-                        typeof point.name !== 'undefined' // #9562
-                    ) {
-                        x = axis.nameToX(point);
-                        if (typeof x !== 'undefined' && x !== point.x) {
-                            point.x = x;
-                            series.xData[i] = x;
-                        }
-                    }
-                });
-            });
-        }
-    };
-    /**
-     * Update translation information.
-     *
-     * @private
-     * @function Highcharts.Axis#setAxisTranslation
-     *
-     * @fires Highcharts.Axis#event:afterSetAxisTranslation
-     */
-    Axis.prototype.setAxisTranslation = function () {
-        var axis = this, range = axis.max - axis.min, pointRange = axis.axisPointRange || 0, closestPointRange, minPointOffset = 0, pointRangePadding = 0, linkedParent = axis.linkedParent, ordinalCorrection, hasCategories = !!axis.categories, transA = axis.transA, isXAxis = axis.isXAxis;
-        // Adjust translation for padding. Y axis with categories need to go
-        // through the same (#1784).
-        if (isXAxis || hasCategories || pointRange) {
-            // Get the closest points
-            closestPointRange = axis.getClosest();
-            if (linkedParent) {
-                minPointOffset = linkedParent.minPointOffset;
-                pointRangePadding = linkedParent.pointRangePadding;
-            }
-            else {
-                axis.series.forEach(function (series) {
-                    var seriesPointRange = hasCategories ?
-                        1 :
-                        (isXAxis ?
-                            pick(series.options.pointRange, closestPointRange, 0) :
-                            (axis.axisPointRange || 0)), // #2806
-                    pointPlacement = series.options.pointPlacement;
-                    pointRange = Math.max(pointRange, seriesPointRange);
-                    if (!axis.single || hasCategories) {
-                        // TODO: series should internally set x- and y-
-                        // pointPlacement to simplify this logic.
-                        var isPointPlacementAxis = series.is('xrange') ? !isXAxis : isXAxis;
-                        // minPointOffset is the value padding to the left of
-                        // the axis in order to make room for points with a
-                        // pointRange, typically columns. When the
-                        // pointPlacement option is 'between' or 'on', this
-                        // padding does not apply.
-                        minPointOffset = Math.max(minPointOffset, isPointPlacementAxis && isString(pointPlacement) ?
-                            0 :
-                            seriesPointRange / 2);
-                        // Determine the total padding needed to the length of
-                        // the axis to make room for the pointRange. If the
-                        // series' pointPlacement is 'on', no padding is added.
-                        pointRangePadding = Math.max(pointRangePadding, isPointPlacementAxis && pointPlacement === 'on' ?
-                            0 :
-                            seriesPointRange);
-                    }
-                });
-            }
-            // Record minPointOffset and pointRangePadding
-            ordinalCorrection = axis.ordinal && axis.ordinal.slope && closestPointRange ?
-                axis.ordinal.slope / closestPointRange :
-                1; // #988, #1853
-            axis.minPointOffset = minPointOffset =
-                minPointOffset * ordinalCorrection;
-            axis.pointRangePadding =
-                pointRangePadding = pointRangePadding * ordinalCorrection;
-            // pointRange means the width reserved for each point, like in a
-            // column chart
-            axis.pointRange = Math.min(pointRange, axis.single && hasCategories ? 1 : range);
-            // closestPointRange means the closest distance between points. In
-            // columns it is mostly equal to pointRange, but in lines pointRange
-            // is 0 while closestPointRange is some other value
-            if (isXAxis) {
-                axis.closestPointRange = closestPointRange;
-            }
-        }
-        // Secondary values
-        axis.translationSlope = axis.transA = transA =
-            axis.staticScale ||
-                axis.len / ((range + pointRangePadding) || 1);
-        // Translation addend
-        axis.transB = axis.horiz ? axis.left : axis.bottom;
-        axis.minPixelPadding = transA * minPointOffset;
-        fireEvent(this, 'afterSetAxisTranslation');
-    };
-    /**
-     * @private
-     * @function Highcharts.Axis#minFromRange
-     *
-     * @return {number}
-     */
-    Axis.prototype.minFromRange = function () {
-        var axis = this;
-        return axis.max - axis.range;
-    };
-    /**
-     * Set the tick positions to round values and optionally extend the extremes
-     * to the nearest tick.
-     *
-     * @private
-     * @function Highcharts.Axis#setTickInterval
-     *
-     * @param {boolean} secondPass
-     * TO-DO: parameter description
-     *
-     * @fires Highcharts.Axis#event:foundExtremes
-     */
-    Axis.prototype.setTickInterval = function (secondPass) {
-        var axis = this, chart = axis.chart, log = axis.logarithmic, options = axis.options, isXAxis = axis.isXAxis, isLinked = axis.isLinked, maxPadding = options.maxPadding, minPadding = options.minPadding, length, linkedParentExtremes, tickIntervalOption = options.tickInterval, minTickInterval, tickPixelIntervalOption = options.tickPixelInterval, categories = axis.categories, threshold = isNumber(axis.threshold) ? axis.threshold : null, softThreshold = axis.softThreshold, thresholdMin, thresholdMax, hardMin, hardMax;
-        if (!axis.dateTime && !categories && !isLinked) {
-            this.getTickAmount();
-        }
-        // Min or max set either by zooming/setExtremes or initial options
-        hardMin = pick(axis.userMin, options.min);
-        hardMax = pick(axis.userMax, options.max);
-        // Linked axis gets the extremes from the parent axis
-        if (isLinked) {
-            axis.linkedParent = chart[axis.coll][options.linkedTo];
-            linkedParentExtremes = axis.linkedParent.getExtremes();
-            axis.min = pick(linkedParentExtremes.min, linkedParentExtremes.dataMin);
-            axis.max = pick(linkedParentExtremes.max, linkedParentExtremes.dataMax);
-            if (options.type !== axis.linkedParent.options.type) {
-                // Can't link axes of different type
-                error(11, 1, chart);
-            }
-            // Initial min and max from the extreme data values
-        }
-        else {
-            // Adjust to hard threshold
-            if (softThreshold && defined(threshold)) {
-                if (axis.dataMin >= threshold) {
-                    thresholdMin = threshold;
-                    minPadding = 0;
-                }
-                else if (axis.dataMax <= threshold) {
-                    thresholdMax = threshold;
-                    maxPadding = 0;
-                }
-            }
-            axis.min = pick(hardMin, thresholdMin, axis.dataMin);
-            axis.max = pick(hardMax, thresholdMax, axis.dataMax);
-        }
-        if (log) {
-            if (axis.positiveValuesOnly &&
-                !secondPass &&
-                Math.min(axis.min, pick(axis.dataMin, axis.min)) <= 0) { // #978
-                // Can't plot negative values on log axis
-                error(10, 1, chart);
-            }
-            // The correctFloat cures #934, float errors on full tens. But it
-            // was too aggressive for #4360 because of conversion back to lin,
-            // therefore use precision 15.
-            axis.min = correctFloat(log.log2lin(axis.min), 16);
-            axis.max = correctFloat(log.log2lin(axis.max), 16);
-        }
-        // handle zoomed range
-        if (axis.range && defined(axis.max)) {
-            // #618, #6773:
-            axis.userMin = axis.min = hardMin =
-                Math.max(axis.dataMin, axis.minFromRange());
-            axis.userMax = hardMax = axis.max;
-            axis.range = null; // don't use it when running setExtremes
-        }
-        // Hook for Highstock Scroller. Consider combining with beforePadding.
-        fireEvent(axis, 'foundExtremes');
-        // Hook for adjusting this.min and this.max. Used by bubble series.
-        if (axis.beforePadding) {
-            axis.beforePadding();
-        }
-        // adjust min and max for the minimum range
-        axis.adjustForMinRange();
-        // Pad the values to get clear of the chart's edges. To avoid
-        // tickInterval taking the padding into account, we do this after
-        // computing tick interval (#1337).
-        if (!categories &&
-            !axis.axisPointRange &&
-            !(axis.stacking && axis.stacking.usePercentage) &&
-            !isLinked &&
-            defined(axis.min) &&
-            defined(axis.max)) {
-            length = axis.max - axis.min;
-            if (length) {
-                if (!defined(hardMin) && minPadding) {
-                    axis.min -= length * minPadding;
-                }
-                if (!defined(hardMax) && maxPadding) {
-                    axis.max += length * maxPadding;
-                }
-            }
-        }
-        // Handle options for floor, ceiling, softMin and softMax (#6359)
-        if (!isNumber(axis.userMin)) {
-            if (isNumber(options.softMin) && options.softMin < axis.min) {
-                axis.min = hardMin = options.softMin; // #6894
-            }
-            if (isNumber(options.floor)) {
-                axis.min = Math.max(axis.min, options.floor);
-            }
-        }
-        if (!isNumber(axis.userMax)) {
-            if (isNumber(options.softMax) && options.softMax > axis.max) {
-                axis.max = hardMax = options.softMax; // #6894
-            }
-            if (isNumber(options.ceiling)) {
-                axis.max = Math.min(axis.max, options.ceiling);
-            }
-        }
-        // When the threshold is soft, adjust the extreme value only if the data
-        // extreme and the padded extreme land on either side of the threshold.
-        // For example, a series of [0, 1, 2, 3] would make the yAxis add a tick
-        // for -1 because of the default minPadding and startOnTick options.
-        // This is prevented by the softThreshold option.
-        if (softThreshold && defined(axis.dataMin)) {
-            threshold = threshold || 0;
-            if (!defined(hardMin) &&
-                axis.min < threshold &&
-                axis.dataMin >= threshold) {
-                axis.min = axis.options.minRange ?
-                    Math.min(threshold, axis.max -
-                        axis.minRange) :
-                    threshold;
-            }
-            else if (!defined(hardMax) &&
-                axis.max > threshold &&
-                axis.dataMax <= threshold) {
-                axis.max = axis.options.minRange ?
-                    Math.max(threshold, axis.min +
-                        axis.minRange) :
-                    threshold;
-            }
-        }
-        // If min is bigger than highest, or if max less than lowest value, the
-        // chart should not render points. (#14417)
-        if (isNumber(axis.min) &&
-            isNumber(axis.max) &&
-            !this.chart.polar &&
-            (axis.min > axis.max)) {
-            if (defined(axis.options.min)) {
-                axis.max = axis.min;
-            }
-            else if (defined(axis.options.max)) {
-                axis.min = axis.max;
-            }
-        }
-        // get tickInterval
-        if (axis.min === axis.max ||
-            typeof axis.min === 'undefined' ||
-            typeof axis.max === 'undefined') {
-            axis.tickInterval = 1;
-        }
-        else if (isLinked &&
-            !tickIntervalOption &&
-            tickPixelIntervalOption ===
-                axis.linkedParent.options.tickPixelInterval) {
-            axis.tickInterval = tickIntervalOption =
-                axis.linkedParent.tickInterval;
-        }
-        else {
-            axis.tickInterval = pick(tickIntervalOption, this.tickAmount ?
-                ((axis.max - axis.min) /
-                    Math.max(this.tickAmount - 1, 1)) :
-                void 0, 
-            // For categoried axis, 1 is default, for linear axis use
-            // tickPix
-            categories ?
-                1 :
-                // don't let it be more than the data range
-                (axis.max - axis.min) *
-                    tickPixelIntervalOption /
-                    Math.max(axis.len, tickPixelIntervalOption));
-        }
-        // Now we're finished detecting min and max, crop and group series data.
-        // This is in turn needed in order to find tick positions in ordinal
-        // axes.
-        if (isXAxis && !secondPass) {
-            axis.series.forEach(function (series) {
-                var _a, _b;
-                series.processData(axis.min !== ((_a = axis.old) === null || _a === void 0 ? void 0 : _a.min) || axis.max !== ((_b = axis.old) === null || _b === void 0 ? void 0 : _b.max));
-            });
-        }
-        // set the translation factor used in translate function
-        axis.setAxisTranslation();
-        // hook for ordinal axes and radial axes
-        fireEvent(this, 'initialAxisTranslation');
-        // In column-like charts, don't cramp in more ticks than there are
-        // points (#1943, #4184)
-        if (axis.pointRange && !tickIntervalOption) {
-            axis.tickInterval = Math.max(axis.pointRange, axis.tickInterval);
-        }
-        // Before normalizing the tick interval, handle minimum tick interval.
-        // This applies only if tickInterval is not defined.
-        minTickInterval = pick(options.minTickInterval, 
-        // In datetime axes, don't go below the data interval, except when
-        // there are scatter-like series involved (#13369).
-        axis.dateTime &&
-            !axis.series.some(function (s) { return s.noSharedTooltip; }) ?
-            axis.closestPointRange : 0);
-        if (!tickIntervalOption && axis.tickInterval < minTickInterval) {
-            axis.tickInterval = minTickInterval;
-        }
-        // for linear axes, get magnitude and normalize the interval
-        if (!axis.dateTime && !axis.logarithmic && !tickIntervalOption) {
-            axis.tickInterval = normalizeTickInterval(axis.tickInterval, void 0, getMagnitude(axis.tickInterval), pick(options.allowDecimals, 
-            // If the tick interval is greather than 0.5, avoid
-            // decimals, as linear axes are often used to render
-            // discrete values. #3363. If a tick amount is set, allow
-            // decimals by default, as it increases the chances for a
-            // good fit.
-            axis.tickInterval < 0.5 || this.tickAmount !== void 0), !!this.tickAmount);
-        }
-        // Prevent ticks from getting so close that we can't draw the labels
-        if (!this.tickAmount) {
-            axis.tickInterval = axis.unsquish();
-        }
-        this.setTickPositions();
-    };
-    /**
-     * Now we have computed the normalized tickInterval, get the tick positions.
-     *
-     * @private
-     * @function Highcharts.Axis#setTickPositions
-     *
-     * @fires Highcharts.Axis#event:afterSetTickPositions
-     */
-    Axis.prototype.setTickPositions = function () {
-        var axis = this, options = this.options, tickPositions, tickPositionsOption = options.tickPositions, minorTickIntervalOption = this.getMinorTickInterval(), tickPositioner = options.tickPositioner, hasVerticalPanning = this.hasVerticalPanning(), isColorAxis = this.coll === 'colorAxis', startOnTick = (isColorAxis || !hasVerticalPanning) && options.startOnTick, endOnTick = (isColorAxis || !hasVerticalPanning) && options.endOnTick;
-        // Set the tickmarkOffset
-        this.tickmarkOffset = (this.categories &&
-            options.tickmarkPlacement === 'between' &&
-            this.tickInterval === 1) ? 0.5 : 0; // #3202
-        // get minorTickInterval
-        this.minorTickInterval =
-            minorTickIntervalOption === 'auto' &&
-                this.tickInterval ?
-                this.tickInterval / 5 :
-                minorTickIntervalOption;
-        // When there is only one point, or all points have the same value on
-        // this axis, then min and max are equal and tickPositions.length is 0
-        // or 1. In this case, add some padding in order to center the point,
-        // but leave it with one tick. #1337.
-        this.single =
-            this.min === this.max &&
-                defined(this.min) &&
-                !this.tickAmount &&
-                (
-                // Data is on integer (#6563)
-                parseInt(this.min, 10) === this.min ||
-                    // Between integers and decimals are not allowed (#6274)
-                    options.allowDecimals !== false);
-        /**
-         * Contains the current positions that are laid out on the axis. The
-         * positions are numbers in terms of axis values. In a category axis
-         * they are integers, in a datetime axis they are also integers, but
-         * designating milliseconds.
-         *
-         * This property is read only - for modifying the tick positions, use
-         * the `tickPositioner` callback or [axis.tickPositions(
-         * https://api.highcharts.com/highcharts/xAxis.tickPositions) option
-         * instead.
-         *
-         * @name Highcharts.Axis#tickPositions
-         * @type {Highcharts.AxisTickPositionsArray|undefined}
-         */
-        this.tickPositions =
-            // Find the tick positions. Work on a copy (#1565)
-            tickPositions =
-                (tickPositionsOption && tickPositionsOption.slice());
-        if (!tickPositions) {
-            // Too many ticks (#6405). Create a friendly warning and provide two
-            // ticks so at least we can show the data series.
-            if ((!axis.ordinal || !axis.ordinal.positions) &&
-                ((this.max - this.min) /
-                    this.tickInterval >
-                    Math.max(2 * this.len, 200))) {
-                tickPositions = [this.min, this.max];
-                error(19, false, this.chart);
-            }
-            else if (axis.dateTime) {
-                tickPositions = axis.getTimeTicks(axis.dateTime.normalizeTimeTickInterval(this.tickInterval, options.units), this.min, this.max, options.startOfWeek, axis.ordinal && axis.ordinal.positions, this.closestPointRange, true);
-            }
-            else if (axis.logarithmic) {
-                tickPositions = axis.logarithmic.getLogTickPositions(this.tickInterval, this.min, this.max);
-            }
-            else {
-                tickPositions = this.getLinearTickPositions(this.tickInterval, this.min, this.max);
-            }
-            // Too dense ticks, keep only the first and last (#4477)
-            if (tickPositions.length > this.len) {
-                tickPositions = [tickPositions[0], tickPositions.pop()];
-                // Reduce doubled value (#7339)
-                if (tickPositions[0] === tickPositions[1]) {
-                    tickPositions.length = 1;
-                }
-            }
-            this.tickPositions = tickPositions;
-            // Run the tick positioner callback, that allows modifying auto tick
-            // positions.
-            if (tickPositioner) {
-                tickPositioner = tickPositioner.apply(axis, [this.min, this.max]);
-                if (tickPositioner) {
-                    this.tickPositions = tickPositions = tickPositioner;
-                }
-            }
-        }
-        // Reset min/max or remove extremes based on start/end on tick
-        this.paddedTicks = tickPositions.slice(0); // Used for logarithmic minor
-        this.trimTicks(tickPositions, startOnTick, endOnTick);
-        if (!this.isLinked) {
-            // Substract half a unit (#2619, #2846, #2515, #3390),
-            // but not in case of multiple ticks (#6897)
-            if (this.single &&
-                tickPositions.length < 2 &&
-                !this.categories &&
-                !this.series.some(function (s) {
-                    return (s.is('heatmap') && s.options.pointPlacement === 'between');
-                })) {
-                this.min -= 0.5;
-                this.max += 0.5;
-            }
-            if (!tickPositionsOption && !tickPositioner) {
-                this.adjustTickAmount();
-            }
-        }
-        fireEvent(this, 'afterSetTickPositions');
-    };
-    /**
-     * Handle startOnTick and endOnTick by either adapting to padding min/max or
-     * rounded min/max. Also handle single data points.
-     *
-     * @private
-     * @function Highcharts.Axis#trimTicks
-     *
-     * @param {Array<number>} tickPositions
-     * TO-DO: parameter description
-     *
-     * @param {boolean} [startOnTick]
-     * TO-DO: parameter description
-     *
-     * @param {boolean} [endOnTick]
-     * TO-DO: parameter description
-     */
-    Axis.prototype.trimTicks = function (tickPositions, startOnTick, endOnTick) {
-        var roundedMin = tickPositions[0], roundedMax = tickPositions[tickPositions.length - 1], minPointOffset = (!this.isOrdinal && this.minPointOffset) || 0; // (#12716)
-        fireEvent(this, 'trimTicks');
-        if (!this.isLinked) {
-            if (startOnTick && roundedMin !== -Infinity) { // #6502
-                this.min = roundedMin;
-            }
-            else {
-                while (this.min - minPointOffset > tickPositions[0]) {
-                    tickPositions.shift();
-                }
-            }
-            if (endOnTick) {
-                this.max = roundedMax;
-            }
-            else {
-                while (this.max + minPointOffset <
-                    tickPositions[tickPositions.length - 1]) {
-                    tickPositions.pop();
-                }
-            }
-            // If no tick are left, set one tick in the middle (#3195)
-            if (tickPositions.length === 0 &&
-                defined(roundedMin) &&
-                !this.options.tickPositions) {
-                tickPositions.push((roundedMax + roundedMin) / 2);
-            }
-        }
-    };
-    /**
-     * Check if there are multiple axes in the same pane.
-     *
-     * @private
-     * @function Highcharts.Axis#alignToOthers
-     *
-     * @return {boolean|undefined}
-     * True if there are other axes.
-     */
-    Axis.prototype.alignToOthers = function () {
-        var axis = this, others = // Whether there is another axis to pair with this one
-         {}, hasOther, options = axis.options;
-        if (
-        // Only if alignTicks is true
-        this.chart.options.chart.alignTicks !== false &&
-            options.alignTicks !== false &&
-            // Disabled when startOnTick or endOnTick are false (#7604)
-            options.startOnTick !== false &&
-            options.endOnTick !== false &&
-            // Don't try to align ticks on a log axis, they are not evenly
-            // spaced (#6021)
-            !axis.logarithmic) {
-            this.chart[this.coll].forEach(function (axis) {
-                var otherOptions = axis.options, horiz = axis.horiz, key = [
-                    horiz ? otherOptions.left : otherOptions.top,
-                    otherOptions.width,
-                    otherOptions.height,
-                    otherOptions.pane
-                ].join(',');
-                if (axis.series.length) { // #4442
-                    if (others[key]) {
-                        hasOther = true; // #4201
-                    }
-                    else {
-                        others[key] = 1;
-                    }
-                }
-            });
-        }
-        return hasOther;
-    };
-    /**
-     * Find the max ticks of either the x and y axis collection, and record it
-     * in `this.tickAmount`.
-     *
-     * @private
-     * @function Highcharts.Axis#getTickAmount
-     */
-    Axis.prototype.getTickAmount = function () {
-        var axis = this, options = this.options, tickAmount = options.tickAmount, tickPixelInterval = options.tickPixelInterval;
-        if (!defined(options.tickInterval) &&
-            !tickAmount &&
-            this.len < tickPixelInterval &&
-            !this.isRadial &&
-            !axis.logarithmic &&
-            options.startOnTick &&
-            options.endOnTick) {
-            tickAmount = 2;
-        }
-        if (!tickAmount && this.alignToOthers()) {
-            // Add 1 because 4 tick intervals require 5 ticks (including first
-            // and last)
-            tickAmount = Math.ceil(this.len / tickPixelInterval) + 1;
-        }
-        // For tick amounts of 2 and 3, compute five ticks and remove the
-        // intermediate ones. This prevents the axis from adding ticks that are
-        // too far away from the data extremes.
-        if (tickAmount < 4) {
-            this.finalTickAmt = tickAmount;
-            tickAmount = 5;
-        }
-        this.tickAmount = tickAmount;
-    };
-    /**
-     * When using multiple axes, adjust the number of ticks to match the highest
-     * number of ticks in that group.
-     *
-     * @private
-     * @function Highcharts.Axis#adjustTickAmount
-     */
-    Axis.prototype.adjustTickAmount = function () {
-        var axis = this, axisOptions = axis.options, tickInterval = axis.tickInterval, tickPositions = axis.tickPositions, tickAmount = axis.tickAmount, finalTickAmt = axis.finalTickAmt, currentTickAmount = tickPositions && tickPositions.length, threshold = pick(axis.threshold, axis.softThreshold ? 0 : null), len, i;
-        if (axis.hasData() && isNumber(axis.min) && isNumber(axis.max)) { // #14769
-            if (currentTickAmount < tickAmount) {
-                while (tickPositions.length < tickAmount) {
-                    // Extend evenly for both sides unless we're on the
-                    // threshold (#3965)
-                    if (tickPositions.length % 2 ||
-                        axis.min === threshold) {
-                        // to the end
-                        tickPositions.push(correctFloat(tickPositions[tickPositions.length - 1] +
-                            tickInterval));
-                    }
-                    else {
-                        // to the start
-                        tickPositions.unshift(correctFloat(tickPositions[0] - tickInterval));
-                    }
-                }
-                axis.transA *= (currentTickAmount - 1) / (tickAmount - 1);
-                // Do not crop when ticks are not extremes (#9841)
-                axis.min = axisOptions.startOnTick ?
-                    tickPositions[0] :
-                    Math.min(axis.min, tickPositions[0]);
-                axis.max = axisOptions.endOnTick ?
-                    tickPositions[tickPositions.length - 1] :
-                    Math.max(axis.max, tickPositions[tickPositions.length - 1]);
-                // We have too many ticks, run second pass to try to reduce ticks
-            }
-            else if (currentTickAmount > tickAmount) {
-                axis.tickInterval *= 2;
-                axis.setTickPositions();
-            }
-            // The finalTickAmt property is set in getTickAmount
-            if (defined(finalTickAmt)) {
-                i = len = tickPositions.length;
-                while (i--) {
-                    if (
-                    // Remove every other tick
-                    (finalTickAmt === 3 && i % 2 === 1) ||
-                        // Remove all but first and last
-                        (finalTickAmt <= 2 && i > 0 && i < len - 1)) {
-                        tickPositions.splice(i, 1);
-                    }
-                }
-                axis.finalTickAmt = void 0;
-            }
-        }
-    };
-    /**
-     * Set the scale based on data min and max, user set min and max or options.
-     *
-     * @private
-     * @function Highcharts.Axis#setScale
-     *
-     * @fires Highcharts.Axis#event:afterSetScale
-     */
-    Axis.prototype.setScale = function () {
-        var _a, _b, _c, _d, _e;
-        var axis = this, isDirtyAxisLength, isDirtyData = false, isXAxisDirty = false;
-        axis.series.forEach(function (series) {
-            var _a;
-            isDirtyData = isDirtyData || series.isDirtyData || series.isDirty;
-            // When x axis is dirty, we need new data extremes for y as
-            // well:
-            isXAxisDirty = isXAxisDirty || ((_a = series.xAxis) === null || _a === void 0 ? void 0 : _a.isDirty) || false;
-        });
-        // set the new axisLength
-        axis.setAxisSize();
-        isDirtyAxisLength = axis.len !== ((_a = axis.old) === null || _a === void 0 ? void 0 : _a.len);
-        // do we really need to go through all this?
-        if (isDirtyAxisLength ||
-            isDirtyData ||
-            isXAxisDirty ||
-            axis.isLinked ||
-            axis.forceRedraw ||
-            axis.userMin !== ((_b = axis.old) === null || _b === void 0 ? void 0 : _b.userMin) ||
-            axis.userMax !== ((_c = axis.old) === null || _c === void 0 ? void 0 : _c.userMax) ||
-            axis.alignToOthers()) {
-            if (axis.stacking) {
-                axis.stacking.resetStacks();
-            }
-            axis.forceRedraw = false;
-            // get data extremes if needed
-            axis.getSeriesExtremes();
-            // get fixed positions based on tickInterval
-            axis.setTickInterval();
-            // Mark as dirty if it is not already set to dirty and extremes have
-            // changed. #595.
-            if (!axis.isDirty) {
-                axis.isDirty =
-                    isDirtyAxisLength ||
-                        axis.min !== ((_d = axis.old) === null || _d === void 0 ? void 0 : _d.min) ||
-                        axis.max !== ((_e = axis.old) === null || _e === void 0 ? void 0 : _e.max);
-            }
-        }
-        else if (axis.stacking) {
-            axis.stacking.cleanStacks();
-        }
-        // Recalculate panning state object, when the data
-        // has changed. It is required when vertical panning is enabled.
-        if (isDirtyData && axis.panningState) {
-            axis.panningState.isDirty = true;
-        }
-        fireEvent(this, 'afterSetScale');
-    };
-    /**
-     * Set the minimum and maximum of the axes after render time. If the
-     * `startOnTick` and `endOnTick` options are true, the minimum and maximum
-     * values are rounded off to the nearest tick. To prevent this, these
-     * options can be set to false before calling setExtremes. Also, setExtremes
-     * will not allow a range lower than the `minRange` option, which by default
-     * is the range of five points.
-     *
-     * @sample highcharts/members/axis-setextremes/
-     *         Set extremes from a button
-     * @sample highcharts/members/axis-setextremes-datetime/
-     *         Set extremes on a datetime axis
-     * @sample highcharts/members/axis-setextremes-off-ticks/
-     *         Set extremes off ticks
-     * @sample stock/members/axis-setextremes/
-     *         Set extremes in Highstock
-     * @sample maps/members/axis-setextremes/
-     *         Set extremes in Highmaps
-     *
-     * @function Highcharts.Axis#setExtremes
-     *
-     * @param {number} [newMin]
-     *        The new minimum value.
-     *
-     * @param {number} [newMax]
-     *        The new maximum value.
-     *
-     * @param {boolean} [redraw=true]
-     *        Whether to redraw the chart or wait for an explicit call to
-     *        {@link Highcharts.Chart#redraw}
-     *
-     * @param {boolean|Partial<Highcharts.AnimationOptionsObject>} [animation=true]
-     *        Enable or modify animations.
-     *
-     * @param {*} [eventArguments]
-     *        Arguments to be accessed in event handler.
-     *
-     * @fires Highcharts.Axis#event:setExtremes
-     */
-    Axis.prototype.setExtremes = function (newMin, newMax, redraw, animation, eventArguments) {
-        var axis = this, chart = axis.chart;
-        redraw = pick(redraw, true); // defaults to true
-        axis.series.forEach(function (serie) {
-            delete serie.kdTree;
-        });
-        // Extend the arguments with min and max
-        eventArguments = extend(eventArguments, {
-            min: newMin,
-            max: newMax
-        });
-        // Fire the event
-        fireEvent(axis, 'setExtremes', eventArguments, function () {
-            axis.userMin = newMin;
-            axis.userMax = newMax;
-            axis.eventArgs = eventArguments;
-            if (redraw) {
-                chart.redraw(animation);
-            }
-        });
-    };
-    /**
-     * Overridable method for zooming chart. Pulled out in a separate method to
-     * allow overriding in stock charts.
-     * @private
-     * @function Highcharts.Axis#zoom
-     *
-     * @param {number} newMin
-     * TO-DO: parameter description
-     *
-     * @param {number} newMax
-     * TO-DO: parameter description
-     *
-     * @return {boolean}
-     */
-    Axis.prototype.zoom = function (newMin, newMax) {
-        var axis = this, dataMin = this.dataMin, dataMax = this.dataMax, options = this.options, min = Math.min(dataMin, pick(options.min, dataMin)), max = Math.max(dataMax, pick(options.max, dataMax)), evt = {
-            newMin: newMin,
-            newMax: newMax
-        };
-        fireEvent(this, 'zoom', evt, function (e) {
-            // Use e.newMin and e.newMax - event handlers may have altered them
-            var newMin = e.newMin, newMax = e.newMax;
-            if (newMin !== axis.min || newMax !== axis.max) { // #5790
-                // Prevent pinch zooming out of range. Check for defined is for
-                // #1946. #1734.
-                if (!axis.allowZoomOutside) {
-                    // #6014, sometimes newMax will be smaller than min (or
-                    // newMin will be larger than max).
-                    if (defined(dataMin)) {
-                        if (newMin < min) {
-                            newMin = min;
-                        }
-                        if (newMin > max) {
-                            newMin = max;
-                        }
-                    }
-                    if (defined(dataMax)) {
-                        if (newMax < min) {
-                            newMax = min;
-                        }
-                        if (newMax > max) {
-                            newMax = max;
-                        }
-                    }
-                }
-                // In full view, displaying the reset zoom button is not
-                // required
-                axis.displayBtn = (typeof newMin !== 'undefined' ||
-                    typeof newMax !== 'undefined');
-                // Do it
-                axis.setExtremes(newMin, newMax, false, void 0, { trigger: 'zoom' });
-            }
-            e.zoomed = true;
-        });
-        return evt.zoomed;
-    };
-    /**
-     * Update the axis metrics.
-     *
-     * @private
-     * @function Highcharts.Axis#setAxisSize
-     */
-    Axis.prototype.setAxisSize = function () {
-        var chart = this.chart, options = this.options, 
-        // [top, right, bottom, left]
-        offsets = options.offsets || [0, 0, 0, 0], horiz = this.horiz, 
-        // Check for percentage based input values. Rounding fixes problems
-        // with column overflow and plot line filtering (#4898, #4899)
-        width = this.width = Math.round(relativeLength(pick(options.width, chart.plotWidth - offsets[3] + offsets[1]), chart.plotWidth)), height = this.height = Math.round(relativeLength(pick(options.height, chart.plotHeight - offsets[0] + offsets[2]), chart.plotHeight)), top = this.top = Math.round(relativeLength(pick(options.top, chart.plotTop + offsets[0]), chart.plotHeight, chart.plotTop)), left = this.left = Math.round(relativeLength(pick(options.left, chart.plotLeft + offsets[3]), chart.plotWidth, chart.plotLeft));
-        // Expose basic values to use in Series object and navigator
-        this.bottom = chart.chartHeight - height - top;
-        this.right = chart.chartWidth - width - left;
-        // Direction agnostic properties
-        this.len = Math.max(horiz ? width : height, 0); // Math.max fixes #905
-        this.pos = horiz ? left : top; // distance from SVG origin
-    };
-    /**
-     * Get the current extremes for the axis.
-     *
-     * @sample highcharts/members/axis-getextremes/
-     *         Report extremes by click on a button
-     * @sample maps/members/axis-getextremes/
-     *         Get extremes in Highmaps
-     *
-     * @function Highcharts.Axis#getExtremes
-     *
-     * @return {Highcharts.ExtremesObject}
-     * An object containing extremes information.
-     */
-    Axis.prototype.getExtremes = function () {
-        var axis = this;
-        var log = axis.logarithmic;
-        return {
-            min: log ?
-                correctFloat(log.lin2log(axis.min)) :
-                axis.min,
-            max: log ?
-                correctFloat(log.lin2log(axis.max)) :
-                axis.max,
-            dataMin: axis.dataMin,
-            dataMax: axis.dataMax,
-            userMin: axis.userMin,
-            userMax: axis.userMax
-        };
-    };
-    /**
-     * Get the zero plane either based on zero or on the min or max value.
-     * Used in bar and area plots.
-     *
-     * @function Highcharts.Axis#getThreshold
-     *
-     * @param {number} threshold
-     * The threshold in axis values.
-     *
-     * @return {number|undefined}
-     * The translated threshold position in terms of pixels, and corrected to
-     * stay within the axis bounds.
-     */
-    Axis.prototype.getThreshold = function (threshold) {
-        var axis = this, log = axis.logarithmic, realMin = log ? log.lin2log(axis.min) : axis.min, realMax = log ? log.lin2log(axis.max) : axis.max;
-        if (threshold === null || threshold === -Infinity) {
-            threshold = realMin;
-        }
-        else if (threshold === Infinity) {
-            threshold = realMax;
-        }
-        else if (realMin > threshold) {
-            threshold = realMin;
-        }
-        else if (realMax < threshold) {
-            threshold = realMax;
-        }
-        return axis.translate(threshold, 0, 1, 0, 1);
-    };
-    /**
-     * Compute auto alignment for the axis label based on which side the axis is
-     * on and the given rotation for the label.
-     *
-     * @private
-     * @function Highcharts.Axis#autoLabelAlign
-     *
-     * @param {number} rotation
-     * The rotation in degrees as set by either the `rotation` or `autoRotation`
-     * options.
-     *
-     * @return {Highcharts.AlignValue}
-     * Can be `"center"`, `"left"` or `"right"`.
-     */
-    Axis.prototype.autoLabelAlign = function (rotation) {
-        var angle = (pick(rotation, 0) - (this.side * 90) + 720) % 360, evt = { align: 'center' };
-        fireEvent(this, 'autoLabelAlign', evt, function (e) {
-            if (angle > 15 && angle < 165) {
-                e.align = 'right';
-            }
-            else if (angle > 195 && angle < 345) {
-                e.align = 'left';
-            }
-        });
-        return evt.align;
-    };
-    /**
-     * Get the tick length and width for the axis based on axis options.
-     * @private
-     * @function Highcharts.Axis#tickSize
-     *
-     * @param {string} [prefix]
-     * 'tick' or 'minorTick'
-     *
-     * @return {Array<number,number>|undefined}
-     * An array of tickLength and tickWidth
-     */
-    Axis.prototype.tickSize = function (prefix) {
-        var options = this.options, tickLength = options[prefix === 'tick' ? 'tickLength' : 'minorTickLength'], tickWidth = pick(options[prefix === 'tick' ? 'tickWidth' : 'minorTickWidth'], 
-        // Default to 1 on linear and datetime X axes
-        prefix === 'tick' && this.isXAxis && !this.categories ? 1 : 0), e, tickSize;
-        if (tickWidth && tickLength) {
-            // Negate the length
-            if (options[prefix + 'Position'] === 'inside') {
-                tickLength = -tickLength;
-            }
-            tickSize = [tickLength, tickWidth];
-        }
-        e = { tickSize: tickSize };
-        fireEvent(this, 'afterTickSize', e);
-        return e.tickSize;
-    };
-    /**
-     * Return the size of the labels.
-     *
-     * @private
-     * @function Highcharts.Axis#labelMetrics
-     *
-     * @return {Highcharts.FontMetricsObject}
-     */
-    Axis.prototype.labelMetrics = function () {
-        var index = this.tickPositions && this.tickPositions[0] || 0;
-        return this.chart.renderer.fontMetrics(this.options.labels.style &&
-            this.options.labels.style.fontSize, this.ticks[index] && this.ticks[index].label);
-    };
-    /**
-     * Prevent the ticks from getting so close we can't draw the labels. On a
-     * horizontal axis, this is handled by rotating the labels, removing ticks
-     * and adding ellipsis. On a vertical axis remove ticks and add ellipsis.
-     *
-     * @private
-     * @function Highcharts.Axis#unsquish
-     *
-     * @return {number}
-     */
-    Axis.prototype.unsquish = function () {
-        var labelOptions = this.options.labels, horiz = this.horiz, tickInterval = this.tickInterval, newTickInterval = tickInterval, slotSize = this.len / (((this.categories ? 1 : 0) +
-            this.max -
-            this.min) /
-            tickInterval), rotation, rotationOption = labelOptions.rotation, labelMetrics = this.labelMetrics(), step, bestScore = Number.MAX_VALUE, autoRotation, range = Math.max(this.max - this.min, 0), 
-        // Return the multiple of tickInterval that is needed to avoid
-        // collision
-        getStep = function (spaceNeeded) {
-            var step = spaceNeeded / (slotSize || 1);
-            step = step > 1 ? Math.ceil(step) : 1;
-            // Guard for very small or negative angles (#9835)
-            if (step * tickInterval > range &&
-                spaceNeeded !== Infinity &&
-                slotSize !== Infinity &&
-                range) {
-                step = Math.ceil(range / tickInterval);
-            }
-            return correctFloat(step * tickInterval);
-        };
-        if (horiz) {
-            autoRotation = !labelOptions.staggerLines &&
-                !labelOptions.step &&
-                ( // #3971
-                defined(rotationOption) ?
-                    [rotationOption] :
-                    slotSize < pick(labelOptions.autoRotationLimit, 80) && labelOptions.autoRotation);
-            if (autoRotation) {
-                // Loop over the given autoRotation options, and determine
-                // which gives the best score. The best score is that with
-                // the lowest number of steps and a rotation closest
-                // to horizontal.
-                autoRotation.forEach(function (rot) {
-                    var score;
-                    if (rot === rotationOption ||
-                        (rot && rot >= -90 && rot <= 90)) { // #3891
-                        step = getStep(Math.abs(labelMetrics.h / Math.sin(deg2rad * rot)));
-                        score = step + Math.abs(rot / 360);
-                        if (score < bestScore) {
-                            bestScore = score;
-                            rotation = rot;
-                            newTickInterval = step;
-                        }
-                    }
-                });
-            }
-        }
-        else if (!labelOptions.step) { // #4411
-            newTickInterval = getStep(labelMetrics.h);
-        }
-        this.autoRotation = autoRotation;
-        this.labelRotation = pick(rotation, rotationOption);
-        return newTickInterval;
-    };
-    /**
-     * Get the general slot width for labels/categories on this axis. This may
-     * change between the pre-render (from Axis.getOffset) and the final tick
-     * rendering and placement.
-     *
-     * @private
-     * @function Highcharts.Axis#getSlotWidth
-     *
-     * @param {Highcharts.Tick} [tick] Optionally, calculate the slot width
-     * basing on tick label. It is used in highcharts-3d module, where the slots
-     * has different widths depending on perspective angles.
-     *
-     * @return {number}
-     * The pixel width allocated to each axis label.
-     */
-    Axis.prototype.getSlotWidth = function (tick) {
-        var _a;
-        // #5086, #1580, #1931
-        var chart = this.chart, horiz = this.horiz, labelOptions = this.options.labels, slotCount = Math.max(this.tickPositions.length - (this.categories ? 0 : 1), 1), marginLeft = chart.margin[3];
-        // Used by grid axis
-        if (tick && isNumber(tick.slotWidth)) { // #13221, can be 0
-            return tick.slotWidth;
-        }
-        if (horiz &&
-            labelOptions &&
-            (labelOptions.step || 0) < 2) {
-            if (labelOptions.rotation) { // #4415
-                return 0;
-            }
-            return ((this.staggerLines || 1) * this.len) / slotCount;
-        }
-        if (!horiz) {
-            // #7028
-            var cssWidth = (_a = labelOptions === null || labelOptions === void 0 ? void 0 : labelOptions.style) === null || _a === void 0 ? void 0 : _a.width;
-            if (cssWidth !== void 0) {
-                return parseInt(cssWidth, 10);
-            }
-            if (marginLeft) {
-                return marginLeft - chart.spacing[3];
-            }
-        }
-        // Last resort, a fraction of the available size
-        return chart.chartWidth * 0.33;
-    };
-    /**
-     * Render the axis labels and determine whether ellipsis or rotation need to
-     * be applied.
-     *
-     * @private
-     * @function Highcharts.Axis#renderUnsquish
-     */
-    Axis.prototype.renderUnsquish = function () {
-        var chart = this.chart, renderer = chart.renderer, tickPositions = this.tickPositions, ticks = this.ticks, labelOptions = this.options.labels, labelStyleOptions = (labelOptions && labelOptions.style || {}), horiz = this.horiz, slotWidth = this.getSlotWidth(), innerWidth = Math.max(1, Math.round(slotWidth - 2 * (labelOptions.padding || 5))), attr = {}, labelMetrics = this.labelMetrics(), textOverflowOption = (labelOptions.style &&
-            labelOptions.style.textOverflow), commonWidth, commonTextOverflow, maxLabelLength = 0, label, i, pos;
-        // Set rotation option unless it is "auto", like in gauges
-        if (!isString(labelOptions.rotation)) {
-            // #4443:
-            attr.rotation = labelOptions.rotation || 0;
-        }
-        // Get the longest label length
-        tickPositions.forEach(function (tick) {
-            tick = ticks[tick];
-            // Replace label - sorting animation
-            if (tick.movedLabel) {
-                tick.replaceMovedLabel();
-            }
-            if (tick &&
-                tick.label &&
-                tick.label.textPxLength > maxLabelLength) {
-                maxLabelLength = tick.label.textPxLength;
-            }
-        });
-        this.maxLabelLength = maxLabelLength;
-        // Handle auto rotation on horizontal axis
-        if (this.autoRotation) {
-            // Apply rotation only if the label is too wide for the slot, and
-            // the label is wider than its height.
-            if (maxLabelLength > innerWidth &&
-                maxLabelLength > labelMetrics.h) {
-                attr.rotation = this.labelRotation;
-            }
-            else {
-                this.labelRotation = 0;
-            }
-            // Handle word-wrap or ellipsis on vertical axis
-        }
-        else if (slotWidth) {
-            // For word-wrap or ellipsis
-            commonWidth = innerWidth;
-            if (!textOverflowOption) {
-                commonTextOverflow = 'clip';
-                // On vertical axis, only allow word wrap if there is room
-                // for more lines.
-                i = tickPositions.length;
-                while (!horiz && i--) {
-                    pos = tickPositions[i];
-                    label = ticks[pos].label;
-                    if (label) {
-                        // Reset ellipsis in order to get the correct
-                        // bounding box (#4070)
-                        if (label.styles &&
-                            label.styles.textOverflow === 'ellipsis') {
-                            label.css({ textOverflow: 'clip' });
-                            // Set the correct width in order to read
-                            // the bounding box height (#4678, #5034)
-                        }
-                        else if (label.textPxLength > slotWidth) {
-                            label.css({ width: slotWidth + 'px' });
-                        }
-                        if (label.getBBox().height > (this.len / tickPositions.length -
-                            (labelMetrics.h - labelMetrics.f))) {
-                            label.specificTextOverflow = 'ellipsis';
-                        }
-                    }
-                }
-            }
-        }
-        // Add ellipsis if the label length is significantly longer than ideal
-        if (attr.rotation) {
-            commonWidth = (maxLabelLength > chart.chartHeight * 0.5 ?
-                chart.chartHeight * 0.33 :
-                maxLabelLength);
-            if (!textOverflowOption) {
-                commonTextOverflow = 'ellipsis';
-            }
-        }
-        // Set the explicit or automatic label alignment
-        this.labelAlign = labelOptions.align ||
-            this.autoLabelAlign(this.labelRotation);
-        if (this.labelAlign) {
-            attr.align = this.labelAlign;
-        }
-        // Apply general and specific CSS
-        tickPositions.forEach(function (pos) {
-            var tick = ticks[pos], label = tick && tick.label, widthOption = labelStyleOptions.width, css = {};
-            if (label) {
-                // This needs to go before the CSS in old IE (#4502)
-                label.attr(attr);
-                if (tick.shortenLabel) {
-                    tick.shortenLabel();
-                }
-                else if (commonWidth &&
-                    !widthOption &&
-                    // Setting width in this case messes with the bounding box
-                    // (#7975)
-                    labelStyleOptions.whiteSpace !== 'nowrap' &&
-                    (
-                    // Speed optimizing, #7656
-                    commonWidth < label.textPxLength ||
-                        // Resetting CSS, #4928
-                        label.element.tagName === 'SPAN')) {
-                    css.width = commonWidth + 'px';
-                    if (!textOverflowOption) {
-                        css.textOverflow = (label.specificTextOverflow ||
-                            commonTextOverflow);
-                    }
-                    label.css(css);
-                    // Reset previously shortened label (#8210)
-                }
-                else if (label.styles &&
-                    label.styles.width &&
-                    !css.width &&
-                    !widthOption) {
-                    label.css({ width: null });
-                }
-                delete label.specificTextOverflow;
-                tick.rotation = attr.rotation;
-            }
-        }, this);
-        // Note: Why is this not part of getLabelPosition?
-        this.tickRotCorr = renderer.rotCorr(labelMetrics.b, this.labelRotation || 0, this.side !== 0);
-    };
-    /**
-     * Return true if the axis has associated data.
-     *
-     * @function Highcharts.Axis#hasData
-     *
-     * @return {boolean}
-     * True if the axis has associated visible series and those series have
-     * either valid data points or explicit `min` and `max` settings.
-     */
-    Axis.prototype.hasData = function () {
-        return this.series.some(function (s) {
-            return s.hasData();
-        }) ||
-            (this.options.showEmpty &&
-                defined(this.min) &&
-                defined(this.max));
-    };
-    /**
-     * Adds the title defined in axis.options.title.
-     *
-     * @function Highcharts.Axis#addTitle
-     *
-     * @param {boolean} [display]
-     * Whether or not to display the title.
-     */
-    Axis.prototype.addTitle = function (display) {
-        var axis = this, renderer = axis.chart.renderer, horiz = axis.horiz, opposite = axis.opposite, options = axis.options, axisTitleOptions = options.title, textAlign, styledMode = axis.chart.styledMode;
-        if (!axis.axisTitle) {
-            textAlign = axisTitleOptions.textAlign;
-            if (!textAlign) {
-                textAlign = (horiz ? {
-                    low: 'left',
-                    middle: 'center',
-                    high: 'right'
-                } : {
-                    low: opposite ? 'right' : 'left',
-                    middle: 'center',
-                    high: opposite ? 'left' : 'right'
-                })[axisTitleOptions.align];
-            }
-            axis.axisTitle = renderer
-                .text(axisTitleOptions.text, 0, 0, axisTitleOptions.useHTML)
-                .attr({
-                zIndex: 7,
-                rotation: axisTitleOptions.rotation || 0,
-                align: textAlign
-            })
-                .addClass('highcharts-axis-title');
-            // #7814, don't mutate style option
-            if (!styledMode) {
-                axis.axisTitle.css(merge(axisTitleOptions.style));
-            }
-            axis.axisTitle.add(axis.axisGroup);
-            axis.axisTitle.isNew = true;
-        }
-        // Max width defaults to the length of the axis
-        if (!styledMode &&
-            !axisTitleOptions.style.width &&
-            !axis.isRadial) {
-            axis.axisTitle.css({
-                width: axis.len + 'px'
-            });
-        }
-        // hide or show the title depending on whether showEmpty is set
-        axis.axisTitle[display ? 'show' : 'hide'](display);
-    };
-    /**
-     * Generates a tick for initial positioning.
-     *
-     * @private
-     * @function Highcharts.Axis#generateTick
-     *
-     * @param {number} pos
-     * The tick position in axis values.
-     *
-     * @param {number} [i]
-     * The index of the tick in {@link Axis.tickPositions}.
-     */
-    Axis.prototype.generateTick = function (pos) {
-        var axis = this;
-        var ticks = axis.ticks;
-        if (!ticks[pos]) {
-            ticks[pos] = new Tick(axis, pos);
-        }
-        else {
-            ticks[pos].addLabel(); // update labels depending on tick interval
-        }
-    };
-    /**
-     * Render the tick labels to a preliminary position to get their sizes
-     *
-     * @private
-     * @function Highcharts.Axis#getOffset
-     *
-     * @fires Highcharts.Axis#event:afterGetOffset
-     */
-    Axis.prototype.getOffset = function () {
-        var _this = this;
-        var axis = this, chart = axis.chart, renderer = chart.renderer, options = axis.options, tickPositions = axis.tickPositions, ticks = axis.ticks, horiz = axis.horiz, side = axis.side, invertedSide = chart.inverted &&
-            !axis.isZAxis ? [1, 0, 3, 2][side] : side, hasData, showAxis, titleOffset = 0, titleOffsetOption, titleMargin = 0, axisTitleOptions = options.title, labelOptions = options.labels, labelOffset = 0, // reset
-        labelOffsetPadded, axisOffset = chart.axisOffset, clipOffset = chart.clipOffset, clip, directionFactor = [-1, 1, 1, -1][side], className = options.className, axisParent = axis.axisParent, // Used in color axis
-        lineHeightCorrection;
-        // For reuse in Axis.render
-        hasData = axis.hasData();
-        axis.showAxis = showAxis = hasData || pick(options.showEmpty, true);
-        // Set/reset staggerLines
-        axis.staggerLines = axis.horiz && labelOptions.staggerLines;
-        // Create the axisGroup and gridGroup elements on first iteration
-        if (!axis.axisGroup) {
-            var createGroup = function (name, suffix, zIndex) { return renderer.g(name)
-                .attr({ zIndex: zIndex })
-                .addClass("highcharts-" + _this.coll.toLowerCase() + suffix + " " +
-                (_this.isRadial ? "highcharts-radial-axis" + suffix + " " : '') +
-                (className || ''))
-                .add(axisParent); };
-            axis.gridGroup = createGroup('grid', '-grid', options.gridZIndex || 1);
-            axis.axisGroup = createGroup('axis', '', options.zIndex || 2);
-            axis.labelGroup = createGroup('axis-labels', '-labels', labelOptions.zIndex || 7);
-        }
-        if (hasData || axis.isLinked) {
-            // Generate ticks
-            tickPositions.forEach(function (pos, i) {
-                // i is not used here, but may be used in overrides
-                axis.generateTick(pos, i);
-            });
-            axis.renderUnsquish();
-            // Left side must be align: right and right side must
-            // have align: left for labels
-            axis.reserveSpaceDefault = (side === 0 ||
-                side === 2 ||
-                { 1: 'left', 3: 'right' }[side] === axis.labelAlign);
-            if (pick(labelOptions.reserveSpace, axis.labelAlign === 'center' ? true : null, axis.reserveSpaceDefault)) {
-                tickPositions.forEach(function (pos) {
-                    // get the highest offset
-                    labelOffset = Math.max(ticks[pos].getLabelSize(), labelOffset);
-                });
-            }
-            if (axis.staggerLines) {
-                labelOffset *= axis.staggerLines;
-            }
-            axis.labelOffset = labelOffset * (axis.opposite ? -1 : 1);
-        }
-        else { // doesn't have data
-            objectEach(ticks, function (tick, n) {
-                tick.destroy();
-                delete ticks[n];
-            });
-        }
-        if (axisTitleOptions &&
-            axisTitleOptions.text &&
-            axisTitleOptions.enabled !== false) {
-            axis.addTitle(showAxis);
-            if (showAxis && axisTitleOptions.reserveSpace !== false) {
-                axis.titleOffset = titleOffset =
-                    axis.axisTitle.getBBox()[horiz ? 'height' : 'width'];
-                titleOffsetOption = axisTitleOptions.offset;
-                titleMargin = defined(titleOffsetOption) ?
-                    0 :
-                    pick(axisTitleOptions.margin, horiz ? 5 : 10);
-            }
-        }
-        // Render the axis line
-        axis.renderLine();
-        // handle automatic or user set offset
-        axis.offset = directionFactor * pick(options.offset, axisOffset[side] ? axisOffset[side] + (options.margin || 0) : 0);
-        axis.tickRotCorr = axis.tickRotCorr || { x: 0, y: 0 }; // polar
-        if (side === 0) {
-            lineHeightCorrection = -axis.labelMetrics().h;
-        }
-        else if (side === 2) {
-            lineHeightCorrection = axis.tickRotCorr.y;
-        }
-        else {
-            lineHeightCorrection = 0;
-        }
-        // Find the padded label offset
-        labelOffsetPadded = Math.abs(labelOffset) + titleMargin;
-        if (labelOffset) {
-            labelOffsetPadded -= lineHeightCorrection;
-            labelOffsetPadded += directionFactor * (horiz ?
-                pick(labelOptions.y, axis.tickRotCorr.y + directionFactor * 8) :
-                labelOptions.x);
-        }
-        axis.axisTitleMargin = pick(titleOffsetOption, labelOffsetPadded);
-        if (axis.getMaxLabelDimensions) {
-            axis.maxLabelDimensions = axis.getMaxLabelDimensions(ticks, tickPositions);
-        }
-        // Due to GridAxis.tickSize, tickSize should be calculated after ticks
-        // has rendered.
-        var tickSize = this.tickSize('tick');
-        axisOffset[side] = Math.max(axisOffset[side], axis.axisTitleMargin + titleOffset +
-            directionFactor * axis.offset, labelOffsetPadded, // #3027
-        tickPositions && tickPositions.length && tickSize ?
-            tickSize[0] + directionFactor * axis.offset :
-            0 // #4866
-        );
-        // Decide the clipping needed to keep the graph inside
-        // the plot area and axis lines
-        clip = options.offset ?
-            0 :
-            // #4308, #4371:
-            Math.floor(axis.axisLine.strokeWidth() / 2) * 2;
-        clipOffset[invertedSide] =
-            Math.max(clipOffset[invertedSide], clip);
-        fireEvent(this, 'afterGetOffset');
-    };
-    /**
-     * Internal function to get the path for the axis line. Extended for polar
-     * charts.
-     *
-     * @function Highcharts.Axis#getLinePath
-     *
-     * @param {number} lineWidth
-     * The line width in pixels.
-     *
-     * @return {Highcharts.SVGPathArray}
-     * The SVG path definition in array form.
-     */
-    Axis.prototype.getLinePath = function (lineWidth) {
-        var chart = this.chart, opposite = this.opposite, offset = this.offset, horiz = this.horiz, lineLeft = this.left + (opposite ? this.width : 0) + offset, lineTop = chart.chartHeight - this.bottom -
-            (opposite ? this.height : 0) + offset;
-        if (opposite) {
-            lineWidth *= -1; // crispify the other way - #1480, #1687
-        }
-        return chart.renderer
-            .crispLine([
-            [
-                'M',
-                horiz ?
-                    this.left :
-                    lineLeft,
-                horiz ?
-                    lineTop :
-                    this.top
-            ],
-            [
-                'L',
-                horiz ?
-                    chart.chartWidth - this.right :
-                    lineLeft,
-                horiz ?
-                    lineTop :
-                    chart.chartHeight - this.bottom
-            ]
-        ], lineWidth);
-    };
-    /**
-     * Render the axis line. Called internally when rendering and redrawing the
-     * axis.
-     *
-     * @function Highcharts.Axis#renderLine
-     */
-    Axis.prototype.renderLine = function () {
-        if (!this.axisLine) {
-            this.axisLine = this.chart.renderer.path()
-                .addClass('highcharts-axis-line')
-                .add(this.axisGroup);
-            if (!this.chart.styledMode) {
-                this.axisLine.attr({
-                    stroke: this.options.lineColor,
-                    'stroke-width': this.options.lineWidth,
-                    zIndex: 7
-                });
-            }
-        }
-    };
-    /**
-     * Position the axis title.
-     *
-     * @private
-     * @function Highcharts.Axis#getTitlePosition
-     *
-     * @return {Highcharts.PositionObject}
-     * X and Y positions for the title.
-     */
-    Axis.prototype.getTitlePosition = function () {
-        // compute anchor points for each of the title align options
-        var horiz = this.horiz, axisLeft = this.left, axisTop = this.top, axisLength = this.len, axisTitleOptions = this.options.title, margin = horiz ? axisLeft : axisTop, opposite = this.opposite, offset = this.offset, xOption = axisTitleOptions.x || 0, yOption = axisTitleOptions.y || 0, axisTitle = this.axisTitle, fontMetrics = this.chart.renderer.fontMetrics(axisTitleOptions.style &&
-            axisTitleOptions.style.fontSize, axisTitle), 
-        // The part of a multiline text that is below the baseline of the
-        // first line. Subtract 1 to preserve pixel-perfectness from the
-        // old behaviour (v5.0.12), where only one line was allowed.
-        textHeightOvershoot = Math.max(axisTitle.getBBox(null, 0).height - fontMetrics.h - 1, 0), 
-        // the position in the length direction of the axis
-        alongAxis = {
-            low: margin + (horiz ? 0 : axisLength),
-            middle: margin + axisLength / 2,
-            high: margin + (horiz ? axisLength : 0)
-        }[axisTitleOptions.align], 
-        // the position in the perpendicular direction of the axis
-        offAxis = (horiz ? axisTop + this.height : axisLeft) +
-            (horiz ? 1 : -1) * // horizontal axis reverses the margin
-                (opposite ? -1 : 1) * // so does opposite axes
-                this.axisTitleMargin +
-            [
-                -textHeightOvershoot,
-                textHeightOvershoot,
-                fontMetrics.f,
-                -textHeightOvershoot // left
-            ][this.side], titlePosition = {
-            x: horiz ?
-                alongAxis + xOption :
-                offAxis + (opposite ? this.width : 0) + offset + xOption,
-            y: horiz ?
-                offAxis + yOption - (opposite ? this.height : 0) + offset :
-                alongAxis + yOption
-        };
-        fireEvent(this, 'afterGetTitlePosition', { titlePosition: titlePosition });
-        return titlePosition;
-    };
-    /**
-     * Render a minor tick into the given position. If a minor tick already
-     * exists in this position, move it.
-     *
-     * @function Highcharts.Axis#renderMinorTick
-     *
-     * @param {number} pos
-     * The position in axis values.
-     */
-    Axis.prototype.renderMinorTick = function (pos) {
-        var axis = this;
-        var slideInTicks = axis.chart.hasRendered && axis.old;
-        var minorTicks = axis.minorTicks;
-        if (!minorTicks[pos]) {
-            minorTicks[pos] = new Tick(axis, pos, 'minor');
-        }
-        // Render new ticks in old position
-        if (slideInTicks && minorTicks[pos].isNew) {
-            minorTicks[pos].render(null, true);
-        }
-        minorTicks[pos].render(null, false, 1);
-    };
-    /**
-     * Render a major tick into the given position. If a tick already exists
-     * in this position, move it.
-     *
-     * @function Highcharts.Axis#renderTick
-     *
-     * @param {number} pos
-     * The position in axis values.
-     *
-     * @param {number} i
-     * The tick index.
-     */
-    Axis.prototype.renderTick = function (pos, i) {
-        var _a;
-        var axis = this;
-        var isLinked = axis.isLinked;
-        var ticks = axis.ticks;
-        var slideInTicks = axis.chart.hasRendered && axis.old;
-        // Linked axes need an extra check to find out if
-        if (!isLinked ||
-            (pos >= axis.min && pos <= axis.max) || ((_a = axis.grid) === null || _a === void 0 ? void 0 : _a.isColumn)) {
-            if (!ticks[pos]) {
-                ticks[pos] = new Tick(axis, pos);
-            }
-            // NOTE this seems like overkill. Could be handled in tick.render by
-            // setting old position in attr, then set new position in animate.
-            // render new ticks in old position
-            if (slideInTicks && ticks[pos].isNew) {
-                // Start with negative opacity so that it is visible from
-                // halfway into the animation
-                ticks[pos].render(i, true, -1);
-            }
-            ticks[pos].render(i);
-        }
-    };
-    /**
-     * Render the axis.
-     *
-     * @private
-     * @function Highcharts.Axis#render
-     *
-     * @fires Highcharts.Axis#event:afterRender
-     */
-    Axis.prototype.render = function () {
-        var axis = this, chart = axis.chart, log = axis.logarithmic, renderer = chart.renderer, options = axis.options, isLinked = axis.isLinked, tickPositions = axis.tickPositions, axisTitle = axis.axisTitle, ticks = axis.ticks, minorTicks = axis.minorTicks, alternateBands = axis.alternateBands, stackLabelOptions = options.stackLabels, alternateGridColor = options.alternateGridColor, tickmarkOffset = axis.tickmarkOffset, axisLine = axis.axisLine, showAxis = axis.showAxis, animation = animObject(renderer.globalAnimation), from, to;
-        // Reset
-        axis.labelEdge.length = 0;
-        axis.overlap = false;
-        // Mark all elements inActive before we go over and mark the active ones
-        [ticks, minorTicks, alternateBands].forEach(function (coll) {
-            objectEach(coll, function (tick) {
-                tick.isActive = false;
-            });
-        });
-        // If the series has data draw the ticks. Else only the line and title
-        if (axis.hasData() || isLinked) {
-            // minor ticks
-            if (axis.minorTickInterval && !axis.categories) {
-                axis.getMinorTickPositions().forEach(function (pos) {
-                    axis.renderMinorTick(pos);
-                });
-            }
-            // Major ticks. Pull out the first item and render it last so that
-            // we can get the position of the neighbour label. #808.
-            if (tickPositions.length) { // #1300
-                tickPositions.forEach(function (pos, i) {
-                    axis.renderTick(pos, i);
-                });
-                // In a categorized axis, the tick marks are displayed
-                // between labels. So we need to add a tick mark and
-                // grid line at the left edge of the X axis.
-                if (tickmarkOffset && (axis.min === 0 || axis.single)) {
-                    if (!ticks[-1]) {
-                        ticks[-1] = new Tick(axis, -1, null, true);
-                    }
-                    ticks[-1].render(-1);
-                }
-            }
-            // alternate grid color
-            if (alternateGridColor) {
-                tickPositions.forEach(function (pos, i) {
-                    to = typeof tickPositions[i + 1] !== 'undefined' ?
-                        tickPositions[i + 1] + tickmarkOffset :
-                        axis.max - tickmarkOffset;
-                    if (i % 2 === 0 &&
-                        pos < axis.max &&
-                        to <= axis.max + (chart.polar ?
-                            -tickmarkOffset :
-                            tickmarkOffset)) { // #2248, #4660
-                        if (!alternateBands[pos]) {
-                            // Should be imported from PlotLineOrBand.js, but
-                            // the dependency cycle with axis is a problem
-                            alternateBands[pos] = new H.PlotLineOrBand(axis);
-                        }
-                        from = pos + tickmarkOffset; // #949
-                        alternateBands[pos].options = {
-                            from: log ? log.lin2log(from) : from,
-                            to: log ? log.lin2log(to) : to,
-                            color: alternateGridColor,
-                            className: 'highcharts-alternate-grid'
-                        };
-                        alternateBands[pos].render();
-                        alternateBands[pos].isActive = true;
-                    }
-                });
-            }
-            // custom plot lines and bands
-            if (!axis._addedPlotLB) { // only first time
-                axis._addedPlotLB = true;
-                (options.plotLines || [])
-                    .concat(options.plotBands || [])
-                    .forEach(function (plotLineOptions) {
-                    axis.addPlotBandOrLine(plotLineOptions);
-                });
-            }
-        } // end if hasData
-        // Remove inactive ticks
-        [ticks, minorTicks, alternateBands].forEach(function (coll) {
-            var i, forDestruction = [], delay = animation.duration, destroyInactiveItems = function () {
-                i = forDestruction.length;
-                while (i--) {
-                    // When resizing rapidly, the same items
-                    // may be destroyed in different timeouts,
-                    // or the may be reactivated
-                    if (coll[forDestruction[i]] &&
-                        !coll[forDestruction[i]].isActive) {
-                        coll[forDestruction[i]].destroy();
-                        delete coll[forDestruction[i]];
-                    }
-                }
-            };
-            objectEach(coll, function (tick, pos) {
-                if (!tick.isActive) {
-                    // Render to zero opacity
-                    tick.render(pos, false, 0);
-                    tick.isActive = false;
-                    forDestruction.push(pos);
-                }
-            });
-            // When the objects are finished fading out, destroy them
-            syncTimeout(destroyInactiveItems, coll === alternateBands ||
-                !chart.hasRendered ||
-                !delay ?
-                0 :
-                delay);
-        });
-        // Set the axis line path
-        if (axisLine) {
-            axisLine[axisLine.isPlaced ? 'animate' : 'attr']({
-                d: this.getLinePath(axisLine.strokeWidth())
-            });
-            axisLine.isPlaced = true;
-            // Show or hide the line depending on options.showEmpty
-            axisLine[showAxis ? 'show' : 'hide'](showAxis);
-        }
-        if (axisTitle && showAxis) {
-            var titleXy = axis.getTitlePosition();
-            if (isNumber(titleXy.y)) {
-                axisTitle[axisTitle.isNew ? 'attr' : 'animate'](titleXy);
-                axisTitle.isNew = false;
-            }
-            else {
-                axisTitle.attr('y', -9999);
-                axisTitle.isNew = true;
-            }
-        }
-        // Stacked totals:
-        if (stackLabelOptions && stackLabelOptions.enabled && axis.stacking) {
-            axis.stacking.renderStackTotals();
-        }
-        // End stacked totals
-        // Record old scaling for updating/animation
-        axis.old = {
-            len: axis.len,
-            max: axis.max,
-            min: axis.min,
-            transA: axis.transA,
-            userMax: axis.userMax,
-            userMin: axis.userMin
-        };
-        axis.isDirty = false;
-        fireEvent(this, 'afterRender');
-    };
-    /**
-     * Redraw the axis to reflect changes in the data or axis extremes. Called
-     * internally from Highcharts.Chart#redraw.
-     *
-     * @private
-     * @function Highcharts.Axis#redraw
-     */
-    Axis.prototype.redraw = function () {
-        if (this.visible) {
-            // render the axis
-            this.render();
-            // move plot lines and bands
-            this.plotLinesAndBands.forEach(function (plotLine) {
-                plotLine.render();
-            });
-        }
-        // mark associated series as dirty and ready for redraw
-        this.series.forEach(function (series) {
-            series.isDirty = true;
-        });
-    };
-    /**
-     * Returns an array of axis properties, that should be untouched during
-     * reinitialization.
-     *
-     * @private
-     * @function Highcharts.Axis#getKeepProps
-     *
-     * @return {Array<string>}
-     */
-    Axis.prototype.getKeepProps = function () {
-        return (this.keepProps || Axis.keepProps);
-    };
-    /**
-     * Destroys an Axis instance. See {@link Axis#remove} for the API endpoint
-     * to fully remove the axis.
-     *
-     * @private
-     * @function Highcharts.Axis#destroy
-     *
-     * @param {boolean} [keepEvents]
-     * Whether to preserve events, used internally in Axis.update.
-     */
-    Axis.prototype.destroy = function (keepEvents) {
-        var axis = this, plotLinesAndBands = axis.plotLinesAndBands, plotGroup, i;
-        fireEvent(this, 'destroy', { keepEvents: keepEvents });
-        // Remove the events
-        if (!keepEvents) {
-            removeEvent(axis);
-        }
-        // Destroy collections
-        [axis.ticks, axis.minorTicks, axis.alternateBands].forEach(function (coll) {
-            destroyObjectProperties(coll);
-        });
-        if (plotLinesAndBands) {
-            i = plotLinesAndBands.length;
-            while (i--) { // #1975
-                plotLinesAndBands[i].destroy();
-            }
-        }
-        // Destroy elements
-        ['axisLine', 'axisTitle', 'axisGroup',
-            'gridGroup', 'labelGroup', 'cross', 'scrollbar'].forEach(function (prop) {
-            if (axis[prop]) {
-                axis[prop] = axis[prop].destroy();
-            }
-        });
-        // Destroy each generated group for plotlines and plotbands
-        for (plotGroup in axis.plotLinesAndBandsGroups) { // eslint-disable-line guard-for-in
-            axis.plotLinesAndBandsGroups[plotGroup] =
-                axis.plotLinesAndBandsGroups[plotGroup].destroy();
-        }
-        // Delete all properties and fall back to the prototype.
-        objectEach(axis, function (val, key) {
-            if (axis.getKeepProps().indexOf(key) === -1) {
-                delete axis[key];
-            }
-        });
-    };
-    /**
-     * Internal function to draw a crosshair.
-     *
-     * @function Highcharts.Axis#drawCrosshair
-     *
-     * @param {Highcharts.PointerEventObject} [e]
-     * The event arguments from the modified pointer event, extended with
-     * `chartX` and `chartY`
-     *
-     * @param {Highcharts.Point} [point]
-     * The Point object if the crosshair snaps to points.
-     *
-     * @fires Highcharts.Axis#event:afterDrawCrosshair
-     * @fires Highcharts.Axis#event:drawCrosshair
-     */
-    Axis.prototype.drawCrosshair = function (e, point) {
-        var path, options = this.crosshair, snap = pick(options.snap, true), pos, categorized, graphic = this.cross, crossOptions, chart = this.chart;
-        fireEvent(this, 'drawCrosshair', { e: e, point: point });
-        // Use last available event when updating non-snapped crosshairs without
-        // mouse interaction (#5287)
-        if (!e) {
-            e = this.cross && this.cross.e;
-        }
-        if (
-        // Disabled in options
-        !this.crosshair ||
-            // Snap
-            ((defined(point) || !snap) === false)) {
-            this.hideCrosshair();
-        }
-        else {
-            // Get the path
-            if (!snap) {
-                pos = e &&
-                    (this.horiz ?
-                        e.chartX - this.pos :
-                        this.len - e.chartY + this.pos);
-            }
-            else if (defined(point)) {
-                // #3834
-                pos = pick(this.coll !== 'colorAxis' ?
-                    point.crosshairPos : // 3D axis extension
-                    null, this.isXAxis ?
-                    point.plotX :
-                    this.len - point.plotY);
-            }
-            if (defined(pos)) {
-                crossOptions = {
-                    // value, only used on radial
-                    value: point && (this.isXAxis ?
-                        point.x :
-                        pick(point.stackY, point.y)),
-                    translatedValue: pos
-                };
-                if (chart.polar) {
-                    // Additional information required for crosshairs in
-                    // polar chart
-                    extend(crossOptions, {
-                        isCrosshair: true,
-                        chartX: e && e.chartX,
-                        chartY: e && e.chartY,
-                        point: point
-                    });
-                }
-                path = this.getPlotLinePath(crossOptions) ||
-                    null; // #3189
-            }
-            if (!defined(path)) {
-                this.hideCrosshair();
-                return;
-            }
-            categorized = this.categories && !this.isRadial;
-            // Draw the cross
-            if (!graphic) {
-                this.cross = graphic = chart.renderer
-                    .path()
-                    .addClass('highcharts-crosshair highcharts-crosshair-' +
-                    (categorized ? 'category ' : 'thin ') +
-                    options.className)
-                    .attr({
-                    zIndex: pick(options.zIndex, 2)
-                })
-                    .add();
-                // Presentational attributes
-                if (!chart.styledMode) {
-                    graphic.attr({
-                        stroke: options.color ||
-                            (categorized ?
-                                Color
-                                    .parse(palette.highlightColor20)
-                                    .setOpacity(0.25)
-                                    .get() :
-                                palette.neutralColor20),
-                        'stroke-width': pick(options.width, 1)
-                    }).css({
-                        'pointer-events': 'none'
-                    });
-                    if (options.dashStyle) {
-                        graphic.attr({
-                            dashstyle: options.dashStyle
-                        });
-                    }
-                }
-            }
-            graphic.show().attr({
-                d: path
-            });
-            if (categorized && !options.width) {
-                graphic.attr({
-                    'stroke-width': this.transA
-                });
-            }
-            this.cross.e = e;
-        }
-        fireEvent(this, 'afterDrawCrosshair', { e: e, point: point });
-    };
-    /**
-     * Hide the crosshair if visible.
-     *
-     * @function Highcharts.Axis#hideCrosshair
-     */
-    Axis.prototype.hideCrosshair = function () {
-        if (this.cross) {
-            this.cross.hide();
-        }
-        fireEvent(this, 'afterHideCrosshair');
-    };
-    /**
-    * Check whether the chart has vertical panning ('y' or 'xy' type).
-    *
-    * @private
-    * @function Highcharts.Axis#hasVerticalPanning
-    * @return {boolean}
-    *
-    */
-    Axis.prototype.hasVerticalPanning = function () {
-        var _a;
-        var panningOptions = (_a = this.chart.options.chart) === null || _a === void 0 ? void 0 : _a.panning;
-        return Boolean(panningOptions &&
-            panningOptions.enabled && // #14624
-            /y/.test(panningOptions.type));
-    };
-    /**
-    * Check whether the given value is a positive valid axis value.
-    *
-    * @private
-    * @function Highcharts.Axis#validatePositiveValue
-    *
-    * @param {unknown} value
-    * The axis value
-    *
-    * @return {boolean}
-    */
-    Axis.prototype.validatePositiveValue = function (value) {
-        return isNumber(value) && value > 0;
-    };
-    /**
-     * Update an axis object with a new set of options. The options are merged
-     * with the existing options, so only new or altered options need to be
-     * specified.
-     *
-     * @sample highcharts/members/axis-update/
-     *         Axis update demo
-     *
-     * @function Highcharts.Axis#update
-     *
-     * @param {Highcharts.AxisOptions} options
-     *        The new options that will be merged in with existing options on
-     *        the axis.
-     *
-     * @param {boolean} [redraw=true]
-     *        Whether to redraw the chart after the axis is altered. If doing
-     *        more operations on the chart, it is a good idea to set redraw to
-     *        false and call {@link Chart#redraw} after.
-     */
-    Axis.prototype.update = function (options, redraw) {
-        var chart = this.chart, newEvents = ((options && options.events) || {});
-        options = merge(this.userOptions, options);
-        // Color Axis is not an array,
-        // This change is applied in the ColorAxis wrapper
-        if (chart.options[this.coll].indexOf) {
-            // Don't use this.options.index,
-            // StockChart has Axes in navigator too
-            chart.options[this.coll][chart.options[this.coll].indexOf(this.userOptions)] = options;
-        }
-        // Remove old events, if no new exist (#8161)
-        objectEach(chart.options[this.coll].events, function (fn, ev) {
-            if (typeof newEvents[ev] === 'undefined') {
-                newEvents[ev] = void 0;
-            }
-        });
-        this.destroy(true);
-        this.init(chart, extend(options, { events: newEvents }));
-        chart.isDirtyBox = true;
-        if (pick(redraw, true)) {
-            chart.redraw();
-        }
-    };
-    /**
-     * Remove the axis from the chart.
-     *
-     * @sample highcharts/members/chart-addaxis/
-     *         Add and remove axes
-     *
-     * @function Highcharts.Axis#remove
-     *
-     * @param {boolean} [redraw=true]
-     *        Whether to redraw the chart following the remove.
-     */
-    Axis.prototype.remove = function (redraw) {
-        var chart = this.chart, key = this.coll, // xAxis or yAxis
-        axisSeries = this.series, i = axisSeries.length;
-        // Remove associated series (#2687)
-        while (i--) {
-            if (axisSeries[i]) {
-                axisSeries[i].remove(false);
-            }
-        }
-        // Remove the axis
-        erase(chart.axes, this);
-        erase(chart[key], this);
-        if (isArray(chart.options[key])) {
-            chart.options[key].splice(this.options.index, 1);
-        }
-        else { // color axis, #6488
-            delete chart.options[key];
-        }
-        chart[key].forEach(function (axis, i) {
-            // Re-index, #1706, #8075
-            axis.options.index = axis.userOptions.index = i;
-        });
-        this.destroy();
-        chart.isDirtyBox = true;
-        if (pick(redraw, true)) {
-            chart.redraw();
-        }
-    };
-    /**
-     * Update the axis title by options after render time.
-     *
-     * @sample highcharts/members/axis-settitle/
-     *         Set a new Y axis title
-     *
-     * @function Highcharts.Axis#setTitle
-     *
-     * @param {Highcharts.AxisTitleOptions} titleOptions
-     *        The additional title options.
-     *
-     * @param {boolean} [redraw=true]
-     *        Whether to redraw the chart after setting the title.
-     *
-     * @return {void}
-     */
-    Axis.prototype.setTitle = function (titleOptions, redraw) {
-        this.update({ title: titleOptions }, redraw);
-    };
-    /**
-     * Set new axis categories and optionally redraw.
-     *
-     * @sample highcharts/members/axis-setcategories/
-     *         Set categories by click on a button
-     *
-     * @function Highcharts.Axis#setCategories
-     *
-     * @param {Array<string>} categories
-     *        The new categories.
-     *
-     * @param {boolean} [redraw=true]
-     *        Whether to redraw the chart.
-     */
-    Axis.prototype.setCategories = function (categories, redraw) {
-        this.update({ categories: categories }, redraw);
-    };
-    /* *
-     *
-     *  Static Properties
-     *
-     * */
-    /**
-     * The X axis or category axis. Normally this is the horizontal axis,
-     * though if the chart is inverted this is the vertical axis. In case of
-     * multiple axes, the xAxis node is an array of configuration objects.
-     *
-     * See the [Axis class](/class-reference/Highcharts.Axis) for programmatic
-     * access to the axis.
-     *
-     * @productdesc {highmaps}
-     * In Highmaps, the axis is hidden, but it is used behind the scenes to
-     * control features like zooming and panning. Zooming is in effect the same
-     * as setting the extremes of one of the exes.
-     *
-     * @type         {*|Array<*>}
-     * @optionparent xAxis
-     *
-     * @private
-     */
-    Axis.defaultOptions = {
-        /**
-         * When using multiple axis, the ticks of two or more opposite axes
-         * will automatically be aligned by adding ticks to the axis or axes
-         * with the least ticks, as if `tickAmount` were specified.
-         *
-         * This can be prevented by setting `alignTicks` to false. If the grid
-         * lines look messy, it's a good idea to hide them for the secondary
-         * axis by setting `gridLineWidth` to 0.
-         *
-         * If `startOnTick` or `endOnTick` in an Axis options are set to false,
-         * then the `alignTicks ` will be disabled for the Axis.
-         *
-         * Disabled for logarithmic axes.
-         *
-         * @type      {boolean}
-         * @default   true
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.alignTicks
-         */
-        /**
-         * Whether to allow decimals in this axis' ticks. When counting
-         * integers, like persons or hits on a web page, decimals should
-         * be avoided in the labels.
-         *
-         * @see [minTickInterval](#xAxis.minTickInterval)
-         *
-         * @sample {highcharts|highstock} highcharts/yaxis/allowdecimals-true/
-         *         True by default
-         * @sample {highcharts|highstock} highcharts/yaxis/allowdecimals-false/
-         *         False
-         *
-         * @type      {boolean}
-         * @default   true
-         * @since     2.0
-         * @apioption xAxis.allowDecimals
-         */
-        /**
-         * When using an alternate grid color, a band is painted across the
-         * plot area between every other grid line.
-         *
-         * @sample {highcharts} highcharts/yaxis/alternategridcolor/
-         *         Alternate grid color on the Y axis
-         * @sample {highstock} stock/xaxis/alternategridcolor/
-         *         Alternate grid color on the Y axis
-         *
-         * @type      {Highcharts.ColorType}
-         * @apioption xAxis.alternateGridColor
-         */
-        /**
-         * An array defining breaks in the axis, the sections defined will be
-         * left out and all the points shifted closer to each other.
-         *
-         * @productdesc {highcharts}
-         * Requires that the broken-axis.js module is loaded.
-         *
-         * @sample {highcharts} highcharts/axisbreak/break-simple/
-         *         Simple break
-         * @sample {highcharts|highstock} highcharts/axisbreak/break-visualized/
-         *         Advanced with callback
-         * @sample {highstock} stock/demo/intraday-breaks/
-         *         Break on nights and weekends
-         *
-         * @type      {Array<*>}
-         * @since     4.1.0
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.breaks
-         */
-        /**
-         * A number indicating how much space should be left between the start
-         * and the end of the break. The break size is given in axis units,
-         * so for instance on a `datetime` axis, a break size of 3600000 would
-         * indicate the equivalent of an hour.
-         *
-         * @type      {number}
-         * @default   0
-         * @since     4.1.0
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.breaks.breakSize
-         */
-        /**
-         * The point where the break starts.
-         *
-         * @type      {number}
-         * @since     4.1.0
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.breaks.from
-         */
-        /**
-         * Defines an interval after which the break appears again. By default
-         * the breaks do not repeat.
-         *
-         * @type      {number}
-         * @default   0
-         * @since     4.1.0
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.breaks.repeat
-         */
-        /**
-         * The point where the break ends.
-         *
-         * @type      {number}
-         * @since     4.1.0
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.breaks.to
-         */
-        /**
-         * If categories are present for the xAxis, names are used instead of
-         * numbers for that axis.
-         *
-         * Since Highcharts 3.0, categories can also
-         * be extracted by giving each point a [name](#series.data) and setting
-         * axis [type](#xAxis.type) to `category`. However, if you have multiple
-         * series, best practice remains defining the `categories` array.
-         *
-         * Example: `categories: ['Apples', 'Bananas', 'Oranges']`
-         *
-         * @sample {highcharts} highcharts/demo/line-labels/
-         *         With
-         * @sample {highcharts} highcharts/xaxis/categories/
-         *         Without
-         *
-         * @type      {Array<string>}
-         * @product   highcharts gantt
-         * @apioption xAxis.categories
-         */
-        /**
-         * The highest allowed value for automatically computed axis extremes.
-         *
-         * @see [floor](#xAxis.floor)
-         *
-         * @sample {highcharts|highstock} highcharts/yaxis/floor-ceiling/
-         *         Floor and ceiling
-         *
-         * @type       {number}
-         * @since      4.0
-         * @product    highcharts highstock gantt
-         * @apioption  xAxis.ceiling
-         */
-        /**
-         * A class name that opens for styling the axis by CSS, especially in
-         * Highcharts styled mode. The class name is applied to group elements
-         * for the grid, axis elements and labels.
-         *
-         * @sample {highcharts|highstock|highmaps} highcharts/css/axis/
-         *         Multiple axes with separate styling
-         *
-         * @type      {string}
-         * @since     5.0.0
-         * @apioption xAxis.className
-         */
-        /**
-         * Configure a crosshair that follows either the mouse pointer or the
-         * hovered point.
-         *
-         * In styled mode, the crosshairs are styled in the
-         * `.highcharts-crosshair`, `.highcharts-crosshair-thin` or
-         * `.highcharts-xaxis-category` classes.
-         *
-         * @productdesc {highstock}
-         * In Highstock, by default, the crosshair is enabled on the X axis and
-         * disabled on the Y axis.
-         *
-         * @sample {highcharts} highcharts/xaxis/crosshair-both/
-         *         Crosshair on both axes
-         * @sample {highstock} stock/xaxis/crosshairs-xy/
-         *         Crosshair on both axes
-         * @sample {highmaps} highcharts/xaxis/crosshair-both/
-         *         Crosshair on both axes
-         *
-         * @declare   Highcharts.AxisCrosshairOptions
-         * @type      {boolean|*}
-         * @default   false
-         * @since     4.1
-         * @apioption xAxis.crosshair
-         */
-        /**
-         * A class name for the crosshair, especially as a hook for styling.
-         *
-         * @type      {string}
-         * @since     5.0.0
-         * @apioption xAxis.crosshair.className
-         */
-        /**
-         * The color of the crosshair. Defaults to `#cccccc` for numeric and
-         * datetime axes, and `rgba(204,214,235,0.25)` for category axes, where
-         * the crosshair by default highlights the whole category.
-         *
-         * @sample {highcharts|highstock|highmaps} highcharts/xaxis/crosshair-customized/
-         *         Customized crosshairs
-         *
-         * @type      {Highcharts.ColorType}
-         * @default   #cccccc
-         * @since     4.1
-         * @apioption xAxis.crosshair.color
-         */
-        /**
-         * The dash style for the crosshair. See
-         * [plotOptions.series.dashStyle](#plotOptions.series.dashStyle)
-         * for possible values.
-         *
-         * @sample {highcharts|highmaps} highcharts/xaxis/crosshair-dotted/
-         *         Dotted crosshair
-         * @sample {highstock} stock/xaxis/crosshair-dashed/
-         *         Dashed X axis crosshair
-         *
-         * @type      {Highcharts.DashStyleValue}
-         * @default   Solid
-         * @since     4.1
-         * @apioption xAxis.crosshair.dashStyle
-         */
-        /**
-         * A label on the axis next to the crosshair.
-         *
-         * In styled mode, the label is styled with the
-         * `.highcharts-crosshair-label` class.
-         *
-         * @sample {highstock} stock/xaxis/crosshair-label/
-         *         Crosshair labels
-         * @sample {highstock} highcharts/css/crosshair-label/
-         *         Style mode
-         *
-         * @declare   Highcharts.AxisCrosshairLabelOptions
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label
-         */
-        /**
-         * Alignment of the label compared to the axis. Defaults to `"left"` for
-         * right-side axes, `"right"` for left-side axes and `"center"` for
-         * horizontal axes.
-         *
-         * @type      {Highcharts.AlignValue}
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.align
-         */
-        /**
-         * The background color for the label. Defaults to the related series
-         * color, or `#666666` if that is not available.
-         *
-         * @type      {Highcharts.ColorType}
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.backgroundColor
-         */
-        /**
-         * The border color for the crosshair label
-         *
-         * @type      {Highcharts.ColorType}
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.borderColor
-         */
-        /**
-         * The border corner radius of the crosshair label.
-         *
-         * @type      {number}
-         * @default   3
-         * @since     2.1.10
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.borderRadius
-         */
-        /**
-         * The border width for the crosshair label.
-         *
-         * @type      {number}
-         * @default   0
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.borderWidth
-         */
-        /**
-         * Flag to enable crosshair's label.
-         *
-         * @sample {highstock} stock/xaxis/crosshairs-xy/
-         *         Enabled label for yAxis' crosshair
-         *
-         * @type      {boolean}
-         * @default   false
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.enabled
-         */
-        /**
-         * A format string for the crosshair label. Defaults to `{value}` for
-         * numeric axes and `{value:%b %d, %Y}` for datetime axes.
-         *
-         * @type      {string}
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.format
-         */
-        /**
-         * Formatter function for the label text.
-         *
-         * @type      {Highcharts.XAxisCrosshairLabelFormatterCallbackFunction}
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.formatter
-         */
-        /**
-         * Padding inside the crosshair label.
-         *
-         * @type      {number}
-         * @default   8
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.padding
-         */
-        /**
-         * The shape to use for the label box.
-         *
-         * @type      {string}
-         * @default   callout
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.shape
-         */
-        /**
-         * Text styles for the crosshair label.
-         *
-         * @type      {Highcharts.CSSObject}
-         * @default   {"color": "white", "fontWeight": "normal", "fontSize": "11px", "textAlign": "center"}
-         * @since     2.1
-         * @product   highstock
-         * @apioption xAxis.crosshair.label.style
-         */
-        /**
-         * Whether the crosshair should snap to the point or follow the pointer
-         * independent of points.
-         *
-         * @sample {highcharts|highstock} highcharts/xaxis/crosshair-snap-false/
-         *         True by default
-         * @sample {highmaps} maps/demo/latlon-advanced/
-         *         Snap is false
-         *
-         * @type      {boolean}
-         * @default   true
-         * @since     4.1
-         * @apioption xAxis.crosshair.snap
-         */
-        /**
-         * The pixel width of the crosshair. Defaults to 1 for numeric or
-         * datetime axes, and for one category width for category axes.
-         *
-         * @sample {highcharts} highcharts/xaxis/crosshair-customized/
-         *         Customized crosshairs
-         * @sample {highstock} highcharts/xaxis/crosshair-customized/
-         *         Customized crosshairs
-         * @sample {highmaps} highcharts/xaxis/crosshair-customized/
-         *         Customized crosshairs
-         *
-         * @type      {number}
-         * @default   1
-         * @since     4.1
-         * @apioption xAxis.crosshair.width
-         */
-        /**
-         * The Z index of the crosshair. Higher Z indices allow drawing the
-         * crosshair on top of the series or behind the grid lines.
-         *
-         * @type      {number}
-         * @default   2
-         * @since     4.1
-         * @apioption xAxis.crosshair.zIndex
-         */
-        /**
-         * Whether to zoom axis. If `chart.zoomType` is set, the option allows
-         * to disable zooming on an individual axis.
-         *
-         * @sample {highcharts} highcharts/xaxis/zoomenabled/
-         *         Zoom enabled is false
-         *
-         *
-         * @type      {boolean}
-         * @default   enabled
-         * @apioption xAxis.zoomEnabled
-         */
-        /**
-         * For a datetime axis, the scale will automatically adjust to the
-         * appropriate unit. This member gives the default string
-         * representations used for each unit. For intermediate values,
-         * different units may be used, for example the `day` unit can be used
-         * on midnight and `hour` unit be used for intermediate values on the
-         * same axis.
-         *
-         * For an overview of the replacement codes, see
-         * [dateFormat](/class-reference/Highcharts#dateFormat).
-         *
-         * Defaults to:
-         * ```js
-         * {
-         *     millisecond: '%H:%M:%S.%L',
-         *     second: '%H:%M:%S',
-         *     minute: '%H:%M',
-         *     hour: '%H:%M',
-         *     day: '%e. %b',
-         *     week: '%e. %b',
-         *     month: '%b \'%y',
-         *     year: '%Y'
-         * }
-         * ```
-         *
-         * @sample {highcharts} highcharts/xaxis/datetimelabelformats/
-         *         Different day format on X axis
-         * @sample {highstock} stock/xaxis/datetimelabelformats/
-         *         More information in x axis labels
-         *
-         * @declare Highcharts.AxisDateTimeLabelFormatsOptions
-         * @product highcharts highstock gantt
-         */
-        dateTimeLabelFormats: {
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            millisecond: {
-                main: '%H:%M:%S.%L',
-                range: false
-            },
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            second: {
-                main: '%H:%M:%S',
-                range: false
-            },
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            minute: {
-                main: '%H:%M',
-                range: false
-            },
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            hour: {
-                main: '%H:%M',
-                range: false
-            },
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            day: {
-                main: '%e. %b'
-            },
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            week: {
-                main: '%e. %b'
-            },
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            month: {
-                main: '%b \'%y'
-            },
-            /**
-             * @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
-             * @type {string|*}
-             */
-            year: {
-                main: '%Y'
-            }
-        },
-        /**
-         * Whether to force the axis to end on a tick. Use this option with
-         * the `maxPadding` option to control the axis end.
-         *
-         * @productdesc {highstock}
-         * In Highstock, `endOnTick` is always `false` when the navigator
-         * is enabled, to prevent jumpy scrolling.
-         *
-         * @sample {highcharts} highcharts/chart/reflow-true/
-         *         True by default
-         * @sample {highcharts} highcharts/yaxis/endontick/
-         *         False
-         * @sample {highstock} stock/demo/basic-line/
-         *         True by default
-         * @sample {highstock} stock/xaxis/endontick/
-         *         False
-         *
-         * @since 1.2.0
-         */
-        endOnTick: false,
-        /**
-         * Event handlers for the axis.
-         *
-         * @type      {*}
-         * @apioption xAxis.events
-         */
-        /**
-         * An event fired after the breaks have rendered.
-         *
-         * @see [breaks](#xAxis.breaks)
-         *
-         * @sample {highcharts} highcharts/axisbreak/break-event/
-         *         AfterBreak Event
-         *
-         * @type      {Highcharts.AxisEventCallbackFunction}
-         * @since     4.1.0
-         * @product   highcharts gantt
-         * @apioption xAxis.events.afterBreaks
-         */
-        /**
-         * As opposed to the `setExtremes` event, this event fires after the
-         * final min and max values are computed and corrected for `minRange`.
-         *
-         * Fires when the minimum and maximum is set for the axis, either by
-         * calling the `.setExtremes()` method or by selecting an area in the
-         * chart. One parameter, `event`, is passed to the function, containing
-         * common event information.
-         *
-         * The new user set minimum and maximum values can be found by
-         * `event.min` and `event.max`. These reflect the axis minimum and
-         * maximum in axis values. The actual data extremes are found in
-         * `event.dataMin` and `event.dataMax`.
-         *
-         * @type      {Highcharts.AxisSetExtremesEventCallbackFunction}
-         * @since     2.3
-         * @context   Highcharts.Axis
-         * @apioption xAxis.events.afterSetExtremes
-         */
-        /**
-         * An event fired when a break from this axis occurs on a point.
-         *
-         * @see [breaks](#xAxis.breaks)
-         *
-         * @sample {highcharts} highcharts/axisbreak/break-visualized/
-         *         Visualization of a Break
-         *
-         * @type      {Highcharts.AxisPointBreakEventCallbackFunction}
-         * @since     4.1.0
-         * @product   highcharts gantt
-         * @context   Highcharts.Axis
-         * @apioption xAxis.events.pointBreak
-         */
-        /**
-         * An event fired when a point falls inside a break from this axis.
-         *
-         * @type      {Highcharts.AxisPointBreakEventCallbackFunction}
-         * @product   highcharts highstock gantt
-         * @context   Highcharts.Axis
-         * @apioption xAxis.events.pointInBreak
-         */
-        /**
-         * Fires when the minimum and maximum is set for the axis, either by
-         * calling the `.setExtremes()` method or by selecting an area in the
-         * chart. One parameter, `event`, is passed to the function,
-         * containing common event information.
-         *
-         * The new user set minimum and maximum values can be found by
-         * `event.min` and `event.max`. These reflect the axis minimum and
-         * maximum in data values. When an axis is zoomed all the way out from
-         * the "Reset zoom" button, `event.min` and `event.max` are null, and
-         * the new extremes are set based on `this.dataMin` and `this.dataMax`.
-         *
-         * @sample {highstock} stock/xaxis/events-setextremes/
-         *         Log new extremes on x axis
-         *
-         * @type      {Highcharts.AxisSetExtremesEventCallbackFunction}
-         * @since     1.2.0
-         * @context   Highcharts.Axis
-         * @apioption xAxis.events.setExtremes
-         */
-        /**
-         * The lowest allowed value for automatically computed axis extremes.
-         *
-         * @see [ceiling](#yAxis.ceiling)
-         *
-         * @sample {highcharts} highcharts/yaxis/floor-ceiling/
-         *         Floor and ceiling
-         * @sample {highstock} stock/demo/lazy-loading/
-         *         Prevent negative stock price on Y axis
-         *
-         * @type      {number}
-         * @since     4.0
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.floor
-         */
-        /**
-         * The dash or dot style of the grid lines. For possible values, see
-         * [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
-         *
-         * @sample {highcharts} highcharts/yaxis/gridlinedashstyle/
-         *         Long dashes
-         * @sample {highstock} stock/xaxis/gridlinedashstyle/
-         *         Long dashes
-         *
-         * @type      {Highcharts.DashStyleValue}
-         * @default   Solid
-         * @since     1.2
-         * @apioption xAxis.gridLineDashStyle
-         */
-        /**
-         * The Z index of the grid lines.
-         *
-         * @sample {highcharts|highstock} highcharts/xaxis/gridzindex/
-         *         A Z index of 4 renders the grid above the graph
-         *
-         * @type      {number}
-         * @default   1
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.gridZIndex
-         */
-        /**
-         * An id for the axis. This can be used after render time to get
-         * a pointer to the axis object through `chart.get()`.
-         *
-         * @sample {highcharts} highcharts/xaxis/id/
-         *         Get the object
-         * @sample {highstock} stock/xaxis/id/
-         *         Get the object
-         *
-         * @type      {string}
-         * @since     1.2.0
-         * @apioption xAxis.id
-         */
-        /**
-         * The axis labels show the number or category for each tick.
-         *
-         * Since v8.0.0: Labels are animated in categorized x-axis with
-         * updating data if `tickInterval` and `step` is set to 1.
-         *
-         * @productdesc {highmaps}
-         * X and Y axis labels are by default disabled in Highmaps, but the
-         * functionality is inherited from Highcharts and used on `colorAxis`,
-         * and can be enabled on X and Y axes too.
-         */
-        labels: {
-            /**
-             * What part of the string the given position is anchored to.
-             * If `left`, the left side of the string is at the axis position.
-             * Can be one of `"left"`, `"center"` or `"right"`. Defaults to
-             * an intelligent guess based on which side of the chart the axis
-             * is on and the rotation of the label.
-             *
-             * @see [reserveSpace](#xAxis.labels.reserveSpace)
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-align-left/
-             *         Left
-             * @sample {highcharts} highcharts/xaxis/labels-align-right/
-             *         Right
-             * @sample {highcharts} highcharts/xaxis/labels-reservespace-true/
-             *         Left-aligned labels on a vertical category axis
-             *
-             * @type       {Highcharts.AlignValue}
-             * @apioption  xAxis.labels.align
-             */
-            /**
-             * For horizontal axes, the allowed degrees of label rotation
-             * to prevent overlapping labels. If there is enough space,
-             * labels are not rotated. As the chart gets narrower, it
-             * will start rotating the labels -45 degrees, then remove
-             * every second label and try again with rotations 0 and -45 etc.
-             * Set it to `false` to disable rotation, which will
-             * cause the labels to word-wrap if possible.
-             *
-             * @sample {highcharts|highstock} highcharts/xaxis/labels-autorotation-default/
-             *         Default auto rotation of 0 or -45
-             * @sample {highcharts|highstock} highcharts/xaxis/labels-autorotation-0-90/
-             *         Custom graded auto rotation
-             *
-             * @type      {Array<number>|false}
-             * @default   [-45]
-             * @since     4.1.0
-             * @product   highcharts highstock gantt
-             * @apioption xAxis.labels.autoRotation
-             */
-            /**
-             * When each category width is more than this many pixels, we don't
-             * apply auto rotation. Instead, we lay out the axis label with word
-             * wrap. A lower limit makes sense when the label contains multiple
-             * short words that don't extend the available horizontal space for
-             * each label.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-autorotationlimit/
-             *         Lower limit
-             *
-             * @type      {number}
-             * @default   80
-             * @since     4.1.5
-             * @product   highcharts gantt
-             * @apioption xAxis.labels.autoRotationLimit
-             */
-            /**
-             * Polar charts only. The label's pixel distance from the perimeter
-             * of the plot area.
-             *
-             * @type      {number}
-             * @default   15
-             * @product   highcharts gantt
-             * @apioption xAxis.labels.distance
-             */
-            /**
-             * Enable or disable the axis labels.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-enabled/
-             *         X axis labels disabled
-             * @sample {highstock} stock/xaxis/labels-enabled/
-             *         X axis labels disabled
-             *
-             * @default {highcharts|highstock|gantt} true
-             * @default {highmaps} false
-             */
-            enabled: true,
-            /**
-             * A format string for the axis label. See
-             * [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
-             * for example usage.
-             *
-             * Note: The default value is not specified due to the dynamic
-             * nature of the default implementation.
-             *
-             * @sample {highcharts|highstock} highcharts/yaxis/labels-format/
-             *         Add units to Y axis label
-             *
-             * @type      {string}
-             * @since     3.0
-             * @apioption xAxis.labels.format
-             */
-            /**
-             * Callback JavaScript function to format the label. The value
-             * is given by `this.value`. Additional properties for `this` are
-             * `axis`, `chart`, `isFirst` and `isLast`. The value of the default
-             * label formatter can be retrieved by calling
-             * `this.axis.defaultLabelFormatter.call(this)` within the function.
-             *
-             * Defaults to:
-             * ```js
-             * function() {
-             *     return this.value;
-             * }
-             * ```
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-formatter-linked/
-             *         Linked category names
-             * @sample {highcharts} highcharts/xaxis/labels-formatter-extended/
-             *         Modified numeric labels
-             * @sample {highstock} stock/xaxis/labels-formatter/
-             *         Added units on Y axis
-             *
-             * @type      {Highcharts.AxisLabelsFormatterCallbackFunction}
-             * @apioption xAxis.labels.formatter
-             */
-            /**
-             * The number of pixels to indent the labels per level in a treegrid
-             * axis.
-             *
-             * @sample gantt/treegrid-axis/demo
-             *         Indentation 10px by default.
-             * @sample gantt/treegrid-axis/indentation-0px
-             *         Indentation set to 0px.
-             *
-             * @product gantt
-             */
-            indentation: 10,
-            /**
-             * Horizontal axis only. When `staggerLines` is not set,
-             * `maxStaggerLines` defines how many lines the axis is allowed to
-             * add to automatically avoid overlapping X labels. Set to `1` to
-             * disable overlap detection.
-             *
-             * @deprecated
-             * @type      {number}
-             * @default   5
-             * @since     1.3.3
-             * @apioption xAxis.labels.maxStaggerLines
-             */
-            /**
-             * How to handle overflowing labels on horizontal axis. If set to
-             * `"allow"`, it will not be aligned at all. By default it
-             * `"justify"` labels inside the chart area. If there is room to
-             * move it, it will be aligned to the edge, else it will be removed.
-             *
-             * @type       {string}
-             * @default    justify
-             * @since      2.2.5
-             * @validvalue ["allow", "justify"]
-             * @apioption  xAxis.labels.overflow
-             */
-            /**
-             * The pixel padding for axis labels, to ensure white space between
-             * them.
-             *
-             * @type      {number}
-             * @default   5
-             * @product   highcharts gantt
-             * @apioption xAxis.labels.padding
-             */
-            /**
-             * Whether to reserve space for the labels. By default, space is
-             * reserved for the labels in these cases:
-             *
-             * * On all horizontal axes.
-             * * On vertical axes if `label.align` is `right` on a left-side
-             * axis or `left` on a right-side axis.
-             * * On vertical axes if `label.align` is `center`.
-             *
-             * This can be turned off when for example the labels are rendered
-             * inside the plot area instead of outside.
-             *
-             * @see [labels.align](#xAxis.labels.align)
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-reservespace/
-             *         No reserved space, labels inside plot
-             * @sample {highcharts} highcharts/xaxis/labels-reservespace-true/
-             *         Left-aligned labels on a vertical category axis
-             *
-             * @type      {boolean}
-             * @since     4.1.10
-             * @product   highcharts gantt
-             * @apioption xAxis.labels.reserveSpace
-             */
-            /**
-             * Rotation of the labels in degrees.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-rotation/
-             *         X axis labels rotated 90°
-             *
-             * @type      {number}
-             * @default   0
-             * @apioption xAxis.labels.rotation
-             */
-            /**
-             * Horizontal axes only. The number of lines to spread the labels
-             * over to make room or tighter labels.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-staggerlines/
-             *         Show labels over two lines
-             * @sample {highstock} stock/xaxis/labels-staggerlines/
-             *         Show labels over two lines
-             *
-             * @type      {number}
-             * @since     2.1
-             * @apioption xAxis.labels.staggerLines
-             */
-            /**
-             * To show only every _n_'th label on the axis, set the step to _n_.
-             * Setting the step to 2 shows every other label.
-             *
-             * By default, the step is calculated automatically to avoid
-             * overlap. To prevent this, set it to 1\. This usually only
-             * happens on a category axis, and is often a sign that you have
-             * chosen the wrong axis type.
-             *
-             * Read more at
-             * [Axis docs](https://www.highcharts.com/docs/chart-concepts/axes)
-             * => What axis should I use?
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-step/
-             *         Showing only every other axis label on a categorized
-             *         x-axis
-             * @sample {highcharts} highcharts/xaxis/labels-step-auto/
-             *         Auto steps on a category axis
-             *
-             * @type      {number}
-             * @since     2.1
-             * @apioption xAxis.labels.step
-             */
-            /**
-             * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
-             * to render the labels.
-             *
-             * @type      {boolean}
-             * @default   false
-             * @apioption xAxis.labels.useHTML
-             */
-            /**
-             * The x position offset of all labels relative to the tick
-             * positions on the axis.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-x/
-             *         Y axis labels placed on grid lines
-             */
-            x: 0,
-            /**
-             * The y position offset of all labels relative to the tick
-             * positions on the axis. The default makes it adapt to the font
-             * size of the bottom axis.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-x/
-             *         Y axis labels placed on grid lines
-             *
-             * @type      {number}
-             * @apioption xAxis.labels.y
-             */
-            /**
-             * The Z index for the axis labels.
-             *
-             * @type      {number}
-             * @default   7
-             * @apioption xAxis.labels.zIndex
-             */
-            /**
-             * CSS styles for the label. Use `whiteSpace: 'nowrap'` to prevent
-             * wrapping of category labels. Use `textOverflow: 'none'` to
-             * prevent ellipsis (dots).
-             *
-             * In styled mode, the labels are styled with the
-             * `.highcharts-axis-labels` class.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-style/
-             *         Red X axis labels
-             *
-             * @type      {Highcharts.CSSObject}
-             */
-            style: {
-                /** @internal */
-                color: palette.neutralColor60,
-                /** @internal */
-                cursor: 'default',
-                /** @internal */
-                fontSize: '11px'
-            }
-        },
-        /**
-         * The left position as the horizontal axis. If it's a number, it is
-         * interpreted as pixel position relative to the chart.
-         *
-         * Since Highcharts v5.0.13: If it's a percentage string, it is
-         * interpreted as percentages of the plot width, offset from plot area
-         * left.
-         *
-         * @type      {number|string}
-         * @product   highcharts highstock
-         * @apioption xAxis.left
-         */
-        /**
-         * The top position as the vertical axis. If it's a number, it is
-         * interpreted as pixel position relative to the chart.
-         *
-         * Since Highcharts 2: If it's a percentage string, it is interpreted
-         * as percentages of the plot height, offset from plot area top.
-         *
-         * @type      {number|string}
-         * @product   highcharts highstock
-         * @apioption xAxis.top
-         */
-        /**
-         * Index of another axis that this axis is linked to. When an axis is
-         * linked to a master axis, it will take the same extremes as
-         * the master, but as assigned by min or max or by setExtremes.
-         * It can be used to show additional info, or to ease reading the
-         * chart by duplicating the scales.
-         *
-         * @sample {highcharts} highcharts/xaxis/linkedto/
-         *         Different string formats of the same date
-         * @sample {highcharts} highcharts/yaxis/linkedto/
-         *         Y values on both sides
-         *
-         * @type      {number}
-         * @since     2.0.2
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.linkedTo
-         */
-        /**
-         * The maximum value of the axis. If `null`, the max value is
-         * automatically calculated.
-         *
-         * If the [endOnTick](#yAxis.endOnTick) option is true, the `max` value
-         * might be rounded up.
-         *
-         * If a [tickAmount](#yAxis.tickAmount) is set, the axis may be extended
-         * beyond the set max in order to reach the given number of ticks. The
-         * same may happen in a chart with multiple axes, determined by [chart.
-         * alignTicks](#chart), where a `tickAmount` is applied internally.
-         *
-         * @sample {highcharts} highcharts/yaxis/max-200/
-         *         Y axis max of 200
-         * @sample {highcharts} highcharts/yaxis/max-logarithmic/
-         *         Y axis max on logarithmic axis
-         * @sample {highstock} stock/xaxis/min-max/
-         *         Fixed min and max on X axis
-         * @sample {highmaps} maps/axis/min-max/
-         *         Pre-zoomed to a specific area
-         *
-         * @type      {number|null}
-         * @apioption xAxis.max
-         */
-        /**
-         * Padding of the max value relative to the length of the axis. A
-         * padding of 0.05 will make a 100px axis 5px longer. This is useful
-         * when you don't want the highest data value to appear on the edge
-         * of the plot area. When the axis' `max` option is set or a max extreme
-         * is set using `axis.setExtremes()`, the maxPadding will be ignored.
-         *
-         * @sample {highcharts} highcharts/yaxis/maxpadding/
-         *         Max padding of 0.25 on y axis
-         * @sample {highstock} stock/xaxis/minpadding-maxpadding/
-         *         Greater min- and maxPadding
-         * @sample {highmaps} maps/chart/plotbackgroundcolor-gradient/
-         *         Add some padding
-         *
-         * @default   {highcharts} 0.01
-         * @default   {highstock|highmaps} 0
-         * @since     1.2.0
-         */
-        maxPadding: 0.01,
-        /**
-         * Deprecated. Use `minRange` instead.
-         *
-         * @deprecated
-         * @type      {number}
-         * @product   highcharts highstock
-         * @apioption xAxis.maxZoom
-         */
-        /**
-         * The minimum value of the axis. If `null` the min value is
-         * automatically calculated.
-         *
-         * If the [startOnTick](#yAxis.startOnTick) option is true (default),
-         * the `min` value might be rounded down.
-         *
-         * The automatically calculated minimum value is also affected by
-         * [floor](#yAxis.floor), [softMin](#yAxis.softMin),
-         * [minPadding](#yAxis.minPadding), [minRange](#yAxis.minRange)
-         * as well as [series.threshold](#plotOptions.series.threshold)
-         * and [series.softThreshold](#plotOptions.series.softThreshold).
-         *
-         * @sample {highcharts} highcharts/yaxis/min-startontick-false/
-         *         -50 with startOnTick to false
-         * @sample {highcharts} highcharts/yaxis/min-startontick-true/
-         *         -50 with startOnTick true by default
-         * @sample {highstock} stock/xaxis/min-max/
-         *         Set min and max on X axis
-         * @sample {highmaps} maps/axis/min-max/
-         *         Pre-zoomed to a specific area
-         *
-         * @type      {number|null}
-         * @apioption xAxis.min
-         */
-        /**
-         * The dash or dot style of the minor grid lines. For possible values,
-         * see [this demonstration](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-dashstyle-all/).
-         *
-         * @sample {highcharts} highcharts/yaxis/minorgridlinedashstyle/
-         *         Long dashes on minor grid lines
-         * @sample {highstock} stock/xaxis/minorgridlinedashstyle/
-         *         Long dashes on minor grid lines
-         *
-         * @type      {Highcharts.DashStyleValue}
-         * @default   Solid
-         * @since     1.2
-         * @apioption xAxis.minorGridLineDashStyle
-         */
-        /**
-         * Specific tick interval in axis units for the minor ticks. On a linear
-         * axis, if `"auto"`, the minor tick interval is calculated as a fifth
-         * of the tickInterval. If `null` or `undefined`, minor ticks are not
-         * shown.
-         *
-         * On logarithmic axes, the unit is the power of the value. For example,
-         * setting the minorTickInterval to 1 puts one tick on each of 0.1, 1,
-         * 10, 100 etc. Setting the minorTickInterval to 0.1 produces 9 ticks
-         * between 1 and 10, 10 and 100 etc.
-         *
-         * If user settings dictate minor ticks to become too dense, they don't
-         * make sense, and will be ignored to prevent performance problems.
-         *
-         * @sample {highcharts} highcharts/yaxis/minortickinterval-null/
-         *         Null by default
-         * @sample {highcharts} highcharts/yaxis/minortickinterval-5/
-         *         5 units
-         * @sample {highcharts} highcharts/yaxis/minortickinterval-log-auto/
-         *         "auto"
-         * @sample {highcharts} highcharts/yaxis/minortickinterval-log/
-         *         0.1
-         * @sample {highstock} stock/demo/basic-line/
-         *         Null by default
-         * @sample {highstock} stock/xaxis/minortickinterval-auto/
-         *         "auto"
-         *
-         * @type      {number|string|null}
-         * @apioption xAxis.minorTickInterval
-         */
-        /**
-         * The pixel length of the minor tick marks.
-         *
-         * @sample {highcharts} highcharts/yaxis/minorticklength/
-         *         10px on Y axis
-         * @sample {highstock} stock/xaxis/minorticks/
-         *         10px on Y axis
-         */
-        minorTickLength: 2,
-        /**
-         * The position of the minor tick marks relative to the axis line.
-         *  Can be one of `inside` and `outside`.
-         *
-         * @sample {highcharts} highcharts/yaxis/minortickposition-outside/
-         *         Outside by default
-         * @sample {highcharts} highcharts/yaxis/minortickposition-inside/
-         *         Inside
-         * @sample {highstock} stock/xaxis/minorticks/
-         *         Inside
-         *
-         * @validvalue ["inside", "outside"]
-         */
-        minorTickPosition: 'outside',
-        /**
-         * Enable or disable minor ticks. Unless
-         * [minorTickInterval](#xAxis.minorTickInterval) is set, the tick
-         * interval is calculated as a fifth of the `tickInterval`.
-         *
-         * On a logarithmic axis, minor ticks are laid out based on a best
-         * guess, attempting to enter approximately 5 minor ticks between
-         * each major tick.
-         *
-         * Prior to v6.0.0, ticks were unabled in auto layout by setting
-         * `minorTickInterval` to `"auto"`.
-         *
-         * @productdesc {highcharts}
-         * On axes using [categories](#xAxis.categories), minor ticks are not
-         * supported.
-         *
-         * @sample {highcharts} highcharts/yaxis/minorticks-true/
-         *         Enabled on linear Y axis
-         *
-         * @type      {boolean}
-         * @default   false
-         * @since     6.0.0
-         * @apioption xAxis.minorTicks
-         */
-        /**
-         * The pixel width of the minor tick mark.
-         *
-         * @sample {highcharts} highcharts/yaxis/minortickwidth/
-         *         3px width
-         * @sample {highstock} stock/xaxis/minorticks/
-         *         1px width
-         *
-         * @type      {number}
-         * @default   0
-         * @apioption xAxis.minorTickWidth
-         */
-        /**
-         * Padding of the min value relative to the length of the axis. A
-         * padding of 0.05 will make a 100px axis 5px longer. This is useful
-         * when you don't want the lowest data value to appear on the edge
-         * of the plot area. When the axis' `min` option is set or a min extreme
-         * is set using `axis.setExtremes()`, the minPadding will be ignored.
-         *
-         * @sample {highcharts} highcharts/yaxis/minpadding/
-         *         Min padding of 0.2
-         * @sample {highstock} stock/xaxis/minpadding-maxpadding/
-         *         Greater min- and maxPadding
-         * @sample {highmaps} maps/chart/plotbackgroundcolor-gradient/
-         *         Add some padding
-         *
-         * @default    {highcharts} 0.01
-         * @default    {highstock|highmaps} 0
-         * @since      1.2.0
-         * @product    highcharts highstock gantt
-         */
-        minPadding: 0.01,
-        /**
-         * The minimum range to display on this axis. The entire axis will not
-         * be allowed to span over a smaller interval than this. For example,
-         * for a datetime axis the main unit is milliseconds. If minRange is
-         * set to 3600000, you can't zoom in more than to one hour.
-         *
-         * The default minRange for the x axis is five times the smallest
-         * interval between any of the data points.
-         *
-         * On a logarithmic axis, the unit for the minimum range is the power.
-         * So a minRange of 1 means that the axis can be zoomed to 10-100,
-         * 100-1000, 1000-10000 etc.
-         *
-         * **Note**: The `minPadding`, `maxPadding`, `startOnTick` and
-         * `endOnTick` settings also affect how the extremes of the axis
-         * are computed.
-         *
-         * @sample {highcharts} highcharts/xaxis/minrange/
-         *         Minimum range of 5
-         * @sample {highstock} stock/xaxis/minrange/
-         *         Max zoom of 6 months overrides user selections
-         * @sample {highmaps} maps/axis/minrange/
-         *         Minimum range of 1000
-         *
-         * @type      {number}
-         * @apioption xAxis.minRange
-         */
-        /**
-         * The minimum tick interval allowed in axis values. For example on
-         * zooming in on an axis with daily data, this can be used to prevent
-         * the axis from showing hours. Defaults to the closest distance between
-         * two points on the axis.
-         *
-         * @type      {number}
-         * @since     2.3.0
-         * @apioption xAxis.minTickInterval
-         */
-        /**
-         * The distance in pixels from the plot area to the axis line.
-         * A positive offset moves the axis with it's line, labels and ticks
-         * away from the plot area. This is typically used when two or more
-         * axes are displayed on the same side of the plot. With multiple
-         * axes the offset is dynamically adjusted to avoid collision, this
-         * can be overridden by setting offset explicitly.
-         *
-         * @sample {highcharts} highcharts/yaxis/offset/
-         *         Y axis offset of 70
-         * @sample {highcharts} highcharts/yaxis/offset-centered/
-         *         Axes positioned in the center of the plot
-         * @sample {highstock} stock/xaxis/offset/
-         *         Y axis offset by 70 px
-         *
-         * @type      {number}
-         * @default   0
-         * @apioption xAxis.offset
-         */
-        /**
-         * Whether to display the axis on the opposite side of the normal. The
-         * normal is on the left side for vertical axes and bottom for
-         * horizontal, so the opposite sides will be right and top respectively.
-         * This is typically used with dual or multiple axes.
-         *
-         * @sample {highcharts} highcharts/yaxis/opposite/
-         *         Secondary Y axis opposite
-         * @sample {highstock} stock/xaxis/opposite/
-         *         Y axis on left side
-         *
-         * @type      {boolean}
-         * @default   {highcharts|highstock|highmaps} false
-         * @default   {gantt} true
-         * @apioption xAxis.opposite
-         */
-        /**
-         * In an ordinal axis, the points are equally spaced in the chart
-         * regardless of the actual time or x distance between them. This means
-         * that missing data periods (e.g. nights or weekends for a stock chart)
-         * will not take up space in the chart.
-         * Having `ordinal: false` will show any gaps created by the `gapSize`
-         * setting proportionate to their duration.
-         *
-         * In stock charts the X axis is ordinal by default, unless
-         * the boost module is used and at least one of the series' data length
-         * exceeds the [boostThreshold](#series.line.boostThreshold).
-         *
-         * @sample {highstock} stock/xaxis/ordinal-true/
-         *         True by default
-         * @sample {highstock} stock/xaxis/ordinal-false/
-         *         False
-         *
-         * @type      {boolean}
-         * @default   true
-         * @since     1.1
-         * @product   highstock
-         * @apioption xAxis.ordinal
-         */
-        /**
-         * Additional range on the right side of the xAxis. Works similar to
-         * `xAxis.maxPadding`, but value is set in milliseconds. Can be set for
-         * both main `xAxis` and the navigator's `xAxis`.
-         *
-         * @sample {highstock} stock/xaxis/overscroll/
-         *         One minute overscroll with live data
-         *
-         * @type      {number}
-         * @default   0
-         * @since     6.0.0
-         * @product   highstock
-         * @apioption xAxis.overscroll
-         */
-        /**
-         * Refers to the index in the [panes](#panes) array. Used for circular
-         * gauges and polar charts. When the option is not set then first pane
-         * will be used.
-         *
-         * @sample highcharts/demo/gauge-vu-meter
-         *         Two gauges with different center
-         *
-         * @type      {number}
-         * @product   highcharts
-         * @apioption xAxis.pane
-         */
-        /**
-         * The zoomed range to display when only defining one or none of `min`
-         * or `max`. For example, to show the latest month, a range of one month
-         * can be set.
-         *
-         * @sample {highstock} stock/xaxis/range/
-         *         Setting a zoomed range when the rangeSelector is disabled
-         *
-         * @type      {number}
-         * @product   highstock
-         * @apioption xAxis.range
-         */
-        /**
-         * Whether to reverse the axis so that the highest number is closest
-         * to the origin. If the chart is inverted, the x axis is reversed by
-         * default.
-         *
-         * @sample {highcharts} highcharts/yaxis/reversed/
-         *         Reversed Y axis
-         * @sample {highstock} stock/xaxis/reversed/
-         *         Reversed Y axis
-         *
-         * @type      {boolean}
-         * @default   false
-         * @apioption xAxis.reversed
-         */
-        // reversed: false,
-        /**
-         * This option determines how stacks should be ordered within a group.
-         * For example reversed xAxis also reverses stacks, so first series
-         * comes last in a group. To keep order like for non-reversed xAxis
-         * enable this option.
-         *
-         * @sample {highcharts} highcharts/xaxis/reversedstacks/
-         *         Reversed stacks comparison
-         * @sample {highstock} highcharts/xaxis/reversedstacks/
-         *         Reversed stacks comparison
-         *
-         * @type      {boolean}
-         * @default   false
-         * @since     6.1.1
-         * @product   highcharts highstock
-         * @apioption xAxis.reversedStacks
-         */
-        /**
-         * An optional scrollbar to display on the X axis in response to
-         * limiting the minimum and maximum of the axis values.
-         *
-         * In styled mode, all the presentational options for the scrollbar are
-         * replaced by the classes `.highcharts-scrollbar-thumb`,
-         * `.highcharts-scrollbar-arrow`, `.highcharts-scrollbar-button`,
-         * `.highcharts-scrollbar-rifles` and `.highcharts-scrollbar-track`.
-         *
-         * @sample {highstock} stock/yaxis/heatmap-scrollbars/
-         *         Heatmap with both scrollbars
-         *
-         * @extends   scrollbar
-         * @since     4.2.6
-         * @product   highstock
-         * @apioption xAxis.scrollbar
-         */
-        /**
-         * Whether to show the axis line and title when the axis has no data.
-         *
-         * @sample {highcharts} highcharts/yaxis/showempty/
-         *         When clicking the legend to hide series, one axis preserves
-         *         line and title, the other doesn't
-         * @sample {highstock} highcharts/yaxis/showempty/
-         *         When clicking the legend to hide series, one axis preserves
-         *         line and title, the other doesn't
-         *
-         * @since     1.1
-         */
-        showEmpty: true,
-        /**
-         * Whether to show the first tick label.
-         *
-         * @sample {highcharts} highcharts/xaxis/showfirstlabel-false/
-         *         Set to false on X axis
-         * @sample {highstock} stock/xaxis/showfirstlabel/
-         *         Labels below plot lines on Y axis
-         *
-         * @type      {boolean}
-         * @default   true
-         * @apioption xAxis.showFirstLabel
-         */
-        /**
-         * Whether to show the last tick label. Defaults to `true` on cartesian
-         * charts, and `false` on polar charts.
-         *
-         * @sample {highcharts} highcharts/xaxis/showlastlabel-true/
-         *         Set to true on X axis
-         * @sample {highstock} stock/xaxis/showfirstlabel/
-         *         Labels below plot lines on Y axis
-         *
-         * @type      {boolean}
-         * @default   true
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.showLastLabel
-         */
-        /**
-         * A soft maximum for the axis. If the series data maximum is less than
-         * this, the axis will stay at this maximum, but if the series data
-         * maximum is higher, the axis will flex to show all data.
-         *
-         * @sample highcharts/yaxis/softmin-softmax/
-         *         Soft min and max
-         *
-         * @type      {number}
-         * @since     5.0.1
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.softMax
-         */
-        /**
-         * A soft minimum for the axis. If the series data minimum is greater
-         * than this, the axis will stay at this minimum, but if the series
-         * data minimum is lower, the axis will flex to show all data.
-         *
-         * @sample highcharts/yaxis/softmin-softmax/
-         *         Soft min and max
-         *
-         * @type      {number}
-         * @since     5.0.1
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.softMin
-         */
-        /**
-         * For datetime axes, this decides where to put the tick between weeks.
-         *  0 = Sunday, 1 = Monday.
-         *
-         * @sample {highcharts} highcharts/xaxis/startofweek-monday/
-         *         Monday by default
-         * @sample {highcharts} highcharts/xaxis/startofweek-sunday/
-         *         Sunday
-         * @sample {highstock} stock/xaxis/startofweek-1
-         *         Monday by default
-         * @sample {highstock} stock/xaxis/startofweek-0
-         *         Sunday
-         *
-         * @product highcharts highstock gantt
-         */
-        startOfWeek: 1,
-        /**
-         * Whether to force the axis to start on a tick. Use this option with
-         * the `minPadding` option to control the axis start.
-         *
-         * @productdesc {highstock}
-         * In Highstock, `startOnTick` is always `false` when the navigator
-         * is enabled, to prevent jumpy scrolling.
-         *
-         * @sample {highcharts} highcharts/xaxis/startontick-false/
-         *         False by default
-         * @sample {highcharts} highcharts/xaxis/startontick-true/
-         *         True
-         *
-         * @since 1.2.0
-         */
-        startOnTick: false,
-        /**
-         * The amount of ticks to draw on the axis. This opens up for aligning
-         * the ticks of multiple charts or panes within a chart. This option
-         * overrides the `tickPixelInterval` option.
-         *
-         * This option only has an effect on linear axes. Datetime, logarithmic
-         * or category axes are not affected.
-         *
-         * @sample {highcharts} highcharts/yaxis/tickamount/
-         *         8 ticks on Y axis
-         * @sample {highstock} highcharts/yaxis/tickamount/
-         *         8 ticks on Y axis
-         *
-         * @type      {number}
-         * @since     4.1.0
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.tickAmount
-         */
-        /**
-         * The interval of the tick marks in axis units. When `undefined`, the
-         * tick interval is computed to approximately follow the
-         * [tickPixelInterval](#xAxis.tickPixelInterval) on linear and datetime
-         * axes. On categorized axes, a `undefined` tickInterval will default to
-         * 1, one category. Note that datetime axes are based on milliseconds,
-         * so for example an interval of one day is expressed as
-         * `24 * 3600 * 1000`.
-         *
-         * On logarithmic axes, the tickInterval is based on powers, so a
-         * tickInterval of 1 means one tick on each of 0.1, 1, 10, 100 etc. A
-         * tickInterval of 2 means a tick of 0.1, 10, 1000 etc. A tickInterval
-         * of 0.2 puts a tick on 0.1, 0.2, 0.4, 0.6, 0.8, 1, 2, 4, 6, 8, 10, 20,
-         * 40 etc.
-         *
-         *
-         * If the tickInterval is too dense for labels to be drawn, Highcharts
-         * may remove ticks.
-         *
-         * If the chart has multiple axes, the [alignTicks](#chart.alignTicks)
-         * option may interfere with the `tickInterval` setting.
-         *
-         * @see [tickPixelInterval](#xAxis.tickPixelInterval)
-         * @see [tickPositions](#xAxis.tickPositions)
-         * @see [tickPositioner](#xAxis.tickPositioner)
-         *
-         * @sample {highcharts} highcharts/xaxis/tickinterval-5/
-         *         Tick interval of 5 on a linear axis
-         * @sample {highstock} stock/xaxis/tickinterval/
-         *         Tick interval of 0.01 on Y axis
-         *
-         * @type      {number}
-         * @apioption xAxis.tickInterval
-         */
-        /**
-         * The pixel length of the main tick marks.
-         *
-         * @sample {highcharts} highcharts/xaxis/ticklength/
-         *         20 px tick length on the X axis
-         * @sample {highstock} stock/xaxis/ticks/
-         *         Formatted ticks on X axis
-         */
-        tickLength: 10,
-        /**
-         * If tickInterval is `null` this option sets the approximate pixel
-         * interval of the tick marks. Not applicable to categorized axis.
-         *
-         * The tick interval is also influenced by the [minTickInterval](
-         * #xAxis.minTickInterval) option, that, by default prevents ticks from
-         * being denser than the data points.
-         *
-         * @see [tickInterval](#xAxis.tickInterval)
-         * @see [tickPositioner](#xAxis.tickPositioner)
-         * @see [tickPositions](#xAxis.tickPositions)
-         *
-         * @sample {highcharts} highcharts/xaxis/tickpixelinterval-50/
-         *         50 px on X axis
-         * @sample {highstock} stock/xaxis/tickpixelinterval/
-         *         200 px on X axis
-         */
-        tickPixelInterval: 100,
-        /**
-         * For categorized axes only. If `on` the tick mark is placed in the
-         * center of the category, if `between` the tick mark is placed between
-         * categories. The default is `between` if the `tickInterval` is 1, else
-         * `on`.
-         *
-         * @sample {highcharts} highcharts/xaxis/tickmarkplacement-between/
-         *         "between" by default
-         * @sample {highcharts} highcharts/xaxis/tickmarkplacement-on/
-         *         "on"
-         *
-         * @product    highcharts gantt
-         * @validvalue ["on", "between"]
-         */
-        tickmarkPlacement: 'between',
-        /**
-         * The position of the major tick marks relative to the axis line.
-         * Can be one of `inside` and `outside`.
-         *
-         * @sample {highcharts} highcharts/xaxis/tickposition-outside/
-         *         "outside" by default
-         * @sample {highcharts} highcharts/xaxis/tickposition-inside/
-         *         "inside"
-         * @sample {highstock} stock/xaxis/ticks/
-         *         Formatted ticks on X axis
-         *
-         * @validvalue ["inside", "outside"]
-         */
-        tickPosition: 'outside',
-        /**
-         * A callback function returning array defining where the ticks are
-         * laid out on the axis. This overrides the default behaviour of
-         * [tickPixelInterval](#xAxis.tickPixelInterval) and [tickInterval](
-         * #xAxis.tickInterval). The automatic tick positions are accessible
-         * through `this.tickPositions` and can be modified by the callback.
-         *
-         * @see [tickPositions](#xAxis.tickPositions)
-         *
-         * @sample {highcharts} highcharts/xaxis/tickpositions-tickpositioner/
-         *         Demo of tickPositions and tickPositioner
-         * @sample {highstock} highcharts/xaxis/tickpositions-tickpositioner/
-         *         Demo of tickPositions and tickPositioner
-         *
-         * @type      {Highcharts.AxisTickPositionerCallbackFunction}
-         * @apioption xAxis.tickPositioner
-         */
-        /**
-         * An array defining where the ticks are laid out on the axis. This
-         * overrides the default behaviour of [tickPixelInterval](
-         * #xAxis.tickPixelInterval) and [tickInterval](#xAxis.tickInterval).
-         *
-         * @see [tickPositioner](#xAxis.tickPositioner)
-         *
-         * @sample {highcharts} highcharts/xaxis/tickpositions-tickpositioner/
-         *         Demo of tickPositions and tickPositioner
-         * @sample {highstock} highcharts/xaxis/tickpositions-tickpositioner/
-         *         Demo of tickPositions and tickPositioner
-         *
-         * @type      {Array<number>}
-         * @apioption xAxis.tickPositions
-         */
-        /**
-         * The pixel width of the major tick marks. Defaults to 0 on category
-         * axes, otherwise 1.
-         *
-         * In styled mode, the stroke width is given in the `.highcharts-tick`
-         * class, but in order for the element to be generated on category axes,
-         * the option must be explicitly set to 1.
-         *
-         * @sample {highcharts} highcharts/xaxis/tickwidth/
-         *         10 px width
-         * @sample {highcharts} highcharts/css/axis-grid/
-         *         Styled mode
-         * @sample {highstock} stock/xaxis/ticks/
-         *         Formatted ticks on X axis
-         * @sample {highstock} highcharts/css/axis-grid/
-         *         Styled mode
-         *
-         * @type      {undefined|number}
-         * @default   {highstock} 1
-         * @default   {highmaps} 0
-         * @apioption xAxis.tickWidth
-         */
-        /**
-         * The axis title, showing next to the axis line.
-         *
-         * @productdesc {highmaps}
-         * In Highmaps, the axis is hidden by default, but adding an axis title
-         * is still possible. X axis and Y axis titles will appear at the bottom
-         * and left by default.
-         */
-        title: {
-            /**
-             * Deprecated. Set the `text` to `null` to disable the title.
-             *
-             * @deprecated
-             * @type      {boolean}
-             * @product   highcharts
-             * @apioption xAxis.title.enabled
-             */
-            /**
-             * The pixel distance between the axis labels or line and the title.
-             * Defaults to 0 for horizontal axes, 10 for vertical
-             *
-             * @sample {highcharts} highcharts/xaxis/title-margin/
-             *         Y axis title margin of 60
-             *
-             * @type      {number}
-             * @apioption xAxis.title.margin
-             */
-            /**
-             * The distance of the axis title from the axis line. By default,
-             * this distance is computed from the offset width of the labels,
-             * the labels' distance from the axis and the title's margin.
-             * However when the offset option is set, it overrides all this.
-             *
-             * @sample {highcharts} highcharts/yaxis/title-offset/
-             *         Place the axis title on top of the axis
-             * @sample {highstock} highcharts/yaxis/title-offset/
-             *         Place the axis title on top of the Y axis
-             *
-             * @type      {number}
-             * @since     2.2.0
-             * @apioption xAxis.title.offset
-             */
-            /**
-             * Whether to reserve space for the title when laying out the axis.
-             *
-             * @type      {boolean}
-             * @default   true
-             * @since     5.0.11
-             * @product   highcharts highstock gantt
-             * @apioption xAxis.title.reserveSpace
-             */
-            /**
-             * The rotation of the text in degrees. 0 is horizontal, 270 is
-             * vertical reading from bottom to top.
-             *
-             * @sample {highcharts} highcharts/yaxis/title-offset/
-             *         Horizontal
-             *
-             * @type      {number}
-             * @default   0
-             * @apioption xAxis.title.rotation
-             */
-            /**
-             * The actual text of the axis title. It can contain basic HTML tags
-             * like `b`, `i` and `span` with style.
-             *
-             * @sample {highcharts} highcharts/xaxis/title-text/
-             *         Custom HTML
-             * @sample {highstock} stock/xaxis/title-text/
-             *         Titles for both axes
-             *
-             * @type      {string|null}
-             * @apioption xAxis.title.text
-             */
-            /**
-             * Alignment of the text, can be `"left"`, `"right"` or `"center"`.
-             * Default alignment depends on the
-             * [title.align](xAxis.title.align):
-             *
-             * Horizontal axes:
-             * - for `align` = `"low"`, `textAlign` is set to `left`
-             * - for `align` = `"middle"`, `textAlign` is set to `center`
-             * - for `align` = `"high"`, `textAlign` is set to `right`
-             *
-             * Vertical axes:
-             * - for `align` = `"low"` and `opposite` = `true`, `textAlign` is
-             *   set to `right`
-             * - for `align` = `"low"` and `opposite` = `false`, `textAlign` is
-             *   set to `left`
-             * - for `align` = `"middle"`, `textAlign` is set to `center`
-             * - for `align` = `"high"` and `opposite` = `true` `textAlign` is
-             *   set to `left`
-             * - for `align` = `"high"` and `opposite` = `false` `textAlign` is
-             *   set to `right`
-             *
-             * @type      {Highcharts.AlignValue}
-             * @apioption xAxis.title.textAlign
-             */
-            /**
-             * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
-             * to render the axis title.
-             *
-             * @type      {boolean}
-             * @default   false
-             * @product   highcharts highstock gantt
-             * @apioption xAxis.title.useHTML
-             */
-            /**
-             * Horizontal pixel offset of the title position.
-             *
-             * @type      {number}
-             * @default   0
-             * @since     4.1.6
-             * @product   highcharts highstock gantt
-             * @apioption xAxis.title.x
-             */
-            /**
-             * Vertical pixel offset of the title position.
-             *
-             * @type      {number}
-             * @product   highcharts highstock gantt
-             * @apioption xAxis.title.y
-             */
-            /**
-             * Alignment of the title relative to the axis values. Possible
-             * values are "low", "middle" or "high".
-             *
-             * @sample {highcharts} highcharts/xaxis/title-align-low/
-             *         "low"
-             * @sample {highcharts} highcharts/xaxis/title-align-center/
-             *         "middle" by default
-             * @sample {highcharts} highcharts/xaxis/title-align-high/
-             *         "high"
-             * @sample {highcharts} highcharts/yaxis/title-offset/
-             *         Place the Y axis title on top of the axis
-             * @sample {highstock} stock/xaxis/title-align/
-             *         Aligned to "high" value
-             *
-             * @type {Highcharts.AxisTitleAlignValue}
-             */
-            align: 'middle',
-            /**
-             * CSS styles for the title. If the title text is longer than the
-             * axis length, it will wrap to multiple lines by default. This can
-             * be customized by setting `textOverflow: 'ellipsis'`, by
-             * setting a specific `width` or by setting `whiteSpace: 'nowrap'`.
-             *
-             * In styled mode, the stroke width is given in the
-             * `.highcharts-axis-title` class.
-             *
-             * @sample {highcharts} highcharts/xaxis/title-style/
-             *         Red
-             * @sample {highcharts} highcharts/css/axis/
-             *         Styled mode
-             *
-             * @type    {Highcharts.CSSObject}
-             */
-            style: {
-                /** @internal */
-                color: palette.neutralColor60
-            }
-        },
-        /**
-         * The type of axis. Can be one of `linear`, `logarithmic`, `datetime`
-         * or `category`. In a datetime axis, the numbers are given in
-         * milliseconds, and tick marks are placed on appropriate values like
-         * full hours or days. In a category axis, the
-         * [point names](#series.line.data.name) of the chart's series are used
-         * for categories, if not a [categories](#xAxis.categories) array is
-         * defined.
-         *
-         * @sample {highcharts} highcharts/xaxis/type-linear/
-         *         Linear
-         * @sample {highcharts} highcharts/yaxis/type-log/
-         *         Logarithmic
-         * @sample {highcharts} highcharts/yaxis/type-log-minorgrid/
-         *         Logarithmic with minor grid lines
-         * @sample {highcharts} highcharts/xaxis/type-log-both/
-         *         Logarithmic on two axes
-         * @sample {highcharts} highcharts/yaxis/type-log-negative/
-         *         Logarithmic with extension to emulate negative values
-         *
-         * @type    {Highcharts.AxisTypeValue}
-         * @product highcharts gantt
-         */
-        type: 'linear',
-        /**
-         * If there are multiple axes on the same side of the chart, the pixel
-         * margin between the axes. Defaults to 0 on vertical axes, 15 on
-         * horizontal axes.
-         *
-         * @type      {number}
-         * @since     7.0.3
-         * @apioption xAxis.margin
-         */
-        /**
-         * Applies only when the axis `type` is `category`. When `uniqueNames`
-         * is true, points are placed on the X axis according to their names.
-         * If the same point name is repeated in the same or another series,
-         * the point is placed on the same X position as other points of the
-         * same name. When `uniqueNames` is false, the points are laid out in
-         * increasing X positions regardless of their names, and the X axis
-         * category will take the name of the last point in each position.
-         *
-         * @sample {highcharts} highcharts/xaxis/uniquenames-true/
-         *         True by default
-         * @sample {highcharts} highcharts/xaxis/uniquenames-false/
-         *         False
-         *
-         * @type      {boolean}
-         * @default   true
-         * @since     4.2.7
-         * @product   highcharts gantt
-         * @apioption xAxis.uniqueNames
-         */
-        /**
-         * Datetime axis only. An array determining what time intervals the
-         * ticks are allowed to fall on. Each array item is an array where the
-         * first value is the time unit and the second value another array of
-         * allowed multiples.
-         *
-         * Defaults to:
-         * ```js
-         * units: [[
-         *     'millisecond', // unit name
-         *     [1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples
-         * ], [
-         *     'second',
-         *     [1, 2, 5, 10, 15, 30]
-         * ], [
-         *     'minute',
-         *     [1, 2, 5, 10, 15, 30]
-         * ], [
-         *     'hour',
-         *     [1, 2, 3, 4, 6, 8, 12]
-         * ], [
-         *     'day',
-         *     [1]
-         * ], [
-         *     'week',
-         *     [1]
-         * ], [
-         *     'month',
-         *     [1, 3, 6]
-         * ], [
-         *     'year',
-         *     null
-         * ]]
-         * ```
-         *
-         * @type      {Array<Array<string,(Array<number>|null)>>}
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.units
-         */
-        /**
-         * Whether axis, including axis title, line, ticks and labels, should
-         * be visible.
-         *
-         * @type      {boolean}
-         * @default   true
-         * @since     4.1.9
-         * @product   highcharts highstock gantt
-         * @apioption xAxis.visible
-         */
-        /**
-         * Color of the minor, secondary grid lines.
-         *
-         * In styled mode, the stroke width is given in the
-         * `.highcharts-minor-grid-line` class.
-         *
-         * @sample {highcharts} highcharts/yaxis/minorgridlinecolor/
-         *         Bright grey lines from Y axis
-         * @sample {highcharts|highstock} highcharts/css/axis-grid/
-         *         Styled mode
-         * @sample {highstock} stock/xaxis/minorgridlinecolor/
-         *         Bright grey lines from Y axis
-         *
-         * @type    {Highcharts.ColorType}
-         * @default #f2f2f2
-         */
-        minorGridLineColor: palette.neutralColor5,
-        /**
-         * Width of the minor, secondary grid lines.
-         *
-         * In styled mode, the stroke width is given in the
-         * `.highcharts-grid-line` class.
-         *
-         * @sample {highcharts} highcharts/yaxis/minorgridlinewidth/
-         *         2px lines from Y axis
-         * @sample {highcharts|highstock} highcharts/css/axis-grid/
-         *         Styled mode
-         * @sample {highstock} stock/xaxis/minorgridlinewidth/
-         *         2px lines from Y axis
-         */
-        minorGridLineWidth: 1,
-        /**
-         * Color for the minor tick marks.
-         *
-         * @sample {highcharts} highcharts/yaxis/minortickcolor/
-         *         Black tick marks on Y axis
-         * @sample {highstock} stock/xaxis/minorticks/
-         *         Black tick marks on Y axis
-         *
-         * @type    {Highcharts.ColorType}
-         * @default #999999
-         */
-        minorTickColor: palette.neutralColor40,
-        /**
-         * The color of the line marking the axis itself.
-         *
-         * In styled mode, the line stroke is given in the
-         * `.highcharts-axis-line` or `.highcharts-xaxis-line` class.
-         *
-         * @productdesc {highmaps}
-         * In Highmaps, the axis line is hidden by default, because the axis is
-         * not visible by default.
-         *
-         * @sample {highcharts} highcharts/yaxis/linecolor/
-         *         A red line on Y axis
-         * @sample {highcharts|highstock} highcharts/css/axis/
-         *         Axes in styled mode
-         * @sample {highstock} stock/xaxis/linecolor/
-         *         A red line on X axis
-         *
-         * @type    {Highcharts.ColorType}
-         * @default #ccd6eb
-         */
-        lineColor: palette.highlightColor20,
-        /**
-         * The width of the line marking the axis itself.
-         *
-         * In styled mode, the stroke width is given in the
-         * `.highcharts-axis-line` or `.highcharts-xaxis-line` class.
-         *
-         * @sample {highcharts} highcharts/yaxis/linecolor/
-         *         A 1px line on Y axis
-         * @sample {highcharts|highstock} highcharts/css/axis/
-         *         Axes in styled mode
-         * @sample {highstock} stock/xaxis/linewidth/
-         *         A 2px line on X axis
-         *
-         * @default {highcharts|highstock} 1
-         * @default {highmaps} 0
-         */
-        lineWidth: 1,
-        /**
-         * Color of the grid lines extending the ticks across the plot area.
-         *
-         * In styled mode, the stroke is given in the `.highcharts-grid-line`
-         * class.
-         *
-         * @productdesc {highmaps}
-         * In Highmaps, the grid lines are hidden by default.
-         *
-         * @sample {highcharts} highcharts/yaxis/gridlinecolor/
-         *         Green lines
-         * @sample {highcharts|highstock} highcharts/css/axis-grid/
-         *         Styled mode
-         * @sample {highstock} stock/xaxis/gridlinecolor/
-         *         Green lines
-         *
-         * @type    {Highcharts.ColorType}
-         * @default #e6e6e6
-         */
-        gridLineColor: palette.neutralColor10,
-        // gridLineDashStyle: 'solid',
-        /**
-         * The width of the grid lines extending the ticks across the plot area.
-         *
-         * In styled mode, the stroke width is given in the
-         * `.highcharts-grid-line` class.
-         *
-         * @sample {highcharts} highcharts/yaxis/gridlinewidth/
-         *         2px lines
-         * @sample {highcharts|highstock} highcharts/css/axis-grid/
-         *         Styled mode
-         * @sample {highstock} stock/xaxis/gridlinewidth/
-         *         2px lines
-         *
-         * @type      {number}
-         * @default   0
-         * @apioption xAxis.gridLineWidth
-         */
-        // gridLineWidth: 0,
-        /**
-         * The height as the vertical axis. If it's a number, it is
-         * interpreted as pixels.
-         *
-         * Since Highcharts 2: If it's a percentage string, it is interpreted
-         * as percentages of the total plot height.
-         *
-         * @type      {number|string}
-         * @product   highcharts highstock
-         * @apioption xAxis.height
-         */
-        /**
-         * The width as the horizontal axis. If it's a number, it is interpreted
-         * as pixels.
-         *
-         * Since Highcharts v5.0.13: If it's a percentage string, it is
-         * interpreted as percentages of the total plot width.
-         *
-         * @type      {number|string}
-         * @product   highcharts highstock
-         * @apioption xAxis.width
-         */
-        /**
-         * Color for the main tick marks.
-         *
-         * In styled mode, the stroke is given in the `.highcharts-tick`
-         * class.
-         *
-         * @sample {highcharts} highcharts/xaxis/tickcolor/
-         *         Red ticks on X axis
-         * @sample {highcharts|highstock} highcharts/css/axis-grid/
-         *         Styled mode
-         * @sample {highstock} stock/xaxis/ticks/
-         *         Formatted ticks on X axis
-         *
-         * @type    {Highcharts.ColorType}
-         * @default #ccd6eb
-         */
-        tickColor: palette.highlightColor20
-        // tickWidth: 1
-    };
-    /**
-     * The Y axis or value axis. Normally this is the vertical axis,
-     * though if the chart is inverted this is the horizontal axis.
-     * In case of multiple axes, the yAxis node is an array of
-     * configuration objects.
-     *
-     * See [the Axis object](/class-reference/Highcharts.Axis) for programmatic
-     * access to the axis.
-     *
-     * @type         {*|Array<*>}
-     * @extends      xAxis
-     * @excluding    currentDateIndicator,ordinal,overscroll
-     * @optionparent yAxis
-     *
-     * @private
-     */
-    Axis.defaultYAxisOptions = {
-        /**
-         * The type of axis. Can be one of `linear`, `logarithmic`, `datetime`,
-         * `category` or `treegrid`. Defaults to `treegrid` for Gantt charts,
-         * `linear` for other chart types.
-         *
-         * In a datetime axis, the numbers are given in milliseconds, and tick
-         * marks are placed on appropriate values, like full hours or days. In a
-         * category or treegrid axis, the [point names](#series.line.data.name)
-         * of the chart's series are used for categories, if a
-         * [categories](#xAxis.categories) array is not defined.
-         *
-         * @sample {highcharts} highcharts/yaxis/type-log-minorgrid/
-         *         Logarithmic with minor grid lines
-         * @sample {highcharts} highcharts/yaxis/type-log-negative/
-         *         Logarithmic with extension to emulate negative values
-         * @sample {gantt} gantt/treegrid-axis/demo
-         *         Treegrid axis
-         *
-         * @type      {Highcharts.AxisTypeValue}
-         * @default   {highcharts} linear
-         * @default   {gantt} treegrid
-         * @product   highcharts gantt
-         * @apioption yAxis.type
-         */
-        /**
-         * The height of the Y axis. If it's a number, it is interpreted as
-         * pixels.
-         *
-         * Since Highcharts 2: If it's a percentage string, it is interpreted as
-         * percentages of the total plot height.
-         *
-         * @see [yAxis.top](#yAxis.top)
-         *
-         * @sample {highstock} stock/demo/candlestick-and-volume/
-         *         Percentage height panes
-         *
-         * @type      {number|string}
-         * @product   highcharts highstock
-         * @apioption yAxis.height
-         */
-        /**
-         * Solid gauge only. Unless [stops](#yAxis.stops) are set, the color
-         * to represent the maximum value of the Y axis.
-         *
-         * @sample {highcharts} highcharts/yaxis/mincolor-maxcolor/
-         *         Min and max colors
-         *
-         * @type      {Highcharts.ColorType}
-         * @default   #003399
-         * @since     4.0
-         * @product   highcharts
-         * @apioption yAxis.maxColor
-         */
-        /**
-         * Solid gauge only. Unless [stops](#yAxis.stops) are set, the color
-         * to represent the minimum value of the Y axis.
-         *
-         * @sample {highcharts} highcharts/yaxis/mincolor-maxcolor/
-         *         Min and max color
-         *
-         * @type      {Highcharts.ColorType}
-         * @default   #e6ebf5
-         * @since     4.0
-         * @product   highcharts
-         * @apioption yAxis.minColor
-         */
-        /**
-         * Whether to reverse the axis so that the highest number is closest
-         * to the origin.
-         *
-         * @sample {highcharts} highcharts/yaxis/reversed/
-         *         Reversed Y axis
-         * @sample {highstock} stock/xaxis/reversed/
-         *         Reversed Y axis
-         *
-         * @type      {boolean}
-         * @default   {highcharts} false
-         * @default   {highstock} false
-         * @default   {highmaps} true
-         * @default   {gantt} true
-         * @apioption yAxis.reversed
-         */
-        /**
-         * If `true`, the first series in a stack will be drawn on top in a
-         * positive, non-reversed Y axis. If `false`, the first series is in
-         * the base of the stack.
-         *
-         * @sample {highcharts} highcharts/yaxis/reversedstacks-false/
-         *         Non-reversed stacks
-         * @sample {highstock} highcharts/yaxis/reversedstacks-false/
-         *         Non-reversed stacks
-         *
-         * @type      {boolean}
-         * @default   true
-         * @since     3.0.10
-         * @product   highcharts highstock
-         * @apioption yAxis.reversedStacks
-         */
-        /**
-         * Solid gauge series only. Color stops for the solid gauge. Use this
-         * in cases where a linear gradient between a `minColor` and `maxColor`
-         * is not sufficient. The stops is an array of tuples, where the first
-         * item is a float between 0 and 1 assigning the relative position in
-         * the gradient, and the second item is the color.
-         *
-         * For solid gauges, the Y axis also inherits the concept of
-         * [data classes](https://api.highcharts.com/highmaps#colorAxis.dataClasses)
-         * from the Highmaps color axis.
-         *
-         * @see [minColor](#yAxis.minColor)
-         * @see [maxColor](#yAxis.maxColor)
-         *
-         * @sample {highcharts} highcharts/demo/gauge-solid/
-         *         True by default
-         *
-         * @type      {Array<Array<number,Highcharts.ColorType>>}
-         * @since     4.0
-         * @product   highcharts
-         * @apioption yAxis.stops
-         */
-        /**
-         * The pixel width of the major tick marks.
-         *
-         * @sample {highcharts} highcharts/xaxis/tickwidth/ 10 px width
-         * @sample {highstock} stock/xaxis/ticks/ Formatted ticks on X axis
-         *
-         * @type      {number}
-         * @default   0
-         * @product   highcharts highstock gantt
-         * @apioption yAxis.tickWidth
-         */
-        /**
-         * Whether to force the axis to end on a tick. Use this option with
-         * the `maxPadding` option to control the axis end.
-         *
-         * This option is always disabled, when panning type is
-         * either `y` or `xy`.
-         *
-         * @see [type](#chart.panning.type)
-         *
-         *
-         * @sample {highcharts} highcharts/chart/reflow-true/
-         *         True by default
-         * @sample {highcharts} highcharts/yaxis/endontick/
-         *         False
-         * @sample {highstock} stock/demo/basic-line/
-         *         True by default
-         * @sample {highstock} stock/xaxis/endontick/
-         *         False for Y axis
-         *
-         * @since 1.2.0
-         */
-        endOnTick: true,
-        /**
-         * Padding of the max value relative to the length of the axis. A
-         * padding of 0.05 will make a 100px axis 5px longer. This is useful
-         * when you don't want the highest data value to appear on the edge
-         * of the plot area. When the axis' `max` option is set or a max extreme
-         * is set using `axis.setExtremes()`, the maxPadding will be ignored.
-         *
-         * Also the `softThreshold` option takes precedence over `maxPadding`,
-         * so if the data is tangent to the threshold, `maxPadding` may not
-         * apply unless `softThreshold` is set to false.
-         *
-         * @sample {highcharts} highcharts/yaxis/maxpadding-02/
-         *         Max padding of 0.2
-         * @sample {highstock} stock/xaxis/minpadding-maxpadding/
-         *         Greater min- and maxPadding
-         *
-         * @since   1.2.0
-         * @product highcharts highstock gantt
-         */
-        maxPadding: 0.05,
-        /**
-         * Padding of the min value relative to the length of the axis. A
-         * padding of 0.05 will make a 100px axis 5px longer. This is useful
-         * when you don't want the lowest data value to appear on the edge
-         * of the plot area. When the axis' `min` option is set or a max extreme
-         * is set using `axis.setExtremes()`, the maxPadding will be ignored.
-         *
-         * Also the `softThreshold` option takes precedence over `minPadding`,
-         * so if the data is tangent to the threshold, `minPadding` may not
-         * apply unless `softThreshold` is set to false.
-         *
-         * @sample {highcharts} highcharts/yaxis/minpadding/
-         *         Min padding of 0.2
-         * @sample {highstock} stock/xaxis/minpadding-maxpadding/
-         *         Greater min- and maxPadding
-         *
-         * @since   1.2.0
-         * @product highcharts highstock gantt
-         */
-        minPadding: 0.05,
-        /**
-         * @productdesc {highstock}
-         * In Highstock 1.x, the Y axis was placed on the left side by default.
-         *
-         * @sample {highcharts} highcharts/yaxis/opposite/
-         *         Secondary Y axis opposite
-         * @sample {highstock} stock/xaxis/opposite/
-         *         Y axis on left side
-         *
-         * @type      {boolean}
-         * @default   {highstock} true
-         * @default   {highcharts} false
-         * @product   highstock highcharts gantt
-         * @apioption yAxis.opposite
-         */
-        /**
-         * @see [tickInterval](#xAxis.tickInterval)
-         * @see [tickPositioner](#xAxis.tickPositioner)
-         * @see [tickPositions](#xAxis.tickPositions)
-         */
-        tickPixelInterval: 72,
-        showLastLabel: true,
-        /**
-         * @extends xAxis.labels
-         */
-        labels: {
-            /**
-             * Angular gauges and solid gauges only.
-             * The label's pixel distance from the perimeter of the plot area.
-             *
-             * Since v7.1.2: If it's a percentage string, it is interpreted the
-             * same as [series.radius](#plotOptions.gauge.radius), so label can be
-             * aligned under the gauge's shape.
-             *
-             * @sample {highcharts} highcharts/yaxis/labels-distance/
-             *         Labels centered under the arc
-             *
-             * @type      {number|string}
-             * @default   -25
-             * @product   highcharts
-             * @apioption yAxis.labels.distance
-             */
-            /**
-             * The y position offset of all labels relative to the tick
-             * positions on the axis. For polar and radial axis consider the use
-             * of the [distance](#yAxis.labels.distance) option.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-x/
-             *         Y axis labels placed on grid lines
-             *
-             * @type      {number}
-             * @default   {highcharts} 3
-             * @default   {highstock} -2
-             * @default   {highmaps} 3
-             * @apioption yAxis.labels.y
-             */
-            /**
-             * What part of the string the given position is anchored to. Can
-             * be one of `"left"`, `"center"` or `"right"`. The exact position
-             * also depends on the `labels.x` setting.
-             *
-             * Angular gauges and solid gauges defaults to `"center"`.
-             * Solid gauges with two labels have additional option `"auto"`
-             * for automatic horizontal and vertical alignment.
-             *
-             * @see [yAxis.labels.distance](#yAxis.labels.distance)
-             *
-             * @sample {highcharts} highcharts/yaxis/labels-align-left/
-             *         Left
-             * @sample {highcharts} highcharts/series-solidgauge/labels-auto-aligned/
-             *         Solid gauge labels auto aligned
-             *
-             * @type       {Highcharts.AlignValue}
-             * @default    {highcharts|highmaps} right
-             * @default    {highstock} left
-             * @apioption  yAxis.labels.align
-             */
-            /**
-             * The x position offset of all labels relative to the tick
-             * positions on the axis. Defaults to -15 for left axis, 15 for
-             * right axis.
-             *
-             * @sample {highcharts} highcharts/xaxis/labels-x/
-             *         Y axis labels placed on grid lines
-             */
-            x: -8
-        },
-        /**
-         * @productdesc {highmaps}
-         * In Highmaps, the axis line is hidden by default, because the axis is
-         * not visible by default.
-         *
-         * @type      {Highcharts.ColorType}
-         * @apioption yAxis.lineColor
-         */
-        /**
-         * @sample {highcharts} highcharts/yaxis/max-200/
-         *         Y axis max of 200
-         * @sample {highcharts} highcharts/yaxis/max-logarithmic/
-         *         Y axis max on logarithmic axis
-         * @sample {highstock} stock/yaxis/min-max/
-         *         Fixed min and max on Y axis
-         * @sample {highmaps} maps/axis/min-max/
-         *         Pre-zoomed to a specific area
-         *
-         * @apioption yAxis.max
-         */
-        /**
-         * @sample {highcharts} highcharts/yaxis/min-startontick-false/
-         *         -50 with startOnTick to false
-         * @sample {highcharts} highcharts/yaxis/min-startontick-true/
-         *         -50 with startOnTick true by default
-         * @sample {highstock} stock/yaxis/min-max/
-         *         Fixed min and max on Y axis
-         * @sample {highmaps} maps/axis/min-max/
-         *         Pre-zoomed to a specific area
-         *
-         * @apioption yAxis.min
-         */
-        /**
-         * An optional scrollbar to display on the Y axis in response to
-         * limiting the minimum an maximum of the axis values.
-         *
-         * In styled mode, all the presentational options for the scrollbar
-         * are replaced by the classes `.highcharts-scrollbar-thumb`,
-         * `.highcharts-scrollbar-arrow`, `.highcharts-scrollbar-button`,
-         * `.highcharts-scrollbar-rifles` and `.highcharts-scrollbar-track`.
-         *
-         * @sample {highstock} stock/yaxis/scrollbar/
-         *         Scrollbar on the Y axis
-         *
-         * @extends   scrollbar
-         * @since     4.2.6
-         * @product   highstock
-         * @excluding height
-         * @apioption yAxis.scrollbar
-         */
-        /**
-         * Enable the scrollbar on the Y axis.
-         *
-         * @sample {highstock} stock/yaxis/scrollbar/
-         *         Enabled on Y axis
-         *
-         * @type      {boolean}
-         * @default   false
-         * @since     4.2.6
-         * @product   highstock
-         * @apioption yAxis.scrollbar.enabled
-         */
-        /**
-         * Pixel margin between the scrollbar and the axis elements.
-         *
-         * @type      {number}
-         * @default   10
-         * @since     4.2.6
-         * @product   highstock
-         * @apioption yAxis.scrollbar.margin
-         */
-        /**
-         * Whether to show the scrollbar when it is fully zoomed out at max
-         * range. Setting it to `false` on the Y axis makes the scrollbar stay
-         * hidden until the user zooms in, like common in browsers.
-         *
-         * @type      {boolean}
-         * @default   true
-         * @since     4.2.6
-         * @product   highstock
-         * @apioption yAxis.scrollbar.showFull
-         */
-        /**
-         * The width of a vertical scrollbar or height of a horizontal
-         * scrollbar. Defaults to 20 on touch devices.
-         *
-         * @type      {number}
-         * @default   14
-         * @since     4.2.6
-         * @product   highstock
-         * @apioption yAxis.scrollbar.size
-         */
-        /**
-         * Z index of the scrollbar elements.
-         *
-         * @type      {number}
-         * @default   3
-         * @since     4.2.6
-         * @product   highstock
-         * @apioption yAxis.scrollbar.zIndex
-         */
-        /**
-         * A soft maximum for the axis. If the series data maximum is less
-         * than this, the axis will stay at this maximum, but if the series
-         * data maximum is higher, the axis will flex to show all data.
-         *
-         * **Note**: The [series.softThreshold](
-         * #plotOptions.series.softThreshold) option takes precedence over this
-         * option.
-         *
-         * @sample highcharts/yaxis/softmin-softmax/
-         *         Soft min and max
-         *
-         * @type      {number}
-         * @since     5.0.1
-         * @product   highcharts highstock gantt
-         * @apioption yAxis.softMax
-         */
-        /**
-         * A soft minimum for the axis. If the series data minimum is greater
-         * than this, the axis will stay at this minimum, but if the series
-         * data minimum is lower, the axis will flex to show all data.
-         *
-         * **Note**: The [series.softThreshold](
-         * #plotOptions.series.softThreshold) option takes precedence over this
-         * option.
-         *
-         * @sample highcharts/yaxis/softmin-softmax/
-         *         Soft min and max
-         *
-         * @type      {number}
-         * @since     5.0.1
-         * @product   highcharts highstock gantt
-         * @apioption yAxis.softMin
-         */
-        /**
-         * Defines the horizontal alignment of the stack total label. Can be one
-         * of `"left"`, `"center"` or `"right"`. The default value is calculated
-         * at runtime and depends on orientation and whether the stack is
-         * positive or negative.
-         *
-         * @sample {highcharts} highcharts/yaxis/stacklabels-align-left/
-         *         Aligned to the left
-         * @sample {highcharts} highcharts/yaxis/stacklabels-align-center/
-         *         Aligned in center
-         * @sample {highcharts} highcharts/yaxis/stacklabels-align-right/
-         *         Aligned to the right
-         *
-         * @type      {Highcharts.AlignValue}
-         * @since     2.1.5
-         * @product   highcharts
-         * @apioption yAxis.stackLabels.align
-         */
-        /**
-         * A format string for the data label. Available variables are the same
-         * as for `formatter`.
-         *
-         * @type      {string}
-         * @default   {total}
-         * @since     3.0.2
-         * @product   highcharts highstock
-         * @apioption yAxis.stackLabels.format
-         */
-        /**
-         * Rotation of the labels in degrees.
-         *
-         * @sample {highcharts} highcharts/yaxis/stacklabels-rotation/
-         *         Labels rotated 45°
-         *
-         * @type      {number}
-         * @default   0
-         * @since     2.1.5
-         * @product   highcharts
-         * @apioption yAxis.stackLabels.rotation
-         */
-        /**
-         * The text alignment for the label. While `align` determines where the
-         * texts anchor point is placed with regards to the stack, `textAlign`
-         * determines how the text is aligned against its anchor point. Possible
-         * values are `"left"`, `"center"` and `"right"`. The default value is
-         * calculated at runtime and depends on orientation and whether the
-         * stack is positive or negative.
-         *
-         * @sample {highcharts} highcharts/yaxis/stacklabels-textalign-left/
-         *         Label in center position but text-aligned left
-         *
-         * @type      {Highcharts.AlignValue}
-         * @since     2.1.5
-         * @product   highcharts
-         * @apioption yAxis.stackLabels.textAlign
-         */
-        /**
-         * Whether to [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
-         * to render the labels.
-         *
-         * @type      {boolean}
-         * @default   false
-         * @since     3.0
-         * @product   highcharts highstock
-         * @apioption yAxis.stackLabels.useHTML
-         */
-        /**
-         * Defines the vertical alignment of the stack total label. Can be one
-         * of `"top"`, `"middle"` or `"bottom"`. The default value is calculated
-         * at runtime and depends on orientation and whether the stack is
-         * positive or negative.
-         *
-         * @sample {highcharts} highcharts/yaxis/stacklabels-verticalalign-top/
-         *         Vertically aligned top
-         * @sample {highcharts} highcharts/yaxis/stacklabels-verticalalign-middle/
-         *         Vertically aligned middle
-         * @sample {highcharts} highcharts/yaxis/stacklabels-verticalalign-bottom/
-         *         Vertically aligned bottom
-         *
-         * @type      {Highcharts.VerticalAlignValue}
-         * @since     2.1.5
-         * @product   highcharts
-         * @apioption yAxis.stackLabels.verticalAlign
-         */
-        /**
-         * The x position offset of the label relative to the left of the
-         * stacked bar. The default value is calculated at runtime and depends
-         * on orientation and whether the stack is positive or negative.
-         *
-         * @sample {highcharts} highcharts/yaxis/stacklabels-x/
-         *         Stack total labels with x offset
-         *
-         * @type      {number}
-         * @since     2.1.5
-         * @product   highcharts
-         * @apioption yAxis.stackLabels.x
-         */
-        /**
-         * The y position offset of the label relative to the tick position
-         * on the axis. The default value is calculated at runtime and depends
-         * on orientation and whether the stack is positive or negative.
-         *
-         * @sample {highcharts} highcharts/yaxis/stacklabels-y/
-         *         Stack total labels with y offset
-         *
-         * @type      {number}
-         * @since     2.1.5
-         * @product   highcharts
-         * @apioption yAxis.stackLabels.y
-         */
-        /**
-         * Whether to force the axis to start on a tick. Use this option with
-         * the `maxPadding` option to control the axis start.
-         *
-         * This option is always disabled, when panning type is
-         * either `y` or `xy`.
-         *
-         * @see [type](#chart.panning.type)
-         *
-         * @sample {highcharts} highcharts/xaxis/startontick-false/
-         *         False by default
-         * @sample {highcharts} highcharts/xaxis/startontick-true/
-         *         True
-         * @sample {highstock} stock/xaxis/endontick/
-         *         False for Y axis
-         *
-         * @since   1.2.0
-         * @product highcharts highstock gantt
-         */
-        startOnTick: true,
-        title: {
-            /**
-             * The pixel distance between the axis labels and the title.
-             * Positive values are outside the axis line, negative are inside.
-             *
-             * @sample {highcharts} highcharts/xaxis/title-margin/
-             *         Y axis title margin of 60
-             *
-             * @type      {number}
-             * @default   40
-             * @apioption yAxis.title.margin
-             */
-            /**
-             * The rotation of the text in degrees. 0 is horizontal, 270 is
-             * vertical reading from bottom to top.
-             *
-             * @sample {highcharts} highcharts/yaxis/title-offset/
-             *         Horizontal
-             */
-            rotation: 270,
-            /**
-             * The actual text of the axis title. Horizontal texts can contain
-             * HTML, but rotated texts are painted using vector techniques and
-             * must be clean text. The Y axis title is disabled by setting the
-             * `text` option to `undefined`.
-             *
-             * @sample {highcharts} highcharts/xaxis/title-text/
-             *         Custom HTML
-             *
-             * @type    {string|null}
-             * @default {highcharts} Values
-             * @default {highstock} undefined
-             * @product highcharts highstock gantt
-             */
-            text: 'Values'
-        },
-        /**
-         * The top position of the Y axis. If it's a number, it is interpreted
-         * as pixel position relative to the chart.
-         *
-         * Since Highcharts 2: If it's a percentage string, it is interpreted as
-         * percentages of the plot height, offset from plot area top.
-         *
-         * @see [yAxis.height](#yAxis.height)
-         *
-         * @sample {highstock} stock/demo/candlestick-and-volume/
-         *         Percentage height panes
-         *
-         * @type      {number|string}
-         * @product   highcharts highstock
-         * @apioption yAxis.top
-         */
-        /**
-         * The stack labels show the total value for each bar in a stacked
-         * column or bar chart. The label will be placed on top of positive
-         * columns and below negative columns. In case of an inverted column
-         * chart or a bar chart the label is placed to the right of positive
-         * bars and to the left of negative bars.
-         *
-         * @product highcharts
-         */
-        stackLabels: {
-            /**
-             * Enable or disable the initial animation when a series is
-             * displayed for the `stackLabels`. The animation can also be set as
-             * a configuration object. Please note that this option only
-             * applies to the initial animation.
-             * For other animations, see [chart.animation](#chart.animation)
-             * and the animation parameter under the API methods.
-             * The following properties are supported:
-             *
-             * - `defer`: The animation delay time in milliseconds.
-             *
-             * @sample {highcharts} highcharts/plotoptions/animation-defer/
-             *          Animation defer settings
-             * @type {boolean|Partial<Highcharts.AnimationOptionsObject>}
-             * @since 8.2.0
-             * @apioption yAxis.stackLabels.animation
-             */
-            animation: {},
-            /**
-             * The animation delay time in milliseconds.
-             * Set to `0` renders stackLabel immediately.
-             * As `undefined` inherits defer time from the [series.animation.defer](#plotOptions.series.animation.defer).
-             *
-             * @type      {number}
-             * @since 8.2.0
-             * @apioption yAxis.stackLabels.animation.defer
-             */
-            /**
-             * Allow the stack labels to overlap.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-allowoverlap-false/
-             *         Default false
-             *
-             * @since   5.0.13
-             * @product highcharts
-             */
-            allowOverlap: false,
-            /**
-             * The background color or gradient for the stack label.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-box/
-             *          Stack labels box options
-             * @type      {Highcharts.ColorType}
-             * @since 8.1.0
-             * @apioption yAxis.stackLabels.backgroundColor
-             */
-            /**
-             * The border color for the stack label. Defaults to `undefined`.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-box/
-             *          Stack labels box options
-             * @type      {Highcharts.ColorType}
-             * @since 8.1.0
-             * @apioption yAxis.stackLabels.borderColor
-             */
-            /**
-             * The border radius in pixels for the stack label.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-box/
-             *          Stack labels box options
-             * @type      {number}
-             * @default   0
-             * @since 8.1.0
-             * @apioption yAxis.stackLabels.borderRadius
-             */
-            /**
-             * The border width in pixels for the stack label.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-box/
-             *          Stack labels box options
-             * @type      {number}
-             * @default   0
-             * @since 8.1.0
-             * @apioption yAxis.stackLabels.borderWidth
-             */
-            /**
-             * Enable or disable the stack total labels.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-enabled/
-             *         Enabled stack total labels
-             * @sample {highcharts} highcharts/yaxis/stacklabels-enabled-waterfall/
-             *         Enabled stack labels in waterfall chart
-             *
-             * @since   2.1.5
-             * @product highcharts
-             */
-            enabled: false,
-            /**
-             * Whether to hide stack labels that are outside the plot area.
-             * By default, the stack label is moved
-             * inside the plot area according to the
-             * [overflow](/highcharts/#yAxis/stackLabels/overflow)
-             * option.
-             *
-             * @type  {boolean}
-             * @since 7.1.3
-             */
-            crop: true,
-            /**
-             * How to handle stack total labels that flow outside the plot area.
-             * The default is set to `"justify"`,
-             * which aligns them inside the plot area.
-             * For columns and bars, this means it will be moved inside the bar.
-             * To display stack labels outside the plot area,
-             * set `crop` to `false` and `overflow` to `"allow"`.
-             *
-             * @sample highcharts/yaxis/stacklabels-overflow/
-             *         Stack labels flows outside the plot area.
-             *
-             * @type  {Highcharts.DataLabelsOverflowValue}
-             * @since 7.1.3
-             */
-            overflow: 'justify',
-            /* eslint-disable valid-jsdoc */
-            /**
-             * Callback JavaScript function to format the label. The value is
-             * given by `this.total`.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-formatter/
-             *         Added units to stack total value
-             *
-             * @type    {Highcharts.FormatterCallbackFunction<Highcharts.StackItemObject>}
-             * @since   2.1.5
-             * @product highcharts
-             */
-            formatter: function () {
-                var numberFormatter = this.axis.chart.numberFormatter;
-                /* eslint-enable valid-jsdoc */
-                return numberFormatter(this.total, -1);
-            },
-            /**
-             * CSS styles for the label.
-             *
-             * In styled mode, the styles are set in the
-             * `.highcharts-stack-label` class.
-             *
-             * @sample {highcharts} highcharts/yaxis/stacklabels-style/
-             *         Red stack total labels
-             *
-             * @type    {Highcharts.CSSObject}
-             * @since   2.1.5
-             * @product highcharts
-             */
-            style: {
-                /** @internal */
-                color: palette.neutralColor100,
-                /** @internal */
-                fontSize: '11px',
-                /** @internal */
-                fontWeight: 'bold',
-                /** @internal */
-                textOutline: '1px contrast'
-            }
-        },
-        gridLineWidth: 1,
-        lineWidth: 0
-        // tickWidth: 0
-    };
-    /**
-     * The Z axis or depth axis for 3D plots.
-     *
-     * See the [Axis class](/class-reference/Highcharts.Axis) for programmatic
-     * access to the axis.
-     *
-     * @sample {highcharts} highcharts/3d/scatter-zaxis-categories/
-     *         Z-Axis with Categories
-     * @sample {highcharts} highcharts/3d/scatter-zaxis-grid/
-     *         Z-Axis with styling
-     *
-     * @type      {*|Array<*>}
-     * @extends   xAxis
-     * @since     5.0.0
-     * @product   highcharts
-     * @excluding breaks, crosshair, height, left, lineColor, lineWidth,
-     *            nameToX, showEmpty, top, width
-     * @apioption zAxis
-     *
-     * @private
-     */
-    // This variable extends the defaultOptions for left axes.
-    Axis.defaultLeftAxisOptions = {
-        labels: {
-            x: -15
-        },
-        title: {
-            rotation: 270
-        }
-    };
-    // This variable extends the defaultOptions for right axes.
-    Axis.defaultRightAxisOptions = {
-        labels: {
-            x: 15
-        },
-        title: {
-            rotation: 90
-        }
-    };
-    // This variable extends the defaultOptions for bottom axes.
-    Axis.defaultBottomAxisOptions = {
-        labels: {
-            autoRotation: [-45],
-            x: 0
-            // overflow: undefined,
-            // staggerLines: null
-        },
-        margin: 15,
-        title: {
-            rotation: 0
-        }
-    };
-    // This variable extends the defaultOptions for top axes.
-    Axis.defaultTopAxisOptions = {
-        labels: {
-            autoRotation: [-45],
-            x: 0
-            // overflow: undefined
-            // staggerLines: null
-        },
-        margin: 15,
-        title: {
-            rotation: 0
-        }
-    };
-    // Properties to survive after destroy, needed for Axis.update (#4317,
-    // #5773, #5881).
-    Axis.keepProps = ['extKey', 'hcEvents', 'names', 'series', 'userMax', 'userMin'];
-    return Axis;
-}());
-H.Axis = Axis;
-export default H.Axis;

+ 0 - 611
node_modules/highcharts/es-modules/Core/Axis/Axis3D.js

@@ -1,611 +0,0 @@
-/* *
- *
- *  (c) 2010-2021 Torstein Honsi
- *
- *  Extenstion for 3d axes
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import H from '../Globals.js';
-import Math3D from '../../Extensions/Math3D.js';
-var perspective = Math3D.perspective, perspective3D = Math3D.perspective3D, shapeArea = Math3D.shapeArea;
-import Tick from './Tick.js';
-import Tick3D from './Tick3D.js';
-import U from '../Utilities.js';
-var addEvent = U.addEvent, merge = U.merge, pick = U.pick, wrap = U.wrap;
-var deg2rad = H.deg2rad;
-/* eslint-disable valid-jsdoc */
-/**
- * Adds 3D support to axes.
- * @private
- * @class
- */
-var Axis3DAdditions = /** @class */ (function () {
-    /* *
-     *
-     *  Constructors
-     *
-     * */
-    /**
-     * @private
-     */
-    function Axis3DAdditions(axis) {
-        this.axis = axis;
-    }
-    /* *
-     *
-     *  Functions
-     *
-     * */
-    /**
-     * @private
-     * @param {Highcharts.Axis} axis
-     * Related axis.
-     * @param {Highcharts.Position3DObject} pos
-     * Position to fix.
-     * @param {boolean} [isTitle]
-     * Whether this is a title position.
-     * @return {Highcharts.Position3DObject}
-     * Fixed position.
-     */
-    Axis3DAdditions.prototype.fix3dPosition = function (pos, isTitle) {
-        var axis3D = this;
-        var axis = axis3D.axis;
-        var chart = axis.chart;
-        // Do not do this if the chart is not 3D
-        if (axis.coll === 'colorAxis' ||
-            !chart.chart3d ||
-            !chart.is3d()) {
-            return pos;
-        }
-        var alpha = deg2rad * chart.options.chart.options3d.alpha, beta = deg2rad * chart.options.chart.options3d.beta, positionMode = pick(isTitle && axis.options.title.position3d, axis.options.labels.position3d), skew = pick(isTitle && axis.options.title.skew3d, axis.options.labels.skew3d), frame = chart.chart3d.frame3d, plotLeft = chart.plotLeft, plotRight = chart.plotWidth + plotLeft, plotTop = chart.plotTop, plotBottom = chart.plotHeight + plotTop, 
-        // Indicates that we are labelling an X or Z axis on the "back" of
-        // the chart
-        reverseFlap = false, offsetX = 0, offsetY = 0, vecX, vecY = { x: 0, y: 1, z: 0 };
-        pos = axis.axis3D.swapZ({ x: pos.x, y: pos.y, z: 0 });
-        if (axis.isZAxis) { // Z Axis
-            if (axis.opposite) {
-                if (frame.axes.z.top === null) {
-                    return {};
-                }
-                offsetY = pos.y - plotTop;
-                pos.x = frame.axes.z.top.x;
-                pos.y = frame.axes.z.top.y;
-                vecX = frame.axes.z.top.xDir;
-                reverseFlap = !frame.top.frontFacing;
-            }
-            else {
-                if (frame.axes.z.bottom === null) {
-                    return {};
-                }
-                offsetY = pos.y - plotBottom;
-                pos.x = frame.axes.z.bottom.x;
-                pos.y = frame.axes.z.bottom.y;
-                vecX = frame.axes.z.bottom.xDir;
-                reverseFlap = !frame.bottom.frontFacing;
-            }
-        }
-        else if (axis.horiz) { // X Axis
-            if (axis.opposite) {
-                if (frame.axes.x.top === null) {
-                    return {};
-                }
-                offsetY = pos.y - plotTop;
-                pos.y = frame.axes.x.top.y;
-                pos.z = frame.axes.x.top.z;
-                vecX = frame.axes.x.top.xDir;
-                reverseFlap = !frame.top.frontFacing;
-            }
-            else {
-                if (frame.axes.x.bottom === null) {
-                    return {};
-                }
-                offsetY = pos.y - plotBottom;
-                pos.y = frame.axes.x.bottom.y;
-                pos.z = frame.axes.x.bottom.z;
-                vecX = frame.axes.x.bottom.xDir;
-                reverseFlap = !frame.bottom.frontFacing;
-            }
-        }
-        else { // Y Axis
-            if (axis.opposite) {
-                if (frame.axes.y.right === null) {
-                    return {};
-                }
-                offsetX = pos.x - plotRight;
-                pos.x = frame.axes.y.right.x;
-                pos.z = frame.axes.y.right.z;
-                vecX = frame.axes.y.right.xDir;
-                // Rotate 90º on opposite edge
-                vecX = { x: vecX.z, y: vecX.y, z: -vecX.x };
-            }
-            else {
-                if (frame.axes.y.left === null) {
-                    return {};
-                }
-                offsetX = pos.x - plotLeft;
-                pos.x = frame.axes.y.left.x;
-                pos.z = frame.axes.y.left.z;
-                vecX = frame.axes.y.left.xDir;
-            }
-        }
-        if (positionMode === 'chart') {
-            // Labels preserve their direction relative to the chart
-            // nothing to do
-        }
-        else if (positionMode === 'flap') {
-            // Labels are rotated around the axis direction to face the screen
-            if (!axis.horiz) { // Y Axis
-                vecX = { x: Math.cos(beta), y: 0, z: Math.sin(beta) };
-            }
-            else { // X and Z Axis
-                var sin = Math.sin(alpha);
-                var cos = Math.cos(alpha);
-                if (axis.opposite) {
-                    sin = -sin;
-                }
-                if (reverseFlap) {
-                    sin = -sin;
-                }
-                vecY = { x: vecX.z * sin, y: cos, z: -vecX.x * sin };
-            }
-        }
-        else if (positionMode === 'ortho') {
-            // Labels will be rotated to be ortogonal to the axis
-            if (!axis.horiz) { // Y Axis
-                vecX = { x: Math.cos(beta), y: 0, z: Math.sin(beta) };
-            }
-            else { // X and Z Axis
-                var sina = Math.sin(alpha);
-                var cosa = Math.cos(alpha);
-                var sinb = Math.sin(beta);
-                var cosb = Math.cos(beta);
-                var vecZ = { x: sinb * cosa, y: -sina, z: -cosa * cosb };
-                vecY = {
-                    x: vecX.y * vecZ.z - vecX.z * vecZ.y,
-                    y: vecX.z * vecZ.x - vecX.x * vecZ.z,
-                    z: vecX.x * vecZ.y - vecX.y * vecZ.x
-                };
-                var scale = 1 / Math.sqrt(vecY.x * vecY.x + vecY.y * vecY.y + vecY.z * vecY.z);
-                if (reverseFlap) {
-                    scale = -scale;
-                }
-                vecY = { x: scale * vecY.x, y: scale * vecY.y, z: scale * vecY.z };
-            }
-        }
-        else { // positionMode  == 'offset'
-            // Labels will be skewd to maintain vertical / horizontal offsets
-            // from axis
-            if (!axis.horiz) { // Y Axis
-                vecX = { x: Math.cos(beta), y: 0, z: Math.sin(beta) };
-            }
-            else { // X and Z Axis
-                vecY = {
-                    x: Math.sin(beta) * Math.sin(alpha),
-                    y: Math.cos(alpha),
-                    z: -Math.cos(beta) * Math.sin(alpha)
-                };
-            }
-        }
-        pos.x += offsetX * vecX.x + offsetY * vecY.x;
-        pos.y += offsetX * vecX.y + offsetY * vecY.y;
-        pos.z += offsetX * vecX.z + offsetY * vecY.z;
-        var projected = perspective([pos], axis.chart)[0];
-        if (skew) {
-            // Check if the label text would be mirrored
-            var isMirrored = shapeArea(perspective([
-                pos,
-                { x: pos.x + vecX.x, y: pos.y + vecX.y, z: pos.z + vecX.z },
-                { x: pos.x + vecY.x, y: pos.y + vecY.y, z: pos.z + vecY.z }
-            ], axis.chart)) < 0;
-            if (isMirrored) {
-                vecX = { x: -vecX.x, y: -vecX.y, z: -vecX.z };
-            }
-            var pointsProjected = perspective([
-                { x: pos.x, y: pos.y, z: pos.z },
-                { x: pos.x + vecX.x, y: pos.y + vecX.y, z: pos.z + vecX.z },
-                { x: pos.x + vecY.x, y: pos.y + vecY.y, z: pos.z + vecY.z }
-            ], axis.chart);
-            projected.matrix = [
-                pointsProjected[1].x - pointsProjected[0].x,
-                pointsProjected[1].y - pointsProjected[0].y,
-                pointsProjected[2].x - pointsProjected[0].x,
-                pointsProjected[2].y - pointsProjected[0].y,
-                projected.x,
-                projected.y
-            ];
-            projected.matrix[4] -= projected.x * projected.matrix[0] +
-                projected.y * projected.matrix[2];
-            projected.matrix[5] -= projected.x * projected.matrix[1] +
-                projected.y * projected.matrix[3];
-        }
-        return projected;
-    };
-    /**
-     * @private
-     */
-    Axis3DAdditions.prototype.swapZ = function (p, insidePlotArea) {
-        var axis = this.axis;
-        if (axis.isZAxis) {
-            var plotLeft = insidePlotArea ? 0 : axis.chart.plotLeft;
-            return {
-                x: plotLeft + p.z,
-                y: p.y,
-                z: p.x - plotLeft
-            };
-        }
-        return p;
-    };
-    return Axis3DAdditions;
-}());
-/**
- * Axis with 3D support.
- * @private
- * @class
- */
-var Axis3D = /** @class */ (function () {
-    function Axis3D() {
-    }
-    /* *
-     *
-     *  Static Functions
-     *
-     * */
-    /**
-     * Extends axis class with 3D support.
-     * @private
-     */
-    Axis3D.compose = function (AxisClass) {
-        merge(true, AxisClass.defaultOptions, Axis3D.defaultOptions);
-        AxisClass.keepProps.push('axis3D');
-        addEvent(AxisClass, 'init', Axis3D.onInit);
-        addEvent(AxisClass, 'afterSetOptions', Axis3D.onAfterSetOptions);
-        addEvent(AxisClass, 'drawCrosshair', Axis3D.onDrawCrosshair);
-        addEvent(AxisClass, 'destroy', Axis3D.onDestroy);
-        var axisProto = AxisClass.prototype;
-        wrap(axisProto, 'getLinePath', Axis3D.wrapGetLinePath);
-        wrap(axisProto, 'getPlotBandPath', Axis3D.wrapGetPlotBandPath);
-        wrap(axisProto, 'getPlotLinePath', Axis3D.wrapGetPlotLinePath);
-        wrap(axisProto, 'getSlotWidth', Axis3D.wrapGetSlotWidth);
-        wrap(axisProto, 'getTitlePosition', Axis3D.wrapGetTitlePosition);
-        Tick3D.compose(Tick);
-    };
-    /**
-     * @private
-     */
-    Axis3D.onAfterSetOptions = function () {
-        var axis = this;
-        var chart = axis.chart;
-        var options = axis.options;
-        if (chart.is3d && chart.is3d() && axis.coll !== 'colorAxis') {
-            options.tickWidth = pick(options.tickWidth, 0);
-            options.gridLineWidth = pick(options.gridLineWidth, 1);
-        }
-    };
-    /**
-     * @private
-     */
-    Axis3D.onDestroy = function () {
-        ['backFrame', 'bottomFrame', 'sideFrame'].forEach(function (prop) {
-            if (this[prop]) {
-                this[prop] = this[prop].destroy();
-            }
-        }, this);
-    };
-    /**
-     * @private
-     */
-    Axis3D.onDrawCrosshair = function (e) {
-        var axis = this;
-        if (axis.chart.is3d() &&
-            axis.coll !== 'colorAxis') {
-            if (e.point) {
-                e.point.crosshairPos = axis.isXAxis ?
-                    e.point.axisXpos :
-                    axis.len - e.point.axisYpos;
-            }
-        }
-    };
-    /**
-     * @private
-     */
-    Axis3D.onInit = function () {
-        var axis = this;
-        if (!axis.axis3D) {
-            axis.axis3D = new Axis3DAdditions(axis);
-        }
-    };
-    /**
-     * Do not draw axislines in 3D.
-     * @private
-     */
-    Axis3D.wrapGetLinePath = function (proceed) {
-        var axis = this;
-        // Do not do this if the chart is not 3D
-        if (!axis.chart.is3d() || axis.coll === 'colorAxis') {
-            return proceed.apply(axis, [].slice.call(arguments, 1));
-        }
-        return [];
-    };
-    /**
-     * @private
-     */
-    Axis3D.wrapGetPlotBandPath = function (proceed) {
-        // Do not do this if the chart is not 3D
-        if (!this.chart.is3d() || this.coll === 'colorAxis') {
-            return proceed.apply(this, [].slice.call(arguments, 1));
-        }
-        var args = arguments, from = args[1], to = args[2], path = [], fromPath = this.getPlotLinePath({ value: from }), toPath = this.getPlotLinePath({ value: to });
-        if (fromPath && toPath) {
-            for (var i = 0; i < fromPath.length; i += 2) {
-                var fromStartSeg = fromPath[i], fromEndSeg = fromPath[i + 1], toStartSeg = toPath[i], toEndSeg = toPath[i + 1];
-                if (fromStartSeg[0] === 'M' &&
-                    fromEndSeg[0] === 'L' &&
-                    toStartSeg[0] === 'M' &&
-                    toEndSeg[0] === 'L') {
-                    path.push(fromStartSeg, fromEndSeg, toEndSeg, 
-                    // lineTo instead of moveTo
-                    ['L', toStartSeg[1], toStartSeg[2]], ['Z']);
-                }
-            }
-        }
-        return path;
-    };
-    /**
-     * @private
-     */
-    Axis3D.wrapGetPlotLinePath = function (proceed) {
-        var axis = this;
-        var axis3D = axis.axis3D;
-        var chart = axis.chart;
-        var path = proceed.apply(axis, [].slice.call(arguments, 1));
-        // Do not do this if the chart is not 3D
-        if (axis.coll === 'colorAxis' ||
-            !chart.chart3d ||
-            !chart.is3d()) {
-            return path;
-        }
-        if (path === null) {
-            return path;
-        }
-        var options3d = chart.options.chart.options3d, d = axis.isZAxis ? chart.plotWidth : options3d.depth, frame = chart.chart3d.frame3d, startSegment = path[0], endSegment = path[1], pArr, pathSegments = [];
-        if (startSegment[0] === 'M' && endSegment[0] === 'L') {
-            pArr = [
-                axis3D.swapZ({ x: startSegment[1], y: startSegment[2], z: 0 }),
-                axis3D.swapZ({ x: startSegment[1], y: startSegment[2], z: d }),
-                axis3D.swapZ({ x: endSegment[1], y: endSegment[2], z: 0 }),
-                axis3D.swapZ({ x: endSegment[1], y: endSegment[2], z: d })
-            ];
-            if (!this.horiz) { // Y-Axis
-                if (frame.front.visible) {
-                    pathSegments.push(pArr[0], pArr[2]);
-                }
-                if (frame.back.visible) {
-                    pathSegments.push(pArr[1], pArr[3]);
-                }
-                if (frame.left.visible) {
-                    pathSegments.push(pArr[0], pArr[1]);
-                }
-                if (frame.right.visible) {
-                    pathSegments.push(pArr[2], pArr[3]);
-                }
-            }
-            else if (this.isZAxis) { // Z-Axis
-                if (frame.left.visible) {
-                    pathSegments.push(pArr[0], pArr[2]);
-                }
-                if (frame.right.visible) {
-                    pathSegments.push(pArr[1], pArr[3]);
-                }
-                if (frame.top.visible) {
-                    pathSegments.push(pArr[0], pArr[1]);
-                }
-                if (frame.bottom.visible) {
-                    pathSegments.push(pArr[2], pArr[3]);
-                }
-            }
-            else { // X-Axis
-                if (frame.front.visible) {
-                    pathSegments.push(pArr[0], pArr[2]);
-                }
-                if (frame.back.visible) {
-                    pathSegments.push(pArr[1], pArr[3]);
-                }
-                if (frame.top.visible) {
-                    pathSegments.push(pArr[0], pArr[1]);
-                }
-                if (frame.bottom.visible) {
-                    pathSegments.push(pArr[2], pArr[3]);
-                }
-            }
-            pathSegments = perspective(pathSegments, this.chart, false);
-        }
-        return chart.renderer.toLineSegments(pathSegments);
-    };
-    /**
-     * Wrap getSlotWidth function to calculate individual width value for each
-     * slot (#8042).
-     * @private
-     */
-    Axis3D.wrapGetSlotWidth = function (proceed, tick) {
-        var axis = this;
-        var chart = axis.chart;
-        var ticks = axis.ticks;
-        var gridGroup = axis.gridGroup;
-        if (axis.categories &&
-            chart.frameShapes &&
-            chart.is3d() &&
-            gridGroup &&
-            tick &&
-            tick.label) {
-            var firstGridLine = gridGroup.element.childNodes[0].getBBox(), frame3DLeft = chart.frameShapes.left.getBBox(), options3d = chart.options.chart.options3d, origin = {
-                x: chart.plotWidth / 2,
-                y: chart.plotHeight / 2,
-                z: options3d.depth / 2,
-                vd: pick(options3d.depth, 1) * pick(options3d.viewDistance, 0)
-            }, labelPos, prevLabelPos, nextLabelPos, slotWidth, tickId = tick.pos, prevTick = ticks[tickId - 1], nextTick = ticks[tickId + 1];
-            // Check whether the tick is not the first one and previous tick
-            // exists, then calculate position of previous label.
-            if (tickId !== 0 && prevTick && prevTick.label && prevTick.label.xy) {
-                prevLabelPos = perspective3D({
-                    x: prevTick.label.xy.x,
-                    y: prevTick.label.xy.y,
-                    z: null
-                }, origin, origin.vd);
-            }
-            // If next label position is defined, then recalculate its position
-            // basing on the perspective.
-            if (nextTick && nextTick.label && nextTick.label.xy) {
-                nextLabelPos = perspective3D({
-                    x: nextTick.label.xy.x,
-                    y: nextTick.label.xy.y,
-                    z: null
-                }, origin, origin.vd);
-            }
-            labelPos = {
-                x: tick.label.xy.x,
-                y: tick.label.xy.y,
-                z: null
-            };
-            labelPos = perspective3D(labelPos, origin, origin.vd);
-            // If tick is first one, check whether next label position is
-            // already calculated, then return difference between the first and
-            // the second label. If there is no next label position calculated,
-            // return the difference between the first grid line and left 3d
-            // frame.
-            slotWidth = Math.abs(prevLabelPos ?
-                labelPos.x - prevLabelPos.x : nextLabelPos ?
-                nextLabelPos.x - labelPos.x :
-                firstGridLine.x - frame3DLeft.x);
-            return slotWidth;
-        }
-        return proceed.apply(axis, [].slice.call(arguments, 1));
-    };
-    /**
-     * @private
-     */
-    Axis3D.wrapGetTitlePosition = function (proceed) {
-        var pos = proceed.apply(this, [].slice.call(arguments, 1));
-        return this.axis3D ?
-            this.axis3D.fix3dPosition(pos, true) :
-            pos;
-    };
-    /* *
-     *
-     *  Static Properties
-     *
-     * */
-    /**
-     * @optionparent xAxis
-     */
-    Axis3D.defaultOptions = {
-        labels: {
-            /**
-             * Defines how the labels are be repositioned according to the 3D
-             * chart orientation.
-             *
-             * - `'offset'`: Maintain a fixed horizontal/vertical distance from
-             *   the tick marks, despite the chart orientation. This is the
-             *   backwards compatible behavior, and causes skewing of X and Z
-             *   axes.
-             *
-             * - `'chart'`: Preserve 3D position relative to the chart. This
-             *   looks nice, but hard to read if the text isn't forward-facing.
-             *
-             * - `'flap'`: Rotated text along the axis to compensate for the
-             *   chart orientation. This tries to maintain text as legible as
-             *   possible on all orientations.
-             *
-             * - `'ortho'`: Rotated text along the axis direction so that the
-             *   labels are orthogonal to the axis. This is very similar to
-             *   `'flap'`, but prevents skewing the labels (X and Y scaling are
-             *   still present).
-             *
-             * @sample highcharts/3d/skewed-labels/
-             *         Skewed labels
-             *
-             * @since      5.0.15
-             * @validvalue ['offset', 'chart', 'flap', 'ortho']
-             * @product    highcharts
-             * @requires   highcharts-3d
-             */
-            position3d: 'offset',
-            /**
-             * If enabled, the axis labels will skewed to follow the
-             * perspective.
-             *
-             * This will fix overlapping labels and titles, but texts become
-             * less legible due to the distortion.
-             *
-             * The final appearance depends heavily on `labels.position3d`.
-             *
-             * @sample highcharts/3d/skewed-labels/
-             *         Skewed labels
-             *
-             * @since    5.0.15
-             * @product  highcharts
-             * @requires highcharts-3d
-             */
-            skew3d: false
-        },
-        title: {
-            /**
-             * Defines how the title is repositioned according to the 3D chart
-             * orientation.
-             *
-             * - `'offset'`: Maintain a fixed horizontal/vertical distance from
-             *   the tick marks, despite the chart orientation. This is the
-             *   backwards compatible behavior, and causes skewing of X and Z
-             *   axes.
-             *
-             * - `'chart'`: Preserve 3D position relative to the chart. This
-             *   looks nice, but hard to read if the text isn't forward-facing.
-             *
-             * - `'flap'`: Rotated text along the axis to compensate for the
-             *   chart orientation. This tries to maintain text as legible as
-             *   possible on all orientations.
-             *
-             * - `'ortho'`: Rotated text along the axis direction so that the
-             *   labels are orthogonal to the axis. This is very similar to
-             *   `'flap'`, but prevents skewing the labels (X and Y scaling are
-             *   still present).
-             *
-             * - `undefined`: Will use the config from `labels.position3d`
-             *
-             * @sample highcharts/3d/skewed-labels/
-             *         Skewed labels
-             *
-             * @type     {"offset"|"chart"|"flap"|"ortho"|null}
-             * @since    5.0.15
-             * @product  highcharts
-             * @requires highcharts-3d
-             */
-            position3d: null,
-            /**
-             * If enabled, the axis title will skewed to follow the perspective.
-             *
-             * This will fix overlapping labels and titles, but texts become
-             * less legible due to the distortion.
-             *
-             * The final appearance depends heavily on `title.position3d`.
-             *
-             * A `null` value will use the config from `labels.skew3d`.
-             *
-             * @sample highcharts/3d/skewed-labels/
-             *         Skewed labels
-             *
-             * @type     {boolean|null}
-             * @since    5.0.15
-             * @product  highcharts
-             * @requires highcharts-3d
-             */
-            skew3d: null
-        }
-    };
-    return Axis3D;
-}());
-export default Axis3D;

+ 0 - 532
node_modules/highcharts/es-modules/Core/Axis/BrokenAxis.js

@@ -1,532 +0,0 @@
-/* *
- *
- *  (c) 2009-2021 Torstein Honsi
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import Axis from './Axis.js';
-import Series from '../Series/Series.js';
-import StackItem from '../../Extensions/Stacking.js';
-import U from '../Utilities.js';
-var addEvent = U.addEvent, find = U.find, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, pick = U.pick;
-/* eslint-disable valid-jsdoc */
-/**
- * Provides support for broken axes.
- * @private
- * @class
- */
-var BrokenAxisAdditions = /** @class */ (function () {
-    /* *
-     *
-     *  Constructors
-     *
-     * */
-    function BrokenAxisAdditions(axis) {
-        this.hasBreaks = false;
-        this.axis = axis;
-    }
-    /* *
-     *
-     *  Static Functions
-     *
-     * */
-    /**
-     * @private
-     */
-    BrokenAxisAdditions.isInBreak = function (brk, val) {
-        var ret, repeat = brk.repeat || Infinity, from = brk.from, length = brk.to - brk.from, test = (val >= from ?
-            (val - from) % repeat :
-            repeat - ((from - val) % repeat));
-        if (!brk.inclusive) {
-            ret = test < length && test !== 0;
-        }
-        else {
-            ret = test <= length;
-        }
-        return ret;
-    };
-    /**
-     * @private
-     */
-    BrokenAxisAdditions.lin2Val = function (val) {
-        var axis = this;
-        var brokenAxis = axis.brokenAxis;
-        var breakArray = brokenAxis && brokenAxis.breakArray;
-        if (!breakArray) {
-            return val;
-        }
-        var nval = val, brk, i;
-        for (i = 0; i < breakArray.length; i++) {
-            brk = breakArray[i];
-            if (brk.from >= nval) {
-                break;
-            }
-            else if (brk.to < nval) {
-                nval += brk.len;
-            }
-            else if (BrokenAxisAdditions.isInBreak(brk, nval)) {
-                nval += brk.len;
-            }
-        }
-        return nval;
-    };
-    /**
-     * @private
-     */
-    BrokenAxisAdditions.val2Lin = function (val) {
-        var axis = this;
-        var brokenAxis = axis.brokenAxis;
-        var breakArray = brokenAxis && brokenAxis.breakArray;
-        if (!breakArray) {
-            return val;
-        }
-        var nval = val, brk, i;
-        for (i = 0; i < breakArray.length; i++) {
-            brk = breakArray[i];
-            if (brk.to <= val) {
-                nval -= brk.len;
-            }
-            else if (brk.from >= val) {
-                break;
-            }
-            else if (BrokenAxisAdditions.isInBreak(brk, val)) {
-                nval -= (val - brk.from);
-                break;
-            }
-        }
-        return nval;
-    };
-    /* *
-     *
-     *  Functions
-     *
-     * */
-    /**
-     * Returns the first break found where the x is larger then break.from and
-     * smaller then break.to.
-     *
-     * @param {number} x
-     * The number which should be within a break.
-     *
-     * @param {Array<Highcharts.XAxisBreaksOptions>} breaks
-     * The array of breaks to search within.
-     *
-     * @return {Highcharts.XAxisBreaksOptions|undefined}
-     * Returns the first break found that matches, returns false if no break is
-     * found.
-     */
-    BrokenAxisAdditions.prototype.findBreakAt = function (x, breaks) {
-        return find(breaks, function (b) {
-            return b.from < x && x < b.to;
-        });
-    };
-    /**
-     * @private
-     */
-    BrokenAxisAdditions.prototype.isInAnyBreak = function (val, testKeep) {
-        var brokenAxis = this;
-        var axis = brokenAxis.axis;
-        var breaks = axis.options.breaks, i = breaks && breaks.length, inbrk, keep, ret;
-        if (i) {
-            while (i--) {
-                if (BrokenAxisAdditions.isInBreak(breaks[i], val)) {
-                    inbrk = true;
-                    if (!keep) {
-                        keep = pick(breaks[i].showPoints, !axis.isXAxis);
-                    }
-                }
-            }
-            if (inbrk && testKeep) {
-                ret = inbrk && !keep;
-            }
-            else {
-                ret = inbrk;
-            }
-        }
-        return ret;
-    };
-    /**
-     * Dynamically set or unset breaks in an axis. This function in lighter than
-     * usin Axis.update, and it also preserves animation.
-     *
-     * @private
-     * @function Highcharts.Axis#setBreaks
-     *
-     * @param {Array<Highcharts.XAxisBreaksOptions>} [breaks]
-     *        The breaks to add. When `undefined` it removes existing breaks.
-     *
-     * @param {boolean} [redraw=true]
-     *        Whether to redraw the chart immediately.
-     *
-     * @return {void}
-     */
-    BrokenAxisAdditions.prototype.setBreaks = function (breaks, redraw) {
-        var brokenAxis = this;
-        var axis = brokenAxis.axis;
-        var hasBreaks = (isArray(breaks) && !!breaks.length);
-        axis.isDirty = brokenAxis.hasBreaks !== hasBreaks;
-        brokenAxis.hasBreaks = hasBreaks;
-        axis.options.breaks = axis.userOptions.breaks = breaks;
-        axis.forceRedraw = true; // Force recalculation in setScale
-        // Recalculate series related to the axis.
-        axis.series.forEach(function (series) {
-            series.isDirty = true;
-        });
-        if (!hasBreaks && axis.val2lin === BrokenAxisAdditions.val2Lin) {
-            // Revert to prototype functions
-            delete axis.val2lin;
-            delete axis.lin2val;
-        }
-        if (hasBreaks) {
-            axis.userOptions.ordinal = false;
-            axis.lin2val = BrokenAxisAdditions.lin2Val;
-            axis.val2lin = BrokenAxisAdditions.val2Lin;
-            axis.setExtremes = function (newMin, newMax, redraw, animation, eventArguments) {
-                // If trying to set extremes inside a break, extend min to
-                // after, and max to before the break ( #3857 )
-                if (brokenAxis.hasBreaks) {
-                    var axisBreak, breaks = this.options.breaks;
-                    while ((axisBreak = brokenAxis.findBreakAt(newMin, breaks))) {
-                        newMin = axisBreak.to;
-                    }
-                    while ((axisBreak = brokenAxis.findBreakAt(newMax, breaks))) {
-                        newMax = axisBreak.from;
-                    }
-                    // If both min and max is within the same break.
-                    if (newMax < newMin) {
-                        newMax = newMin;
-                    }
-                }
-                Axis.prototype.setExtremes.call(this, newMin, newMax, redraw, animation, eventArguments);
-            };
-            axis.setAxisTranslation = function () {
-                Axis.prototype.setAxisTranslation.call(this);
-                brokenAxis.unitLength = null;
-                if (brokenAxis.hasBreaks) {
-                    var breaks = axis.options.breaks || [], 
-                    // Temporary one:
-                    breakArrayT = [], breakArray = [], length = 0, inBrk, repeat, min = axis.userMin || axis.min, max = axis.userMax || axis.max, pointRangePadding = pick(axis.pointRangePadding, 0), start, i;
-                    // Min & max check (#4247)
-                    breaks.forEach(function (brk) {
-                        repeat = brk.repeat || Infinity;
-                        if (BrokenAxisAdditions.isInBreak(brk, min)) {
-                            min +=
-                                (brk.to % repeat) -
-                                    (min % repeat);
-                        }
-                        if (BrokenAxisAdditions.isInBreak(brk, max)) {
-                            max -=
-                                (max % repeat) -
-                                    (brk.from % repeat);
-                        }
-                    });
-                    // Construct an array holding all breaks in the axis
-                    breaks.forEach(function (brk) {
-                        start = brk.from;
-                        repeat = brk.repeat || Infinity;
-                        while (start - repeat > min) {
-                            start -= repeat;
-                        }
-                        while (start < min) {
-                            start += repeat;
-                        }
-                        for (i = start; i < max; i += repeat) {
-                            breakArrayT.push({
-                                value: i,
-                                move: 'in'
-                            });
-                            breakArrayT.push({
-                                value: i + (brk.to - brk.from),
-                                move: 'out',
-                                size: brk.breakSize
-                            });
-                        }
-                    });
-                    breakArrayT.sort(function (a, b) {
-                        return ((a.value === b.value) ?
-                            ((a.move === 'in' ? 0 : 1) -
-                                (b.move === 'in' ? 0 : 1)) :
-                            a.value - b.value);
-                    });
-                    // Simplify the breaks
-                    inBrk = 0;
-                    start = min;
-                    breakArrayT.forEach(function (brk) {
-                        inBrk += (brk.move === 'in' ? 1 : -1);
-                        if (inBrk === 1 && brk.move === 'in') {
-                            start = brk.value;
-                        }
-                        if (inBrk === 0) {
-                            breakArray.push({
-                                from: start,
-                                to: brk.value,
-                                len: brk.value - start - (brk.size || 0)
-                            });
-                            length += brk.value - start - (brk.size || 0);
-                        }
-                    });
-                    /**
-                     * HC <= 8 backwards compatibility, used by demo samples.
-                     * @deprecated
-                     * @private
-                     * @requires modules/broken-axis
-                     */
-                    axis.breakArray = brokenAxis.breakArray = breakArray;
-                    // Used with staticScale, and below the actual axis length,
-                    // when breaks are substracted.
-                    brokenAxis.unitLength = max - min - length + pointRangePadding;
-                    fireEvent(axis, 'afterBreaks');
-                    if (axis.staticScale) {
-                        axis.transA = axis.staticScale;
-                    }
-                    else if (brokenAxis.unitLength) {
-                        axis.transA *=
-                            (max - axis.min + pointRangePadding) /
-                                brokenAxis.unitLength;
-                    }
-                    if (pointRangePadding) {
-                        axis.minPixelPadding =
-                            axis.transA * axis.minPointOffset;
-                    }
-                    axis.min = min;
-                    axis.max = max;
-                }
-            };
-        }
-        if (pick(redraw, true)) {
-            axis.chart.redraw();
-        }
-    };
-    return BrokenAxisAdditions;
-}());
-/**
- * Axis with support of broken data rows.
- * @private
- * @class
- */
-var BrokenAxis = /** @class */ (function () {
-    function BrokenAxis() {
-    }
-    /**
-     * Adds support for broken axes.
-     * @private
-     */
-    BrokenAxis.compose = function (AxisClass, SeriesClass) {
-        AxisClass.keepProps.push('brokenAxis');
-        var seriesProto = Series.prototype;
-        /**
-         * @private
-         */
-        seriesProto.drawBreaks = function (axis, keys) {
-            var series = this, points = series.points, breaks, threshold, eventName, y;
-            if (axis && // #5950
-                axis.brokenAxis &&
-                axis.brokenAxis.hasBreaks) {
-                var brokenAxis_1 = axis.brokenAxis;
-                keys.forEach(function (key) {
-                    breaks = brokenAxis_1 && brokenAxis_1.breakArray || [];
-                    threshold = axis.isXAxis ?
-                        axis.min :
-                        pick(series.options.threshold, axis.min);
-                    points.forEach(function (point) {
-                        y = pick(point['stack' + key.toUpperCase()], point[key]);
-                        breaks.forEach(function (brk) {
-                            if (isNumber(threshold) && isNumber(y)) {
-                                eventName = false;
-                                if ((threshold < brk.from && y > brk.to) ||
-                                    (threshold > brk.from && y < brk.from)) {
-                                    eventName = 'pointBreak';
-                                }
-                                else if ((threshold < brk.from && y > brk.from && y < brk.to) ||
-                                    (threshold > brk.from && y > brk.to && y < brk.from)) {
-                                    eventName = 'pointInBreak';
-                                }
-                                if (eventName) {
-                                    fireEvent(axis, eventName, { point: point, brk: brk });
-                                }
-                            }
-                        });
-                    });
-                });
-            }
-        };
-        /**
-         * Extend getGraphPath by identifying gaps in the data so that we can
-         * draw a gap in the line or area. This was moved from ordinal axis
-         * module to broken axis module as of #5045.
-         *
-         * @private
-         * @function Highcharts.Series#gappedPath
-         *
-         * @return {Highcharts.SVGPathArray}
-         * Gapped path
-         */
-        seriesProto.gappedPath = function () {
-            var currentDataGrouping = this.currentDataGrouping, groupingSize = currentDataGrouping && currentDataGrouping.gapSize, gapSize = this.options.gapSize, points = this.points.slice(), i = points.length - 1, yAxis = this.yAxis, stack;
-            /**
-             * Defines when to display a gap in the graph, together with the
-             * [gapUnit](plotOptions.series.gapUnit) option.
-             *
-             * In case when `dataGrouping` is enabled, points can be grouped
-             * into a larger time span. This can make the grouped points to have
-             * a greater distance than the absolute value of `gapSize` property,
-             * which will result in disappearing graph completely. To prevent
-             * this situation the mentioned distance between grouped points is
-             * used instead of previously defined `gapSize`.
-             *
-             * In practice, this option is most often used to visualize gaps in
-             * time series. In a stock chart, intraday data is available for
-             * daytime hours, while gaps will appear in nights and weekends.
-             *
-             * @see [gapUnit](plotOptions.series.gapUnit)
-             * @see [xAxis.breaks](#xAxis.breaks)
-             *
-             * @sample {highstock} stock/plotoptions/series-gapsize/
-             *         Setting the gap size to 2 introduces gaps for weekends
-             *         in daily datasets.
-             *
-             * @type      {number}
-             * @default   0
-             * @product   highstock
-             * @requires  modules/broken-axis
-             * @apioption plotOptions.series.gapSize
-             */
-            /**
-             * Together with [gapSize](plotOptions.series.gapSize), this option
-             * defines where to draw gaps in the graph.
-             *
-             * When the `gapUnit` is `"relative"` (default), a gap size of 5
-             * means that if the distance between two points is greater than
-             * 5 times that of the two closest points, the graph will be broken.
-             *
-             * When the `gapUnit` is `"value"`, the gap is based on absolute
-             * axis values, which on a datetime axis is milliseconds. This also
-             * applies to the navigator series that inherits gap options from
-             * the base series.
-             *
-             * @see [gapSize](plotOptions.series.gapSize)
-             *
-             * @type       {string}
-             * @default    relative
-             * @since      5.0.13
-             * @product    highstock
-             * @validvalue ["relative", "value"]
-             * @requires   modules/broken-axis
-             * @apioption  plotOptions.series.gapUnit
-             */
-            if (gapSize && i > 0) { // #5008
-                // Gap unit is relative
-                if (this.options.gapUnit !== 'value') {
-                    gapSize *= this.basePointRange;
-                }
-                // Setting a new gapSize in case dataGrouping is enabled (#7686)
-                if (groupingSize &&
-                    groupingSize > gapSize &&
-                    // Except when DG is forced (e.g. from other series)
-                    // and has lower granularity than actual points (#11351)
-                    groupingSize >= this.basePointRange) {
-                    gapSize = groupingSize;
-                }
-                // extension for ordinal breaks
-                var current = void 0, next = void 0;
-                while (i--) {
-                    // Reassign next if it is not visible
-                    if (!(next && next.visible !== false)) {
-                        next = points[i + 1];
-                    }
-                    current = points[i];
-                    // Skip iteration if one of the points is not visible
-                    if (next.visible === false || current.visible === false) {
-                        continue;
-                    }
-                    if (next.x - current.x > gapSize) {
-                        var xRange = (current.x + next.x) / 2;
-                        points.splice(// insert after this one
-                        i + 1, 0, {
-                            isNull: true,
-                            x: xRange
-                        });
-                        // For stacked chart generate empty stack items, #6546
-                        if (yAxis.stacking && this.options.stacking) {
-                            stack = yAxis.stacking.stacks[this.stackKey][xRange] =
-                                new StackItem(yAxis, yAxis.options
-                                    .stackLabels, false, xRange, this.stack);
-                            stack.total = 0;
-                        }
-                    }
-                    // Assign current to next for the upcoming iteration
-                    next = current;
-                }
-            }
-            // Call base method
-            return this.getGraphPath(points);
-        };
-        /* eslint-disable no-invalid-this */
-        addEvent(AxisClass, 'init', function () {
-            var axis = this;
-            if (!axis.brokenAxis) {
-                axis.brokenAxis = new BrokenAxisAdditions(axis);
-            }
-        });
-        addEvent(AxisClass, 'afterInit', function () {
-            if (typeof this.brokenAxis !== 'undefined') {
-                this.brokenAxis.setBreaks(this.options.breaks, false);
-            }
-        });
-        addEvent(AxisClass, 'afterSetTickPositions', function () {
-            var axis = this;
-            var brokenAxis = axis.brokenAxis;
-            if (brokenAxis &&
-                brokenAxis.hasBreaks) {
-                var tickPositions = this.tickPositions, info = this.tickPositions.info, newPositions = [], i;
-                for (i = 0; i < tickPositions.length; i++) {
-                    if (!brokenAxis.isInAnyBreak(tickPositions[i])) {
-                        newPositions.push(tickPositions[i]);
-                    }
-                }
-                this.tickPositions = newPositions;
-                this.tickPositions.info = info;
-            }
-        });
-        // Force Axis to be not-ordinal when breaks are defined
-        addEvent(AxisClass, 'afterSetOptions', function () {
-            if (this.brokenAxis && this.brokenAxis.hasBreaks) {
-                this.options.ordinal = false;
-            }
-        });
-        addEvent(SeriesClass, 'afterGeneratePoints', function () {
-            var _a = this, isDirty = _a.isDirty, connectNulls = _a.options.connectNulls, points = _a.points, xAxis = _a.xAxis, yAxis = _a.yAxis;
-            // Set, or reset visibility of the points. Axis.setBreaks marks the
-            // series as isDirty
-            if (isDirty) {
-                var i = points.length;
-                while (i--) {
-                    var point = points[i];
-                    // Respect nulls inside the break (#4275)
-                    var nullGap = point.y === null && connectNulls === false;
-                    var isPointInBreak = (!nullGap && ((xAxis &&
-                        xAxis.brokenAxis &&
-                        xAxis.brokenAxis.isInAnyBreak(point.x, true)) || (yAxis &&
-                        yAxis.brokenAxis &&
-                        yAxis.brokenAxis.isInAnyBreak(point.y, true))));
-                    // Set point.visible if in any break.
-                    // If not in break, reset visible to original value.
-                    point.visible = isPointInBreak ?
-                        false :
-                        point.options.visible !== false;
-                }
-            }
-        });
-        addEvent(SeriesClass, 'afterRender', function drawPointsWrapped() {
-            this.drawBreaks(this.xAxis, ['x']);
-            this.drawBreaks(this.yAxis, pick(this.pointArrayMap, ['y']));
-        });
-    };
-    return BrokenAxis;
-}());
-BrokenAxis.compose(Axis, Series); // @todo remove automatism
-export default BrokenAxis;

+ 0 - 1158
node_modules/highcharts/es-modules/Core/Axis/ColorAxis.js

@@ -1,1158 +0,0 @@
-/* *
- *
- *  (c) 2010-2021 Torstein Honsi
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-var __extends = (this && this.__extends) || (function () {
-    var extendStatics = function (d, b) {
-        extendStatics = Object.setPrototypeOf ||
-            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
-            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
-        return extendStatics(d, b);
-    };
-    return function (d, b) {
-        extendStatics(d, b);
-        function __() { this.constructor = d; }
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
-    };
-})();
-import Axis from './Axis.js';
-import Chart from '../Chart/Chart.js';
-import Color from '../Color/Color.js';
-var color = Color.parse;
-import ColorSeriesModule from '../../Mixins/ColorSeries.js';
-var colorPointMixin = ColorSeriesModule.colorPointMixin, colorSeriesMixin = ColorSeriesModule.colorSeriesMixin;
-import Fx from '../Animation/Fx.js';
-import H from '../Globals.js';
-var noop = H.noop;
-import Legend from '../Legend.js';
-import LegendSymbolMixin from '../../Mixins/LegendSymbol.js';
-import palette from '../Color/Palette.js';
-import Point from '../Series/Point.js';
-import Series from '../Series/Series.js';
-import U from '../Utilities.js';
-var addEvent = U.addEvent, erase = U.erase, extend = U.extend, isNumber = U.isNumber, merge = U.merge, pick = U.pick, splat = U.splat;
-/**
- * Color axis types
- *
- * @typedef {"linear"|"logarithmic"} Highcharts.ColorAxisTypeValue
- */
-''; // detach doclet above
-extend(Series.prototype, colorSeriesMixin);
-extend(Point.prototype, colorPointMixin);
-Chart.prototype.collectionsWithUpdate.push('colorAxis');
-Chart.prototype.collectionsWithInit.colorAxis = [Chart.prototype.addColorAxis];
-/* eslint-disable no-invalid-this, valid-jsdoc */
-/**
- * The ColorAxis object for inclusion in gradient legends.
- *
- * @class
- * @name Highcharts.ColorAxis
- * @augments Highcharts.Axis
- *
- * @param {Highcharts.Chart} chart
- * The related chart of the color axis.
- *
- * @param {Highcharts.ColorAxisOptions} userOptions
- * The color axis options for initialization.
- */
-var ColorAxis = /** @class */ (function (_super) {
-    __extends(ColorAxis, _super);
-    /* *
-     *
-     *  Constructors
-     *
-     * */
-    /**
-     * @private
-     */
-    function ColorAxis(chart, userOptions) {
-        var _this = _super.call(this, chart, userOptions) || this;
-        _this.beforePadding = false; // Prevents unnecessary padding with `hc-more`
-        _this.chart = void 0;
-        _this.coll = 'colorAxis';
-        _this.dataClasses = void 0;
-        _this.legendItem = void 0;
-        _this.legendItems = void 0;
-        _this.name = ''; // Prevents 'undefined' in legend in IE8
-        _this.options = void 0;
-        _this.stops = void 0;
-        _this.visible = true;
-        _this.init(chart, userOptions);
-        return _this;
-    }
-    /* *
-     *
-     *  Functions
-     *
-     * */
-    /**
-     * Initializes the color axis.
-     *
-     * @function Highcharts.ColorAxis#init
-     *
-     * @param {Highcharts.Chart} chart
-     * The related chart of the color axis.
-     *
-     * @param {Highcharts.ColorAxisOptions} userOptions
-     * The color axis options for initialization.
-     */
-    ColorAxis.prototype.init = function (chart, userOptions) {
-        var axis = this;
-        var legend = chart.options.legend || {}, horiz = userOptions.layout ?
-            userOptions.layout !== 'vertical' :
-            legend.layout !== 'vertical';
-        var options = merge(ColorAxis.defaultOptions, userOptions, {
-            showEmpty: false,
-            title: null,
-            visible: legend.enabled &&
-                (userOptions ? userOptions.visible !== false : true)
-        });
-        axis.coll = 'colorAxis';
-        axis.side = userOptions.side || horiz ? 2 : 1;
-        axis.reversed = userOptions.reversed || !horiz;
-        axis.opposite = !horiz;
-        // Keep the options structure updated for export. Unlike xAxis and
-        // yAxis, the colorAxis is not an array. (#3207)
-        chart.options[axis.coll] = options;
-        _super.prototype.init.call(this, chart, options);
-        // Base init() pushes it to the xAxis array, now pop it again
-        // chart[this.isXAxis ? 'xAxis' : 'yAxis'].pop();
-        // Prepare data classes
-        if (userOptions.dataClasses) {
-            axis.initDataClasses(userOptions);
-        }
-        axis.initStops();
-        // Override original axis properties
-        axis.horiz = horiz;
-        axis.zoomEnabled = false;
-    };
-    /**
-     * @private
-     */
-    ColorAxis.prototype.initDataClasses = function (userOptions) {
-        var axis = this;
-        var chart = axis.chart, dataClasses, colorCounter = 0, colorCount = chart.options.chart.colorCount, options = axis.options, len = userOptions.dataClasses.length;
-        axis.dataClasses = dataClasses = [];
-        axis.legendItems = [];
-        userOptions.dataClasses.forEach(function (dataClass, i) {
-            var colors;
-            dataClass = merge(dataClass);
-            dataClasses.push(dataClass);
-            if (!chart.styledMode && dataClass.color) {
-                return;
-            }
-            if (options.dataClassColor === 'category') {
-                if (!chart.styledMode) {
-                    colors = chart.options.colors;
-                    colorCount = colors.length;
-                    dataClass.color = colors[colorCounter];
-                }
-                dataClass.colorIndex = colorCounter;
-                // increase and loop back to zero
-                colorCounter++;
-                if (colorCounter === colorCount) {
-                    colorCounter = 0;
-                }
-            }
-            else {
-                dataClass.color = color(options.minColor).tweenTo(color(options.maxColor), len < 2 ? 0.5 : i / (len - 1) // #3219
-                );
-            }
-        });
-    };
-    /**
-     * Returns true if the series has points at all.
-     *
-     * @function Highcharts.ColorAxis#hasData
-     *
-     * @return {boolean}
-     * True, if the series has points, otherwise false.
-     */
-    ColorAxis.prototype.hasData = function () {
-        return !!(this.tickPositions || []).length;
-    };
-    /**
-     * Override so that ticks are not added in data class axes (#6914)
-     * @private
-     */
-    ColorAxis.prototype.setTickPositions = function () {
-        if (!this.dataClasses) {
-            return _super.prototype.setTickPositions.call(this);
-        }
-    };
-    /**
-     * @private
-     */
-    ColorAxis.prototype.initStops = function () {
-        var axis = this;
-        axis.stops = axis.options.stops || [
-            [0, axis.options.minColor],
-            [1, axis.options.maxColor]
-        ];
-        axis.stops.forEach(function (stop) {
-            stop.color = color(stop[1]);
-        });
-    };
-    /**
-     * Extend the setOptions method to process extreme colors and color stops.
-     * @private
-     */
-    ColorAxis.prototype.setOptions = function (userOptions) {
-        var axis = this;
-        _super.prototype.setOptions.call(this, userOptions);
-        axis.options.crosshair = axis.options.marker;
-    };
-    /**
-     * @private
-     */
-    ColorAxis.prototype.setAxisSize = function () {
-        var axis = this;
-        var symbol = axis.legendSymbol;
-        var chart = axis.chart;
-        var legendOptions = chart.options.legend || {};
-        var x, y, width, height;
-        if (symbol) {
-            this.left = x = symbol.attr('x');
-            this.top = y = symbol.attr('y');
-            this.width = width = symbol.attr('width');
-            this.height = height = symbol.attr('height');
-            this.right = chart.chartWidth - x - width;
-            this.bottom = chart.chartHeight - y - height;
-            this.len = this.horiz ? width : height;
-            this.pos = this.horiz ? x : y;
-        }
-        else {
-            // Fake length for disabled legend to avoid tick issues
-            // and such (#5205)
-            this.len = (this.horiz ?
-                legendOptions.symbolWidth :
-                legendOptions.symbolHeight) || ColorAxis.defaultLegendLength;
-        }
-    };
-    /**
-     * @private
-     */
-    ColorAxis.prototype.normalizedValue = function (value) {
-        var axis = this;
-        if (axis.logarithmic) {
-            value = axis.logarithmic.log2lin(value);
-        }
-        return 1 - ((axis.max - value) /
-            ((axis.max - axis.min) || 1));
-    };
-    /**
-     * Translate from a value to a color.
-     * @private
-     */
-    ColorAxis.prototype.toColor = function (value, point) {
-        var axis = this;
-        var dataClasses = axis.dataClasses;
-        var stops = axis.stops;
-        var pos, from, to, color, dataClass, i;
-        if (dataClasses) {
-            i = dataClasses.length;
-            while (i--) {
-                dataClass = dataClasses[i];
-                from = dataClass.from;
-                to = dataClass.to;
-                if ((typeof from === 'undefined' || value >= from) &&
-                    (typeof to === 'undefined' || value <= to)) {
-                    color = dataClass.color;
-                    if (point) {
-                        point.dataClass = i;
-                        point.colorIndex = dataClass.colorIndex;
-                    }
-                    break;
-                }
-            }
-        }
-        else {
-            pos = axis.normalizedValue(value);
-            i = stops.length;
-            while (i--) {
-                if (pos > stops[i][0]) {
-                    break;
-                }
-            }
-            from = stops[i] || stops[i + 1];
-            to = stops[i + 1] || from;
-            // The position within the gradient
-            pos = 1 - (to[0] - pos) / ((to[0] - from[0]) || 1);
-            color = from.color.tweenTo(to.color, pos);
-        }
-        return color;
-    };
-    /**
-     * Override the getOffset method to add the whole axis groups inside the
-     * legend.
-     * @private
-     */
-    ColorAxis.prototype.getOffset = function () {
-        var axis = this;
-        var group = axis.legendGroup;
-        var sideOffset = axis.chart.axisOffset[axis.side];
-        if (group) {
-            // Hook for the getOffset method to add groups to this parent
-            // group
-            axis.axisParent = group;
-            // Call the base
-            _super.prototype.getOffset.call(this);
-            // First time only
-            if (!axis.added) {
-                axis.added = true;
-                axis.labelLeft = 0;
-                axis.labelRight = axis.width;
-            }
-            // Reset it to avoid color axis reserving space
-            axis.chart.axisOffset[axis.side] = sideOffset;
-        }
-    };
-    /**
-     * Create the color gradient.
-     * @private
-     */
-    ColorAxis.prototype.setLegendColor = function () {
-        var axis = this;
-        var horiz = axis.horiz;
-        var reversed = axis.reversed;
-        var one = reversed ? 1 : 0;
-        var zero = reversed ? 0 : 1;
-        var grad = horiz ? [one, 0, zero, 0] : [0, zero, 0, one]; // #3190
-        axis.legendColor = {
-            linearGradient: {
-                x1: grad[0],
-                y1: grad[1],
-                x2: grad[2],
-                y2: grad[3]
-            },
-            stops: axis.stops
-        };
-    };
-    /**
-     * The color axis appears inside the legend and has its own legend symbol.
-     * @private
-     */
-    ColorAxis.prototype.drawLegendSymbol = function (legend, item) {
-        var axis = this;
-        var padding = legend.padding;
-        var legendOptions = legend.options;
-        var horiz = axis.horiz;
-        var width = pick(legendOptions.symbolWidth, horiz ? ColorAxis.defaultLegendLength : 12);
-        var height = pick(legendOptions.symbolHeight, horiz ? 12 : ColorAxis.defaultLegendLength);
-        var labelPadding = pick(legendOptions.labelPadding, horiz ? 16 : 30);
-        var itemDistance = pick(legendOptions.itemDistance, 10);
-        this.setLegendColor();
-        // Create the gradient
-        item.legendSymbol = this.chart.renderer.rect(0, legend.baseline - 11, width, height).attr({
-            zIndex: 1
-        }).add(item.legendGroup);
-        // Set how much space this legend item takes up
-        axis.legendItemWidth = width + padding + (horiz ? itemDistance : labelPadding);
-        axis.legendItemHeight = height + padding + (horiz ? labelPadding : 0);
-    };
-    /**
-     * Fool the legend.
-     * @private
-     */
-    ColorAxis.prototype.setState = function (state) {
-        this.series.forEach(function (series) {
-            series.setState(state);
-        });
-    };
-    /**
-     * @private
-     */
-    ColorAxis.prototype.setVisible = function () {
-    };
-    /**
-     * @private
-     */
-    ColorAxis.prototype.getSeriesExtremes = function () {
-        var axis = this;
-        var series = axis.series;
-        var colorValArray, colorKey, colorValIndex, pointArrayMap, calculatedExtremes, cSeries, i = series.length, yData, j;
-        this.dataMin = Infinity;
-        this.dataMax = -Infinity;
-        while (i--) { // x, y, value, other
-            cSeries = series[i];
-            colorKey = cSeries.colorKey = pick(cSeries.options.colorKey, cSeries.colorKey, cSeries.pointValKey, cSeries.zoneAxis, 'y');
-            pointArrayMap = cSeries.pointArrayMap;
-            calculatedExtremes = cSeries[colorKey + 'Min'] &&
-                cSeries[colorKey + 'Max'];
-            if (cSeries[colorKey + 'Data']) {
-                colorValArray = cSeries[colorKey + 'Data'];
-            }
-            else {
-                if (!pointArrayMap) {
-                    colorValArray = cSeries.yData;
-                }
-                else {
-                    colorValArray = [];
-                    colorValIndex = pointArrayMap.indexOf(colorKey);
-                    yData = cSeries.yData;
-                    if (colorValIndex >= 0 && yData) {
-                        for (j = 0; j < yData.length; j++) {
-                            colorValArray.push(pick(yData[j][colorValIndex], yData[j]));
-                        }
-                    }
-                }
-            }
-            // If color key extremes are already calculated, use them.
-            if (calculatedExtremes) {
-                cSeries.minColorValue = cSeries[colorKey + 'Min'];
-                cSeries.maxColorValue = cSeries[colorKey + 'Max'];
-            }
-            else {
-                var cExtremes = Series.prototype.getExtremes.call(cSeries, colorValArray);
-                cSeries.minColorValue = cExtremes.dataMin;
-                cSeries.maxColorValue = cExtremes.dataMax;
-            }
-            if (typeof cSeries.minColorValue !== 'undefined') {
-                this.dataMin =
-                    Math.min(this.dataMin, cSeries.minColorValue);
-                this.dataMax =
-                    Math.max(this.dataMax, cSeries.maxColorValue);
-            }
-            if (!calculatedExtremes) {
-                Series.prototype.applyExtremes.call(cSeries);
-            }
-        }
-    };
-    /**
-     * Internal function to draw a crosshair.
-     *
-     * @function Highcharts.ColorAxis#drawCrosshair
-     *
-     * @param {Highcharts.PointerEventObject} [e]
-     *        The event arguments from the modified pointer event, extended with
-     *        `chartX` and `chartY`
-     *
-     * @param {Highcharts.Point} [point]
-     *        The Point object if the crosshair snaps to points.
-     *
-     * @fires Highcharts.ColorAxis#event:afterDrawCrosshair
-     * @fires Highcharts.ColorAxis#event:drawCrosshair
-     */
-    ColorAxis.prototype.drawCrosshair = function (e, point) {
-        var axis = this;
-        var plotX = point && point.plotX;
-        var plotY = point && point.plotY;
-        var axisPos = axis.pos;
-        var axisLen = axis.len;
-        var crossPos;
-        if (point) {
-            crossPos = axis.toPixels(point.getNestedProperty(point.series.colorKey));
-            if (crossPos < axisPos) {
-                crossPos = axisPos - 2;
-            }
-            else if (crossPos > axisPos + axisLen) {
-                crossPos = axisPos + axisLen + 2;
-            }
-            point.plotX = crossPos;
-            point.plotY = axis.len - crossPos;
-            _super.prototype.drawCrosshair.call(this, e, point);
-            point.plotX = plotX;
-            point.plotY = plotY;
-            if (axis.cross &&
-                !axis.cross.addedToColorAxis &&
-                axis.legendGroup) {
-                axis.cross
-                    .addClass('highcharts-coloraxis-marker')
-                    .add(axis.legendGroup);
-                axis.cross.addedToColorAxis = true;
-                if (!axis.chart.styledMode &&
-                    axis.crosshair) {
-                    axis.cross.attr({
-                        fill: axis.crosshair.color
-                    });
-                }
-            }
-        }
-    };
-    /**
-     * @private
-     */
-    ColorAxis.prototype.getPlotLinePath = function (options) {
-        var axis = this, left = axis.left, pos = options.translatedValue, top = axis.top;
-        // crosshairs only
-        return isNumber(pos) ? // pos can be 0 (#3969)
-            (axis.horiz ? [
-                ['M', pos - 4, top - 6],
-                ['L', pos + 4, top - 6],
-                ['L', pos, top],
-                ['Z']
-            ] : [
-                ['M', left, pos],
-                ['L', left - 6, pos + 6],
-                ['L', left - 6, pos - 6],
-                ['Z']
-            ]) :
-            _super.prototype.getPlotLinePath.call(this, options);
-    };
-    /**
-     * Updates a color axis instance with a new set of options. The options are
-     * merged with the existing options, so only new or altered options need to
-     * be specified.
-     *
-     * @function Highcharts.ColorAxis#update
-     *
-     * @param {Highcharts.ColorAxisOptions} newOptions
-     * The new options that will be merged in with existing options on the color
-     * axis.
-     *
-     * @param {boolean} [redraw]
-     * Whether to redraw the chart after the color axis is altered. If doing
-     * more operations on the chart, it is a good idea to set redraw to `false`
-     * and call {@link Highcharts.Chart#redraw} after.
-     */
-    ColorAxis.prototype.update = function (newOptions, redraw) {
-        var axis = this, chart = axis.chart, legend = chart.legend;
-        this.series.forEach(function (series) {
-            // Needed for Axis.update when choropleth colors change
-            series.isDirtyData = true;
-        });
-        // When updating data classes, destroy old items and make sure new
-        // ones are created (#3207)
-        if (newOptions.dataClasses && legend.allItems || axis.dataClasses) {
-            axis.destroyItems();
-        }
-        _super.prototype.update.call(this, newOptions, redraw);
-        if (axis.legendItem) {
-            axis.setLegendColor();
-            legend.colorizeItem(this, true);
-        }
-    };
-    /**
-     * Destroy color axis legend items.
-     * @private
-     */
-    ColorAxis.prototype.destroyItems = function () {
-        var axis = this;
-        var chart = axis.chart;
-        if (axis.legendItem) {
-            chart.legend.destroyItem(axis);
-        }
-        else if (axis.legendItems) {
-            axis.legendItems.forEach(function (item) {
-                chart.legend.destroyItem(item);
-            });
-        }
-        chart.isDirtyLegend = true;
-    };
-    //   Removing the whole axis (#14283)
-    ColorAxis.prototype.destroy = function () {
-        this.chart.isDirtyLegend = true;
-        this.destroyItems();
-        _super.prototype.destroy.apply(this, [].slice.call(arguments));
-    };
-    /**
-     * Removes the color axis and the related legend item.
-     *
-     * @function Highcharts.ColorAxis#remove
-     *
-     * @param {boolean} [redraw=true]
-     *        Whether to redraw the chart following the remove.
-     */
-    ColorAxis.prototype.remove = function (redraw) {
-        this.destroyItems();
-        _super.prototype.remove.call(this, redraw);
-    };
-    /**
-     * Get the legend item symbols for data classes.
-     * @private
-     */
-    ColorAxis.prototype.getDataClassLegendSymbols = function () {
-        var axis = this;
-        var chart = axis.chart;
-        var legendItems = axis.legendItems;
-        var legendOptions = chart.options.legend;
-        var valueDecimals = legendOptions.valueDecimals;
-        var valueSuffix = legendOptions.valueSuffix || '';
-        var name;
-        if (!legendItems.length) {
-            axis.dataClasses.forEach(function (dataClass, i) {
-                var vis = true, from = dataClass.from, to = dataClass.to;
-                var numberFormatter = chart.numberFormatter;
-                // Assemble the default name. This can be overridden
-                // by legend.options.labelFormatter
-                name = '';
-                if (typeof from === 'undefined') {
-                    name = '< ';
-                }
-                else if (typeof to === 'undefined') {
-                    name = '> ';
-                }
-                if (typeof from !== 'undefined') {
-                    name += numberFormatter(from, valueDecimals) + valueSuffix;
-                }
-                if (typeof from !== 'undefined' && typeof to !== 'undefined') {
-                    name += ' - ';
-                }
-                if (typeof to !== 'undefined') {
-                    name += numberFormatter(to, valueDecimals) + valueSuffix;
-                }
-                // Add a mock object to the legend items
-                legendItems.push(extend({
-                    chart: chart,
-                    name: name,
-                    options: {},
-                    drawLegendSymbol: LegendSymbolMixin.drawRectangle,
-                    visible: true,
-                    setState: noop,
-                    isDataClass: true,
-                    setVisible: function () {
-                        vis = axis.visible = !vis;
-                        axis.series.forEach(function (series) {
-                            series.points.forEach(function (point) {
-                                if (point.dataClass === i) {
-                                    point.setVisible(vis);
-                                }
-                            });
-                        });
-                        chart.legend.colorizeItem(this, vis);
-                    }
-                }, dataClass));
-            });
-        }
-        return legendItems;
-    };
-    /* *
-     *
-     *  Static Functions
-     *
-     * */
-    ColorAxis.defaultLegendLength = 200;
-    /**
-     * A color axis for series. Visually, the color
-     * axis will appear as a gradient or as separate items inside the
-     * legend, depending on whether the axis is scalar or based on data
-     * classes.
-     *
-     * For supported color formats, see the
-     * [docs article about colors](https://www.highcharts.com/docs/chart-design-and-style/colors).
-     *
-     * A scalar color axis is represented by a gradient. The colors either
-     * range between the [minColor](#colorAxis.minColor) and the
-     * [maxColor](#colorAxis.maxColor), or for more fine grained control the
-     * colors can be defined in [stops](#colorAxis.stops). Often times, the
-     * color axis needs to be adjusted to get the right color spread for the
-     * data. In addition to stops, consider using a logarithmic
-     * [axis type](#colorAxis.type), or setting [min](#colorAxis.min) and
-     * [max](#colorAxis.max) to avoid the colors being determined by
-     * outliers.
-     *
-     * When [dataClasses](#colorAxis.dataClasses) are used, the ranges are
-     * subdivided into separate classes like categories based on their
-     * values. This can be used for ranges between two values, but also for
-     * a true category. However, when your data is categorized, it may be as
-     * convenient to add each category to a separate series.
-     *
-     * Color axis does not work with: `sankey`, `sunburst`, `dependencywheel`,
-     * `networkgraph`, `wordcloud`, `venn`, `gauge` and `solidgauge` series
-     * types.
-     *
-     * Since v7.2.0 `colorAxis` can also be an array of options objects.
-     *
-     * See [the Axis object](/class-reference/Highcharts.Axis) for
-     * programmatic access to the axis.
-     *
-     * @sample       {highcharts} highcharts/coloraxis/custom-color-key
-     *               Column chart with color axis
-     * @sample       {highcharts} highcharts/coloraxis/horizontal-layout
-     *               Horizontal layout
-     * @sample       {highmaps} maps/coloraxis/dataclasscolor
-     *               With data classes
-     * @sample       {highmaps} maps/coloraxis/mincolor-maxcolor
-     *               Min color and max color
-     *
-     * @extends      xAxis
-     * @excluding    alignTicks, allowDecimals, alternateGridColor, breaks,
-     *               categories, crosshair, dateTimeLabelFormats, height, left,
-     *               lineWidth, linkedTo, maxZoom, minRange, minTickInterval,
-     *               offset, opposite, pane, plotBands, plotLines,
-     *               reversedStacks, showEmpty, title, top, width, zoomEnabled
-     * @product      highcharts highstock highmaps
-     * @type         {*|Array<*>}
-     * @optionparent colorAxis
-     * @ignore
-     */
-    ColorAxis.defaultOptions = {
-        /**
-         * Whether to allow decimals on the color axis.
-         * @type      {boolean}
-         * @default   true
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.allowDecimals
-         */
-        /**
-         * Determines how to set each data class' color if no individual
-         * color is set. The default value, `tween`, computes intermediate
-         * colors between `minColor` and `maxColor`. The other possible
-         * value, `category`, pulls colors from the global or chart specific
-         * [colors](#colors) array.
-         *
-         * @sample {highmaps} maps/coloraxis/dataclasscolor/
-         *         Category colors
-         *
-         * @type       {string}
-         * @default    tween
-         * @product    highcharts highstock highmaps
-         * @validvalue ["tween", "category"]
-         * @apioption  colorAxis.dataClassColor
-         */
-        /**
-         * An array of data classes or ranges for the choropleth map. If
-         * none given, the color axis is scalar and values are distributed
-         * as a gradient between the minimum and maximum colors.
-         *
-         * @sample {highmaps} maps/demo/data-class-ranges/
-         *         Multiple ranges
-         *
-         * @sample {highmaps} maps/demo/data-class-two-ranges/
-         *         Two ranges
-         *
-         * @type      {Array<*>}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.dataClasses
-         */
-        /**
-         * The layout of the color axis. Can be `'horizontal'` or `'vertical'`.
-         * If none given, the color axis has the same layout as the legend.
-         *
-         * @sample highcharts/coloraxis/horizontal-layout/
-         *         Horizontal color axis layout with vertical legend
-         *
-         * @type      {string|undefined}
-         * @since     7.2.0
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.layout
-         */
-        /**
-         * The color of each data class. If not set, the color is pulled
-         * from the global or chart-specific [colors](#colors) array. In
-         * styled mode, this option is ignored. Instead, use colors defined
-         * in CSS.
-         *
-         * @sample {highmaps} maps/demo/data-class-two-ranges/
-         *         Explicit colors
-         *
-         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.dataClasses.color
-         */
-        /**
-         * The start of the value range that the data class represents,
-         * relating to the point value.
-         *
-         * The range of each `dataClass` is closed in both ends, but can be
-         * overridden by the next `dataClass`.
-         *
-         * @type      {number}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.dataClasses.from
-         */
-        /**
-         * The name of the data class as it appears in the legend.
-         * If no name is given, it is automatically created based on the
-         * `from` and `to` values. For full programmatic control,
-         * [legend.labelFormatter](#legend.labelFormatter) can be used.
-         * In the formatter, `this.from` and `this.to` can be accessed.
-         *
-         * @sample {highmaps} maps/coloraxis/dataclasses-name/
-         *         Named data classes
-         *
-         * @sample {highmaps} maps/coloraxis/dataclasses-labelformatter/
-         *         Formatted data classes
-         *
-         * @type      {string}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.dataClasses.name
-         */
-        /**
-         * The end of the value range that the data class represents,
-         * relating to the point value.
-         *
-         * The range of each `dataClass` is closed in both ends, but can be
-         * overridden by the next `dataClass`.
-         *
-         * @type      {number}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.dataClasses.to
-         */
-        /** @ignore-option */
-        lineWidth: 0,
-        /**
-         * Padding of the min value relative to the length of the axis. A
-         * padding of 0.05 will make a 100px axis 5px longer.
-         *
-         * @product highcharts highstock highmaps
-         */
-        minPadding: 0,
-        /**
-         * The maximum value of the axis in terms of map point values. If
-         * `null`, the max value is automatically calculated. If the
-         * `endOnTick` option is true, the max value might be rounded up.
-         *
-         * @sample {highmaps} maps/coloraxis/gridlines/
-         *         Explicit min and max to reduce the effect of outliers
-         *
-         * @type      {number}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.max
-         */
-        /**
-         * The minimum value of the axis in terms of map point values. If
-         * `null`, the min value is automatically calculated. If the
-         * `startOnTick` option is true, the min value might be rounded
-         * down.
-         *
-         * @sample {highmaps} maps/coloraxis/gridlines/
-         *         Explicit min and max to reduce the effect of outliers
-         *
-         * @type      {number}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.min
-         */
-        /**
-         * Padding of the max value relative to the length of the axis. A
-         * padding of 0.05 will make a 100px axis 5px longer.
-         *
-         * @product highcharts highstock highmaps
-         */
-        maxPadding: 0,
-        /**
-         * Color of the grid lines extending from the axis across the
-         * gradient.
-         *
-         * @sample {highmaps} maps/coloraxis/gridlines/
-         *         Grid lines demonstrated
-         *
-         * @type      {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
-         * @default   #e6e6e6
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.gridLineColor
-         */
-        /**
-         * The width of the grid lines extending from the axis across the
-         * gradient of a scalar color axis.
-         *
-         * @sample {highmaps} maps/coloraxis/gridlines/
-         *         Grid lines demonstrated
-         *
-         * @product highcharts highstock highmaps
-         */
-        gridLineWidth: 1,
-        /**
-         * The interval of the tick marks in axis units. When `null`, the
-         * tick interval is computed to approximately follow the
-         * `tickPixelInterval`.
-         *
-         * @type      {number}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.tickInterval
-         */
-        /**
-         * If [tickInterval](#colorAxis.tickInterval) is `null` this option
-         * sets the approximate pixel interval of the tick marks.
-         *
-         * @product highcharts highstock highmaps
-         */
-        tickPixelInterval: 72,
-        /**
-         * Whether to force the axis to start on a tick. Use this option
-         * with the `maxPadding` option to control the axis start.
-         *
-         * @product highcharts highstock highmaps
-         */
-        startOnTick: true,
-        /**
-         * Whether to force the axis to end on a tick. Use this option with
-         * the [maxPadding](#colorAxis.maxPadding) option to control the
-         * axis end.
-         *
-         * @product highcharts highstock highmaps
-         */
-        endOnTick: true,
-        /** @ignore */
-        offset: 0,
-        /**
-         * The triangular marker on a scalar color axis that points to the
-         * value of the hovered area. To disable the marker, set
-         * `marker: null`.
-         *
-         * @sample {highmaps} maps/coloraxis/marker/
-         *         Black marker
-         *
-         * @declare Highcharts.PointMarkerOptionsObject
-         * @product highcharts highstock highmaps
-         */
-        marker: {
-            /**
-             * Animation for the marker as it moves between values. Set to
-             * `false` to disable animation. Defaults to `{ duration: 50 }`.
-             *
-             * @type    {boolean|Partial<Highcharts.AnimationOptionsObject>}
-             * @product highcharts highstock highmaps
-             */
-            animation: {
-                /** @internal */
-                duration: 50
-            },
-            /** @internal */
-            width: 0.01,
-            /**
-             * The color of the marker.
-             *
-             * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
-             * @product highcharts highstock highmaps
-             */
-            color: palette.neutralColor40
-        },
-        /**
-         * The axis labels show the number for each tick.
-         *
-         * For more live examples on label options, see [xAxis.labels in the
-         * Highcharts API.](/highcharts#xAxis.labels)
-         *
-         * @extends xAxis.labels
-         * @product highcharts highstock highmaps
-         */
-        labels: {
-            /**
-             * How to handle overflowing labels on horizontal color axis. If set
-             * to `"allow"`, it will not be aligned at all. By default it
-             * `"justify"` labels inside the chart area. If there is room to
-             * move it, it will be aligned to the edge, else it will be removed.
-             *
-             * @validvalue ["allow", "justify"]
-             * @product    highcharts highstock highmaps
-             */
-            overflow: 'justify',
-            rotation: 0
-        },
-        /**
-         * The color to represent the minimum of the color axis. Unless
-         * [dataClasses](#colorAxis.dataClasses) or
-         * [stops](#colorAxis.stops) are set, the gradient starts at this
-         * value.
-         *
-         * If dataClasses are set, the color is based on minColor and
-         * maxColor unless a color is set for each data class, or the
-         * [dataClassColor](#colorAxis.dataClassColor) is set.
-         *
-         * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/
-         *         Min and max colors on scalar (gradient) axis
-         * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/
-         *         On data classes
-         *
-         * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
-         * @product highcharts highstock highmaps
-         */
-        minColor: palette.highlightColor10,
-        /**
-         * The color to represent the maximum of the color axis. Unless
-         * [dataClasses](#colorAxis.dataClasses) or
-         * [stops](#colorAxis.stops) are set, the gradient ends at this
-         * value.
-         *
-         * If dataClasses are set, the color is based on minColor and
-         * maxColor unless a color is set for each data class, or the
-         * [dataClassColor](#colorAxis.dataClassColor) is set.
-         *
-         * @sample {highmaps} maps/coloraxis/mincolor-maxcolor/
-         *         Min and max colors on scalar (gradient) axis
-         * @sample {highmaps} maps/coloraxis/mincolor-maxcolor-dataclasses/
-         *         On data classes
-         *
-         * @type    {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
-         * @product highcharts highstock highmaps
-         */
-        maxColor: palette.highlightColor100,
-        /**
-         * Color stops for the gradient of a scalar color axis. Use this in
-         * cases where a linear gradient between a `minColor` and `maxColor`
-         * is not sufficient. The stops is an array of tuples, where the
-         * first item is a float between 0 and 1 assigning the relative
-         * position in the gradient, and the second item is the color.
-         *
-         * @sample {highmaps} maps/demo/heatmap/
-         *         Heatmap with three color stops
-         *
-         * @type      {Array<Array<number,Highcharts.ColorString>>}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.stops
-         */
-        /**
-         * The pixel length of the main tick marks on the color axis.
-         */
-        tickLength: 5,
-        /**
-         * The type of interpolation to use for the color axis. Can be
-         * `linear` or `logarithmic`.
-         *
-         * @sample highcharts/coloraxis/logarithmic-with-emulate-negative-values/
-         *         Logarithmic color axis with extension to emulate negative
-         *         values
-         *
-         * @type      {Highcharts.ColorAxisTypeValue}
-         * @default   linear
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.type
-         */
-        /**
-         * Whether to reverse the axis so that the highest number is closest
-         * to the origin. Defaults to `false` in a horizontal legend and
-         * `true` in a vertical legend, where the smallest value starts on
-         * top.
-         *
-         * @type      {boolean}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.reversed
-         */
-        /**
-         * @product   highcharts highstock highmaps
-         * @excluding afterBreaks, pointBreak, pointInBreak
-         * @apioption colorAxis.events
-         */
-        /**
-         * Fires when the legend item belonging to the colorAxis is clicked.
-         * One parameter, `event`, is passed to the function.
-         *
-         * @type      {Function}
-         * @product   highcharts highstock highmaps
-         * @apioption colorAxis.events.legendItemClick
-         */
-        /**
-         * Whether to display the colorAxis in the legend.
-         *
-         * @sample highcharts/coloraxis/hidden-coloraxis-with-3d-chart/
-         *         Hidden color axis with 3d chart
-         *
-         * @see [heatmap.showInLegend](#series.heatmap.showInLegend)
-         *
-         * @since   4.2.7
-         * @product highcharts highstock highmaps
-         */
-        showInLegend: true
-    };
-    /**
-     * @private
-     */
-    ColorAxis.keepProps = [
-        'legendGroup',
-        'legendItemHeight',
-        'legendItemWidth',
-        'legendItem',
-        'legendSymbol'
-    ];
-    return ColorAxis;
-}(Axis));
-// Properties to preserve after destroy, for Axis.update (#5881, #6025).
-Array.prototype.push.apply(Axis.keepProps, ColorAxis.keepProps);
-H.ColorAxis = ColorAxis;
-/**
- * Handle animation of the color attributes directly
- *
- * @private
- * @function Highcharts.Fx#fillSetter
- */ /**
-* Handle animation of the color attributes directly
-*
-* @private
-* @function Highcharts.Fx#strokeSetter
-*/
-['fill', 'stroke'].forEach(function (prop) {
-    Fx.prototype[prop + 'Setter'] = function () {
-        this.elem.attr(prop, color(this.start).tweenTo(color(this.end), this.pos), null, true);
-    };
-});
-// Extend the chart getAxes method to also get the color axis
-addEvent(Chart, 'afterGetAxes', function () {
-    var chart = this, options = chart.options;
-    this.colorAxis = [];
-    if (options.colorAxis) {
-        options.colorAxis = splat(options.colorAxis);
-        options.colorAxis.forEach(function (axisOptions, i) {
-            axisOptions.index = i;
-            new ColorAxis(chart, axisOptions); // eslint-disable-line no-new
-        });
-    }
-});
-// Add colorAxis to series axisTypes
-addEvent(Series, 'bindAxes', function () {
-    var axisTypes = this.axisTypes;
-    if (!axisTypes) {
-        this.axisTypes = ['colorAxis'];
-    }
-    else if (axisTypes.indexOf('colorAxis') === -1) {
-        axisTypes.push('colorAxis');
-    }
-});
-// Add the color axis. This also removes the axis' own series to prevent
-// them from showing up individually.
-addEvent(Legend, 'afterGetAllItems', function (e) {
-    var colorAxisItems = [], colorAxes = this.chart.colorAxis || [], options, i;
-    colorAxes.forEach(function (colorAxis) {
-        options = colorAxis.options;
-        if (options && options.showInLegend) {
-            // Data classes
-            if (options.dataClasses && options.visible) {
-                colorAxisItems = colorAxisItems.concat(colorAxis.getDataClassLegendSymbols());
-                // Gradient legend
-            }
-            else if (options.visible) {
-                // Add this axis on top
-                colorAxisItems.push(colorAxis);
-            }
-            // If dataClasses are defined or showInLegend option is not set to
-            // true, do not add color axis' series to legend.
-            colorAxis.series.forEach(function (series) {
-                if (!series.options.showInLegend || options.dataClasses) {
-                    if (series.options.legendType === 'point') {
-                        series.points.forEach(function (point) {
-                            erase(e.allItems, point);
-                        });
-                    }
-                    else {
-                        erase(e.allItems, series);
-                    }
-                }
-            });
-        }
-    });
-    i = colorAxisItems.length;
-    while (i--) {
-        e.allItems.unshift(colorAxisItems[i]);
-    }
-});
-addEvent(Legend, 'afterColorizeItem', function (e) {
-    if (e.visible && e.item.legendColor) {
-        e.item.legendSymbol.attr({
-            fill: e.item.legendColor
-        });
-    }
-});
-// Updates in the legend need to be reflected in the color axis (6888)
-addEvent(Legend, 'afterUpdate', function () {
-    var colorAxes = this.chart.colorAxis;
-    if (colorAxes) {
-        colorAxes.forEach(function (colorAxis) {
-            colorAxis.update({}, arguments[2]);
-        });
-    }
-});
-// Calculate and set colors for points
-addEvent(Series, 'afterTranslate', function () {
-    if (this.chart.colorAxis &&
-        this.chart.colorAxis.length ||
-        this.colorAttribs) {
-        this.translateColors();
-    }
-});
-export default ColorAxis;

+ 0 - 177
node_modules/highcharts/es-modules/Core/Axis/DateTimeAxis.js

@@ -1,177 +0,0 @@
-/* *
- *
- *  (c) 2010-2021 Torstein Honsi
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import Axis from './Axis.js';
-import U from '../Utilities.js';
-var addEvent = U.addEvent, getMagnitude = U.getMagnitude, normalizeTickInterval = U.normalizeTickInterval, timeUnits = U.timeUnits;
-/* eslint-disable valid-jsdoc */
-var DateTimeAxisAdditions = /** @class */ (function () {
-    /* *
-     *
-     *  Constructors
-     *
-     * */
-    function DateTimeAxisAdditions(axis) {
-        this.axis = axis;
-    }
-    /* *
-     *
-     *  Functions
-     *
-     * */
-    /**
-     * Get a normalized tick interval for dates. Returns a configuration object
-     * with unit range (interval), count and name. Used to prepare data for
-     * `getTimeTicks`. Previously this logic was part of getTimeTicks, but as
-     * `getTimeTicks` now runs of segments in stock charts, the normalizing
-     * logic was extracted in order to prevent it for running over again for
-     * each segment having the same interval. #662, #697.
-     * @private
-     */
-    /**
-     * Get a normalized tick interval for dates. Returns a configuration object
-     * with unit range (interval), count and name. Used to prepare data for
-     * `getTimeTicks`. Previously this logic was part of getTimeTicks, but as
-     * `getTimeTicks` now runs of segments in stock charts, the normalizing
-     * logic was extracted in order to prevent it for running over again for
-     * each segment having the same interval. #662, #697.
-     * @private
-     */
-    DateTimeAxisAdditions.prototype.normalizeTimeTickInterval = function (tickInterval, unitsOption) {
-        var units = unitsOption || [[
-                'millisecond',
-                [1, 2, 5, 10, 20, 25, 50, 100, 200, 500] // allowed multiples
-            ], [
-                'second',
-                [1, 2, 5, 10, 15, 30]
-            ], [
-                'minute',
-                [1, 2, 5, 10, 15, 30]
-            ], [
-                'hour',
-                [1, 2, 3, 4, 6, 8, 12]
-            ], [
-                'day',
-                [1, 2]
-            ], [
-                'week',
-                [1, 2]
-            ], [
-                'month',
-                [1, 2, 3, 4, 6]
-            ], [
-                'year',
-                null
-            ]], unit = units[units.length - 1], // default unit is years
-        interval = timeUnits[unit[0]], multiples = unit[1], count, i;
-        // loop through the units to find the one that best fits the
-        // tickInterval
-        for (i = 0; i < units.length; i++) {
-            unit = units[i];
-            interval = timeUnits[unit[0]];
-            multiples = unit[1];
-            if (units[i + 1]) {
-                // lessThan is in the middle between the highest multiple and
-                // the next unit.
-                var lessThan = (interval *
-                    multiples[multiples.length - 1] +
-                    timeUnits[units[i + 1][0]]) / 2;
-                // break and keep the current unit
-                if (tickInterval <= lessThan) {
-                    break;
-                }
-            }
-        }
-        // prevent 2.5 years intervals, though 25, 250 etc. are allowed
-        if (interval === timeUnits.year && tickInterval < 5 * interval) {
-            multiples = [1, 2, 5];
-        }
-        // get the count
-        count = normalizeTickInterval(tickInterval / interval, multiples, unit[0] === 'year' ? // #1913, #2360
-            Math.max(getMagnitude(tickInterval / interval), 1) :
-            1);
-        return {
-            unitRange: interval,
-            count: count,
-            unitName: unit[0]
-        };
-    };
-    return DateTimeAxisAdditions;
-}());
-/**
- * Date and time support for axes.
- *
- * @private
- * @class
- */
-var DateTimeAxis = /** @class */ (function () {
-    function DateTimeAxis() {
-    }
-    /* *
-     *
-     *  Static Functions
-     *
-     * */
-    /**
-     * Extends axis class with date and time support.
-     * @private
-     */
-    DateTimeAxis.compose = function (AxisClass) {
-        AxisClass.keepProps.push('dateTime');
-        var axisProto = AxisClass.prototype;
-        /**
-         * Set the tick positions to a time unit that makes sense, for example
-         * on the first of each month or on every Monday. Return an array with
-         * the time positions. Used in datetime axes as well as for grouping
-         * data on a datetime axis.
-         *
-         * @private
-         * @function Highcharts.Axis#getTimeTicks
-         *
-         * @param {Highcharts.TimeNormalizeObject} normalizedInterval
-         * The interval in axis values (ms) and thecount.
-         *
-         * @param {number} min
-         * The minimum in axis values.
-         *
-         * @param {number} max
-         * The maximum in axis values.
-         *
-         * @param {number} startOfWeek
-         *
-         * @return {Highcharts.AxisTickPositionsArray}
-         */
-        axisProto.getTimeTicks = function () {
-            return this.chart.time.getTimeTicks.apply(this.chart.time, arguments);
-        };
-        /* eslint-disable no-invalid-this */
-        addEvent(AxisClass, 'init', function (e) {
-            var axis = this;
-            var options = e.userOptions;
-            if (options.type !== 'datetime') {
-                axis.dateTime = void 0;
-                return;
-            }
-            if (!axis.dateTime) {
-                axis.dateTime = new DateTimeAxisAdditions(axis);
-            }
-        });
-        /* eslint-enable no-invalid-this */
-    };
-    /* *
-     *
-     *  Static Properties
-     *
-     * */
-    DateTimeAxis.AdditionsClass = DateTimeAxisAdditions;
-    return DateTimeAxis;
-}());
-DateTimeAxis.compose(Axis);
-export default DateTimeAxis;

+ 0 - 939
node_modules/highcharts/es-modules/Core/Axis/GridAxis.js

@@ -1,939 +0,0 @@
-/* *
- *
- *  (c) 2016 Highsoft AS
- *  Authors: Lars A. V. Cabrera
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-'use strict';
-import Axis from './Axis.js';
-import H from '../Globals.js';
-import Tick from './Tick.js';
-import U from '../Utilities.js';
-var addEvent = U.addEvent, defined = U.defined, erase = U.erase, find = U.find, isArray = U.isArray, isNumber = U.isNumber, merge = U.merge, pick = U.pick, timeUnits = U.timeUnits, wrap = U.wrap;
-var argsToArray = function (args) {
-    return Array.prototype.slice.call(args, 1);
-}, isObject = function (x) {
-    // Always use strict mode
-    return U.isObject(x, true);
-}, Chart = H.Chart;
-var applyGridOptions = function applyGridOptions(axis) {
-    var options = axis.options;
-    // Center-align by default
-    if (!options.labels) {
-        options.labels = {};
-    }
-    options.labels.align = pick(options.labels.align, 'center');
-    // @todo: Check against tickLabelPlacement between/on etc
-    /* Prevents adding the last tick label if the axis is not a category
-       axis.
-       Since numeric labels are normally placed at starts and ends of a
-       range of value, and this module makes the label point at the value,
-       an "extra" label would appear. */
-    if (!axis.categories) {
-        options.showLastLabel = false;
-    }
-    // Prevents rotation of labels when squished, as rotating them would not
-    // help.
-    axis.labelRotation = 0;
-    options.labels.rotation = 0;
-};
-/**
- * @productdesc {gantt}
- * For grid axes (like in Gantt charts),
- * it is possible to declare as a list to provide different
- * formats depending on available space.
- *
- * Defaults to:
- * ```js
- * {
- *     hour: { list: ['%H:%M', '%H'] },
- *     day: { list: ['%A, %e. %B', '%a, %e. %b', '%E'] },
- *     week: { list: ['Week %W', 'W%W'] },
- *     month: { list: ['%B', '%b', '%o'] }
- * }
- * ```
- *
- * @sample {gantt} gantt/grid-axis/date-time-label-formats
- *         Gantt chart with custom axis date format.
- *
- * @apioption xAxis.dateTimeLabelFormats
- */
-/**
- * Set grid options for the axis labels. Requires Highcharts Gantt.
- *
- * @since     6.2.0
- * @product   gantt
- * @apioption xAxis.grid
- */
-/**
- * Enable grid on the axis labels. Defaults to true for Gantt charts.
- *
- * @type      {boolean}
- * @default   true
- * @since     6.2.0
- * @product   gantt
- * @apioption xAxis.grid.enabled
- */
-/**
- * Set specific options for each column (or row for horizontal axes) in the
- * grid. Each extra column/row is its own axis, and the axis options can be set
- * here.
- *
- * @sample gantt/demo/left-axis-table
- *         Left axis as a table
- *
- * @type      {Array<Highcharts.XAxisOptions>}
- * @apioption xAxis.grid.columns
- */
-/**
- * Set border color for the label grid lines.
- *
- * @type      {Highcharts.ColorString}
- * @apioption xAxis.grid.borderColor
- */
-/**
- * Set border width of the label grid lines.
- *
- * @type      {number}
- * @default   1
- * @apioption xAxis.grid.borderWidth
- */
-/**
- * Set cell height for grid axis labels. By default this is calculated from font
- * size. This option only applies to horizontal axes.
- *
- * @sample gantt/grid-axis/cellheight
- *         Gant chart with custom cell height
- * @type      {number}
- * @apioption xAxis.grid.cellHeight
- */
-''; // detach doclets above
-/**
- * Get the largest label width and height.
- *
- * @private
- * @function Highcharts.Axis#getMaxLabelDimensions
- *
- * @param {Highcharts.Dictionary<Highcharts.Tick>} ticks
- * All the ticks on one axis.
- *
- * @param {Array<number|string>} tickPositions
- * All the tick positions on one axis.
- *
- * @return {Highcharts.SizeObject}
- * Object containing the properties height and width.
- *
- * @todo Move this to the generic axis implementation, as it is used there.
- */
-Axis.prototype.getMaxLabelDimensions = function (ticks, tickPositions) {
-    var dimensions = {
-        width: 0,
-        height: 0
-    };
-    tickPositions.forEach(function (pos) {
-        var tick = ticks[pos], labelHeight = 0, labelWidth = 0, label;
-        if (isObject(tick)) {
-            label = isObject(tick.label) ? tick.label : {};
-            // Find width and height of label
-            labelHeight = label.getBBox ? label.getBBox().height : 0;
-            if (label.textStr && !isNumber(label.textPxLength)) {
-                label.textPxLength = label.getBBox().width;
-            }
-            labelWidth = isNumber(label.textPxLength) ?
-                // Math.round ensures crisp lines
-                Math.round(label.textPxLength) :
-                0;
-            if (label.textStr) {
-                // Set the tickWidth same as the label width after ellipsis
-                // applied #10281
-                labelWidth = Math.round(label.getBBox().width);
-            }
-            // Update the result if width and/or height are larger
-            dimensions.height = Math.max(labelHeight, dimensions.height);
-            dimensions.width = Math.max(labelWidth, dimensions.width);
-        }
-    });
-    return dimensions;
-};
-// Adds week date format
-H.dateFormats.W = function (timestamp) {
-    var d = new this.Date(timestamp);
-    var firstDay = (this.get('Day', d) + 6) % 7;
-    var thursday = new this.Date(d.valueOf());
-    this.set('Date', thursday, this.get('Date', d) - firstDay + 3);
-    var firstThursday = new this.Date(this.get('FullYear', thursday), 0, 1);
-    if (this.get('Day', firstThursday) !== 4) {
-        this.set('Month', d, 0);
-        this.set('Date', d, 1 + (11 - this.get('Day', firstThursday)) % 7);
-    }
-    return (1 +
-        Math.floor((thursday.valueOf() - firstThursday.valueOf()) / 604800000)).toString();
-};
-// First letter of the day of the week, e.g. 'M' for 'Monday'.
-H.dateFormats.E = function (timestamp) {
-    return this.dateFormat('%a', timestamp, true).charAt(0);
-};
-/* eslint-disable no-invalid-this */
-addEvent(Chart, 'afterSetChartSize', function () {
-    this.axes.forEach(function (axis) {
-        (axis.grid && axis.grid.columns || []).forEach(function (column) {
-            column.setAxisSize();
-            column.setAxisTranslation();
-        });
-    });
-});
-// Center tick labels in cells.
-addEvent(Tick, 'afterGetLabelPosition', function (e) {
-    var tick = this, label = tick.label, axis = tick.axis, reversed = axis.reversed, chart = axis.chart, options = axis.options, gridOptions = options.grid || {}, labelOpts = axis.options.labels, align = labelOpts.align, 
-    // verticalAlign is currently not supported for axis.labels.
-    verticalAlign = 'middle', // labelOpts.verticalAlign,
-    side = GridAxis.Side[axis.side], tickmarkOffset = e.tickmarkOffset, tickPositions = axis.tickPositions, tickPos = tick.pos - tickmarkOffset, nextTickPos = (isNumber(tickPositions[e.index + 1]) ?
-        tickPositions[e.index + 1] - tickmarkOffset :
-        axis.max + tickmarkOffset), tickSize = axis.tickSize('tick'), tickWidth = tickSize ? tickSize[0] : 0, crispCorr = tickSize ? tickSize[1] / 2 : 0, labelHeight, lblMetrics, lines, bottom, top, left, right;
-    // Only center tick labels in grid axes
-    if (gridOptions.enabled === true) {
-        // Calculate top and bottom positions of the cell.
-        if (side === 'top') {
-            bottom = axis.top + axis.offset;
-            top = bottom - tickWidth;
-        }
-        else if (side === 'bottom') {
-            top = chart.chartHeight - axis.bottom + axis.offset;
-            bottom = top + tickWidth;
-        }
-        else {
-            bottom = axis.top + axis.len - axis.translate(reversed ? nextTickPos : tickPos);
-            top = axis.top + axis.len - axis.translate(reversed ? tickPos : nextTickPos);
-        }
-        // Calculate left and right positions of the cell.
-        if (side === 'right') {
-            left = chart.chartWidth - axis.right + axis.offset;
-            right = left + tickWidth;
-        }
-        else if (side === 'left') {
-            right = axis.left + axis.offset;
-            left = right - tickWidth;
-        }
-        else {
-            left = Math.round(axis.left + axis.translate(reversed ? nextTickPos : tickPos)) - crispCorr;
-            right = Math.round(axis.left + axis.translate(reversed ? tickPos : nextTickPos)) - crispCorr;
-        }
-        tick.slotWidth = right - left;
-        // Calculate the positioning of the label based on
-        // alignment.
-        e.pos.x = (align === 'left' ?
-            left :
-            align === 'right' ?
-                right :
-                left + ((right - left) / 2) // default to center
-        );
-        e.pos.y = (verticalAlign === 'top' ?
-            top :
-            verticalAlign === 'bottom' ?
-                bottom :
-                top + ((bottom - top) / 2) // default to middle
-        );
-        lblMetrics = chart.renderer.fontMetrics(labelOpts.style.fontSize, label.element);
-        labelHeight = label.getBBox().height;
-        // Adjustment to y position to align the label correctly.
-        // Would be better to have a setter or similar for this.
-        if (!labelOpts.useHTML) {
-            lines = Math.round(labelHeight / lblMetrics.h);
-            e.pos.y += (
-            // Center the label
-            // TODO: why does this actually center the label?
-            ((lblMetrics.b - (lblMetrics.h - lblMetrics.f)) / 2) +
-                // Adjust for height of additional lines.
-                -(((lines - 1) * lblMetrics.h) / 2));
-        }
-        else {
-            e.pos.y += (
-            // Readjust yCorr in htmlUpdateTransform
-            lblMetrics.b +
-                // Adjust for height of html label
-                -(labelHeight / 2));
-        }
-        e.pos.x += (axis.horiz && labelOpts.x || 0);
-    }
-});
-/* eslint-enable no-invalid-this */
-/**
- * Additions for grid axes.
- * @private
- * @class
- */
-var GridAxisAdditions = /** @class */ (function () {
-    /* *
-     *
-     *  Constructors
-     *
-     * */
-    function GridAxisAdditions(axis) {
-        this.axis = axis;
-    }
-    /* *
-     *
-     *  Functions
-     *
-     * */
-    /**
-     * Checks if an axis is the outer axis in its dimension. Since
-     * axes are placed outwards in order, the axis with the highest
-     * index is the outermost axis.
-     *
-     * Example: If there are multiple x-axes at the top of the chart,
-     * this function returns true if the axis supplied is the last
-     * of the x-axes.
-     *
-     * @private
-     *
-     * @return {boolean}
-     * True if the axis is the outermost axis in its dimension; false if
-     * not.
-     */
-    GridAxisAdditions.prototype.isOuterAxis = function () {
-        var axis = this.axis;
-        var chart = axis.chart;
-        var columnIndex = axis.grid.columnIndex;
-        var columns = (axis.linkedParent && axis.linkedParent.grid.columns ||
-            axis.grid.columns);
-        var parentAxis = columnIndex ? axis.linkedParent : axis;
-        var thisIndex = -1, lastIndex = 0;
-        chart[axis.coll].forEach(function (otherAxis, index) {
-            if (otherAxis.side === axis.side && !otherAxis.options.isInternal) {
-                lastIndex = index;
-                if (otherAxis === parentAxis) {
-                    // Get the index of the axis in question
-                    thisIndex = index;
-                }
-            }
-        });
-        return (lastIndex === thisIndex &&
-            (isNumber(columnIndex) ? columns.length === columnIndex : true));
-    };
-    /**
-     * Add extra border based on the provided path.
-     *  *
-     * @private
-     *
-     * @param {SVGPath} path
-     * The path of the border.
-     *
-     * @return {Highcharts.SVGElement}
-     */
-    GridAxisAdditions.prototype.renderBorder = function (path) {
-        var axis = this.axis, renderer = axis.chart.renderer, options = axis.options, extraBorderLine = renderer.path(path)
-            .addClass('highcharts-axis-line')
-            .add(axis.axisBorder);
-        if (!renderer.styledMode) {
-            extraBorderLine.attr({
-                stroke: options.lineColor,
-                'stroke-width': options.lineWidth,
-                zIndex: 7
-            });
-        }
-        return extraBorderLine;
-    };
-    return GridAxisAdditions;
-}());
-/**
- * Axis with grid support.
- * @private
- * @class
- */
-var GridAxis = /** @class */ (function () {
-    function GridAxis() {
-    }
-    /* *
-     *
-     *  Static Functions
-     *
-     * */
-    /* eslint-disable valid-jsdoc */
-    /**
-     * Extends axis class with grid support.
-     * @private
-     */
-    GridAxis.compose = function (AxisClass) {
-        Axis.keepProps.push('grid');
-        wrap(AxisClass.prototype, 'unsquish', GridAxis.wrapUnsquish);
-        // Add event handlers
-        addEvent(AxisClass, 'init', GridAxis.onInit);
-        addEvent(AxisClass, 'afterGetOffset', GridAxis.onAfterGetOffset);
-        addEvent(AxisClass, 'afterGetTitlePosition', GridAxis.onAfterGetTitlePosition);
-        addEvent(AxisClass, 'afterInit', GridAxis.onAfterInit);
-        addEvent(AxisClass, 'afterRender', GridAxis.onAfterRender);
-        addEvent(AxisClass, 'afterSetAxisTranslation', GridAxis.onAfterSetAxisTranslation);
-        addEvent(AxisClass, 'afterSetOptions', GridAxis.onAfterSetOptions);
-        addEvent(AxisClass, 'afterSetOptions', GridAxis.onAfterSetOptions2);
-        addEvent(AxisClass, 'afterSetScale', GridAxis.onAfterSetScale);
-        addEvent(AxisClass, 'afterTickSize', GridAxis.onAfterTickSize);
-        addEvent(AxisClass, 'trimTicks', GridAxis.onTrimTicks);
-        addEvent(AxisClass, 'destroy', GridAxis.onDestroy);
-    };
-    /**
-     * Handle columns and getOffset.
-     * @private
-     */
-    GridAxis.onAfterGetOffset = function () {
-        var grid = this.grid;
-        (grid && grid.columns || []).forEach(function (column) {
-            column.getOffset();
-        });
-    };
-    /**
-     * @private
-     */
-    GridAxis.onAfterGetTitlePosition = function (e) {
-        var axis = this;
-        var options = axis.options;
-        var gridOptions = options.grid || {};
-        if (gridOptions.enabled === true) {
-            // compute anchor points for each of the title align options
-            var title = axis.axisTitle, axisHeight = axis.height, horiz = axis.horiz, axisLeft = axis.left, offset = axis.offset, opposite = axis.opposite, _a = axis.options.title, axisTitleOptions = _a === void 0 ? {} : _a, axisTop = axis.top, axisWidth = axis.width;
-            var tickSize = axis.tickSize();
-            var titleWidth = title && title.getBBox().width;
-            var xOption = axisTitleOptions.x || 0;
-            var yOption = axisTitleOptions.y || 0;
-            var titleMargin = pick(axisTitleOptions.margin, horiz ? 5 : 10);
-            var titleFontSize = axis.chart.renderer.fontMetrics(axisTitleOptions.style &&
-                axisTitleOptions.style.fontSize, title).f;
-            var crispCorr = tickSize ? tickSize[0] / 2 : 0;
-            // TODO account for alignment
-            // the position in the perpendicular direction of the axis
-            var offAxis = ((horiz ? axisTop + axisHeight : axisLeft) +
-                (horiz ? 1 : -1) * // horizontal axis reverses the margin
-                    (opposite ? -1 : 1) * // so does opposite axes
-                    crispCorr +
-                (axis.side === GridAxis.Side.bottom ? titleFontSize : 0));
-            e.titlePosition.x = horiz ?
-                axisLeft - titleWidth / 2 - titleMargin + xOption :
-                offAxis + (opposite ? axisWidth : 0) + offset + xOption;
-            e.titlePosition.y = horiz ?
-                (offAxis -
-                    (opposite ? axisHeight : 0) +
-                    (opposite ? titleFontSize : -titleFontSize) / 2 +
-                    offset +
-                    yOption) :
-                axisTop - titleMargin + yOption;
-        }
-    };
-    /**
-     * @private
-     */
-    GridAxis.onAfterInit = function () {
-        var axis = this;
-        var chart = axis.chart, _a = axis.options.grid, gridOptions = _a === void 0 ? {} : _a, userOptions = axis.userOptions;
-        if (gridOptions.enabled) {
-            applyGridOptions(axis);
-            /* eslint-disable no-invalid-this */
-            // TODO: wrap the axis instead
-            wrap(axis, 'labelFormatter', function (proceed) {
-                var _a = this, axis = _a.axis, value = _a.value;
-                var tickPos = axis.tickPositions;
-                var series = (axis.isLinked ?
-                    axis.linkedParent :
-                    axis).series[0];
-                var isFirst = value === tickPos[0];
-                var isLast = value === tickPos[tickPos.length - 1];
-                var point = series && find(series.options.data, function (p) {
-                    return p[axis.isXAxis ? 'x' : 'y'] === value;
-                });
-                var pointCopy;
-                if (point && series.is('gantt')) {
-                    // For the Gantt set point aliases to the pointCopy
-                    // to do not change the original point
-                    pointCopy = merge(point);
-                    H.seriesTypes.gantt.prototype.pointClass.setGanttPointAliases(pointCopy);
-                }
-                // Make additional properties available for the
-                // formatter
-                this.isFirst = isFirst;
-                this.isLast = isLast;
-                this.point = pointCopy;
-                // Call original labelFormatter
-                return proceed.call(this);
-            });
-            /* eslint-enable no-invalid-this */
-        }
-        if (gridOptions.columns) {
-            var columns = axis.grid.columns = [], columnIndex = axis.grid.columnIndex = 0;
-            // Handle columns, each column is a grid axis
-            while (++columnIndex < gridOptions.columns.length) {
-                var columnOptions = merge(userOptions, gridOptions.columns[gridOptions.columns.length - columnIndex - 1], {
-                    linkedTo: 0,
-                    // Force to behave like category axis
-                    type: 'category',
-                    // Disable by default the scrollbar on the grid axis
-                    scrollbar: {
-                        enabled: false
-                    }
-                });
-                delete columnOptions.grid.columns; // Prevent recursion
-                var column = new Axis(axis.chart, columnOptions);
-                column.grid.isColumn = true;
-                column.grid.columnIndex = columnIndex;
-                // Remove column axis from chart axes array, and place it
-                // in the columns array.
-                erase(chart.axes, column);
-                erase(chart[axis.coll], column);
-                columns.push(column);
-            }
-        }
-    };
-    /**
-     * Draw an extra line on the far side of the outermost axis,
-     * creating floor/roof/wall of a grid. And some padding.
-     * ```
-     * Make this:
-     *             (axis.min) __________________________ (axis.max)
-     *                           |    |    |    |    |
-     * Into this:
-     *             (axis.min) __________________________ (axis.max)
-     *                        ___|____|____|____|____|__
-     * ```
-     * @private
-     */
-    GridAxis.onAfterRender = function () {
-        var _a;
-        var axis = this, grid = axis.grid, options = axis.options, gridOptions = options.grid || {};
-        if (gridOptions.enabled === true) {
-            // @todo acutual label padding (top, bottom, left, right)
-            axis.maxLabelDimensions = axis.getMaxLabelDimensions(axis.ticks, axis.tickPositions);
-            // Remove right wall before rendering if updating
-            if (axis.rightWall) {
-                axis.rightWall.destroy();
-            }
-            /*
-            Draw an extra axis line on outer axes
-                        >
-            Make this:    |______|______|______|___
-
-                        > _________________________
-            Into this:    |______|______|______|__|
-                                                    */
-            if (axis.grid && axis.grid.isOuterAxis() && axis.axisLine) {
-                var lineWidth = options.lineWidth;
-                if (lineWidth) {
-                    var linePath = axis.getLinePath(lineWidth), startPoint = linePath[0], endPoint = linePath[1], 
-                    // Negate distance if top or left axis
-                    // Subtract 1px to draw the line at the end of the tick
-                    tickLength = (axis.tickSize('tick') || [1])[0], distance = (tickLength - 1) * ((axis.side === GridAxis.Side.top ||
-                        axis.side === GridAxis.Side.left) ? -1 : 1);
-                    // If axis is horizontal, reposition line path vertically
-                    if (startPoint[0] === 'M' && endPoint[0] === 'L') {
-                        if (axis.horiz) {
-                            startPoint[2] += distance;
-                            endPoint[2] += distance;
-                        }
-                        else {
-                            startPoint[1] += distance;
-                            endPoint[1] += distance;
-                        }
-                    }
-                    // If it doesn't exist, add an upper and lower border
-                    // for the vertical grid axis.
-                    if (!axis.horiz && axis.chart.marginRight) {
-                        var upperBorderStartPoint = startPoint, upperBorderEndPoint = ['L', axis.left, startPoint[2]], upperBorderPath = [upperBorderStartPoint, upperBorderEndPoint], lowerBorderEndPoint = ['L', axis.chart.chartWidth - axis.chart.marginRight, axis.toPixels(axis.max + axis.tickmarkOffset)], lowerBorderStartPoint = ['M', endPoint[1], axis.toPixels(axis.max + axis.tickmarkOffset)], lowerBorderPath = [lowerBorderStartPoint, lowerBorderEndPoint];
-                        if (!axis.grid.upperBorder && axis.min % 1 !== 0) {
-                            axis.grid.upperBorder = axis.grid.renderBorder(upperBorderPath);
-                        }
-                        if (axis.grid.upperBorder) {
-                            axis.grid.upperBorder.animate({
-                                d: upperBorderPath
-                            });
-                        }
-                        if (!axis.grid.lowerBorder && axis.max % 1 !== 0) {
-                            axis.grid.lowerBorder = axis.grid.renderBorder(lowerBorderPath);
-                        }
-                        if (axis.grid.lowerBorder) {
-                            axis.grid.lowerBorder.animate({
-                                d: lowerBorderPath
-                            });
-                        }
-                    }
-                    // Render an extra line parallel to the existing axes,
-                    // to close the grid.
-                    if (!axis.grid.axisLineExtra) {
-                        axis.grid.axisLineExtra = axis.grid.renderBorder(linePath);
-                    }
-                    else {
-                        axis.grid.axisLineExtra.animate({
-                            d: linePath
-                        });
-                    }
-                    // show or hide the line depending on
-                    // options.showEmpty
-                    axis.axisLine[axis.showAxis ? 'show' : 'hide'](true);
-                }
-            }
-            (grid && grid.columns || []).forEach(function (column) {
-                column.render();
-            });
-            // Manipulate the tick mark visibility
-            // based on the axis.max- allows smooth scrolling.
-            if (!axis.horiz && axis.chart.hasRendered && (axis.scrollbar || ((_a = axis.linkedParent) === null || _a === void 0 ? void 0 : _a.scrollbar))) {
-                var max = axis.max, min = axis.min, tickmarkOffset = axis.tickmarkOffset, lastTick = axis.tickPositions[axis.tickPositions.length - 1], firstTick = axis.tickPositions[0];
-                // Hide/show firts tick label.
-                if (min - firstTick > tickmarkOffset) {
-                    axis.ticks[firstTick].label.hide();
-                }
-                else {
-                    axis.ticks[firstTick].label.show();
-                }
-                // Hide/show last tick mark/label.
-                if (lastTick - max > tickmarkOffset) {
-                    axis.ticks[lastTick].label.hide();
-                }
-                else {
-                    axis.ticks[lastTick].label.show();
-                }
-                if (lastTick - max < tickmarkOffset && lastTick - max > 0 && axis.ticks[lastTick].isLast) {
-                    axis.ticks[lastTick].mark.hide();
-                }
-                else if (axis.ticks[lastTick - 1]) {
-                    axis.ticks[lastTick - 1].mark.show();
-                }
-            }
-        }
-    };
-    /**
-     * @private
-     */
-    GridAxis.onAfterSetAxisTranslation = function () {
-        var _a;
-        var axis = this;
-        var tickInfo = axis.tickPositions && axis.tickPositions.info;
-        var options = axis.options;
-        var gridOptions = options.grid || {};
-        var userLabels = axis.userOptions.labels || {};
-        // Fire this only for the Gantt type chart, #14868.
-        if (gridOptions.enabled) {
-            if (axis.horiz) {
-                axis.series.forEach(function (series) {
-                    series.options.pointRange = 0;
-                });
-                // Lower level time ticks, like hours or minutes, represent
-                // points in time and not ranges. These should be aligned
-                // left in the grid cell by default. The same applies to
-                // years of higher order.
-                if (tickInfo &&
-                    options.dateTimeLabelFormats &&
-                    options.labels &&
-                    !defined(userLabels.align) &&
-                    (options.dateTimeLabelFormats[tickInfo.unitName].range === false ||
-                        tickInfo.count > 1 // years
-                    )) {
-                    options.labels.align = 'left';
-                    if (!defined(userLabels.x)) {
-                        options.labels.x = 3;
-                    }
-                }
-            }
-            else {
-                // Don't trim ticks which not in min/max range but
-                // they are still in the min/max plus tickInterval.
-                if (this.options.type !== 'treegrid' && ((_a = axis.grid) === null || _a === void 0 ? void 0 : _a.columns)) {
-                    this.minPointOffset = this.tickInterval;
-                }
-            }
-        }
-    };
-    /**
-     * Creates a left and right wall on horizontal axes:
-     * - Places leftmost tick at the start of the axis, to create a left
-     *   wall
-     * - Ensures that the rightmost tick is at the end of the axis, to
-     *   create a right wall.
-     * @private
-     */
-    GridAxis.onAfterSetOptions = function (e) {
-        var options = this.options, userOptions = e.userOptions, gridAxisOptions, gridOptions = ((options && isObject(options.grid)) ? options.grid : {});
-        if (gridOptions.enabled === true) {
-            // Merge the user options into default grid axis options so
-            // that when a user option is set, it takes presedence.
-            gridAxisOptions = merge(true, {
-                className: ('highcharts-grid-axis ' + (userOptions.className || '')),
-                dateTimeLabelFormats: {
-                    hour: {
-                        list: ['%H:%M', '%H']
-                    },
-                    day: {
-                        list: ['%A, %e. %B', '%a, %e. %b', '%E']
-                    },
-                    week: {
-                        list: ['Week %W', 'W%W']
-                    },
-                    month: {
-                        list: ['%B', '%b', '%o']
-                    }
-                },
-                grid: {
-                    borderWidth: 1
-                },
-                labels: {
-                    padding: 2,
-                    style: {
-                        fontSize: '13px'
-                    }
-                },
-                margin: 0,
-                title: {
-                    text: null,
-                    reserveSpace: false,
-                    rotation: 0
-                },
-                // In a grid axis, only allow one unit of certain types,
-                // for example we shouln't have one grid cell spanning
-                // two days.
-                units: [[
-                        'millisecond',
-                        [1, 10, 100]
-                    ], [
-                        'second',
-                        [1, 10]
-                    ], [
-                        'minute',
-                        [1, 5, 15]
-                    ], [
-                        'hour',
-                        [1, 6]
-                    ], [
-                        'day',
-                        [1]
-                    ], [
-                        'week',
-                        [1]
-                    ], [
-                        'month',
-                        [1]
-                    ], [
-                        'year',
-                        null
-                    ]]
-            }, userOptions);
-            // X-axis specific options
-            if (this.coll === 'xAxis') {
-                // For linked axes, tickPixelInterval is used only if
-                // the tickPositioner below doesn't run or returns
-                // undefined (like multiple years)
-                if (defined(userOptions.linkedTo) &&
-                    !defined(userOptions.tickPixelInterval)) {
-                    gridAxisOptions.tickPixelInterval = 350;
-                }
-                // For the secondary grid axis, use the primary axis'
-                // tick intervals and return ticks one level higher.
-                if (
-                // Check for tick pixel interval in options
-                !defined(userOptions.tickPixelInterval) &&
-                    // Only for linked axes
-                    defined(userOptions.linkedTo) &&
-                    !defined(userOptions.tickPositioner) &&
-                    !defined(userOptions.tickInterval)) {
-                    gridAxisOptions.tickPositioner = function (min, max) {
-                        var parentInfo = (this.linkedParent &&
-                            this.linkedParent.tickPositions &&
-                            this.linkedParent.tickPositions.info);
-                        if (parentInfo) {
-                            var unitIdx, count, unitName, i, units = gridAxisOptions.units, unitRange;
-                            for (i = 0; i < units.length; i++) {
-                                if (units[i][0] ===
-                                    parentInfo.unitName) {
-                                    unitIdx = i;
-                                    break;
-                                }
-                            }
-                            // Get the first allowed count on the next
-                            // unit.
-                            if (units[unitIdx + 1]) {
-                                unitName = units[unitIdx + 1][0];
-                                count =
-                                    (units[unitIdx + 1][1] || [1])[0];
-                                // In case the base X axis shows years, make
-                                // the secondary axis show ten times the
-                                // years (#11427)
-                            }
-                            else if (parentInfo.unitName === 'year') {
-                                unitName = 'year';
-                                count = parentInfo.count * 10;
-                            }
-                            unitRange = timeUnits[unitName];
-                            this.tickInterval = unitRange * count;
-                            return this.getTimeTicks({
-                                unitRange: unitRange,
-                                count: count,
-                                unitName: unitName
-                            }, min, max, this.options.startOfWeek);
-                        }
-                    };
-                }
-            }
-            // Now merge the combined options into the axis options
-            merge(true, this.options, gridAxisOptions);
-            if (this.horiz) {
-                /*               _________________________
-                Make this:    ___|_____|_____|_____|__|
-                                ^                     ^
-                                _________________________
-                Into this:    |_____|_____|_____|_____|
-                                    ^                 ^    */
-                options.minPadding = pick(userOptions.minPadding, 0);
-                options.maxPadding = pick(userOptions.maxPadding, 0);
-            }
-            // If borderWidth is set, then use its value for tick and
-            // line width.
-            if (isNumber(options.grid.borderWidth)) {
-                options.tickWidth = options.lineWidth = gridOptions.borderWidth;
-            }
-        }
-    };
-    /**
-     * @private
-     */
-    GridAxis.onAfterSetOptions2 = function (e) {
-        var axis = this;
-        var userOptions = e.userOptions;
-        var gridOptions = userOptions && userOptions.grid || {};
-        var columns = gridOptions.columns;
-        // Add column options to the parent axis. Children has their column
-        // options set on init in onGridAxisAfterInit.
-        if (gridOptions.enabled && columns) {
-            merge(true, axis.options, columns[columns.length - 1]);
-        }
-    };
-    /**
-     * Handle columns and setScale.
-     * @private
-     */
-    GridAxis.onAfterSetScale = function () {
-        var axis = this;
-        (axis.grid.columns || []).forEach(function (column) {
-            column.setScale();
-        });
-    };
-    /**
-     * Draw vertical axis ticks extra long to create cell floors and roofs.
-     * Overrides the tickLength for vertical axes.
-     * @private
-     */
-    GridAxis.onAfterTickSize = function (e) {
-        var defaultLeftAxisOptions = Axis.defaultLeftAxisOptions;
-        var _a = this, horiz = _a.horiz, maxLabelDimensions = _a.maxLabelDimensions, _b = _a.options.grid, gridOptions = _b === void 0 ? {} : _b;
-        if (gridOptions.enabled && maxLabelDimensions) {
-            var labelPadding = (Math.abs(defaultLeftAxisOptions.labels.x) * 2);
-            var distance = horiz ?
-                gridOptions.cellHeight || labelPadding + maxLabelDimensions.height :
-                labelPadding + maxLabelDimensions.width;
-            if (isArray(e.tickSize)) {
-                e.tickSize[0] = distance;
-            }
-            else {
-                e.tickSize = [distance, 0];
-            }
-        }
-    };
-    /**
-     * @private
-     */
-    GridAxis.onDestroy = function (e) {
-        var grid = this.grid;
-        (grid.columns || []).forEach(function (column) {
-            column.destroy(e.keepEvents);
-        });
-        grid.columns = void 0;
-    };
-    /**
-     * Wraps axis init to draw cell walls on vertical axes.
-     * @private
-     */
-    GridAxis.onInit = function (e) {
-        var axis = this;
-        var userOptions = e.userOptions || {};
-        var gridOptions = userOptions.grid || {};
-        if (gridOptions.enabled && defined(gridOptions.borderColor)) {
-            userOptions.tickColor = userOptions.lineColor = gridOptions.borderColor;
-        }
-        if (!axis.grid) {
-            axis.grid = new GridAxisAdditions(axis);
-        }
-    };
-    /**
-     * Makes tick labels which are usually ignored in a linked axis
-     * displayed if they are within range of linkedParent.min.
-     * ```
-     *                        _____________________________
-     *                        |   |       |       |       |
-     * Make this:             |   |   2   |   3   |   4   |
-     *                        |___|_______|_______|_______|
-     *                          ^
-     *                        _____________________________
-     *                        |   |       |       |       |
-     * Into this:             | 1 |   2   |   3   |   4   |
-     *                        |___|_______|_______|_______|
-     *                          ^
-     * ```
-     * @private
-     * @todo Does this function do what the drawing says? Seems to affect
-     *       ticks and not the labels directly?
-     */
-    GridAxis.onTrimTicks = function () {
-        var axis = this;
-        var options = axis.options;
-        var gridOptions = options.grid || {};
-        var categoryAxis = axis.categories;
-        var tickPositions = axis.tickPositions;
-        var firstPos = tickPositions[0];
-        var lastPos = tickPositions[tickPositions.length - 1];
-        var linkedMin = axis.linkedParent && axis.linkedParent.min;
-        var linkedMax = axis.linkedParent && axis.linkedParent.max;
-        var min = linkedMin || axis.min;
-        var max = linkedMax || axis.max;
-        var tickInterval = axis.tickInterval;
-        var endMoreThanMin = (firstPos < min &&
-            firstPos + tickInterval > min);
-        var startLessThanMax = (lastPos > max &&
-            lastPos - tickInterval < max);
-        if (gridOptions.enabled === true &&
-            !categoryAxis &&
-            (axis.horiz || axis.isLinked)) {
-            if (endMoreThanMin && !options.startOnTick) {
-                tickPositions[0] = min;
-            }
-            if (startLessThanMax && !options.endOnTick) {
-                tickPositions[tickPositions.length - 1] = max;
-            }
-        }
-    };
-    /**
-     * Avoid altering tickInterval when reserving space.
-     * @private
-     */
-    GridAxis.wrapUnsquish = function (proceed) {
-        var axis = this;
-        var _a = axis.options.grid, gridOptions = _a === void 0 ? {} : _a;
-        if (gridOptions.enabled === true && axis.categories) {
-            return axis.tickInterval;
-        }
-        return proceed.apply(axis, argsToArray(arguments));
-    };
-    return GridAxis;
-}());
-(function (GridAxis) {
-    /**
-     * Enum for which side the axis is on. Maps to axis.side.
-     * @private
-     */
-    var Side;
-    (function (Side) {
-        Side[Side["top"] = 0] = "top";
-        Side[Side["right"] = 1] = "right";
-        Side[Side["bottom"] = 2] = "bottom";
-        Side[Side["left"] = 3] = "left";
-    })(Side = GridAxis.Side || (GridAxis.Side = {}));
-})(GridAxis || (GridAxis = {}));
-GridAxis.compose(Axis);
-export default GridAxis;

+ 0 - 46
node_modules/highcharts/es-modules/Core/Axis/HiddenAxis.js

@@ -1,46 +0,0 @@
-/* *
- *
- *  (c) 2010-2021 Torstein Honsi
- *
- *  License: www.highcharts.com/license
- *
- *  !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
- *
- * */
-/**
- * @private
- * @class
- */
-var HiddenAxis = /** @class */ (function () {
-    function HiddenAxis() {
-    }
-    /**
-     * Augments methods for the x axis in order to hide it completely. Used for
-     * the X axis in gauges
-     *
-     * @private
-     *
-     * @param {Highcharts.Axis} axis
-     * Radial axis to augment.
-     */
-    HiddenAxis.init = function (axis) {
-        axis.getOffset = function () { };
-        axis.redraw = function () {
-            this.isDirty = false; // prevent setting Y axis dirty
-        };
-        axis.render = function () {
-            this.isDirty = false; // prevent setting Y axis dirty
-        };
-        axis.createLabelCollector = function () {
-            return function () {
-                return;
-            };
-        };
-        axis.setScale = function () { };
-        axis.setCategories = function () { };
-        axis.setTitle = function () { };
-        axis.isHidden = true;
-    };
-    return HiddenAxis;
-}());
-export default HiddenAxis;

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio