wzx 2 rokov pred
commit
ddc6d98778
100 zmenil súbory, kde vykonal 22575 pridanie a 0 odobranie
  1. 3 0
      .gitmodules
  2. 16 0
      .hbuilderx/launch.json
  3. 29 0
      App.vue
  4. 1 0
      grpc/app_api
  5. 4305 0
      grpc/base_pb.js
  6. 2 0
      grpc/gen.bat
  7. 447 0
      grpc/track_offical_grpc_web_pb.js
  8. 3103 0
      grpc/track_offical_pb.js
  9. 20 0
      index.html
  10. 59 0
      main.js
  11. 121 0
      manifest.json
  12. 12 0
      node_modules/.bin/geo2topo
  13. 17 0
      node_modules/.bin/geo2topo.cmd
  14. 28 0
      node_modules/.bin/geo2topo.ps1
  15. 12 0
      node_modules/.bin/topo2geo
  16. 17 0
      node_modules/.bin/topo2geo.cmd
  17. 28 0
      node_modules/.bin/topo2geo.ps1
  18. 12 0
      node_modules/.bin/topomerge
  19. 17 0
      node_modules/.bin/topomerge.cmd
  20. 28 0
      node_modules/.bin/topomerge.ps1
  21. 12 0
      node_modules/.bin/topoquantize
  22. 17 0
      node_modules/.bin/topoquantize.cmd
  23. 28 0
      node_modules/.bin/topoquantize.ps1
  24. 1930 0
      node_modules/.package-lock.json
  25. 21 0
      node_modules/@geoman-io/leaflet-geoman-free/LICENSE
  26. 1306 0
      node_modules/@geoman-io/leaflet-geoman-free/README.md
  27. 151 0
      node_modules/@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css
  28. 1619 0
      node_modules/@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.d.ts
  29. 0 0
      node_modules/@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.min.js
  30. 90 0
      node_modules/@geoman-io/leaflet-geoman-free/package.json
  31. 21 0
      node_modules/@petamoriken/float16/LICENSE
  32. 452 0
      node_modules/@petamoriken/float16/README.md
  33. 1308 0
      node_modules/@petamoriken/float16/browser/float16.js
  34. 1293 0
      node_modules/@petamoriken/float16/browser/float16.mjs
  35. 498 0
      node_modules/@petamoriken/float16/index.d.ts
  36. 22 0
      node_modules/@petamoriken/float16/inspect/node.cjs
  37. 20 0
      node_modules/@petamoriken/float16/inspect/node.mjs
  38. 16 0
      node_modules/@petamoriken/float16/lib/DataView.cjs
  39. 690 0
      node_modules/@petamoriken/float16/lib/Float16Array.cjs
  40. 52 0
      node_modules/@petamoriken/float16/lib/_util/arrayIterator.cjs
  41. 28 0
      node_modules/@petamoriken/float16/lib/_util/brand.cjs
  42. 84 0
      node_modules/@petamoriken/float16/lib/_util/converter.cjs
  43. 72 0
      node_modules/@petamoriken/float16/lib/_util/is.cjs
  44. 31 0
      node_modules/@petamoriken/float16/lib/_util/messages.cjs
  45. 194 0
      node_modules/@petamoriken/float16/lib/_util/primordials.cjs
  46. 84 0
      node_modules/@petamoriken/float16/lib/_util/spec.cjs
  47. 16 0
      node_modules/@petamoriken/float16/lib/f16round.cjs
  48. 16 0
      node_modules/@petamoriken/float16/lib/index.cjs
  49. 11 0
      node_modules/@petamoriken/float16/lib/isTypedArray.cjs
  50. 100 0
      node_modules/@petamoriken/float16/package.json
  51. 37 0
      node_modules/@petamoriken/float16/src/DataView.mjs
  52. 1198 0
      node_modules/@petamoriken/float16/src/Float16Array.mjs
  53. 88 0
      node_modules/@petamoriken/float16/src/_util/arrayIterator.mjs
  54. 31 0
      node_modules/@petamoriken/float16/src/_util/brand.mjs
  55. 118 0
      node_modules/@petamoriken/float16/src/_util/converter.mjs
  56. 139 0
      node_modules/@petamoriken/float16/src/_util/is.mjs
  57. 22 0
      node_modules/@petamoriken/float16/src/_util/messages.mjs
  58. 249 0
      node_modules/@petamoriken/float16/src/_util/primordials.mjs
  59. 138 0
      node_modules/@petamoriken/float16/src/_util/spec.mjs
  60. 20 0
      node_modules/@petamoriken/float16/src/f16round.mjs
  61. 6 0
      node_modules/@petamoriken/float16/src/index.mjs
  62. 10 0
      node_modules/@petamoriken/float16/src/isTypedArray.mjs
  63. 26 0
      node_modules/@protobufjs/aspromise/LICENSE
  64. 13 0
      node_modules/@protobufjs/aspromise/README.md
  65. 13 0
      node_modules/@protobufjs/aspromise/index.d.ts
  66. 52 0
      node_modules/@protobufjs/aspromise/index.js
  67. 21 0
      node_modules/@protobufjs/aspromise/package.json
  68. 130 0
      node_modules/@protobufjs/aspromise/tests/index.js
  69. 26 0
      node_modules/@protobufjs/base64/LICENSE
  70. 19 0
      node_modules/@protobufjs/base64/README.md
  71. 32 0
      node_modules/@protobufjs/base64/index.d.ts
  72. 139 0
      node_modules/@protobufjs/base64/index.js
  73. 21 0
      node_modules/@protobufjs/base64/package.json
  74. 46 0
      node_modules/@protobufjs/base64/tests/index.js
  75. 26 0
      node_modules/@protobufjs/codegen/LICENSE
  76. 49 0
      node_modules/@protobufjs/codegen/README.md
  77. 31 0
      node_modules/@protobufjs/codegen/index.d.ts
  78. 99 0
      node_modules/@protobufjs/codegen/index.js
  79. 13 0
      node_modules/@protobufjs/codegen/package.json
  80. 13 0
      node_modules/@protobufjs/codegen/tests/index.js
  81. 26 0
      node_modules/@protobufjs/eventemitter/LICENSE
  82. 22 0
      node_modules/@protobufjs/eventemitter/README.md
  83. 43 0
      node_modules/@protobufjs/eventemitter/index.d.ts
  84. 76 0
      node_modules/@protobufjs/eventemitter/index.js
  85. 21 0
      node_modules/@protobufjs/eventemitter/package.json
  86. 47 0
      node_modules/@protobufjs/eventemitter/tests/index.js
  87. 26 0
      node_modules/@protobufjs/fetch/LICENSE
  88. 13 0
      node_modules/@protobufjs/fetch/README.md
  89. 56 0
      node_modules/@protobufjs/fetch/index.d.ts
  90. 115 0
      node_modules/@protobufjs/fetch/index.js
  91. 25 0
      node_modules/@protobufjs/fetch/package.json
  92. 16 0
      node_modules/@protobufjs/fetch/tests/index.js
  93. 26 0
      node_modules/@protobufjs/float/LICENSE
  94. 102 0
      node_modules/@protobufjs/float/README.md
  95. 87 0
      node_modules/@protobufjs/float/bench/index.js
  96. 46 0
      node_modules/@protobufjs/float/bench/suite.js
  97. 83 0
      node_modules/@protobufjs/float/index.d.ts
  98. 335 0
      node_modules/@protobufjs/float/index.js
  99. 26 0
      node_modules/@protobufjs/float/package.json
  100. 100 0
      node_modules/@protobufjs/float/tests/index.js

+ 3 - 0
.gitmodules

@@ -0,0 +1,3 @@
+[submodule "grpc/app_api"]
+	path = grpc/app_api
+	url = https://git.beswell.com/Orienteering/app_api.git

+ 16 - 0
.hbuilderx/launch.json

@@ -0,0 +1,16 @@
+{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+  // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+    "version": "0.0",
+    "configurations": [{
+     	"app-plus" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"default" : 
+     	{
+     		"launchtype" : "local"
+     	},
+     	"type" : "uniCloud"
+     }
+    ]
+}

+ 29 - 0
App.vue

@@ -0,0 +1,29 @@
+<script>
+	export default {
+		onLaunch: function() {
+			console.log('App Launch')
+		},
+		onShow: function() {
+			console.log('App Show')
+		},
+		onHide: function() {
+			console.log('App Hide')
+		}
+	}
+</script>
+
+<style lang="scss">
+	/*每个页面公共css */
+	@import '@/uni_modules/uni-scss/index.scss';
+
+	/* #ifndef APP-NVUE */
+	@import '@/static/customicons.css';
+
+	// 设置整个项目的背景色
+	page {
+		// background-color: #f5f5f5;
+		background-color: #fff;
+	}
+
+	/* #endif */
+</style>

+ 1 - 0
grpc/app_api

@@ -0,0 +1 @@
+Subproject commit 91cb1cc3fe4415b1e308522e1e047df2f74473bb

+ 4305 - 0
grpc/base_pb.js

@@ -0,0 +1,4305 @@
+// source: base.proto
+/**
+ * @fileoverview
+ * @enhanceable
+ * @suppress {missingRequire} reports error on implicit type usages.
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
+ *     field starts with 'MSG_' and isn't a translatable message.
+ * @public
+ */
+// GENERATED CODE -- DO NOT EDIT!
+/* eslint-disable */
+// @ts-nocheck
+
+var jspb = require('google-protobuf');
+var goog = jspb;
+var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
+
+var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
+goog.object.extend(proto, google_protobuf_timestamp_pb);
+goog.exportSymbol('proto.base.v1.BaseMapInfo', null, global);
+goog.exportSymbol('proto.base.v1.CType', null, global);
+goog.exportSymbol('proto.base.v1.ControlInfoList', null, global);
+goog.exportSymbol('proto.base.v1.ControlPoint', null, global);
+goog.exportSymbol('proto.base.v1.ControlPointInfo', null, global);
+goog.exportSymbol('proto.base.v1.ControlPointSimple', null, global);
+goog.exportSymbol('proto.base.v1.CourseInfo', null, global);
+goog.exportSymbol('proto.base.v1.CriterionType', null, global);
+goog.exportSymbol('proto.base.v1.DefaultReply', null, global);
+goog.exportSymbol('proto.base.v1.DefaultRequest', null, global);
+goog.exportSymbol('proto.base.v1.ErrorCode', null, global);
+goog.exportSymbol('proto.base.v1.GameGpsInfo', null, global);
+goog.exportSymbol('proto.base.v1.HeartRate', null, global);
+goog.exportSymbol('proto.base.v1.HrBandType', null, global);
+goog.exportSymbol('proto.base.v1.IdRequest', null, global);
+goog.exportSymbol('proto.base.v1.Image', null, global);
+goog.exportSymbol('proto.base.v1.LoginSource', null, global);
+goog.exportSymbol('proto.base.v1.MapRoute', null, global);
+goog.exportSymbol('proto.base.v1.NetImage', null, global);
+goog.exportSymbol('proto.base.v1.Position', null, global);
+goog.exportSymbol('proto.base.v1.ProjectContentType', null, global);
+goog.exportSymbol('proto.base.v1.Region', null, global);
+goog.exportSymbol('proto.base.v1.ShopList', null, global);
+goog.exportSymbol('proto.base.v1.ShopType', null, global);
+goog.exportSymbol('proto.base.v1.SignInReply', null, global);
+goog.exportSymbol('proto.base.v1.SmsType', null, global);
+goog.exportSymbol('proto.base.v1.StatusEditRequest', null, global);
+goog.exportSymbol('proto.base.v1.StatusType', null, global);
+goog.exportSymbol('proto.base.v1.User', null, global);
+goog.exportSymbol('proto.base.v1.User.Sex', null, global);
+goog.exportSymbol('proto.base.v1.UserType', null, global);
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.NetImage = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.NetImage, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.NetImage.displayName = 'proto.base.v1.NetImage';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.User = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.User, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.User.displayName = 'proto.base.v1.User';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.GameGpsInfo = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.GameGpsInfo, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.GameGpsInfo.displayName = 'proto.base.v1.GameGpsInfo';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.HeartRate = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.HeartRate, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.HeartRate.displayName = 'proto.base.v1.HeartRate';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.SignInReply = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.SignInReply, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.SignInReply.displayName = 'proto.base.v1.SignInReply';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.MapRoute = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.MapRoute, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.MapRoute.displayName = 'proto.base.v1.MapRoute';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.BaseMapInfo = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.BaseMapInfo, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.BaseMapInfo.displayName = 'proto.base.v1.BaseMapInfo';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.Region = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.Region, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.Region.displayName = 'proto.base.v1.Region';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.ShopList = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.ShopList, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.ShopList.displayName = 'proto.base.v1.ShopList';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.ControlInfoList = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.ControlInfoList, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.ControlInfoList.displayName = 'proto.base.v1.ControlInfoList';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.DefaultReply = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.DefaultReply, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.DefaultReply.displayName = 'proto.base.v1.DefaultReply';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.IdRequest = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.IdRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.IdRequest.displayName = 'proto.base.v1.IdRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.DefaultRequest = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.DefaultRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.DefaultRequest.displayName = 'proto.base.v1.DefaultRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.Position = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.Position, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.Position.displayName = 'proto.base.v1.Position';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.ControlPointInfo = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.ControlPointInfo, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.ControlPointInfo.displayName = 'proto.base.v1.ControlPointInfo';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.Image = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.Image, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.Image.displayName = 'proto.base.v1.Image';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.StatusEditRequest = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.base.v1.StatusEditRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.StatusEditRequest.displayName = 'proto.base.v1.StatusEditRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.CourseInfo = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.base.v1.CourseInfo.repeatedFields_, null);
+};
+goog.inherits(proto.base.v1.CourseInfo, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.CourseInfo.displayName = 'proto.base.v1.CourseInfo';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.ControlPoint = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.base.v1.ControlPoint.repeatedFields_, null);
+};
+goog.inherits(proto.base.v1.ControlPoint, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.ControlPoint.displayName = 'proto.base.v1.ControlPoint';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.base.v1.ControlPointSimple = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.base.v1.ControlPointSimple.repeatedFields_, null);
+};
+goog.inherits(proto.base.v1.ControlPointSimple, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.base.v1.ControlPointSimple.displayName = 'proto.base.v1.ControlPointSimple';
+}
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.NetImage.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.NetImage.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.NetImage} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.NetImage.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    url: jspb.Message.getFieldWithDefault(msg, 1, ""),
+    md5: msg.getMd5_asB64()
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.NetImage}
+ */
+proto.base.v1.NetImage.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.NetImage;
+  return proto.base.v1.NetImage.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.NetImage} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.NetImage}
+ */
+proto.base.v1.NetImage.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setUrl(value);
+      break;
+    case 2:
+      var value = /** @type {!Uint8Array} */ (reader.readBytes());
+      msg.setMd5(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.NetImage.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.NetImage.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.NetImage} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.NetImage.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getUrl();
+  if (f.length > 0) {
+    writer.writeString(
+      1,
+      f
+    );
+  }
+  f = message.getMd5_asU8();
+  if (f.length > 0) {
+    writer.writeBytes(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional string url = 1;
+ * @return {string}
+ */
+proto.base.v1.NetImage.prototype.getUrl = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.NetImage} returns this
+ */
+proto.base.v1.NetImage.prototype.setUrl = function(value) {
+  return jspb.Message.setProto3StringField(this, 1, value);
+};
+
+
+/**
+ * optional bytes md5 = 2;
+ * @return {string}
+ */
+proto.base.v1.NetImage.prototype.getMd5 = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * optional bytes md5 = 2;
+ * This is a type-conversion wrapper around `getMd5()`
+ * @return {string}
+ */
+proto.base.v1.NetImage.prototype.getMd5_asB64 = function() {
+  return /** @type {string} */ (jspb.Message.bytesAsB64(
+      this.getMd5()));
+};
+
+
+/**
+ * optional bytes md5 = 2;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getMd5()`
+ * @return {!Uint8Array}
+ */
+proto.base.v1.NetImage.prototype.getMd5_asU8 = function() {
+  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+      this.getMd5()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.base.v1.NetImage} returns this
+ */
+proto.base.v1.NetImage.prototype.setMd5 = function(value) {
+  return jspb.Message.setProto3BytesField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.User.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.User.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.User} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.User.toObject = function(includeInstance, msg) {
+  var f, obj = {
+
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.User}
+ */
+proto.base.v1.User.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.User;
+  return proto.base.v1.User.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.User} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.User}
+ */
+proto.base.v1.User.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.User.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.User.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.User} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.User.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+};
+
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.User.Sex = {
+  UNDEFINE: 0,
+  MALE: 1,
+  FEMALE: 2
+};
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.GameGpsInfo.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.GameGpsInfo.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.GameGpsInfo} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.GameGpsInfo.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    gpstime: (f = msg.getGpstime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
+    longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
+    latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
+    directionradian: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.GameGpsInfo}
+ */
+proto.base.v1.GameGpsInfo.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.GameGpsInfo;
+  return proto.base.v1.GameGpsInfo.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.GameGpsInfo} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.GameGpsInfo}
+ */
+proto.base.v1.GameGpsInfo.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = new google_protobuf_timestamp_pb.Timestamp;
+      reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
+      msg.setGpstime(value);
+      break;
+    case 2:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setLongitude(value);
+      break;
+    case 3:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setLatitude(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setDirectionradian(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.GameGpsInfo.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.GameGpsInfo.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.GameGpsInfo} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.GameGpsInfo.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getGpstime();
+  if (f != null) {
+    writer.writeMessage(
+      1,
+      f,
+      google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
+    );
+  }
+  f = message.getLongitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      2,
+      f
+    );
+  }
+  f = message.getLatitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      3,
+      f
+    );
+  }
+  f = message.getDirectionradian();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      4,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional google.protobuf.Timestamp gpsTime = 1;
+ * @return {?proto.google.protobuf.Timestamp}
+ */
+proto.base.v1.GameGpsInfo.prototype.getGpstime = function() {
+  return /** @type{?proto.google.protobuf.Timestamp} */ (
+    jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
+};
+
+
+/**
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
+ * @return {!proto.base.v1.GameGpsInfo} returns this
+*/
+proto.base.v1.GameGpsInfo.prototype.setGpstime = function(value) {
+  return jspb.Message.setWrapperField(this, 1, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.base.v1.GameGpsInfo} returns this
+ */
+proto.base.v1.GameGpsInfo.prototype.clearGpstime = function() {
+  return this.setGpstime(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.base.v1.GameGpsInfo.prototype.hasGpstime = function() {
+  return jspb.Message.getField(this, 1) != null;
+};
+
+
+/**
+ * optional double longitude = 2;
+ * @return {number}
+ */
+proto.base.v1.GameGpsInfo.prototype.getLongitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.GameGpsInfo} returns this
+ */
+proto.base.v1.GameGpsInfo.prototype.setLongitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 2, value);
+};
+
+
+/**
+ * optional double latitude = 3;
+ * @return {number}
+ */
+proto.base.v1.GameGpsInfo.prototype.getLatitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.GameGpsInfo} returns this
+ */
+proto.base.v1.GameGpsInfo.prototype.setLatitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 3, value);
+};
+
+
+/**
+ * optional double directionRadian = 4;
+ * @return {number}
+ */
+proto.base.v1.GameGpsInfo.prototype.getDirectionradian = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.GameGpsInfo} returns this
+ */
+proto.base.v1.GameGpsInfo.prototype.setDirectionradian = function(value) {
+  return jspb.Message.setProto3FloatField(this, 4, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.HeartRate.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.HeartRate.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.HeartRate} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.HeartRate.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    timestampms: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    hr: jspb.Message.getFieldWithDefault(msg, 2, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.HeartRate}
+ */
+proto.base.v1.HeartRate.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.HeartRate;
+  return proto.base.v1.HeartRate.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.HeartRate} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.HeartRate}
+ */
+proto.base.v1.HeartRate.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setTimestampms(value);
+      break;
+    case 2:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setHr(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.HeartRate.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.HeartRate.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.HeartRate} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.HeartRate.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getTimestampms();
+  if (f !== 0) {
+    writer.writeInt64(
+      1,
+      f
+    );
+  }
+  f = message.getHr();
+  if (f !== 0) {
+    writer.writeInt32(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int64 timeStampMs = 1;
+ * @return {number}
+ */
+proto.base.v1.HeartRate.prototype.getTimestampms = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.HeartRate} returns this
+ */
+proto.base.v1.HeartRate.prototype.setTimestampms = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional int32 hr = 2;
+ * @return {number}
+ */
+proto.base.v1.HeartRate.prototype.getHr = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.HeartRate} returns this
+ */
+proto.base.v1.HeartRate.prototype.setHr = function(value) {
+  return jspb.Message.setProto3IntField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.SignInReply.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.SignInReply.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.SignInReply} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.SignInReply.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    token: jspb.Message.getFieldWithDefault(msg, 1, "")
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.SignInReply}
+ */
+proto.base.v1.SignInReply.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.SignInReply;
+  return proto.base.v1.SignInReply.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.SignInReply} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.SignInReply}
+ */
+proto.base.v1.SignInReply.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setToken(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.SignInReply.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.SignInReply.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.SignInReply} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.SignInReply.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getToken();
+  if (f.length > 0) {
+    writer.writeString(
+      1,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional string token = 1;
+ * @return {string}
+ */
+proto.base.v1.SignInReply.prototype.getToken = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.SignInReply} returns this
+ */
+proto.base.v1.SignInReply.prototype.setToken = function(value) {
+  return jspb.Message.setProto3StringField(this, 1, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.MapRoute.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.MapRoute.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.MapRoute} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.MapRoute.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
+    image: (f = msg.getImage()) && proto.base.v1.NetImage.toObject(includeInstance, f),
+    isnfc: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.MapRoute}
+ */
+proto.base.v1.MapRoute.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.MapRoute;
+  return proto.base.v1.MapRoute.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.MapRoute} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.MapRoute}
+ */
+proto.base.v1.MapRoute.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setName(value);
+      break;
+    case 3:
+      var value = new proto.base.v1.NetImage;
+      reader.readMessage(value,proto.base.v1.NetImage.deserializeBinaryFromReader);
+      msg.setImage(value);
+      break;
+    case 4:
+      var value = /** @type {boolean} */ (reader.readBool());
+      msg.setIsnfc(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.MapRoute.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.MapRoute.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.MapRoute} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.MapRoute.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt64(
+      1,
+      f
+    );
+  }
+  f = message.getName();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+  f = message.getImage();
+  if (f != null) {
+    writer.writeMessage(
+      3,
+      f,
+      proto.base.v1.NetImage.serializeBinaryToWriter
+    );
+  }
+  f = message.getIsnfc();
+  if (f) {
+    writer.writeBool(
+      4,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int64 id = 1;
+ * @return {number}
+ */
+proto.base.v1.MapRoute.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.MapRoute} returns this
+ */
+proto.base.v1.MapRoute.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string name = 2;
+ * @return {string}
+ */
+proto.base.v1.MapRoute.prototype.getName = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.MapRoute} returns this
+ */
+proto.base.v1.MapRoute.prototype.setName = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+/**
+ * optional NetImage image = 3;
+ * @return {?proto.base.v1.NetImage}
+ */
+proto.base.v1.MapRoute.prototype.getImage = function() {
+  return /** @type{?proto.base.v1.NetImage} */ (
+    jspb.Message.getWrapperField(this, proto.base.v1.NetImage, 3));
+};
+
+
+/**
+ * @param {?proto.base.v1.NetImage|undefined} value
+ * @return {!proto.base.v1.MapRoute} returns this
+*/
+proto.base.v1.MapRoute.prototype.setImage = function(value) {
+  return jspb.Message.setWrapperField(this, 3, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.base.v1.MapRoute} returns this
+ */
+proto.base.v1.MapRoute.prototype.clearImage = function() {
+  return this.setImage(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.base.v1.MapRoute.prototype.hasImage = function() {
+  return jspb.Message.getField(this, 3) != null;
+};
+
+
+/**
+ * optional bool isNfc = 4;
+ * @return {boolean}
+ */
+proto.base.v1.MapRoute.prototype.getIsnfc = function() {
+  return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
+};
+
+
+/**
+ * @param {boolean} value
+ * @return {!proto.base.v1.MapRoute} returns this
+ */
+proto.base.v1.MapRoute.prototype.setIsnfc = function(value) {
+  return jspb.Message.setProto3BooleanField(this, 4, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.BaseMapInfo.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.BaseMapInfo.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.BaseMapInfo} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.BaseMapInfo.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    shopid: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    mapname: jspb.Message.getFieldWithDefault(msg, 2, ""),
+    zipimage: (f = msg.getZipimage()) && proto.base.v1.NetImage.toObject(includeInstance, f)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.BaseMapInfo}
+ */
+proto.base.v1.BaseMapInfo.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.BaseMapInfo;
+  return proto.base.v1.BaseMapInfo.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.BaseMapInfo} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.BaseMapInfo}
+ */
+proto.base.v1.BaseMapInfo.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setShopid(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setMapname(value);
+      break;
+    case 3:
+      var value = new proto.base.v1.NetImage;
+      reader.readMessage(value,proto.base.v1.NetImage.deserializeBinaryFromReader);
+      msg.setZipimage(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.BaseMapInfo.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.BaseMapInfo.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.BaseMapInfo} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.BaseMapInfo.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getShopid();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getMapname();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+  f = message.getZipimage();
+  if (f != null) {
+    writer.writeMessage(
+      3,
+      f,
+      proto.base.v1.NetImage.serializeBinaryToWriter
+    );
+  }
+};
+
+
+/**
+ * optional int32 shopId = 1;
+ * @return {number}
+ */
+proto.base.v1.BaseMapInfo.prototype.getShopid = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.BaseMapInfo} returns this
+ */
+proto.base.v1.BaseMapInfo.prototype.setShopid = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string mapName = 2;
+ * @return {string}
+ */
+proto.base.v1.BaseMapInfo.prototype.getMapname = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.BaseMapInfo} returns this
+ */
+proto.base.v1.BaseMapInfo.prototype.setMapname = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+/**
+ * optional NetImage zipImage = 3;
+ * @return {?proto.base.v1.NetImage}
+ */
+proto.base.v1.BaseMapInfo.prototype.getZipimage = function() {
+  return /** @type{?proto.base.v1.NetImage} */ (
+    jspb.Message.getWrapperField(this, proto.base.v1.NetImage, 3));
+};
+
+
+/**
+ * @param {?proto.base.v1.NetImage|undefined} value
+ * @return {!proto.base.v1.BaseMapInfo} returns this
+*/
+proto.base.v1.BaseMapInfo.prototype.setZipimage = function(value) {
+  return jspb.Message.setWrapperField(this, 3, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.base.v1.BaseMapInfo} returns this
+ */
+proto.base.v1.BaseMapInfo.prototype.clearZipimage = function() {
+  return this.setZipimage(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.base.v1.BaseMapInfo.prototype.hasZipimage = function() {
+  return jspb.Message.getField(this, 3) != null;
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.Region.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.Region.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.Region} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.Region.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    code: jspb.Message.getFieldWithDefault(msg, 1, ""),
+    name: jspb.Message.getFieldWithDefault(msg, 2, "")
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.Region}
+ */
+proto.base.v1.Region.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.Region;
+  return proto.base.v1.Region.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.Region} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.Region}
+ */
+proto.base.v1.Region.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setCode(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setName(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.Region.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.Region.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.Region} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.Region.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getCode();
+  if (f.length > 0) {
+    writer.writeString(
+      1,
+      f
+    );
+  }
+  f = message.getName();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional string code = 1;
+ * @return {string}
+ */
+proto.base.v1.Region.prototype.getCode = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.Region} returns this
+ */
+proto.base.v1.Region.prototype.setCode = function(value) {
+  return jspb.Message.setProto3StringField(this, 1, value);
+};
+
+
+/**
+ * optional string name = 2;
+ * @return {string}
+ */
+proto.base.v1.Region.prototype.getName = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.Region} returns this
+ */
+proto.base.v1.Region.prototype.setName = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.ShopList.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.ShopList.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.ShopList} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ShopList.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    shopid: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    name: jspb.Message.getFieldWithDefault(msg, 2, "")
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.ShopList}
+ */
+proto.base.v1.ShopList.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.ShopList;
+  return proto.base.v1.ShopList.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.ShopList} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.ShopList}
+ */
+proto.base.v1.ShopList.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setShopid(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setName(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.ShopList.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.ShopList.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.ShopList} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ShopList.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getShopid();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getName();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 shopId = 1;
+ * @return {number}
+ */
+proto.base.v1.ShopList.prototype.getShopid = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.ShopList} returns this
+ */
+proto.base.v1.ShopList.prototype.setShopid = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string name = 2;
+ * @return {string}
+ */
+proto.base.v1.ShopList.prototype.getName = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.ShopList} returns this
+ */
+proto.base.v1.ShopList.prototype.setName = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.ControlInfoList.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.ControlInfoList.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.ControlInfoList} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlInfoList.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    ciid: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    cicode: jspb.Message.getFieldWithDefault(msg, 2, "")
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.ControlInfoList}
+ */
+proto.base.v1.ControlInfoList.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.ControlInfoList;
+  return proto.base.v1.ControlInfoList.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.ControlInfoList} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.ControlInfoList}
+ */
+proto.base.v1.ControlInfoList.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setCiid(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setCicode(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.ControlInfoList.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.ControlInfoList.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.ControlInfoList} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlInfoList.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getCiid();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getCicode();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 ciId = 1;
+ * @return {number}
+ */
+proto.base.v1.ControlInfoList.prototype.getCiid = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.ControlInfoList} returns this
+ */
+proto.base.v1.ControlInfoList.prototype.setCiid = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string ciCode = 2;
+ * @return {string}
+ */
+proto.base.v1.ControlInfoList.prototype.getCicode = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.ControlInfoList} returns this
+ */
+proto.base.v1.ControlInfoList.prototype.setCicode = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.DefaultReply.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.DefaultReply.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.DefaultReply} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.DefaultReply.toObject = function(includeInstance, msg) {
+  var f, obj = {
+
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.DefaultReply}
+ */
+proto.base.v1.DefaultReply.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.DefaultReply;
+  return proto.base.v1.DefaultReply.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.DefaultReply} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.DefaultReply}
+ */
+proto.base.v1.DefaultReply.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.DefaultReply.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.DefaultReply.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.DefaultReply} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.DefaultReply.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.IdRequest.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.IdRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.IdRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.IdRequest.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.IdRequest}
+ */
+proto.base.v1.IdRequest.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.IdRequest;
+  return proto.base.v1.IdRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.IdRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.IdRequest}
+ */
+proto.base.v1.IdRequest.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setId(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.IdRequest.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.IdRequest.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.IdRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.IdRequest.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt64(
+      1,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int64 id = 1;
+ * @return {number}
+ */
+proto.base.v1.IdRequest.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.IdRequest} returns this
+ */
+proto.base.v1.IdRequest.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.DefaultRequest.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.DefaultRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.DefaultRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.DefaultRequest.toObject = function(includeInstance, msg) {
+  var f, obj = {
+
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.DefaultRequest}
+ */
+proto.base.v1.DefaultRequest.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.DefaultRequest;
+  return proto.base.v1.DefaultRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.DefaultRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.DefaultRequest}
+ */
+proto.base.v1.DefaultRequest.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.DefaultRequest.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.DefaultRequest.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.DefaultRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.DefaultRequest.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.Position.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.Position.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.Position} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.Position.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
+    latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.Position}
+ */
+proto.base.v1.Position.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.Position;
+  return proto.base.v1.Position.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.Position} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.Position}
+ */
+proto.base.v1.Position.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setLongitude(value);
+      break;
+    case 2:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setLatitude(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.Position.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.Position.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.Position} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.Position.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getLongitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      1,
+      f
+    );
+  }
+  f = message.getLatitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional double longitude = 1;
+ * @return {number}
+ */
+proto.base.v1.Position.prototype.getLongitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.Position} returns this
+ */
+proto.base.v1.Position.prototype.setLongitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 1, value);
+};
+
+
+/**
+ * optional double latitude = 2;
+ * @return {number}
+ */
+proto.base.v1.Position.prototype.getLatitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.Position} returns this
+ */
+proto.base.v1.Position.prototype.setLatitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.ControlPointInfo.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.ControlPointInfo.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.ControlPointInfo} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlPointInfo.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    image: (f = msg.getImage()) && proto.base.v1.NetImage.toObject(includeInstance, f),
+    content: jspb.Message.getFieldWithDefault(msg, 2, "")
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.ControlPointInfo}
+ */
+proto.base.v1.ControlPointInfo.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.ControlPointInfo;
+  return proto.base.v1.ControlPointInfo.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.ControlPointInfo} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.ControlPointInfo}
+ */
+proto.base.v1.ControlPointInfo.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = new proto.base.v1.NetImage;
+      reader.readMessage(value,proto.base.v1.NetImage.deserializeBinaryFromReader);
+      msg.setImage(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setContent(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.ControlPointInfo.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.ControlPointInfo.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.ControlPointInfo} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlPointInfo.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getImage();
+  if (f != null) {
+    writer.writeMessage(
+      1,
+      f,
+      proto.base.v1.NetImage.serializeBinaryToWriter
+    );
+  }
+  f = message.getContent();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional NetImage image = 1;
+ * @return {?proto.base.v1.NetImage}
+ */
+proto.base.v1.ControlPointInfo.prototype.getImage = function() {
+  return /** @type{?proto.base.v1.NetImage} */ (
+    jspb.Message.getWrapperField(this, proto.base.v1.NetImage, 1));
+};
+
+
+/**
+ * @param {?proto.base.v1.NetImage|undefined} value
+ * @return {!proto.base.v1.ControlPointInfo} returns this
+*/
+proto.base.v1.ControlPointInfo.prototype.setImage = function(value) {
+  return jspb.Message.setWrapperField(this, 1, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.base.v1.ControlPointInfo} returns this
+ */
+proto.base.v1.ControlPointInfo.prototype.clearImage = function() {
+  return this.setImage(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.base.v1.ControlPointInfo.prototype.hasImage = function() {
+  return jspb.Message.getField(this, 1) != null;
+};
+
+
+/**
+ * optional string content = 2;
+ * @return {string}
+ */
+proto.base.v1.ControlPointInfo.prototype.getContent = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.ControlPointInfo} returns this
+ */
+proto.base.v1.ControlPointInfo.prototype.setContent = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.Image.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.Image.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.Image} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.Image.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    ext: jspb.Message.getFieldWithDefault(msg, 1, ""),
+    data: msg.getData_asB64()
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.Image}
+ */
+proto.base.v1.Image.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.Image;
+  return proto.base.v1.Image.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.Image} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.Image}
+ */
+proto.base.v1.Image.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setExt(value);
+      break;
+    case 2:
+      var value = /** @type {!Uint8Array} */ (reader.readBytes());
+      msg.setData(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.Image.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.Image.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.Image} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.Image.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getExt();
+  if (f.length > 0) {
+    writer.writeString(
+      1,
+      f
+    );
+  }
+  f = message.getData_asU8();
+  if (f.length > 0) {
+    writer.writeBytes(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional string ext = 1;
+ * @return {string}
+ */
+proto.base.v1.Image.prototype.getExt = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.Image} returns this
+ */
+proto.base.v1.Image.prototype.setExt = function(value) {
+  return jspb.Message.setProto3StringField(this, 1, value);
+};
+
+
+/**
+ * optional bytes data = 2;
+ * @return {string}
+ */
+proto.base.v1.Image.prototype.getData = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * optional bytes data = 2;
+ * This is a type-conversion wrapper around `getData()`
+ * @return {string}
+ */
+proto.base.v1.Image.prototype.getData_asB64 = function() {
+  return /** @type {string} */ (jspb.Message.bytesAsB64(
+      this.getData()));
+};
+
+
+/**
+ * optional bytes data = 2;
+ * Note that Uint8Array is not supported on all browsers.
+ * @see http://caniuse.com/Uint8Array
+ * This is a type-conversion wrapper around `getData()`
+ * @return {!Uint8Array}
+ */
+proto.base.v1.Image.prototype.getData_asU8 = function() {
+  return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
+      this.getData()));
+};
+
+
+/**
+ * @param {!(string|Uint8Array)} value
+ * @return {!proto.base.v1.Image} returns this
+ */
+proto.base.v1.Image.prototype.setData = function(value) {
+  return jspb.Message.setProto3BytesField(this, 2, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.StatusEditRequest.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.StatusEditRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.StatusEditRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.StatusEditRequest.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    status: jspb.Message.getFieldWithDefault(msg, 2, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.StatusEditRequest}
+ */
+proto.base.v1.StatusEditRequest.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.StatusEditRequest;
+  return proto.base.v1.StatusEditRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.StatusEditRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.StatusEditRequest}
+ */
+proto.base.v1.StatusEditRequest.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {!proto.base.v1.StatusType} */ (reader.readEnum());
+      msg.setStatus(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.StatusEditRequest.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.StatusEditRequest.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.StatusEditRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.StatusEditRequest.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt64(
+      1,
+      f
+    );
+  }
+  f = message.getStatus();
+  if (f !== 0.0) {
+    writer.writeEnum(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int64 id = 1;
+ * @return {number}
+ */
+proto.base.v1.StatusEditRequest.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.StatusEditRequest} returns this
+ */
+proto.base.v1.StatusEditRequest.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional StatusType status = 2;
+ * @return {!proto.base.v1.StatusType}
+ */
+proto.base.v1.StatusEditRequest.prototype.getStatus = function() {
+  return /** @type {!proto.base.v1.StatusType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
+};
+
+
+/**
+ * @param {!proto.base.v1.StatusType} value
+ * @return {!proto.base.v1.StatusEditRequest} returns this
+ */
+proto.base.v1.StatusEditRequest.prototype.setStatus = function(value) {
+  return jspb.Message.setProto3EnumField(this, 2, value);
+};
+
+
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.base.v1.CourseInfo.repeatedFields_ = [5];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.CourseInfo.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.CourseInfo.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.CourseInfo} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.CourseInfo.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
+    totalcontrolnum: jspb.Message.getFieldWithDefault(msg, 3, 0),
+    maxrange: jspb.Message.getFieldWithDefault(msg, 4, 0),
+    controlPointSortedListList: jspb.Message.toObjectList(msg.getControlPointSortedListList(),
+    proto.base.v1.ControlPoint.toObject, includeInstance)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.CourseInfo}
+ */
+proto.base.v1.CourseInfo.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.CourseInfo;
+  return proto.base.v1.CourseInfo.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.CourseInfo} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.CourseInfo}
+ */
+proto.base.v1.CourseInfo.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setName(value);
+      break;
+    case 3:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setTotalcontrolnum(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setMaxrange(value);
+      break;
+    case 5:
+      var value = new proto.base.v1.ControlPoint;
+      reader.readMessage(value,proto.base.v1.ControlPoint.deserializeBinaryFromReader);
+      msg.addControlPointSortedList(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.CourseInfo.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.CourseInfo.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.CourseInfo} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.CourseInfo.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getName();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+  f = message.getTotalcontrolnum();
+  if (f !== 0) {
+    writer.writeInt32(
+      3,
+      f
+    );
+  }
+  f = message.getMaxrange();
+  if (f !== 0) {
+    writer.writeInt32(
+      4,
+      f
+    );
+  }
+  f = message.getControlPointSortedListList();
+  if (f.length > 0) {
+    writer.writeRepeatedMessage(
+      5,
+      f,
+      proto.base.v1.ControlPoint.serializeBinaryToWriter
+    );
+  }
+};
+
+
+/**
+ * optional int32 id = 1;
+ * @return {number}
+ */
+proto.base.v1.CourseInfo.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.CourseInfo} returns this
+ */
+proto.base.v1.CourseInfo.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string name = 2;
+ * @return {string}
+ */
+proto.base.v1.CourseInfo.prototype.getName = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.CourseInfo} returns this
+ */
+proto.base.v1.CourseInfo.prototype.setName = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+/**
+ * optional int32 totalControlNum = 3;
+ * @return {number}
+ */
+proto.base.v1.CourseInfo.prototype.getTotalcontrolnum = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.CourseInfo} returns this
+ */
+proto.base.v1.CourseInfo.prototype.setTotalcontrolnum = function(value) {
+  return jspb.Message.setProto3IntField(this, 3, value);
+};
+
+
+/**
+ * optional int32 maxRange = 4;
+ * @return {number}
+ */
+proto.base.v1.CourseInfo.prototype.getMaxrange = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.CourseInfo} returns this
+ */
+proto.base.v1.CourseInfo.prototype.setMaxrange = function(value) {
+  return jspb.Message.setProto3IntField(this, 4, value);
+};
+
+
+/**
+ * repeated ControlPoint control_point_sorted_list = 5;
+ * @return {!Array<!proto.base.v1.ControlPoint>}
+ */
+proto.base.v1.CourseInfo.prototype.getControlPointSortedListList = function() {
+  return /** @type{!Array<!proto.base.v1.ControlPoint>} */ (
+    jspb.Message.getRepeatedWrapperField(this, proto.base.v1.ControlPoint, 5));
+};
+
+
+/**
+ * @param {!Array<!proto.base.v1.ControlPoint>} value
+ * @return {!proto.base.v1.CourseInfo} returns this
+*/
+proto.base.v1.CourseInfo.prototype.setControlPointSortedListList = function(value) {
+  return jspb.Message.setRepeatedWrapperField(this, 5, value);
+};
+
+
+/**
+ * @param {!proto.base.v1.ControlPoint=} opt_value
+ * @param {number=} opt_index
+ * @return {!proto.base.v1.ControlPoint}
+ */
+proto.base.v1.CourseInfo.prototype.addControlPointSortedList = function(opt_value, opt_index) {
+  return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.base.v1.ControlPoint, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.base.v1.CourseInfo} returns this
+ */
+proto.base.v1.CourseInfo.prototype.clearControlPointSortedListList = function() {
+  return this.setControlPointSortedListList([]);
+};
+
+
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.base.v1.ControlPoint.repeatedFields_ = [3];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.ControlPoint.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.ControlPoint.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.ControlPoint} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlPoint.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    info: (f = msg.getInfo()) && proto.base.v1.ControlPointInfo.toObject(includeInstance, f),
+    nfcIdListList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
+    onMapX: jspb.Message.getFieldWithDefault(msg, 4, 0),
+    onMapY: jspb.Message.getFieldWithDefault(msg, 5, 0),
+    sn: jspb.Message.getFieldWithDefault(msg, 6, ""),
+    ciposition: (f = msg.getCiposition()) && proto.base.v1.Position.toObject(includeInstance, f),
+    mapposition: (f = msg.getMapposition()) && proto.base.v1.Position.toObject(includeInstance, f),
+    category: jspb.Message.getFieldWithDefault(msg, 9, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.ControlPoint}
+ */
+proto.base.v1.ControlPoint.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.ControlPoint;
+  return proto.base.v1.ControlPoint.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.ControlPoint} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.ControlPoint}
+ */
+proto.base.v1.ControlPoint.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = new proto.base.v1.ControlPointInfo;
+      reader.readMessage(value,proto.base.v1.ControlPointInfo.deserializeBinaryFromReader);
+      msg.setInfo(value);
+      break;
+    case 3:
+      var value = /** @type {string} */ (reader.readString());
+      msg.addNfcIdList(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setOnMapX(value);
+      break;
+    case 5:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setOnMapY(value);
+      break;
+    case 6:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setSn(value);
+      break;
+    case 7:
+      var value = new proto.base.v1.Position;
+      reader.readMessage(value,proto.base.v1.Position.deserializeBinaryFromReader);
+      msg.setCiposition(value);
+      break;
+    case 8:
+      var value = new proto.base.v1.Position;
+      reader.readMessage(value,proto.base.v1.Position.deserializeBinaryFromReader);
+      msg.setMapposition(value);
+      break;
+    case 9:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setCategory(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.ControlPoint.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.ControlPoint.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.ControlPoint} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlPoint.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt64(
+      1,
+      f
+    );
+  }
+  f = message.getInfo();
+  if (f != null) {
+    writer.writeMessage(
+      2,
+      f,
+      proto.base.v1.ControlPointInfo.serializeBinaryToWriter
+    );
+  }
+  f = message.getNfcIdListList();
+  if (f.length > 0) {
+    writer.writeRepeatedString(
+      3,
+      f
+    );
+  }
+  f = message.getOnMapX();
+  if (f !== 0) {
+    writer.writeInt64(
+      4,
+      f
+    );
+  }
+  f = message.getOnMapY();
+  if (f !== 0) {
+    writer.writeInt64(
+      5,
+      f
+    );
+  }
+  f = message.getSn();
+  if (f.length > 0) {
+    writer.writeString(
+      6,
+      f
+    );
+  }
+  f = message.getCiposition();
+  if (f != null) {
+    writer.writeMessage(
+      7,
+      f,
+      proto.base.v1.Position.serializeBinaryToWriter
+    );
+  }
+  f = message.getMapposition();
+  if (f != null) {
+    writer.writeMessage(
+      8,
+      f,
+      proto.base.v1.Position.serializeBinaryToWriter
+    );
+  }
+  f = message.getCategory();
+  if (f !== 0) {
+    writer.writeInt32(
+      9,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int64 id = 1;
+ * @return {number}
+ */
+proto.base.v1.ControlPoint.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional ControlPointInfo info = 2;
+ * @return {?proto.base.v1.ControlPointInfo}
+ */
+proto.base.v1.ControlPoint.prototype.getInfo = function() {
+  return /** @type{?proto.base.v1.ControlPointInfo} */ (
+    jspb.Message.getWrapperField(this, proto.base.v1.ControlPointInfo, 2));
+};
+
+
+/**
+ * @param {?proto.base.v1.ControlPointInfo|undefined} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+*/
+proto.base.v1.ControlPoint.prototype.setInfo = function(value) {
+  return jspb.Message.setWrapperField(this, 2, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.clearInfo = function() {
+  return this.setInfo(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.base.v1.ControlPoint.prototype.hasInfo = function() {
+  return jspb.Message.getField(this, 2) != null;
+};
+
+
+/**
+ * repeated string nfc_id_list = 3;
+ * @return {!Array<string>}
+ */
+proto.base.v1.ControlPoint.prototype.getNfcIdListList = function() {
+  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
+};
+
+
+/**
+ * @param {!Array<string>} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.setNfcIdListList = function(value) {
+  return jspb.Message.setField(this, 3, value || []);
+};
+
+
+/**
+ * @param {string} value
+ * @param {number=} opt_index
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.addNfcIdList = function(value, opt_index) {
+  return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.clearNfcIdListList = function() {
+  return this.setNfcIdListList([]);
+};
+
+
+/**
+ * optional int64 on_map_x = 4;
+ * @return {number}
+ */
+proto.base.v1.ControlPoint.prototype.getOnMapX = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.setOnMapX = function(value) {
+  return jspb.Message.setProto3IntField(this, 4, value);
+};
+
+
+/**
+ * optional int64 on_map_y = 5;
+ * @return {number}
+ */
+proto.base.v1.ControlPoint.prototype.getOnMapY = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.setOnMapY = function(value) {
+  return jspb.Message.setProto3IntField(this, 5, value);
+};
+
+
+/**
+ * optional string sn = 6;
+ * @return {string}
+ */
+proto.base.v1.ControlPoint.prototype.getSn = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.setSn = function(value) {
+  return jspb.Message.setProto3StringField(this, 6, value);
+};
+
+
+/**
+ * optional Position ciPosition = 7;
+ * @return {?proto.base.v1.Position}
+ */
+proto.base.v1.ControlPoint.prototype.getCiposition = function() {
+  return /** @type{?proto.base.v1.Position} */ (
+    jspb.Message.getWrapperField(this, proto.base.v1.Position, 7));
+};
+
+
+/**
+ * @param {?proto.base.v1.Position|undefined} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+*/
+proto.base.v1.ControlPoint.prototype.setCiposition = function(value) {
+  return jspb.Message.setWrapperField(this, 7, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.clearCiposition = function() {
+  return this.setCiposition(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.base.v1.ControlPoint.prototype.hasCiposition = function() {
+  return jspb.Message.getField(this, 7) != null;
+};
+
+
+/**
+ * optional Position mapPosition = 8;
+ * @return {?proto.base.v1.Position}
+ */
+proto.base.v1.ControlPoint.prototype.getMapposition = function() {
+  return /** @type{?proto.base.v1.Position} */ (
+    jspb.Message.getWrapperField(this, proto.base.v1.Position, 8));
+};
+
+
+/**
+ * @param {?proto.base.v1.Position|undefined} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+*/
+proto.base.v1.ControlPoint.prototype.setMapposition = function(value) {
+  return jspb.Message.setWrapperField(this, 8, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.clearMapposition = function() {
+  return this.setMapposition(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.base.v1.ControlPoint.prototype.hasMapposition = function() {
+  return jspb.Message.getField(this, 8) != null;
+};
+
+
+/**
+ * optional int32 category = 9;
+ * @return {number}
+ */
+proto.base.v1.ControlPoint.prototype.getCategory = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.ControlPoint} returns this
+ */
+proto.base.v1.ControlPoint.prototype.setCategory = function(value) {
+  return jspb.Message.setProto3IntField(this, 9, value);
+};
+
+
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.base.v1.ControlPointSimple.repeatedFields_ = [2];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.base.v1.ControlPointSimple.prototype.toObject = function(opt_includeInstance) {
+  return proto.base.v1.ControlPointSimple.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.base.v1.ControlPointSimple} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlPointSimple.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    nfcIdListList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
+    sn: jspb.Message.getFieldWithDefault(msg, 3, "")
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.base.v1.ControlPointSimple}
+ */
+proto.base.v1.ControlPointSimple.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.base.v1.ControlPointSimple;
+  return proto.base.v1.ControlPointSimple.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.base.v1.ControlPointSimple} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.base.v1.ControlPointSimple}
+ */
+proto.base.v1.ControlPointSimple.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.addNfcIdList(value);
+      break;
+    case 3:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setSn(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.base.v1.ControlPointSimple.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.base.v1.ControlPointSimple.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.base.v1.ControlPointSimple} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.base.v1.ControlPointSimple.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt64(
+      1,
+      f
+    );
+  }
+  f = message.getNfcIdListList();
+  if (f.length > 0) {
+    writer.writeRepeatedString(
+      2,
+      f
+    );
+  }
+  f = message.getSn();
+  if (f.length > 0) {
+    writer.writeString(
+      3,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int64 id = 1;
+ * @return {number}
+ */
+proto.base.v1.ControlPointSimple.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.base.v1.ControlPointSimple} returns this
+ */
+proto.base.v1.ControlPointSimple.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * repeated string nfc_id_list = 2;
+ * @return {!Array<string>}
+ */
+proto.base.v1.ControlPointSimple.prototype.getNfcIdListList = function() {
+  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
+};
+
+
+/**
+ * @param {!Array<string>} value
+ * @return {!proto.base.v1.ControlPointSimple} returns this
+ */
+proto.base.v1.ControlPointSimple.prototype.setNfcIdListList = function(value) {
+  return jspb.Message.setField(this, 2, value || []);
+};
+
+
+/**
+ * @param {string} value
+ * @param {number=} opt_index
+ * @return {!proto.base.v1.ControlPointSimple} returns this
+ */
+proto.base.v1.ControlPointSimple.prototype.addNfcIdList = function(value, opt_index) {
+  return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.base.v1.ControlPointSimple} returns this
+ */
+proto.base.v1.ControlPointSimple.prototype.clearNfcIdListList = function() {
+  return this.setNfcIdListList([]);
+};
+
+
+/**
+ * optional string sn = 3;
+ * @return {string}
+ */
+proto.base.v1.ControlPointSimple.prototype.getSn = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.base.v1.ControlPointSimple} returns this
+ */
+proto.base.v1.ControlPointSimple.prototype.setSn = function(value) {
+  return jspb.Message.setProto3StringField(this, 3, value);
+};
+
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.ErrorCode = {
+  OK: 0,
+  TOKENEXPIRE: 1000,
+  USERBAN: 1001,
+  VFCODEEXPIRE: 1002,
+  SMSSENDFAIL: 1003,
+  USERSTATUSERR: 1008,
+  STATUSERR: 1009,
+  PHONENOTEXIST: 2001,
+  UNKNOWNERR: 2002,
+  PARAMERR: 5000,
+  HEADSOURCEERR: 5001,
+  DATABASE: 9000,
+  NORECORD: 9001
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.ShopType = {
+  UNKNOWSHOP: 0,
+  PARKSHOP: 1,
+  IPSHOP: 2,
+  ADMINSHOP: 3
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.UserType = {
+  UNDEFINE: 0,
+  APPUSER: 1,
+  PARKADMIN: 2,
+  IPADMIN: 3,
+  SYSADMIN: 4
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.LoginSource = {
+  UNDEF: 0,
+  USERAPP: 1,
+  WEBADMIN: 2,
+  SHOPAPP: 3
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.SmsType = {
+  UNKNOW: 0,
+  LOGIN: 1,
+  SIGNUP: 2
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.ProjectContentType = {
+  TEXT: 0,
+  HTML: 1
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.CriterionType = {
+  CRUNKNOW: 0,
+  CRORDER: 1,
+  CRNUM: 2
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.CType = {
+  UNKNOWTYPE: 0,
+  BEGINTYPE: 1,
+  MIDDLETYPE: 2,
+  ENDTYPE: 3
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.StatusType = {
+  UNKNOWSTATUS: 0,
+  NORMALSTATUS: 1,
+  DISABLEDSTATUS: 8,
+  DELETESTATUS: 9
+};
+
+/**
+ * @enum {number}
+ */
+proto.base.v1.HrBandType = {
+  UNKNOWHRBAND: 0,
+  USEHRBAND: 1,
+  NOTUSEHRBAND: 2
+};
+
+goog.object.extend(exports, proto.base.v1);

+ 2 - 0
grpc/gen.bat

@@ -0,0 +1,2 @@
+protoc  --proto_path=app_api base.proto --js_out=import_style=commonjs:. --grpc-web_out=import_style=commonjs,mode=grpcwebtext:.
+protoc  --proto_path=app_api track_offical.proto --js_out=import_style=commonjs:. --grpc-web_out=import_style=commonjs,mode=grpcwebtext:.

+ 447 - 0
grpc/track_offical_grpc_web_pb.js

@@ -0,0 +1,447 @@
+/**
+ * @fileoverview gRPC-Web generated client stub for to.v1
+ * @enhanceable
+ * @public
+ */
+
+// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
+// versions:
+// 	protoc-gen-grpc-web v1.4.2
+// 	protoc              v3.20.3
+// source: track_offical.proto
+
+
+/* eslint-disable */
+// @ts-nocheck
+
+
+
+const grpc = {};
+grpc.web = require('grpc-web');
+
+
+var base_pb = require('./base_pb.js')
+const proto = {};
+proto.to = {};
+proto.to.v1 = require('./track_offical_pb.js');
+
+/**
+ * @param {string} hostname
+ * @param {?Object} credentials
+ * @param {?grpc.web.ClientOptions} options
+ * @constructor
+ * @struct
+ * @final
+ */
+proto.to.v1.ApiToClient =
+    function(hostname, credentials, options) {
+  if (!options) options = {};
+  options.format = 'text';
+
+  /**
+   * @private @const {!grpc.web.GrpcWebClientBase} The client
+   */
+  this.client_ = new grpc.web.GrpcWebClientBase(options);
+
+  /**
+   * @private @const {string} The hostname
+   */
+  this.hostname_ = hostname.replace(/\/+$/, '');
+
+};
+
+
+/**
+ * @param {string} hostname
+ * @param {?Object} credentials
+ * @param {?grpc.web.ClientOptions} options
+ * @constructor
+ * @struct
+ * @final
+ */
+proto.to.v1.ApiToPromiseClient =
+    function(hostname, credentials, options) {
+  if (!options) options = {};
+  options.format = 'text';
+
+  /**
+   * @private @const {!grpc.web.GrpcWebClientBase} The client
+   */
+  this.client_ = new grpc.web.GrpcWebClientBase(options);
+
+  /**
+   * @private @const {string} The hostname
+   */
+  this.hostname_ = hostname.replace(/\/+$/, '');
+
+};
+
+
+/**
+ * @const
+ * @type {!grpc.web.MethodDescriptor<
+ *   !proto.base.v1.DefaultRequest,
+ *   !proto.to.v1.ToActionListReply>}
+ */
+const methodDescriptor_ApiTo_ToActionList = new grpc.web.MethodDescriptor(
+  '/to.v1.ApiTo/ToActionList',
+  grpc.web.MethodType.UNARY,
+  base_pb.DefaultRequest,
+  proto.to.v1.ToActionListReply,
+  /**
+   * @param {!proto.base.v1.DefaultRequest} request
+   * @return {!Uint8Array}
+   */
+  function(request) {
+    return request.serializeBinary();
+  },
+  proto.to.v1.ToActionListReply.deserializeBinary
+);
+
+
+/**
+ * @param {!proto.base.v1.DefaultRequest} request The
+ *     request proto
+ * @param {?Object<string, string>} metadata User defined
+ *     call metadata
+ * @param {function(?grpc.web.RpcError, ?proto.to.v1.ToActionListReply)}
+ *     callback The callback function(error, response)
+ * @return {!grpc.web.ClientReadableStream<!proto.to.v1.ToActionListReply>|undefined}
+ *     The XHR Node Readable Stream
+ */
+proto.to.v1.ApiToClient.prototype.toActionList =
+    function(request, metadata, callback) {
+  return this.client_.rpcCall(this.hostname_ +
+      '/to.v1.ApiTo/ToActionList',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToActionList,
+      callback);
+};
+
+
+/**
+ * @param {!proto.base.v1.DefaultRequest} request The
+ *     request proto
+ * @param {?Object<string, string>=} metadata User defined
+ *     call metadata
+ * @return {!Promise<!proto.to.v1.ToActionListReply>}
+ *     Promise that resolves to the response
+ */
+proto.to.v1.ApiToPromiseClient.prototype.toActionList =
+    function(request, metadata) {
+  return this.client_.unaryCall(this.hostname_ +
+      '/to.v1.ApiTo/ToActionList',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToActionList);
+};
+
+
+/**
+ * @const
+ * @type {!grpc.web.MethodDescriptor<
+ *   !proto.base.v1.IdRequest,
+ *   !proto.to.v1.ToActionDetailReply>}
+ */
+const methodDescriptor_ApiTo_ToActionDetail = new grpc.web.MethodDescriptor(
+  '/to.v1.ApiTo/ToActionDetail',
+  grpc.web.MethodType.UNARY,
+  base_pb.IdRequest,
+  proto.to.v1.ToActionDetailReply,
+  /**
+   * @param {!proto.base.v1.IdRequest} request
+   * @return {!Uint8Array}
+   */
+  function(request) {
+    return request.serializeBinary();
+  },
+  proto.to.v1.ToActionDetailReply.deserializeBinary
+);
+
+
+/**
+ * @param {!proto.base.v1.IdRequest} request The
+ *     request proto
+ * @param {?Object<string, string>} metadata User defined
+ *     call metadata
+ * @param {function(?grpc.web.RpcError, ?proto.to.v1.ToActionDetailReply)}
+ *     callback The callback function(error, response)
+ * @return {!grpc.web.ClientReadableStream<!proto.to.v1.ToActionDetailReply>|undefined}
+ *     The XHR Node Readable Stream
+ */
+proto.to.v1.ApiToClient.prototype.toActionDetail =
+    function(request, metadata, callback) {
+  return this.client_.rpcCall(this.hostname_ +
+      '/to.v1.ApiTo/ToActionDetail',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToActionDetail,
+      callback);
+};
+
+
+/**
+ * @param {!proto.base.v1.IdRequest} request The
+ *     request proto
+ * @param {?Object<string, string>=} metadata User defined
+ *     call metadata
+ * @return {!Promise<!proto.to.v1.ToActionDetailReply>}
+ *     Promise that resolves to the response
+ */
+proto.to.v1.ApiToPromiseClient.prototype.toActionDetail =
+    function(request, metadata) {
+  return this.client_.unaryCall(this.hostname_ +
+      '/to.v1.ApiTo/ToActionDetail',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToActionDetail);
+};
+
+
+/**
+ * @const
+ * @type {!grpc.web.MethodDescriptor<
+ *   !proto.base.v1.IdRequest,
+ *   !proto.to.v1.ToActionUsersDetailReply>}
+ */
+const methodDescriptor_ApiTo_ToUsersInGameDetail = new grpc.web.MethodDescriptor(
+  '/to.v1.ApiTo/ToUsersInGameDetail',
+  grpc.web.MethodType.UNARY,
+  base_pb.IdRequest,
+  proto.to.v1.ToActionUsersDetailReply,
+  /**
+   * @param {!proto.base.v1.IdRequest} request
+   * @return {!Uint8Array}
+   */
+  function(request) {
+    return request.serializeBinary();
+  },
+  proto.to.v1.ToActionUsersDetailReply.deserializeBinary
+);
+
+
+/**
+ * @param {!proto.base.v1.IdRequest} request The
+ *     request proto
+ * @param {?Object<string, string>} metadata User defined
+ *     call metadata
+ * @param {function(?grpc.web.RpcError, ?proto.to.v1.ToActionUsersDetailReply)}
+ *     callback The callback function(error, response)
+ * @return {!grpc.web.ClientReadableStream<!proto.to.v1.ToActionUsersDetailReply>|undefined}
+ *     The XHR Node Readable Stream
+ */
+proto.to.v1.ApiToClient.prototype.toUsersInGameDetail =
+    function(request, metadata, callback) {
+  return this.client_.rpcCall(this.hostname_ +
+      '/to.v1.ApiTo/ToUsersInGameDetail',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToUsersInGameDetail,
+      callback);
+};
+
+
+/**
+ * @param {!proto.base.v1.IdRequest} request The
+ *     request proto
+ * @param {?Object<string, string>=} metadata User defined
+ *     call metadata
+ * @return {!Promise<!proto.to.v1.ToActionUsersDetailReply>}
+ *     Promise that resolves to the response
+ */
+proto.to.v1.ApiToPromiseClient.prototype.toUsersInGameDetail =
+    function(request, metadata) {
+  return this.client_.unaryCall(this.hostname_ +
+      '/to.v1.ApiTo/ToUsersInGameDetail',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToUsersInGameDetail);
+};
+
+
+/**
+ * @const
+ * @type {!grpc.web.MethodDescriptor<
+ *   !proto.base.v1.IdRequest,
+ *   !proto.to.v1.ToUserGpsQueryReply>}
+ */
+const methodDescriptor_ApiTo_ToUsersInGameGpsQuery = new grpc.web.MethodDescriptor(
+  '/to.v1.ApiTo/ToUsersInGameGpsQuery',
+  grpc.web.MethodType.UNARY,
+  base_pb.IdRequest,
+  proto.to.v1.ToUserGpsQueryReply,
+  /**
+   * @param {!proto.base.v1.IdRequest} request
+   * @return {!Uint8Array}
+   */
+  function(request) {
+    return request.serializeBinary();
+  },
+  proto.to.v1.ToUserGpsQueryReply.deserializeBinary
+);
+
+
+/**
+ * @param {!proto.base.v1.IdRequest} request The
+ *     request proto
+ * @param {?Object<string, string>} metadata User defined
+ *     call metadata
+ * @param {function(?grpc.web.RpcError, ?proto.to.v1.ToUserGpsQueryReply)}
+ *     callback The callback function(error, response)
+ * @return {!grpc.web.ClientReadableStream<!proto.to.v1.ToUserGpsQueryReply>|undefined}
+ *     The XHR Node Readable Stream
+ */
+proto.to.v1.ApiToClient.prototype.toUsersInGameGpsQuery =
+    function(request, metadata, callback) {
+  return this.client_.rpcCall(this.hostname_ +
+      '/to.v1.ApiTo/ToUsersInGameGpsQuery',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToUsersInGameGpsQuery,
+      callback);
+};
+
+
+/**
+ * @param {!proto.base.v1.IdRequest} request The
+ *     request proto
+ * @param {?Object<string, string>=} metadata User defined
+ *     call metadata
+ * @return {!Promise<!proto.to.v1.ToUserGpsQueryReply>}
+ *     Promise that resolves to the response
+ */
+proto.to.v1.ApiToPromiseClient.prototype.toUsersInGameGpsQuery =
+    function(request, metadata) {
+  return this.client_.unaryCall(this.hostname_ +
+      '/to.v1.ApiTo/ToUsersInGameGpsQuery',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToUsersInGameGpsQuery);
+};
+
+
+/**
+ * @const
+ * @type {!grpc.web.MethodDescriptor<
+ *   !proto.to.v1.ToUsersInGameHistoryGpsQueryRequest,
+ *   !proto.to.v1.ToUserGpsQueryReply>}
+ */
+const methodDescriptor_ApiTo_ToUsersInGameHistoryGpsQuery = new grpc.web.MethodDescriptor(
+  '/to.v1.ApiTo/ToUsersInGameHistoryGpsQuery',
+  grpc.web.MethodType.UNARY,
+  proto.to.v1.ToUsersInGameHistoryGpsQueryRequest,
+  proto.to.v1.ToUserGpsQueryReply,
+  /**
+   * @param {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} request
+   * @return {!Uint8Array}
+   */
+  function(request) {
+    return request.serializeBinary();
+  },
+  proto.to.v1.ToUserGpsQueryReply.deserializeBinary
+);
+
+
+/**
+ * @param {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} request The
+ *     request proto
+ * @param {?Object<string, string>} metadata User defined
+ *     call metadata
+ * @param {function(?grpc.web.RpcError, ?proto.to.v1.ToUserGpsQueryReply)}
+ *     callback The callback function(error, response)
+ * @return {!grpc.web.ClientReadableStream<!proto.to.v1.ToUserGpsQueryReply>|undefined}
+ *     The XHR Node Readable Stream
+ */
+proto.to.v1.ApiToClient.prototype.toUsersInGameHistoryGpsQuery =
+    function(request, metadata, callback) {
+  return this.client_.rpcCall(this.hostname_ +
+      '/to.v1.ApiTo/ToUsersInGameHistoryGpsQuery',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToUsersInGameHistoryGpsQuery,
+      callback);
+};
+
+
+/**
+ * @param {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} request The
+ *     request proto
+ * @param {?Object<string, string>=} metadata User defined
+ *     call metadata
+ * @return {!Promise<!proto.to.v1.ToUserGpsQueryReply>}
+ *     Promise that resolves to the response
+ */
+proto.to.v1.ApiToPromiseClient.prototype.toUsersInGameHistoryGpsQuery =
+    function(request, metadata) {
+  return this.client_.unaryCall(this.hostname_ +
+      '/to.v1.ApiTo/ToUsersInGameHistoryGpsQuery',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToUsersInGameHistoryGpsQuery);
+};
+
+
+/**
+ * @const
+ * @type {!grpc.web.MethodDescriptor<
+ *   !proto.to.v1.ToAnyUserHistoryGpsQueryRequest,
+ *   !proto.to.v1.ToUserGpsQueryReply>}
+ */
+const methodDescriptor_ApiTo_ToAnyUserHistoryGpsQuery = new grpc.web.MethodDescriptor(
+  '/to.v1.ApiTo/ToAnyUserHistoryGpsQuery',
+  grpc.web.MethodType.UNARY,
+  proto.to.v1.ToAnyUserHistoryGpsQueryRequest,
+  proto.to.v1.ToUserGpsQueryReply,
+  /**
+   * @param {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} request
+   * @return {!Uint8Array}
+   */
+  function(request) {
+    return request.serializeBinary();
+  },
+  proto.to.v1.ToUserGpsQueryReply.deserializeBinary
+);
+
+
+/**
+ * @param {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} request The
+ *     request proto
+ * @param {?Object<string, string>} metadata User defined
+ *     call metadata
+ * @param {function(?grpc.web.RpcError, ?proto.to.v1.ToUserGpsQueryReply)}
+ *     callback The callback function(error, response)
+ * @return {!grpc.web.ClientReadableStream<!proto.to.v1.ToUserGpsQueryReply>|undefined}
+ *     The XHR Node Readable Stream
+ */
+proto.to.v1.ApiToClient.prototype.toAnyUserHistoryGpsQuery =
+    function(request, metadata, callback) {
+  return this.client_.rpcCall(this.hostname_ +
+      '/to.v1.ApiTo/ToAnyUserHistoryGpsQuery',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToAnyUserHistoryGpsQuery,
+      callback);
+};
+
+
+/**
+ * @param {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} request The
+ *     request proto
+ * @param {?Object<string, string>=} metadata User defined
+ *     call metadata
+ * @return {!Promise<!proto.to.v1.ToUserGpsQueryReply>}
+ *     Promise that resolves to the response
+ */
+proto.to.v1.ApiToPromiseClient.prototype.toAnyUserHistoryGpsQuery =
+    function(request, metadata) {
+  return this.client_.unaryCall(this.hostname_ +
+      '/to.v1.ApiTo/ToAnyUserHistoryGpsQuery',
+      request,
+      metadata || {},
+      methodDescriptor_ApiTo_ToAnyUserHistoryGpsQuery);
+};
+
+
+module.exports = proto.to.v1;
+

+ 3103 - 0
grpc/track_offical_pb.js

@@ -0,0 +1,3103 @@
+// source: track_offical.proto
+/**
+ * @fileoverview
+ * @enhanceable
+ * @suppress {missingRequire} reports error on implicit type usages.
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
+ *     field starts with 'MSG_' and isn't a translatable message.
+ * @public
+ */
+// GENERATED CODE -- DO NOT EDIT!
+/* eslint-disable */
+// @ts-nocheck
+
+var jspb = require('google-protobuf');
+var goog = jspb;
+var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
+
+var base_pb = require('./base_pb.js');
+goog.object.extend(proto, base_pb);
+goog.exportSymbol('proto.to.v1.ToActionDetailReply', null, global);
+goog.exportSymbol('proto.to.v1.ToActionListReply', null, global);
+goog.exportSymbol('proto.to.v1.ToActionSimple', null, global);
+goog.exportSymbol('proto.to.v1.ToActionUsersDetailReply', null, global);
+goog.exportSymbol('proto.to.v1.ToAnyUserHistoryGpsQueryRequest', null, global);
+goog.exportSymbol('proto.to.v1.ToMapInfo', null, global);
+goog.exportSymbol('proto.to.v1.ToUserGpsQueryReply', null, global);
+goog.exportSymbol('proto.to.v1.ToUsersInGameHistoryGpsQueryRequest', null, global);
+goog.exportSymbol('proto.to.v1.UserArriveControlPoint', null, global);
+goog.exportSymbol('proto.to.v1.UserGpsInfo', null, global);
+goog.exportSymbol('proto.to.v1.UserInGameInfo', null, global);
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToActionListReply = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.to.v1.ToActionListReply.repeatedFields_, null);
+};
+goog.inherits(proto.to.v1.ToActionListReply, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToActionListReply.displayName = 'proto.to.v1.ToActionListReply';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToActionSimple = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.to.v1.ToActionSimple, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToActionSimple.displayName = 'proto.to.v1.ToActionSimple';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToActionDetailReply = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.to.v1.ToActionDetailReply.repeatedFields_, null);
+};
+goog.inherits(proto.to.v1.ToActionDetailReply, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToActionDetailReply.displayName = 'proto.to.v1.ToActionDetailReply';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToMapInfo = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.to.v1.ToMapInfo, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToMapInfo.displayName = 'proto.to.v1.ToMapInfo';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToActionUsersDetailReply = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.to.v1.ToActionUsersDetailReply.repeatedFields_, null);
+};
+goog.inherits(proto.to.v1.ToActionUsersDetailReply, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToActionUsersDetailReply.displayName = 'proto.to.v1.ToActionUsersDetailReply';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.UserInGameInfo = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.to.v1.UserInGameInfo, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.UserInGameInfo.displayName = 'proto.to.v1.UserInGameInfo';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.to.v1.ToAnyUserHistoryGpsQueryRequest.repeatedFields_, null);
+};
+goog.inherits(proto.to.v1.ToAnyUserHistoryGpsQueryRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToAnyUserHistoryGpsQueryRequest.displayName = 'proto.to.v1.ToAnyUserHistoryGpsQueryRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.to.v1.ToUsersInGameHistoryGpsQueryRequest, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.displayName = 'proto.to.v1.ToUsersInGameHistoryGpsQueryRequest';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.ToUserGpsQueryReply = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, proto.to.v1.ToUserGpsQueryReply.repeatedFields_, null);
+};
+goog.inherits(proto.to.v1.ToUserGpsQueryReply, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.ToUserGpsQueryReply.displayName = 'proto.to.v1.ToUserGpsQueryReply';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.UserGpsInfo = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.to.v1.UserGpsInfo, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.UserGpsInfo.displayName = 'proto.to.v1.UserGpsInfo';
+}
+/**
+ * Generated by JsPbCodeGenerator.
+ * @param {Array=} opt_data Optional initial data array, typically from a
+ * server response, or constructed directly in Javascript. The array is used
+ * in place and becomes part of the constructed object. It is not cloned.
+ * If no data is provided, the constructed object will be empty, but still
+ * valid.
+ * @extends {jspb.Message}
+ * @constructor
+ */
+proto.to.v1.UserArriveControlPoint = function(opt_data) {
+  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
+};
+goog.inherits(proto.to.v1.UserArriveControlPoint, jspb.Message);
+if (goog.DEBUG && !COMPILED) {
+  /**
+   * @public
+   * @override
+   */
+  proto.to.v1.UserArriveControlPoint.displayName = 'proto.to.v1.UserArriveControlPoint';
+}
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.to.v1.ToActionListReply.repeatedFields_ = [1];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToActionListReply.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToActionListReply.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToActionListReply} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionListReply.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    listList: jspb.Message.toObjectList(msg.getListList(),
+    proto.to.v1.ToActionSimple.toObject, includeInstance)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToActionListReply}
+ */
+proto.to.v1.ToActionListReply.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToActionListReply;
+  return proto.to.v1.ToActionListReply.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToActionListReply} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToActionListReply}
+ */
+proto.to.v1.ToActionListReply.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = new proto.to.v1.ToActionSimple;
+      reader.readMessage(value,proto.to.v1.ToActionSimple.deserializeBinaryFromReader);
+      msg.addList(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToActionListReply.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToActionListReply.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToActionListReply} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionListReply.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getListList();
+  if (f.length > 0) {
+    writer.writeRepeatedMessage(
+      1,
+      f,
+      proto.to.v1.ToActionSimple.serializeBinaryToWriter
+    );
+  }
+};
+
+
+/**
+ * repeated ToActionSimple list = 1;
+ * @return {!Array<!proto.to.v1.ToActionSimple>}
+ */
+proto.to.v1.ToActionListReply.prototype.getListList = function() {
+  return /** @type{!Array<!proto.to.v1.ToActionSimple>} */ (
+    jspb.Message.getRepeatedWrapperField(this, proto.to.v1.ToActionSimple, 1));
+};
+
+
+/**
+ * @param {!Array<!proto.to.v1.ToActionSimple>} value
+ * @return {!proto.to.v1.ToActionListReply} returns this
+*/
+proto.to.v1.ToActionListReply.prototype.setListList = function(value) {
+  return jspb.Message.setRepeatedWrapperField(this, 1, value);
+};
+
+
+/**
+ * @param {!proto.to.v1.ToActionSimple=} opt_value
+ * @param {number=} opt_index
+ * @return {!proto.to.v1.ToActionSimple}
+ */
+proto.to.v1.ToActionListReply.prototype.addList = function(opt_value, opt_index) {
+  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.to.v1.ToActionSimple, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.to.v1.ToActionListReply} returns this
+ */
+proto.to.v1.ToActionListReply.prototype.clearListList = function() {
+  return this.setListList([]);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToActionSimple.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToActionSimple.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToActionSimple} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionSimple.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    name: jspb.Message.getFieldWithDefault(msg, 2, "")
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToActionSimple}
+ */
+proto.to.v1.ToActionSimple.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToActionSimple;
+  return proto.to.v1.ToActionSimple.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToActionSimple} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToActionSimple}
+ */
+proto.to.v1.ToActionSimple.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setName(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToActionSimple.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToActionSimple.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToActionSimple} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionSimple.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getName();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 id = 1;
+ * @return {number}
+ */
+proto.to.v1.ToActionSimple.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToActionSimple} returns this
+ */
+proto.to.v1.ToActionSimple.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string name = 2;
+ * @return {string}
+ */
+proto.to.v1.ToActionSimple.prototype.getName = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.to.v1.ToActionSimple} returns this
+ */
+proto.to.v1.ToActionSimple.prototype.setName = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.to.v1.ToActionDetailReply.repeatedFields_ = [9];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToActionDetailReply.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToActionDetailReply.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToActionDetailReply} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionDetailReply.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
+    content: jspb.Message.getFieldWithDefault(msg, 3, ""),
+    lockup: jspb.Message.getFieldWithDefault(msg, 4, 0),
+    forcedendtime: jspb.Message.getFieldWithDefault(msg, 5, 0),
+    totalcontrolnum: jspb.Message.getFieldWithDefault(msg, 6, 0),
+    maxrange: jspb.Message.getFieldWithDefault(msg, 7, 0),
+    mapinfo: (f = msg.getMapinfo()) && proto.to.v1.ToMapInfo.toObject(includeInstance, f),
+    routesList: jspb.Message.toObjectList(msg.getRoutesList(),
+    base_pb.CourseInfo.toObject, includeInstance)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToActionDetailReply}
+ */
+proto.to.v1.ToActionDetailReply.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToActionDetailReply;
+  return proto.to.v1.ToActionDetailReply.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToActionDetailReply} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToActionDetailReply}
+ */
+proto.to.v1.ToActionDetailReply.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setName(value);
+      break;
+    case 3:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setContent(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setLockup(value);
+      break;
+    case 5:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setForcedendtime(value);
+      break;
+    case 6:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setTotalcontrolnum(value);
+      break;
+    case 7:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setMaxrange(value);
+      break;
+    case 8:
+      var value = new proto.to.v1.ToMapInfo;
+      reader.readMessage(value,proto.to.v1.ToMapInfo.deserializeBinaryFromReader);
+      msg.setMapinfo(value);
+      break;
+    case 9:
+      var value = new base_pb.CourseInfo;
+      reader.readMessage(value,base_pb.CourseInfo.deserializeBinaryFromReader);
+      msg.addRoutes(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToActionDetailReply.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToActionDetailReply.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToActionDetailReply} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionDetailReply.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getName();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+  f = message.getContent();
+  if (f.length > 0) {
+    writer.writeString(
+      3,
+      f
+    );
+  }
+  f = message.getLockup();
+  if (f !== 0) {
+    writer.writeInt32(
+      4,
+      f
+    );
+  }
+  f = message.getForcedendtime();
+  if (f !== 0) {
+    writer.writeInt32(
+      5,
+      f
+    );
+  }
+  f = message.getTotalcontrolnum();
+  if (f !== 0) {
+    writer.writeInt32(
+      6,
+      f
+    );
+  }
+  f = message.getMaxrange();
+  if (f !== 0) {
+    writer.writeInt32(
+      7,
+      f
+    );
+  }
+  f = message.getMapinfo();
+  if (f != null) {
+    writer.writeMessage(
+      8,
+      f,
+      proto.to.v1.ToMapInfo.serializeBinaryToWriter
+    );
+  }
+  f = message.getRoutesList();
+  if (f.length > 0) {
+    writer.writeRepeatedMessage(
+      9,
+      f,
+      base_pb.CourseInfo.serializeBinaryToWriter
+    );
+  }
+};
+
+
+/**
+ * optional int32 id = 1;
+ * @return {number}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string name = 2;
+ * @return {string}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getName = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.setName = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+/**
+ * optional string content = 3;
+ * @return {string}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getContent = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.setContent = function(value) {
+  return jspb.Message.setProto3StringField(this, 3, value);
+};
+
+
+/**
+ * optional int32 lockup = 4;
+ * @return {number}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getLockup = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.setLockup = function(value) {
+  return jspb.Message.setProto3IntField(this, 4, value);
+};
+
+
+/**
+ * optional int32 forcedEndTime = 5;
+ * @return {number}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getForcedendtime = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.setForcedendtime = function(value) {
+  return jspb.Message.setProto3IntField(this, 5, value);
+};
+
+
+/**
+ * optional int32 totalControlNum = 6;
+ * @return {number}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getTotalcontrolnum = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.setTotalcontrolnum = function(value) {
+  return jspb.Message.setProto3IntField(this, 6, value);
+};
+
+
+/**
+ * optional int32 maxRange = 7;
+ * @return {number}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getMaxrange = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.setMaxrange = function(value) {
+  return jspb.Message.setProto3IntField(this, 7, value);
+};
+
+
+/**
+ * optional ToMapInfo mapInfo = 8;
+ * @return {?proto.to.v1.ToMapInfo}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getMapinfo = function() {
+  return /** @type{?proto.to.v1.ToMapInfo} */ (
+    jspb.Message.getWrapperField(this, proto.to.v1.ToMapInfo, 8));
+};
+
+
+/**
+ * @param {?proto.to.v1.ToMapInfo|undefined} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+*/
+proto.to.v1.ToActionDetailReply.prototype.setMapinfo = function(value) {
+  return jspb.Message.setWrapperField(this, 8, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.clearMapinfo = function() {
+  return this.setMapinfo(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.to.v1.ToActionDetailReply.prototype.hasMapinfo = function() {
+  return jspb.Message.getField(this, 8) != null;
+};
+
+
+/**
+ * repeated base.v1.CourseInfo routes = 9;
+ * @return {!Array<!proto.base.v1.CourseInfo>}
+ */
+proto.to.v1.ToActionDetailReply.prototype.getRoutesList = function() {
+  return /** @type{!Array<!proto.base.v1.CourseInfo>} */ (
+    jspb.Message.getRepeatedWrapperField(this, base_pb.CourseInfo, 9));
+};
+
+
+/**
+ * @param {!Array<!proto.base.v1.CourseInfo>} value
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+*/
+proto.to.v1.ToActionDetailReply.prototype.setRoutesList = function(value) {
+  return jspb.Message.setRepeatedWrapperField(this, 9, value);
+};
+
+
+/**
+ * @param {!proto.base.v1.CourseInfo=} opt_value
+ * @param {number=} opt_index
+ * @return {!proto.base.v1.CourseInfo}
+ */
+proto.to.v1.ToActionDetailReply.prototype.addRoutes = function(opt_value, opt_index) {
+  return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.base.v1.CourseInfo, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.to.v1.ToActionDetailReply} returns this
+ */
+proto.to.v1.ToActionDetailReply.prototype.clearRoutesList = function() {
+  return this.setRoutesList([]);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToMapInfo.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToMapInfo.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToMapInfo} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToMapInfo.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    lid: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    mapname: jspb.Message.getFieldWithDefault(msg, 2, ""),
+    zipimage: (f = msg.getZipimage()) && base_pb.NetImage.toObject(includeInstance, f),
+    centerlongitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
+    centerlatitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
+    defscale: jspb.Message.getFieldWithDefault(msg, 6, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToMapInfo}
+ */
+proto.to.v1.ToMapInfo.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToMapInfo;
+  return proto.to.v1.ToMapInfo.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToMapInfo} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToMapInfo}
+ */
+proto.to.v1.ToMapInfo.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setLid(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setMapname(value);
+      break;
+    case 3:
+      var value = new base_pb.NetImage;
+      reader.readMessage(value,base_pb.NetImage.deserializeBinaryFromReader);
+      msg.setZipimage(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setCenterlongitude(value);
+      break;
+    case 5:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setCenterlatitude(value);
+      break;
+    case 6:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setDefscale(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToMapInfo.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToMapInfo.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToMapInfo} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToMapInfo.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getLid();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getMapname();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+  f = message.getZipimage();
+  if (f != null) {
+    writer.writeMessage(
+      3,
+      f,
+      base_pb.NetImage.serializeBinaryToWriter
+    );
+  }
+  f = message.getCenterlongitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      4,
+      f
+    );
+  }
+  f = message.getCenterlatitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      5,
+      f
+    );
+  }
+  f = message.getDefscale();
+  if (f !== 0) {
+    writer.writeInt32(
+      6,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 LId = 1;
+ * @return {number}
+ */
+proto.to.v1.ToMapInfo.prototype.getLid = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToMapInfo} returns this
+ */
+proto.to.v1.ToMapInfo.prototype.setLid = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string mapName = 2;
+ * @return {string}
+ */
+proto.to.v1.ToMapInfo.prototype.getMapname = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.to.v1.ToMapInfo} returns this
+ */
+proto.to.v1.ToMapInfo.prototype.setMapname = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+/**
+ * optional base.v1.NetImage zipImage = 3;
+ * @return {?proto.base.v1.NetImage}
+ */
+proto.to.v1.ToMapInfo.prototype.getZipimage = function() {
+  return /** @type{?proto.base.v1.NetImage} */ (
+    jspb.Message.getWrapperField(this, base_pb.NetImage, 3));
+};
+
+
+/**
+ * @param {?proto.base.v1.NetImage|undefined} value
+ * @return {!proto.to.v1.ToMapInfo} returns this
+*/
+proto.to.v1.ToMapInfo.prototype.setZipimage = function(value) {
+  return jspb.Message.setWrapperField(this, 3, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.to.v1.ToMapInfo} returns this
+ */
+proto.to.v1.ToMapInfo.prototype.clearZipimage = function() {
+  return this.setZipimage(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.to.v1.ToMapInfo.prototype.hasZipimage = function() {
+  return jspb.Message.getField(this, 3) != null;
+};
+
+
+/**
+ * optional double CenterLongitude = 4;
+ * @return {number}
+ */
+proto.to.v1.ToMapInfo.prototype.getCenterlongitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToMapInfo} returns this
+ */
+proto.to.v1.ToMapInfo.prototype.setCenterlongitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 4, value);
+};
+
+
+/**
+ * optional double CenterLatitude = 5;
+ * @return {number}
+ */
+proto.to.v1.ToMapInfo.prototype.getCenterlatitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToMapInfo} returns this
+ */
+proto.to.v1.ToMapInfo.prototype.setCenterlatitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 5, value);
+};
+
+
+/**
+ * optional int32 DefScale = 6;
+ * @return {number}
+ */
+proto.to.v1.ToMapInfo.prototype.getDefscale = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToMapInfo} returns this
+ */
+proto.to.v1.ToMapInfo.prototype.setDefscale = function(value) {
+  return jspb.Message.setProto3IntField(this, 6, value);
+};
+
+
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.to.v1.ToActionUsersDetailReply.repeatedFields_ = [1];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToActionUsersDetailReply.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToActionUsersDetailReply.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToActionUsersDetailReply} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionUsersDetailReply.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    usersList: jspb.Message.toObjectList(msg.getUsersList(),
+    proto.to.v1.UserInGameInfo.toObject, includeInstance)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToActionUsersDetailReply}
+ */
+proto.to.v1.ToActionUsersDetailReply.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToActionUsersDetailReply;
+  return proto.to.v1.ToActionUsersDetailReply.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToActionUsersDetailReply} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToActionUsersDetailReply}
+ */
+proto.to.v1.ToActionUsersDetailReply.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = new proto.to.v1.UserInGameInfo;
+      reader.readMessage(value,proto.to.v1.UserInGameInfo.deserializeBinaryFromReader);
+      msg.addUsers(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToActionUsersDetailReply.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToActionUsersDetailReply.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToActionUsersDetailReply} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToActionUsersDetailReply.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getUsersList();
+  if (f.length > 0) {
+    writer.writeRepeatedMessage(
+      1,
+      f,
+      proto.to.v1.UserInGameInfo.serializeBinaryToWriter
+    );
+  }
+};
+
+
+/**
+ * repeated UserInGameInfo users = 1;
+ * @return {!Array<!proto.to.v1.UserInGameInfo>}
+ */
+proto.to.v1.ToActionUsersDetailReply.prototype.getUsersList = function() {
+  return /** @type{!Array<!proto.to.v1.UserInGameInfo>} */ (
+    jspb.Message.getRepeatedWrapperField(this, proto.to.v1.UserInGameInfo, 1));
+};
+
+
+/**
+ * @param {!Array<!proto.to.v1.UserInGameInfo>} value
+ * @return {!proto.to.v1.ToActionUsersDetailReply} returns this
+*/
+proto.to.v1.ToActionUsersDetailReply.prototype.setUsersList = function(value) {
+  return jspb.Message.setRepeatedWrapperField(this, 1, value);
+};
+
+
+/**
+ * @param {!proto.to.v1.UserInGameInfo=} opt_value
+ * @param {number=} opt_index
+ * @return {!proto.to.v1.UserInGameInfo}
+ */
+proto.to.v1.ToActionUsersDetailReply.prototype.addUsers = function(opt_value, opt_index) {
+  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.to.v1.UserInGameInfo, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.to.v1.ToActionUsersDetailReply} returns this
+ */
+proto.to.v1.ToActionUsersDetailReply.prototype.clearUsersList = function() {
+  return this.setUsersList([]);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.UserInGameInfo.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.UserInGameInfo.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.UserInGameInfo} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.UserInGameInfo.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    name: jspb.Message.getFieldWithDefault(msg, 2, ""),
+    distance: jspb.Message.getFieldWithDefault(msg, 3, 0),
+    pace: jspb.Message.getFieldWithDefault(msg, 4, 0),
+    avghr: jspb.Message.getFieldWithDefault(msg, 5, 0),
+    maxhr: jspb.Message.getFieldWithDefault(msg, 6, 0),
+    calorie: jspb.Message.getFieldWithDefault(msg, 7, 0),
+    ck: jspb.Message.getFieldWithDefault(msg, 8, 0),
+    ei: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
+    effectivenum: jspb.Message.getFieldWithDefault(msg, 10, 0),
+    totalcontrolnum: jspb.Message.getFieldWithDefault(msg, 11, 0),
+    startsecondstamp: jspb.Message.getFieldWithDefault(msg, 12, 0),
+    endsecondstamp: jspb.Message.getFieldWithDefault(msg, 13, 0),
+    mstate: jspb.Message.getFieldWithDefault(msg, 14, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.UserInGameInfo}
+ */
+proto.to.v1.UserInGameInfo.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.UserInGameInfo;
+  return proto.to.v1.UserInGameInfo.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.UserInGameInfo} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.UserInGameInfo}
+ */
+proto.to.v1.UserInGameInfo.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setName(value);
+      break;
+    case 3:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setDistance(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setPace(value);
+      break;
+    case 5:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setAvghr(value);
+      break;
+    case 6:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setMaxhr(value);
+      break;
+    case 7:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setCalorie(value);
+      break;
+    case 8:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setCk(value);
+      break;
+    case 9:
+      var value = /** @type {number} */ (reader.readFloat());
+      msg.setEi(value);
+      break;
+    case 10:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setEffectivenum(value);
+      break;
+    case 11:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setTotalcontrolnum(value);
+      break;
+    case 12:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setStartsecondstamp(value);
+      break;
+    case 13:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setEndsecondstamp(value);
+      break;
+    case 14:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setMstate(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.UserInGameInfo.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.UserInGameInfo.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.UserInGameInfo} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.UserInGameInfo.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getName();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+  f = message.getDistance();
+  if (f !== 0) {
+    writer.writeInt32(
+      3,
+      f
+    );
+  }
+  f = message.getPace();
+  if (f !== 0) {
+    writer.writeInt32(
+      4,
+      f
+    );
+  }
+  f = message.getAvghr();
+  if (f !== 0) {
+    writer.writeInt32(
+      5,
+      f
+    );
+  }
+  f = message.getMaxhr();
+  if (f !== 0) {
+    writer.writeInt32(
+      6,
+      f
+    );
+  }
+  f = message.getCalorie();
+  if (f !== 0) {
+    writer.writeInt32(
+      7,
+      f
+    );
+  }
+  f = message.getCk();
+  if (f !== 0) {
+    writer.writeInt32(
+      8,
+      f
+    );
+  }
+  f = message.getEi();
+  if (f !== 0.0) {
+    writer.writeFloat(
+      9,
+      f
+    );
+  }
+  f = message.getEffectivenum();
+  if (f !== 0) {
+    writer.writeInt32(
+      10,
+      f
+    );
+  }
+  f = message.getTotalcontrolnum();
+  if (f !== 0) {
+    writer.writeInt32(
+      11,
+      f
+    );
+  }
+  f = message.getStartsecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      12,
+      f
+    );
+  }
+  f = message.getEndsecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      13,
+      f
+    );
+  }
+  f = message.getMstate();
+  if (f !== 0) {
+    writer.writeInt32(
+      14,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 id = 1;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string name = 2;
+ * @return {string}
+ */
+proto.to.v1.UserInGameInfo.prototype.getName = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setName = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+/**
+ * optional int32 distance = 3;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getDistance = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setDistance = function(value) {
+  return jspb.Message.setProto3IntField(this, 3, value);
+};
+
+
+/**
+ * optional int32 pace = 4;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getPace = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setPace = function(value) {
+  return jspb.Message.setProto3IntField(this, 4, value);
+};
+
+
+/**
+ * optional int32 avgHr = 5;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getAvghr = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setAvghr = function(value) {
+  return jspb.Message.setProto3IntField(this, 5, value);
+};
+
+
+/**
+ * optional int32 maxHr = 6;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getMaxhr = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setMaxhr = function(value) {
+  return jspb.Message.setProto3IntField(this, 6, value);
+};
+
+
+/**
+ * optional int32 Calorie = 7;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getCalorie = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setCalorie = function(value) {
+  return jspb.Message.setProto3IntField(this, 7, value);
+};
+
+
+/**
+ * optional int32 Ck = 8;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getCk = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setCk = function(value) {
+  return jspb.Message.setProto3IntField(this, 8, value);
+};
+
+
+/**
+ * optional float Ei = 9;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getEi = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setEi = function(value) {
+  return jspb.Message.setProto3FloatField(this, 9, value);
+};
+
+
+/**
+ * optional int32 EffectiveNum = 10;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getEffectivenum = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setEffectivenum = function(value) {
+  return jspb.Message.setProto3IntField(this, 10, value);
+};
+
+
+/**
+ * optional int32 TotalControlNum = 11;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getTotalcontrolnum = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setTotalcontrolnum = function(value) {
+  return jspb.Message.setProto3IntField(this, 11, value);
+};
+
+
+/**
+ * optional int64 startSecondStamp = 12;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getStartsecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setStartsecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 12, value);
+};
+
+
+/**
+ * optional int64 endSecondStamp = 13;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getEndsecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setEndsecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 13, value);
+};
+
+
+/**
+ * optional int32 mState = 14;
+ * @return {number}
+ */
+proto.to.v1.UserInGameInfo.prototype.getMstate = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserInGameInfo} returns this
+ */
+proto.to.v1.UserInGameInfo.prototype.setMstate = function(value) {
+  return jspb.Message.setProto3IntField(this, 14, value);
+};
+
+
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.repeatedFields_ = [2];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToAnyUserHistoryGpsQueryRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    useridarrList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
+    startsecondstamp: jspb.Message.getFieldWithDefault(msg, 3, 0),
+    endsecondstamp: jspb.Message.getFieldWithDefault(msg, 4, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToAnyUserHistoryGpsQueryRequest;
+  return proto.to.v1.ToAnyUserHistoryGpsQueryRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setId(value);
+      break;
+    case 2:
+      var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
+      for (var i = 0; i < values.length; i++) {
+        msg.addUseridarr(values[i]);
+      }
+      break;
+    case 3:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setStartsecondstamp(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setEndsecondstamp(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToAnyUserHistoryGpsQueryRequest.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getUseridarrList();
+  if (f.length > 0) {
+    writer.writePackedInt32(
+      2,
+      f
+    );
+  }
+  f = message.getStartsecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      3,
+      f
+    );
+  }
+  f = message.getEndsecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      4,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 id = 1;
+ * @return {number}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * repeated int32 userIdArr = 2;
+ * @return {!Array<number>}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.getUseridarrList = function() {
+  return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
+};
+
+
+/**
+ * @param {!Array<number>} value
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.setUseridarrList = function(value) {
+  return jspb.Message.setField(this, 2, value || []);
+};
+
+
+/**
+ * @param {number} value
+ * @param {number=} opt_index
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.addUseridarr = function(value, opt_index) {
+  return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.clearUseridarrList = function() {
+  return this.setUseridarrList([]);
+};
+
+
+/**
+ * optional int64 startSecondStamp = 3;
+ * @return {number}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.getStartsecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.setStartsecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 3, value);
+};
+
+
+/**
+ * optional int64 endSecondStamp = 4;
+ * @return {number}
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.getEndsecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToAnyUserHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToAnyUserHistoryGpsQueryRequest.prototype.setEndsecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 4, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    startsecondstamp: jspb.Message.getFieldWithDefault(msg, 2, 0),
+    endsecondstamp: jspb.Message.getFieldWithDefault(msg, 3, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest}
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToUsersInGameHistoryGpsQueryRequest;
+  return proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest}
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setStartsecondstamp(value);
+      break;
+    case 3:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setEndsecondstamp(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getStartsecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      2,
+      f
+    );
+  }
+  f = message.getEndsecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      3,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 id = 1;
+ * @return {number}
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional int64 startSecondStamp = 2;
+ * @return {number}
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.getStartsecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.setStartsecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 2, value);
+};
+
+
+/**
+ * optional int64 endSecondStamp = 3;
+ * @return {number}
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.getEndsecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.ToUsersInGameHistoryGpsQueryRequest} returns this
+ */
+proto.to.v1.ToUsersInGameHistoryGpsQueryRequest.prototype.setEndsecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 3, value);
+};
+
+
+
+/**
+ * List of repeated fields within this message type.
+ * @private {!Array<number>}
+ * @const
+ */
+proto.to.v1.ToUserGpsQueryReply.repeatedFields_ = [1];
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.ToUserGpsQueryReply.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.ToUserGpsQueryReply.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.ToUserGpsQueryReply} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToUserGpsQueryReply.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    gpsinfoList: jspb.Message.toObjectList(msg.getGpsinfoList(),
+    proto.to.v1.UserGpsInfo.toObject, includeInstance)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.ToUserGpsQueryReply}
+ */
+proto.to.v1.ToUserGpsQueryReply.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.ToUserGpsQueryReply;
+  return proto.to.v1.ToUserGpsQueryReply.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.ToUserGpsQueryReply} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.ToUserGpsQueryReply}
+ */
+proto.to.v1.ToUserGpsQueryReply.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = new proto.to.v1.UserGpsInfo;
+      reader.readMessage(value,proto.to.v1.UserGpsInfo.deserializeBinaryFromReader);
+      msg.addGpsinfo(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.ToUserGpsQueryReply.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.ToUserGpsQueryReply.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.ToUserGpsQueryReply} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.ToUserGpsQueryReply.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getGpsinfoList();
+  if (f.length > 0) {
+    writer.writeRepeatedMessage(
+      1,
+      f,
+      proto.to.v1.UserGpsInfo.serializeBinaryToWriter
+    );
+  }
+};
+
+
+/**
+ * repeated UserGpsInfo gpsInfo = 1;
+ * @return {!Array<!proto.to.v1.UserGpsInfo>}
+ */
+proto.to.v1.ToUserGpsQueryReply.prototype.getGpsinfoList = function() {
+  return /** @type{!Array<!proto.to.v1.UserGpsInfo>} */ (
+    jspb.Message.getRepeatedWrapperField(this, proto.to.v1.UserGpsInfo, 1));
+};
+
+
+/**
+ * @param {!Array<!proto.to.v1.UserGpsInfo>} value
+ * @return {!proto.to.v1.ToUserGpsQueryReply} returns this
+*/
+proto.to.v1.ToUserGpsQueryReply.prototype.setGpsinfoList = function(value) {
+  return jspb.Message.setRepeatedWrapperField(this, 1, value);
+};
+
+
+/**
+ * @param {!proto.to.v1.UserGpsInfo=} opt_value
+ * @param {number=} opt_index
+ * @return {!proto.to.v1.UserGpsInfo}
+ */
+proto.to.v1.ToUserGpsQueryReply.prototype.addGpsinfo = function(opt_value, opt_index) {
+  return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.to.v1.UserGpsInfo, opt_index);
+};
+
+
+/**
+ * Clears the list making it empty but non-null.
+ * @return {!proto.to.v1.ToUserGpsQueryReply} returns this
+ */
+proto.to.v1.ToUserGpsQueryReply.prototype.clearGpsinfoList = function() {
+  return this.setGpsinfoList([]);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.UserGpsInfo.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.UserGpsInfo.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.UserGpsInfo} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.UserGpsInfo.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
+    latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
+    directionradian: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
+    gpstimemillisecondstamp: jspb.Message.getFieldWithDefault(msg, 5, 0)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.UserGpsInfo}
+ */
+proto.to.v1.UserGpsInfo.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.UserGpsInfo;
+  return proto.to.v1.UserGpsInfo.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.UserGpsInfo} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.UserGpsInfo}
+ */
+proto.to.v1.UserGpsInfo.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setLongitude(value);
+      break;
+    case 3:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setLatitude(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readDouble());
+      msg.setDirectionradian(value);
+      break;
+    case 5:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setGpstimemillisecondstamp(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.UserGpsInfo.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.UserGpsInfo.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.UserGpsInfo} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.UserGpsInfo.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt32(
+      1,
+      f
+    );
+  }
+  f = message.getLongitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      2,
+      f
+    );
+  }
+  f = message.getLatitude();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      3,
+      f
+    );
+  }
+  f = message.getDirectionradian();
+  if (f !== 0.0) {
+    writer.writeDouble(
+      4,
+      f
+    );
+  }
+  f = message.getGpstimemillisecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      5,
+      f
+    );
+  }
+};
+
+
+/**
+ * optional int32 Id = 1;
+ * @return {number}
+ */
+proto.to.v1.UserGpsInfo.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserGpsInfo} returns this
+ */
+proto.to.v1.UserGpsInfo.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional double longitude = 2;
+ * @return {number}
+ */
+proto.to.v1.UserGpsInfo.prototype.getLongitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserGpsInfo} returns this
+ */
+proto.to.v1.UserGpsInfo.prototype.setLongitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 2, value);
+};
+
+
+/**
+ * optional double latitude = 3;
+ * @return {number}
+ */
+proto.to.v1.UserGpsInfo.prototype.getLatitude = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserGpsInfo} returns this
+ */
+proto.to.v1.UserGpsInfo.prototype.setLatitude = function(value) {
+  return jspb.Message.setProto3FloatField(this, 3, value);
+};
+
+
+/**
+ * optional double directionRadian = 4;
+ * @return {number}
+ */
+proto.to.v1.UserGpsInfo.prototype.getDirectionradian = function() {
+  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserGpsInfo} returns this
+ */
+proto.to.v1.UserGpsInfo.prototype.setDirectionradian = function(value) {
+  return jspb.Message.setProto3FloatField(this, 4, value);
+};
+
+
+/**
+ * optional int64 gpsTimeMillisecondStamp = 5;
+ * @return {number}
+ */
+proto.to.v1.UserGpsInfo.prototype.getGpstimemillisecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserGpsInfo} returns this
+ */
+proto.to.v1.UserGpsInfo.prototype.setGpstimemillisecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 5, value);
+};
+
+
+
+
+
+if (jspb.Message.GENERATE_TO_OBJECT) {
+/**
+ * Creates an object representation of this proto.
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
+ * Optional fields that are not set will be set to undefined.
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
+ * For the list of reserved names please see:
+ *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
+ *     JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @return {!Object}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.toObject = function(opt_includeInstance) {
+  return proto.to.v1.UserArriveControlPoint.toObject(opt_includeInstance, this);
+};
+
+
+/**
+ * Static version of the {@see toObject} method.
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
+ *     the JSPB instance for transitional soy proto support:
+ *     http://goto/soy-param-migration
+ * @param {!proto.to.v1.UserArriveControlPoint} msg The msg instance to transform.
+ * @return {!Object}
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.UserArriveControlPoint.toObject = function(includeInstance, msg) {
+  var f, obj = {
+    id: jspb.Message.getFieldWithDefault(msg, 1, 0),
+    sn: jspb.Message.getFieldWithDefault(msg, 2, ""),
+    millisecondstamp: jspb.Message.getFieldWithDefault(msg, 3, 0),
+    category: jspb.Message.getFieldWithDefault(msg, 4, 0),
+    ciposition: (f = msg.getCiposition()) && base_pb.Position.toObject(includeInstance, f)
+  };
+
+  if (includeInstance) {
+    obj.$jspbMessageInstance = msg;
+  }
+  return obj;
+};
+}
+
+
+/**
+ * Deserializes binary data (in protobuf wire format).
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
+ * @return {!proto.to.v1.UserArriveControlPoint}
+ */
+proto.to.v1.UserArriveControlPoint.deserializeBinary = function(bytes) {
+  var reader = new jspb.BinaryReader(bytes);
+  var msg = new proto.to.v1.UserArriveControlPoint;
+  return proto.to.v1.UserArriveControlPoint.deserializeBinaryFromReader(msg, reader);
+};
+
+
+/**
+ * Deserializes binary data (in protobuf wire format) from the
+ * given reader into the given message object.
+ * @param {!proto.to.v1.UserArriveControlPoint} msg The message object to deserialize into.
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
+ * @return {!proto.to.v1.UserArriveControlPoint}
+ */
+proto.to.v1.UserArriveControlPoint.deserializeBinaryFromReader = function(msg, reader) {
+  while (reader.nextField()) {
+    if (reader.isEndGroup()) {
+      break;
+    }
+    var field = reader.getFieldNumber();
+    switch (field) {
+    case 1:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setId(value);
+      break;
+    case 2:
+      var value = /** @type {string} */ (reader.readString());
+      msg.setSn(value);
+      break;
+    case 3:
+      var value = /** @type {number} */ (reader.readInt64());
+      msg.setMillisecondstamp(value);
+      break;
+    case 4:
+      var value = /** @type {number} */ (reader.readInt32());
+      msg.setCategory(value);
+      break;
+    case 5:
+      var value = new base_pb.Position;
+      reader.readMessage(value,base_pb.Position.deserializeBinaryFromReader);
+      msg.setCiposition(value);
+      break;
+    default:
+      reader.skipField();
+      break;
+    }
+  }
+  return msg;
+};
+
+
+/**
+ * Serializes the message to binary data (in protobuf wire format).
+ * @return {!Uint8Array}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.serializeBinary = function() {
+  var writer = new jspb.BinaryWriter();
+  proto.to.v1.UserArriveControlPoint.serializeBinaryToWriter(this, writer);
+  return writer.getResultBuffer();
+};
+
+
+/**
+ * Serializes the given message to binary data (in protobuf wire
+ * format), writing to the given BinaryWriter.
+ * @param {!proto.to.v1.UserArriveControlPoint} message
+ * @param {!jspb.BinaryWriter} writer
+ * @suppress {unusedLocalVariables} f is only used for nested messages
+ */
+proto.to.v1.UserArriveControlPoint.serializeBinaryToWriter = function(message, writer) {
+  var f = undefined;
+  f = message.getId();
+  if (f !== 0) {
+    writer.writeInt64(
+      1,
+      f
+    );
+  }
+  f = message.getSn();
+  if (f.length > 0) {
+    writer.writeString(
+      2,
+      f
+    );
+  }
+  f = message.getMillisecondstamp();
+  if (f !== 0) {
+    writer.writeInt64(
+      3,
+      f
+    );
+  }
+  f = message.getCategory();
+  if (f !== 0) {
+    writer.writeInt32(
+      4,
+      f
+    );
+  }
+  f = message.getCiposition();
+  if (f != null) {
+    writer.writeMessage(
+      5,
+      f,
+      base_pb.Position.serializeBinaryToWriter
+    );
+  }
+};
+
+
+/**
+ * optional int64 id = 1;
+ * @return {number}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.getId = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserArriveControlPoint} returns this
+ */
+proto.to.v1.UserArriveControlPoint.prototype.setId = function(value) {
+  return jspb.Message.setProto3IntField(this, 1, value);
+};
+
+
+/**
+ * optional string sn = 2;
+ * @return {string}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.getSn = function() {
+  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
+};
+
+
+/**
+ * @param {string} value
+ * @return {!proto.to.v1.UserArriveControlPoint} returns this
+ */
+proto.to.v1.UserArriveControlPoint.prototype.setSn = function(value) {
+  return jspb.Message.setProto3StringField(this, 2, value);
+};
+
+
+/**
+ * optional int64 millisecondStamp = 3;
+ * @return {number}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.getMillisecondstamp = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserArriveControlPoint} returns this
+ */
+proto.to.v1.UserArriveControlPoint.prototype.setMillisecondstamp = function(value) {
+  return jspb.Message.setProto3IntField(this, 3, value);
+};
+
+
+/**
+ * optional int32 category = 4;
+ * @return {number}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.getCategory = function() {
+  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
+};
+
+
+/**
+ * @param {number} value
+ * @return {!proto.to.v1.UserArriveControlPoint} returns this
+ */
+proto.to.v1.UserArriveControlPoint.prototype.setCategory = function(value) {
+  return jspb.Message.setProto3IntField(this, 4, value);
+};
+
+
+/**
+ * optional base.v1.Position ciPosition = 5;
+ * @return {?proto.base.v1.Position}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.getCiposition = function() {
+  return /** @type{?proto.base.v1.Position} */ (
+    jspb.Message.getWrapperField(this, base_pb.Position, 5));
+};
+
+
+/**
+ * @param {?proto.base.v1.Position|undefined} value
+ * @return {!proto.to.v1.UserArriveControlPoint} returns this
+*/
+proto.to.v1.UserArriveControlPoint.prototype.setCiposition = function(value) {
+  return jspb.Message.setWrapperField(this, 5, value);
+};
+
+
+/**
+ * Clears the message field making it undefined.
+ * @return {!proto.to.v1.UserArriveControlPoint} returns this
+ */
+proto.to.v1.UserArriveControlPoint.prototype.clearCiposition = function() {
+  return this.setCiposition(undefined);
+};
+
+
+/**
+ * Returns whether this field is set.
+ * @return {boolean}
+ */
+proto.to.v1.UserArriveControlPoint.prototype.hasCiposition = function() {
+  return jspb.Message.getField(this, 5) != null;
+};
+
+
+goog.object.extend(exports, proto.to.v1);

+ 20 - 0
index.html

@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <script>
+      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
+        CSS.supports('top: constant(a)'))
+      document.write(
+        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
+        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
+    </script>
+    <title></title>
+    <!--preload-links-->
+    <!--app-context-->
+  </head>
+  <body>
+    <div id="app"><!--app-html--></div>
+    <script type="module" src="/main.js"></script>
+  </body>
+</html>

+ 59 - 0
main.js

@@ -0,0 +1,59 @@
+// #ifndef VUE3
+import Vue from 'vue'
+import App from './App'
+import {
+	ApiAssClient
+} from "./grpc/ass_api_grpc_web_pb.js"
+
+Vue.config.productionTip = false
+
+App.mpType = 'app'
+
+// 建立grpc连接服务 
+
+// 测试版
+let client = new ApiAssClient("http://192.168.0.3:10000", null, null)
+
+// 正式版
+// let client = new ApiAssClient("http://otapi.beswell.com:10000", null, null)
+
+// 挂载为全局方法 
+Vue.prototype.$client = client
+
+// #ifdef APP-PLUS
+
+// import { usqlite } from '@/uni_modules/onemue-USQLite/js_sdk/usqlite.js'
+import SqliteHelper from './utils/SqliteHelper.js'
+import nfc from './utils/ouu-nfc.js'
+
+Vue.prototype.$dbHelper = SqliteHelper
+Vue.prototype.$nfc = nfc
+nfc.listenNFCStatus();
+
+// #endif
+
+// #ifdef H5
+
+import IndexedDB from '@/utils/IndexedDB'
+Vue.prototype.$dbHelper = IndexedDB
+
+// #endif
+
+const app = new Vue({
+	...App
+})
+app.$mount()
+// #endif
+
+// #ifdef VUE3
+import {
+	createSSRApp
+} from 'vue'
+import App from './App.vue'
+export function createApp() {
+	const app = createSSRApp(App)
+	return {
+		app
+	}
+}
+// #endif

+ 121 - 0
manifest.json

@@ -0,0 +1,121 @@
+{
+    "name" : "定向场控",
+    "appid" : "__UNI__B2C7D60",
+    "description" : "小飞龙定向场控系统",
+    "versionName" : "1.0.0",
+    "versionCode" : 100,
+    "transformPx" : false,
+    "app-plus" : {
+        /* 5+App特有相关 */
+        "usingComponents" : true,
+        "nvueCompiler" : "uni-app",
+        "nvueStyleCompiler" : "uni-app",
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
+        },
+        "modules" : {
+            "Barcode" : {},
+            "Geolocation" : {},
+            "SQLite" : {},
+            "Camera" : {}
+        },
+        /* 模块配置 */
+        "distribute" : {
+            /* 应用发布信息 */
+            "android" : {
+                /* android打包配置 */
+                "permissions" : [
+                    "<uses-feature android:name=\"android.hardware.camera\"/>",
+                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_LOCATION_EXTRA_COMMANDS\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.BIND_NFC_SERVICE\"/>",
+                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
+                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
+                    "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
+                    "<uses-permission android:name=\"android.permission.NFC\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
+                    "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
+                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+                    "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
+                ]
+            },
+            "ios" : {
+                "dSYMs" : false
+            },
+            /* ios打包配置 */
+            "sdkConfigs" : {
+                "geolocation" : {
+                    "system" : {
+                        "__platform__" : [ "ios", "android" ]
+                    }
+                },
+                "ad" : {}
+            },
+            "icons" : {
+                "android" : {
+                    "hdpi" : "unpackage/res/icons/72x72.png",
+                    "xhdpi" : "unpackage/res/icons/96x96.png",
+                    "xxhdpi" : "unpackage/res/icons/144x144.png",
+                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
+                },
+                "ios" : {
+                    "appstore" : "unpackage/res/icons/1024x1024.png",
+                    "ipad" : {
+                        "app" : "unpackage/res/icons/76x76.png",
+                        "app@2x" : "unpackage/res/icons/152x152.png",
+                        "notification" : "unpackage/res/icons/20x20.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "proapp@2x" : "unpackage/res/icons/167x167.png",
+                        "settings" : "unpackage/res/icons/29x29.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "spotlight" : "unpackage/res/icons/40x40.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
+                    },
+                    "iphone" : {
+                        "app@2x" : "unpackage/res/icons/120x120.png",
+                        "app@3x" : "unpackage/res/icons/180x180.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "notification@3x" : "unpackage/res/icons/60x60.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "settings@3x" : "unpackage/res/icons/87x87.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
+                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
+                    }
+                }
+            },
+            "splashscreen" : {
+                "androidStyle" : "common"
+            }
+        }
+    },
+    /* SDK配置 */
+    "quickapp" : {},
+    /* 快应用特有相关 */
+    "mp-weixin" : {
+        /* 小程序特有相关 */
+        "appid" : "",
+        "setting" : {
+            "urlCheck" : false
+        },
+        "usingComponents" : true
+    },
+    "vueVersion" : "2",
+    "h5" : {
+        "optimization" : {
+            "treeShaking" : {
+                "enable" : true
+            }
+        }
+    }
+}

+ 12 - 0
node_modules/.bin/geo2topo

@@ -0,0 +1,12 @@
+#!/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
+  exec "$basedir/node"  "$basedir/../topojson-server/bin/geo2topo" "$@"
+else 
+  exec node  "$basedir/../topojson-server/bin/geo2topo" "$@"
+fi

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

@@ -0,0 +1,17 @@
+@ECHO off
+GOTO start
+:find_dp0
+SET dp0=%~dp0
+EXIT /b
+:start
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+  SET "_prog=%dp0%\node.exe"
+) ELSE (
+  SET "_prog=node"
+  SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%"  "%dp0%\..\topojson-server\bin\geo2topo" %*

+ 28 - 0
node_modules/.bin/geo2topo.ps1

@@ -0,0 +1,28 @@
+#!/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") {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "$basedir/node$exe"  "$basedir/../topojson-server/bin/geo2topo" $args
+  } else {
+    & "$basedir/node$exe"  "$basedir/../topojson-server/bin/geo2topo" $args
+  }
+  $ret=$LASTEXITCODE
+} else {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "node$exe"  "$basedir/../topojson-server/bin/geo2topo" $args
+  } else {
+    & "node$exe"  "$basedir/../topojson-server/bin/geo2topo" $args
+  }
+  $ret=$LASTEXITCODE
+}
+exit $ret

+ 12 - 0
node_modules/.bin/topo2geo

@@ -0,0 +1,12 @@
+#!/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
+  exec "$basedir/node"  "$basedir/../topojson-client/bin/topo2geo" "$@"
+else 
+  exec node  "$basedir/../topojson-client/bin/topo2geo" "$@"
+fi

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

@@ -0,0 +1,17 @@
+@ECHO off
+GOTO start
+:find_dp0
+SET dp0=%~dp0
+EXIT /b
+:start
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+  SET "_prog=%dp0%\node.exe"
+) ELSE (
+  SET "_prog=node"
+  SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%"  "%dp0%\..\topojson-client\bin\topo2geo" %*

+ 28 - 0
node_modules/.bin/topo2geo.ps1

@@ -0,0 +1,28 @@
+#!/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") {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "$basedir/node$exe"  "$basedir/../topojson-client/bin/topo2geo" $args
+  } else {
+    & "$basedir/node$exe"  "$basedir/../topojson-client/bin/topo2geo" $args
+  }
+  $ret=$LASTEXITCODE
+} else {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "node$exe"  "$basedir/../topojson-client/bin/topo2geo" $args
+  } else {
+    & "node$exe"  "$basedir/../topojson-client/bin/topo2geo" $args
+  }
+  $ret=$LASTEXITCODE
+}
+exit $ret

+ 12 - 0
node_modules/.bin/topomerge

@@ -0,0 +1,12 @@
+#!/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
+  exec "$basedir/node"  "$basedir/../topojson-client/bin/topomerge" "$@"
+else 
+  exec node  "$basedir/../topojson-client/bin/topomerge" "$@"
+fi

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

@@ -0,0 +1,17 @@
+@ECHO off
+GOTO start
+:find_dp0
+SET dp0=%~dp0
+EXIT /b
+:start
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+  SET "_prog=%dp0%\node.exe"
+) ELSE (
+  SET "_prog=node"
+  SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%"  "%dp0%\..\topojson-client\bin\topomerge" %*

+ 28 - 0
node_modules/.bin/topomerge.ps1

@@ -0,0 +1,28 @@
+#!/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") {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "$basedir/node$exe"  "$basedir/../topojson-client/bin/topomerge" $args
+  } else {
+    & "$basedir/node$exe"  "$basedir/../topojson-client/bin/topomerge" $args
+  }
+  $ret=$LASTEXITCODE
+} else {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "node$exe"  "$basedir/../topojson-client/bin/topomerge" $args
+  } else {
+    & "node$exe"  "$basedir/../topojson-client/bin/topomerge" $args
+  }
+  $ret=$LASTEXITCODE
+}
+exit $ret

+ 12 - 0
node_modules/.bin/topoquantize

@@ -0,0 +1,12 @@
+#!/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
+  exec "$basedir/node"  "$basedir/../topojson-client/bin/topoquantize" "$@"
+else 
+  exec node  "$basedir/../topojson-client/bin/topoquantize" "$@"
+fi

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

@@ -0,0 +1,17 @@
+@ECHO off
+GOTO start
+:find_dp0
+SET dp0=%~dp0
+EXIT /b
+:start
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+  SET "_prog=%dp0%\node.exe"
+) ELSE (
+  SET "_prog=node"
+  SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%"  "%dp0%\..\topojson-client\bin\topoquantize" %*

+ 28 - 0
node_modules/.bin/topoquantize.ps1

@@ -0,0 +1,28 @@
+#!/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") {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "$basedir/node$exe"  "$basedir/../topojson-client/bin/topoquantize" $args
+  } else {
+    & "$basedir/node$exe"  "$basedir/../topojson-client/bin/topoquantize" $args
+  }
+  $ret=$LASTEXITCODE
+} else {
+  # Support pipeline input
+  if ($MyInvocation.ExpectingInput) {
+    $input | & "node$exe"  "$basedir/../topojson-client/bin/topoquantize" $args
+  } else {
+    & "node$exe"  "$basedir/../topojson-client/bin/topoquantize" $args
+  }
+  $ret=$LASTEXITCODE
+}
+exit $ret

+ 1930 - 0
node_modules/.package-lock.json

@@ -0,0 +1,1930 @@
+{
+  "name": "TrackOffical",
+  "lockfileVersion": 2,
+  "requires": true,
+  "packages": {
+    "node_modules/@geoman-io/leaflet-geoman-free": {
+      "version": "2.14.2",
+      "resolved": "https://registry.npmmirror.com/@geoman-io/leaflet-geoman-free/-/leaflet-geoman-free-2.14.2.tgz",
+      "integrity": "sha512-6lIyG8RvSVdFjVjiQgBPyNASjymSyqzsiUeBW0pA+q41lB5fAg4SDC6SfJvWdEyDHa81Jb5FWjUkCc9O+u0gbg==",
+      "dependencies": {
+        "@turf/boolean-contains": "^6.5.0",
+        "@turf/kinks": "^6.5.0",
+        "@turf/line-intersect": "^6.5.0",
+        "@turf/line-split": "^6.5.0",
+        "lodash": "4.17.21",
+        "polygon-clipping": "0.15.3"
+      },
+      "peerDependencies": {
+        "leaflet": "^1.2.0"
+      }
+    },
+    "node_modules/@petamoriken/float16": {
+      "version": "3.8.0",
+      "license": "MIT"
+    },
+    "node_modules/@protobufjs/aspromise": {
+      "version": "1.1.2",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/base64": {
+      "version": "1.1.2",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/codegen": {
+      "version": "2.0.4",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/eventemitter": {
+      "version": "1.1.0",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/fetch": {
+      "version": "1.1.0",
+      "license": "BSD-3-Clause",
+      "dependencies": {
+        "@protobufjs/aspromise": "^1.1.1",
+        "@protobufjs/inquire": "^1.1.0"
+      }
+    },
+    "node_modules/@protobufjs/float": {
+      "version": "1.0.2",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/inquire": {
+      "version": "1.1.0",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/path": {
+      "version": "1.1.2",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/pool": {
+      "version": "1.1.0",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@protobufjs/utf8": {
+      "version": "1.1.0",
+      "license": "BSD-3-Clause"
+    },
+    "node_modules/@turf/along": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/along/-/along-6.5.0.tgz",
+      "integrity": "sha512-LLyWQ0AARqJCmMcIEAXF4GEu8usmd4Kbz3qk1Oy5HoRNpZX47+i5exQtmIWKdqJ1MMhW26fCTXgpsEs5zgJ5gw==",
+      "dependencies": {
+        "@turf/bearing": "^6.5.0",
+        "@turf/destination": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/angle": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/angle/-/angle-6.5.0.tgz",
+      "integrity": "sha512-4pXMbWhFofJJAOvTMCns6N4C8CMd5Ih4O2jSAG9b3dDHakj3O4yN1+Zbm+NUei+eVEZ9gFeVp9svE3aMDenIkw==",
+      "dependencies": {
+        "@turf/bearing": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/rhumb-bearing": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/area": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/area/-/area-6.5.0.tgz",
+      "integrity": "sha512-xCZdiuojokLbQ+29qR6qoMD89hv+JAgWjLrwSEWL+3JV8IXKeNFl6XkEJz9HGkVpnXvQKJoRz4/liT+8ZZ5Jyg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/bbox": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/bbox/-/bbox-6.5.0.tgz",
+      "integrity": "sha512-RBbLaao5hXTYyyg577iuMtDB8ehxMlUqHEJiMs8jT1GHkFhr6sYre3lmLsPeYEi/ZKj5TP5tt7fkzNdJ4GIVyw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/bbox-clip": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/bbox-clip/-/bbox-clip-6.5.0.tgz",
+      "integrity": "sha512-F6PaIRF8WMp8EmgU/Ke5B1Y6/pia14UAYB5TiBC668w5rVVjy5L8rTm/m2lEkkDMHlzoP9vNY4pxpNthE7rLcQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/bbox-polygon": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/bbox-polygon/-/bbox-polygon-6.5.0.tgz",
+      "integrity": "sha512-+/r0NyL1lOG3zKZmmf6L8ommU07HliP4dgYToMoTxqzsWzyLjaj/OzgQ8rBmv703WJX+aS6yCmLuIhYqyufyuw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/bearing": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/bearing/-/bearing-6.5.0.tgz",
+      "integrity": "sha512-dxINYhIEMzgDOztyMZc20I7ssYVNEpSv04VbMo5YPQsqa80KO3TFvbuCahMsCAW5z8Tncc8dwBlEFrmRjJG33A==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/bezier-spline": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/bezier-spline/-/bezier-spline-6.5.0.tgz",
+      "integrity": "sha512-vokPaurTd4PF96rRgGVm6zYYC5r1u98ZsG+wZEv9y3kJTuJRX/O3xIY2QnTGTdbVmAJN1ouOsD0RoZYaVoXORQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-clockwise": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-clockwise/-/boolean-clockwise-6.5.0.tgz",
+      "integrity": "sha512-45+C7LC5RMbRWrxh3Z0Eihsc8db1VGBO5d9BLTOAwU4jR6SgsunTfRWR16X7JUwIDYlCVEmnjcXJNi/kIU3VIw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-contains": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-contains/-/boolean-contains-6.5.0.tgz",
+      "integrity": "sha512-4m8cJpbw+YQcKVGi8y0cHhBUnYT+QRfx6wzM4GI1IdtYH3p4oh/DOBJKrepQyiDzFDaNIjxuWXBh0ai1zVwOQQ==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/boolean-point-on-line": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-crosses": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-crosses/-/boolean-crosses-6.5.0.tgz",
+      "integrity": "sha512-gvshbTPhAHporTlQwBJqyfW+2yV8q/mOTxG6PzRVl6ARsqNoqYQWkd4MLug7OmAqVyBzLK3201uAeBjxbGw0Ng==",
+      "dependencies": {
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/line-intersect": "^6.5.0",
+        "@turf/polygon-to-line": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-disjoint": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-disjoint/-/boolean-disjoint-6.5.0.tgz",
+      "integrity": "sha512-rZ2ozlrRLIAGo2bjQ/ZUu4oZ/+ZjGvLkN5CKXSKBcu6xFO6k2bgqeM8a1836tAW+Pqp/ZFsTA5fZHsJZvP2D5g==",
+      "dependencies": {
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/line-intersect": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/polygon-to-line": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-equal": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-equal/-/boolean-equal-6.5.0.tgz",
+      "integrity": "sha512-cY0M3yoLC26mhAnjv1gyYNQjn7wxIXmL2hBmI/qs8g5uKuC2hRWi13ydufE3k4x0aNRjFGlg41fjoYLwaVF+9Q==",
+      "dependencies": {
+        "@turf/clean-coords": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "geojson-equality": "0.1.6"
+      }
+    },
+    "node_modules/@turf/boolean-intersects": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-intersects/-/boolean-intersects-6.5.0.tgz",
+      "integrity": "sha512-nIxkizjRdjKCYFQMnml6cjPsDOBCThrt+nkqtSEcxkKMhAQj5OO7o2CecioNTaX8EayqwMGVKcsz27oP4mKPTw==",
+      "dependencies": {
+        "@turf/boolean-disjoint": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-overlap": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-overlap/-/boolean-overlap-6.5.0.tgz",
+      "integrity": "sha512-8btMIdnbXVWUa1M7D4shyaSGxLRw6NjMcqKBcsTXcZdnaixl22k7ar7BvIzkaRYN3SFECk9VGXfLncNS3ckQUw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/line-intersect": "^6.5.0",
+        "@turf/line-overlap": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "geojson-equality": "0.1.6"
+      }
+    },
+    "node_modules/@turf/boolean-parallel": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-parallel/-/boolean-parallel-6.5.0.tgz",
+      "integrity": "sha512-aSHJsr1nq9e5TthZGZ9CZYeXklJyRgR5kCLm5X4urz7+MotMOp/LsGOsvKvK9NeUl9+8OUmfMn8EFTT8LkcvIQ==",
+      "dependencies": {
+        "@turf/clean-coords": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/line-segment": "^6.5.0",
+        "@turf/rhumb-bearing": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-point-in-polygon": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-point-in-polygon/-/boolean-point-in-polygon-6.5.0.tgz",
+      "integrity": "sha512-DtSuVFB26SI+hj0SjrvXowGTUCHlgevPAIsukssW6BG5MlNSBQAo70wpICBNJL6RjukXg8d2eXaAWuD/CqL00A==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-point-on-line": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-point-on-line/-/boolean-point-on-line-6.5.0.tgz",
+      "integrity": "sha512-A1BbuQ0LceLHvq7F/P7w3QvfpmZqbmViIUPHdNLvZimFNLo4e6IQunmzbe+8aSStH9QRZm3VOflyvNeXvvpZEQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/boolean-within": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/boolean-within/-/boolean-within-6.5.0.tgz",
+      "integrity": "sha512-YQB3oU18Inx35C/LU930D36RAVe7LDXk1kWsQ8mLmuqYn9YdPsDQTMTkLJMhoQ8EbN7QTdy333xRQ4MYgToteQ==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/boolean-point-on-line": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/buffer": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/buffer/-/buffer-6.5.0.tgz",
+      "integrity": "sha512-qeX4N6+PPWbKqp1AVkBVWFerGjMYMUyencwfnkCesoznU6qvfugFHNAngNqIBVnJjZ5n8IFyOf+akcxnrt9sNg==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/center": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/projection": "^6.5.0",
+        "d3-geo": "1.7.1",
+        "turf-jsts": "*"
+      }
+    },
+    "node_modules/@turf/center": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/center/-/center-6.5.0.tgz",
+      "integrity": "sha512-T8KtMTfSATWcAX088rEDKjyvQCBkUsLnK/Txb6/8WUXIeOZyHu42G7MkdkHRoHtwieLdduDdmPLFyTdG5/e7ZQ==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/center-mean": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/center-mean/-/center-mean-6.5.0.tgz",
+      "integrity": "sha512-AAX6f4bVn12pTVrMUiB9KrnV94BgeBKpyg3YpfnEbBpkN/znfVhL8dG8IxMAxAoSZ61Zt9WLY34HfENveuOZ7Q==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/center-median": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/center-median/-/center-median-6.5.0.tgz",
+      "integrity": "sha512-dT8Ndu5CiZkPrj15PBvslpuf01ky41DEYEPxS01LOxp5HOUHXp1oJxsPxvc+i/wK4BwccPNzU1vzJ0S4emd1KQ==",
+      "dependencies": {
+        "@turf/center-mean": "^6.5.0",
+        "@turf/centroid": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/center-of-mass": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/center-of-mass/-/center-of-mass-6.5.0.tgz",
+      "integrity": "sha512-EWrriU6LraOfPN7m1jZi+1NLTKNkuIsGLZc2+Y8zbGruvUW+QV7K0nhf7iZWutlxHXTBqEXHbKue/o79IumAsQ==",
+      "dependencies": {
+        "@turf/centroid": "^6.5.0",
+        "@turf/convex": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/centroid": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/centroid/-/centroid-6.5.0.tgz",
+      "integrity": "sha512-MwE1oq5E3isewPprEClbfU5pXljIK/GUOMbn22UM3IFPDJX0KeoyLNwghszkdmFp/qMGL/M13MMWvU+GNLXP/A==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/circle": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/circle/-/circle-6.5.0.tgz",
+      "integrity": "sha512-oU1+Kq9DgRnoSbWFHKnnUdTmtcRUMmHoV9DjTXu9vOLNV5OWtAAh1VZ+mzsioGGzoDNT/V5igbFOkMfBQc0B6A==",
+      "dependencies": {
+        "@turf/destination": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/clean-coords": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/clean-coords/-/clean-coords-6.5.0.tgz",
+      "integrity": "sha512-EMX7gyZz0WTH/ET7xV8MyrExywfm9qUi0/MY89yNffzGIEHuFfqwhcCqZ8O00rZIPZHUTxpmsxQSTfzJJA1CPw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/clone": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/clone/-/clone-6.5.0.tgz",
+      "integrity": "sha512-mzVtTFj/QycXOn6ig+annKrM6ZlimreKYz6f/GSERytOpgzodbQyOgkfwru100O1KQhhjSudKK4DsQ0oyi9cTw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/clusters": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/clusters/-/clusters-6.5.0.tgz",
+      "integrity": "sha512-Y6gfnTJzQ1hdLfCsyd5zApNbfLIxYEpmDibHUqR5z03Lpe02pa78JtgrgUNt1seeO/aJ4TG1NLN8V5gOrHk04g==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/clusters-dbscan": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/clusters-dbscan/-/clusters-dbscan-6.5.0.tgz",
+      "integrity": "sha512-SxZEE4kADU9DqLRiT53QZBBhu8EP9skviSyl+FGj08Y01xfICM/RR9ACUdM0aEQimhpu+ZpRVcUK+2jtiCGrYQ==",
+      "dependencies": {
+        "@turf/clone": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "density-clustering": "1.3.0"
+      }
+    },
+    "node_modules/@turf/clusters-kmeans": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/clusters-kmeans/-/clusters-kmeans-6.5.0.tgz",
+      "integrity": "sha512-DwacD5+YO8kwDPKaXwT9DV46tMBVNsbi1IzdajZu1JDSWoN7yc7N9Qt88oi+p30583O0UPVkAK+A10WAQv4mUw==",
+      "dependencies": {
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "skmeans": "0.9.7"
+      }
+    },
+    "node_modules/@turf/collect": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/collect/-/collect-6.5.0.tgz",
+      "integrity": "sha512-4dN/T6LNnRg099m97BJeOcTA5fSI8cu87Ydgfibewd2KQwBexO69AnjEFqfPX3Wj+Zvisj1uAVIZbPmSSrZkjg==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "rbush": "2.x"
+      }
+    },
+    "node_modules/@turf/combine": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/combine/-/combine-6.5.0.tgz",
+      "integrity": "sha512-Q8EIC4OtAcHiJB3C4R+FpB4LANiT90t17uOd851qkM2/o6m39bfN5Mv0PWqMZIHWrrosZqRqoY9dJnzz/rJxYQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/concave": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/concave/-/concave-6.5.0.tgz",
+      "integrity": "sha512-I/sUmUC8TC5h/E2vPwxVht+nRt+TnXIPRoztDFvS8/Y0+cBDple9inLSo9nnPXMXidrBlGXZ9vQx/BjZUJgsRQ==",
+      "dependencies": {
+        "@turf/clone": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/tin": "^6.5.0",
+        "topojson-client": "3.x",
+        "topojson-server": "3.x"
+      }
+    },
+    "node_modules/@turf/convex": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/convex/-/convex-6.5.0.tgz",
+      "integrity": "sha512-x7ZwC5z7PJB0SBwNh7JCeCNx7Iu+QSrH7fYgK0RhhNop13TqUlvHMirMLRgf2db1DqUetrAO2qHJeIuasquUWg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "concaveman": "*"
+      }
+    },
+    "node_modules/@turf/destination": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/destination/-/destination-6.5.0.tgz",
+      "integrity": "sha512-4cnWQlNC8d1tItOz9B4pmJdWpXqS0vEvv65bI/Pj/genJnsL7evI0/Xw42RvEGROS481MPiU80xzvwxEvhQiMQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/difference": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/difference/-/difference-6.5.0.tgz",
+      "integrity": "sha512-l8iR5uJqvI+5Fs6leNbhPY5t/a3vipUF/3AeVLpwPQcgmedNXyheYuy07PcMGH5Jdpi5gItOiTqwiU/bUH4b3A==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "polygon-clipping": "^0.15.3"
+      }
+    },
+    "node_modules/@turf/dissolve": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/dissolve/-/dissolve-6.5.0.tgz",
+      "integrity": "sha512-WBVbpm9zLTp0Bl9CE35NomTaOL1c4TQCtEoO43YaAhNEWJOOIhZMFJyr8mbvYruKl817KinT3x7aYjjCMjTAsQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "polygon-clipping": "^0.15.3"
+      }
+    },
+    "node_modules/@turf/distance": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/distance/-/distance-6.5.0.tgz",
+      "integrity": "sha512-xzykSLfoURec5qvQJcfifw/1mJa+5UwByZZ5TZ8iaqjGYN0vomhV9aiSLeYdUGtYRESZ+DYC/OzY+4RclZYgMg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/distance-weight": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/distance-weight/-/distance-weight-6.5.0.tgz",
+      "integrity": "sha512-a8qBKkgVNvPKBfZfEJZnC3DV7dfIsC3UIdpRci/iap/wZLH41EmS90nM+BokAJflUHYy8PqE44wySGWHN1FXrQ==",
+      "dependencies": {
+        "@turf/centroid": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/ellipse": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/ellipse/-/ellipse-6.5.0.tgz",
+      "integrity": "sha512-kuXtwFviw/JqnyJXF1mrR/cb496zDTSbGKtSiolWMNImYzGGkbsAsFTjwJYgD7+4FixHjp0uQPzo70KDf3AIBw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/rhumb-destination": "^6.5.0",
+        "@turf/transform-rotate": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/envelope": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/envelope/-/envelope-6.5.0.tgz",
+      "integrity": "sha512-9Z+FnBWvOGOU4X+fMZxYFs1HjFlkKqsddLuMknRaqcJd6t+NIv5DWvPtDL8ATD2GEExYDiFLwMdckfr1yqJgHA==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/bbox-polygon": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/explode": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/explode/-/explode-6.5.0.tgz",
+      "integrity": "sha512-6cSvMrnHm2qAsace6pw9cDmK2buAlw8+tjeJVXMfMyY+w7ZUi1rprWMsY92J7s2Dar63Bv09n56/1V7+tcj52Q==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/flatten": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/flatten/-/flatten-6.5.0.tgz",
+      "integrity": "sha512-IBZVwoNLVNT6U/bcUUllubgElzpMsNoCw8tLqBw6dfYg9ObGmpEjf9BIYLr7a2Yn5ZR4l7YIj2T7kD5uJjZADQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/flip": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/flip/-/flip-6.5.0.tgz",
+      "integrity": "sha512-oyikJFNjt2LmIXQqgOGLvt70RgE2lyzPMloYWM7OR5oIFGRiBvqVD2hA6MNw6JewIm30fWZ8DQJw1NHXJTJPbg==",
+      "dependencies": {
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/great-circle": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/great-circle/-/great-circle-6.5.0.tgz",
+      "integrity": "sha512-7ovyi3HaKOXdFyN7yy1yOMa8IyOvV46RC1QOQTT+RYUN8ke10eyqExwBpL9RFUPvlpoTzoYbM/+lWPogQlFncg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/helpers": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/helpers/-/helpers-6.5.0.tgz",
+      "integrity": "sha512-VbI1dV5bLFzohYYdgqwikdMVpe7pJ9X3E+dlr425wa2/sMJqYDhTO++ec38/pcPvPE6oD9WEEeU3Xu3gza+VPw=="
+    },
+    "node_modules/@turf/hex-grid": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/hex-grid/-/hex-grid-6.5.0.tgz",
+      "integrity": "sha512-Ln3tc2tgZT8etDOldgc6e741Smg1CsMKAz1/Mlel+MEL5Ynv2mhx3m0q4J9IB1F3a4MNjDeVvm8drAaf9SF33g==",
+      "dependencies": {
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/intersect": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/interpolate": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/interpolate/-/interpolate-6.5.0.tgz",
+      "integrity": "sha512-LSH5fMeiGyuDZ4WrDJNgh81d2DnNDUVJtuFryJFup8PV8jbs46lQGfI3r1DJ2p1IlEJIz3pmAZYeTfMMoeeohw==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/centroid": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/hex-grid": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/point-grid": "^6.5.0",
+        "@turf/square-grid": "^6.5.0",
+        "@turf/triangle-grid": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/intersect": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/intersect/-/intersect-6.5.0.tgz",
+      "integrity": "sha512-2legGJeKrfFkzntcd4GouPugoqPUjexPZnOvfez+3SfIMrHvulw8qV8u7pfVyn2Yqs53yoVCEjS5sEpvQ5YRQg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "polygon-clipping": "^0.15.3"
+      }
+    },
+    "node_modules/@turf/invariant": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/invariant/-/invariant-6.5.0.tgz",
+      "integrity": "sha512-Wv8PRNCtPD31UVbdJE/KVAWKe7l6US+lJItRR/HOEW3eh+U/JwRCSUl/KZ7bmjM/C+zLNoreM2TU6OoLACs4eg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/isobands": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/isobands/-/isobands-6.5.0.tgz",
+      "integrity": "sha512-4h6sjBPhRwMVuFaVBv70YB7eGz+iw0bhPRnp+8JBdX1UPJSXhoi/ZF2rACemRUr0HkdVB/a1r9gC32vn5IAEkw==",
+      "dependencies": {
+        "@turf/area": "^6.5.0",
+        "@turf/bbox": "^6.5.0",
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/explode": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "object-assign": "*"
+      }
+    },
+    "node_modules/@turf/isolines": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/isolines/-/isolines-6.5.0.tgz",
+      "integrity": "sha512-6ElhiLCopxWlv4tPoxiCzASWt/jMRvmp6mRYrpzOm3EUl75OhHKa/Pu6Y9nWtCMmVC/RcWtiiweUocbPLZLm0A==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "object-assign": "*"
+      }
+    },
+    "node_modules/@turf/kinks": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/kinks/-/kinks-6.5.0.tgz",
+      "integrity": "sha512-ViCngdPt1eEL7hYUHR2eHR662GvCgTc35ZJFaNR6kRtr6D8plLaDju0FILeFFWSc+o8e3fwxZEJKmFj9IzPiIQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/length": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/length/-/length-6.5.0.tgz",
+      "integrity": "sha512-5pL5/pnw52fck3oRsHDcSGrj9HibvtlrZ0QNy2OcW8qBFDNgZ4jtl6U7eATVoyWPKBHszW3dWETW+iLV7UARig==",
+      "dependencies": {
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/line-arc": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-arc/-/line-arc-6.5.0.tgz",
+      "integrity": "sha512-I6c+V6mIyEwbtg9P9zSFF89T7QPe1DPTG3MJJ6Cm1MrAY0MdejwQKOpsvNl8LDU2ekHOlz2kHpPVR7VJsoMllA==",
+      "dependencies": {
+        "@turf/circle": "^6.5.0",
+        "@turf/destination": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/line-chunk": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-chunk/-/line-chunk-6.5.0.tgz",
+      "integrity": "sha512-i1FGE6YJaaYa+IJesTfyRRQZP31QouS+wh/pa6O3CC0q4T7LtHigyBSYjrbjSLfn2EVPYGlPCMFEqNWCOkC6zg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/length": "^6.5.0",
+        "@turf/line-slice-along": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/line-intersect": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-intersect/-/line-intersect-6.5.0.tgz",
+      "integrity": "sha512-CS6R1tZvVQD390G9Ea4pmpM6mJGPWoL82jD46y0q1KSor9s6HupMIo1kY4Ny+AEYQl9jd21V3Scz20eldpbTVA==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/line-segment": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "geojson-rbush": "3.x"
+      }
+    },
+    "node_modules/@turf/line-offset": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-offset/-/line-offset-6.5.0.tgz",
+      "integrity": "sha512-CEXZbKgyz8r72qRvPchK0dxqsq8IQBdH275FE6o4MrBkzMcoZsfSjghtXzKaz9vvro+HfIXal0sTk2mqV1lQTw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/line-overlap": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-overlap/-/line-overlap-6.5.0.tgz",
+      "integrity": "sha512-xHOaWLd0hkaC/1OLcStCpfq55lPHpPNadZySDXYiYjEz5HXr1oKmtMYpn0wGizsLwrOixRdEp+j7bL8dPt4ojQ==",
+      "dependencies": {
+        "@turf/boolean-point-on-line": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/line-segment": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/nearest-point-on-line": "^6.5.0",
+        "deep-equal": "1.x",
+        "geojson-rbush": "3.x"
+      }
+    },
+    "node_modules/@turf/line-segment": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-segment/-/line-segment-6.5.0.tgz",
+      "integrity": "sha512-jI625Ho4jSuJESNq66Mmi290ZJ5pPZiQZruPVpmHkUw257Pew0alMmb6YrqYNnLUuiVVONxAAKXUVeeUGtycfw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/line-slice": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-slice/-/line-slice-6.5.0.tgz",
+      "integrity": "sha512-vDqJxve9tBHhOaVVFXqVjF5qDzGtKWviyjbyi2QnSnxyFAmLlLnBfMX8TLQCAf2GxHibB95RO5FBE6I2KVPRuw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/nearest-point-on-line": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/line-slice-along": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-slice-along/-/line-slice-along-6.5.0.tgz",
+      "integrity": "sha512-KHJRU6KpHrAj+BTgTNqby6VCTnDzG6a1sJx/I3hNvqMBLvWVA2IrkR9L9DtsQsVY63IBwVdQDqiwCuZLDQh4Ng==",
+      "dependencies": {
+        "@turf/bearing": "^6.5.0",
+        "@turf/destination": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/line-split": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-split/-/line-split-6.5.0.tgz",
+      "integrity": "sha512-/rwUMVr9OI2ccJjw7/6eTN53URtGThNSD5I0GgxyFXMtxWiloRJ9MTff8jBbtPWrRka/Sh2GkwucVRAEakx9Sw==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/line-intersect": "^6.5.0",
+        "@turf/line-segment": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/nearest-point-on-line": "^6.5.0",
+        "@turf/square": "^6.5.0",
+        "@turf/truncate": "^6.5.0",
+        "geojson-rbush": "3.x"
+      }
+    },
+    "node_modules/@turf/line-to-polygon": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/line-to-polygon/-/line-to-polygon-6.5.0.tgz",
+      "integrity": "sha512-qYBuRCJJL8Gx27OwCD1TMijM/9XjRgXH/m/TyuND4OXedBpIWlK5VbTIO2gJ8OCfznBBddpjiObLBrkuxTpN4Q==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/mask": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/mask/-/mask-6.5.0.tgz",
+      "integrity": "sha512-RQha4aU8LpBrmrkH8CPaaoAfk0Egj5OuXtv6HuCQnHeGNOQt3TQVibTA3Sh4iduq4EPxnZfDjgsOeKtrCA19lg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "polygon-clipping": "^0.15.3"
+      }
+    },
+    "node_modules/@turf/meta": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/meta/-/meta-6.5.0.tgz",
+      "integrity": "sha512-RrArvtsV0vdsCBegoBtOalgdSOfkBrTJ07VkpiCnq/491W67hnMWmDu7e6Ztw0C3WldRYTXkg3SumfdzZxLBHA==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/midpoint": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/midpoint/-/midpoint-6.5.0.tgz",
+      "integrity": "sha512-MyTzV44IwmVI6ec9fB2OgZ53JGNlgOpaYl9ArKoF49rXpL84F9rNATndbe0+MQIhdkw8IlzA6xVP4lZzfMNVCw==",
+      "dependencies": {
+        "@turf/bearing": "^6.5.0",
+        "@turf/destination": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/moran-index": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/moran-index/-/moran-index-6.5.0.tgz",
+      "integrity": "sha512-ItsnhrU2XYtTtTudrM8so4afBCYWNaB0Mfy28NZwLjB5jWuAsvyV+YW+J88+neK/ougKMTawkmjQqodNJaBeLQ==",
+      "dependencies": {
+        "@turf/distance-weight": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/nearest-point": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/nearest-point/-/nearest-point-6.5.0.tgz",
+      "integrity": "sha512-fguV09QxilZv/p94s8SMsXILIAMiaXI5PATq9d7YWijLxWUj6Q/r43kxyoi78Zmwwh1Zfqz9w+bCYUAxZ5+euA==",
+      "dependencies": {
+        "@turf/clone": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/nearest-point-on-line": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/nearest-point-on-line/-/nearest-point-on-line-6.5.0.tgz",
+      "integrity": "sha512-WthrvddddvmymnC+Vf7BrkHGbDOUu6Z3/6bFYUGv1kxw8tiZ6n83/VG6kHz4poHOfS0RaNflzXSkmCi64fLBlg==",
+      "dependencies": {
+        "@turf/bearing": "^6.5.0",
+        "@turf/destination": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/line-intersect": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/nearest-point-to-line": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/nearest-point-to-line/-/nearest-point-to-line-6.5.0.tgz",
+      "integrity": "sha512-PXV7cN0BVzUZdjj6oeb/ESnzXSfWmEMrsfZSDRgqyZ9ytdiIj/eRsnOXLR13LkTdXVOJYDBuf7xt1mLhM4p6+Q==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/point-to-line-distance": "^6.5.0",
+        "object-assign": "*"
+      }
+    },
+    "node_modules/@turf/planepoint": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/planepoint/-/planepoint-6.5.0.tgz",
+      "integrity": "sha512-R3AahA6DUvtFbka1kcJHqZ7DMHmPXDEQpbU5WaglNn7NaCQg9HB0XM0ZfqWcd5u92YXV+Gg8QhC8x5XojfcM4Q==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/point-grid": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/point-grid/-/point-grid-6.5.0.tgz",
+      "integrity": "sha512-Iq38lFokNNtQJnOj/RBKmyt6dlof0yhaHEDELaWHuECm1lIZLY3ZbVMwbs+nXkwTAHjKfS/OtMheUBkw+ee49w==",
+      "dependencies": {
+        "@turf/boolean-within": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/point-on-feature": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/point-on-feature/-/point-on-feature-6.5.0.tgz",
+      "integrity": "sha512-bDpuIlvugJhfcF/0awAQ+QI6Om1Y1FFYE8Y/YdxGRongivix850dTeXCo0mDylFdWFPGDo7Mmh9Vo4VxNwW/TA==",
+      "dependencies": {
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/center": "^6.5.0",
+        "@turf/explode": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/nearest-point": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/point-to-line-distance": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/point-to-line-distance/-/point-to-line-distance-6.5.0.tgz",
+      "integrity": "sha512-opHVQ4vjUhNBly1bob6RWy+F+hsZDH9SA0UW36pIRzfpu27qipU18xup0XXEePfY6+wvhF6yL/WgCO2IbrLqEA==",
+      "dependencies": {
+        "@turf/bearing": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/projection": "^6.5.0",
+        "@turf/rhumb-bearing": "^6.5.0",
+        "@turf/rhumb-distance": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/points-within-polygon": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/points-within-polygon/-/points-within-polygon-6.5.0.tgz",
+      "integrity": "sha512-YyuheKqjliDsBDt3Ho73QVZk1VXX1+zIA2gwWvuz8bR1HXOkcuwk/1J76HuFMOQI3WK78wyAi+xbkx268PkQzQ==",
+      "dependencies": {
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/polygon-smooth": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/polygon-smooth/-/polygon-smooth-6.5.0.tgz",
+      "integrity": "sha512-LO/X/5hfh/Rk4EfkDBpLlVwt3i6IXdtQccDT9rMjXEP32tRgy0VMFmdkNaXoGlSSKf/1mGqLl4y4wHd86DqKbg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/polygon-tangents": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/polygon-tangents/-/polygon-tangents-6.5.0.tgz",
+      "integrity": "sha512-sB4/IUqJMYRQH9jVBwqS/XDitkEfbyqRy+EH/cMRJURTg78eHunvJ708x5r6umXsbiUyQU4eqgPzEylWEQiunw==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/boolean-within": "^6.5.0",
+        "@turf/explode": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/nearest-point": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/polygon-to-line": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/polygon-to-line/-/polygon-to-line-6.5.0.tgz",
+      "integrity": "sha512-5p4n/ij97EIttAq+ewSnKt0ruvuM+LIDzuczSzuHTpq4oS7Oq8yqg5TQ4nzMVuK41r/tALCk7nAoBuw3Su4Gcw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/polygonize": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/polygonize/-/polygonize-6.5.0.tgz",
+      "integrity": "sha512-a/3GzHRaCyzg7tVYHo43QUChCspa99oK4yPqooVIwTC61npFzdrmnywMv0S+WZjHZwK37BrFJGFrZGf6ocmY5w==",
+      "dependencies": {
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/envelope": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/projection": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/projection/-/projection-6.5.0.tgz",
+      "integrity": "sha512-/Pgh9mDvQWWu8HRxqpM+tKz8OzgauV+DiOcr3FCjD6ubDnrrmMJlsf6fFJmggw93mtVPrZRL6yyi9aYCQBOIvg==",
+      "dependencies": {
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/random": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/random/-/random-6.5.0.tgz",
+      "integrity": "sha512-8Q25gQ/XbA7HJAe+eXp4UhcXM9aOOJFaxZ02+XSNwMvY8gtWSCBLVqRcW4OhqilgZ8PeuQDWgBxeo+BIqqFWFQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/rectangle-grid": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/rectangle-grid/-/rectangle-grid-6.5.0.tgz",
+      "integrity": "sha512-yQZ/1vbW68O2KsSB3OZYK+72aWz/Adnf7m2CMKcC+aq6TwjxZjAvlbCOsNUnMAuldRUVN1ph6RXMG4e9KEvKvg==",
+      "dependencies": {
+        "@turf/boolean-intersects": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/rewind": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/rewind/-/rewind-6.5.0.tgz",
+      "integrity": "sha512-IoUAMcHWotBWYwSYuYypw/LlqZmO+wcBpn8ysrBNbazkFNkLf3btSDZMkKJO/bvOzl55imr/Xj4fi3DdsLsbzQ==",
+      "dependencies": {
+        "@turf/boolean-clockwise": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/rhumb-bearing": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/rhumb-bearing/-/rhumb-bearing-6.5.0.tgz",
+      "integrity": "sha512-jMyqiMRK4hzREjQmnLXmkJ+VTNTx1ii8vuqRwJPcTlKbNWfjDz/5JqJlb5NaFDcdMpftWovkW5GevfnuzHnOYA==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/rhumb-destination": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/rhumb-destination/-/rhumb-destination-6.5.0.tgz",
+      "integrity": "sha512-RHNP1Oy+7xTTdRrTt375jOZeHceFbjwohPHlr9Hf68VdHHPMAWgAKqiX2YgSWDcvECVmiGaBKWus1Df+N7eE4Q==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/rhumb-distance": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/rhumb-distance/-/rhumb-distance-6.5.0.tgz",
+      "integrity": "sha512-oKp8KFE8E4huC2Z1a1KNcFwjVOqa99isxNOwfo4g3SUABQ6NezjKDDrnvC4yI5YZ3/huDjULLBvhed45xdCrzg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/sample": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/sample/-/sample-6.5.0.tgz",
+      "integrity": "sha512-kSdCwY7el15xQjnXYW520heKUrHwRvnzx8ka4eYxX9NFeOxaFITLW2G7UtXb6LJK8mmPXI8Aexv23F2ERqzGFg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/sector": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/sector/-/sector-6.5.0.tgz",
+      "integrity": "sha512-cYUOkgCTWqa23SOJBqxoFAc/yGCUsPRdn/ovbRTn1zNTm/Spmk6hVB84LCKOgHqvSF25i0d2kWqpZDzLDdAPbw==",
+      "dependencies": {
+        "@turf/circle": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/line-arc": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/shortest-path": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/shortest-path/-/shortest-path-6.5.0.tgz",
+      "integrity": "sha512-4de5+G7+P4hgSoPwn+SO9QSi9HY5NEV/xRJ+cmoFVRwv2CDsuOPDheHKeuIAhKyeKDvPvPt04XYWbac4insJMg==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/bbox-polygon": "^6.5.0",
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/clean-coords": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/transform-scale": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/simplify": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/simplify/-/simplify-6.5.0.tgz",
+      "integrity": "sha512-USas3QqffPHUY184dwQdP8qsvcVH/PWBYdXY5am7YTBACaQOMAlf6AKJs9FT8jiO6fQpxfgxuEtwmox+pBtlOg==",
+      "dependencies": {
+        "@turf/clean-coords": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/square": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/square/-/square-6.5.0.tgz",
+      "integrity": "sha512-BM2UyWDmiuHCadVhHXKIx5CQQbNCpOxB6S/aCNOCLbhCeypKX5Q0Aosc5YcmCJgkwO5BERCC6Ee7NMbNB2vHmQ==",
+      "dependencies": {
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/square-grid": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/square-grid/-/square-grid-6.5.0.tgz",
+      "integrity": "sha512-mlR0ayUdA+L4c9h7p4k3pX6gPWHNGuZkt2c5II1TJRmhLkW2557d6b/Vjfd1z9OVaajb1HinIs1FMSAPXuuUrA==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/rectangle-grid": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/standard-deviational-ellipse": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/standard-deviational-ellipse/-/standard-deviational-ellipse-6.5.0.tgz",
+      "integrity": "sha512-02CAlz8POvGPFK2BKK8uHGUk/LXb0MK459JVjKxLC2yJYieOBTqEbjP0qaWhiBhGzIxSMaqe8WxZ0KvqdnstHA==",
+      "dependencies": {
+        "@turf/center-mean": "^6.5.0",
+        "@turf/ellipse": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/points-within-polygon": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/tag": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/tag/-/tag-6.5.0.tgz",
+      "integrity": "sha512-XwlBvrOV38CQsrNfrxvBaAPBQgXMljeU0DV8ExOyGM7/hvuGHJw3y8kKnQ4lmEQcmcrycjDQhP7JqoRv8vFssg==",
+      "dependencies": {
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/tesselate": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/tesselate/-/tesselate-6.5.0.tgz",
+      "integrity": "sha512-M1HXuyZFCfEIIKkglh/r5L9H3c5QTEsnMBoZOFQiRnGPGmJWcaBissGb7mTFX2+DKE7FNWXh4TDnZlaLABB0dQ==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "earcut": "^2.0.0"
+      }
+    },
+    "node_modules/@turf/tin": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/tin/-/tin-6.5.0.tgz",
+      "integrity": "sha512-YLYikRzKisfwj7+F+Tmyy/LE3d2H7D4kajajIfc9mlik2+esG7IolsX/+oUz1biguDYsG0DUA8kVYXDkobukfg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/transform-rotate": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/transform-rotate/-/transform-rotate-6.5.0.tgz",
+      "integrity": "sha512-A2Ip1v4246ZmpssxpcL0hhiVBEf4L8lGnSPWTgSv5bWBEoya2fa/0SnFX9xJgP40rMP+ZzRaCN37vLHbv1Guag==",
+      "dependencies": {
+        "@turf/centroid": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/rhumb-bearing": "^6.5.0",
+        "@turf/rhumb-destination": "^6.5.0",
+        "@turf/rhumb-distance": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/transform-scale": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/transform-scale/-/transform-scale-6.5.0.tgz",
+      "integrity": "sha512-VsATGXC9rYM8qTjbQJ/P7BswKWXHdnSJ35JlV4OsZyHBMxJQHftvmZJsFbOqVtQnIQIzf2OAly6rfzVV9QLr7g==",
+      "dependencies": {
+        "@turf/bbox": "^6.5.0",
+        "@turf/center": "^6.5.0",
+        "@turf/centroid": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/rhumb-bearing": "^6.5.0",
+        "@turf/rhumb-destination": "^6.5.0",
+        "@turf/rhumb-distance": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/transform-translate": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/transform-translate/-/transform-translate-6.5.0.tgz",
+      "integrity": "sha512-NABLw5VdtJt/9vSstChp93pc6oel4qXEos56RBMsPlYB8hzNTEKYtC146XJvyF4twJeeYS8RVe1u7KhoFwEM5w==",
+      "dependencies": {
+        "@turf/clone": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/rhumb-destination": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/triangle-grid": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/triangle-grid/-/triangle-grid-6.5.0.tgz",
+      "integrity": "sha512-2jToUSAS1R1htq4TyLQYPTIsoy6wg3e3BQXjm2rANzw4wPQCXGOxrur1Fy9RtzwqwljlC7DF4tg0OnWr8RjmfA==",
+      "dependencies": {
+        "@turf/distance": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/intersect": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/truncate": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/truncate/-/truncate-6.5.0.tgz",
+      "integrity": "sha512-pFxg71pLk+eJj134Z9yUoRhIi8vqnnKvCYwdT4x/DQl/19RVdq1tV3yqOT3gcTQNfniteylL5qV1uTBDV5sgrg==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/turf": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/turf/-/turf-6.5.0.tgz",
+      "integrity": "sha512-ipMCPnhu59bh92MNt8+pr1VZQhHVuTMHklciQURo54heoxRzt1neNYZOBR6jdL+hNsbDGAECMuIpAutX+a3Y+w==",
+      "dependencies": {
+        "@turf/along": "^6.5.0",
+        "@turf/angle": "^6.5.0",
+        "@turf/area": "^6.5.0",
+        "@turf/bbox": "^6.5.0",
+        "@turf/bbox-clip": "^6.5.0",
+        "@turf/bbox-polygon": "^6.5.0",
+        "@turf/bearing": "^6.5.0",
+        "@turf/bezier-spline": "^6.5.0",
+        "@turf/boolean-clockwise": "^6.5.0",
+        "@turf/boolean-contains": "^6.5.0",
+        "@turf/boolean-crosses": "^6.5.0",
+        "@turf/boolean-disjoint": "^6.5.0",
+        "@turf/boolean-equal": "^6.5.0",
+        "@turf/boolean-intersects": "^6.5.0",
+        "@turf/boolean-overlap": "^6.5.0",
+        "@turf/boolean-parallel": "^6.5.0",
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/boolean-point-on-line": "^6.5.0",
+        "@turf/boolean-within": "^6.5.0",
+        "@turf/buffer": "^6.5.0",
+        "@turf/center": "^6.5.0",
+        "@turf/center-mean": "^6.5.0",
+        "@turf/center-median": "^6.5.0",
+        "@turf/center-of-mass": "^6.5.0",
+        "@turf/centroid": "^6.5.0",
+        "@turf/circle": "^6.5.0",
+        "@turf/clean-coords": "^6.5.0",
+        "@turf/clone": "^6.5.0",
+        "@turf/clusters": "^6.5.0",
+        "@turf/clusters-dbscan": "^6.5.0",
+        "@turf/clusters-kmeans": "^6.5.0",
+        "@turf/collect": "^6.5.0",
+        "@turf/combine": "^6.5.0",
+        "@turf/concave": "^6.5.0",
+        "@turf/convex": "^6.5.0",
+        "@turf/destination": "^6.5.0",
+        "@turf/difference": "^6.5.0",
+        "@turf/dissolve": "^6.5.0",
+        "@turf/distance": "^6.5.0",
+        "@turf/distance-weight": "^6.5.0",
+        "@turf/ellipse": "^6.5.0",
+        "@turf/envelope": "^6.5.0",
+        "@turf/explode": "^6.5.0",
+        "@turf/flatten": "^6.5.0",
+        "@turf/flip": "^6.5.0",
+        "@turf/great-circle": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/hex-grid": "^6.5.0",
+        "@turf/interpolate": "^6.5.0",
+        "@turf/intersect": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "@turf/isobands": "^6.5.0",
+        "@turf/isolines": "^6.5.0",
+        "@turf/kinks": "^6.5.0",
+        "@turf/length": "^6.5.0",
+        "@turf/line-arc": "^6.5.0",
+        "@turf/line-chunk": "^6.5.0",
+        "@turf/line-intersect": "^6.5.0",
+        "@turf/line-offset": "^6.5.0",
+        "@turf/line-overlap": "^6.5.0",
+        "@turf/line-segment": "^6.5.0",
+        "@turf/line-slice": "^6.5.0",
+        "@turf/line-slice-along": "^6.5.0",
+        "@turf/line-split": "^6.5.0",
+        "@turf/line-to-polygon": "^6.5.0",
+        "@turf/mask": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "@turf/midpoint": "^6.5.0",
+        "@turf/moran-index": "^6.5.0",
+        "@turf/nearest-point": "^6.5.0",
+        "@turf/nearest-point-on-line": "^6.5.0",
+        "@turf/nearest-point-to-line": "^6.5.0",
+        "@turf/planepoint": "^6.5.0",
+        "@turf/point-grid": "^6.5.0",
+        "@turf/point-on-feature": "^6.5.0",
+        "@turf/point-to-line-distance": "^6.5.0",
+        "@turf/points-within-polygon": "^6.5.0",
+        "@turf/polygon-smooth": "^6.5.0",
+        "@turf/polygon-tangents": "^6.5.0",
+        "@turf/polygon-to-line": "^6.5.0",
+        "@turf/polygonize": "^6.5.0",
+        "@turf/projection": "^6.5.0",
+        "@turf/random": "^6.5.0",
+        "@turf/rewind": "^6.5.0",
+        "@turf/rhumb-bearing": "^6.5.0",
+        "@turf/rhumb-destination": "^6.5.0",
+        "@turf/rhumb-distance": "^6.5.0",
+        "@turf/sample": "^6.5.0",
+        "@turf/sector": "^6.5.0",
+        "@turf/shortest-path": "^6.5.0",
+        "@turf/simplify": "^6.5.0",
+        "@turf/square": "^6.5.0",
+        "@turf/square-grid": "^6.5.0",
+        "@turf/standard-deviational-ellipse": "^6.5.0",
+        "@turf/tag": "^6.5.0",
+        "@turf/tesselate": "^6.5.0",
+        "@turf/tin": "^6.5.0",
+        "@turf/transform-rotate": "^6.5.0",
+        "@turf/transform-scale": "^6.5.0",
+        "@turf/transform-translate": "^6.5.0",
+        "@turf/triangle-grid": "^6.5.0",
+        "@turf/truncate": "^6.5.0",
+        "@turf/union": "^6.5.0",
+        "@turf/unkink-polygon": "^6.5.0",
+        "@turf/voronoi": "^6.5.0"
+      }
+    },
+    "node_modules/@turf/union": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/union/-/union-6.5.0.tgz",
+      "integrity": "sha512-igYWCwP/f0RFHIlC2c0SKDuM/ObBaqSljI3IdV/x71805QbIvY/BYGcJdyNcgEA6cylIGl/0VSlIbpJHZ9ldhw==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "polygon-clipping": "^0.15.3"
+      }
+    },
+    "node_modules/@turf/unkink-polygon": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/unkink-polygon/-/unkink-polygon-6.5.0.tgz",
+      "integrity": "sha512-8QswkzC0UqKmN1DT6HpA9upfa1HdAA5n6bbuzHy8NJOX8oVizVAqfEPY0wqqTgboDjmBR4yyImsdPGUl3gZ8JQ==",
+      "dependencies": {
+        "@turf/area": "^6.5.0",
+        "@turf/boolean-point-in-polygon": "^6.5.0",
+        "@turf/helpers": "^6.5.0",
+        "@turf/meta": "^6.5.0",
+        "rbush": "^2.0.1"
+      }
+    },
+    "node_modules/@turf/voronoi": {
+      "version": "6.5.0",
+      "resolved": "https://registry.npmmirror.com/@turf/voronoi/-/voronoi-6.5.0.tgz",
+      "integrity": "sha512-C/xUsywYX+7h1UyNqnydHXiun4UPjK88VDghtoRypR9cLlb7qozkiLRphQxxsCM0KxyxpVPHBVQXdAL3+Yurow==",
+      "dependencies": {
+        "@turf/helpers": "^6.5.0",
+        "@turf/invariant": "^6.5.0",
+        "d3-voronoi": "1.1.2"
+      }
+    },
+    "node_modules/@types/geojson": {
+      "version": "7946.0.8",
+      "resolved": "https://registry.npmmirror.com/@types/geojson/-/geojson-7946.0.8.tgz",
+      "integrity": "sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA=="
+    },
+    "node_modules/@types/node": {
+      "version": "18.15.1",
+      "license": "MIT"
+    },
+    "node_modules/asynckit": {
+      "version": "0.4.0",
+      "license": "MIT"
+    },
+    "node_modules/axios": {
+      "version": "1.3.4",
+      "license": "MIT",
+      "dependencies": {
+        "follow-redirects": "^1.15.0",
+        "form-data": "^4.0.0",
+        "proxy-from-env": "^1.1.0"
+      }
+    },
+    "node_modules/base-64": {
+      "version": "1.0.0",
+      "license": "MIT"
+    },
+    "node_modules/call-bind": {
+      "version": "1.0.2",
+      "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.2.tgz",
+      "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+      "dependencies": {
+        "function-bind": "^1.1.1",
+        "get-intrinsic": "^1.0.2"
+      }
+    },
+    "node_modules/clipper-lib": {
+      "version": "6.4.2",
+      "resolved": "https://registry.npmmirror.com/clipper-lib/-/clipper-lib-6.4.2.tgz",
+      "integrity": "sha512-knglhjQX5ihNj/XCIs6zCHrTemdvHY3LPZP9XB2nq2/3igyYMFueFXtfp84baJvEE+f8pO1ZS4UVeEgmLnAprQ=="
+    },
+    "node_modules/combined-stream": {
+      "version": "1.0.8",
+      "license": "MIT",
+      "dependencies": {
+        "delayed-stream": "~1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.8"
+      }
+    },
+    "node_modules/commander": {
+      "version": "2.20.3",
+      "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz",
+      "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
+    },
+    "node_modules/concaveman": {
+      "version": "1.2.1",
+      "resolved": "https://registry.npmmirror.com/concaveman/-/concaveman-1.2.1.tgz",
+      "integrity": "sha512-PwZYKaM/ckQSa8peP5JpVr7IMJ4Nn/MHIaWUjP4be+KoZ7Botgs8seAZGpmaOM+UZXawcdYRao/px9ycrCihHw==",
+      "dependencies": {
+        "point-in-polygon": "^1.1.0",
+        "rbush": "^3.0.1",
+        "robust-predicates": "^2.0.4",
+        "tinyqueue": "^2.0.3"
+      }
+    },
+    "node_modules/concaveman/node_modules/quickselect": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmmirror.com/quickselect/-/quickselect-2.0.0.tgz",
+      "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw=="
+    },
+    "node_modules/concaveman/node_modules/rbush": {
+      "version": "3.0.1",
+      "resolved": "https://registry.npmmirror.com/rbush/-/rbush-3.0.1.tgz",
+      "integrity": "sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==",
+      "dependencies": {
+        "quickselect": "^2.0.0"
+      }
+    },
+    "node_modules/core-util-is": {
+      "version": "1.0.3",
+      "license": "MIT"
+    },
+    "node_modules/d3-array": {
+      "version": "1.2.4",
+      "resolved": "https://registry.npmmirror.com/d3-array/-/d3-array-1.2.4.tgz",
+      "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw=="
+    },
+    "node_modules/d3-geo": {
+      "version": "1.7.1",
+      "resolved": "https://registry.npmmirror.com/d3-geo/-/d3-geo-1.7.1.tgz",
+      "integrity": "sha512-O4AempWAr+P5qbk2bC2FuN/sDW4z+dN2wDf9QV3bxQt4M5HfOEeXLgJ/UKQW0+o1Dj8BE+L5kiDbdWUMjsmQpw==",
+      "dependencies": {
+        "d3-array": "1"
+      }
+    },
+    "node_modules/d3-voronoi": {
+      "version": "1.1.2",
+      "resolved": "https://registry.npmmirror.com/d3-voronoi/-/d3-voronoi-1.1.2.tgz",
+      "integrity": "sha512-RhGS1u2vavcO7ay7ZNAPo4xeDh/VYeGof3x5ZLJBQgYhLegxr3s5IykvWmJ94FTU6mcbtp4sloqZ54mP6R4Utw=="
+    },
+    "node_modules/deep-equal": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmmirror.com/deep-equal/-/deep-equal-1.1.1.tgz",
+      "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==",
+      "dependencies": {
+        "is-arguments": "^1.0.4",
+        "is-date-object": "^1.0.1",
+        "is-regex": "^1.0.4",
+        "object-is": "^1.0.1",
+        "object-keys": "^1.1.1",
+        "regexp.prototype.flags": "^1.2.0"
+      }
+    },
+    "node_modules/define-properties": {
+      "version": "1.2.0",
+      "resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.0.tgz",
+      "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==",
+      "dependencies": {
+        "has-property-descriptors": "^1.0.0",
+        "object-keys": "^1.1.1"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/delayed-stream": {
+      "version": "1.0.0",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.4.0"
+      }
+    },
+    "node_modules/density-clustering": {
+      "version": "1.3.0",
+      "resolved": "https://registry.npmmirror.com/density-clustering/-/density-clustering-1.3.0.tgz",
+      "integrity": "sha512-icpmBubVTwLnsaor9qH/4tG5+7+f61VcqMN3V3pm9sxxSCt2Jcs0zWOgwZW9ARJYaKD3FumIgHiMOcIMRRAzFQ=="
+    },
+    "node_modules/earcut": {
+      "version": "2.2.4",
+      "resolved": "https://registry.npmmirror.com/earcut/-/earcut-2.2.4.tgz",
+      "integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ=="
+    },
+    "node_modules/file-saver": {
+      "version": "2.0.5",
+      "license": "MIT"
+    },
+    "node_modules/follow-redirects": {
+      "version": "1.15.2",
+      "funding": [
+        {
+          "type": "individual",
+          "url": "https://github.com/sponsors/RubenVerborgh"
+        }
+      ],
+      "license": "MIT",
+      "engines": {
+        "node": ">=4.0"
+      },
+      "peerDependenciesMeta": {
+        "debug": {
+          "optional": true
+        }
+      }
+    },
+    "node_modules/form-data": {
+      "version": "4.0.0",
+      "license": "MIT",
+      "dependencies": {
+        "asynckit": "^0.4.0",
+        "combined-stream": "^1.0.8",
+        "mime-types": "^2.1.12"
+      },
+      "engines": {
+        "node": ">= 6"
+      }
+    },
+    "node_modules/function-bind": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz",
+      "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
+    },
+    "node_modules/functions-have-names": {
+      "version": "1.2.3",
+      "resolved": "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz",
+      "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ=="
+    },
+    "node_modules/geojson-equality": {
+      "version": "0.1.6",
+      "resolved": "https://registry.npmmirror.com/geojson-equality/-/geojson-equality-0.1.6.tgz",
+      "integrity": "sha512-TqG8YbqizP3EfwP5Uw4aLu6pKkg6JQK9uq/XZ1lXQntvTHD1BBKJWhNpJ2M0ax6TuWMP3oyx6Oq7FCIfznrgpQ==",
+      "dependencies": {
+        "deep-equal": "^1.0.0"
+      }
+    },
+    "node_modules/geojson-rbush": {
+      "version": "3.2.0",
+      "resolved": "https://registry.npmmirror.com/geojson-rbush/-/geojson-rbush-3.2.0.tgz",
+      "integrity": "sha512-oVltQTXolxvsz1sZnutlSuLDEcQAKYC/uXt9zDzJJ6bu0W+baTI8LZBaTup5afzibEH4N3jlq2p+a152wlBJ7w==",
+      "dependencies": {
+        "@turf/bbox": "*",
+        "@turf/helpers": "6.x",
+        "@turf/meta": "6.x",
+        "@types/geojson": "7946.0.8",
+        "rbush": "^3.0.1"
+      }
+    },
+    "node_modules/geojson-rbush/node_modules/quickselect": {
+      "version": "2.0.0",
+      "resolved": "https://registry.npmmirror.com/quickselect/-/quickselect-2.0.0.tgz",
+      "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw=="
+    },
+    "node_modules/geojson-rbush/node_modules/rbush": {
+      "version": "3.0.1",
+      "resolved": "https://registry.npmmirror.com/rbush/-/rbush-3.0.1.tgz",
+      "integrity": "sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==",
+      "dependencies": {
+        "quickselect": "^2.0.0"
+      }
+    },
+    "node_modules/geotiff": {
+      "version": "2.0.7",
+      "license": "MIT",
+      "dependencies": {
+        "@petamoriken/float16": "^3.4.7",
+        "lerc": "^3.0.0",
+        "pako": "^2.0.4",
+        "parse-headers": "^2.0.2",
+        "quick-lru": "^6.1.1",
+        "web-worker": "^1.2.0",
+        "xml-utils": "^1.0.2"
+      },
+      "engines": {
+        "node": ">=10.19"
+      }
+    },
+    "node_modules/get-intrinsic": {
+      "version": "1.2.0",
+      "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz",
+      "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==",
+      "dependencies": {
+        "function-bind": "^1.1.1",
+        "has": "^1.0.3",
+        "has-symbols": "^1.0.3"
+      }
+    },
+    "node_modules/google-protobuf": {
+      "version": "3.21.2",
+      "license": "(BSD-3-Clause AND Apache-2.0)"
+    },
+    "node_modules/grpc-web": {
+      "version": "1.4.2",
+      "license": "Apache-2.0"
+    },
+    "node_modules/has": {
+      "version": "1.0.3",
+      "resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz",
+      "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+      "dependencies": {
+        "function-bind": "^1.1.1"
+      },
+      "engines": {
+        "node": ">= 0.4.0"
+      }
+    },
+    "node_modules/has-property-descriptors": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
+      "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
+      "dependencies": {
+        "get-intrinsic": "^1.1.1"
+      }
+    },
+    "node_modules/has-symbols": {
+      "version": "1.0.3",
+      "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz",
+      "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/has-tostringtag": {
+      "version": "1.0.0",
+      "resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
+      "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
+      "dependencies": {
+        "has-symbols": "^1.0.2"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/immediate": {
+      "version": "3.0.6",
+      "license": "MIT"
+    },
+    "node_modules/inherits": {
+      "version": "2.0.4",
+      "license": "ISC"
+    },
+    "node_modules/is-arguments": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmmirror.com/is-arguments/-/is-arguments-1.1.1.tgz",
+      "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
+      "dependencies": {
+        "call-bind": "^1.0.2",
+        "has-tostringtag": "^1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/is-date-object": {
+      "version": "1.0.5",
+      "resolved": "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz",
+      "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
+      "dependencies": {
+        "has-tostringtag": "^1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/is-regex": {
+      "version": "1.1.4",
+      "resolved": "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz",
+      "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
+      "dependencies": {
+        "call-bind": "^1.0.2",
+        "has-tostringtag": "^1.0.0"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/isarray": {
+      "version": "1.0.0",
+      "license": "MIT"
+    },
+    "node_modules/jszip": {
+      "version": "3.10.1",
+      "license": "(MIT OR GPL-3.0-or-later)",
+      "dependencies": {
+        "lie": "~3.3.0",
+        "pako": "~1.0.2",
+        "readable-stream": "~2.3.6",
+        "setimmediate": "^1.0.5"
+      }
+    },
+    "node_modules/jszip/node_modules/pako": {
+      "version": "1.0.11",
+      "license": "(MIT AND Zlib)"
+    },
+    "node_modules/leaflet": {
+      "version": "1.9.3",
+      "resolved": "https://registry.npmmirror.com/leaflet/-/leaflet-1.9.3.tgz",
+      "integrity": "sha512-iB2cR9vAkDOu5l3HAay2obcUHZ7xwUBBjph8+PGtmW/2lYhbLizWtG7nTeYht36WfOslixQF9D/uSIzhZgGMfQ=="
+    },
+    "node_modules/leaflet-clipper": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmmirror.com/leaflet-clipper/-/leaflet-clipper-1.1.0.tgz",
+      "integrity": "sha512-HoxzvZ++ROhLLkKgPkT/P/HAcJCA6eL8nEuWTASg1eilz9Bi4qaYYO0vpNQSyn+YR5TY9nfCGSgcsviA6ZYlow==",
+      "dependencies": {
+        "clipper-lib": "^6.2.1"
+      }
+    },
+    "node_modules/leaflet.motion": {
+      "version": "0.3.2",
+      "resolved": "https://registry.npmmirror.com/leaflet.motion/-/leaflet.motion-0.3.2.tgz",
+      "integrity": "sha512-PqvJ86zBSsIvFgKi9kNj7Q6xvo92zhC0smfhtkYGxrjFhRXwGw8PdQJP2UB8YWReRE6r7iy9icJvKG/z0CBW4Q=="
+    },
+    "node_modules/lerc": {
+      "version": "3.0.0",
+      "license": "Apache-2.0"
+    },
+    "node_modules/lie": {
+      "version": "3.3.0",
+      "license": "MIT",
+      "dependencies": {
+        "immediate": "~3.0.5"
+      }
+    },
+    "node_modules/lodash": {
+      "version": "4.17.21",
+      "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz",
+      "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
+    },
+    "node_modules/long": {
+      "version": "5.2.1",
+      "license": "Apache-2.0"
+    },
+    "node_modules/mime-db": {
+      "version": "1.52.0",
+      "license": "MIT",
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/mime-types": {
+      "version": "2.1.35",
+      "license": "MIT",
+      "dependencies": {
+        "mime-db": "1.52.0"
+      },
+      "engines": {
+        "node": ">= 0.6"
+      }
+    },
+    "node_modules/object-assign": {
+      "version": "4.1.1",
+      "resolved": "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz",
+      "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
+    "node_modules/object-is": {
+      "version": "1.1.5",
+      "resolved": "https://registry.npmmirror.com/object-is/-/object-is-1.1.5.tgz",
+      "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==",
+      "dependencies": {
+        "call-bind": "^1.0.2",
+        "define-properties": "^1.1.3"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/object-keys": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz",
+      "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/pako": {
+      "version": "2.1.0",
+      "license": "(MIT AND Zlib)"
+    },
+    "node_modules/parse-headers": {
+      "version": "2.0.5",
+      "license": "MIT"
+    },
+    "node_modules/point-in-polygon": {
+      "version": "1.1.0",
+      "resolved": "https://registry.npmmirror.com/point-in-polygon/-/point-in-polygon-1.1.0.tgz",
+      "integrity": "sha512-3ojrFwjnnw8Q9242TzgXuTD+eKiutbzyslcq1ydfu82Db2y+Ogbmyrkpv0Hgj31qwT3lbS9+QAAO/pIQM35XRw=="
+    },
+    "node_modules/polygon-clipping": {
+      "version": "0.15.3",
+      "resolved": "https://registry.npmmirror.com/polygon-clipping/-/polygon-clipping-0.15.3.tgz",
+      "integrity": "sha512-ho0Xx5DLkgxRx/+n4O74XyJ67DcyN3Tu9bGYKsnTukGAW6ssnuak6Mwcyb1wHy9MZc9xsUWqIoiazkZB5weECg==",
+      "dependencies": {
+        "splaytree": "^3.1.0"
+      }
+    },
+    "node_modules/process-nextick-args": {
+      "version": "2.0.1",
+      "license": "MIT"
+    },
+    "node_modules/protobufjs": {
+      "version": "7.2.2",
+      "hasInstallScript": true,
+      "license": "BSD-3-Clause",
+      "dependencies": {
+        "@protobufjs/aspromise": "^1.1.2",
+        "@protobufjs/base64": "^1.1.2",
+        "@protobufjs/codegen": "^2.0.4",
+        "@protobufjs/eventemitter": "^1.1.0",
+        "@protobufjs/fetch": "^1.1.0",
+        "@protobufjs/float": "^1.0.2",
+        "@protobufjs/inquire": "^1.1.0",
+        "@protobufjs/path": "^1.1.2",
+        "@protobufjs/pool": "^1.1.0",
+        "@protobufjs/utf8": "^1.1.0",
+        "@types/node": ">=13.7.0",
+        "long": "^5.0.0"
+      },
+      "engines": {
+        "node": ">=12.0.0"
+      }
+    },
+    "node_modules/proxy-from-env": {
+      "version": "1.1.0",
+      "license": "MIT"
+    },
+    "node_modules/quick-lru": {
+      "version": "6.1.1",
+      "license": "MIT",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://github.com/sponsors/sindresorhus"
+      }
+    },
+    "node_modules/quickselect": {
+      "version": "1.1.1",
+      "resolved": "https://registry.npmmirror.com/quickselect/-/quickselect-1.1.1.tgz",
+      "integrity": "sha512-qN0Gqdw4c4KGPsBOQafj6yj/PA6c/L63f6CaZ/DCF/xF4Esu3jVmKLUDYxghFx8Kb/O7y9tI7x2RjTSXwdK1iQ=="
+    },
+    "node_modules/rbush": {
+      "version": "2.0.2",
+      "resolved": "https://registry.npmmirror.com/rbush/-/rbush-2.0.2.tgz",
+      "integrity": "sha512-XBOuALcTm+O/H8G90b6pzu6nX6v2zCKiFG4BJho8a+bY6AER6t8uQUZdi5bomQc0AprCWhEGa7ncAbbRap0bRA==",
+      "dependencies": {
+        "quickselect": "^1.0.1"
+      }
+    },
+    "node_modules/readable-stream": {
+      "version": "2.3.8",
+      "license": "MIT",
+      "dependencies": {
+        "core-util-is": "~1.0.0",
+        "inherits": "~2.0.3",
+        "isarray": "~1.0.0",
+        "process-nextick-args": "~2.0.0",
+        "safe-buffer": "~5.1.1",
+        "string_decoder": "~1.1.1",
+        "util-deprecate": "~1.0.1"
+      }
+    },
+    "node_modules/regexp.prototype.flags": {
+      "version": "1.5.0",
+      "resolved": "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz",
+      "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==",
+      "dependencies": {
+        "call-bind": "^1.0.2",
+        "define-properties": "^1.2.0",
+        "functions-have-names": "^1.2.3"
+      },
+      "engines": {
+        "node": ">= 0.4"
+      }
+    },
+    "node_modules/robust-predicates": {
+      "version": "2.0.4",
+      "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-2.0.4.tgz",
+      "integrity": "sha512-l4NwboJM74Ilm4VKfbAtFeGq7aEjWL+5kVFcmgFA2MrdnQWx9iE/tUGvxY5HyMI7o/WpSIUFLbC5fbeaHgSCYg=="
+    },
+    "node_modules/safe-buffer": {
+      "version": "5.1.2",
+      "license": "MIT"
+    },
+    "node_modules/setimmediate": {
+      "version": "1.0.5",
+      "license": "MIT"
+    },
+    "node_modules/skmeans": {
+      "version": "0.9.7",
+      "resolved": "https://registry.npmmirror.com/skmeans/-/skmeans-0.9.7.tgz",
+      "integrity": "sha512-hNj1/oZ7ygsfmPZ7ZfN5MUBRoGg1gtpnImuJBgLO0ljQ67DtJuiQaiYdS4lUA6s0KCwnPhGivtC/WRwIZLkHyg=="
+    },
+    "node_modules/splaytree": {
+      "version": "3.1.2",
+      "resolved": "https://registry.npmmirror.com/splaytree/-/splaytree-3.1.2.tgz",
+      "integrity": "sha512-4OM2BJgC5UzrhVnnJA4BkHKGtjXNzzUfpQjCO8I05xYPsfS/VuQDwjCGGMi8rYQilHEV4j8NBqTFbls/PZEE7A=="
+    },
+    "node_modules/string_decoder": {
+      "version": "1.1.1",
+      "license": "MIT",
+      "dependencies": {
+        "safe-buffer": "~5.1.0"
+      }
+    },
+    "node_modules/text-decoding": {
+      "version": "1.0.0",
+      "license": "MIT"
+    },
+    "node_modules/tinyqueue": {
+      "version": "2.0.3",
+      "resolved": "https://registry.npmmirror.com/tinyqueue/-/tinyqueue-2.0.3.tgz",
+      "integrity": "sha512-ppJZNDuKGgxzkHihX8v9v9G5f+18gzaTfrukGrq6ueg0lmH4nqVnA2IPG0AEH3jKEk2GRJCUhDoqpoiw3PHLBA=="
+    },
+    "node_modules/topojson-client": {
+      "version": "3.1.0",
+      "resolved": "https://registry.npmmirror.com/topojson-client/-/topojson-client-3.1.0.tgz",
+      "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==",
+      "dependencies": {
+        "commander": "2"
+      },
+      "bin": {
+        "topo2geo": "bin/topo2geo",
+        "topomerge": "bin/topomerge",
+        "topoquantize": "bin/topoquantize"
+      }
+    },
+    "node_modules/topojson-server": {
+      "version": "3.0.1",
+      "resolved": "https://registry.npmmirror.com/topojson-server/-/topojson-server-3.0.1.tgz",
+      "integrity": "sha512-/VS9j/ffKr2XAOjlZ9CgyyeLmgJ9dMwq6Y0YEON8O7p/tGGk+dCWnrE03zEdu7i4L7YsFZLEPZPzCvcB7lEEXw==",
+      "dependencies": {
+        "commander": "2"
+      },
+      "bin": {
+        "geo2topo": "bin/geo2topo"
+      }
+    },
+    "node_modules/turf-jsts": {
+      "version": "1.2.3",
+      "resolved": "https://registry.npmmirror.com/turf-jsts/-/turf-jsts-1.2.3.tgz",
+      "integrity": "sha512-Ja03QIJlPuHt4IQ2FfGex4F4JAr8m3jpaHbFbQrgwr7s7L6U8ocrHiF3J1+wf9jzhGKxvDeaCAnGDot8OjGFyA=="
+    },
+    "node_modules/util-deprecate": {
+      "version": "1.0.2",
+      "license": "MIT"
+    },
+    "node_modules/web-worker": {
+      "version": "1.2.0",
+      "license": "Apache-2.0"
+    },
+    "node_modules/xml-utils": {
+      "version": "1.3.0",
+      "license": "CC0-1.0"
+    }
+  }
+}

+ 21 - 0
node_modules/@geoman-io/leaflet-geoman-free/LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2017 Sumit Kumar
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 1306 - 0
node_modules/@geoman-io/leaflet-geoman-free/README.md

@@ -0,0 +1,1306 @@
+<p align="center">  
+  <a href="https://geoman.io/leaflet-geoman">  
+    <img width="130" alt="Geoman Logo" src="https://file-jxzyjgqwut.now.sh/" />  
+  </a>  
+</p>  
+<h1 align="center">  
+  Leaflet-Geoman  
+</h1>  
+<p align="center">  
+  <strong>Leaflet Plugin For Creating And Editing Geometry Layers</strong><br>  
+  Draw, Edit, Drag, Cut, Rotate, Split⭐, Scale⭐, Measure⭐, Snap and Pin⭐ Layers<br>  
+  Supports Markers, CircleMarkers, Polylines, Polygons, Circles, Rectangles, ImageOverlays, LayerGroups, GeoJSON, MultiLineStrings and MultiPolygons  
+</p>  
+<p align="center">  
+  <a href="https://badge.fury.io/js/%40geoman-io%2Fleaflet-geoman-free">  
+    <img src="https://badge.fury.io/js/%40geoman-io%2Fleaflet-geoman-free.svg" alt="npm version" height="18">  
+  </a>  
+  <a href="#">  
+    <img src="https://github.com/geoman-io/leaflet-geoman/workflows/Tests/badge.svg" alt="" />  
+  </a>  
+  <a href="https://github.com/geoman-io/leaflet-geoman">  
+    <img src="http://githubbadges.com/star.svg?user=geoman-io&repo=leaflet-geoman&style=default" alt="star this repo" />  
+  </a>  
+  <a href="https://www.npmjs.com/package/leaflet.pm">  
+    <img src="https://img.shields.io/npm/dt/leaflet.pm.svg" alt="NPM Downloads" />  
+  </a>  
+  <a href="https://www.npmjs.com/package/@geoman-io/leaflet-geoman-free">  
+    <img src="https://img.shields.io/npm/dt/@geoman-io/leaflet-geoman-free.svg" alt="NPM Downloads" />  
+  </a>  
+</p>  
+  
+## [👉 Live Demo 👈](https://geoman.io/leaflet-geoman)  
+  
+![Demo](https://file-gmeileqfmg.now.sh/)  
+  
+### Using Leaflet-Geoman in production?  
+[Please consider sponsoring its development](https://github.com/sponsors/codeofsumit)  
+  
+#### Leaflet-Geoman Pro ⭐  
+Features marked with ⭐ in this documentation are available in Leaflet-Geoman Pro. [Purchase Pro](https://geoman.io/leaflet-geoman-pro#pricing) or [get in touch](mailto:sumit@geoman.io)  
+  
+## Documentation  
+  
+- [Installation](#installation)  
+- [Getting Started](#getting-started)  
+- [Draw Mode](#draw-mode)  
+- [Edit Mode](#edit-mode)  
+- [Drag Mode](#drag-mode)  
+- [Removal Mode](#removal-mode)  
+- [Cut Mode](#cut-mode)  
+- [Rotation Mode](#rotation-mode)  
+- [Split Mode ⭐](#split-mode-)
+- [Scale Mode ⭐](#scale-mode-)
+- [Text Layer](#text-layer)
+- [Options](#options)  
+  - [Snapping](#snapping)
+  - [Pinning ⭐](#pinning-)
+  - [Measurement ⭐](#measurement-)
+  - [AutoTracing ⭐](#autotracing-)
+- [LayerGroup](#layergroup)
+- [Customization](#customize)  
+- [Toolbar](#toolbar)  
+- [Utils](#utils)  
+- [Lazy loading](#lazy-loading)  
+- [Need a feature? | Existing Feature Requests](https://github.com/geoman-io/Leaflet-Geoman/issues?q=is%3Aissue+is%3Aclosed+label%3A%22feature+request%22+sort%3Areactions-%2B1-desc)  
+  
+  
+### Installation  
+  
+#### Migrate from Leaflet.PM  
+  
+```  
+npm uninstall leaflet.pm  
+npm i @geoman-io/leaflet-geoman-free  
+```  
+That's it.  
+  
+#### Install via npm  
+  
+```  
+npm i @geoman-io/leaflet-geoman-free  
+```  
+  
+#### Install Manually  
+  
+Download  
+[`leaflet-geoman.css`](https://unpkg.com/@geoman-io/leaflet-geoman-free@latest/dist/leaflet-geoman.css) and  
+[`leaflet-geoman.min.js`](https://unpkg.com/@geoman-io/leaflet-geoman-free@latest/dist/leaflet-geoman.min.js)  
+and include them in your project.  
+  
+#### Include via CDN  
+  
+CSS  
+  
+<!-- prettier-ignore -->  
+```html  
+  
+<link rel="stylesheet" href="https://unpkg.com/@geoman-io/leaflet-geoman-free@latest/dist/leaflet-geoman.css" />  
+```  
+  
+JS  
+  
+```html  
+<script src="https://unpkg.com/@geoman-io/leaflet-geoman-free@latest/dist/leaflet-geoman.min.js"></script>  
+```  
+  
+#### Include as ES6 Module  
+  
+```js  
+import '@geoman-io/leaflet-geoman-free';  
+import '@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css';  
+```  
+  
+### Getting Started  
+  
+#### Init Leaflet-Geoman  
+  
+Just include `leaflet-geoman.min.js` right after Leaflet. It initializes itself. If  
+you want certain layers to be ignored by Leaflet-Geoman, pass `pmIgnore: true` to  
+their options when creating them. Example:  
+  
+```js  
+L.marker([51.50915, -0.096112], { pmIgnore: true }).addTo(map);  
+```  
+  
+Enable Leaflet-Geoman on an ignored layer:  
+```js  
+layer.options.pmIgnore = false;
+L.PM.reInitLayer(layer); 
+```  
+If `Opt-In` (look below) is `true`, a layers `pmIgnore` property has to be set to `false` to get initiated.
+
+#### Opt-In
+
+If you want to use Leaflet-Geoman as opt-in, call the following function right after importing:
+
+```js
+L.PM.setOptIn(true);
+```
+
+And to disable it:
+
+```js
+L.PM.setOptIn(false);
+```
+
+If you have enabled opt-in before you init the map, you need to specify `pmIgnore: false` in the map options:
+
+```js
+const map = L.map('map', { pmIgnore: false });
+```
+
+All layers will be ignored by Leaflet-Geoman, unless you specify `pmIgnore: false` on a layer:
+
+```js
+L.marker([51.50915, -0.096112], { pmIgnore: false }).addTo(map);
+```
+
+Newly drawn layers will be ignored as well.
+
+To prevent this you can add the following event handler:
+
+```js
+map.on('pm:create', (e) => {
+  e.layer.options.pmIgnore = false;
+  L.PM.reInitLayer(e.layer);
+});
+```
+
+#### Leaflet-Geoman Toolbar
+
+<img align="left" height="200" src="https://file-ffrjxxowri.now.sh/" alt="Leaflet-Geoman Toolbar">  
+  
+You can add a toolbar to the map to use Leaflet-Geoman features via a user interface.  
+  
+```js  
+// add Leaflet-Geoman controls with some options to the map  
+map.pm.addControls({  
+  position: 'topleft',  
+  drawCircle: false,  
+});  
+```  
+The following methods are available on `map.pm`:  
+  
+| Method                        | Returns   | Description                                                                                                   |  
+| :---------------------------- | :-------- | :------------------------------------------------------------------------------------------------------------ |  
+| addControls(`options`)        | -         | Adds the Toolbar to the map. The `options` are optional. Buttons can be removed with setting them to `false`. |  
+| removeControls()              | -         | Removes the Toolbar from the map.                                                                             |  
+| toggleControls()              | -         | Toggle the visiblity of the Toolbar.                                                                          |  
+| controlsVisible()             | `Boolean` | Returns `true` if the Toolbar is visible on the map.                                                          |
+  
+  
+See the available options in the table below.  
+  
+| Option             | Default     | Description                                                                                      |  
+| :----------------- | :---------- | :----------------------------------------------------------------------------------------------- |  
+| position           | `'topleft'` | Toolbar position, possible values are `'topleft'`, `'topright'`, `'bottomleft'`, `'bottomright'` |  
+| positions           | `Object`   | The position of each block (`draw`, `edit`, `custom`, `options`⭐)  can be customized. If not set, the value from `position` is taken. Default: `{draw: '', edit: '', options: '', custom: ''}` [Block Position](#toolbar-block-position) | 
+| drawMarker         | `true`      | Adds button to draw Markers.                                                                     |  
+| drawCircleMarker   | `true`      | Adds button to draw CircleMarkers.                                                               |  
+| drawPolyline       | `true`      | Adds button to draw Line.                                                                        |  
+| drawRectangle      | `true`      | Adds button to draw Rectangle.                                                                   |  
+| drawPolygon        | `true`      | Adds button to draw Polygon.                                                                     |  
+| drawCircle         | `true`      | Adds button to draw Circle.                                                                      |  
+| drawText           | `true`      | Adds button to draw Text.                                                                        |  
+| editMode           | `true`      | Adds button to toggle Edit Mode for all layers.                                                  |  
+| dragMode           | `true`      | Adds button to toggle Drag Mode for all layers.                                                  |  
+| cutPolygon         | `true`      | Adds button to cut a hole in a Polygon or Line.                                                  |  
+| removalMode        | `true`      | Adds a button to remove layers.                                                                  | 
+| rotateMode         | `true`      | Adds a button to rotate layers.                                                                  | 
+| oneBlock           | `false`     | All buttons will be displayed as one block [Customize Controls](#customize-controls).            |
+| drawControls       | `true`      | Shows all draw buttons / buttons in the `draw` block.                                            |
+| editControls       | `true`      | Shows all edit buttons / buttons in the `edit` block.                                            |
+| customControls     | `true`      | Shows all buttons in the `custom` block.                                                         |
+| optionsControls    | `true`      | Shows all options buttons / buttons in the `option` block ⭐.                                     |
+| pinningOption      | `true`      | Adds a button to toggle the Pinning Option ⭐.                                                    |  
+| snappingOption     | `true`      | Adds a button to toggle the Snapping Option ⭐.                                                   |  
+| splitMode          | `true`      | Adds a button to toggle the Split Mode for all layers ⭐.                                         |  
+| scaleMode          | `true`      | Adds a button to toggle the Scale Mode for all layers ⭐.                                         |  
+| autoTracingOption  | `false`     | Adds a button to toggle the Auto Tracing Option ⭐.                                               |  
+  
+To pass options to the buttons you have two ways:
+```js
+// make polygon not snappable during draw  
+map.pm.enableDraw('Polygon',{ snappable: false }); 
+map.pm.disableDraw();
+```
+```js
+// make all layers not snappable during draw  
+map.pm.setGlobalOptions({ snappable: false }); 
+```
+The options will persist, even when the mode is enabled/disabled via the toolbar.  
+  
+All available options for drawing and editing are specified in the sections below.
+
+### Draw Mode
+
+Use Draw Mode on a map like this:
+
+```js
+// enable polygon Draw Mode
+map.pm.enableDraw('Polygon', {
+  snappable: true,
+  snapDistance: 20,
+});
+
+// disable Draw Mode
+map.pm.disableDraw();
+```
+
+Currently available shapes are `Marker`, `CircleMarker`, `Circle`, `Line`, `Rectangle`, `Polygon`, `Text`, `Cut`, `CutCircle`⭐ and `Split`⭐.
+
+The following methods are available on `map.pm`:
+
+| Method                                       | Returns   | Description                                                                                                                                                                                                              |
+| :------------------------------------------- | :-------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| enableDraw(`shape`,`options`)                | -         | Enable Draw Mode with the passed shape. The `options` are optional.                                                                                                                                                      |
+| disableDraw()                                | -         | Disable Draw Mode.                                                                                                                                                                                                       |
+| Draw.getShapes()                             | `Array`   | Array of available shapes.                                                                                                                                                                                               |
+| Draw.getActiveShape()                        | `String`  | Returns the active shape.                                                                                                                                                                                                |
+| globalDrawModeEnabled()                      | `Boolean` | Returns `true` if global Draw Mode is enabled. `false` when disabled.                                                                                                                                                    |
+| setPathOptions(`options`, `optionsModifier`) | -         | Customize the style of the drawn layer. Only for L.Path layers. Shapes can be excluded with a `ignoreShapes` array or merged with the current style with `merge: true` in `optionsModifier` [Details](#customize-style). |
+| setGlobalOptions(`options`)                  | -         | Set `globalOptions` and apply them.                                                                                                                                                                                      |
+| applyGlobalOptions()                         | -         | Apply the current `globalOptions` to all existing layers.                                                                                                                                                                |
+| getGlobalOptions()                           | `Object`  | Returns the `globalOptions`.                                                                                                                                                                                             |
+| getGeomanLayers(`Boolean`)                   | `Array`   | Returns all Leaflet-Geoman layers on the map as array. Pass `true` to get a L.FeatureGroup.                                                                                                                              |
+| getGeomanDrawLayers(`Boolean`)               | `Array`   | Returns all drawn Leaflet-Geoman layers on the map as array. Pass `true` to get a L.FeatureGroup.                                                                                                                        |
+| Draw.<shape>.setOptions(`options`)           | -         | Applies the options to the drawing shape and calls `setStyle`. `map.pm.Draw.Line.setOptions(options)`.                                                                                                                   |
+| Draw.<shape>.setStyle(`options`)             | -         | Applies the styles (`templineStyle`, `hintlineStyle`, `pathOptions`, `markerStyle`) to the drawing layer. `map.pm.Draw.Line.setStlye(options)`.                                                                          |
+
+See the available options in the table below.
+
+| Option                | Default                                   | Description                                                                                                                                                                                               |
+| :-------------------- | :---------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| snappable             | `true`                                    | Enable snapping to other layers vertices for precision drawing. Can be disabled by holding the `ALT` key.                                                                                                 |
+| snapDistance          | `20`                                      | The distance to another vertex when a snap should happen.                                                                                                                                                 |
+| snapMiddle            | `false`                                   | Allow snapping in the middle of two vertices (middleMarker).                                                                                                                                              |
+| snapSegment           | `true`                                    | Allow snapping between two vertices.                                                                                                                                                                      |
+| requireSnapToFinish   | `false`                                   | Require the last point of a shape to be snapped.                                                                                                                                                          |
+| tooltips              | `true`                                    | Show helpful tooltips for your user.                                                                                                                                                                      |
+| allowSelfIntersection | `true`                                    | Allow self intersections.                                                                                                                                                                                 |
+| templineStyle         | `{ color: '#3388ff' },`                   | [Leaflet path options](https://leafletjs.com/reference.html#path) for the lines between drawn vertices/markers.                                                                                           |
+| hintlineStyle         | `{ color: '#3388ff', dashArray: [5, 5] }` | [Leaflet path options](https://leafletjs.com/reference.html#path) for the helper line between last drawn vertex and the cursor.                                                                           |
+| pathOptions           | `null`                                    | [Leaflet path options](https://leafletjs.com/reference.html#path) for the drawn layer (Only for L.Path layers).                                                                                           |
+| markerStyle           | `{ draggable: true }`                     | [Leaflet marker options](https://leafletjs.com/reference.html#marker-icon) (only for drawing markers).                                                                                                    |
+| cursorMarker          | `true`                                    | Show a marker at the cursor.                                                                                                                                                                              |
+| finishOn              | `null`                                    | Leaflet layer event to finish the drawn shape, like `'dblclick'`. [Here's a list](http://leafletjs.com/reference.html#interactive-layer-click). `snap` is also an option for Line, Polygon and Rectangle. |
+| hideMiddleMarkers     | `false`                                   | Hide the middle Markers in Edit Mode from Polyline and Polygon.                                                                                                                                           |
+| minRadiusCircle       | `null`                                    | Set the min radius of a `Circle`.                                                                                                                                                                         |
+| maxRadiusCircle       | `null`                                    | Set the max radius of a `Circle`.                                                                                                                                                                         |
+| minRadiusCircleMarker | `null`                                    | Set the min radius of a `CircleMarker` when editable is active.                                                                                                                                           |
+| maxRadiusCircleMarker | `null`                                    | Set the max radius of a `CircleMarker` when editable is active.                                                                                                                                           |
+| editable              | `false`                                   | Makes a `CircleMarker` editable like a `Circle`.                                                                                                                                                          |
+| markerEditable        | `true`                                    | Markers and CircleMarkers are editable during the draw-session (you can drag them around immediately after drawing them).                                                                                 |
+| continueDrawing       | `false` / `true`                          | Draw Mode stays enabled after finishing a layer to immediately draw the next layer. Defaults to `true` for Markers and CircleMarkers and `false` for all other layers.                                    |
+| rectangleAngle        | `0`                                       | Rectangle can drawn with a rotation angle 0-360 degrees                                                                                                                                                   |
+| layersToCut           | `[]`                                      | Cut-Mode: Only the passed layers can be cut. Cutted layers are removed from the Array until no layers are left anymore and cutting is working on all layers again.                                        |
+| textOptions           | `{}`                                      | Text Layer options. Look into [textOptions](#text-layer-drawing).                                                                                                                                         |
+| closedPolygonEdge     | `false`                                   | Closes the Polygon while drawing ⭐.                                                                                                                                                                      |
+| closedPolygonFill     | `false`                                   | Shows the Polygon fill while drawing ⭐.                                                                                                                                                                  |
+| autoTracing           | `false`                                   | Enables auto tracing while drawing ⭐.                                                                                                                                                                    |
+| allowCircleCut        | `true`                                    | Allow Cutting of a Circle ⭐.                                                                                                                                                                             |
+
+This options can only set over `map.pm.setGlobalOptions({})`:
+
+| Option     | Default | Description                                                |
+| :--------- | :------ | :--------------------------------------------------------- |
+| layerGroup | `map`   | Add the created layers to a layergroup instead to the map. |
+
+You can listen to map events to hook into the drawing procedure like this:
+
+```js
+map.on('pm:drawstart', (e) => {
+  console.log(e);
+});
+```
+
+Here's a list of map events you can listen to:
+
+| Event                    | Params | Description                                                                             | Output                    |
+| :----------------------- | :----- | :-------------------------------------------------------------------------------------- | :------------------------ |
+| pm:globaldrawmodetoggled | `e`    | Fired when Drawing Mode is toggled.                                                     | `enabled`, `shape`, `map` |
+| pm:drawstart             | `e`    | Called when Draw Mode is enabled. Payload includes the shape type and working layer.    | `shape`, `workingLayer`   |
+| pm:drawend               | `e`    | Called when Draw Mode is disabled. Payload includes the shape type.                     | `shape`                   |
+| pm:create                | `e`    | Called when a shape is drawn/finished. Payload includes shape type and the drawn layer. | `shape`, `layer`          |
+
+There are also several events for layers during draw. Register an event like this:
+
+```js
+// listen to vertexes being added to currently drawn layer (called workingLayer)
+map.on('pm:drawstart', ({ workingLayer }) => {
+  workingLayer.on('pm:vertexadded', (e) => {
+    console.log(e);
+  });
+});
+```
+
+Here's a list of layer events you can listen to:
+
+| Event           | Params | Description                                                                                                           | Output                                                                                                  |
+| :-------------- | :----- | :-------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------ |
+| pm:vertexadded  | `e`    | Called when a new vertex is added. Payload includes the new vertex, it's marker, index, working layer and shape type. | `shape`, `workingLayer`, `marker`, `latlng`                                                             |
+| pm:snapdrag     | `e`    | Fired during a marker move/drag. Payload includes info about involved layers and snapping calculation.                | `shape`, `distance`, `layer` = `workingLayer`, `marker`, `layerInteractedWith`, `segment`, `snapLatLng` |
+| pm:snap         | `e`    | Fired when a vertex is snapped. Payload is the same as in `snapdrag`.                                                 | `shape`, `distance`, `layer` = `workingLayer`, `marker`, `layerInteractedWith`, `segment`, `snapLatLng` |
+| pm:unsnap       | `e`    | Fired when a vertex is unsnapped. Payload is the same as in `snapdrag`.                                               | `shape`, `distance`, `layer` = `workingLayer`, `marker`, `layerInteractedWith`, `segment`, `snapLatLng` |
+| pm:centerplaced | `e`    | Called when the center of a circle is placed/moved.                                                                   | `shape`, `workingLayer`, `latlng`                                                                       |
+| pm:change       | `e`    | Fired coordinates of the layer changed.                                                                               | `layer`, `latlngs`, `shape`                                                                             |
+
+For making the snapping to other layers selective, you can add the "snapIgnore" option to your layers to disable the snapping to them during drawing.
+
+```js
+//This layer will be ignored by the snapping engine during drawing
+L.geoJSON(data, {
+  snapIgnore: true,
+});
+```
+
+### Edit Mode
+
+You can enable Edit Mode for all layers on a map like this:
+
+```js
+// enable global Edit Mode
+map.pm.enableGlobalEditMode(options);
+```
+
+The following methods are available on `map.pm`:
+
+| Method                          | Returns   | Description                                                           |
+| :------------------------------ | :-------- | :-------------------------------------------------------------------- |
+| enableGlobalEditMode(`options`) | -         | Enables global Edit Mode.                                             |
+| disableGlobalEditMode()         | -         | Disables global Edit Mode.                                            |
+| toggleGlobalEditMode(`options`) | -         | Toggles global Edit Mode.                                             |
+| globalEditModeEnabled()         | `Boolean` | Returns `true` if global Edit Mode is enabled. `false` when disabled. |
+
+Enable Edit Mode only for one layer:
+
+```js
+// enable Edit Mode
+layer.pm.enable({
+  allowSelfIntersection: false,
+});
+```
+
+The following methods are available for layers under `layer.pm`:
+
+| Method                | Returns   | Description                                                                                                                |
+| :-------------------- | :-------- | :------------------------------------------------------------------------------------------------------------------------- |
+| enable(`options`)     | -         | Enables Edit Mode. The passed options are preserved, even when the mode is enabled via the Toolbar. `options` is optional. |
+| disable()             | -         | Disables Edit Mode.                                                                                                        |
+| toggleEdit(`options`) | -         | Toggles Edit Mode. Passed options are preserved. `options` is optional.                                                    |
+| enabled()             | `Boolean` | Returns `true` if Edit Mode is enabled. `false` when disabled.                                                             |
+| hasSelfIntersection() | `Boolean` | Returns `true` if `Line` or `Polygon` has a self intersection.                                                             |
+| remove()              | -         | Removes the layer with the same checks as GlobalRemovalMode.                                                               |
+| getShape()            | `String`  | Returns the shape of the layer.                                                                                            |
+| setOptions(`options`) | -         | Set the options on the layer.                                                                                              |
+| getOptions()          | `Object`  | Returns the options of the layer.                                                                                          |
+
+See the available options in the table below.
+
+| Option                         | Default       | Description                                                                                                                                                                                                                   |
+| :----------------------------- | :------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| snappable                      | `true`        | Enable snapping to other layers vertices for precision drawing. Can be disabled by holding the `ALT` key.                                                                                                                     |
+| snapDistance                   | `20`          | The distance to another vertex when a snap should happen.                                                                                                                                                                     |
+| allowSelfIntersection          | `true`        | Allow/Disallow self-intersections on Polygons and Polylines.                                                                                                                                                                  |
+| allowSelfIntersectionEdit      | `false`       | Allow/Disallow to change vertices they are connected to a intersecting line. Only working if allowSelfIntersection is `true` and the layer is already self-intersecting while enabling Edit Mode.                             |
+| preventMarkerRemoval           | `false`       | Disable the removal of markers/vertexes via right click.                                                                                                                                                                      |
+| removeLayerBelowMinVertexCount | `true`        | If `true`, vertex removal that cause a layer to fall below their minimum required vertices will remove the entire layer. If `false`, these vertices can't be removed. Minimum vertices are 2 for Lines and 3 for Polygons.    |
+| syncLayersOnDrag               | `false`       | Defines which layers should dragged with this layer together. `true` syncs all layers in the same LayerGroup(s) or you pass an `Array` of layers to sync.                                                                     |
+| allowEditing                   | `true`        | Edit-Mode for the layer can disabled (`pm.enable()`).                                                                                                                                                                         |
+| allowRemoval                   | `true`        | Removing can be disabled for the layer.                                                                                                                                                                                       |
+| allowCutting                   | `true`        | Layer can be prevented from cutting.                                                                                                                                                                                          |
+| allowRotation                  | `true`        | Layer can be prevented from rotation.                                                                                                                                                                                         |
+| draggable                      | `true`        | Dragging can be disabled for the layer.                                                                                                                                                                                       |
+| addVertexOn                    | `click`       | Leaflet layer event to add a vertex to a Line or Polygon, like `'dblclick'`. [Here's a list](http://leafletjs.com/reference.html#interactive-layer-click).                                                                    |
+| addVertexValidation            | `undefined`   | A function for validation if a vertex (of a Line / Polygon) is allowed to add. It passes a object with `[layer, marker, event}`. For example to check if the layer has a certain property or if the `Ctrl` key is pressed.    |
+| removeVertexOn                 | `contextmenu` | Leaflet layer event to remove a vertex from a Line or Polygon, like `'dblclick'`. [Here's a list](http://leafletjs.com/reference.html#interactive-layer-click).                                                               |
+| removeVertexValidation         | `undefined`   | A function for validation if a vertex (of a Line / Polygon) is allowed to remove. It passes a object with `[layer, marker, event}`. For example to check if the layer has a certain property or if the `Ctrl` key is pressed. |
+| moveVertexValidation           | `undefined`   | A function for validation if a vertex / helper-marker is allowed to move / drag. It passes a object with `[layer, marker, event}`. For example to check if the layer has a certain property or if the `Ctrl` key is pressed.  |
+| limitMarkersToCount            | `-1`          | Shows only `n` markers closest to the cursor. Use `-1` for no limit.                                                                                                                                                          |
+| limitMarkersToZoom             | `-1`          | Shows markers when under the given zoom level. ⭐                                                                                                                                                                             |
+| limitMarkersToViewport         | `false`       | Shows only markers in the viewport. ⭐                                                                                                                                                                                        |
+| limitMarkersToClick            | `false`       | Shows markers only after the layer was clicked. ⭐                                                                                                                                                                            |
+| pinning                        | `false`       | Pin shared vertices/markers together during edit [Details](#pinning-⭐). ⭐                                                                                                                                                   |
+| allowPinning                   | `true`        | Layer can be prevented from pinning.⭐                                                                                                                                                                                        |
+| allowScale                     | `true`        | Layer can be prevented from scaling.⭐                                                                                                                                                                                        |
+| centerScaling                  | `true`        | Scale origin is the center, else it is the opposite corner. If `false` Alt-Key can be used. [Scale Mode](#scale-mode-). ⭐                                                                                                    |
+| uniformScaling                 | `true`        | Width and height are scaled with the same ratio. If `false` Shift-Key can be used. [Scale Mode](#scale-mode-). ⭐                                                                                                             |
+| allowAutoTracing               | `true`        | Layer can be prevented from auto tracing.⭐                                                                                                                                                                                   |
+| addVertexOnClick               | `false`       | Add Vertices while clicking on the line of Polyline or Polygon⭐                                                                                                                                                              |
+
+You can listen to events related to editing on events like this:
+
+```js
+// listen to when a layer is changed in Edit Mode
+layer.on('pm:edit', (e) => {
+  console.log(e);
+});
+```
+
+The following events are available on a layer instance:
+
+| Event              | Params | Description                                                                                            | Output                                                                                                  |
+| :----------------- | :----- | :----------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------ |
+| pm:edit            | `e`    | Fired when a layer is edited.                                                                          | `layer`, `shape`                                                                                        |
+| pm:update          | `e`    | Fired when Edit Mode is disabled and a layer is edited and its coordinates have changed.               | `layer`, `shape`                                                                                        |
+| pm:enable          | `e`    | Fired when Edit Mode on a layer is enabled.                                                            | `layer`, `shape`                                                                                        |
+| pm:disable         | `e`    | Fired when Edit Mode on a layer is disabled.                                                           | `layer`, `shape`                                                                                        |
+| pm:vertexadded     | `e`    | Fired when a vertex is added.                                                                          | `layer`, `indexPath`, `latlng`, `marker`, `shape`                                                       |
+| pm:vertexremoved   | `e`    | Fired when a vertex is removed.                                                                        | `layer`, `indexPath`, `marker`, `shape`                                                                 |
+| pm:vertexclick     | `e`    | Fired when a vertex is clicked.                                                                        | `layer`, `indexPath`, `markerEvent`, `shape`                                                            |
+| pm:markerdragstart | `e`    | Fired when dragging of a marker which corresponds to a vertex starts.                                  | `layer`, `indexPath`, `markerEvent`, `shape`                                                            |
+| pm:markerdrag      | `e`    | Fired when dragging a vertex-marker.                                                                   | `layer`, `indexPath`, `markerEvent`, `shape`                                                            |
+| pm:markerdragend   | `e`    | Fired when dragging of a vertex-marker ends.                                                           | `layer`, `indexPath`, `markerEvent`, `shape`, `intersectionReset`                                       |
+| pm:layerreset      | `e`    | Fired when coords of a layer are reset. E.g. by self-intersection.                                     | `layer`, `indexPath`, `markerEvent`, `shape`                                                            |
+| pm:snapdrag        | `e`    | Fired during a marker move/drag. Payload includes info about involved layers and snapping calculation. | `shape`, `distance`, `layer` = `workingLayer`, `marker`, `layerInteractedWith`, `segment`, `snapLatLng` |
+| pm:snap            | `e`    | Fired when a vertex-marker is snapped to another vertex. Also fired on the marker itself.              | `shape`, `distance`, `layer` = `workingLayer`, `marker`, `layerInteractedWith`, `segment`, `snapLatLng` |
+| pm:unsnap          | `e`    | Fired when a vertex-marker is unsnapped from a vertex. Also fired on the marker itself.                | `shape`, `distance`, `layer` = `workingLayer`, `marker`, `layerInteractedWith`, `segment`, `snapLatLng` |
+| pm:intersect       | `e`    | When `allowSelfIntersection: false`, this event is fired as soon as a self-intersection is detected.   | `layer`, `intersection`, `shape`                                                                        |
+| pm:centerplaced    | `e`    | Fired when the center of a circle is moved.                                                            | `layer`, `latlng`, `shape`                                                                              |
+| pm:change          | `e`    | Fired coordinates of the layer changed.                                                                | `layer`, `latlngs`, `shape`                                                                             |
+
+The following events are available on a map instance:
+
+| Event                    | Params | Description                      | Output           |
+| :----------------------- | :----- | :------------------------------- | :--------------- |
+| pm:globaleditmodetoggled | `e`    | Fired when Edit Mode is toggled. | `enabled`, `map` |
+
+You can also listen to specific Edit Mode events on the map instance like this:
+
+```js
+map.on('pm:globaleditmodetoggled', (e) => {
+  console.log(e);
+});
+```
+
+### Drag Mode
+
+You can enable Drag Mode for all layers on a map like this:
+
+```js
+// enable Drag Mode like this:
+map.pm.enableGlobalDragMode();
+```
+
+Or you enable dragging for a specific layer:
+
+```js
+layer.pm.enableLayerDrag();
+```
+
+The following methods are available on `layer.pm`:
+
+| Method             | Returns   | Description                                    |
+| :----------------- | :-------- | :--------------------------------------------- |
+| enableLayerDrag()  | -         | Enables dragging for the layer.                |
+| disableLayerDrag() | -         | Disables dragging for the layer.               |
+| layerDragEnabled() | `Boolean` | Returns if Drag Mode is enabled for the layer. |
+| dragging()         | `Boolean` | Returns if the layer is currently dragging.    |
+
+The following methods are available on `map.pm`:
+
+| Method                  | Returns   | Description                                                           |
+| :---------------------- | :-------- | :-------------------------------------------------------------------- |
+| enableGlobalDragMode()  | -         | Enables global Drag Mode.                                             |
+| disableGlobalDragMode() | -         | Disables global Drag Mode.                                            |
+| toggleGlobalDragMode()  | -         | Toggles global Drag Mode.                                             |
+| globalDragModeEnabled() | `Boolean` | Returns `true` if global Drag Mode is enabled. `false` when disabled. |
+
+The following events are available on a layer instance:
+
+| Event          | Params | Description                                  | Output                                                                    |
+| :------------- | :----- | :------------------------------------------- | :------------------------------------------------------------------------ |
+| pm:dragstart   | `e`    | Fired when a layer starts being dragged.     | `layer`, `shape`                                                          |
+| pm:drag        | `e`    | Fired when a layer is dragged.               | `layer`, `containerPoint`,`latlng`, `layerPoint`,`originalEvent`, `shape` |
+| pm:dragend     | `e`    | Fired when a layer stops being dragged.      | `layer`, `shape`                                                          |
+| pm:dragenable  | `e`    | Fired when Drag Mode on a layer is enabled.  | `layer`, `shape`                                                          |
+| pm:dragdisable | `e`    | Fired when Drag Mode on a layer is disabled. | `layer`, `shape`                                                          |
+| pm:change      | `e`    | Fired coordinates of the layer changed.      | `layer`, `latlngs`, `shape`                                               |
+
+The following events are available on a map instance:
+
+| Event                    | Params | Description                      | Output           |
+| :----------------------- | :----- | :------------------------------- | :--------------- |
+| pm:globaldragmodetoggled | `e`    | Fired when Drag Mode is toggled. | `enabled`, `map` |
+
+You can also listen to specific Drag Mode events on the map instance like this:
+
+```js
+map.on('pm:globaldragmodetoggled', (e) => {
+  console.log(e);
+});
+```
+
+### Removal Mode
+
+You can enable Removal Mode for all layers on a map like this:
+
+```js
+// enable removal mode like this:
+map.pm.enableGlobalRemovalMode();
+```
+
+The following methods are available on `map.pm`:
+
+| Method                     | Returns   | Description                                                              |
+| :------------------------- | :-------- | :----------------------------------------------------------------------- |
+| enableGlobalRemovalMode()  | -         | Enables global removal mode.                                             |
+| disableGlobalRemovalMode() | -         | Disables global removal mode.                                            |
+| toggleGlobalRemovalMode()  | -         | Toggles global removal mode.                                             |
+| globalRemovalModeEnabled() | `Boolean` | Returns `true` if global removal mode is enabled. `false` when disabled. |
+
+The following events are available on a layer instance:
+
+| Event     | Params | Description                                    | Output           |
+| :-------- | :----- | :--------------------------------------------- | :--------------- |
+| pm:remove | `e`    | Fired when a layer is removed via Removal Mode | `layer`, `shape` |
+
+The following events are available on a map instance:
+
+| Event                       | Params | Description                                              | Output           |
+| :-------------------------- | :----- | :------------------------------------------------------- | :--------------- |
+| pm:globalremovalmodetoggled | `e`    | Fired when Removal Mode is toggled                       | `enabled`, `map` |
+| pm:remove                   | `e`    | Fired when a layer is removed via Removal Mode           | `layer`, `shape` |
+| layerremove                 | `e`    | Standard Leaflet event. Fired when any layer is removed. | `layer`          |
+
+You can also listen to specific removal mode events on the map instance like this:
+
+```js
+map.on('pm:globalremovalmodetoggled', (e) => {
+  console.log(e);
+});
+```
+
+### Cut Mode
+
+![cut polygon](https://file-xdeoyklwhw.now.sh/)
+
+Enables drawing for the shape "Cut" to draw a polygon that gets subtracted from all underlying polygons. This way you can create holes, cut polygons or polylines in half or remove parts of it.
+
+Important: the cutted layer will be replaced, not updated. Listen to the `pm:cut` event to update your layer references in your code. The `pm:cut` event will provide you with the original layer and returns the resulting layer(s) that is/are added to the map as a Polygon / MultiPolygon or Polyline / MultiPolyline.
+
+```js
+// enable cutting mode
+map.pm.enableGlobalCutMode({
+  allowSelfIntersection: false,
+});
+```
+
+Available options are the same as in [Draw Mode](#draw-mode).
+If the option `layersToCut: [layer1, layer2]` is passed, only this certain layers will be cutted.
+
+In the Pro-Version ⭐ is the option `allowCircleCut` available, which makes it possible to cut Circles.
+
+Over the Global Options you enable cutting in shape form of a Circle `cutAsCircle: true` for the cut-button. Else you can enable `CutCircle` over `map.pm.enableDraw('CutCircle')`
+
+The following methods are available on `map.pm`:
+
+| Method                         | Returns   | Description                                                          |
+| :----------------------------- | :-------- | :------------------------------------------------------------------- |
+| enableGlobalCutMode(`options`) | -         | Enable Cut Mode.                                                     |
+| disableGlobalCutMode()         | -         | Disable Cut Mode.                                                    |
+| toggleGlobalCutMode(`options`) | -         | Toggle Cut Mode.                                                     |
+| globalCutModeEnabled()         | `Boolean` | Returns `true` if global cut mode is enabled. `false` when disabled. |
+
+The following events are available on a layer instance:
+
+| Event   | Params | Description                         | Output                            |
+| :------ | :----- | :---------------------------------- | :-------------------------------- |
+| pm:cut  | `e`    | Fired when the layer being cut.     | `shape`, `layer`, `originalLayer` |
+| pm:edit | `e`    | Fired when a layer is edited / cut. | `layer`, `shape`                  |
+
+The following events are available on a map instance:
+
+| Event                   | Params | Description                        | Output                            |
+| :---------------------- | :----- | :--------------------------------- | :-------------------------------- |
+| pm:globalcutmodetoggled | `e`    | Fired when Cut Mode is toggled.    | `enabled`, `map`                  |
+| pm:cut                  | `e`    | Fired when any layer is being cut. | `shape`, `layer`, `originalLayer` |
+
+### Rotation Mode
+
+![Rotation Feature](https://user-images.githubusercontent.com/2399810/118522132-06817400-b73c-11eb-8d59-1f340bca86a6.gif)
+
+The rotation is clockwise. It starts in the North with 0° and goes over East (90°) and South (180°) to West (270°).
+The rotation center is the center (`layer.getCenter()`) of a Polygon with the LatLngs of the layer.
+
+**Rotation of Rectangles:**
+
+If a rotated rectangle is created programmatically, it is important to set the initial angle with `setInitAngle(degrees)`.
+
+```js
+const rect = L.rectangle(coords).addTo(map); // the Leaflet constructor always creates a non-rotated rectangle
+rect.setLatLngs(coords); // setting the rotated coordinates
+rect.pm.setInitAngle(angle);
+```
+
+You can enable Rotate Mode for all layers on a map like this:
+
+```js
+map.pm.enableGlobalRotateMode();
+```
+
+The following methods are available on `map.pm`:
+
+| Method                    | Returns   | Description                                                             |
+| :------------------------ | :-------- | :---------------------------------------------------------------------- |
+| enableGlobalRotateMode()  | -         | Enables global Rotate Mode.                                             |
+| disableGlobalRotateMode() | -         | Disables global Rotate Mode.                                            |
+| toggleGlobalRotateMode()  | -         | Toggles global Rotate Mode.                                             |
+| globalRotateModeEnabled() | `Boolean` | Returns `true` if global Rotate Mode is enabled. `false` when disabled. |
+
+The following methods are available for layers under `layer.pm`:
+
+| Method                        | Returns   | Description                                      |
+| :---------------------------- | :-------- | :----------------------------------------------- |
+| enableRotate()                | -         | Enables Rotate Mode on the layer.                |
+| disableRotate()               | -         | Disables Rotate Mode on the layer.               |
+| rotateEnabled()               | `Boolean` | Returns if Rotate Mode is enabled for the layer. |
+| rotateLayer(`degrees`)        | -         | Rotates the layer by `x` degrees.                |
+| rotateLayerToAngle(`degrees`) | -         | Rotates the layer to `x` degrees.                |
+| getAngle()                    | `Degrees` | Returns the angle of the layer in degrees.       |
+| setInitAngle(`degrees`)       | -         | Set the initial angle of the layer in degrees.   |
+
+The following events are available on a layer instance:
+
+| Event            | Params | Description                                  | Output                                                                               |
+| :--------------- | :----- | :------------------------------------------- | :----------------------------------------------------------------------------------- |
+| pm:rotateenable  | `e`    | Fired when rotation is enabled for a layer.  | `layer`, `helpLayer`, `shape`                                                        |
+| pm:rotatedisable | `e`    | Fired when rotation is disabled for a layer. | `layer`, `shape`                                                                     |
+| pm:rotatestart   | `e`    | Fired when rotation starts on a layer.       | `layer`, `helpLayer`, `startAngle`, `originLatLngs`                                  |
+| pm:rotate        | `e`    | Fired when a layer is rotated.               | `layer`, `helpLayer`, `startAngle`, `angle`, `angleDiff`, `oldLatLngs`, `newLatLngs` |
+| pm:rotateend     | `e`    | Fired when rotation ends on a layer.         | `layer`, `helpLayer`, `startAngle`, `angle`, `originLatLngs`, `newLatLngs`           |
+| pm:change        | `e`    | Fired coordinates of the layer changed.      | `layer`, `latlngs`, `shape`                                                          |
+
+The following events are available on a map instance:
+
+| Event                      | Params | Description                                  | Output                                                                               |
+| :------------------------- | :----- | :------------------------------------------- | :----------------------------------------------------------------------------------- |
+| pm:globalrotatemodetoggled | `e`    | Fired when Rotate Mode is toggled.           | `enabled`, `map`                                                                     |
+| pm:rotateenable            | `e`    | Fired when rotation is enabled for a layer.  | `layer`, `helpLayer`, `shape`                                                        |
+| pm:rotatedisable           | `e`    | Fired when rotation is disabled for a layer. | `layer`, `shape`                                                                     |
+| pm:rotatestart             | `e`    | Fired when rotation starts on a layer.       | `layer`, `helpLayer`, `startAngle`, `originLatLngs`                                  |
+| pm:rotate                  | `e`    | Fired when a layer is rotated.               | `layer`, `helpLayer`, `startAngle`, `angle`, `angleDiff`, `oldLatLngs`, `newLatLngs` |
+| pm:rotateend               | `e`    | Fired when rotation ends on a layer.         | `layer`, `helpLayer`, `startAngle`, `angle`, `originLatLngs`, `newLatLngs`           |
+
+### Split Mode ⭐
+
+![Split Mode Demo](https://user-images.githubusercontent.com/2399810/118527306-721a1000-b741-11eb-86ce-da6caeba8214.gif)
+
+Enable drawing for the shape "Split" to draw a line that splits all underlying Polygons and Polylines.
+
+Important: the splitted layer will be replaced, not updated. Listen to the `pm:split` event to update your layer references in your code. The `pm:split` event will provide you with the original layer and returns the resulting layer(s) that is/are added to the map as a Polygon / MultiPolygon or Polyline / MultiPolyline.
+
+```js
+// enable cutting mode
+map.pm.enableGlobalSplitMode({
+  allowSelfIntersection: false,
+});
+```
+
+Available options are the same as in [Draw Mode](#draw-mode) and in table below:
+
+| Option                | Default | Description                                                                                                                                                                    |
+| :-------------------- | :------ | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| splitOnlyMarkedLayers | `false` | If it is set to `false` layers can be excluded with the option `splitMark: false`. Set it to `true` to enable splitting only for the layers with the option `splitMark: true`. |
+
+The following methods are available on `map.pm`:
+
+| Method                           | Returns   | Description                                                            |
+| :------------------------------- | :-------- | :--------------------------------------------------------------------- |
+| enableGlobalSplitMode(`options`) | -         | Enable Split Mode.                                                     |
+| disableGlobalSplitMode()         | -         | Disable Split Mode.                                                    |
+| toggleGlobalSplitMode(`options`) | -         | Toggle Split Mode.                                                     |
+| globalSplitModeEnabled()         | `Boolean` | Returns `true` if global Split Mode is enabled. `false` when disabled. |
+
+The following events are available on a layer instance:
+
+| Event    | Params | Description                                                                                         | Output                                           |
+| :------- | :----- | :-------------------------------------------------------------------------------------------------- | :----------------------------------------------- |
+| pm:split | `e`    | Fired when the layer being split. Returns a LayerGroup containing all resulting layers in `layers`. | `shape`, `splitLayer`, `layers`, `originalLayer` |
+
+The following events are available on a map instance:
+
+| Event                     | Params | Description                          | Output                                           |
+| :------------------------ | :----- | :----------------------------------- | :----------------------------------------------- |
+| pm:globalsplitmodetoggled | `e`    | Fired when Split Mode is toggled.    | `enabled`, `map`                                 |
+| pm:split                  | `e`    | Fired when any layer is being split. | `shape`, `splitLayer`, `layers`, `originalLayer` |
+
+### Scale Mode ⭐
+
+You can enable Scale Mode for all layers on a map like this:
+
+```js
+map.pm.enableGlobalScaleMode();
+```
+
+With the option `centerScaling` the scale origin cen be the center of the layer or the opposite corner of the dragged marker. If `false` Alt-Key can be used.
+The option `uniformScaling` the scales the width and the height with the same ratio. If `false` Shift-Key can be used.
+
+The following methods are available on `map.pm`:
+
+| Method                   | Returns   | Description                                                            |
+| :----------------------- | :-------- | :--------------------------------------------------------------------- |
+| enableGlobalScaleMode()  | -         | Enables global Scale Mode.                                             |
+| disableGlobalScaleMode() | -         | Disables global Scale Mode.                                            |
+| toggleGlobalScaleMode()  | -         | Toggles global Scale Mode.                                             |
+| globalScaleModeEnabled() | `Boolean` | Returns `true` if global Scale Mode is enabled. `false` when disabled. |
+
+The following methods are available for layers under `layer.pm`:
+
+| Method                | Returns   | Description                                                                                                                   |
+| :-------------------- | :-------- | :---------------------------------------------------------------------------------------------------------------------------- |
+| enableScale()         | -         | Enables Scale Mode on the layer.                                                                                              |
+| disableScale()        | -         | Disables Scale Mode on the layer.                                                                                             |
+| scaleEnabled()        | `Boolean` | Returns if Scale Mode is enabled for the layer.                                                                               |
+| scaleLayer(`percent`) | -         | Scale the layer by `x` percent. Also an Object with `{w: width, h: height}` can be passed. Scale up `> 0` , scale down `< 0`. |
+
+The following events are available on a layer instance:
+
+| Event           | Params | Description                               | Output                                                 |
+| :-------------- | :----- | :---------------------------------------- | :----------------------------------------------------- |
+| pm:scaleenable  | `e`    | Fired when scale is enabled for a layer.  | `layer`, `helpLayer`                                   |
+| pm:scaledisable | `e`    | Fired when scale is disabled for a layer. | `layer`                                                |
+| pm:scalestart   | `e`    | Fired when scale starts on a layer.       | `layer`, `helpLayer`, `originLatLngs`, `originLatLngs` |
+| pm:scale        | `e`    | Fired when a layer is scaled.             | `layer`, `helpLayer`, `oldLatLngs`, `newLatLngs`       |
+| pm:scaleend     | `e`    | Fired when scale ends on a layer.         | `layer`, `helpLayer`, `originLatLngs`, `newLatLngs`    |
+
+The following events are available on a map instance:
+
+| Event                     | Params | Description                               | Output                                                 |
+| :------------------------ | :----- | :---------------------------------------- | :----------------------------------------------------- |
+| pm:globalscalemodetoggled | `e`    | Fired when Scale Mode is toggled.         | `enabled`, `map`                                       |
+| pm:scaleenable            | `e`    | Fired when scale is enabled for a layer.  | `layer`, `helpLayer`                                   |
+| pm:scaledisable           | `e`    | Fired when scale is disabled for a layer. | `layer`                                                |
+| pm:scalestart             | `e`    | Fired when scale starts on a layer.       | `layer`, `helpLayer`, `originLatLngs`, `originLatLngs` |
+| pm:scale                  | `e`    | Fired when a layer is scaled.             | `layer`, `helpLayer`, `oldLatLngs`, `newLatLngs`       |
+| pm:scaleend               | `e`    | Fired when scale ends on a layer.         | `layer`, `helpLayer`, `originLatLngs`, `newLatLngs`    |
+
+### Text Layer
+
+![text-layer](https://user-images.githubusercontent.com/19800037/168420156-953c7d1a-ed61-4a33-bc90-f18ebea425bd.gif)
+
+Additional to the default methods and options there are a few more possibilities for Text Layers:
+
+#### Text Layer Drawing:
+
+```js
+map.pm.enableDraw('Text', { textOptions: { text: 'Geoman is fantastic! 🚀' } });
+```
+
+See the available options for `textOptions` in the table below.
+
+| Option         | Default | Description                                                   |
+| :------------- | :------ | :------------------------------------------------------------ |
+| text           | ``      | Predefined text.                                              |
+| focusAfterDraw | `true`  | Directly after placing the marker, text editing is activated. |
+| removeIfEmpty  | `true`  | The text layer is removed if no text is written.              |
+| className      | ``      | Custom CSS Classes. Separated by a space.                     |
+
+#### Text Layer Editing:
+
+The following methods are available on `layer.pm`:
+
+| Method          | Returns       | Description                                                           |
+| :-------------- | :------------ | :-------------------------------------------------------------------- |
+| focus()         | -             | Activate text editing. Layer needs first to be enabled `.enable()`.   |
+| blur()          | -             | Deactivate text editing. Layer needs first to be enabled `.enable()`. |
+| hasFocus()      | `Boolean`     | Is text editing active.                                               |
+| getElement()    | `HTMLElement` | Returns the `<textarea>` DOM element.                                 |
+| setText(`text`) | -             | Set text.                                                             |
+| getText()       | `String`      | Returns the text.                                                     |
+
+The following events are available on a layer instance:
+
+| Event         | Params | Description                                | Output                   |
+| :------------ | :----- | :----------------------------------------- | :----------------------- |
+| pm:textchange | `e`    | Fired when the text of a layer is changed. | `text`, `layer`, `shape` |
+| pm:textfocus  | `e`    | Fired when the text layer is focused.      | `layer`, `shape`         |
+| pm:textblur   | `e`    | Fired when the text layer is blurred.      | `layer`, `shape`         |
+
+For custom text styling get the HTMLElement and add CSS styles:
+
+```js
+layer.pm.getElement().style.color = 'red';
+```
+
+#### Text Layer manual creation:
+
+It is possible to create a text layer programmatically by adding a Marker with the options `textMarker: true` and `text: 'your text'`.
+
+```js
+L.marker(latlng, {
+  textMarker: true,
+  text: 'Manual creation is no problem for Geoman!',
+}).addTo(map);
+```
+
+### Options
+
+You have many options available when drawing and editing your layers (described above).  
+You can set the options per layer as described above, or you can set them globally for all layers. This is especially useful when you use the toolbar and can't change the options programmatically.
+
+Examples:
+
+```js
+layer.pm.enable({ pinning: true, snappable: false });
+```
+
+```js
+map.pm.setGlobalOptions({ pinning: true, snappable: false });
+```
+
+The following options are additionally to the [Draw](#draw-mode) and [Edit Mode](#edit-mode) options.
+
+| Option        | Default  | Description                                                                                                                                                                                                      |
+| :------------ | :------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| snappingOrder | `Array`  | Prioritize the order of snapping. Default: `['Marker','CircleMarker','Circle','Line','Polygon','Rectangle']`.                                                                                                    |
+| layerGroup    | `map`    | add the created layers to a layergroup instead to the map.                                                                                                                                                       |
+| panes         | `Object` | Defines in which [panes](https://leafletjs.com/reference.html#map-pane) the layers and helper vertices are created. Default: `{ vertexPane: 'markerPane', layerPane: 'overlayPane', markerPane: 'markerPane' }`. |
+| cutAsCircle   | `false`  | Enable cutting in shape form of a Circle.                                                                                                                                                                        |
+
+The following events are available on a map instance:
+
+| Event                   | Params | Description                            | Output |
+| :---------------------- | :----- | :------------------------------------- | :----- |
+| pm:globaloptionschanged | `e`    | Fired when global options are changed. |        |
+
+Some details about a few more powerful options:
+
+##### Snapping
+
+Snap the dragged marker/vertex to other layers for precision drawing.  
+Snapping can be disabled for layers with the layer option `snapIgnore: true`. With `snapIgnore: false` it will be always snappable, also if `pmIgnore` is set.
+Can also be disabled by holding the `ALT` key.
+
+![Snapping Options](https://files-r7ezk18qq.now.sh/snapping.gif)
+
+##### Pinning ⭐
+
+When dragging a vertex/marker, you can pin all other Markers/Vertices that have the same latlng to the dragged marker. Exclusive for Leaflet-Geoman Pro ⭐
+
+![Pinning Option](https://user-images.githubusercontent.com/2399810/65375984-288ece80-dc9b-11e9-930e-bca03ad7cb56.gif)
+
+##### Measurement ⭐
+
+![Measurement Demo](https://user-images.githubusercontent.com/2399810/118528582-ce316400-b742-11eb-8c1a-8c656a5138d1.gif)
+
+Calculates the measurement of a layer while drawing and editing. Exclusive for Leaflet-Geoman Pro ⭐
+
+```js
+map.pm.setGlobalOptions({ measurements: { measurement: true, displayFormat: 'metric', ... } })
+```
+
+See the available options in the table below.
+
+| Option             | Default  | Description                                                                                                           |
+| :----------------- | :------- | :-------------------------------------------------------------------------------------------------------------------- |
+| measurement        | `true`   | Enable measurement calculation.                                                                                       |
+| showTooltip        | `true`   | Shows the tooltip during draw and edit.                                                                               |
+| showTooltipOnHover | `true`   | Shows the tooltip when hovering a finished layer.                                                                     |
+| displayFormat      | `metric` | Displayed format in the tooltip `metric` or `imperial`.                                                               |
+| totalLength        | `true`   | Shows the total length in the tooltip `Line`.                                                                         |
+| segmentLength      | `true`   | Shows the segment length in the tooltip `Line`, `Polygon`.                                                            |
+| area               | `true`   | Shows the area in the tooltip `Polygon`, `Rectangle`, `Circle`, `CircleMarker`.                                       |
+| radius             | `true`   | Shows the radius in the tooltip `Circle`, `CircleMarker`.                                                             |
+| perimeter          | `true`   | Shows the perimeter in the tooltip `Polygon`, `Rectangle`, `Circle`, `CircleMarker`.                                  |
+| height             | `true`   | Shows the height in the tooltip `Rectangle`.                                                                          |
+| width              | `true`   | Shows the width in the tooltip `Rectangle`.                                                                           |
+| coordinates        | `true`   | Shows the coordinates in the tooltip `Marker`, `CircleMarker` and the current dragged marker while drawing / editing. |
+
+##### AutoTracing ⭐
+
+![AutoTracing Demo](https://user-images.githubusercontent.com/19800037/196027144-7bc696aa-6b5d-4903-8a21-2df0e2d05e4e.gif)
+
+While drawing / cutting it is possible to auto trace the coordinates of another Layer. Exclusive for Leaflet-Geoman Pro ⭐
+
+```js
+map.pm.setGlobalOptions({ autoTracing: true });
+```
+
+See the available options in the table below.
+
+| Option               | Default | Description                                                                        |
+| :------------------- | :------ | :--------------------------------------------------------------------------------- |
+| autoTracing          | `true`  | Enables auto tracing while drawing.                                                |
+| autoTraceMaxZoom     | `10`    | Until which zoom level the coordinates of the layers in the viewport will be used. |
+| autoTraceMaxDistance | `20`    | The distance to the layer when a snap for auto tracing should happen.              |
+
+Here's a list of map events you can listen to:
+
+| Event                  | Params | Description                                                    | Output        |
+| :--------------------- | :----- | :------------------------------------------------------------- | :------------ |
+| pm:autotracestart      | `e`    | Fired when auto tracing is started and connected with a layer. |               |
+| pm:autotracelinechange | `e`    | Fired when auto tracing hintline is changed.                   | `hintLatLngs` |
+| pm:autotraceend        | `e`    | Fired when auto tracing is ended.                              |               |
+
+### LayerGroup
+
+Leaflet-Geoman can only work correct with `L.FeatureGroup` and `L.GeoJSON` (the extended versions of L.LayerGroup) we need the events `layeradd` and `layerremove`.
+
+The following methods are available for LayerGroups on `layergroup.pm`:
+
+| Method                                                              | Returns   | Description                                                                                                                                                                                                                                                    |
+| :------------------------------------------------------------------ | :-------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| enable(`options`)                                                   | -         | Enable all layers in the LayerGroup.                                                                                                                                                                                                                           |
+| disable()                                                           | -         | Disable all layers in the LayerGroup.                                                                                                                                                                                                                          |
+| enabled()                                                           | `Boolean` | Returns if minimum one layer is enabled.                                                                                                                                                                                                                       |
+| toggleEdit(`options`)                                               | -         | Toggle enable / disable on all layers.                                                                                                                                                                                                                         |
+| getLayers(`deep=false`,`filterGeoman=true`, `filterGroupsOut=true`) | `Array`   | Returns the layers of the LayerGroup. `deep=true` return also the children of LayerGroup children. `filterGeoman=true` filter out layers that don't have Leaflet-Geoman or temporary stuff. `filterGroupsOut=true` does not return the LayerGroup layers self. |
+| setOptions(`options`)                                               | -         | Apply Leaflet-Geoman options to all children.                                                                                                                                                                                                                  |
+| getOptions()                                                        | `Object`  | Returns the options of the LayerGroup.                                                                                                                                                                                                                         |
+| dragging()                                                          | -         | Returns if currently a layer in the LayerGroup is dragging.                                                                                                                                                                                                    |
+
+<details>
+<summary>Workaround to work with L.LayerGroup (Click to expand)</summary>
+
+We are adding the same code to L.LayerGroup as in [L.FeatureGroup](https://github.com/Leaflet/Leaflet/blob/master/src/layer/FeatureGroup.js#L28)
+
+```js
+L.LayerGroup.prototype.addLayerOrg = L.LayerGroup.prototype.addLayer;
+L.LayerGroup.prototype.addLayer = function (layer) {
+  layer.addEventParent(this);
+  this.addLayerOrg(layer);
+  return this.fire('layeradd', { layer: layer });
+};
+
+L.LayerGroup.prototype.removeLayerOrg = L.LayerGroup.prototype.removeLayer;
+L.LayerGroup.prototype.removeLayer = function (layer) {
+  layer.removeEventParent(this);
+  this.removeLayerOrg(layer);
+  return this.fire('layerremove', { layer: layer });
+};
+```
+
+</details>
+
+### Customize
+
+#### Customize Language
+
+Change the language of user-facing copy in Leaflet-Geoman
+
+```js
+map.pm.setLang('de');
+```
+
+Currently available languages are `cz`, `da`, `de`, `el`, `en`, `es`, `fa`, `fi`, `fr`, `hu`, `id`, `it`, `ja`, `ko`, `nl`, `no`, `pl`, `pt_br`, `ro`, `ru`, `sv`, `tr`, `ua`, `zh` and `zh_tw`.  
+To add translations to the plugin, you can add [a translation file](src/assets/translations) via Pull Request.
+
+You can also provide your own custom translations.
+
+```js
+const customTranslation = {
+  tooltips: {
+    placeMarker: 'Custom Marker Translation',
+  },
+};
+
+map.pm.setLang('customName', customTranslation, 'en');
+```
+
+The 3rd parameter is the fallback language in case you only want to override a few Strings.  
+See the [english translation file](src/assets/translations/en.json) for all available strings.
+
+The following events are available on a map instance:
+
+| Event         | Params | Description                     | Output                                              |
+| :------------ | :----- | :------------------------------ | :-------------------------------------------------- |
+| pm:langchange | `e`    | Fired when language is changed. | `activeLang`, `oldLang`, `fallback`, `translations` |
+
+#### Customize Style
+
+To customize the style of the drawn layer with leaflet options, you can either pass the options to `enableDraw` or set the options generally:
+
+```js
+map.pm.setPathOptions({
+  color: 'orange',
+  fillColor: 'green',
+  fillOpacity: 0.4,
+});
+```
+
+If you want to exclude shapes from receiving these path options, use the second parameter like this:
+
+```javascript
+map.pm.setPathOptions(
+  { color: 'orange' },
+  {
+    ignoreShapes: ['Circle', 'Rectangle'],
+  }
+);
+```
+
+You can also merge the new style with the current one, if you pass the parameter `merge: true`:
+
+```javascript
+map.pm.setPathOptions(
+  { color: 'orange' },
+  {
+    merge: true,
+  }
+);
+```
+
+### Toolbar
+
+The following methods are available on `map.pm.Toolbar`:
+
+| Method                                    | Returns  | Description                                                                                                                                                                                      |
+| :---------------------------------------- | :------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| changeControlOrder(`order`)               | -        | Pass an array of button names to reorder the buttons in the Toolbar.                                                                                                                             |
+| getControlOrder()                         | `Array`  | Current order of the buttons in the Toolbar.                                                                                                                                                     |
+| setBlockPosition(`block`,`position`)      | -        | The position of a block (`draw`, `edit`, `custom`, `options`⭐) in the Toolbar can be changed. If not set, the value from `position` of the Toolbar is taken. [Details](#toolbar-block-position) |
+| getBlockPositions()                       | `Object` | Returns a Object with the positions for all blocks.                                                                                                                                              |
+| setButtonDisabled(`name`, `Boolean`)      | -        | Enable / disable a button.                                                                                                                                                                       |
+| createCustomControl(`options`)            | -        | To add a custom Control to the Toolbar. [Details](#adding-newcustom-controls)                                                                                                                    |
+| copyDrawControl(`instance`, `options`)    | `Object` | Creates a copy of a draw Control. Returns the `drawInstance` and the `control`.                                                                                                                  |
+| changeActionsOfControl(`name`, `actions`) | -        | Change the actions of an existing button.                                                                                                                                                        |
+
+#### Customize Controls
+
+There are 4 control blocks in the Toolbar: `draw`, `edit`, `custom` and `options`⭐  
+You can disable / enable entire blocks. To display the Toolbar as one block instead of 4, use `oneBlock: true`.
+
+```js
+map.pm.addControls({
+  drawControls: true,
+  editControls: false,
+  optionsControls: true,
+  customControls: true,
+  oneBlock: false,
+});
+```
+
+Reorder the buttons with:
+
+```js
+map.pm.Toolbar.changeControlOrder([
+  'drawCircle',
+  'drawRectangle',
+  'removalMode',
+  'editMode',
+]);
+```
+
+Receive the current order with:
+
+```js
+map.pm.Toolbar.getControlOrder();
+```
+
+#### Toolbar Block Position
+
+You can set different positions per block `draw`, `edit`, `options`⭐, `custom`:
+
+Possible values are `'topleft'`, `'topright'`, `'bottomleft'`, `'bottomright'`.
+
+```javascript
+map.pm.addControls({
+  positions: {
+    draw: 'topright',
+    edit: 'topleft',
+  },
+});
+```
+
+```javascript
+map.pm.Toolbar.setBlockPosition('draw', 'topright');
+```
+
+```javascript
+map.pm.Toolbar.getBlockPositions();
+```
+
+#### Adding New/Custom Controls
+
+```js
+// add a new custom control
+map.pm.Toolbar.createCustomControl(options);
+```
+
+| Option                | Default  | Description                                                                          |
+| :-------------------- | :------- | :----------------------------------------------------------------------------------- |
+| name                  | Required | Name of the control.                                                                 |
+| block                 | ''       | block of the control. `draw`, `edit`, `custom`, `options`⭐                          |
+| title                 | ''       | Text showing when you hover the control.                                             |
+| className             | ''       | CSS class with the Icon.                                                             |
+| onClick               | -        | Function fired when clicking the control.                                            |
+| afterClick            | -        | Function fired after clicking the control.                                           |
+| actions               | [ ]      | Action that appears as tooltip. Look under [Actions](#actions) for more information. |
+| toggle                | true     | Control can be toggled.                                                              |
+| disabled              | false    | Control is disabled.                                                                 |
+| disableOtherButtons   | true     | Control disables other buttons if enabled.                                           |
+| disableByOtherButtons | true     | Control disabled if other buttons is enabled.                                        |
+
+#### Inherit from an Existing Control
+
+This effectively copies an existing control that you can customize.
+
+```js
+// copy a rectangle and customize its name, block, title and actions
+map.pm.Toolbar.copyDrawControl('Rectangle', {
+  name: 'RectangleCopy',
+  block: 'custom',
+  title: 'Display text on hover button',
+  actions: actions,
+});
+```
+
+#### Actions
+
+You can add your own actions to existing or custom buttons.
+
+Here, we configure 3 separate actions in an array.
+
+```js
+// creates new actions
+const actions = [
+  // uses the default 'cancel' action
+  'cancel',
+  // creates a new action that has text, no click event
+  { text: 'Custom text, no click' },
+  // creates a new action with text and a click event
+  {
+    text: 'click me',
+    onClick: () => {
+      alert('🙋‍♂️');
+    },
+  },
+];
+```
+
+Default actions available are: `cancel`, `removeLastVertex`, `finish`, `finishMode`.
+
+Change actions of an existing button:
+
+```js
+map.pm.Toolbar.changeActionsOfControl('Rectangle', actions);
+```
+
+Pass actions to your custom buttons through the `actions` property mentioned under [Inherit from an Existing Control](#inherit-from-an-existing-control)
+
+The following events are available on a map instance:
+
+| Event          | Params | Description                             | Output                                |
+| :------------- | :----- | :-------------------------------------- | :------------------------------------ |
+| pm:buttonclick | `e`    | Fired when a Toolbar button is clicked. | `btnName`, `button`                   |
+| pm:actionclick | `e`    | Fired when a Toolbar action is clicked. | `text`, `action`, `btnName`, `button` |
+
+### Utils
+
+The following methods are available on `L.PM.Utils`:
+
+| Method                                                        | Returns   | Description                                                                                                                                                |
+| :------------------------------------------------------------ | :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| calcMiddleLatLng(`map`, `latlng1`, `latlng2`)                 | `LatLng`  | Returns the middle LatLng between two LatLngs.                                                                                                             |
+| getTranslation(`path`)                                        | `String`  | Returns the translation of the passed `path`. path = json-string f.ex. `tooltips.placeMarker`.                                                             |
+| findLayers(`map`)                                             | `Array`   | Returns all layers that are available for Leaflet-Geoman.                                                                                                  |
+| circleToPolygon(`circle`, `sides = 60`, `withBearing = true`) | `Polygon` | Converts a circle into a polygon with default 60 sides. For CRS.Simple maps `withBearing` needs to be false.                                               |
+| pxRadiusToMeterRadius(`radiusInPx`, `map`, `center`)          | `Number`  | Converts a px-radius (CircleMarker) to meter-radius (Circle). The center LatLng is needed because the earth has different projections on different places. |
+
+### Lazy Loading
+
+If you want to keep your initial webpage loading size low you might want to deferre Geoman javascript to load only when actually needed on the webpage. In that case if the L.Map object is already initialized when the Geoman javascript is loaded, Geoman won't attach to the existing map object and the `pm` property on the map object will be undefined. In order for Geoman to attach it self to your map object you need to run the following command after Geoman javascript file was loaded.
+
+```js
+L.PM.reInitLayer(map);
+```
+
+Using ES6 Module, a simple example would look something like this:
+
+```js
+import * as L from 'leaflet'
+
+let map = L.Map();
+
+// map created and display on webpage
+...
+
+/* drawing script */
+// at this point map.pm is undefined
+if (!map.pm) {
+  await import(/* webpackChunkName: "leaflet-geoman" */ '@geoman-io/leaflet-geoman-free');
+  L.PM.reInitLayer(map)
+}
+// map.pm is now defined and can be used to draw on map
+```
+
+### Keyboard
+
+We implemented a built-in keyboard listener to make one central place where keyboard events can be accessed (without adding self a listener).
+
+The following methods are available on `map.pm.Keyboard`:
+
+| Method                              | Returns   | Description                                                                                                              |
+| :---------------------------------- | :-------- | :----------------------------------------------------------------------------------------------------------------------- |
+| getLastKeyEvent(`type = 'current'`) | `Object`  | Returns the last event. Also `keydown` and `keyup` can be passed, to get the specific one.                               |
+| getPressedKey()                     | `String`  | Returns the current pressed key. [KeyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) |
+| isShiftKeyPressed()                 | `Boolean` | Returns true if the `Shift` key is currently pressed.                                                                    |
+| isAltKeyPressed()                   | `Boolean` | Returns true if the `Alt` key is currently pressed.                                                                      |
+| isCtrlKeyPressed()                  | `Boolean` | Returns true if the `Ctrl` key is currently pressed.                                                                     |
+| isMetaKeyPressed()                  | `Boolean` | Returns true if the `Meta` key is currently pressed.                                                                     |
+
+The following events are available on a map instance:
+
+| Event       | Params | Description                                                                                                             | Output                          |
+| :---------- | :----- | :---------------------------------------------------------------------------------------------------------------------- | :------------------------------ |
+| pm:keyevent | `e`    | Fired when `keydown` or `keyup` on the document is fired. `eventType` = `keydown / keyup`, `focusOn` = `document / map` | `event`, `eventType`, `focusOn` |
+
+### Feature Requests
+
+I'm adopting the Issue Management of lodash which means, feature requests get the "Feature Request" Label and then get closed.  
+You can upvote existing feature requests (or create new ones). Upvotes make me see how much a feature is requested and prioritize their implementation.  
+Please see the existing [Feature Requests here](https://github.com/geoman-io/leaflet-geoman/issues?q=is%3Aissue+is%3Aclosed+label%3A%22feature+request%22+sort%3Areactions-%2B1-desc) and upvote if you want them to be implemented.
+
+### Developing
+
+Clone the repository and then install all npm packages:
+
+```
+npm install
+```
+
+Compile and run `dev` watch version:
+
+```
+npm run start
+```
+
+Compile and run `build` version:
+
+```
+npm run prepare
+```
+
+Run cypress test:
+
+```
+npm run test
+```
+
+Open cypress window:
+
+```
+npm run cypress
+```
+
+Open eslint check:
+
+```
+npm run lint
+```
+
+Take a look into [CONTRIBUTING](./CONTRIBUTING.md)
+
+### Credit
+
+A big thanks goes to @Falke-Design, he invests a lot of time and takes good care of Leaflet-Geoman.
+
+Thanks to @ryan-morris for the implementation of Typescript and support with Typescript questions.
+
+As I never built a leaflet plugin before, I looked heavily into the code of leaflet.draw to find out how to do stuff. So don't be surprised to see some familiar code.
+
+I also took a hard look at the great [L.GeometryUtil](https://github.com/makinacorpus/Leaflet.GeometryUtil) for some of my helper functions.
+
+The Rotate Mode are only working because of the great calculation code of [L.Path.Transform](https://github.com/w8r/Leaflet.Path.Transform)

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 151 - 0
node_modules/@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css


+ 1619 - 0
node_modules/@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.d.ts

@@ -0,0 +1,1619 @@
+import * as L from 'leaflet';
+
+// redeclare module, maintains compatibility with @types/leaflet
+declare module 'leaflet' {
+  /**
+   * Extends built in leaflet Layer Options.
+   */
+  interface LayerOptions {
+    pmIgnore?: boolean;
+    snapIgnore?: boolean;
+  }
+
+  /**
+   * Extends built in leaflet Map Options.
+   */
+  interface MapOptions {
+    pmIgnore?: boolean;
+  }
+
+  /**
+   * Extends built in leaflet Map.
+   */
+  interface Map {
+    pm: PM.PMMap;
+  }
+
+  /**
+   * Extends built in leaflet Path.
+   */
+  interface Path {
+    pm: PM.PMLayer;
+  }
+  /**
+   * Extends built in leaflet ImageOverlay.
+   */
+  interface ImageOverlay {
+    pm: PM.PMLayer;
+  }
+
+  /**
+   * Extends built in leaflet LayerGroup.
+   */
+  interface LayerGroup {
+    pm: PM.PMLayerGroup;
+  }
+
+  /**
+   * Extends built in leaflet MarkerOptions with options for Text-Layer
+   */
+  interface MarkerOptions {
+    textMarker?: boolean;
+    text?: string;
+  }
+
+  /**
+   * Extends built in leaflet Marker.
+   */
+  interface Marker {
+    pm: PM.PMLayer;
+  }
+
+  /**
+   * Extends @types/leaflet events...
+   *
+   * Todo: This is kind of a mess, and it makes all these event handlers show
+   * up on Layers and Map. Leaflet itself is based around Evented, and @types/leaflet
+   * makes this very hard to work around.
+   *
+   */
+  interface Evented {
+    /******************************************
+     *
+     * AVAILABLE ON MAP + LAYER, THESE ARE OK ON EVENTED.
+     *
+     ********************************************/
+
+    /** Fired when a layer is removed via Removal Mode. */
+    on(type: 'pm:remove', fn: PM.RemoveEventHandler): this;
+    once(type: 'pm:remove', fn: PM.RemoveEventHandler): this;
+    off(type: 'pm:remove', fn?: PM.RemoveEventHandler): this;
+
+    /** Fired when the layer being cut. Draw+Edit Mode*/
+    on(type: 'pm:cut', fn: PM.CutEventHandler): this;
+    once(type: 'pm:cut', fn: PM.CutEventHandler): this;
+    off(type: 'pm:cut', fn?: PM.CutEventHandler): this;
+
+    /** Fired when rotation is enabled for a layer. */
+    on(type: 'pm:rotateenable', fn: PM.RotateEnableEventHandler): this;
+    once(type: 'pm:rotateenable', fn: PM.RotateEnableEventHandler): this;
+    off(type: 'pm:rotateenable', fn?: PM.RotateEnableEventHandler): this;
+
+    /** Fired when rotation is disabled for a layer. */
+    on(type: 'pm:rotatedisable', fn: PM.RotateDisableEventHandler): this;
+    once(type: 'pm:rotatedisable', fn: PM.RotateDisableEventHandler): this;
+    off(type: 'pm:rotatedisable', fn?: PM.RotateDisableEventHandler): this;
+
+    /** Fired when rotation starts on a layer. */
+    on(type: 'pm:rotatestart', fn: PM.RotateStartEventHandler): this;
+    once(type: 'pm:rotatestart', fn: PM.RotateStartEventHandler): this;
+    off(type: 'pm:rotatestart', fn?: PM.RotateStartEventHandler): this;
+
+    /** Fired when a layer is rotated. */
+    on(type: 'pm:rotate', fn: PM.RotateEventHandler): this;
+    once(type: 'pm:rotate', fn: PM.RotateEventHandler): this;
+    off(type: 'pm:rotate', fn?: PM.RotateEventHandler): this;
+
+    /** Fired when rotation ends on a layer. */
+    on(type: 'pm:rotateend', fn: PM.RotateEndEventHandler): this;
+    once(type: 'pm:rotateend', fn: PM.RotateEndEventHandler): this;
+    off(type: 'pm:rotateend', fn?: PM.RotateEndEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: DRAW/EDIT MODE EVENTS LAYER ONLY
+     *
+     ********************************************/
+
+    /** Fired during a marker move/drag. */
+    on(type: 'pm:snapdrag', fn: PM.SnapEventHandler): this;
+    once(type: 'pm:snapdrag', fn: PM.SnapEventHandler): this;
+    off(type: 'pm:snapdrag', fn?: PM.SnapEventHandler): this;
+
+    /** Fired when a vertex is snapped. */
+    on(type: 'pm:snap', fn: PM.SnapEventHandler): this;
+    once(type: 'pm:snap', fn: PM.SnapEventHandler): this;
+    off(type: 'pm:snap', fn?: PM.SnapEventHandler): this;
+
+    /** Fired when a vertex is unsnapped. */
+    on(type: 'pm:unsnap', fn: PM.SnapEventHandler): this;
+    once(type: 'pm:unsnap', fn: PM.SnapEventHandler): this;
+    off(type: 'pm:unsnap', fn?: PM.SnapEventHandler): this;
+
+    /** Called when the center of a circle is placed/moved. */
+    on(type: 'pm:centerplaced', fn: PM.CenterPlacedEventHandler): this;
+    once(type: 'pm:centerplaced', fn: PM.CenterPlacedEventHandler): this;
+    off(type: 'pm:centerplaced', fn?: PM.CenterPlacedEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: CUT/EDIT MODE EVENTS LAYER ONLY
+     *
+     ********************************************/
+
+    /** Fired when a layer is edited. */
+    on(type: 'pm:edit', fn: PM.EditEventHandler): this;
+    once(type: 'pm:edit', fn: PM.EditEventHandler): this;
+    off(type: 'pm:edit', fn?: PM.EditEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: DRAW MODE EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when Drawing Mode is toggled. */
+    on(
+      type: 'pm:globaldrawmodetoggled',
+      fn: PM.GlobalDrawModeToggledEventHandler,
+      context?: any
+    ): L.Evented;
+    once(
+      type: 'pm:globaldrawmodetoggled',
+      fn: PM.GlobalDrawModeToggledEventHandler,
+      context?: any
+    ): L.Evented;
+    off(
+      type: 'pm:globaldrawmodetoggled',
+      fn?: PM.GlobalDrawModeToggledEventHandler,
+      context?: any
+    ): L.Evented;
+
+    /** Called when drawing mode is enabled. Payload includes the shape type and working layer. */
+    on(
+      type: 'pm:drawstart',
+      fn: PM.DrawStartEventHandler,
+      context?: any
+    ): L.Evented;
+    once(
+      type: 'pm:drawstart',
+      fn: PM.DrawStartEventHandler,
+      context?: any
+    ): L.Evented;
+    off(
+      type: 'pm:drawstart',
+      fn?: PM.DrawStartEventHandler,
+      context?: any
+    ): L.Evented;
+
+    /** Called when drawing mode is disabled. Payload includes the shape type. */
+    on(
+      type: 'pm:drawend',
+      fn: PM.DrawEndEventHandler,
+      context?: any
+    ): L.Evented;
+    once(
+      type: 'pm:drawend',
+      fn: PM.DrawEndEventHandler,
+      context?: any
+    ): L.Evented;
+    off(
+      type: 'pm:drawend',
+      fn?: PM.DrawEndEventHandler,
+      context?: any
+    ): L.Evented;
+
+    /** Called when drawing mode is disabled. Payload includes the shape type. */
+    on(type: 'pm:create', fn: PM.CreateEventHandler, context?: any): L.Evented;
+    once(
+      type: 'pm:create',
+      fn: PM.CreateEventHandler,
+      context?: any
+    ): L.Evented;
+    off(
+      type: 'pm:create',
+      fn?: PM.CreateEventHandler,
+      context?: any
+    ): L.Evented;
+
+    /******************************************
+     *
+     * TODO: DRAW MODE EVENTS ON LAYER ONLY
+     *
+     ********************************************/
+
+    /** Called when a new vertex is added. */
+    on(type: 'pm:vertexadded', fn: PM.VertexAddedEventHandler): this;
+    once(type: 'pm:vertexadded', fn: PM.VertexAddedEventHandler): this;
+    off(type: 'pm:vertexadded', fn?: PM.VertexAddedEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: EDIT MODE EVENTS ON LAYER ONLY
+     *
+     ********************************************/
+
+    /** Fired when edit mode is disabled and a layer is edited and its coordinates have changed. */
+    on(type: 'pm:update', fn: PM.UpdateEventHandler): this;
+    once(type: 'pm:update', fn: PM.UpdateEventHandler): this;
+    off(type: 'pm:update', fn?: PM.UpdateEventHandler): this;
+
+    /** Fired when edit mode on a layer is enabled. */
+    on(type: 'pm:enable', fn: PM.EnableEventHandler): this;
+    once(type: 'pm:enable', fn: PM.EnableEventHandler): this;
+    off(type: 'pm:enable', fn?: PM.EnableEventHandler): this;
+
+    /** Fired when edit mode on a layer is disabled. */
+    on(type: 'pm:disable', fn: PM.DisableEventHandler): this;
+    once(type: 'pm:disable', fn: PM.DisableEventHandler): this;
+    off(type: 'pm:disable', fn?: PM.DisableEventHandler): this;
+
+    /** Fired when a vertex is added. */
+    on(type: 'pm:vertexadded', fn: PM.VertexAddedEventHandler2): this;
+    once(type: 'pm:vertexadded', fn: PM.VertexAddedEventHandler2): this;
+    off(type: 'pm:vertexadded', fn?: PM.VertexAddedEventHandler2): this;
+
+    /** Fired when a vertex is removed. */
+    on(type: 'pm:vertexremoved', fn: PM.VertexRemovedEventHandler): this;
+    once(type: 'pm:vertexremoved', fn: PM.VertexRemovedEventHandler): this;
+    off(type: 'pm:vertexremoved', fn?: PM.VertexRemovedEventHandler): this;
+
+    /** Fired when a vertex is clicked. */
+    on(type: 'pm:vertexclick', fn: PM.VertexClickEventHandler): this;
+    once(type: 'pm:vertexclick', fn: PM.VertexClickEventHandler): this;
+    off(type: 'pm:vertexclick', fn?: PM.VertexClickEventHandler): this;
+
+    /** Fired when dragging of a marker which corresponds to a vertex starts. */
+    on(type: 'pm:markerdragstart', fn: PM.MarkerDragStartEventHandler): this;
+    once(type: 'pm:markerdragstart', fn: PM.MarkerDragStartEventHandler): this;
+    off(type: 'pm:markerdragstart', fn?: PM.MarkerDragStartEventHandler): this;
+
+    /** Fired when dragging a vertex-marker. */
+    on(type: 'pm:markerdrag', fn: PM.MarkerDragEventHandler): this;
+    once(type: 'pm:markerdrag', fn: PM.MarkerDragEventHandler): this;
+    off(type: 'pm:markerdrag', fn?: PM.MarkerDragEventHandler): this;
+
+    /** Fired when dragging of a vertex-marker ends. */
+    on(type: 'pm:markerdragend', fn: PM.MarkerDragEndEventHandler): this;
+    once(type: 'pm:markerdragend', fn: PM.MarkerDragEndEventHandler): this;
+    off(type: 'pm:markerdragend', fn?: PM.MarkerDragEndEventHandler): this;
+
+    /** Fired when coords of a layer are reset. E.g. by self-intersection.. */
+    on(type: 'pm:layerreset', fn: PM.LayerResetEventHandler): this;
+    once(type: 'pm:layerreset', fn: PM.LayerResetEventHandler): this;
+    off(type: 'pm:layerreset', fn?: PM.LayerResetEventHandler): this;
+
+    /** When allowSelfIntersection: false, this event is fired as soon as a self-intersection is detected. */
+    on(type: 'pm:intersect', fn: PM.IntersectEventHandler): this;
+    once(type: 'pm:intersect', fn: PM.IntersectEventHandler): this;
+    off(type: 'pm:intersect', fn?: PM.IntersectEventHandler): this;
+
+    /** Fired coordinates of the layer changed. */
+    on(type: 'pm:change', fn: PM.ChangeEventHandler): this;
+    once(type: 'pm:change', fn: PM.ChangeEventHandler): this;
+    off(type: 'pm:change', fn?: PM.ChangeEventHandler): this;
+
+    /** Fired when the text of a layer is changed. */
+    on(type: 'pm:textchange', fn: PM.TextChangeEventHandler): this;
+    once(type: 'pm:textchange', fn: PM.TextChangeEventHandler): this;
+    off(type: 'pm:textchange', fn?: PM.TextChangeEventHandler): this;
+
+    /** Fired when the text layer is focused. */
+    on(type: 'pm:textfocus', fn: PM.TextFocusEventHandler): this;
+    once(type: 'pm:textfocus', fn: PM.TextFocusEventHandler): this;
+    off(type: 'pm:textfocus', fn?: PM.TextFocusEventHandler): this;
+
+    /** Fired when the text layer is blurred.  */
+    on(type: 'pm:textblur', fn: PM.TextBlurEventHandler): this;
+    once(type: 'pm:textblur', fn: PM.TextBlurEventHandler): this;
+    off(type: 'pm:textblur', fn?: PM.TextBlurEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: EDIT MODE EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when Edit Mode is toggled. */
+    on(
+      type: 'pm:globaleditmodetoggled',
+      fn: PM.GlobalEditModeToggledEventHandler
+    ): this;
+    once(
+      type: 'pm:globaleditmodetoggled',
+      fn: PM.GlobalEditModeToggledEventHandler
+    ): this;
+    off(
+      type: 'pm:globaleditmodetoggled',
+      fn?: PM.GlobalEditModeToggledEventHandler
+    ): this;
+
+    /******************************************
+     *
+     * TODO: DRAG MODE EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when Drag Mode is toggled. */
+    on(
+      type: 'pm:globaldragmodetoggled',
+      fn: PM.GlobalDragModeToggledEventHandler
+    ): this;
+    once(
+      type: 'pm:globaldragmodetoggled',
+      fn: PM.GlobalDragModeToggledEventHandler
+    ): this;
+    off(
+      type: 'pm:globaldragmodetoggled',
+      fn?: PM.GlobalDragModeToggledEventHandler
+    ): this;
+
+    /******************************************
+     *
+     * TODO: DRAG MODE EVENTS ON LAYER ONLY
+     *
+     ********************************************/
+
+    /** Fired when a layer starts being dragged. */
+    on(type: 'pm:dragstart', fn: PM.DragStartEventHandler): this;
+    once(type: 'pm:dragstart', fn: PM.DragStartEventHandler): this;
+    off(type: 'pm:dragstart', fn?: PM.DragStartEventHandler): this;
+
+    /** Fired when a layer is dragged. */
+    on(type: 'pm:drag', fn: PM.DragEventHandler): this;
+    once(type: 'pm:drag', fn: PM.DragEventHandler): this;
+    off(type: 'pm:drag', fn?: PM.DragEventHandler): this;
+
+    /** Fired when a layer stops being dragged. */
+    on(type: 'pm:dragend', fn: PM.DragEndEventHandler): this;
+    once(type: 'pm:dragend', fn: PM.DragEndEventHandler): this;
+    off(type: 'pm:dragend', fn?: PM.DragEndEventHandler): this;
+
+    /** Fired when drag mode on a layer is enabled. */
+    on(type: 'pm:dragenable', fn: PM.DragEnableEventHandler): this;
+    once(type: 'pm:dragenable', fn: PM.DragEnableEventHandler): this;
+    off(type: 'pm:dragenable', fn?: PM.DragEnableEventHandler): this;
+
+    /** Fired when drag mode on a layer is disabled. */
+    on(type: 'pm:dragdisable', fn: PM.DragDisableEventHandler): this;
+    once(type: 'pm:dragdisable', fn: PM.DragDisableEventHandler): this;
+    off(type: 'pm:dragdisable', fn?: PM.DragDisableEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: REMOVE MODE EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when Removal Mode is toggled. */
+    on(
+      type: 'pm:globalremovalmodetoggled',
+      fn: PM.GlobalRemovalModeToggledEventHandler
+    ): this;
+    once(
+      type: 'pm:globalremovalmodetoggled',
+      fn: PM.GlobalRemovalModeToggledEventHandler
+    ): this;
+    off(
+      type: 'pm:globalremovalmodetoggled',
+      fn?: PM.GlobalRemovalModeToggledEventHandler
+    ): this;
+
+    /******************************************
+     *
+     * TODO: CUT MODE EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when a layer is removed via Removal Mode. */
+    on(
+      type: 'pm:globalcutmodetoggled',
+      fn: PM.GlobalCutModeToggledEventHandler
+    ): this;
+    once(
+      type: 'pm:globalcutmodetoggled',
+      fn: PM.GlobalCutModeToggledEventHandler
+    ): this;
+    off(
+      type: 'pm:globalcutmodetoggled',
+      fn?: PM.GlobalCutModeToggledEventHandler
+    ): this;
+
+    /******************************************
+     *
+     * TODO: ROTATE MODE EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when Rotate Mode is toggled. */
+    on(
+      type: 'pm:globalrotatemodetoggled',
+      fn: PM.GlobalRotateModeToggledEventHandler
+    ): this;
+    once(
+      type: 'pm:globalrotatemodetoggled',
+      fn: PM.GlobalRotateModeToggledEventHandler
+    ): this;
+    off(
+      type: 'pm:globalrotatemodetoggled',
+      fn?: PM.GlobalRotateModeToggledEventHandler
+    ): this;
+
+    /******************************************
+     *
+     * TODO: TRANSLATION EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Standard Leaflet event. Fired when any layer is removed. */
+    on(type: 'pm:langchange', fn: PM.LangChangeEventHandler): this;
+    once(type: 'pm:langchange', fn: PM.LangChangeEventHandler): this;
+    off(type: 'pm:langchange', fn?: PM.LangChangeEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: CONTROL EVENTS ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when a Toolbar button is clicked. */
+    on(type: 'pm:buttonclick', fn: PM.ButtonClickEventHandler): this;
+    once(type: 'pm:buttonclick', fn: PM.ButtonClickEventHandler): this;
+    off(type: 'pm:buttonclick', fn?: PM.ButtonClickEventHandler): this;
+
+    /** Fired when a Toolbar action is clicked. */
+    on(type: 'pm:actionclick', fn: PM.ActionClickEventHandler): this;
+    once(type: 'pm:actionclick', fn: PM.ActionClickEventHandler): this;
+    off(type: 'pm:actionclick', fn?: PM.ActionClickEventHandler): this;
+
+    /******************************************
+     *
+     * TODO: Keyboard EVENT ON MAP ONLY
+     *
+     ********************************************/
+
+    /** Fired when `keydown` or `keyup` on the document is fired. */
+    on(type: 'pm:keyevent', fn: PM.KeyboardKeyEventHandler): this;
+    once(type: 'pm:keyevent', fn: PM.KeyboardKeyEventHandler): this;
+    off(type: 'pm:keyevent', fn?: PM.KeyboardKeyEventHandler): this;
+  }
+
+  namespace PM {
+
+    export const version: string;
+
+    /** Supported shape names. 'ImageOverlay' is in Edit Mode only. Also accepts custom shape name. */
+    type SUPPORTED_SHAPES =
+      | 'Marker'
+      | 'Circle'
+      | 'Line'
+      | 'Rectangle'
+      | 'Polygon'
+      | 'Cut'
+      | 'CircleMarker'
+      | 'ImageOverlay'
+      | 'Text'
+      | string;
+
+    type SupportLocales =
+      | 'cz'
+      | 'da'
+      | 'de'
+      | 'el'
+      | 'en'
+      | 'es'
+      | 'fa'
+      | 'fi'
+      | 'fr'
+      | 'hu'
+      | 'id'
+      | 'it'
+      | 'ja'
+      | 'ko'
+      | 'nl'
+      | 'no'
+      | 'pl'
+      | 'pt_br'
+      | 'ro'
+      | 'ru'
+      | 'sv'
+      | 'tr'
+      | 'ua'
+      | 'zh'
+      | 'zh_tw';
+
+    /**
+     * Changes default registration of leaflet-geoman on leaflet layers.
+     *
+     * @param optIn - if true, a layers pmIgnore property has to be set to false to get initiated.
+     */
+    function setOptIn(optIn: boolean): void;
+
+    /**
+     * Enable leaflet-geoman on an ignored layer.
+     *
+     * @param layer - re-reads layer.options.pmIgnore to initialize leaflet-geoman.
+     */
+    function reInitLayer(layer: L.Layer): void;
+
+    /**
+     * PM map interface.
+     */
+    interface PMMap
+      extends PMDrawMap,
+        PMEditMap,
+        PMDragMap,
+        PMRemoveMap,
+        PMCutMap,
+        PMRotateMap {
+      Toolbar: PMMapToolbar;
+
+      Keyboard: PMMapKeyboard;
+
+      /** Adds the Toolbar to the map. */
+      addControls(options?: ToolbarOptions): void;
+
+      /** Toggle the visiblity of the Toolbar. */
+      removeControls(): void;
+
+      /** Returns true if the Toolbar is visible on the map. */
+      controlsVisible(): boolean;
+
+      /** Toggle the visiblity of the Toolbar. */
+      toggleControls(): void;
+
+      setLang(
+        lang: SupportLocales,
+        customTranslations?: Translations,
+        fallbackLanguage?: string
+      ): void;
+
+      /** Set globalOptions and apply them. */
+      setGlobalOptions(options: GlobalOptions): void;
+
+      /** Apply the current globalOptions to all existing layers. */
+      applyGlobalOptions(): void;
+
+      /** Returns the globalOptions. */
+      getGlobalOptions(): GlobalOptions;
+    }
+
+    class Translations {
+      tooltips?: {
+        placeMarker?: string;
+        firstVertex?: string;
+        continueLine?: string;
+        finishLine?: string;
+        finishPoly?: string;
+        finishRect?: string;
+        startCircle?: string;
+        finishCircle?: string;
+        placeCircleMarker?: string;
+        placeText?: string;
+      };
+
+      actions?: {
+        finish?: string;
+        cancel?: string;
+        removeLastVertex?: string;
+      };
+
+      buttonTitles?: {
+        drawMarkerButton?: string;
+        drawPolyButton?: string;
+        drawLineButton?: string;
+        drawCircleButton?: string;
+        drawRectButton?: string;
+        editButton?: string;
+        dragButton?: string;
+        cutButton?: string;
+        deleteButton?: string;
+        drawCircleMarkerButton?: string;
+        snappingButton?: string;
+        pinningButton?: string;
+        rotateButton?: string;
+        drawTextButton?: string;
+        scaleButton?: string;
+        autoTracingButton?: string;
+      };
+
+      measurements?: {
+        totalLength?: string;
+        segmentLength?: string;
+        area?: string;
+        radius?: string;
+        perimeter?: string;
+        height?: string;
+        width?: string;
+        coordinates?: string;
+        coordinatesMarker?: string;
+      }
+    }
+
+    type ACTION_NAMES = 'cancel' | 'removeLastVertex' | 'finish' | 'finishMode';
+
+    class Action {
+      text: string;
+      onClick?: (e: any) => void;
+    }
+
+    type TOOLBAR_CONTROL_ORDER =
+      | 'drawMarker'
+      | 'drawCircleMarker'
+      | 'drawPolyline'
+      | 'drawRectangle'
+      | 'drawPolygon'
+      | 'drawCircle'
+      | 'editMode'
+      | 'dragMode'
+      | 'cutPolygon'
+      | 'removalMode'
+      | 'rotateMode'
+      | 'drawText'
+      | string;
+
+    interface PMMapToolbar {
+      /** Pass an array of button names to reorder the buttons in the Toolbar. */
+      changeControlOrder(order?: TOOLBAR_CONTROL_ORDER[]): void;
+
+      /** Receive the current order with. */
+      getControlOrder(): TOOLBAR_CONTROL_ORDER[];
+
+      /** The position of a block (draw, edit, custom, options⭐) in the Toolbar can be changed. If not set, the value from position of the Toolbar is taken. */
+      setBlockPosition(
+        block: 'draw' | 'edit' | 'custom' | 'options',
+        position: L.ControlPosition
+      ): void;
+
+      /** Returns a Object with the positions for all blocks */
+      getBlockPositions(): BlockPositions;
+
+      /** To add a custom Control to the Toolbar */
+      createCustomControl(options: CustomControlOptions): void;
+
+      /** Creates a copy of a draw Control. Returns the drawInstance and the control. */
+      copyDrawControl(
+        copyInstance: string,
+        options?: CustomControlOptions
+      ): void;
+
+      /** Change the actions of an existing button. */
+      changeActionsOfControl(
+        name: string,
+        actions: (ACTION_NAMES | Action)[]
+      ): void;
+
+      /** Disable button by control name */
+      setButtonDisabled(name: TOOLBAR_CONTROL_ORDER, state: boolean): void;
+    }
+
+    type KEYBOARD_EVENT_TYPE = 'current' | 'keydown' | 'keyup';
+
+    interface PMMapKeyboard {
+      /** Pass an array of button names to reorder the buttons in the Toolbar. */
+      getLastKeyEvent(type: KEYBOARD_EVENT_TYPE[]): KeyboardKeyEventHandler;
+
+      /** Returns the current pressed key. [KeyboardEvent.key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key). */
+      getPressedKey(): string;
+
+      /** Returns true if the `Shift` key is currently pressed. */
+      isShiftKeyPressed(): boolean;
+
+      /** Returns true if the `Alt` key is currently pressed. */
+      isAltKeyPressed(): boolean;
+
+      /** Returns true if the `Ctrl` key is currently pressed. */
+      isCtrlKeyPressed(): boolean;
+
+      /** Returns true if the `Meta` key is currently pressed. */
+      isMetaKeyPressed(): boolean;
+    }
+
+    interface Button {
+      /** Actions */
+      actions: (ACTION_NAMES | Action)[];
+
+      /** Function fired after clicking the control. */
+      afterClick: () => void;
+
+      /** CSS class with the Icon. */
+      className: string;
+
+      /** If true, other buttons will be disabled on click (default: true) */
+      disableOtherButtons: boolean;
+
+      /** Control can be toggled. */
+      doToggle: boolean;
+
+      /** Extending Class f. ex. Line, Polygon, ... L.PM.Draw.EXTENDINGCLASS */
+      jsClass: string;
+
+      /** Function fired when clicking the control. */
+      onClick: () => void;
+
+      position: L.ControlPosition;
+
+      /** Text showing when you hover the control. */
+      title: string;
+
+      /** Toggle state true -> enabled, false -> disabled (default: false) */
+      toggleStatus: boolean;
+
+      /** Block of the control. 'options' is ⭐ only. */
+      tool?: 'draw' | 'edit' | 'custom' | 'options';
+    }
+
+    interface CustomControlOptions {
+      /** Name of the control */
+      name: string;
+
+      /** Block of the control. 'options' is ⭐ only. */
+      block?: 'draw' | 'edit' | 'custom' | 'options';
+
+      /** Text showing when you hover the control. */
+      title?: string;
+
+      /** CSS class with the Icon. */
+      className?: string;
+
+      /** Function fired when clicking the control. */
+      onClick?: () => void;
+
+      /** Function fired after clicking the control. */
+      afterClick?: () => void;
+
+      /** Actions */
+      actions?: (ACTION_NAMES | Action)[];
+
+      /** Control can be toggled. */
+      toggle?: boolean;
+
+      /** Control is disabled. */
+      disabled?: boolean;
+    }
+
+    type PANE =
+      | 'mapPane'
+      | 'tilePane'
+      | 'overlayPane'
+      | 'shadowPane'
+      | 'markerPane'
+      | 'tooltipPane'
+      | 'popupPane'
+      | string;
+
+    interface GlobalOptions extends DrawModeOptions, EditModeOptions {
+      /** Add the created layers to a layergroup instead to the map. */
+      layerGroup?: L.Map | L.LayerGroup;
+
+      /** Prioritize the order of snapping. Default: ['Marker','CircleMarker','Circle','Line','Polygon','Rectangle']. */
+      snappingOrder?: SUPPORTED_SHAPES[];
+
+      /** Defines in which panes the layers and helper vertices are created. Default: { vertexPane: 'markerPane', layerPane: 'overlayPane', markerPane: 'markerPane' } */
+      panes?: { vertexPane?: PANE; layerPane?: PANE; markerPane?: PANE };
+    }
+
+    interface PMDrawMap {
+      /** Enable Draw Mode with the passed shape. */
+      enableDraw(shape: SUPPORTED_SHAPES, options?: DrawModeOptions): void;
+
+      /** Disable all drawing */
+      disableDraw(shape?: SUPPORTED_SHAPES): void;
+
+      /** Draw */
+      Draw: Draw;
+
+      /** Returns true if global Draw Mode is enabled. false when disabled. */
+      globalDrawModeEnabled(): boolean;
+
+      /** Customize the style of the drawn layer. Only for L.Path layers. Shapes can be excluded with a ignoreShapes array or merged with the current style with merge: true in  optionsModifier. */
+      setPathOptions(
+        options: L.PathOptions,
+        optionsModifier?: { ignoreShapes?: SUPPORTED_SHAPES[]; merge?: boolean }
+      ): void;
+
+      /** Returns all Geoman layers on the map as array. Pass true to get a L.FeatureGroup. */
+      getGeomanLayers(asFeatureGroup: true): L.FeatureGroup;
+      getGeomanLayers(asFeatureGroup?: false): L.Layer[];
+
+      /** Returns all Geoman draw layers on the map as array. Pass true to get a L.FeatureGroup. */
+      getGeomanDrawLayers(asFeatureGroup: true): L.FeatureGroup;
+      getGeomanDrawLayers(asFeatureGroup?: false): L.Layer[];
+    }
+
+    interface PMEditMap {
+      /** Enables edit mode. The passed options are preserved, even when the mode is enabled via the Toolbar */
+      enableGlobalEditMode(options?: EditModeOptions): void;
+
+      /** Disables global edit mode. */
+      disableGlobalEditMode(): void;
+
+      /** Toggles global edit mode. */
+      toggleGlobalEditMode(options?: EditModeOptions): void;
+
+      /** Returns true if global edit mode is enabled. false when disabled. */
+      globalEditModeEnabled(): boolean;
+    }
+
+    interface PMDragMap {
+      /** Enables global drag mode. */
+      enableGlobalDragMode(): void;
+
+      /** Disables global drag mode. */
+      disableGlobalDragMode(): void;
+
+      /** Toggles global drag mode. */
+      toggleGlobalDragMode(): void;
+
+      /** Returns true if global drag mode is enabled. false when disabled. */
+      globalDragModeEnabled(): boolean;
+    }
+
+    interface PMRemoveMap {
+      /** Enables global removal mode. */
+      enableGlobalRemovalMode(): void;
+
+      /** Disables global removal mode. */
+      disableGlobalRemovalMode(): void;
+
+      /** Toggles global removal mode. */
+      toggleGlobalRemovalMode(): void;
+
+      /** Returns true if global removal mode is enabled. false when disabled. */
+      globalRemovalModeEnabled(): boolean;
+    }
+
+    interface PMCutMap {
+      /** Enables global cut mode. */
+      enableGlobalCutMode(options?: CutModeOptions): void;
+
+      /** Disables global cut mode. */
+      disableGlobalCutMode(): void;
+
+      /** Toggles global cut mode. */
+      toggleGlobalCutMode(options?: CutModeOptions): void;
+
+      /** Returns true if global cut mode is enabled. false when disabled. */
+      globalCutModeEnabled(): boolean;
+    }
+
+    interface PMRotateMap {
+      /** Enables global rotate mode. */
+      enableGlobalRotateMode(): void;
+
+      /** Disables global rotate mode. */
+      disableGlobalRotateMode(): void;
+
+      /** Toggles global rotate mode. */
+      toggleGlobalRotateMode(): void;
+
+      /** Returns true if global rotate mode is enabled. false when disabled. */
+      globalRotateModeEnabled(): boolean;
+    }
+
+    interface PMRotateLayer {
+      /** Enables rotate mode on the layer. */
+      enableRotate(): void;
+
+      /** Disables rotate mode on the layer. */
+      disableRotate(): void;
+
+      /** Returns if rotate mode is enabled for the layer. */
+      rotateEnabled(): boolean;
+
+      /** Rotates the layer by x degrees. */
+      rotateLayer(degrees: number): void;
+
+      /** Rotates the layer to x degrees. */
+      rotateLayerToAngle(degrees: number): void;
+
+      /** Returns the angle of the layer in degrees. */
+      getAngle(): number;
+
+      /** Set the initial angle of the layer in degrees. */
+      setInitAngle(degrees: number): void;
+    }
+
+    interface Draw {
+      /** Array of available shapes. */
+      getShapes(): SUPPORTED_SHAPES[];
+
+      /** Returns the active shape. */
+      getActiveShape(): SUPPORTED_SHAPES;
+
+      /** Set path options */
+      setPathOptions(options: L.PathOptions): void;
+
+      /** Set options */
+      setOptions(options: DrawModeOptions): void;
+
+      /** Get options */
+      getOptions(): DrawModeOptions;
+    }
+
+    interface CutModeOptions {
+      allowSelfIntersection?: boolean;
+    }
+
+    type VertexValidationHandler = (e: {
+      layer: L.Layer;
+      marker: L.Marker;
+      event: any;
+    }) => boolean;
+
+    interface EditModeOptions {
+      /** Enable snapping to other layers vertices for precision drawing. Can be disabled by holding the ALT key (default:true). */
+      snappable?: boolean;
+
+      /** The distance to another vertex when a snap should happen (default:20). */
+      snapDistance?: number;
+
+      /** Allow self intersections (default:true). */
+      allowSelfIntersection?: boolean;
+
+      /** Allow self intersections (default:true). */
+      allowSelfIntersectionEdit?: boolean;
+
+      /** Disable the removal of markers via right click / vertices via removeVertexOn. (default:false). */
+      preventMarkerRemoval?: boolean;
+
+      /** If true, vertex removal that cause a layer to fall below their minimum required vertices will remove the entire layer. If false, these vertices can't be removed. Minimum vertices are 2 for Lines and 3 for Polygons (default:true). */
+      removeLayerBelowMinVertexCount?: boolean;
+
+      /** Defines which layers should dragged with this layer together. true syncs all layers in the same LayerGroup(s) or you pass an `Array` of layers to sync. (default:false). */
+      syncLayersOnDrag?: L.Layer[] | boolean;
+
+      /** Edit-Mode for the layer can disabled (`pm.enable()`). (default:true). */
+      allowEditing?: boolean;
+
+      /** Removing can be disabled for the layer. (default:true). */
+      allowRemoval?: boolean;
+
+      /** Layer can be prevented from cutting. (default:true). */
+      allowCutting?: boolean;
+
+      /** Layer can be prevented from rotation. (default:true). */
+      allowRotation?: boolean;
+
+      /** Dragging can be disabled for the layer. (default:true). */
+      draggable?: boolean;
+
+      /** Leaflet layer event to add a vertex to a Line or Polygon, like dblclick. (default:click). */
+      addVertexOn?:
+        | 'click'
+        | 'dblclick'
+        | 'mousedown'
+        | 'mouseover'
+        | 'mouseout'
+        | 'contextmenu';
+
+      /** A function for validation if a vertex (of a Line / Polygon) is allowed to add. It passes a object with `[layer, marker, event}`. For example to check if the layer has a certain property or if the `Ctrl` key is pressed. (default:undefined). */
+      addVertexValidation?: undefined | VertexValidationHandler;
+
+      /** Leaflet layer event to remove a vertex from a Line or Polygon, like dblclick. (default:contextmenu). */
+      removeVertexOn?:
+        | 'click'
+        | 'dblclick'
+        | 'mousedown'
+        | 'mouseover'
+        | 'mouseout'
+        | 'contextmenu';
+
+      /** A function for validation if a vertex (of a Line / Polygon) is allowed to remove. It passes a object with `[layer, marker, event}`. For example to check if the layer has a certain property or if the `Ctrl` key is pressed. */
+      removeVertexValidation?: undefined | VertexValidationHandler;
+
+      /** A function for validation if a vertex / helper-marker is allowed to move / drag. It passes a object with `[layer, marker, event}`. For example to check if the layer has a certain property or if the `Ctrl` key is pressed. */
+      moveVertexValidation?: undefined | VertexValidationHandler;
+
+      /** Shows only n markers closest to the cursor. Use -1 for no limit (default:-1). */
+      limitMarkersToCount?: number;
+
+      /** Shows markers when under the given zoom level ⭐ */
+      limitMarkersToZoom?: number;
+
+      /** Shows only markers in the viewport ⭐ */
+      limitMarkersToViewport?: boolean;
+
+      /** Shows markers only after the layer was clicked ⭐ */
+      limitMarkersToClick?: boolean;
+
+      /** Pin shared vertices/markers together during edit ⭐ */
+      pinning?: boolean;
+
+      /** Hide the middle Markers in edit mode from Polyline and Polygon. */
+      hideMiddleMarkers?: boolean;
+    }
+
+    interface TextOptions {
+      /** Predefined text for Text-Layer. */
+      text?: string;
+
+      /** Directly after placing the Text-Layer text editing is activated. */
+      focusAfterDraw?: boolean;
+
+      /** The text layer is removed if no text is written. */
+      removeIfEmpty?: boolean;
+
+      /** Custom CSS Classes for Text-Layer. Separated by a space. */
+      className?: string;
+    }
+
+    interface DrawModeOptions {
+      /** Enable snapping to other layers vertices for precision drawing. Can be disabled by holding the ALT key (default:true). */
+      snappable?: boolean;
+
+      /** The distance to another vertex when a snap should happen (default:20). */
+      snapDistance?: number;
+
+      /** Allow snapping in the middle of two vertices (middleMarker)(default:false). */
+      snapMiddle?: boolean;
+
+      /** Allow snapping between two vertices. (default: true)*/
+      snapSegment?: boolean;
+
+      /** Require the last point of a shape to be snapped. (default: false). */
+      requireSnapToFinish?: boolean;
+
+      /** Show helpful tooltips for your user (default:true). */
+      tooltips?: boolean;
+
+      /** Allow self intersections (default:true). */
+      allowSelfIntersection?: boolean;
+
+      /** Leaflet path options for the lines between drawn vertices/markers. (default:{color:'red'}). */
+      templineStyle?: L.CircleMarkerOptions;
+
+      /** Leaflet path options for the helper line between last drawn vertex and the cursor. (default:{color:'red',dashArray:[5,5]}). */
+      hintlineStyle?: L.PathOptions;
+
+      /** Leaflet path options for the drawn layer (Only for L.Path layers). (default:null). */
+      pathOptions?: L.PathOptions;
+
+      /** Leaflet marker options (only for drawing markers). (default:{draggable:true}). */
+      markerStyle?: L.MarkerOptions;
+
+      /** Show a marker at the cursor (default:true). */
+      cursorMarker?: boolean;
+
+      /** Leaflet layer event to finish the drawn shape (default:null). */
+      finishOn?:
+        | null
+        | 'click'
+        | 'dblclick'
+        | 'mousedown'
+        | 'mouseover'
+        | 'mouseout'
+        | 'contextmenu'
+        | 'snap';
+
+      /** Hide the middle Markers in edit mode from Polyline and Polygon. (default:false). */
+      hideMiddleMarkers?: boolean;
+
+      /** Set the min radius of a Circle. (default:null). */
+      minRadiusCircle?: number;
+
+      /** Set the max radius of a Circle. (default:null). */
+      maxRadiusCircle?: number;
+
+      /** Set the min radius of a CircleMarker when editable is active. (default:null). */
+      minRadiusCircleMarker?: number;
+
+      /** Set the max radius of a CircleMarker when editable is active. (default:null). */
+      maxRadiusCircleMarker?: number;
+
+      /** Makes a CircleMarker editable like a Circle (default:false). */
+      editable?: boolean;
+
+      /** Markers and CircleMarkers are editable during the draw-session (you can drag them around immediately after drawing them) (default:true). */
+      markerEditable?: boolean;
+
+      /** Draw-Mode stays enabled after finishing a layer to immediately draw the next layer. Defaults to true for Markers and CircleMarkers and false for all other layers. */
+      continueDrawing?: boolean;
+
+      /** Angel of rectangle. */
+      rectangleAngle?: number;
+
+      /** Cut-Mode: Only the passed layers can be cut. Cutted layers are removed from the Array until no layers are left anymore and cutting is working on all layers again. (Default: []) */
+      layersToCut?: L.Layer[];
+
+      textOptions?: TextOptions;
+    }
+
+    /**
+     * PM toolbar options.
+     */
+    interface ToolbarOptions {
+      /** Toolbar position. */
+      position?: L.ControlPosition;
+
+      /** The position of each block can be customized. If not set, the value from position is taken. */
+      positions?: BlockPositions;
+
+      /** Adds button to draw Markers (default:true) */
+      drawMarker?: boolean;
+
+      /** Adds button to draw CircleMarkers (default:true) */
+      drawCircleMarker?: boolean;
+
+      /** Adds button to draw Line (default:true) */
+      drawPolyline?: boolean;
+
+      /** Adds button to draw Rectangle (default:true) */
+      drawRectangle?: boolean;
+
+      /** Adds button to draw Polygon (default:true) */
+      drawPolygon?: boolean;
+
+      /** Adds button to draw Text (default:true) */
+      drawText?: boolean;
+
+      /** Adds button to draw Circle (default:true) */
+      drawCircle?: boolean;
+
+      /** Adds button to toggle edit mode for all layers (default:true) */
+      editMode?: boolean;
+
+      /** Adds button to toggle drag mode for all layers (default:true) */
+      dragMode?: boolean;
+
+      /** Adds button to cut a hole in a polygon or line (default:true) */
+      cutPolygon?: boolean;
+
+      /** Adds a button to remove layers (default:true) */
+      removalMode?: boolean;
+
+      /** Adds a button to rotate layers (default:true) */
+      rotateMode?: boolean;
+
+      /** All buttons will be displayed as one block Customize Controls (default:false) */
+      oneBlock?: boolean;
+
+      /** Shows all draw buttons / buttons in the draw block (default:true) */
+      drawControls?: boolean;
+
+      /** Shows all edit buttons / buttons in the edit block (default:true) */
+      editControls?: boolean;
+
+      /** Shows all buttons in the custom block (default:true) */
+      customControls?: boolean;
+
+      /** Shows all options buttons / buttons in the option block ⭐ */
+      optionsControls?: boolean;
+
+      /** Adds a button to toggle the Pinning Option ⭐ */
+      pinningOption?: boolean;
+
+      /** Adds a button to toggle the Snapping Option ⭐ */
+      snappingOption?: boolean;
+
+      /** Adds custom button (default:true) */
+      // The type of custom buttons are always boolean but TS needs the other types defined too.
+      [key: string]: L.ControlPosition | BlockPositions | boolean | undefined;
+    }
+
+    /** the position of each block. */
+    interface BlockPositions {
+      /** Draw control position (default:''). '' also refers to this position. */
+      draw?: L.ControlPosition;
+
+      /** Edit control position (default:''). */
+      edit?: L.ControlPosition;
+
+      /** Custom control position (default:''). */
+      custom?: L.ControlPosition;
+
+      /** Options control position (default:'') ⭐ */
+      options?: L.ControlPosition;
+    }
+
+    interface PMEditLayer extends PMEditTextLayer {
+      /** Enables edit mode. The passed options are preserved, even when the mode is enabled via the Toolbar */
+      enable(options?: EditModeOptions): void;
+
+      /** Sets layer options */
+      setOptions(options?: EditModeOptions): void;
+
+      /** Gets layer options */
+      getOptions(): EditModeOptions;
+
+      /** Disables edit mode. */
+      disable(): void;
+
+      /** Toggles edit mode. Passed options are preserved. */
+      toggleEdit(options?: EditModeOptions): void;
+
+      /** Returns true if edit mode is enabled. false when disabled. */
+      enabled(): boolean;
+
+      /** Returns true if Line or Polygon has a self intersection. */
+      hasSelfIntersection(): boolean;
+
+      /** Removes the layer with the same checks as GlobalRemovalMode. */
+      remove(): void;
+    }
+
+    interface PMEditTextLayer {
+      /** Activate text editing of Text-Layer. */
+      focus(): void;
+
+      /** Deactivate text editing of Text-Layer. */
+      blur(): void;
+
+      /** Is text editing active on Text-Layer. */
+      hasFocus(): boolean;
+
+      /** Returns the `<textarea>` DOM element of Text-Layer. */
+      getElement(): HTMLElement;
+
+      /** Set text on Text-Layer. */
+      setText(text: string): void;
+
+      /** Returns the text of Text-Layer. */
+      getText(): string;
+    }
+
+    interface PMDragLayer {
+      /** Enables dragging for the layer. */
+      enableLayerDrag(): void;
+
+      /** Disables dragging for the layer. */
+      disableLayerDrag(): void;
+
+      /** Returns if the layer is currently dragging. */
+      dragging(): boolean;
+
+      /** Returns if drag mode is enabled for the layer. */
+      layerDragEnabled(): boolean;
+    }
+
+    interface PMLayer extends PMRotateLayer, PMEditLayer, PMDragLayer {
+      /** Get shape of the layer. */
+      getShape(): SUPPORTED_SHAPES;
+    }
+
+    interface PMLayerGroup {
+      /** Enables edit mode for all child layers. The passed options are preserved, even when the mode is enabled via the Toolbar */
+      enable(options?: EditModeOptions): void;
+
+      /** Disable edit mode for all child layers.*/
+      disable(): void;
+
+      /** Returns if minimum one layer is enabled. */
+      enabled(): boolean;
+
+      /** Toggle enable / disable on all layers. */
+      toggleEdit(options?: EditModeOptions): void;
+
+      /** Returns the layers of the LayerGroup. `deep=true` return also the children of LayerGroup children. `filterGeoman=true` filter out layers that don't have Leaflet-Geoman or temporary stuff. `filterGroupsOut=true` does not return the LayerGroup layers self. (Default: `deep=false`,`filterGeoman=true`, `filterGroupsOut=true` ) */
+      getLayers(
+        deep?: boolean,
+        filterGeoman?: boolean,
+        filterGroupsOut?: boolean
+      ): L.Layer[];
+
+      /** Apply Leaflet-Geoman options to all children. The passed options are preserved, even when the mode is enabled via the Toolbar */
+      setOptions(options?: EditModeOptions): void;
+
+      /** Returns the options of the LayerGroup. */
+      getOptions(): EditModeOptions;
+
+      /** Returns if currently a layer in the LayerGroup is dragging. */
+      dragging(): boolean;
+    }
+
+    namespace Utils {
+      /**  Returns the translation of the passed path. path = json-string f.ex. tooltips.placeMarker */
+      function getTranslation(path: string): string;
+
+      /** Returns the middle LatLng between two LatLngs */
+      function calcMiddleLatLng(
+        map: L.Map,
+        latlng1: L.LatLng,
+        latlng2: L.LatLng
+      ): L.LatLng;
+
+      /** Returns all layers that are available for Geoman */
+      function findLayers(map: L.Map): L.Layer[];
+
+      /** Converts a circle into a polygon with default 60 sides. For CRS.Simple maps `withBearing` needs to be false */
+      function circleToPolygon(
+        circle: L.Circle,
+        sides?: number,
+        withBearing?: boolean
+      ): L.Polygon;
+
+      /** Converts a px-radius (CircleMarker) to meter-radius (Circle). The center LatLng is needed because the earth has different projections on different places. **/
+      function pxRadiusToMeterRadius(
+        radiusInPx: number,
+        map: L.Map,
+        center: L.LatLng
+      ): number;
+    }
+
+    /**
+     * DRAW MODE MAP EVENT HANDLERS
+     */
+
+    export type GlobalDrawModeToggledEventHandler = (event: {
+      enabled: boolean;
+      shape: PM.SUPPORTED_SHAPES;
+      map: L.Map;
+    }) => void;
+    export type DrawStartEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      workingLayer: L.Layer;
+    }) => void;
+    export type DrawEndEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type CreateEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+    }) => void;
+
+    /**
+     * DRAW MODE LAYER EVENT HANDLERS
+     */
+
+    export type VertexAddedEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      workingLayer: L.Layer;
+      marker: L.Marker;
+      latlng: L.LatLng;
+    }) => void;
+    export type SnapEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      distance: number;
+      layer: L.Layer;
+      workingLayer: L.Layer;
+      marker: L.Marker;
+      layerInteractedWith: L.Layer;
+      segement: any;
+      snapLatLng: L.LatLng;
+    }) => void;
+    export type CenterPlacedEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      workingLayer: L.Layer;
+      latlng: L.LatLng;
+    }) => void;
+
+    /**
+     * EDIT MODE LAYER EVENT HANDLERS
+     */
+
+    export type EditEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+    }) => void;
+    export type UpdateEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+    }) => void;
+    export type EnableEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+    }) => void;
+    export type DisableEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+    }) => void;
+    export type VertexAddedEventHandler2 = (e: {
+      layer: L.Layer;
+      indexPath: number;
+      latlng: L.LatLng;
+      marker: L.Marker;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type VertexRemovedEventHandler = (e: {
+      layer: L.Layer;
+      indexPath: number;
+      marker: L.Marker;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type VertexClickEventHandler = (e: {
+      layer: L.Layer;
+      indexPath: number;
+      markerEvent: any;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type MarkerDragStartEventHandler = (e: {
+      layer: L.Layer;
+      indexPath: number;
+      markerEvent: any;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type MarkerDragEventHandler = (e: {
+      layer: L.Layer;
+      indexPath: number;
+      markerEvent: any;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type MarkerDragEndEventHandler = (e: {
+      layer: L.Layer;
+      indexPath: number;
+      markerEvent: any;
+      shape: PM.SUPPORTED_SHAPES;
+      intersectionRest: boolean;
+    }) => void;
+    export type LayerResetEventHandler = (e: {
+      layer: L.Layer;
+      indexPath: number;
+      markerEvent: any;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type IntersectEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+      intersection: L.LatLng;
+    }) => void;
+    export type ChangeEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+      latlngs: L.LatLng | L.LatLng[];
+    }) => void;
+    export type TextChangeEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+      text: string;
+    }) => void;
+    export type TextFocusEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+    }) => void;
+    export type TextBlurEventHandler = (e: {
+      shape: PM.SUPPORTED_SHAPES;
+      layer: L.Layer;
+    }) => void;
+
+    /**
+     * EDIT MODE MAP EVENT HANDLERS
+     */
+    export type GlobalEditModeToggledEventHandler = (event: {
+      enabled: boolean;
+      map: L.Map;
+    }) => void;
+
+    /**
+     * DRAG MODE MAP EVENT HANDLERS
+     */
+    export type GlobalDragModeToggledEventHandler = (event: {
+      enabled: boolean;
+      map: L.Map;
+    }) => void;
+
+    /**
+     * DRAG MODE LAYER EVENT HANDLERS
+     */
+    export type DragStartEventHandler = (e: {
+      layer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type DragEventHandler = (e: {
+      layer: L.Layer;
+      containerPoint: any;
+      latlng: L.LatLng;
+      layerPoint: L.Point;
+      originalEvent: any;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type DragEndEventHandler = (e: {
+      layer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type DragEnableEventHandler = (e: {
+      layer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type DragDisableEventHandler = (e: {
+      layer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+
+    /**
+     * REMOVE MODE LAYER EVENT HANDLERS
+     */
+
+    export type RemoveEventHandler = (e: {
+      layer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+
+    /**
+     * REMOVE MODE MAP EVENT HANDLERS
+     */
+    export type GlobalRemovalModeToggledEventHandler = (e: {
+      enabled: boolean;
+      map: L.Map;
+    }) => void;
+
+    /**
+     * CUT MODE MAP EVENT HANDLERS
+     */
+    export type GlobalCutModeToggledEventHandler = (e: {
+      enabled: boolean;
+      map: L.Map;
+    }) => void;
+    export type CutEventHandler = (e: {
+      layer: L.Layer;
+      originalLayer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+
+    /**
+     * ROTATE MODE LAYER EVENT HANDLERS
+     */
+    export type RotateEnableEventHandler = (e: {
+      layer: L.Layer;
+      helpLayer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type RotateDisableEventHandler = (e: {
+      layer: L.Layer;
+      shape: PM.SUPPORTED_SHAPES;
+    }) => void;
+    export type RotateStartEventHandler = (e: {
+      layer: L.Layer;
+      helpLayer: L.Layer;
+      startAngle: number;
+      originLatLngs: L.LatLng[];
+    }) => void;
+    export type RotateEventHandler = (e: {
+      layer: L.Layer;
+      helpLayer: L.Layer;
+      startAngle: number;
+      angle: number;
+      angleDiff: number;
+      oldLatLngs: L.LatLng[];
+      newLatLngs: L.LatLng[];
+    }) => void;
+    export type RotateEndEventHandler = (e: {
+      layer: L.Layer;
+      helpLayer: L.Layer;
+      startAngle: number;
+      angle: number;
+      originLatLngs: L.LatLng[];
+      newLatLngs: L.LatLng[];
+    }) => void;
+
+    /**
+     * ROTATE MODE MAP EVENT HANDLERS
+     */
+    export type GlobalRotateModeToggledEventHandler = (e: {
+      enabled: boolean;
+      map: L.Map;
+    }) => void;
+
+    /**
+     * TRANSLATION EVENT HANDLERS
+     */
+    export type LangChangeEventHandler = (e: {
+      activeLang: string;
+      oldLang: string;
+      fallback: string;
+      translations: PM.Translations;
+    }) => void;
+
+    /**
+     * CONTROL MAP EVENT HANDLERS
+     */
+    export type ButtonClickEventHandler = (e: {
+      btnName: string;
+      button: PM.Button;
+    }) => void;
+    export type ActionClickEventHandler = (e: {
+      text: string;
+      action: string;
+      btnName: string;
+      button: PM.Button;
+    }) => void;
+
+    /**
+     * KEYBOARD EVENT HANDLERS
+     */
+    export type KeyboardKeyEventHandler = (e: {
+      focusOn: 'document' | 'map';
+      eventType: 'keydown' | 'keyup';
+      event: any;
+    }) => void;
+  }
+}

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
node_modules/@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.min.js


+ 90 - 0
node_modules/@geoman-io/leaflet-geoman-free/package.json

@@ -0,0 +1,90 @@
+{
+  "name": "@geoman-io/leaflet-geoman-free",
+  "version": "2.14.2",
+  "description": "A Leaflet Plugin For Editing Geometry Layers in Leaflet 1.0",
+  "keywords": [
+    "leaflet",
+    "geoman",
+    "polygon management",
+    "geometry editing",
+    "map data",
+    "map overlay",
+    "polygon",
+    "geojson",
+    "leaflet-draw",
+    "data-field-geojson",
+    "ui-leaflet-draw"
+  ],
+  "files": [
+    "dist"
+  ],
+  "main": "dist/leaflet-geoman.min.js",
+  "types": "dist/leaflet-geoman.d.ts",
+  "dependencies": {
+    "@turf/boolean-contains": "^6.5.0",
+    "@turf/kinks": "^6.5.0",
+    "@turf/line-intersect": "^6.5.0",
+    "@turf/line-split": "^6.5.0",
+    "lodash": "4.17.21",
+    "polygon-clipping": "0.15.3"
+  },
+  "devDependencies": {
+    "@babel/core": "7.14.0",
+    "@babel/preset-env": "7.14.1",
+    "@types/leaflet": "^1.7.9",
+    "babel-loader": "8.2.2",
+    "copy-webpack-plugin": "8.1.1",
+    "css-loader": "5.2.4",
+    "cypress": "6.9.1",
+    "cypress-wait-until": "1.7.1",
+    "eslint": "7.26.0",
+    "eslint-config-airbnb-base": "14.2.1",
+    "eslint-config-prettier": "8.3.0",
+    "eslint-plugin-cypress": "2.11.3",
+    "eslint-plugin-import": "2.22.1",
+    "file-loader": "6.2.0",
+    "leaflet": "1.9.3",
+    "mini-css-extract-plugin": "1.6.0",
+    "prettier": "2.2.1",
+    "prosthetic-hand": "1.3.1",
+    "terser-webpack-plugin": "^5.1.2",
+    "url-loader": "4.1.1",
+    "webpack": "5.36.2",
+    "webpack-cli": "4.7.0"
+  },
+  "peerDependencies": {
+    "leaflet": "^1.2.0"
+  },
+  "scripts": {
+    "start": "npm run dev",
+    "dev": "webpack --config=webpack.dev.js",
+    "test": "cypress run",
+    "cypress": "cypress open",
+    "build": "webpack --config=webpack.build.js",
+    "prepare": "npm run build",
+    "eslint-check": "eslint --print-config . | eslint-config-prettier-check",
+    "eslint": "eslint src/ --fix",
+    "prettier": "prettier --write '{src,cypress}/**/*.{js,css}'",
+    "lint": "npm run eslint && npm run prettier"
+  },
+  "repository": {
+    "type": "git",
+    "url": "git://github.com/geoman-io/leaflet-geoman.git"
+  },
+  "author": {
+    "name": "Sumit Kumar",
+    "email": "sumit@geoman.io",
+    "url": "http://geoman.io/leaflet-geoman"
+  },
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/geoman-io/leaflet-geoman/issues"
+  },
+  "homepage": "https://geoman.io/leaflet-geoman",
+  "prettier": {
+    "trailingComma": "es5",
+    "tabWidth": 2,
+    "semi": true,
+    "singleQuote": true
+  }
+}

+ 21 - 0
node_modules/@petamoriken/float16/LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2017-2023 Kenta Moriuchi
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 452 - 0
node_modules/@petamoriken/float16/README.md

@@ -0,0 +1,452 @@
+# <a href="https://github.com/petamoriken/float16">float16</a>
+
+<p align="center">
+  IEEE 754 half-precision floating-point for JavaScript<br>
+  See <a href="https://esdiscuss.org/topic/float16array">the archive of the ES Discuss Float16Array topic</a> for details
+</p>
+
+<p align="center">
+  <a href="https://www.npmjs.com/package/@petamoriken/float16">
+    <img src="https://img.shields.io/npm/dw/@petamoriken/float16?logo=npm&amp;style=flat-square" alt="npm downloads">
+  </a>
+  <a href="https://www.jsdelivr.com/package/npm/@petamoriken/float16">
+    <img src="https://img.shields.io/jsdelivr/npm/hw/@petamoriken/float16?label=hits&amp;logo=jsDelivr&amp;style=flat-square" alt="jsDelivr hits">
+  </a>
+  <a href="https://www.npmjs.com/package/@petamoriken/float16">
+    <img src="https://img.shields.io/npm/v/@petamoriken/float16.svg?label=version&amp;logo=npm&amp;style=flat-square" alt="npm version">
+  </a>
+  <a href="https://deno.land/x/float16">
+    <img src="https://img.shields.io/github/v/tag/petamoriken/float16?label=version&amp;logo=deno&amp;style=flat-square" alt="deno version">
+  </a>
+  <br>
+  <a href="https://github.com/petamoriken/float16/blob/master/package.json">
+    <img src="https://img.shields.io/badge/dependencies-none-brightgreen?style=flat-square" alt="dependencies">
+  </a>
+  <a href="https://github.com/petamoriken/float16/blob/master/LICENSE">
+    <img src="https://img.shields.io/npm/l/@petamoriken/float16.svg?style=flat-square" alt="license">
+  </a>
+  <a href="https://codecov.io/gh/petamoriken/float16">
+    <img src="https://img.shields.io/codecov/c/gh/petamoriken/float16?logo=codecov&amp;style=flat-square" alt="codecov">
+  </a>
+</p>
+
+<p align="center">
+  <a href="https://saucelabs.com/u/petamoriken">
+    <img src="https://saucelabs.com/browser-matrix/petamoriken.svg" alt="Sauce Labs browser matrix">
+  </a>
+</p>
+
+## Install
+
+### Node.js
+
+```console
+npm install @petamoriken/float16
+```
+
+```console
+yarn add @petamoriken/float16
+```
+
+### Bun
+
+```console
+bun add @petamoriken/float16
+```
+
+## Import
+
+### Node.js, Bun or Bundler (webpack, rollup.js, esbuild, etc)
+
+```js
+// ES Modules
+import {
+  Float16Array, isFloat16Array, isTypedArray,
+  getFloat16, setFloat16,
+  f16round,
+} from "@petamoriken/float16";
+```
+
+```js
+// CommonJS
+const {
+  Float16Array, isFloat16Array, isTypedArray,
+  getFloat16, setFloat16,
+  f16round,
+} = require("@petamoriken/float16");
+```
+
+### Deno
+
+You can get modules from the [deno.land/x](https://deno.land/x/float16) hosting
+service.
+
+```ts
+import {
+  Float16Array, isFloat16Array, isTypedArray,
+  getFloat16, setFloat16,
+  f16round,
+} from "https://deno.land/x/float16/mod.ts";
+```
+
+### Browser
+
+Deliver a `browser/float16.mjs` or `browser/float16.js` file in the npm package
+from your Web server with the JavaScript `Content-Type` HTTP header.
+
+```html
+<!-- Module Scripts -->
+<script type="module">
+  import {
+    Float16Array, isFloat16Array, isTypedArray,
+    getFloat16, setFloat16,
+    f16round,
+  } from "DEST/TO/float16.mjs";
+</script>
+```
+
+```html
+<!-- Classic Scripts -->
+<script src="DEST/TO/float16.js"></script>
+<script>
+  const {
+    Float16Array, isFloat16Array, isTypedArray,
+    getFloat16, setFloat16,
+    f16round,
+  } = float16;
+</script>
+```
+
+<details>
+  <summary>Or, you can use <a href="https://www.jsdelivr.com/package/npm/@petamoriken/float16">jsDelivr CDN</a>.</summary>
+
+  ```html
+  <!-- Module Scripts -->
+  <script type="module">
+    import {
+      Float16Array, isFloat16Array, isTypedArray,
+      getFloat16, setFloat16,
+      f16round,
+    } from "https://cdn.jsdelivr.net/npm/@petamoriken/float16/+esm";
+  </script>
+  ```
+
+  ```html
+  <!-- Classic Scripts -->
+  <script src="https://cdn.jsdelivr.net/npm/@petamoriken/float16/browser/float16.min.js"></script>
+  <script>
+    const {
+      Float16Array, isFloat16Array, isTypedArray,
+      getFloat16, setFloat16,
+      f16round,
+    } = float16;
+  </script>
+  ```
+
+</details>
+
+## Support engines
+
+**This package only requires ES2015 features** and does not use
+environment-dependent features (except for `inspect/`), so you can use it
+without any problems. It works fine with
+[the current officially supported versions of Node.js](https://github.com/nodejs/Release).
+
+`Float16Array` implemented by `Proxy` and `Reflect`, so IE11 is never supported
+even if you use polyfills.
+
+### Pre-transpiled JavaScript files (CommonJS, IIFE)
+
+`lib/` and `browser/` directories in the npm package have JavaScript files
+already transpiled, and they have been tested automatically in the following
+environments:
+
+- Node.js: Active LTS
+- Firefox: last 2 versions and ESR
+- Chrome: last 2 versions
+- Edge: last 2 versions
+- Safari: last 2 versions
+
+## API
+
+### `Float16Array`
+
+`Float16Array` is similar to `TypedArray` such as `Float32Array`
+([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array)).
+
+```js
+const array = new Float16Array([1.0, 1.1, 1.2, 1.3]);
+for (const value of array) {
+  // 1, 1.099609375, 1.19921875, 1.2998046875
+  console.log(value);
+}
+
+// Float16Array(4) [ 2, 2.19921875, 2.3984375, 2.599609375 ]
+array.map((value) => value * 2);
+```
+
+### `isFloat16Array`
+
+`isFloat16Array` is a utility function to check whether the value given as an
+argument is an instance of `Float16Array` or not.
+
+```js
+const buffer = new ArrayBuffer(256);
+
+// true
+isFloat16Array(new Float16Array(buffer));
+
+// false
+isFloat16Array(new Float32Array(buffer));
+isFloat16Array(new Uint16Array(buffer));
+isFloat16Array(new DataView(buffer));
+```
+
+### `isTypedArray`
+
+`isTypedArray` is a utility function to check whether the value given as an
+argument is an instance of a type of `TypedArray` or not. Unlike
+`util.types.isTypedArray` in Node.js, this returns `true` for `Float16Array`.
+
+```js
+const buffer = new ArrayBuffer(256);
+
+// true
+isTypedArray(new Float16Array(buffer));
+isTypedArray(new Float32Array(buffer));
+isTypedArray(new Uint16Array(buffer));
+
+// false
+isTypedArray(new DataView(buffer));
+```
+
+### `getFloat16`, `setFloat16`
+
+`getFloat16` and `setFloat16` are similar to `DataView` methods such as
+`DataView#getFloat32`
+([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/getFloat32))
+and `DataView#setFloat32`
+([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/setFloat32)).
+
+```ts
+declare function getFloat16(view: DataView, byteOffset: number, littleEndian?: boolean): number;
+declare function setFloat16(view: DataView, byteOffset: number, value: number, littleEndian?: boolean): void;
+```
+
+```js
+const buffer = new ArrayBuffer(256);
+const view = new DataView(buffer);
+
+view.setUint16(0, 0x1234);
+getFloat16(view, 0); // 0.0007572174072265625
+
+// You can append methods to DataView instance
+view.getFloat16 = (...args) => getFloat16(view, ...args);
+view.setFloat16 = (...args) => setFloat16(view, ...args);
+
+view.getFloat16(0); // 0.0007572174072265625
+
+view.setFloat16(0, Math.PI, true);
+view.getFloat16(0, true); // 3.140625
+```
+
+### `f16round` (alias: `hfround`)
+
+`f16round` is similar to `Math.fround`
+([MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/fround)).
+This function returns nearest half-precision float representation of a number.
+
+```ts
+declare function f16round(x: number): number;
+```
+
+```js
+Math.fround(1.337); // 1.3370000123977661
+f16round(1.337); // 1.3369140625
+```
+
+## `Float16Array` limitations (edge cases)
+
+<details>
+  <summary><code>Float16Array</code> has some limitations, because it is impossible to completely reproduce the behavior of <code>TypedArray</code>. Be careful when checking if it is a <code>TypedArray</code> or not by using <code>ArrayBuffer.isView</code>, and when using Web standards such as <code>structuredClone</code> and WebGL.</summary>
+
+  ### Built-in functions
+
+  Built-in `TypedArray` objects use "internal slots" for built-in methods. Some
+  limitations exist because the `Proxy` object can't trap internal slots
+  ([explanation](https://javascript.info/proxy#built-in-objects-internal-slots)).
+
+  This package isn't polyfill, in other words, it doesn't change native global
+  functions and static/prototype methods.
+
+  E.g. `ArrayBuffer.isView` is the butlt-in method that checks if it has the
+  `[[ViewedArrayBuffer]]` internal slot. It returns `false` for `Proxy` object
+  such as `Float16Array` instance.
+
+  ```js
+  ArrayBuffer.isView(new Float32Array(10)); // true
+  ArrayBuffer.isView(new Float16Array(10)); // false
+  ```
+
+  ### The structured clone algorithm (Web Workers, IndexedDB, etc)
+
+  The structured clone algorithm copies complex JavaScript objects. It is used
+  internally when invoking `structuredClone()`, to transfer data between Web
+  Workers via `postMessage()`, storing objects with IndexedDB, or copying objects
+  for other APIs
+  ([MDN](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm)).
+
+  It can't clone `Proxy` object such as `Float16Array` instance, you need to
+  convert it to `Uint16Array` or deal with `ArrayBuffer` directly.
+
+  ```js
+  const array = new Float16Array([1.0, 1.1, 1.2]);
+  const cloned = structuredClone({ buffer: array.buffer });
+  ```
+
+  ### WebGL
+
+  WebGL requires `Uint16Array` for buffer or texture data whose types are
+  `gl.HALF_FLOAT` (WebGL 2) or `ext.HALF_FLOAT_OES` (WebGL 1 extension). Do not
+  apply the `Float16Array` object directly to `gl.bufferData` or `gl.texImage2D`
+  etc.
+
+  ```js
+  // WebGL 2 example
+  const vertices = new Float16Array([
+    -0.5, -0.5,  0,
+     0.5, -0.5,  0,
+     0.5,  0.5,  0,
+  ]);
+
+  const buffer = gl.createBuffer();
+  gl.bindBuffer(gl.ARRAY_BUFFER, buffer);
+
+  // wrap in Uint16Array
+  gl.bufferData(gl.ARRAY_BUFFER, new Uint16Array(vertices.buffer), gl.STATIC_DRAW);
+  gl.vertexAttribPointer(location, 3, gl.HALF_FLOAT, false, 0, 0);
+
+  gl.bindBuffer(gl.ARRAY_BUFFER, null);
+  gl.enableVertexAttribArray(location);
+  ```
+
+  ### Others
+
+  See JSDoc comments in `src/Float16Array.mjs` for details. If you don't write
+  hacky code, you shouldn't have any problems.
+
+</details>
+
+## `Float16Array` custom inspection
+
+<details>
+  <summary>Provides custom inspection for Node.js and Deno, which makes the results of <code>console.log</code> more readable.
+  </summary>
+
+  ### Node.js
+
+  ```js
+  // ES Modules
+  import { Float16Array } from "@petamoriken/float16";
+  import { customInspect } from "@petamoriken/float16/inspect";
+
+  Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect;
+  ```
+
+  ```js
+  // CommonJS
+  const { Float16Array } = require("@petamoriken/float16");
+  const { customInspect } = require("@petamoriken/float16/inspect");
+
+  Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect;
+  ```
+
+  ### Deno
+
+  ```ts
+  import { Float16Array } from "https://deno.land/x/float16/mod.ts";
+  import { customInspect } from "https://deno.land/x/float16/inspect.ts";
+
+  // deno-lint-ignore no-explicit-any
+  (Float16Array.prototype as any)[Symbol.for("Deno.customInspect")] = customInspect;
+  ```
+
+</details>
+
+## Development
+
+<details>
+  <summary>Manual build and test</summary>
+
+  ### Manual build
+
+  This repository uses corepack for package manager manager.
+  You may have to activate yarn in corepack.
+
+  ```console
+  corepack enable yarn
+  ```
+
+  Download devDependencies.
+
+  ```console
+  yarn
+  ```
+
+  Build `lib/`, `browser/` files.
+
+  ```console
+  yarn run build
+  ```
+
+  Build `docs/` files (for browser test).
+
+  ```console
+  yarn run docs
+  ```
+
+  ### Test
+
+  This repository uses corepack for package manager manager.
+  You may have to activate yarn in corepack.
+
+  ```console
+  corepack enable yarn
+  ```
+
+  Download devDependencies.
+
+  ```console
+  yarn
+  ```
+
+  #### Node.js test
+
+  ```console
+  NODE_ENV=test yarn build:lib
+  yarn test
+  ```
+
+  #### Browser test
+
+  ```console
+  NODE_ENV=test yarn build:browser
+  yarn docs
+  ```
+
+  Access `docs/test/index.html` with browsers.
+
+  You can access current [test page](https://petamoriken.github.io/float16/test)
+  ([power-assert version](https://petamoriken.github.io/float16/test/power)) in
+  `master` branch.
+
+</details>
+
+## License
+
+MIT License
+
+This software contains productions that are distributed under
+[the Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0).
+Specifically, `index.d.ts` is modified from the original
+[TypeScript lib files](https://github.com/microsoft/TypeScript/tree/main/src/lib).

+ 1308 - 0
node_modules/@petamoriken/float16/browser/float16.js

@@ -0,0 +1,1308 @@
+/*! @petamoriken/float16 v3.8.0 | MIT License - https://github.com/petamoriken/float16 */
+
+var float16 = (function (exports) {
+  'use strict';
+
+  const THIS_IS_NOT_AN_OBJECT = "This is not an object";
+  const THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = "This is not a Float16Array object";
+  const THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY =
+    "This constructor is not a subclass of Float16Array";
+  const THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT =
+    "The constructor property value is not an object";
+  const SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT =
+    "Species constructor didn't return TypedArray object";
+  const DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH =
+    "Derived constructor created TypedArray object which was too small length";
+  const ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER =
+    "Attempting to access detached ArrayBuffer";
+  const CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT =
+    "Cannot convert undefined or null to object";
+  const CANNOT_MIX_BIGINT_AND_OTHER_TYPES =
+    "Cannot mix BigInt and other types, use explicit conversions";
+  const ITERATOR_PROPERTY_IS_NOT_CALLABLE = "@@iterator property is not callable";
+  const REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE =
+    "Reduce of empty array with no initial value";
+  const THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED =
+    "The comparison function must be either a function or undefined";
+  const OFFSET_IS_OUT_OF_BOUNDS = "Offset is out of bounds";
+
+  function uncurryThis(target) {
+    return (thisArg, ...args) => {
+      return ReflectApply(target, thisArg, args);
+    };
+  }
+  function uncurryThisGetter(target, key) {
+    return uncurryThis(
+      ReflectGetOwnPropertyDescriptor(
+        target,
+        key
+      ).get
+    );
+  }
+  const {
+    apply: ReflectApply,
+    construct: ReflectConstruct,
+    defineProperty: ReflectDefineProperty,
+    get: ReflectGet,
+    getOwnPropertyDescriptor: ReflectGetOwnPropertyDescriptor,
+    getPrototypeOf: ReflectGetPrototypeOf,
+    has: ReflectHas,
+    ownKeys: ReflectOwnKeys,
+    set: ReflectSet,
+    setPrototypeOf: ReflectSetPrototypeOf,
+  } = Reflect;
+  const NativeProxy = Proxy;
+  const {
+    MAX_SAFE_INTEGER,
+    isFinite: NumberIsFinite,
+    isNaN: NumberIsNaN,
+  } = Number;
+  const {
+    iterator: SymbolIterator,
+    species: SymbolSpecies,
+    toStringTag: SymbolToStringTag,
+    for: SymbolFor,
+  } = Symbol;
+  const NativeObject = Object;
+  const {
+    create: ObjectCreate,
+    defineProperty: ObjectDefineProperty,
+    freeze: ObjectFreeze,
+    is: ObjectIs,
+  } = NativeObject;
+  const ObjectPrototype = NativeObject.prototype;
+  const ObjectPrototype__lookupGetter__ =  (ObjectPrototype).__lookupGetter__
+    ? uncurryThis( (ObjectPrototype).__lookupGetter__)
+    : (object, key) => {
+      if (object == null) {
+        throw NativeTypeError(
+          CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+        );
+      }
+      let target = NativeObject(object);
+      do {
+        const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
+        if (descriptor !== undefined) {
+          if (ObjectHasOwn(descriptor, "get")) {
+            return descriptor.get;
+          }
+          return;
+        }
+      } while ((target = ReflectGetPrototypeOf(target)) !== null);
+    };
+  const ObjectHasOwn =  (NativeObject).hasOwn ||
+    uncurryThis(ObjectPrototype.hasOwnProperty);
+  const NativeArray = Array;
+  const ArrayIsArray = NativeArray.isArray;
+  const ArrayPrototype = NativeArray.prototype;
+  const ArrayPrototypeJoin = uncurryThis(ArrayPrototype.join);
+  const ArrayPrototypePush = uncurryThis(ArrayPrototype.push);
+  const ArrayPrototypeToLocaleString = uncurryThis(
+    ArrayPrototype.toLocaleString
+  );
+  const NativeArrayPrototypeSymbolIterator = ArrayPrototype[SymbolIterator];
+  const ArrayPrototypeSymbolIterator = uncurryThis(NativeArrayPrototypeSymbolIterator);
+  const MathTrunc = Math.trunc;
+  const NativeArrayBuffer = ArrayBuffer;
+  const ArrayBufferIsView = NativeArrayBuffer.isView;
+  const ArrayBufferPrototype = NativeArrayBuffer.prototype;
+  const ArrayBufferPrototypeSlice = uncurryThis(ArrayBufferPrototype.slice);
+  const ArrayBufferPrototypeGetByteLength = uncurryThisGetter(ArrayBufferPrototype, "byteLength");
+  const NativeSharedArrayBuffer = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : null;
+  const SharedArrayBufferPrototypeGetByteLength = NativeSharedArrayBuffer
+    && uncurryThisGetter(NativeSharedArrayBuffer.prototype, "byteLength");
+  const TypedArray = ReflectGetPrototypeOf(Uint8Array);
+  const TypedArrayFrom = TypedArray.from;
+  const TypedArrayPrototype = TypedArray.prototype;
+  const NativeTypedArrayPrototypeSymbolIterator = TypedArrayPrototype[SymbolIterator];
+  const TypedArrayPrototypeKeys = uncurryThis(TypedArrayPrototype.keys);
+  const TypedArrayPrototypeValues = uncurryThis(
+    TypedArrayPrototype.values
+  );
+  const TypedArrayPrototypeEntries = uncurryThis(
+    TypedArrayPrototype.entries
+  );
+  const TypedArrayPrototypeSet = uncurryThis(TypedArrayPrototype.set);
+  const TypedArrayPrototypeReverse = uncurryThis(
+    TypedArrayPrototype.reverse
+  );
+  const TypedArrayPrototypeFill = uncurryThis(TypedArrayPrototype.fill);
+  const TypedArrayPrototypeCopyWithin = uncurryThis(
+    TypedArrayPrototype.copyWithin
+  );
+  const TypedArrayPrototypeSort = uncurryThis(TypedArrayPrototype.sort);
+  const TypedArrayPrototypeSlice = uncurryThis(TypedArrayPrototype.slice);
+  const TypedArrayPrototypeSubarray = uncurryThis(
+    TypedArrayPrototype.subarray
+  );
+  const TypedArrayPrototypeGetBuffer = uncurryThisGetter(
+    TypedArrayPrototype,
+    "buffer"
+  );
+  const TypedArrayPrototypeGetByteOffset = uncurryThisGetter(
+    TypedArrayPrototype,
+    "byteOffset"
+  );
+  const TypedArrayPrototypeGetLength = uncurryThisGetter(
+    TypedArrayPrototype,
+    "length"
+  );
+  const TypedArrayPrototypeGetSymbolToStringTag = uncurryThisGetter(
+    TypedArrayPrototype,
+    SymbolToStringTag
+  );
+  const NativeUint16Array = Uint16Array;
+  const Uint16ArrayFrom = (...args) => {
+    return ReflectApply(TypedArrayFrom, NativeUint16Array, args);
+  };
+  const NativeUint32Array = Uint32Array;
+  const NativeFloat32Array = Float32Array;
+  const ArrayIteratorPrototype = ReflectGetPrototypeOf([][SymbolIterator]());
+  const ArrayIteratorPrototypeNext = uncurryThis(ArrayIteratorPrototype.next);
+  const GeneratorPrototypeNext = uncurryThis((function* () {})().next);
+  const IteratorPrototype = ReflectGetPrototypeOf(ArrayIteratorPrototype);
+  const DataViewPrototype = DataView.prototype;
+  const DataViewPrototypeGetUint16 = uncurryThis(
+    DataViewPrototype.getUint16
+  );
+  const DataViewPrototypeSetUint16 = uncurryThis(
+    DataViewPrototype.setUint16
+  );
+  const NativeTypeError = TypeError;
+  const NativeRangeError = RangeError;
+  const NativeWeakSet = WeakSet;
+  const WeakSetPrototype = NativeWeakSet.prototype;
+  const WeakSetPrototypeAdd = uncurryThis(WeakSetPrototype.add);
+  const WeakSetPrototypeHas = uncurryThis(WeakSetPrototype.has);
+  const NativeWeakMap = WeakMap;
+  const WeakMapPrototype = NativeWeakMap.prototype;
+  const WeakMapPrototypeGet = uncurryThis(WeakMapPrototype.get);
+  const WeakMapPrototypeHas = uncurryThis(WeakMapPrototype.has);
+  const WeakMapPrototypeSet = uncurryThis(WeakMapPrototype.set);
+
+  const arrayIterators = new NativeWeakMap();
+  const SafeIteratorPrototype = ObjectCreate(null, {
+    next: {
+      value: function next() {
+        const arrayIterator = WeakMapPrototypeGet(arrayIterators, this);
+        return ArrayIteratorPrototypeNext(arrayIterator);
+      },
+    },
+    [SymbolIterator]: {
+      value: function values() {
+        return this;
+      },
+    },
+  });
+  function safeIfNeeded(array) {
+    if (
+      array[SymbolIterator] === NativeArrayPrototypeSymbolIterator &&
+      ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+    ) {
+      return array;
+    }
+    const safe = ObjectCreate(SafeIteratorPrototype);
+    WeakMapPrototypeSet(arrayIterators, safe, ArrayPrototypeSymbolIterator(array));
+    return safe;
+  }
+  const generators = new NativeWeakMap();
+  const DummyArrayIteratorPrototype = ObjectCreate(IteratorPrototype, {
+    next: {
+      value: function next() {
+        const generator = WeakMapPrototypeGet(generators, this);
+        return GeneratorPrototypeNext(generator);
+      },
+      writable: true,
+      configurable: true,
+    },
+  });
+  for (const key of ReflectOwnKeys(ArrayIteratorPrototype)) {
+    if (key === "next") {
+      continue;
+    }
+    ObjectDefineProperty(DummyArrayIteratorPrototype, key, ReflectGetOwnPropertyDescriptor(ArrayIteratorPrototype, key));
+  }
+  function wrap(generator) {
+    const dummy = ObjectCreate(DummyArrayIteratorPrototype);
+    WeakMapPrototypeSet(generators, dummy, generator);
+    return dummy;
+  }
+
+  function isObject(value) {
+    return (
+      (value !== null && typeof value === "object") ||
+      typeof value === "function"
+    );
+  }
+  function isObjectLike(value) {
+    return value !== null && typeof value === "object";
+  }
+  function isNativeTypedArray(value) {
+    return TypedArrayPrototypeGetSymbolToStringTag(value) !== undefined;
+  }
+  function isNativeBigIntTypedArray(value) {
+    const typedArrayName = TypedArrayPrototypeGetSymbolToStringTag(value);
+    return (
+      typedArrayName === "BigInt64Array" ||
+      typedArrayName === "BigUint64Array"
+    );
+  }
+  function isArrayBuffer(value) {
+    try {
+      ArrayBufferPrototypeGetByteLength( (value));
+      return true;
+    } catch (e) {
+      return false;
+    }
+  }
+  function isSharedArrayBuffer(value) {
+    if (NativeSharedArrayBuffer === null) {
+      return false;
+    }
+    try {
+      SharedArrayBufferPrototypeGetByteLength( (value));
+      return true;
+    } catch (e) {
+      return false;
+    }
+  }
+  function isOrdinaryArray(value) {
+    if (!ArrayIsArray(value)) {
+      return false;
+    }
+    return (
+      value[SymbolIterator] === NativeArrayPrototypeSymbolIterator &&
+      ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+    );
+  }
+  function isOrdinaryNativeTypedArray(value) {
+    if (!isNativeTypedArray(value)) {
+      return false;
+    }
+    return (
+      value[SymbolIterator] === NativeTypedArrayPrototypeSymbolIterator &&
+      ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+    );
+  }
+  function isCanonicalIntegerIndexString(value) {
+    if (typeof value !== "string") {
+      return false;
+    }
+    const number = +value;
+    if (value !== number + "") {
+      return false;
+    }
+    if (!NumberIsFinite(number)) {
+      return false;
+    }
+    return number === MathTrunc(number);
+  }
+
+  const brand = SymbolFor("__Float16Array__");
+  function hasFloat16ArrayBrand(target) {
+    if (!isObjectLike(target)) {
+      return false;
+    }
+    const prototype = ReflectGetPrototypeOf(target);
+    if (!isObjectLike(prototype)) {
+      return false;
+    }
+    const constructor = prototype.constructor;
+    if (constructor === undefined) {
+      return false;
+    }
+    if (!isObject(constructor)) {
+      throw NativeTypeError(THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+    }
+    return ReflectHas(constructor, brand);
+  }
+
+  const buffer = new NativeArrayBuffer(4);
+  const floatView = new NativeFloat32Array(buffer);
+  const uint32View = new NativeUint32Array(buffer);
+  const baseTable = new NativeUint32Array(512);
+  const shiftTable = new NativeUint32Array(512);
+  for (let i = 0; i < 256; ++i) {
+    const e = i - 127;
+    if (e < -27) {
+      baseTable[i]         = 0x0000;
+      baseTable[i | 0x100] = 0x8000;
+      shiftTable[i]         = 24;
+      shiftTable[i | 0x100] = 24;
+    } else if (e < -14) {
+      baseTable[i]         =  0x0400 >> (-e - 14);
+      baseTable[i | 0x100] = (0x0400 >> (-e - 14)) | 0x8000;
+      shiftTable[i]         = -e - 1;
+      shiftTable[i | 0x100] = -e - 1;
+    } else if (e <= 15) {
+      baseTable[i]         =  (e + 15) << 10;
+      baseTable[i | 0x100] = ((e + 15) << 10) | 0x8000;
+      shiftTable[i]         = 13;
+      shiftTable[i | 0x100] = 13;
+    } else if (e < 128) {
+      baseTable[i]         = 0x7c00;
+      baseTable[i | 0x100] = 0xfc00;
+      shiftTable[i]         = 24;
+      shiftTable[i | 0x100] = 24;
+    } else {
+      baseTable[i]         = 0x7c00;
+      baseTable[i | 0x100] = 0xfc00;
+      shiftTable[i]         = 13;
+      shiftTable[i | 0x100] = 13;
+    }
+  }
+  function roundToFloat16Bits(num) {
+    floatView[0] =  (num);
+    const f = uint32View[0];
+    const e = (f >> 23) & 0x1ff;
+    return baseTable[e] + ((f & 0x007fffff) >> shiftTable[e]);
+  }
+  const mantissaTable = new NativeUint32Array(2048);
+  const exponentTable = new NativeUint32Array(64);
+  const offsetTable = new NativeUint32Array(64);
+  for (let i = 1; i < 1024; ++i) {
+    let m = i << 13;
+    let e = 0;
+    while((m & 0x00800000) === 0) {
+      m <<= 1;
+      e -= 0x00800000;
+    }
+    m &= ~0x00800000;
+    e += 0x38800000;
+    mantissaTable[i] = m | e;
+  }
+  for (let i = 1024; i < 2048; ++i) {
+    mantissaTable[i] = 0x38000000 + ((i - 1024) << 13);
+  }
+  for (let i = 1; i < 31; ++i) {
+    exponentTable[i] = i << 23;
+  }
+  exponentTable[31] = 0x47800000;
+  exponentTable[32] = 0x80000000;
+  for (let i = 33; i < 63; ++i) {
+    exponentTable[i] = 0x80000000 + ((i - 32) << 23);
+  }
+  exponentTable[63] = 0xc7800000;
+  for (let i = 1; i < 64; ++i) {
+    if (i !== 32) {
+      offsetTable[i] = 1024;
+    }
+  }
+  function convertToNumber(float16bits) {
+    const m = float16bits >> 10;
+    uint32View[0] = mantissaTable[offsetTable[m] + (float16bits & 0x3ff)] + exponentTable[m];
+    return floatView[0];
+  }
+
+  function ToIntegerOrInfinity(target) {
+    const number = +target;
+    if (NumberIsNaN(number) || number === 0) {
+      return 0;
+    }
+    return MathTrunc(number);
+  }
+  function ToLength(target) {
+    const length = ToIntegerOrInfinity(target);
+    if (length < 0) {
+      return 0;
+    }
+    return length < MAX_SAFE_INTEGER
+      ? length
+      : MAX_SAFE_INTEGER;
+  }
+  function SpeciesConstructor(target, defaultConstructor) {
+    if (!isObject(target)) {
+      throw NativeTypeError(THIS_IS_NOT_AN_OBJECT);
+    }
+    const constructor = target.constructor;
+    if (constructor === undefined) {
+      return defaultConstructor;
+    }
+    if (!isObject(constructor)) {
+      throw NativeTypeError(THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+    }
+    const species = constructor[SymbolSpecies];
+    if (species == null) {
+      return defaultConstructor;
+    }
+    return species;
+  }
+  function IsDetachedBuffer(buffer) {
+    if (isSharedArrayBuffer(buffer)) {
+      return false;
+    }
+    try {
+      ArrayBufferPrototypeSlice(buffer, 0, 0);
+      return false;
+    } catch (e) {}
+    return true;
+  }
+  function defaultCompare(x, y) {
+    const isXNaN = NumberIsNaN(x);
+    const isYNaN = NumberIsNaN(y);
+    if (isXNaN && isYNaN) {
+      return 0;
+    }
+    if (isXNaN) {
+      return 1;
+    }
+    if (isYNaN) {
+      return -1;
+    }
+    if (x < y) {
+      return -1;
+    }
+    if (x > y) {
+      return 1;
+    }
+    if (x === 0 && y === 0) {
+      const isXPlusZero = ObjectIs(x, 0);
+      const isYPlusZero = ObjectIs(y, 0);
+      if (!isXPlusZero && isYPlusZero) {
+        return -1;
+      }
+      if (isXPlusZero && !isYPlusZero) {
+        return 1;
+      }
+    }
+    return 0;
+  }
+
+  const BYTES_PER_ELEMENT = 2;
+  const float16bitsArrays = new NativeWeakMap();
+  function isFloat16Array(target) {
+    return WeakMapPrototypeHas(float16bitsArrays, target) ||
+      (!ArrayBufferIsView(target) && hasFloat16ArrayBrand(target));
+  }
+  function assertFloat16Array(target) {
+    if (!isFloat16Array(target)) {
+      throw NativeTypeError(THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT);
+    }
+  }
+  function assertSpeciesTypedArray(target, count) {
+    const isTargetFloat16Array = isFloat16Array(target);
+    const isTargetTypedArray = isNativeTypedArray(target);
+    if (!isTargetFloat16Array && !isTargetTypedArray) {
+      throw NativeTypeError(SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT);
+    }
+    if (typeof count === "number") {
+      let length;
+      if (isTargetFloat16Array) {
+        const float16bitsArray = getFloat16BitsArray(target);
+        length = TypedArrayPrototypeGetLength(float16bitsArray);
+      } else {
+        length = TypedArrayPrototypeGetLength(target);
+      }
+      if (length < count) {
+        throw NativeTypeError(
+          DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH
+        );
+      }
+    }
+    if (isNativeBigIntTypedArray(target)) {
+      throw NativeTypeError(CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+    }
+  }
+  function getFloat16BitsArray(float16) {
+    const float16bitsArray = WeakMapPrototypeGet(float16bitsArrays, float16);
+    if (float16bitsArray !== undefined) {
+      const buffer = TypedArrayPrototypeGetBuffer(float16bitsArray);
+      if (IsDetachedBuffer(buffer)) {
+        throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+      }
+      return float16bitsArray;
+    }
+    const buffer =  (float16).buffer;
+    if (IsDetachedBuffer(buffer)) {
+      throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+    }
+    const cloned = ReflectConstruct(Float16Array, [
+      buffer,
+       (float16).byteOffset,
+       (float16).length,
+    ], float16.constructor);
+    return WeakMapPrototypeGet(float16bitsArrays, cloned);
+  }
+  function copyToArray(float16bitsArray) {
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const array = [];
+    for (let i = 0; i < length; ++i) {
+      array[i] = convertToNumber(float16bitsArray[i]);
+    }
+    return array;
+  }
+  const TypedArrayPrototypeGetters = new NativeWeakSet();
+  for (const key of ReflectOwnKeys(TypedArrayPrototype)) {
+    if (key === SymbolToStringTag) {
+      continue;
+    }
+    const descriptor = ReflectGetOwnPropertyDescriptor(TypedArrayPrototype, key);
+    if (ObjectHasOwn(descriptor, "get") && typeof descriptor.get === "function") {
+      WeakSetPrototypeAdd(TypedArrayPrototypeGetters, descriptor.get);
+    }
+  }
+  const handler = ObjectFreeze( ({
+    get(target, key, receiver) {
+      if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+        return convertToNumber(ReflectGet(target, key));
+      }
+      if (WeakSetPrototypeHas(TypedArrayPrototypeGetters, ObjectPrototype__lookupGetter__(target, key))) {
+        return ReflectGet(target, key);
+      }
+      return ReflectGet(target, key, receiver);
+    },
+    set(target, key, value, receiver) {
+      if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+        return ReflectSet(target, key, roundToFloat16Bits(value));
+      }
+      return ReflectSet(target, key, value, receiver);
+    },
+    getOwnPropertyDescriptor(target, key) {
+      if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+        const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
+        descriptor.value = convertToNumber(descriptor.value);
+        return descriptor;
+      }
+      return ReflectGetOwnPropertyDescriptor(target, key);
+    },
+    defineProperty(target, key, descriptor) {
+      if (
+        isCanonicalIntegerIndexString(key) &&
+        ObjectHasOwn(target, key) &&
+        ObjectHasOwn(descriptor, "value")
+      ) {
+        descriptor.value = roundToFloat16Bits(descriptor.value);
+        return ReflectDefineProperty(target, key, descriptor);
+      }
+      return ReflectDefineProperty(target, key, descriptor);
+    },
+  }));
+  class Float16Array {
+    constructor(input, _byteOffset, _length) {
+      let float16bitsArray;
+      if (isFloat16Array(input)) {
+        float16bitsArray = ReflectConstruct(NativeUint16Array, [getFloat16BitsArray(input)], new.target);
+      } else if (isObject(input) && !isArrayBuffer(input)) {
+        let list;
+        let length;
+        if (isNativeTypedArray(input)) {
+          list = input;
+          length = TypedArrayPrototypeGetLength(input);
+          const buffer = TypedArrayPrototypeGetBuffer(input);
+          if (IsDetachedBuffer(buffer)) {
+            throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+          }
+          if (isNativeBigIntTypedArray(input)) {
+            throw NativeTypeError(CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+          }
+          const data = new NativeArrayBuffer(
+            length * BYTES_PER_ELEMENT
+          );
+          float16bitsArray = ReflectConstruct(NativeUint16Array, [data], new.target);
+        } else {
+          const iterator = input[SymbolIterator];
+          if (iterator != null && typeof iterator !== "function") {
+            throw NativeTypeError(ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+          }
+          if (iterator != null) {
+            if (isOrdinaryArray(input)) {
+              list = input;
+              length = input.length;
+            } else {
+              list = [...  (input)];
+              length = list.length;
+            }
+          } else {
+            list =  (input);
+            length = ToLength(list.length);
+          }
+          float16bitsArray = ReflectConstruct(NativeUint16Array, [length], new.target);
+        }
+        for (let i = 0; i < length; ++i) {
+          float16bitsArray[i] = roundToFloat16Bits(list[i]);
+        }
+      } else {
+        float16bitsArray = ReflectConstruct(NativeUint16Array, arguments, new.target);
+      }
+      const proxy =  (new NativeProxy(float16bitsArray, handler));
+      WeakMapPrototypeSet(float16bitsArrays, proxy, float16bitsArray);
+      return proxy;
+    }
+    static from(src, ...opts) {
+      const Constructor = this;
+      if (!ReflectHas(Constructor, brand)) {
+        throw NativeTypeError(
+          THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY
+        );
+      }
+      if (Constructor === Float16Array) {
+        if (isFloat16Array(src) && opts.length === 0) {
+          const float16bitsArray = getFloat16BitsArray(src);
+          const uint16 = new NativeUint16Array(
+            TypedArrayPrototypeGetBuffer(float16bitsArray),
+            TypedArrayPrototypeGetByteOffset(float16bitsArray),
+            TypedArrayPrototypeGetLength(float16bitsArray)
+          );
+          return new Float16Array(
+            TypedArrayPrototypeGetBuffer(TypedArrayPrototypeSlice(uint16))
+          );
+        }
+        if (opts.length === 0) {
+          return new Float16Array(
+            TypedArrayPrototypeGetBuffer(
+              Uint16ArrayFrom(src, roundToFloat16Bits)
+            )
+          );
+        }
+        const mapFunc = opts[0];
+        const thisArg = opts[1];
+        return new Float16Array(
+          TypedArrayPrototypeGetBuffer(
+            Uint16ArrayFrom(src, function (val, ...args) {
+              return roundToFloat16Bits(
+                ReflectApply(mapFunc, this, [val, ...safeIfNeeded(args)])
+              );
+            }, thisArg)
+          )
+        );
+      }
+      let list;
+      let length;
+      const iterator = src[SymbolIterator];
+      if (iterator != null && typeof iterator !== "function") {
+        throw NativeTypeError(ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+      }
+      if (iterator != null) {
+        if (isOrdinaryArray(src)) {
+          list = src;
+          length = src.length;
+        } else if (isOrdinaryNativeTypedArray(src)) {
+          list = src;
+          length = TypedArrayPrototypeGetLength(src);
+        } else {
+          list = [...src];
+          length = list.length;
+        }
+      } else {
+        if (src == null) {
+          throw NativeTypeError(
+            CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+          );
+        }
+        list = NativeObject(src);
+        length = ToLength(list.length);
+      }
+      const array = new Constructor(length);
+      if (opts.length === 0) {
+        for (let i = 0; i < length; ++i) {
+          array[i] =  (list[i]);
+        }
+      } else {
+        const mapFunc = opts[0];
+        const thisArg = opts[1];
+        for (let i = 0; i < length; ++i) {
+          array[i] = ReflectApply(mapFunc, thisArg, [list[i], i]);
+        }
+      }
+      return array;
+    }
+    static of(...items) {
+      const Constructor = this;
+      if (!ReflectHas(Constructor, brand)) {
+        throw NativeTypeError(
+          THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY
+        );
+      }
+      const length = items.length;
+      if (Constructor === Float16Array) {
+        const proxy = new Float16Array(length);
+        const float16bitsArray = getFloat16BitsArray(proxy);
+        for (let i = 0; i < length; ++i) {
+          float16bitsArray[i] = roundToFloat16Bits(items[i]);
+        }
+        return proxy;
+      }
+      const array = new Constructor(length);
+      for (let i = 0; i < length; ++i) {
+        array[i] = items[i];
+      }
+      return array;
+    }
+    keys() {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      return TypedArrayPrototypeKeys(float16bitsArray);
+    }
+    values() {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      return wrap((function* () {
+        for (const val of TypedArrayPrototypeValues(float16bitsArray)) {
+          yield convertToNumber(val);
+        }
+      })());
+    }
+    entries() {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      return wrap((function* () {
+        for (const [i, val] of TypedArrayPrototypeEntries(float16bitsArray)) {
+          yield  ([i, convertToNumber(val)]);
+        }
+      })());
+    }
+    at(index) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const relativeIndex = ToIntegerOrInfinity(index);
+      const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+      if (k < 0 || k >= length) {
+        return;
+      }
+      return convertToNumber(float16bitsArray[k]);
+    }
+    with(index, value) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const relativeIndex = ToIntegerOrInfinity(index);
+      const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+      const number = +value;
+      if (k < 0 || k >= length) {
+        throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+      }
+      const uint16 = new NativeUint16Array(
+        TypedArrayPrototypeGetBuffer(float16bitsArray),
+        TypedArrayPrototypeGetByteOffset(float16bitsArray),
+        TypedArrayPrototypeGetLength(float16bitsArray)
+      );
+      const cloned = new Float16Array(
+        TypedArrayPrototypeGetBuffer(
+          TypedArrayPrototypeSlice(uint16)
+        )
+      );
+      const array = getFloat16BitsArray(cloned);
+      array[k] = roundToFloat16Bits(number);
+      return cloned;
+    }
+    map(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+      if (Constructor === Float16Array) {
+        const proxy = new Float16Array(length);
+        const array = getFloat16BitsArray(proxy);
+        for (let i = 0; i < length; ++i) {
+          const val = convertToNumber(float16bitsArray[i]);
+          array[i] = roundToFloat16Bits(
+            ReflectApply(callback, thisArg, [val, i, this])
+          );
+        }
+        return proxy;
+      }
+      const array = new Constructor(length);
+      assertSpeciesTypedArray(array, length);
+      for (let i = 0; i < length; ++i) {
+        const val = convertToNumber(float16bitsArray[i]);
+        array[i] = ReflectApply(callback, thisArg, [val, i, this]);
+      }
+      return  (array);
+    }
+    filter(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      const kept = [];
+      for (let i = 0; i < length; ++i) {
+        const val = convertToNumber(float16bitsArray[i]);
+        if (ReflectApply(callback, thisArg, [val, i, this])) {
+          ArrayPrototypePush(kept, val);
+        }
+      }
+      const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+      const array = new Constructor(kept);
+      assertSpeciesTypedArray(array);
+      return  (array);
+    }
+    reduce(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      if (length === 0 && opts.length === 0) {
+        throw NativeTypeError(REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+      }
+      let accumulator, start;
+      if (opts.length === 0) {
+        accumulator = convertToNumber(float16bitsArray[0]);
+        start = 1;
+      } else {
+        accumulator = opts[0];
+        start = 0;
+      }
+      for (let i = start; i < length; ++i) {
+        accumulator = callback(
+          accumulator,
+          convertToNumber(float16bitsArray[i]),
+          i,
+          this
+        );
+      }
+      return accumulator;
+    }
+    reduceRight(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      if (length === 0 && opts.length === 0) {
+        throw NativeTypeError(REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+      }
+      let accumulator, start;
+      if (opts.length === 0) {
+        accumulator = convertToNumber(float16bitsArray[length - 1]);
+        start = length - 2;
+      } else {
+        accumulator = opts[0];
+        start = length - 1;
+      }
+      for (let i = start; i >= 0; --i) {
+        accumulator = callback(
+          accumulator,
+          convertToNumber(float16bitsArray[i]),
+          i,
+          this
+        );
+      }
+      return accumulator;
+    }
+    forEach(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      for (let i = 0; i < length; ++i) {
+        ReflectApply(callback, thisArg, [
+          convertToNumber(float16bitsArray[i]),
+          i,
+          this,
+        ]);
+      }
+    }
+    find(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      for (let i = 0; i < length; ++i) {
+        const value = convertToNumber(float16bitsArray[i]);
+        if (ReflectApply(callback, thisArg, [value, i, this])) {
+          return value;
+        }
+      }
+    }
+    findIndex(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      for (let i = 0; i < length; ++i) {
+        const value = convertToNumber(float16bitsArray[i]);
+        if (ReflectApply(callback, thisArg, [value, i, this])) {
+          return i;
+        }
+      }
+      return -1;
+    }
+    findLast(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      for (let i = length - 1; i >= 0; --i) {
+        const value = convertToNumber(float16bitsArray[i]);
+        if (ReflectApply(callback, thisArg, [value, i, this])) {
+          return value;
+        }
+      }
+    }
+    findLastIndex(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      for (let i = length - 1; i >= 0; --i) {
+        const value = convertToNumber(float16bitsArray[i]);
+        if (ReflectApply(callback, thisArg, [value, i, this])) {
+          return i;
+        }
+      }
+      return -1;
+    }
+    every(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      for (let i = 0; i < length; ++i) {
+        if (
+          !ReflectApply(callback, thisArg, [
+            convertToNumber(float16bitsArray[i]),
+            i,
+            this,
+          ])
+        ) {
+          return false;
+        }
+      }
+      return true;
+    }
+    some(callback, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const thisArg = opts[0];
+      for (let i = 0; i < length; ++i) {
+        if (
+          ReflectApply(callback, thisArg, [
+            convertToNumber(float16bitsArray[i]),
+            i,
+            this,
+          ])
+        ) {
+          return true;
+        }
+      }
+      return false;
+    }
+    set(input, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const targetOffset = ToIntegerOrInfinity(opts[0]);
+      if (targetOffset < 0) {
+        throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+      }
+      if (input == null) {
+        throw NativeTypeError(
+          CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+        );
+      }
+      if (isNativeBigIntTypedArray(input)) {
+        throw NativeTypeError(
+          CANNOT_MIX_BIGINT_AND_OTHER_TYPES
+        );
+      }
+      if (isFloat16Array(input)) {
+        return TypedArrayPrototypeSet(
+          getFloat16BitsArray(this),
+          getFloat16BitsArray(input),
+          targetOffset
+        );
+      }
+      if (isNativeTypedArray(input)) {
+        const buffer = TypedArrayPrototypeGetBuffer(input);
+        if (IsDetachedBuffer(buffer)) {
+          throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+        }
+      }
+      const targetLength = TypedArrayPrototypeGetLength(float16bitsArray);
+      const src = NativeObject(input);
+      const srcLength = ToLength(src.length);
+      if (targetOffset === Infinity || srcLength + targetOffset > targetLength) {
+        throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+      }
+      for (let i = 0; i < srcLength; ++i) {
+        float16bitsArray[i + targetOffset] = roundToFloat16Bits(src[i]);
+      }
+    }
+    reverse() {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      TypedArrayPrototypeReverse(float16bitsArray);
+      return this;
+    }
+    toReversed() {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const uint16 = new NativeUint16Array(
+        TypedArrayPrototypeGetBuffer(float16bitsArray),
+        TypedArrayPrototypeGetByteOffset(float16bitsArray),
+        TypedArrayPrototypeGetLength(float16bitsArray)
+      );
+      const cloned = new Float16Array(
+        TypedArrayPrototypeGetBuffer(
+          TypedArrayPrototypeSlice(uint16)
+        )
+      );
+      const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+      TypedArrayPrototypeReverse(clonedFloat16bitsArray);
+      return cloned;
+    }
+    fill(value, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      TypedArrayPrototypeFill(
+        float16bitsArray,
+        roundToFloat16Bits(value),
+        ...safeIfNeeded(opts)
+      );
+      return this;
+    }
+    copyWithin(target, start, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      TypedArrayPrototypeCopyWithin(float16bitsArray, target, start, ...safeIfNeeded(opts));
+      return this;
+    }
+    sort(compareFn) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const sortCompare = compareFn !== undefined ? compareFn : defaultCompare;
+      TypedArrayPrototypeSort(float16bitsArray, (x, y) => {
+        return sortCompare(convertToNumber(x), convertToNumber(y));
+      });
+      return this;
+    }
+    toSorted(compareFn) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      if (compareFn !== undefined && typeof compareFn !== "function") {
+        throw new NativeTypeError(THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED);
+      }
+      const sortCompare = compareFn !== undefined ? compareFn : defaultCompare;
+      const uint16 = new NativeUint16Array(
+        TypedArrayPrototypeGetBuffer(float16bitsArray),
+        TypedArrayPrototypeGetByteOffset(float16bitsArray),
+        TypedArrayPrototypeGetLength(float16bitsArray)
+      );
+      const cloned = new Float16Array(
+        TypedArrayPrototypeGetBuffer(
+          TypedArrayPrototypeSlice(uint16)
+        )
+      );
+      const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+      TypedArrayPrototypeSort(clonedFloat16bitsArray, (x, y) => {
+        return sortCompare(convertToNumber(x), convertToNumber(y));
+      });
+      return cloned;
+    }
+    slice(start, end) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+      if (Constructor === Float16Array) {
+        const uint16 = new NativeUint16Array(
+          TypedArrayPrototypeGetBuffer(float16bitsArray),
+          TypedArrayPrototypeGetByteOffset(float16bitsArray),
+          TypedArrayPrototypeGetLength(float16bitsArray)
+        );
+        return new Float16Array(
+          TypedArrayPrototypeGetBuffer(
+            TypedArrayPrototypeSlice(uint16, start, end)
+          )
+        );
+      }
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      const relativeStart = ToIntegerOrInfinity(start);
+      const relativeEnd = end === undefined ? length : ToIntegerOrInfinity(end);
+      let k;
+      if (relativeStart === -Infinity) {
+        k = 0;
+      } else if (relativeStart < 0) {
+        k = length + relativeStart > 0 ? length + relativeStart : 0;
+      } else {
+        k = length < relativeStart ? length : relativeStart;
+      }
+      let final;
+      if (relativeEnd === -Infinity) {
+        final = 0;
+      } else if (relativeEnd < 0) {
+        final = length + relativeEnd > 0 ? length + relativeEnd : 0;
+      } else {
+        final = length < relativeEnd ? length : relativeEnd;
+      }
+      const count = final - k > 0 ? final - k : 0;
+      const array = new Constructor(count);
+      assertSpeciesTypedArray(array, count);
+      if (count === 0) {
+        return array;
+      }
+      const buffer = TypedArrayPrototypeGetBuffer(float16bitsArray);
+      if (IsDetachedBuffer(buffer)) {
+        throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+      }
+      let n = 0;
+      while (k < final) {
+        array[n] = convertToNumber(float16bitsArray[k]);
+        ++k;
+        ++n;
+      }
+      return  (array);
+    }
+    subarray(begin, end) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+      const uint16 = new NativeUint16Array(
+        TypedArrayPrototypeGetBuffer(float16bitsArray),
+        TypedArrayPrototypeGetByteOffset(float16bitsArray),
+        TypedArrayPrototypeGetLength(float16bitsArray)
+      );
+      const uint16Subarray = TypedArrayPrototypeSubarray(uint16, begin, end);
+      const array = new Constructor(
+        TypedArrayPrototypeGetBuffer(uint16Subarray),
+        TypedArrayPrototypeGetByteOffset(uint16Subarray),
+        TypedArrayPrototypeGetLength(uint16Subarray)
+      );
+      assertSpeciesTypedArray(array);
+      return  (array);
+    }
+    indexOf(element, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      let from = ToIntegerOrInfinity(opts[0]);
+      if (from === Infinity) {
+        return -1;
+      }
+      if (from < 0) {
+        from += length;
+        if (from < 0) {
+          from = 0;
+        }
+      }
+      for (let i = from; i < length; ++i) {
+        if (
+          ObjectHasOwn(float16bitsArray, i) &&
+          convertToNumber(float16bitsArray[i]) === element
+        ) {
+          return i;
+        }
+      }
+      return -1;
+    }
+    lastIndexOf(element, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      let from = opts.length >= 1 ? ToIntegerOrInfinity(opts[0]) : length - 1;
+      if (from === -Infinity) {
+        return -1;
+      }
+      if (from >= 0) {
+        from = from < length - 1 ? from : length - 1;
+      } else {
+        from += length;
+      }
+      for (let i = from; i >= 0; --i) {
+        if (
+          ObjectHasOwn(float16bitsArray, i) &&
+          convertToNumber(float16bitsArray[i]) === element
+        ) {
+          return i;
+        }
+      }
+      return -1;
+    }
+    includes(element, ...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const length = TypedArrayPrototypeGetLength(float16bitsArray);
+      let from = ToIntegerOrInfinity(opts[0]);
+      if (from === Infinity) {
+        return false;
+      }
+      if (from < 0) {
+        from += length;
+        if (from < 0) {
+          from = 0;
+        }
+      }
+      const isNaN = NumberIsNaN(element);
+      for (let i = from; i < length; ++i) {
+        const value = convertToNumber(float16bitsArray[i]);
+        if (isNaN && NumberIsNaN(value)) {
+          return true;
+        }
+        if (value === element) {
+          return true;
+        }
+      }
+      return false;
+    }
+    join(separator) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const array = copyToArray(float16bitsArray);
+      return ArrayPrototypeJoin(array, separator);
+    }
+    toLocaleString(...opts) {
+      assertFloat16Array(this);
+      const float16bitsArray = getFloat16BitsArray(this);
+      const array = copyToArray(float16bitsArray);
+      return ArrayPrototypeToLocaleString(array, ...safeIfNeeded(opts));
+    }
+    get [SymbolToStringTag]() {
+      if (isFloat16Array(this)) {
+        return  ("Float16Array");
+      }
+    }
+  }
+  ObjectDefineProperty(Float16Array, "BYTES_PER_ELEMENT", {
+    value: BYTES_PER_ELEMENT,
+  });
+  ObjectDefineProperty(Float16Array, brand, {});
+  ReflectSetPrototypeOf(Float16Array, TypedArray);
+  const Float16ArrayPrototype = Float16Array.prototype;
+  ObjectDefineProperty(Float16ArrayPrototype, "BYTES_PER_ELEMENT", {
+    value: BYTES_PER_ELEMENT,
+  });
+  ObjectDefineProperty(Float16ArrayPrototype, SymbolIterator, {
+    value: Float16ArrayPrototype.values,
+    writable: true,
+    configurable: true,
+  });
+  ReflectSetPrototypeOf(Float16ArrayPrototype, TypedArrayPrototype);
+
+  function isTypedArray(target) {
+    return isNativeTypedArray(target) || isFloat16Array(target);
+  }
+
+  function getFloat16(dataView, byteOffset, ...opts) {
+    return convertToNumber(
+      DataViewPrototypeGetUint16(dataView, byteOffset, ...safeIfNeeded(opts))
+    );
+  }
+  function setFloat16(dataView, byteOffset, value, ...opts) {
+    return DataViewPrototypeSetUint16(
+      dataView,
+      byteOffset,
+      roundToFloat16Bits(value),
+      ...safeIfNeeded(opts)
+    );
+  }
+
+  function f16round(x) {
+    const number = +x;
+    if (!NumberIsFinite(number) || number === 0) {
+      return number;
+    }
+    const x16 = roundToFloat16Bits(number);
+    return convertToNumber(x16);
+  }
+
+  exports.Float16Array = Float16Array;
+  exports.f16round = f16round;
+  exports.getFloat16 = getFloat16;
+  exports.hfround = f16round;
+  exports.isFloat16Array = isFloat16Array;
+  exports.isTypedArray = isTypedArray;
+  exports.setFloat16 = setFloat16;
+
+  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+
+  return exports;
+
+})({});

+ 1293 - 0
node_modules/@petamoriken/float16/browser/float16.mjs

@@ -0,0 +1,1293 @@
+/*! @petamoriken/float16 v3.8.0 | MIT License - https://github.com/petamoriken/float16 */
+
+const THIS_IS_NOT_AN_OBJECT = "This is not an object";
+const THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = "This is not a Float16Array object";
+const THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY =
+  "This constructor is not a subclass of Float16Array";
+const THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT =
+  "The constructor property value is not an object";
+const SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT =
+  "Species constructor didn't return TypedArray object";
+const DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH =
+  "Derived constructor created TypedArray object which was too small length";
+const ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER =
+  "Attempting to access detached ArrayBuffer";
+const CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT =
+  "Cannot convert undefined or null to object";
+const CANNOT_MIX_BIGINT_AND_OTHER_TYPES =
+  "Cannot mix BigInt and other types, use explicit conversions";
+const ITERATOR_PROPERTY_IS_NOT_CALLABLE = "@@iterator property is not callable";
+const REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE =
+  "Reduce of empty array with no initial value";
+const THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED =
+  "The comparison function must be either a function or undefined";
+const OFFSET_IS_OUT_OF_BOUNDS = "Offset is out of bounds";
+
+function uncurryThis(target) {
+  return (thisArg, ...args) => {
+    return ReflectApply(target, thisArg, args);
+  };
+}
+function uncurryThisGetter(target, key) {
+  return uncurryThis(
+    ReflectGetOwnPropertyDescriptor(
+      target,
+      key
+    ).get
+  );
+}
+const {
+  apply: ReflectApply,
+  construct: ReflectConstruct,
+  defineProperty: ReflectDefineProperty,
+  get: ReflectGet,
+  getOwnPropertyDescriptor: ReflectGetOwnPropertyDescriptor,
+  getPrototypeOf: ReflectGetPrototypeOf,
+  has: ReflectHas,
+  ownKeys: ReflectOwnKeys,
+  set: ReflectSet,
+  setPrototypeOf: ReflectSetPrototypeOf,
+} = Reflect;
+const NativeProxy = Proxy;
+const {
+  MAX_SAFE_INTEGER,
+  isFinite: NumberIsFinite,
+  isNaN: NumberIsNaN,
+} = Number;
+const {
+  iterator: SymbolIterator,
+  species: SymbolSpecies,
+  toStringTag: SymbolToStringTag,
+  for: SymbolFor,
+} = Symbol;
+const NativeObject = Object;
+const {
+  create: ObjectCreate,
+  defineProperty: ObjectDefineProperty,
+  freeze: ObjectFreeze,
+  is: ObjectIs,
+} = NativeObject;
+const ObjectPrototype = NativeObject.prototype;
+const ObjectPrototype__lookupGetter__ =  (ObjectPrototype).__lookupGetter__
+  ? uncurryThis( (ObjectPrototype).__lookupGetter__)
+  : (object, key) => {
+    if (object == null) {
+      throw NativeTypeError(
+        CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+      );
+    }
+    let target = NativeObject(object);
+    do {
+      const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
+      if (descriptor !== undefined) {
+        if (ObjectHasOwn(descriptor, "get")) {
+          return descriptor.get;
+        }
+        return;
+      }
+    } while ((target = ReflectGetPrototypeOf(target)) !== null);
+  };
+const ObjectHasOwn =  (NativeObject).hasOwn ||
+  uncurryThis(ObjectPrototype.hasOwnProperty);
+const NativeArray = Array;
+const ArrayIsArray = NativeArray.isArray;
+const ArrayPrototype = NativeArray.prototype;
+const ArrayPrototypeJoin = uncurryThis(ArrayPrototype.join);
+const ArrayPrototypePush = uncurryThis(ArrayPrototype.push);
+const ArrayPrototypeToLocaleString = uncurryThis(
+  ArrayPrototype.toLocaleString
+);
+const NativeArrayPrototypeSymbolIterator = ArrayPrototype[SymbolIterator];
+const ArrayPrototypeSymbolIterator = uncurryThis(NativeArrayPrototypeSymbolIterator);
+const MathTrunc = Math.trunc;
+const NativeArrayBuffer = ArrayBuffer;
+const ArrayBufferIsView = NativeArrayBuffer.isView;
+const ArrayBufferPrototype = NativeArrayBuffer.prototype;
+const ArrayBufferPrototypeSlice = uncurryThis(ArrayBufferPrototype.slice);
+const ArrayBufferPrototypeGetByteLength = uncurryThisGetter(ArrayBufferPrototype, "byteLength");
+const NativeSharedArrayBuffer = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : null;
+const SharedArrayBufferPrototypeGetByteLength = NativeSharedArrayBuffer
+  && uncurryThisGetter(NativeSharedArrayBuffer.prototype, "byteLength");
+const TypedArray = ReflectGetPrototypeOf(Uint8Array);
+const TypedArrayFrom = TypedArray.from;
+const TypedArrayPrototype = TypedArray.prototype;
+const NativeTypedArrayPrototypeSymbolIterator = TypedArrayPrototype[SymbolIterator];
+const TypedArrayPrototypeKeys = uncurryThis(TypedArrayPrototype.keys);
+const TypedArrayPrototypeValues = uncurryThis(
+  TypedArrayPrototype.values
+);
+const TypedArrayPrototypeEntries = uncurryThis(
+  TypedArrayPrototype.entries
+);
+const TypedArrayPrototypeSet = uncurryThis(TypedArrayPrototype.set);
+const TypedArrayPrototypeReverse = uncurryThis(
+  TypedArrayPrototype.reverse
+);
+const TypedArrayPrototypeFill = uncurryThis(TypedArrayPrototype.fill);
+const TypedArrayPrototypeCopyWithin = uncurryThis(
+  TypedArrayPrototype.copyWithin
+);
+const TypedArrayPrototypeSort = uncurryThis(TypedArrayPrototype.sort);
+const TypedArrayPrototypeSlice = uncurryThis(TypedArrayPrototype.slice);
+const TypedArrayPrototypeSubarray = uncurryThis(
+  TypedArrayPrototype.subarray
+);
+const TypedArrayPrototypeGetBuffer = uncurryThisGetter(
+  TypedArrayPrototype,
+  "buffer"
+);
+const TypedArrayPrototypeGetByteOffset = uncurryThisGetter(
+  TypedArrayPrototype,
+  "byteOffset"
+);
+const TypedArrayPrototypeGetLength = uncurryThisGetter(
+  TypedArrayPrototype,
+  "length"
+);
+const TypedArrayPrototypeGetSymbolToStringTag = uncurryThisGetter(
+  TypedArrayPrototype,
+  SymbolToStringTag
+);
+const NativeUint16Array = Uint16Array;
+const Uint16ArrayFrom = (...args) => {
+  return ReflectApply(TypedArrayFrom, NativeUint16Array, args);
+};
+const NativeUint32Array = Uint32Array;
+const NativeFloat32Array = Float32Array;
+const ArrayIteratorPrototype = ReflectGetPrototypeOf([][SymbolIterator]());
+const ArrayIteratorPrototypeNext = uncurryThis(ArrayIteratorPrototype.next);
+const GeneratorPrototypeNext = uncurryThis((function* () {})().next);
+const IteratorPrototype = ReflectGetPrototypeOf(ArrayIteratorPrototype);
+const DataViewPrototype = DataView.prototype;
+const DataViewPrototypeGetUint16 = uncurryThis(
+  DataViewPrototype.getUint16
+);
+const DataViewPrototypeSetUint16 = uncurryThis(
+  DataViewPrototype.setUint16
+);
+const NativeTypeError = TypeError;
+const NativeRangeError = RangeError;
+const NativeWeakSet = WeakSet;
+const WeakSetPrototype = NativeWeakSet.prototype;
+const WeakSetPrototypeAdd = uncurryThis(WeakSetPrototype.add);
+const WeakSetPrototypeHas = uncurryThis(WeakSetPrototype.has);
+const NativeWeakMap = WeakMap;
+const WeakMapPrototype = NativeWeakMap.prototype;
+const WeakMapPrototypeGet = uncurryThis(WeakMapPrototype.get);
+const WeakMapPrototypeHas = uncurryThis(WeakMapPrototype.has);
+const WeakMapPrototypeSet = uncurryThis(WeakMapPrototype.set);
+
+const arrayIterators = new NativeWeakMap();
+const SafeIteratorPrototype = ObjectCreate(null, {
+  next: {
+    value: function next() {
+      const arrayIterator = WeakMapPrototypeGet(arrayIterators, this);
+      return ArrayIteratorPrototypeNext(arrayIterator);
+    },
+  },
+  [SymbolIterator]: {
+    value: function values() {
+      return this;
+    },
+  },
+});
+function safeIfNeeded(array) {
+  if (
+    array[SymbolIterator] === NativeArrayPrototypeSymbolIterator &&
+    ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+  ) {
+    return array;
+  }
+  const safe = ObjectCreate(SafeIteratorPrototype);
+  WeakMapPrototypeSet(arrayIterators, safe, ArrayPrototypeSymbolIterator(array));
+  return safe;
+}
+const generators = new NativeWeakMap();
+const DummyArrayIteratorPrototype = ObjectCreate(IteratorPrototype, {
+  next: {
+    value: function next() {
+      const generator = WeakMapPrototypeGet(generators, this);
+      return GeneratorPrototypeNext(generator);
+    },
+    writable: true,
+    configurable: true,
+  },
+});
+for (const key of ReflectOwnKeys(ArrayIteratorPrototype)) {
+  if (key === "next") {
+    continue;
+  }
+  ObjectDefineProperty(DummyArrayIteratorPrototype, key, ReflectGetOwnPropertyDescriptor(ArrayIteratorPrototype, key));
+}
+function wrap(generator) {
+  const dummy = ObjectCreate(DummyArrayIteratorPrototype);
+  WeakMapPrototypeSet(generators, dummy, generator);
+  return dummy;
+}
+
+function isObject(value) {
+  return (
+    (value !== null && typeof value === "object") ||
+    typeof value === "function"
+  );
+}
+function isObjectLike(value) {
+  return value !== null && typeof value === "object";
+}
+function isNativeTypedArray(value) {
+  return TypedArrayPrototypeGetSymbolToStringTag(value) !== undefined;
+}
+function isNativeBigIntTypedArray(value) {
+  const typedArrayName = TypedArrayPrototypeGetSymbolToStringTag(value);
+  return (
+    typedArrayName === "BigInt64Array" ||
+    typedArrayName === "BigUint64Array"
+  );
+}
+function isArrayBuffer(value) {
+  try {
+    ArrayBufferPrototypeGetByteLength( (value));
+    return true;
+  } catch (e) {
+    return false;
+  }
+}
+function isSharedArrayBuffer(value) {
+  if (NativeSharedArrayBuffer === null) {
+    return false;
+  }
+  try {
+    SharedArrayBufferPrototypeGetByteLength( (value));
+    return true;
+  } catch (e) {
+    return false;
+  }
+}
+function isOrdinaryArray(value) {
+  if (!ArrayIsArray(value)) {
+    return false;
+  }
+  return (
+    value[SymbolIterator] === NativeArrayPrototypeSymbolIterator &&
+    ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+  );
+}
+function isOrdinaryNativeTypedArray(value) {
+  if (!isNativeTypedArray(value)) {
+    return false;
+  }
+  return (
+    value[SymbolIterator] === NativeTypedArrayPrototypeSymbolIterator &&
+    ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+  );
+}
+function isCanonicalIntegerIndexString(value) {
+  if (typeof value !== "string") {
+    return false;
+  }
+  const number = +value;
+  if (value !== number + "") {
+    return false;
+  }
+  if (!NumberIsFinite(number)) {
+    return false;
+  }
+  return number === MathTrunc(number);
+}
+
+const brand = SymbolFor("__Float16Array__");
+function hasFloat16ArrayBrand(target) {
+  if (!isObjectLike(target)) {
+    return false;
+  }
+  const prototype = ReflectGetPrototypeOf(target);
+  if (!isObjectLike(prototype)) {
+    return false;
+  }
+  const constructor = prototype.constructor;
+  if (constructor === undefined) {
+    return false;
+  }
+  if (!isObject(constructor)) {
+    throw NativeTypeError(THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+  }
+  return ReflectHas(constructor, brand);
+}
+
+const buffer = new NativeArrayBuffer(4);
+const floatView = new NativeFloat32Array(buffer);
+const uint32View = new NativeUint32Array(buffer);
+const baseTable = new NativeUint32Array(512);
+const shiftTable = new NativeUint32Array(512);
+for (let i = 0; i < 256; ++i) {
+  const e = i - 127;
+  if (e < -27) {
+    baseTable[i]         = 0x0000;
+    baseTable[i | 0x100] = 0x8000;
+    shiftTable[i]         = 24;
+    shiftTable[i | 0x100] = 24;
+  } else if (e < -14) {
+    baseTable[i]         =  0x0400 >> (-e - 14);
+    baseTable[i | 0x100] = (0x0400 >> (-e - 14)) | 0x8000;
+    shiftTable[i]         = -e - 1;
+    shiftTable[i | 0x100] = -e - 1;
+  } else if (e <= 15) {
+    baseTable[i]         =  (e + 15) << 10;
+    baseTable[i | 0x100] = ((e + 15) << 10) | 0x8000;
+    shiftTable[i]         = 13;
+    shiftTable[i | 0x100] = 13;
+  } else if (e < 128) {
+    baseTable[i]         = 0x7c00;
+    baseTable[i | 0x100] = 0xfc00;
+    shiftTable[i]         = 24;
+    shiftTable[i | 0x100] = 24;
+  } else {
+    baseTable[i]         = 0x7c00;
+    baseTable[i | 0x100] = 0xfc00;
+    shiftTable[i]         = 13;
+    shiftTable[i | 0x100] = 13;
+  }
+}
+function roundToFloat16Bits(num) {
+  floatView[0] =  (num);
+  const f = uint32View[0];
+  const e = (f >> 23) & 0x1ff;
+  return baseTable[e] + ((f & 0x007fffff) >> shiftTable[e]);
+}
+const mantissaTable = new NativeUint32Array(2048);
+const exponentTable = new NativeUint32Array(64);
+const offsetTable = new NativeUint32Array(64);
+for (let i = 1; i < 1024; ++i) {
+  let m = i << 13;
+  let e = 0;
+  while((m & 0x00800000) === 0) {
+    m <<= 1;
+    e -= 0x00800000;
+  }
+  m &= ~0x00800000;
+  e += 0x38800000;
+  mantissaTable[i] = m | e;
+}
+for (let i = 1024; i < 2048; ++i) {
+  mantissaTable[i] = 0x38000000 + ((i - 1024) << 13);
+}
+for (let i = 1; i < 31; ++i) {
+  exponentTable[i] = i << 23;
+}
+exponentTable[31] = 0x47800000;
+exponentTable[32] = 0x80000000;
+for (let i = 33; i < 63; ++i) {
+  exponentTable[i] = 0x80000000 + ((i - 32) << 23);
+}
+exponentTable[63] = 0xc7800000;
+for (let i = 1; i < 64; ++i) {
+  if (i !== 32) {
+    offsetTable[i] = 1024;
+  }
+}
+function convertToNumber(float16bits) {
+  const m = float16bits >> 10;
+  uint32View[0] = mantissaTable[offsetTable[m] + (float16bits & 0x3ff)] + exponentTable[m];
+  return floatView[0];
+}
+
+function ToIntegerOrInfinity(target) {
+  const number = +target;
+  if (NumberIsNaN(number) || number === 0) {
+    return 0;
+  }
+  return MathTrunc(number);
+}
+function ToLength(target) {
+  const length = ToIntegerOrInfinity(target);
+  if (length < 0) {
+    return 0;
+  }
+  return length < MAX_SAFE_INTEGER
+    ? length
+    : MAX_SAFE_INTEGER;
+}
+function SpeciesConstructor(target, defaultConstructor) {
+  if (!isObject(target)) {
+    throw NativeTypeError(THIS_IS_NOT_AN_OBJECT);
+  }
+  const constructor = target.constructor;
+  if (constructor === undefined) {
+    return defaultConstructor;
+  }
+  if (!isObject(constructor)) {
+    throw NativeTypeError(THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+  }
+  const species = constructor[SymbolSpecies];
+  if (species == null) {
+    return defaultConstructor;
+  }
+  return species;
+}
+function IsDetachedBuffer(buffer) {
+  if (isSharedArrayBuffer(buffer)) {
+    return false;
+  }
+  try {
+    ArrayBufferPrototypeSlice(buffer, 0, 0);
+    return false;
+  } catch (e) {}
+  return true;
+}
+function defaultCompare(x, y) {
+  const isXNaN = NumberIsNaN(x);
+  const isYNaN = NumberIsNaN(y);
+  if (isXNaN && isYNaN) {
+    return 0;
+  }
+  if (isXNaN) {
+    return 1;
+  }
+  if (isYNaN) {
+    return -1;
+  }
+  if (x < y) {
+    return -1;
+  }
+  if (x > y) {
+    return 1;
+  }
+  if (x === 0 && y === 0) {
+    const isXPlusZero = ObjectIs(x, 0);
+    const isYPlusZero = ObjectIs(y, 0);
+    if (!isXPlusZero && isYPlusZero) {
+      return -1;
+    }
+    if (isXPlusZero && !isYPlusZero) {
+      return 1;
+    }
+  }
+  return 0;
+}
+
+const BYTES_PER_ELEMENT = 2;
+const float16bitsArrays = new NativeWeakMap();
+function isFloat16Array(target) {
+  return WeakMapPrototypeHas(float16bitsArrays, target) ||
+    (!ArrayBufferIsView(target) && hasFloat16ArrayBrand(target));
+}
+function assertFloat16Array(target) {
+  if (!isFloat16Array(target)) {
+    throw NativeTypeError(THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT);
+  }
+}
+function assertSpeciesTypedArray(target, count) {
+  const isTargetFloat16Array = isFloat16Array(target);
+  const isTargetTypedArray = isNativeTypedArray(target);
+  if (!isTargetFloat16Array && !isTargetTypedArray) {
+    throw NativeTypeError(SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT);
+  }
+  if (typeof count === "number") {
+    let length;
+    if (isTargetFloat16Array) {
+      const float16bitsArray = getFloat16BitsArray(target);
+      length = TypedArrayPrototypeGetLength(float16bitsArray);
+    } else {
+      length = TypedArrayPrototypeGetLength(target);
+    }
+    if (length < count) {
+      throw NativeTypeError(
+        DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH
+      );
+    }
+  }
+  if (isNativeBigIntTypedArray(target)) {
+    throw NativeTypeError(CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+  }
+}
+function getFloat16BitsArray(float16) {
+  const float16bitsArray = WeakMapPrototypeGet(float16bitsArrays, float16);
+  if (float16bitsArray !== undefined) {
+    const buffer = TypedArrayPrototypeGetBuffer(float16bitsArray);
+    if (IsDetachedBuffer(buffer)) {
+      throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+    }
+    return float16bitsArray;
+  }
+  const buffer =  (float16).buffer;
+  if (IsDetachedBuffer(buffer)) {
+    throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+  }
+  const cloned = ReflectConstruct(Float16Array, [
+    buffer,
+     (float16).byteOffset,
+     (float16).length,
+  ], float16.constructor);
+  return WeakMapPrototypeGet(float16bitsArrays, cloned);
+}
+function copyToArray(float16bitsArray) {
+  const length = TypedArrayPrototypeGetLength(float16bitsArray);
+  const array = [];
+  for (let i = 0; i < length; ++i) {
+    array[i] = convertToNumber(float16bitsArray[i]);
+  }
+  return array;
+}
+const TypedArrayPrototypeGetters = new NativeWeakSet();
+for (const key of ReflectOwnKeys(TypedArrayPrototype)) {
+  if (key === SymbolToStringTag) {
+    continue;
+  }
+  const descriptor = ReflectGetOwnPropertyDescriptor(TypedArrayPrototype, key);
+  if (ObjectHasOwn(descriptor, "get") && typeof descriptor.get === "function") {
+    WeakSetPrototypeAdd(TypedArrayPrototypeGetters, descriptor.get);
+  }
+}
+const handler = ObjectFreeze( ({
+  get(target, key, receiver) {
+    if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+      return convertToNumber(ReflectGet(target, key));
+    }
+    if (WeakSetPrototypeHas(TypedArrayPrototypeGetters, ObjectPrototype__lookupGetter__(target, key))) {
+      return ReflectGet(target, key);
+    }
+    return ReflectGet(target, key, receiver);
+  },
+  set(target, key, value, receiver) {
+    if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+      return ReflectSet(target, key, roundToFloat16Bits(value));
+    }
+    return ReflectSet(target, key, value, receiver);
+  },
+  getOwnPropertyDescriptor(target, key) {
+    if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+      const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
+      descriptor.value = convertToNumber(descriptor.value);
+      return descriptor;
+    }
+    return ReflectGetOwnPropertyDescriptor(target, key);
+  },
+  defineProperty(target, key, descriptor) {
+    if (
+      isCanonicalIntegerIndexString(key) &&
+      ObjectHasOwn(target, key) &&
+      ObjectHasOwn(descriptor, "value")
+    ) {
+      descriptor.value = roundToFloat16Bits(descriptor.value);
+      return ReflectDefineProperty(target, key, descriptor);
+    }
+    return ReflectDefineProperty(target, key, descriptor);
+  },
+}));
+class Float16Array {
+  constructor(input, _byteOffset, _length) {
+    let float16bitsArray;
+    if (isFloat16Array(input)) {
+      float16bitsArray = ReflectConstruct(NativeUint16Array, [getFloat16BitsArray(input)], new.target);
+    } else if (isObject(input) && !isArrayBuffer(input)) {
+      let list;
+      let length;
+      if (isNativeTypedArray(input)) {
+        list = input;
+        length = TypedArrayPrototypeGetLength(input);
+        const buffer = TypedArrayPrototypeGetBuffer(input);
+        if (IsDetachedBuffer(buffer)) {
+          throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+        }
+        if (isNativeBigIntTypedArray(input)) {
+          throw NativeTypeError(CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+        }
+        const data = new NativeArrayBuffer(
+          length * BYTES_PER_ELEMENT
+        );
+        float16bitsArray = ReflectConstruct(NativeUint16Array, [data], new.target);
+      } else {
+        const iterator = input[SymbolIterator];
+        if (iterator != null && typeof iterator !== "function") {
+          throw NativeTypeError(ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+        }
+        if (iterator != null) {
+          if (isOrdinaryArray(input)) {
+            list = input;
+            length = input.length;
+          } else {
+            list = [...  (input)];
+            length = list.length;
+          }
+        } else {
+          list =  (input);
+          length = ToLength(list.length);
+        }
+        float16bitsArray = ReflectConstruct(NativeUint16Array, [length], new.target);
+      }
+      for (let i = 0; i < length; ++i) {
+        float16bitsArray[i] = roundToFloat16Bits(list[i]);
+      }
+    } else {
+      float16bitsArray = ReflectConstruct(NativeUint16Array, arguments, new.target);
+    }
+    const proxy =  (new NativeProxy(float16bitsArray, handler));
+    WeakMapPrototypeSet(float16bitsArrays, proxy, float16bitsArray);
+    return proxy;
+  }
+  static from(src, ...opts) {
+    const Constructor = this;
+    if (!ReflectHas(Constructor, brand)) {
+      throw NativeTypeError(
+        THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY
+      );
+    }
+    if (Constructor === Float16Array) {
+      if (isFloat16Array(src) && opts.length === 0) {
+        const float16bitsArray = getFloat16BitsArray(src);
+        const uint16 = new NativeUint16Array(
+          TypedArrayPrototypeGetBuffer(float16bitsArray),
+          TypedArrayPrototypeGetByteOffset(float16bitsArray),
+          TypedArrayPrototypeGetLength(float16bitsArray)
+        );
+        return new Float16Array(
+          TypedArrayPrototypeGetBuffer(TypedArrayPrototypeSlice(uint16))
+        );
+      }
+      if (opts.length === 0) {
+        return new Float16Array(
+          TypedArrayPrototypeGetBuffer(
+            Uint16ArrayFrom(src, roundToFloat16Bits)
+          )
+        );
+      }
+      const mapFunc = opts[0];
+      const thisArg = opts[1];
+      return new Float16Array(
+        TypedArrayPrototypeGetBuffer(
+          Uint16ArrayFrom(src, function (val, ...args) {
+            return roundToFloat16Bits(
+              ReflectApply(mapFunc, this, [val, ...safeIfNeeded(args)])
+            );
+          }, thisArg)
+        )
+      );
+    }
+    let list;
+    let length;
+    const iterator = src[SymbolIterator];
+    if (iterator != null && typeof iterator !== "function") {
+      throw NativeTypeError(ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+    }
+    if (iterator != null) {
+      if (isOrdinaryArray(src)) {
+        list = src;
+        length = src.length;
+      } else if (isOrdinaryNativeTypedArray(src)) {
+        list = src;
+        length = TypedArrayPrototypeGetLength(src);
+      } else {
+        list = [...src];
+        length = list.length;
+      }
+    } else {
+      if (src == null) {
+        throw NativeTypeError(
+          CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+        );
+      }
+      list = NativeObject(src);
+      length = ToLength(list.length);
+    }
+    const array = new Constructor(length);
+    if (opts.length === 0) {
+      for (let i = 0; i < length; ++i) {
+        array[i] =  (list[i]);
+      }
+    } else {
+      const mapFunc = opts[0];
+      const thisArg = opts[1];
+      for (let i = 0; i < length; ++i) {
+        array[i] = ReflectApply(mapFunc, thisArg, [list[i], i]);
+      }
+    }
+    return array;
+  }
+  static of(...items) {
+    const Constructor = this;
+    if (!ReflectHas(Constructor, brand)) {
+      throw NativeTypeError(
+        THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY
+      );
+    }
+    const length = items.length;
+    if (Constructor === Float16Array) {
+      const proxy = new Float16Array(length);
+      const float16bitsArray = getFloat16BitsArray(proxy);
+      for (let i = 0; i < length; ++i) {
+        float16bitsArray[i] = roundToFloat16Bits(items[i]);
+      }
+      return proxy;
+    }
+    const array = new Constructor(length);
+    for (let i = 0; i < length; ++i) {
+      array[i] = items[i];
+    }
+    return array;
+  }
+  keys() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    return TypedArrayPrototypeKeys(float16bitsArray);
+  }
+  values() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    return wrap((function* () {
+      for (const val of TypedArrayPrototypeValues(float16bitsArray)) {
+        yield convertToNumber(val);
+      }
+    })());
+  }
+  entries() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    return wrap((function* () {
+      for (const [i, val] of TypedArrayPrototypeEntries(float16bitsArray)) {
+        yield  ([i, convertToNumber(val)]);
+      }
+    })());
+  }
+  at(index) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const relativeIndex = ToIntegerOrInfinity(index);
+    const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+    if (k < 0 || k >= length) {
+      return;
+    }
+    return convertToNumber(float16bitsArray[k]);
+  }
+  with(index, value) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const relativeIndex = ToIntegerOrInfinity(index);
+    const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+    const number = +value;
+    if (k < 0 || k >= length) {
+      throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+    }
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const cloned = new Float16Array(
+      TypedArrayPrototypeGetBuffer(
+        TypedArrayPrototypeSlice(uint16)
+      )
+    );
+    const array = getFloat16BitsArray(cloned);
+    array[k] = roundToFloat16Bits(number);
+    return cloned;
+  }
+  map(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+    if (Constructor === Float16Array) {
+      const proxy = new Float16Array(length);
+      const array = getFloat16BitsArray(proxy);
+      for (let i = 0; i < length; ++i) {
+        const val = convertToNumber(float16bitsArray[i]);
+        array[i] = roundToFloat16Bits(
+          ReflectApply(callback, thisArg, [val, i, this])
+        );
+      }
+      return proxy;
+    }
+    const array = new Constructor(length);
+    assertSpeciesTypedArray(array, length);
+    for (let i = 0; i < length; ++i) {
+      const val = convertToNumber(float16bitsArray[i]);
+      array[i] = ReflectApply(callback, thisArg, [val, i, this]);
+    }
+    return  (array);
+  }
+  filter(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    const kept = [];
+    for (let i = 0; i < length; ++i) {
+      const val = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [val, i, this])) {
+        ArrayPrototypePush(kept, val);
+      }
+    }
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+    const array = new Constructor(kept);
+    assertSpeciesTypedArray(array);
+    return  (array);
+  }
+  reduce(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    if (length === 0 && opts.length === 0) {
+      throw NativeTypeError(REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+    }
+    let accumulator, start;
+    if (opts.length === 0) {
+      accumulator = convertToNumber(float16bitsArray[0]);
+      start = 1;
+    } else {
+      accumulator = opts[0];
+      start = 0;
+    }
+    for (let i = start; i < length; ++i) {
+      accumulator = callback(
+        accumulator,
+        convertToNumber(float16bitsArray[i]),
+        i,
+        this
+      );
+    }
+    return accumulator;
+  }
+  reduceRight(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    if (length === 0 && opts.length === 0) {
+      throw NativeTypeError(REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+    }
+    let accumulator, start;
+    if (opts.length === 0) {
+      accumulator = convertToNumber(float16bitsArray[length - 1]);
+      start = length - 2;
+    } else {
+      accumulator = opts[0];
+      start = length - 1;
+    }
+    for (let i = start; i >= 0; --i) {
+      accumulator = callback(
+        accumulator,
+        convertToNumber(float16bitsArray[i]),
+        i,
+        this
+      );
+    }
+    return accumulator;
+  }
+  forEach(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      ReflectApply(callback, thisArg, [
+        convertToNumber(float16bitsArray[i]),
+        i,
+        this,
+      ]);
+    }
+  }
+  find(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return value;
+      }
+    }
+  }
+  findIndex(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  findLast(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = length - 1; i >= 0; --i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return value;
+      }
+    }
+  }
+  findLastIndex(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = length - 1; i >= 0; --i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  every(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      if (
+        !ReflectApply(callback, thisArg, [
+          convertToNumber(float16bitsArray[i]),
+          i,
+          this,
+        ])
+      ) {
+        return false;
+      }
+    }
+    return true;
+  }
+  some(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      if (
+        ReflectApply(callback, thisArg, [
+          convertToNumber(float16bitsArray[i]),
+          i,
+          this,
+        ])
+      ) {
+        return true;
+      }
+    }
+    return false;
+  }
+  set(input, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const targetOffset = ToIntegerOrInfinity(opts[0]);
+    if (targetOffset < 0) {
+      throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+    }
+    if (input == null) {
+      throw NativeTypeError(
+        CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+      );
+    }
+    if (isNativeBigIntTypedArray(input)) {
+      throw NativeTypeError(
+        CANNOT_MIX_BIGINT_AND_OTHER_TYPES
+      );
+    }
+    if (isFloat16Array(input)) {
+      return TypedArrayPrototypeSet(
+        getFloat16BitsArray(this),
+        getFloat16BitsArray(input),
+        targetOffset
+      );
+    }
+    if (isNativeTypedArray(input)) {
+      const buffer = TypedArrayPrototypeGetBuffer(input);
+      if (IsDetachedBuffer(buffer)) {
+        throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+      }
+    }
+    const targetLength = TypedArrayPrototypeGetLength(float16bitsArray);
+    const src = NativeObject(input);
+    const srcLength = ToLength(src.length);
+    if (targetOffset === Infinity || srcLength + targetOffset > targetLength) {
+      throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+    }
+    for (let i = 0; i < srcLength; ++i) {
+      float16bitsArray[i + targetOffset] = roundToFloat16Bits(src[i]);
+    }
+  }
+  reverse() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    TypedArrayPrototypeReverse(float16bitsArray);
+    return this;
+  }
+  toReversed() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const cloned = new Float16Array(
+      TypedArrayPrototypeGetBuffer(
+        TypedArrayPrototypeSlice(uint16)
+      )
+    );
+    const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+    TypedArrayPrototypeReverse(clonedFloat16bitsArray);
+    return cloned;
+  }
+  fill(value, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    TypedArrayPrototypeFill(
+      float16bitsArray,
+      roundToFloat16Bits(value),
+      ...safeIfNeeded(opts)
+    );
+    return this;
+  }
+  copyWithin(target, start, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    TypedArrayPrototypeCopyWithin(float16bitsArray, target, start, ...safeIfNeeded(opts));
+    return this;
+  }
+  sort(compareFn) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const sortCompare = compareFn !== undefined ? compareFn : defaultCompare;
+    TypedArrayPrototypeSort(float16bitsArray, (x, y) => {
+      return sortCompare(convertToNumber(x), convertToNumber(y));
+    });
+    return this;
+  }
+  toSorted(compareFn) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    if (compareFn !== undefined && typeof compareFn !== "function") {
+      throw new NativeTypeError(THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED);
+    }
+    const sortCompare = compareFn !== undefined ? compareFn : defaultCompare;
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const cloned = new Float16Array(
+      TypedArrayPrototypeGetBuffer(
+        TypedArrayPrototypeSlice(uint16)
+      )
+    );
+    const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+    TypedArrayPrototypeSort(clonedFloat16bitsArray, (x, y) => {
+      return sortCompare(convertToNumber(x), convertToNumber(y));
+    });
+    return cloned;
+  }
+  slice(start, end) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+    if (Constructor === Float16Array) {
+      const uint16 = new NativeUint16Array(
+        TypedArrayPrototypeGetBuffer(float16bitsArray),
+        TypedArrayPrototypeGetByteOffset(float16bitsArray),
+        TypedArrayPrototypeGetLength(float16bitsArray)
+      );
+      return new Float16Array(
+        TypedArrayPrototypeGetBuffer(
+          TypedArrayPrototypeSlice(uint16, start, end)
+        )
+      );
+    }
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const relativeStart = ToIntegerOrInfinity(start);
+    const relativeEnd = end === undefined ? length : ToIntegerOrInfinity(end);
+    let k;
+    if (relativeStart === -Infinity) {
+      k = 0;
+    } else if (relativeStart < 0) {
+      k = length + relativeStart > 0 ? length + relativeStart : 0;
+    } else {
+      k = length < relativeStart ? length : relativeStart;
+    }
+    let final;
+    if (relativeEnd === -Infinity) {
+      final = 0;
+    } else if (relativeEnd < 0) {
+      final = length + relativeEnd > 0 ? length + relativeEnd : 0;
+    } else {
+      final = length < relativeEnd ? length : relativeEnd;
+    }
+    const count = final - k > 0 ? final - k : 0;
+    const array = new Constructor(count);
+    assertSpeciesTypedArray(array, count);
+    if (count === 0) {
+      return array;
+    }
+    const buffer = TypedArrayPrototypeGetBuffer(float16bitsArray);
+    if (IsDetachedBuffer(buffer)) {
+      throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+    }
+    let n = 0;
+    while (k < final) {
+      array[n] = convertToNumber(float16bitsArray[k]);
+      ++k;
+      ++n;
+    }
+    return  (array);
+  }
+  subarray(begin, end) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const uint16Subarray = TypedArrayPrototypeSubarray(uint16, begin, end);
+    const array = new Constructor(
+      TypedArrayPrototypeGetBuffer(uint16Subarray),
+      TypedArrayPrototypeGetByteOffset(uint16Subarray),
+      TypedArrayPrototypeGetLength(uint16Subarray)
+    );
+    assertSpeciesTypedArray(array);
+    return  (array);
+  }
+  indexOf(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    let from = ToIntegerOrInfinity(opts[0]);
+    if (from === Infinity) {
+      return -1;
+    }
+    if (from < 0) {
+      from += length;
+      if (from < 0) {
+        from = 0;
+      }
+    }
+    for (let i = from; i < length; ++i) {
+      if (
+        ObjectHasOwn(float16bitsArray, i) &&
+        convertToNumber(float16bitsArray[i]) === element
+      ) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  lastIndexOf(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    let from = opts.length >= 1 ? ToIntegerOrInfinity(opts[0]) : length - 1;
+    if (from === -Infinity) {
+      return -1;
+    }
+    if (from >= 0) {
+      from = from < length - 1 ? from : length - 1;
+    } else {
+      from += length;
+    }
+    for (let i = from; i >= 0; --i) {
+      if (
+        ObjectHasOwn(float16bitsArray, i) &&
+        convertToNumber(float16bitsArray[i]) === element
+      ) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  includes(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    let from = ToIntegerOrInfinity(opts[0]);
+    if (from === Infinity) {
+      return false;
+    }
+    if (from < 0) {
+      from += length;
+      if (from < 0) {
+        from = 0;
+      }
+    }
+    const isNaN = NumberIsNaN(element);
+    for (let i = from; i < length; ++i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (isNaN && NumberIsNaN(value)) {
+        return true;
+      }
+      if (value === element) {
+        return true;
+      }
+    }
+    return false;
+  }
+  join(separator) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const array = copyToArray(float16bitsArray);
+    return ArrayPrototypeJoin(array, separator);
+  }
+  toLocaleString(...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const array = copyToArray(float16bitsArray);
+    return ArrayPrototypeToLocaleString(array, ...safeIfNeeded(opts));
+  }
+  get [SymbolToStringTag]() {
+    if (isFloat16Array(this)) {
+      return  ("Float16Array");
+    }
+  }
+}
+ObjectDefineProperty(Float16Array, "BYTES_PER_ELEMENT", {
+  value: BYTES_PER_ELEMENT,
+});
+ObjectDefineProperty(Float16Array, brand, {});
+ReflectSetPrototypeOf(Float16Array, TypedArray);
+const Float16ArrayPrototype = Float16Array.prototype;
+ObjectDefineProperty(Float16ArrayPrototype, "BYTES_PER_ELEMENT", {
+  value: BYTES_PER_ELEMENT,
+});
+ObjectDefineProperty(Float16ArrayPrototype, SymbolIterator, {
+  value: Float16ArrayPrototype.values,
+  writable: true,
+  configurable: true,
+});
+ReflectSetPrototypeOf(Float16ArrayPrototype, TypedArrayPrototype);
+
+function isTypedArray(target) {
+  return isNativeTypedArray(target) || isFloat16Array(target);
+}
+
+function getFloat16(dataView, byteOffset, ...opts) {
+  return convertToNumber(
+    DataViewPrototypeGetUint16(dataView, byteOffset, ...safeIfNeeded(opts))
+  );
+}
+function setFloat16(dataView, byteOffset, value, ...opts) {
+  return DataViewPrototypeSetUint16(
+    dataView,
+    byteOffset,
+    roundToFloat16Bits(value),
+    ...safeIfNeeded(opts)
+  );
+}
+
+function f16round(x) {
+  const number = +x;
+  if (!NumberIsFinite(number) || number === 0) {
+    return number;
+  }
+  const x16 = roundToFloat16Bits(number);
+  return convertToNumber(x16);
+}
+
+export { Float16Array, f16round, getFloat16, f16round as hfround, isFloat16Array, isTypedArray, setFloat16 };

+ 498 - 0
node_modules/@petamoriken/float16/index.d.ts

@@ -0,0 +1,498 @@
+/**
+ * A typed array of 16-bit float values. The contents are initialized to 0. If the requested number
+ * of bytes could not be allocated an exception is raised.
+ */
+export interface Float16Array {
+  /**
+   * The size in bytes of each element in the array.
+   */
+  readonly BYTES_PER_ELEMENT: number;
+
+  /**
+   * The ArrayBuffer instance referenced by the array.
+   */
+  readonly buffer: ArrayBufferLike;
+
+  /**
+   * The length in bytes of the array.
+   */
+  readonly byteLength: number;
+
+  /**
+   * The offset in bytes of the array.
+   */
+  readonly byteOffset: number;
+
+  [Symbol.iterator](): IterableIterator<number>;
+
+  /**
+   * Returns an array of key, value pairs for every entry in the array
+   */
+  entries(): IterableIterator<[number, number]>;
+
+  /**
+   * Returns an list of keys in the array
+   */
+  keys(): IterableIterator<number>;
+
+  /**
+   * Returns an list of values in the array
+   */
+  values(): IterableIterator<number>;
+
+  /**
+   * Returns the item located at the specified index.
+   * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
+   */
+  at(index: number): number | undefined;
+
+  /**
+   * Returns the this object after copying a section of the array identified by start and end
+   * to the same array starting at position target
+   * @param target If target is negative, it is treated as length+target where length is the
+   * length of the array.
+   * @param start If start is negative, it is treated as length+start. If end is negative, it
+   * is treated as length+end.
+   * @param end If not specified, length of the this object is used as its default value.
+   */
+  copyWithin(target: number, start: number, end?: number): this;
+
+  /**
+   * Determines whether all the members of an array satisfy the specified test.
+   * @param callbackfn A function that accepts up to three arguments. The every method calls
+   * the callbackfn function for each element in the array until the callbackfn returns a value
+   * which is coercible to the Boolean value false, or until the end of the array.
+   * @param thisArg An object to which the this keyword can refer in the callbackfn function.
+   * If thisArg is omitted, undefined is used as the this value.
+   */
+  every(
+    callbackfn: (value: number, index: number, array: Float16Array) => unknown,
+    thisArg?: any,
+  ): boolean;
+
+  /**
+   * Returns the this object after filling the section identified by start and end with value
+   * @param value value to fill array section with
+   * @param start index to start filling the array at. If start is negative, it is treated as
+   * length+start where length is the length of the array.
+   * @param end index to stop filling the array at. If end is negative, it is treated as
+   * length+end.
+   */
+  fill(value: number, start?: number, end?: number): this;
+
+  /**
+   * Returns the elements of an array that meet the condition specified in a callback function.
+   * @param predicate A function that accepts up to three arguments. The filter method calls
+   * the predicate function one time for each element in the array.
+   * @param thisArg An object to which the this keyword can refer in the predicate function.
+   * If thisArg is omitted, undefined is used as the this value.
+   */
+  filter(
+    predicate: (value: number, index: number, array: Float16Array) => any,
+    thisArg?: any,
+  ): Float16Array;
+
+  /**
+   * Returns the value of the first element in the array where predicate is true, and undefined
+   * otherwise.
+   * @param predicate find calls predicate once for each element of the array, in ascending
+   * order, until it finds one where predicate returns true. If such an element is found, find
+   * immediately returns that element value. Otherwise, find returns undefined.
+   * @param thisArg If provided, it will be used as the this value for each invocation of
+   * predicate. If it is not provided, undefined is used instead.
+   */
+  find(
+    predicate: (value: number, index: number, obj: Float16Array) => boolean,
+    thisArg?: any,
+  ): number | undefined;
+
+  /**
+   * Returns the index of the first element in the array where predicate is true, and -1
+   * otherwise.
+   * @param predicate find calls predicate once for each element of the array, in ascending
+   * order, until it finds one where predicate returns true. If such an element is found,
+   * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
+   * @param thisArg If provided, it will be used as the this value for each invocation of
+   * predicate. If it is not provided, undefined is used instead.
+   */
+  findIndex(
+    predicate: (value: number, index: number, obj: Float16Array) => boolean,
+    thisArg?: any,
+  ): number;
+
+  /**
+   * Returns the value of the last element in the array where predicate is true, and undefined
+   * otherwise.
+   * @param predicate find calls predicate once for each element of the array, in descending
+   * order, until it finds one where predicate returns true. If such an element is found, findLast
+   * immediately returns that element value. Otherwise, findLast returns undefined.
+   * @param thisArg If provided, it will be used as the this value for each invocation of
+   * predicate. If it is not provided, undefined is used instead.
+   */
+  findLast(
+    predicate: (value: number, index: number, obj: Float16Array) => boolean,
+    thisArg?: any,
+  ): number | undefined;
+
+  /**
+   * Returns the index of the last element in the array where predicate is true, and -1
+   * otherwise.
+   * @param predicate find calls predicate once for each element of the array, in descending
+   * order, until it finds one where predicate returns true. If such an element is found,
+   * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
+   * @param thisArg If provided, it will be used as the this value for each invocation of
+   * predicate. If it is not provided, undefined is used instead.
+   */
+  findLastIndex(
+    predicate: (value: number, index: number, obj: Float16Array) => boolean,
+    thisArg?: any,
+  ): number;
+
+  /**
+   * Performs the specified action for each element in an array.
+   * @param callbackfn A function that accepts up to three arguments. forEach calls the
+   * callbackfn function one time for each element in the array.
+   * @param thisArg An object to which the this keyword can refer in the callbackfn function.
+   * If thisArg is omitted, undefined is used as the this value.
+   */
+  forEach(
+    callbackfn: (value: number, index: number, array: Float16Array) => void,
+    thisArg?: any,
+  ): void;
+
+  /**
+   * Determines whether an array includes a certain element, returning true or false as appropriate.
+   * @param searchElement The element to search for.
+   * @param fromIndex The position in this array at which to begin searching for searchElement.
+   */
+  includes(searchElement: number, fromIndex?: number): boolean;
+
+  /**
+   * Returns the index of the first occurrence of a value in an array.
+   * @param searchElement The value to locate in the array.
+   * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
+   * search starts at index 0.
+   */
+  indexOf(searchElement: number, fromIndex?: number): number;
+
+  /**
+   * Adds all the elements of an array separated by the specified separator string.
+   * @param separator A string used to separate one element of an array from the next in the
+   * resulting String. If omitted, the array elements are separated with a comma.
+   */
+  join(separator?: string): string;
+
+  /**
+   * Returns the index of the last occurrence of a value in an array.
+   * @param searchElement The value to locate in the array.
+   * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
+   * search starts at index 0.
+   */
+  lastIndexOf(searchElement: number, fromIndex?: number): number;
+
+  /**
+   * The length of the array.
+   */
+  readonly length: number;
+
+  /**
+   * Calls a defined callback function on each element of an array, and returns an array that
+   * contains the results.
+   * @param callbackfn A function that accepts up to three arguments. The map method calls the
+   * callbackfn function one time for each element in the array.
+   * @param thisArg An object to which the this keyword can refer in the callbackfn function.
+   * If thisArg is omitted, undefined is used as the this value.
+   */
+  map(
+    callbackfn: (value: number, index: number, array: Float16Array) => number,
+    thisArg?: any,
+  ): Float16Array;
+
+  /**
+   * Calls the specified callback function for all the elements in an array. The return value of
+   * the callback function is the accumulated result, and is provided as an argument in the next
+   * call to the callback function.
+   * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
+   * callbackfn function one time for each element in the array.
+   * @param initialValue If initialValue is specified, it is used as the initial value to start
+   * the accumulation. The first call to the callbackfn function provides this value as an argument
+   * instead of an array value.
+   */
+  reduce(
+    callbackfn: (
+      previousValue: number,
+      currentValue: number,
+      currentIndex: number,
+      array: Float16Array,
+    ) => number,
+  ): number;
+  reduce(
+    callbackfn: (
+      previousValue: number,
+      currentValue: number,
+      currentIndex: number,
+      array: Float16Array,
+    ) => number,
+    initialValue: number,
+  ): number;
+  reduce<U>(
+    callbackfn: (
+      previousValue: U,
+      currentValue: number,
+      currentIndex: number,
+      array: Float16Array,
+    ) => U,
+    initialValue: U,
+  ): U;
+
+  /**
+   * Calls the specified callback function for all the elements in an array, in descending order.
+   * The return value of the callback function is the accumulated result, and is provided as an
+   * argument in the next call to the callback function.
+   * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
+   * the callbackfn function one time for each element in the array.
+   * @param initialValue If initialValue is specified, it is used as the initial value to start
+   * the accumulation. The first call to the callbackfn function provides this value as an
+   * argument instead of an array value.
+   */
+  reduceRight(
+    callbackfn: (
+      previousValue: number,
+      currentValue: number,
+      currentIndex: number,
+      array: Float16Array,
+    ) => number,
+  ): number;
+  reduceRight(
+    callbackfn: (
+      previousValue: number,
+      currentValue: number,
+      currentIndex: number,
+      array: Float16Array,
+    ) => number,
+    initialValue: number,
+  ): number;
+  reduceRight<U>(
+    callbackfn: (
+      previousValue: U,
+      currentValue: number,
+      currentIndex: number,
+      array: Float16Array,
+    ) => U,
+    initialValue: U,
+  ): U;
+
+  /**
+   * Reverses the elements in an Array.
+   */
+  reverse(): this;
+
+  /**
+   * Sets a value or an array of values.
+   * @param array A typed or untyped array of values to set.
+   * @param offset The index in the current array at which the values are to be written.
+   */
+  set(array: ArrayLike<number>, offset?: number): void;
+
+  /**
+   * Returns a section of an array.
+   * @param start The beginning of the specified portion of the array.
+   * @param end The end of the specified portion of the array. This is exclusive of the element at the index 'end'.
+   */
+  slice(start?: number, end?: number): Float16Array;
+
+  /**
+   * Determines whether the specified callback function returns true for any element of an array.
+   * @param callbackfn A function that accepts up to three arguments. The some method calls
+   * the callbackfn function for each element in the array until the callbackfn returns a value
+   * which is coercible to the Boolean value true, or until the end of the array.
+   * @param thisArg An object to which the this keyword can refer in the callbackfn function.
+   * If thisArg is omitted, undefined is used as the this value.
+   */
+  some(
+    callbackfn: (value: number, index: number, array: Float16Array) => unknown,
+    thisArg?: any,
+  ): boolean;
+
+  /**
+   * Sorts an array.
+   * @param compareFn Function used to determine the order of the elements. It is expected to return
+   * a negative value if first argument is less than second argument, zero if they're equal and a positive
+   * value otherwise. If omitted, the elements are sorted in ascending.
+   */
+  sort(compareFn?: (a: number, b: number) => number): this;
+
+  /**
+   * Gets a new Float16Array view of the ArrayBuffer store for this array, referencing the elements
+   * at begin, inclusive, up to end, exclusive.
+   * @param begin The index of the beginning of the array.
+   * @param end The index of the end of the array.
+   */
+  subarray(begin?: number, end?: number): Float16Array;
+
+  /**
+   * Copies the array and returns the copy with the elements in reverse order.
+   */
+  toReversed(): Float16Array;
+
+  /**
+   * Copies and sorts the array.
+   * @param compareFn Function used to determine the order of the elements. It is expected to return
+   * a negative value if first argument is less than second argument, zero if they're equal and a positive
+   * value otherwise. If omitted, the elements are sorted in ascending.
+   */
+  toSorted(compareFn?: (a: number, b: number) => number): Float16Array;
+
+  /**
+   * Copies the array and replaces the element at the given index with the provided value.
+   * @param index The zero-based location in the array for which to replace an element.
+   * @param value Element to insert into the array in place of the replaced element.
+   */
+  with(index: number, value: number): Float16Array;
+
+  /**
+   * Converts a number to a string by using the current locale.
+   */
+  toLocaleString(): string;
+
+  /**
+   * Returns a string representation of an array.
+   */
+  toString(): string;
+
+  /**
+   * Returns the primitive value of the specified object.
+   */
+  valueOf(): Float16Array;
+
+  readonly [Symbol.toStringTag]: "Float16Array";
+
+  [index: number]: number;
+}
+
+export interface Float16ArrayConstructor {
+  readonly prototype: Float16Array;
+  new (): Float16Array;
+  new (length: number): Float16Array;
+  new (elements: Iterable<number>): Float16Array;
+  new (array: ArrayLike<number> | ArrayBufferLike): Float16Array;
+  new (
+    buffer: ArrayBufferLike,
+    byteOffset: number,
+    length?: number,
+  ): Float16Array;
+
+  /**
+   * The size in bytes of each element in the array.
+   */
+  readonly BYTES_PER_ELEMENT: number;
+
+  /**
+   * Returns a new array from a set of elements.
+   * @param items A set of elements to include in the new array object.
+   */
+  of(...items: number[]): Float16Array;
+
+  /**
+   * Creates an array from an array-like or iterable object.
+   * @param elements An iterable object to convert to an array.
+   */
+  from(elements: Iterable<number>): Float16Array;
+
+  /**
+   * Creates an array from an array-like or iterable object.
+   * @param elements An iterable object to convert to an array.
+   * @param mapfn A mapping function to call on every element of the array.
+   * @param thisArg Value of 'this' used to invoke the mapfn.
+   */
+  from<T>(
+    elements: Iterable<T>,
+    mapfn: (v: T, k: number) => number,
+    thisArg?: any,
+  ): Float16Array;
+
+  /**
+   * Creates an array from an array-like or iterable object.
+   * @param arrayLike An array-like object to convert to an array.
+   */
+  from(arrayLike: ArrayLike<number>): Float16Array;
+
+  /**
+   * Creates an array from an array-like or iterable object.
+   * @param arrayLike An array-like object to convert to an array.
+   * @param mapfn A mapping function to call on every element of the array.
+   * @param thisArg Value of 'this' used to invoke the mapfn.
+   */
+  from<T>(
+    arrayLike: ArrayLike<T>,
+    mapfn: (v: T, k: number) => number,
+    thisArg?: any,
+  ): Float16Array;
+}
+export declare const Float16Array: Float16ArrayConstructor;
+
+/**
+ * Returns `true` if the value is a Float16Array instance.
+ * @since v3.4.0
+ */
+export declare function isFloat16Array(value: unknown): value is Float16Array;
+
+/**
+ * Returns `true` if the value is a type of TypedArray instance that contains  Float16Array.
+ * @since v3.6.0
+ */
+export declare function isTypedArray(
+  value: unknown,
+): value is
+  | Uint8Array
+  | Uint8ClampedArray
+  | Uint16Array
+  | Uint32Array
+  | Int8Array
+  | Int16Array
+  | Int32Array
+  | Float16Array
+  | Float32Array
+  | Float64Array
+  | BigUint64Array
+  | BigInt64Array;
+
+/**
+ * Gets the Float16 value at the specified byte offset from the start of the view. There is
+ * no alignment constraint; multi-byte values may be fetched from any offset.
+ * @param byteOffset The place in the buffer at which the value should be retrieved.
+ * @param littleEndian If false or undefined, a big-endian value should be read,
+ * otherwise a little-endian value should be read.
+ */
+export declare function getFloat16(
+  dataView: DataView,
+  byteOffset: number,
+  littleEndian?: boolean,
+): number;
+
+/**
+ * Stores an Float16 value at the specified byte offset from the start of the view.
+ * @param byteOffset The place in the buffer at which the value should be set.
+ * @param value The value to set.
+ * @param littleEndian If false or undefined, a big-endian value should be written,
+ * otherwise a little-endian value should be written.
+ */
+export declare function setFloat16(
+  dataView: DataView,
+  byteOffset: number,
+  value: number,
+  littleEndian?: boolean,
+): void;
+
+/**
+ * Returns the nearest half-precision float representation of a number.
+ * @param x A numeric expression.
+ */
+export declare function f16round(x: number): number;
+
+/**
+ * Returns the nearest half-precision float representation of a number.
+ * @alias f16round
+ * @param x A numeric expression.
+ */
+export declare function hfround(x: number): number;

+ 22 - 0
node_modules/@petamoriken/float16/inspect/node.cjs

@@ -0,0 +1,22 @@
+/* eslint-env node */
+
+"use strict";
+
+const { inspect } = require("util");
+
+/**
+ * @example
+ * ```
+ * Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect;
+ * ```
+ */
+exports.customInspect = function customInspect(_deps, options) {
+  const length = this.length;
+
+  const array = [];
+  for (let i = 0; i < length; ++i) {
+    array[i] = this[i];
+  }
+
+  return `Float16Array(${length}) ${inspect(array, options)}`;
+};

+ 20 - 0
node_modules/@petamoriken/float16/inspect/node.mjs

@@ -0,0 +1,20 @@
+/* eslint-env node */
+
+import { inspect } from "util";
+
+/**
+ * @example
+ * ```
+ * Float16Array.prototype[Symbol.for("nodejs.util.inspect.custom")] = customInspect;
+ * ```
+ */
+export function customInspect(_deps, options) {
+  const length = this.length;
+
+  const array = [];
+  for (let i = 0; i < length; ++i) {
+    array[i] = this[i];
+  }
+
+  return `Float16Array(${length}) ${inspect(array, options)}`;
+}

+ 16 - 0
node_modules/@petamoriken/float16/lib/DataView.cjs

@@ -0,0 +1,16 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.getFloat16 = getFloat16;
+exports.setFloat16 = setFloat16;
+var _arrayIterator = require("./_util/arrayIterator.cjs");
+var _converter = require("./_util/converter.cjs");
+var _primordials = require("./_util/primordials.cjs");
+function getFloat16(dataView, byteOffset, ...opts) {
+  return (0, _converter.convertToNumber)((0, _primordials.DataViewPrototypeGetUint16)(dataView, byteOffset, ...(0, _arrayIterator.safeIfNeeded)(opts)));
+}
+function setFloat16(dataView, byteOffset, value, ...opts) {
+  return (0, _primordials.DataViewPrototypeSetUint16)(dataView, byteOffset, (0, _converter.roundToFloat16Bits)(value), ...(0, _arrayIterator.safeIfNeeded)(opts));
+}

+ 690 - 0
node_modules/@petamoriken/float16/lib/Float16Array.cjs

@@ -0,0 +1,690 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.isFloat16Array = isFloat16Array;
+var _arrayIterator = require("./_util/arrayIterator.cjs");
+var _brand = require("./_util/brand.cjs");
+var _converter = require("./_util/converter.cjs");
+var _is = require("./_util/is.cjs");
+var _messages = require("./_util/messages.cjs");
+var _primordials = require("./_util/primordials.cjs");
+var _spec = require("./_util/spec.cjs");
+const BYTES_PER_ELEMENT = 2;
+const float16bitsArrays = new _primordials.NativeWeakMap();
+function isFloat16Array(target) {
+  return (0, _primordials.WeakMapPrototypeHas)(float16bitsArrays, target) || !(0, _primordials.ArrayBufferIsView)(target) && (0, _brand.hasFloat16ArrayBrand)(target);
+}
+function assertFloat16Array(target) {
+  if (!isFloat16Array(target)) {
+    throw (0, _primordials.NativeTypeError)(_messages.THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT);
+  }
+}
+function assertSpeciesTypedArray(target, count) {
+  const isTargetFloat16Array = isFloat16Array(target);
+  const isTargetTypedArray = (0, _is.isNativeTypedArray)(target);
+  if (!isTargetFloat16Array && !isTargetTypedArray) {
+    throw (0, _primordials.NativeTypeError)(_messages.SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT);
+  }
+  if (typeof count === "number") {
+    let length;
+    if (isTargetFloat16Array) {
+      const float16bitsArray = getFloat16BitsArray(target);
+      length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    } else {
+      length = (0, _primordials.TypedArrayPrototypeGetLength)(target);
+    }
+    if (length < count) {
+      throw (0, _primordials.NativeTypeError)(_messages.DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH);
+    }
+  }
+  if ((0, _is.isNativeBigIntTypedArray)(target)) {
+    throw (0, _primordials.NativeTypeError)(_messages.CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+  }
+}
+function getFloat16BitsArray(float16) {
+  const float16bitsArray = (0, _primordials.WeakMapPrototypeGet)(float16bitsArrays, float16);
+  if (float16bitsArray !== undefined) {
+    const buffer = (0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray);
+    if ((0, _spec.IsDetachedBuffer)(buffer)) {
+      throw (0, _primordials.NativeTypeError)(_messages.ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+    }
+    return float16bitsArray;
+  }
+  const buffer = float16.buffer;
+  if ((0, _spec.IsDetachedBuffer)(buffer)) {
+    throw (0, _primordials.NativeTypeError)(_messages.ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+  }
+  const cloned = (0, _primordials.ReflectConstruct)(Float16Array, [buffer, float16.byteOffset, float16.length], float16.constructor);
+  return (0, _primordials.WeakMapPrototypeGet)(float16bitsArrays, cloned);
+}
+function copyToArray(float16bitsArray) {
+  const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+  const array = [];
+  for (let i = 0; i < length; ++i) {
+    array[i] = (0, _converter.convertToNumber)(float16bitsArray[i]);
+  }
+  return array;
+}
+const TypedArrayPrototypeGetters = new _primordials.NativeWeakSet();
+for (const key of (0, _primordials.ReflectOwnKeys)(_primordials.TypedArrayPrototype)) {
+  if (key === _primordials.SymbolToStringTag) {
+    continue;
+  }
+  const descriptor = (0, _primordials.ReflectGetOwnPropertyDescriptor)(_primordials.TypedArrayPrototype, key);
+  if ((0, _primordials.ObjectHasOwn)(descriptor, "get") && typeof descriptor.get === "function") {
+    (0, _primordials.WeakSetPrototypeAdd)(TypedArrayPrototypeGetters, descriptor.get);
+  }
+}
+const handler = (0, _primordials.ObjectFreeze)({
+  get(target, key, receiver) {
+    if ((0, _is.isCanonicalIntegerIndexString)(key) && (0, _primordials.ObjectHasOwn)(target, key)) {
+      return (0, _converter.convertToNumber)((0, _primordials.ReflectGet)(target, key));
+    }
+    if ((0, _primordials.WeakSetPrototypeHas)(TypedArrayPrototypeGetters, (0, _primordials.ObjectPrototype__lookupGetter__)(target, key))) {
+      return (0, _primordials.ReflectGet)(target, key);
+    }
+    return (0, _primordials.ReflectGet)(target, key, receiver);
+  },
+  set(target, key, value, receiver) {
+    if ((0, _is.isCanonicalIntegerIndexString)(key) && (0, _primordials.ObjectHasOwn)(target, key)) {
+      return (0, _primordials.ReflectSet)(target, key, (0, _converter.roundToFloat16Bits)(value));
+    }
+    return (0, _primordials.ReflectSet)(target, key, value, receiver);
+  },
+  getOwnPropertyDescriptor(target, key) {
+    if ((0, _is.isCanonicalIntegerIndexString)(key) && (0, _primordials.ObjectHasOwn)(target, key)) {
+      const descriptor = (0, _primordials.ReflectGetOwnPropertyDescriptor)(target, key);
+      descriptor.value = (0, _converter.convertToNumber)(descriptor.value);
+      return descriptor;
+    }
+    return (0, _primordials.ReflectGetOwnPropertyDescriptor)(target, key);
+  },
+  defineProperty(target, key, descriptor) {
+    if ((0, _is.isCanonicalIntegerIndexString)(key) && (0, _primordials.ObjectHasOwn)(target, key) && (0, _primordials.ObjectHasOwn)(descriptor, "value")) {
+      descriptor.value = (0, _converter.roundToFloat16Bits)(descriptor.value);
+      return (0, _primordials.ReflectDefineProperty)(target, key, descriptor);
+    }
+    return (0, _primordials.ReflectDefineProperty)(target, key, descriptor);
+  }
+});
+class Float16Array {
+  constructor(input, _byteOffset, _length) {
+    let float16bitsArray;
+    if (isFloat16Array(input)) {
+      float16bitsArray = (0, _primordials.ReflectConstruct)(_primordials.NativeUint16Array, [getFloat16BitsArray(input)], new.target);
+    } else if ((0, _is.isObject)(input) && !(0, _is.isArrayBuffer)(input)) {
+      let list;
+      let length;
+      if ((0, _is.isNativeTypedArray)(input)) {
+        list = input;
+        length = (0, _primordials.TypedArrayPrototypeGetLength)(input);
+        const buffer = (0, _primordials.TypedArrayPrototypeGetBuffer)(input);
+        if ((0, _spec.IsDetachedBuffer)(buffer)) {
+          throw (0, _primordials.NativeTypeError)(_messages.ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+        }
+        if ((0, _is.isNativeBigIntTypedArray)(input)) {
+          throw (0, _primordials.NativeTypeError)(_messages.CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+        }
+        const data = new _primordials.NativeArrayBuffer(length * BYTES_PER_ELEMENT);
+        float16bitsArray = (0, _primordials.ReflectConstruct)(_primordials.NativeUint16Array, [data], new.target);
+      } else {
+        const iterator = input[_primordials.SymbolIterator];
+        if (iterator != null && typeof iterator !== "function") {
+          throw (0, _primordials.NativeTypeError)(_messages.ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+        }
+        if (iterator != null) {
+          if ((0, _is.isOrdinaryArray)(input)) {
+            list = input;
+            length = input.length;
+          } else {
+            list = [...input];
+            length = list.length;
+          }
+        } else {
+          list = input;
+          length = (0, _spec.ToLength)(list.length);
+        }
+        float16bitsArray = (0, _primordials.ReflectConstruct)(_primordials.NativeUint16Array, [length], new.target);
+      }
+      for (let i = 0; i < length; ++i) {
+        float16bitsArray[i] = (0, _converter.roundToFloat16Bits)(list[i]);
+      }
+    } else {
+      float16bitsArray = (0, _primordials.ReflectConstruct)(_primordials.NativeUint16Array, arguments, new.target);
+    }
+    const proxy = new _primordials.NativeProxy(float16bitsArray, handler);
+    (0, _primordials.WeakMapPrototypeSet)(float16bitsArrays, proxy, float16bitsArray);
+    return proxy;
+  }
+  static from(src, ...opts) {
+    const Constructor = this;
+    if (!(0, _primordials.ReflectHas)(Constructor, _brand.brand)) {
+      throw (0, _primordials.NativeTypeError)(_messages.THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY);
+    }
+    if (Constructor === Float16Array) {
+      if (isFloat16Array(src) && opts.length === 0) {
+        const float16bitsArray = getFloat16BitsArray(src);
+        const uint16 = new _primordials.NativeUint16Array((0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetByteOffset)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray));
+        return new Float16Array((0, _primordials.TypedArrayPrototypeGetBuffer)((0, _primordials.TypedArrayPrototypeSlice)(uint16)));
+      }
+      if (opts.length === 0) {
+        return new Float16Array((0, _primordials.TypedArrayPrototypeGetBuffer)((0, _primordials.Uint16ArrayFrom)(src, _converter.roundToFloat16Bits)));
+      }
+      const mapFunc = opts[0];
+      const thisArg = opts[1];
+      return new Float16Array((0, _primordials.TypedArrayPrototypeGetBuffer)((0, _primordials.Uint16ArrayFrom)(src, function (val, ...args) {
+        return (0, _converter.roundToFloat16Bits)((0, _primordials.ReflectApply)(mapFunc, this, [val, ...(0, _arrayIterator.safeIfNeeded)(args)]));
+      }, thisArg)));
+    }
+    let list;
+    let length;
+    const iterator = src[_primordials.SymbolIterator];
+    if (iterator != null && typeof iterator !== "function") {
+      throw (0, _primordials.NativeTypeError)(_messages.ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+    }
+    if (iterator != null) {
+      if ((0, _is.isOrdinaryArray)(src)) {
+        list = src;
+        length = src.length;
+      } else if ((0, _is.isOrdinaryNativeTypedArray)(src)) {
+        list = src;
+        length = (0, _primordials.TypedArrayPrototypeGetLength)(src);
+      } else {
+        list = [...src];
+        length = list.length;
+      }
+    } else {
+      if (src == null) {
+        throw (0, _primordials.NativeTypeError)(_messages.CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT);
+      }
+      list = (0, _primordials.NativeObject)(src);
+      length = (0, _spec.ToLength)(list.length);
+    }
+    const array = new Constructor(length);
+    if (opts.length === 0) {
+      for (let i = 0; i < length; ++i) {
+        array[i] = list[i];
+      }
+    } else {
+      const mapFunc = opts[0];
+      const thisArg = opts[1];
+      for (let i = 0; i < length; ++i) {
+        array[i] = (0, _primordials.ReflectApply)(mapFunc, thisArg, [list[i], i]);
+      }
+    }
+    return array;
+  }
+  static of(...items) {
+    const Constructor = this;
+    if (!(0, _primordials.ReflectHas)(Constructor, _brand.brand)) {
+      throw (0, _primordials.NativeTypeError)(_messages.THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY);
+    }
+    const length = items.length;
+    if (Constructor === Float16Array) {
+      const proxy = new Float16Array(length);
+      const float16bitsArray = getFloat16BitsArray(proxy);
+      for (let i = 0; i < length; ++i) {
+        float16bitsArray[i] = (0, _converter.roundToFloat16Bits)(items[i]);
+      }
+      return proxy;
+    }
+    const array = new Constructor(length);
+    for (let i = 0; i < length; ++i) {
+      array[i] = items[i];
+    }
+    return array;
+  }
+  keys() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    return (0, _primordials.TypedArrayPrototypeKeys)(float16bitsArray);
+  }
+  values() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    return (0, _arrayIterator.wrap)(function* () {
+      for (const val of (0, _primordials.TypedArrayPrototypeValues)(float16bitsArray)) {
+        yield (0, _converter.convertToNumber)(val);
+      }
+    }());
+  }
+  entries() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    return (0, _arrayIterator.wrap)(function* () {
+      for (const [i, val] of (0, _primordials.TypedArrayPrototypeEntries)(float16bitsArray)) {
+        yield [i, (0, _converter.convertToNumber)(val)];
+      }
+    }());
+  }
+  at(index) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const relativeIndex = (0, _spec.ToIntegerOrInfinity)(index);
+    const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+    if (k < 0 || k >= length) {
+      return;
+    }
+    return (0, _converter.convertToNumber)(float16bitsArray[k]);
+  }
+  with(index, value) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const relativeIndex = (0, _spec.ToIntegerOrInfinity)(index);
+    const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+    const number = +value;
+    if (k < 0 || k >= length) {
+      throw (0, _primordials.NativeRangeError)(_messages.OFFSET_IS_OUT_OF_BOUNDS);
+    }
+    const uint16 = new _primordials.NativeUint16Array((0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetByteOffset)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray));
+    const cloned = new Float16Array((0, _primordials.TypedArrayPrototypeGetBuffer)((0, _primordials.TypedArrayPrototypeSlice)(uint16)));
+    const array = getFloat16BitsArray(cloned);
+    array[k] = (0, _converter.roundToFloat16Bits)(number);
+    return cloned;
+  }
+  map(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    const Constructor = (0, _spec.SpeciesConstructor)(float16bitsArray, Float16Array);
+    if (Constructor === Float16Array) {
+      const proxy = new Float16Array(length);
+      const array = getFloat16BitsArray(proxy);
+      for (let i = 0; i < length; ++i) {
+        const val = (0, _converter.convertToNumber)(float16bitsArray[i]);
+        array[i] = (0, _converter.roundToFloat16Bits)((0, _primordials.ReflectApply)(callback, thisArg, [val, i, this]));
+      }
+      return proxy;
+    }
+    const array = new Constructor(length);
+    assertSpeciesTypedArray(array, length);
+    for (let i = 0; i < length; ++i) {
+      const val = (0, _converter.convertToNumber)(float16bitsArray[i]);
+      array[i] = (0, _primordials.ReflectApply)(callback, thisArg, [val, i, this]);
+    }
+    return array;
+  }
+  filter(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    const kept = [];
+    for (let i = 0; i < length; ++i) {
+      const val = (0, _converter.convertToNumber)(float16bitsArray[i]);
+      if ((0, _primordials.ReflectApply)(callback, thisArg, [val, i, this])) {
+        (0, _primordials.ArrayPrototypePush)(kept, val);
+      }
+    }
+    const Constructor = (0, _spec.SpeciesConstructor)(float16bitsArray, Float16Array);
+    const array = new Constructor(kept);
+    assertSpeciesTypedArray(array);
+    return array;
+  }
+  reduce(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    if (length === 0 && opts.length === 0) {
+      throw (0, _primordials.NativeTypeError)(_messages.REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+    }
+    let accumulator, start;
+    if (opts.length === 0) {
+      accumulator = (0, _converter.convertToNumber)(float16bitsArray[0]);
+      start = 1;
+    } else {
+      accumulator = opts[0];
+      start = 0;
+    }
+    for (let i = start; i < length; ++i) {
+      accumulator = callback(accumulator, (0, _converter.convertToNumber)(float16bitsArray[i]), i, this);
+    }
+    return accumulator;
+  }
+  reduceRight(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    if (length === 0 && opts.length === 0) {
+      throw (0, _primordials.NativeTypeError)(_messages.REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+    }
+    let accumulator, start;
+    if (opts.length === 0) {
+      accumulator = (0, _converter.convertToNumber)(float16bitsArray[length - 1]);
+      start = length - 2;
+    } else {
+      accumulator = opts[0];
+      start = length - 1;
+    }
+    for (let i = start; i >= 0; --i) {
+      accumulator = callback(accumulator, (0, _converter.convertToNumber)(float16bitsArray[i]), i, this);
+    }
+    return accumulator;
+  }
+  forEach(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      (0, _primordials.ReflectApply)(callback, thisArg, [(0, _converter.convertToNumber)(float16bitsArray[i]), i, this]);
+    }
+  }
+  find(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      const value = (0, _converter.convertToNumber)(float16bitsArray[i]);
+      if ((0, _primordials.ReflectApply)(callback, thisArg, [value, i, this])) {
+        return value;
+      }
+    }
+  }
+  findIndex(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      const value = (0, _converter.convertToNumber)(float16bitsArray[i]);
+      if ((0, _primordials.ReflectApply)(callback, thisArg, [value, i, this])) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  findLast(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = length - 1; i >= 0; --i) {
+      const value = (0, _converter.convertToNumber)(float16bitsArray[i]);
+      if ((0, _primordials.ReflectApply)(callback, thisArg, [value, i, this])) {
+        return value;
+      }
+    }
+  }
+  findLastIndex(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = length - 1; i >= 0; --i) {
+      const value = (0, _converter.convertToNumber)(float16bitsArray[i]);
+      if ((0, _primordials.ReflectApply)(callback, thisArg, [value, i, this])) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  every(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      if (!(0, _primordials.ReflectApply)(callback, thisArg, [(0, _converter.convertToNumber)(float16bitsArray[i]), i, this])) {
+        return false;
+      }
+    }
+    return true;
+  }
+  some(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const thisArg = opts[0];
+    for (let i = 0; i < length; ++i) {
+      if ((0, _primordials.ReflectApply)(callback, thisArg, [(0, _converter.convertToNumber)(float16bitsArray[i]), i, this])) {
+        return true;
+      }
+    }
+    return false;
+  }
+  set(input, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const targetOffset = (0, _spec.ToIntegerOrInfinity)(opts[0]);
+    if (targetOffset < 0) {
+      throw (0, _primordials.NativeRangeError)(_messages.OFFSET_IS_OUT_OF_BOUNDS);
+    }
+    if (input == null) {
+      throw (0, _primordials.NativeTypeError)(_messages.CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT);
+    }
+    if ((0, _is.isNativeBigIntTypedArray)(input)) {
+      throw (0, _primordials.NativeTypeError)(_messages.CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+    }
+    if (isFloat16Array(input)) {
+      return (0, _primordials.TypedArrayPrototypeSet)(getFloat16BitsArray(this), getFloat16BitsArray(input), targetOffset);
+    }
+    if ((0, _is.isNativeTypedArray)(input)) {
+      const buffer = (0, _primordials.TypedArrayPrototypeGetBuffer)(input);
+      if ((0, _spec.IsDetachedBuffer)(buffer)) {
+        throw (0, _primordials.NativeTypeError)(_messages.ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+      }
+    }
+    const targetLength = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const src = (0, _primordials.NativeObject)(input);
+    const srcLength = (0, _spec.ToLength)(src.length);
+    if (targetOffset === Infinity || srcLength + targetOffset > targetLength) {
+      throw (0, _primordials.NativeRangeError)(_messages.OFFSET_IS_OUT_OF_BOUNDS);
+    }
+    for (let i = 0; i < srcLength; ++i) {
+      float16bitsArray[i + targetOffset] = (0, _converter.roundToFloat16Bits)(src[i]);
+    }
+  }
+  reverse() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    (0, _primordials.TypedArrayPrototypeReverse)(float16bitsArray);
+    return this;
+  }
+  toReversed() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const uint16 = new _primordials.NativeUint16Array((0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetByteOffset)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray));
+    const cloned = new Float16Array((0, _primordials.TypedArrayPrototypeGetBuffer)((0, _primordials.TypedArrayPrototypeSlice)(uint16)));
+    const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+    (0, _primordials.TypedArrayPrototypeReverse)(clonedFloat16bitsArray);
+    return cloned;
+  }
+  fill(value, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    (0, _primordials.TypedArrayPrototypeFill)(float16bitsArray, (0, _converter.roundToFloat16Bits)(value), ...(0, _arrayIterator.safeIfNeeded)(opts));
+    return this;
+  }
+  copyWithin(target, start, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    (0, _primordials.TypedArrayPrototypeCopyWithin)(float16bitsArray, target, start, ...(0, _arrayIterator.safeIfNeeded)(opts));
+    return this;
+  }
+  sort(compareFn) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const sortCompare = compareFn !== undefined ? compareFn : _spec.defaultCompare;
+    (0, _primordials.TypedArrayPrototypeSort)(float16bitsArray, (x, y) => {
+      return sortCompare((0, _converter.convertToNumber)(x), (0, _converter.convertToNumber)(y));
+    });
+    return this;
+  }
+  toSorted(compareFn) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    if (compareFn !== undefined && typeof compareFn !== "function") {
+      throw new _primordials.NativeTypeError(_messages.THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED);
+    }
+    const sortCompare = compareFn !== undefined ? compareFn : _spec.defaultCompare;
+    const uint16 = new _primordials.NativeUint16Array((0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetByteOffset)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray));
+    const cloned = new Float16Array((0, _primordials.TypedArrayPrototypeGetBuffer)((0, _primordials.TypedArrayPrototypeSlice)(uint16)));
+    const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+    (0, _primordials.TypedArrayPrototypeSort)(clonedFloat16bitsArray, (x, y) => {
+      return sortCompare((0, _converter.convertToNumber)(x), (0, _converter.convertToNumber)(y));
+    });
+    return cloned;
+  }
+  slice(start, end) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const Constructor = (0, _spec.SpeciesConstructor)(float16bitsArray, Float16Array);
+    if (Constructor === Float16Array) {
+      const uint16 = new _primordials.NativeUint16Array((0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetByteOffset)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray));
+      return new Float16Array((0, _primordials.TypedArrayPrototypeGetBuffer)((0, _primordials.TypedArrayPrototypeSlice)(uint16, start, end)));
+    }
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    const relativeStart = (0, _spec.ToIntegerOrInfinity)(start);
+    const relativeEnd = end === undefined ? length : (0, _spec.ToIntegerOrInfinity)(end);
+    let k;
+    if (relativeStart === -Infinity) {
+      k = 0;
+    } else if (relativeStart < 0) {
+      k = length + relativeStart > 0 ? length + relativeStart : 0;
+    } else {
+      k = length < relativeStart ? length : relativeStart;
+    }
+    let final;
+    if (relativeEnd === -Infinity) {
+      final = 0;
+    } else if (relativeEnd < 0) {
+      final = length + relativeEnd > 0 ? length + relativeEnd : 0;
+    } else {
+      final = length < relativeEnd ? length : relativeEnd;
+    }
+    const count = final - k > 0 ? final - k : 0;
+    const array = new Constructor(count);
+    assertSpeciesTypedArray(array, count);
+    if (count === 0) {
+      return array;
+    }
+    const buffer = (0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray);
+    if ((0, _spec.IsDetachedBuffer)(buffer)) {
+      throw (0, _primordials.NativeTypeError)(_messages.ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+    }
+    let n = 0;
+    while (k < final) {
+      array[n] = (0, _converter.convertToNumber)(float16bitsArray[k]);
+      ++k;
+      ++n;
+    }
+    return array;
+  }
+  subarray(begin, end) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const Constructor = (0, _spec.SpeciesConstructor)(float16bitsArray, Float16Array);
+    const uint16 = new _primordials.NativeUint16Array((0, _primordials.TypedArrayPrototypeGetBuffer)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetByteOffset)(float16bitsArray), (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray));
+    const uint16Subarray = (0, _primordials.TypedArrayPrototypeSubarray)(uint16, begin, end);
+    const array = new Constructor((0, _primordials.TypedArrayPrototypeGetBuffer)(uint16Subarray), (0, _primordials.TypedArrayPrototypeGetByteOffset)(uint16Subarray), (0, _primordials.TypedArrayPrototypeGetLength)(uint16Subarray));
+    assertSpeciesTypedArray(array);
+    return array;
+  }
+  indexOf(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    let from = (0, _spec.ToIntegerOrInfinity)(opts[0]);
+    if (from === Infinity) {
+      return -1;
+    }
+    if (from < 0) {
+      from += length;
+      if (from < 0) {
+        from = 0;
+      }
+    }
+    for (let i = from; i < length; ++i) {
+      if ((0, _primordials.ObjectHasOwn)(float16bitsArray, i) && (0, _converter.convertToNumber)(float16bitsArray[i]) === element) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  lastIndexOf(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    let from = opts.length >= 1 ? (0, _spec.ToIntegerOrInfinity)(opts[0]) : length - 1;
+    if (from === -Infinity) {
+      return -1;
+    }
+    if (from >= 0) {
+      from = from < length - 1 ? from : length - 1;
+    } else {
+      from += length;
+    }
+    for (let i = from; i >= 0; --i) {
+      if ((0, _primordials.ObjectHasOwn)(float16bitsArray, i) && (0, _converter.convertToNumber)(float16bitsArray[i]) === element) {
+        return i;
+      }
+    }
+    return -1;
+  }
+  includes(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const length = (0, _primordials.TypedArrayPrototypeGetLength)(float16bitsArray);
+    let from = (0, _spec.ToIntegerOrInfinity)(opts[0]);
+    if (from === Infinity) {
+      return false;
+    }
+    if (from < 0) {
+      from += length;
+      if (from < 0) {
+        from = 0;
+      }
+    }
+    const isNaN = (0, _primordials.NumberIsNaN)(element);
+    for (let i = from; i < length; ++i) {
+      const value = (0, _converter.convertToNumber)(float16bitsArray[i]);
+      if (isNaN && (0, _primordials.NumberIsNaN)(value)) {
+        return true;
+      }
+      if (value === element) {
+        return true;
+      }
+    }
+    return false;
+  }
+  join(separator) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const array = copyToArray(float16bitsArray);
+    return (0, _primordials.ArrayPrototypeJoin)(array, separator);
+  }
+  toLocaleString(...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+    const array = copyToArray(float16bitsArray);
+    return (0, _primordials.ArrayPrototypeToLocaleString)(array, ...(0, _arrayIterator.safeIfNeeded)(opts));
+  }
+  get [_primordials.SymbolToStringTag]() {
+    if (isFloat16Array(this)) {
+      return "Float16Array";
+    }
+  }
+}
+exports.Float16Array = Float16Array;
+(0, _primordials.ObjectDefineProperty)(Float16Array, "BYTES_PER_ELEMENT", {
+  value: BYTES_PER_ELEMENT
+});
+(0, _primordials.ObjectDefineProperty)(Float16Array, _brand.brand, {});
+(0, _primordials.ReflectSetPrototypeOf)(Float16Array, _primordials.TypedArray);
+const Float16ArrayPrototype = Float16Array.prototype;
+(0, _primordials.ObjectDefineProperty)(Float16ArrayPrototype, "BYTES_PER_ELEMENT", {
+  value: BYTES_PER_ELEMENT
+});
+(0, _primordials.ObjectDefineProperty)(Float16ArrayPrototype, _primordials.SymbolIterator, {
+  value: Float16ArrayPrototype.values,
+  writable: true,
+  configurable: true
+});
+(0, _primordials.ReflectSetPrototypeOf)(Float16ArrayPrototype, _primordials.TypedArrayPrototype);

+ 52 - 0
node_modules/@petamoriken/float16/lib/_util/arrayIterator.cjs

@@ -0,0 +1,52 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.safeIfNeeded = safeIfNeeded;
+exports.wrap = wrap;
+var _primordials = require("./primordials.cjs");
+const arrayIterators = new _primordials.NativeWeakMap();
+const SafeIteratorPrototype = (0, _primordials.ObjectCreate)(null, {
+  next: {
+    value: function next() {
+      const arrayIterator = (0, _primordials.WeakMapPrototypeGet)(arrayIterators, this);
+      return (0, _primordials.ArrayIteratorPrototypeNext)(arrayIterator);
+    }
+  },
+  [_primordials.SymbolIterator]: {
+    value: function values() {
+      return this;
+    }
+  }
+});
+function safeIfNeeded(array) {
+  if (array[_primordials.SymbolIterator] === _primordials.NativeArrayPrototypeSymbolIterator && _primordials.ArrayIteratorPrototype.next === _primordials.ArrayIteratorPrototypeNext) {
+    return array;
+  }
+  const safe = (0, _primordials.ObjectCreate)(SafeIteratorPrototype);
+  (0, _primordials.WeakMapPrototypeSet)(arrayIterators, safe, (0, _primordials.ArrayPrototypeSymbolIterator)(array));
+  return safe;
+}
+const generators = new _primordials.NativeWeakMap();
+const DummyArrayIteratorPrototype = (0, _primordials.ObjectCreate)(_primordials.IteratorPrototype, {
+  next: {
+    value: function next() {
+      const generator = (0, _primordials.WeakMapPrototypeGet)(generators, this);
+      return (0, _primordials.GeneratorPrototypeNext)(generator);
+    },
+    writable: true,
+    configurable: true
+  }
+});
+for (const key of (0, _primordials.ReflectOwnKeys)(_primordials.ArrayIteratorPrototype)) {
+  if (key === "next") {
+    continue;
+  }
+  (0, _primordials.ObjectDefineProperty)(DummyArrayIteratorPrototype, key, (0, _primordials.ReflectGetOwnPropertyDescriptor)(_primordials.ArrayIteratorPrototype, key));
+}
+function wrap(generator) {
+  const dummy = (0, _primordials.ObjectCreate)(DummyArrayIteratorPrototype);
+  (0, _primordials.WeakMapPrototypeSet)(generators, dummy, generator);
+  return dummy;
+}

+ 28 - 0
node_modules/@petamoriken/float16/lib/_util/brand.cjs

@@ -0,0 +1,28 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.hasFloat16ArrayBrand = hasFloat16ArrayBrand;
+var _is = require("./is.cjs");
+var _messages = require("./messages.cjs");
+var _primordials = require("./primordials.cjs");
+const brand = (0, _primordials.SymbolFor)("__Float16Array__");
+exports.brand = brand;
+function hasFloat16ArrayBrand(target) {
+  if (!(0, _is.isObjectLike)(target)) {
+    return false;
+  }
+  const prototype = (0, _primordials.ReflectGetPrototypeOf)(target);
+  if (!(0, _is.isObjectLike)(prototype)) {
+    return false;
+  }
+  const constructor = prototype.constructor;
+  if (constructor === undefined) {
+    return false;
+  }
+  if (!(0, _is.isObject)(constructor)) {
+    throw (0, _primordials.NativeTypeError)(_messages.THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+  }
+  return (0, _primordials.ReflectHas)(constructor, brand);
+}

+ 84 - 0
node_modules/@petamoriken/float16/lib/_util/converter.cjs

@@ -0,0 +1,84 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.convertToNumber = convertToNumber;
+exports.roundToFloat16Bits = roundToFloat16Bits;
+var _primordials = require("./primordials.cjs");
+const buffer = new _primordials.NativeArrayBuffer(4);
+const floatView = new _primordials.NativeFloat32Array(buffer);
+const uint32View = new _primordials.NativeUint32Array(buffer);
+const baseTable = new _primordials.NativeUint32Array(512);
+const shiftTable = new _primordials.NativeUint32Array(512);
+for (let i = 0; i < 256; ++i) {
+  const e = i - 127;
+  if (e < -27) {
+    baseTable[i] = 0x0000;
+    baseTable[i | 0x100] = 0x8000;
+    shiftTable[i] = 24;
+    shiftTable[i | 0x100] = 24;
+  } else if (e < -14) {
+    baseTable[i] = 0x0400 >> -e - 14;
+    baseTable[i | 0x100] = 0x0400 >> -e - 14 | 0x8000;
+    shiftTable[i] = -e - 1;
+    shiftTable[i | 0x100] = -e - 1;
+  } else if (e <= 15) {
+    baseTable[i] = e + 15 << 10;
+    baseTable[i | 0x100] = e + 15 << 10 | 0x8000;
+    shiftTable[i] = 13;
+    shiftTable[i | 0x100] = 13;
+  } else if (e < 128) {
+    baseTable[i] = 0x7c00;
+    baseTable[i | 0x100] = 0xfc00;
+    shiftTable[i] = 24;
+    shiftTable[i | 0x100] = 24;
+  } else {
+    baseTable[i] = 0x7c00;
+    baseTable[i | 0x100] = 0xfc00;
+    shiftTable[i] = 13;
+    shiftTable[i | 0x100] = 13;
+  }
+}
+function roundToFloat16Bits(num) {
+  floatView[0] = num;
+  const f = uint32View[0];
+  const e = f >> 23 & 0x1ff;
+  return baseTable[e] + ((f & 0x007fffff) >> shiftTable[e]);
+}
+const mantissaTable = new _primordials.NativeUint32Array(2048);
+const exponentTable = new _primordials.NativeUint32Array(64);
+const offsetTable = new _primordials.NativeUint32Array(64);
+for (let i = 1; i < 1024; ++i) {
+  let m = i << 13;
+  let e = 0;
+  while ((m & 0x00800000) === 0) {
+    m <<= 1;
+    e -= 0x00800000;
+  }
+  m &= ~0x00800000;
+  e += 0x38800000;
+  mantissaTable[i] = m | e;
+}
+for (let i = 1024; i < 2048; ++i) {
+  mantissaTable[i] = 0x38000000 + (i - 1024 << 13);
+}
+for (let i = 1; i < 31; ++i) {
+  exponentTable[i] = i << 23;
+}
+exponentTable[31] = 0x47800000;
+exponentTable[32] = 0x80000000;
+for (let i = 33; i < 63; ++i) {
+  exponentTable[i] = 0x80000000 + (i - 32 << 23);
+}
+exponentTable[63] = 0xc7800000;
+for (let i = 1; i < 64; ++i) {
+  if (i !== 32) {
+    offsetTable[i] = 1024;
+  }
+}
+function convertToNumber(float16bits) {
+  const m = float16bits >> 10;
+  uint32View[0] = mantissaTable[offsetTable[m] + (float16bits & 0x3ff)] + exponentTable[m];
+  return floatView[0];
+}

+ 72 - 0
node_modules/@petamoriken/float16/lib/_util/is.cjs

@@ -0,0 +1,72 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.isArrayBuffer = isArrayBuffer;
+exports.isCanonicalIntegerIndexString = isCanonicalIntegerIndexString;
+exports.isNativeBigIntTypedArray = isNativeBigIntTypedArray;
+exports.isNativeTypedArray = isNativeTypedArray;
+exports.isObject = isObject;
+exports.isObjectLike = isObjectLike;
+exports.isOrdinaryArray = isOrdinaryArray;
+exports.isOrdinaryNativeTypedArray = isOrdinaryNativeTypedArray;
+exports.isSharedArrayBuffer = isSharedArrayBuffer;
+var _primordials = require("./primordials.cjs");
+function isObject(value) {
+  return value !== null && typeof value === "object" || typeof value === "function";
+}
+function isObjectLike(value) {
+  return value !== null && typeof value === "object";
+}
+function isNativeTypedArray(value) {
+  return (0, _primordials.TypedArrayPrototypeGetSymbolToStringTag)(value) !== undefined;
+}
+function isNativeBigIntTypedArray(value) {
+  const typedArrayName = (0, _primordials.TypedArrayPrototypeGetSymbolToStringTag)(value);
+  return typedArrayName === "BigInt64Array" || typedArrayName === "BigUint64Array";
+}
+function isArrayBuffer(value) {
+  try {
+    (0, _primordials.ArrayBufferPrototypeGetByteLength)(value);
+    return true;
+  } catch (e) {
+    return false;
+  }
+}
+function isSharedArrayBuffer(value) {
+  if (_primordials.NativeSharedArrayBuffer === null) {
+    return false;
+  }
+  try {
+    (0, _primordials.SharedArrayBufferPrototypeGetByteLength)(value);
+    return true;
+  } catch (e) {
+    return false;
+  }
+}
+function isOrdinaryArray(value) {
+  if (!(0, _primordials.ArrayIsArray)(value)) {
+    return false;
+  }
+  return value[_primordials.SymbolIterator] === _primordials.NativeArrayPrototypeSymbolIterator && _primordials.ArrayIteratorPrototype.next === _primordials.ArrayIteratorPrototypeNext;
+}
+function isOrdinaryNativeTypedArray(value) {
+  if (!isNativeTypedArray(value)) {
+    return false;
+  }
+  return value[_primordials.SymbolIterator] === _primordials.NativeTypedArrayPrototypeSymbolIterator && _primordials.ArrayIteratorPrototype.next === _primordials.ArrayIteratorPrototypeNext;
+}
+function isCanonicalIntegerIndexString(value) {
+  if (typeof value !== "string") {
+    return false;
+  }
+  const number = +value;
+  if (value !== number + "") {
+    return false;
+  }
+  if (!(0, _primordials.NumberIsFinite)(number)) {
+    return false;
+  }
+  return number === (0, _primordials.MathTrunc)(number);
+}

+ 31 - 0
node_modules/@petamoriken/float16/lib/_util/messages.cjs

@@ -0,0 +1,31 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+const THIS_IS_NOT_AN_OBJECT = "This is not an object";
+exports.THIS_IS_NOT_AN_OBJECT = THIS_IS_NOT_AN_OBJECT;
+const THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = "This is not a Float16Array object";
+exports.THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT;
+const THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY = "This constructor is not a subclass of Float16Array";
+exports.THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY = THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY;
+const THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT = "The constructor property value is not an object";
+exports.THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT = THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT;
+const SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT = "Species constructor didn't return TypedArray object";
+exports.SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT = SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT;
+const DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH = "Derived constructor created TypedArray object which was too small length";
+exports.DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH = DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH;
+const ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER = "Attempting to access detached ArrayBuffer";
+exports.ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER = ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER;
+const CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT = "Cannot convert undefined or null to object";
+exports.CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT = CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT;
+const CANNOT_MIX_BIGINT_AND_OTHER_TYPES = "Cannot mix BigInt and other types, use explicit conversions";
+exports.CANNOT_MIX_BIGINT_AND_OTHER_TYPES = CANNOT_MIX_BIGINT_AND_OTHER_TYPES;
+const ITERATOR_PROPERTY_IS_NOT_CALLABLE = "@@iterator property is not callable";
+exports.ITERATOR_PROPERTY_IS_NOT_CALLABLE = ITERATOR_PROPERTY_IS_NOT_CALLABLE;
+const REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE = "Reduce of empty array with no initial value";
+exports.REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE = REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE;
+const THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED = "The comparison function must be either a function or undefined";
+exports.THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED = THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED;
+const OFFSET_IS_OUT_OF_BOUNDS = "Offset is out of bounds";
+exports.OFFSET_IS_OUT_OF_BOUNDS = OFFSET_IS_OUT_OF_BOUNDS;

+ 194 - 0
node_modules/@petamoriken/float16/lib/_util/primordials.cjs

@@ -0,0 +1,194 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+var _messages = require("./messages.cjs");
+function uncurryThis(target) {
+  return (thisArg, ...args) => {
+    return ReflectApply(target, thisArg, args);
+  };
+}
+function uncurryThisGetter(target, key) {
+  return uncurryThis(ReflectGetOwnPropertyDescriptor(target, key).get);
+}
+const {
+  apply: ReflectApply,
+  construct: ReflectConstruct,
+  defineProperty: ReflectDefineProperty,
+  get: ReflectGet,
+  getOwnPropertyDescriptor: ReflectGetOwnPropertyDescriptor,
+  getPrototypeOf: ReflectGetPrototypeOf,
+  has: ReflectHas,
+  ownKeys: ReflectOwnKeys,
+  set: ReflectSet,
+  setPrototypeOf: ReflectSetPrototypeOf
+} = Reflect;
+exports.ReflectSetPrototypeOf = ReflectSetPrototypeOf;
+exports.ReflectSet = ReflectSet;
+exports.ReflectOwnKeys = ReflectOwnKeys;
+exports.ReflectHas = ReflectHas;
+exports.ReflectGetPrototypeOf = ReflectGetPrototypeOf;
+exports.ReflectGetOwnPropertyDescriptor = ReflectGetOwnPropertyDescriptor;
+exports.ReflectGet = ReflectGet;
+exports.ReflectDefineProperty = ReflectDefineProperty;
+exports.ReflectConstruct = ReflectConstruct;
+exports.ReflectApply = ReflectApply;
+const NativeProxy = Proxy;
+exports.NativeProxy = NativeProxy;
+const {
+  MAX_SAFE_INTEGER,
+  isFinite: NumberIsFinite,
+  isNaN: NumberIsNaN
+} = Number;
+exports.NumberIsNaN = NumberIsNaN;
+exports.NumberIsFinite = NumberIsFinite;
+exports.MAX_SAFE_INTEGER = MAX_SAFE_INTEGER;
+const {
+  iterator: SymbolIterator,
+  species: SymbolSpecies,
+  toStringTag: SymbolToStringTag,
+  for: SymbolFor
+} = Symbol;
+exports.SymbolFor = SymbolFor;
+exports.SymbolToStringTag = SymbolToStringTag;
+exports.SymbolSpecies = SymbolSpecies;
+exports.SymbolIterator = SymbolIterator;
+const NativeObject = Object;
+exports.NativeObject = NativeObject;
+const {
+  create: ObjectCreate,
+  defineProperty: ObjectDefineProperty,
+  freeze: ObjectFreeze,
+  is: ObjectIs
+} = NativeObject;
+exports.ObjectIs = ObjectIs;
+exports.ObjectFreeze = ObjectFreeze;
+exports.ObjectDefineProperty = ObjectDefineProperty;
+exports.ObjectCreate = ObjectCreate;
+const ObjectPrototype = NativeObject.prototype;
+const ObjectPrototype__lookupGetter__ = ObjectPrototype.__lookupGetter__ ? uncurryThis(ObjectPrototype.__lookupGetter__) : (object, key) => {
+  if (object == null) {
+    throw NativeTypeError(_messages.CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT);
+  }
+  let target = NativeObject(object);
+  do {
+    const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
+    if (descriptor !== undefined) {
+      if (ObjectHasOwn(descriptor, "get")) {
+        return descriptor.get;
+      }
+      return;
+    }
+  } while ((target = ReflectGetPrototypeOf(target)) !== null);
+};
+exports.ObjectPrototype__lookupGetter__ = ObjectPrototype__lookupGetter__;
+const ObjectHasOwn = NativeObject.hasOwn || uncurryThis(ObjectPrototype.hasOwnProperty);
+exports.ObjectHasOwn = ObjectHasOwn;
+const NativeArray = Array;
+const ArrayIsArray = NativeArray.isArray;
+exports.ArrayIsArray = ArrayIsArray;
+const ArrayPrototype = NativeArray.prototype;
+const ArrayPrototypeJoin = uncurryThis(ArrayPrototype.join);
+exports.ArrayPrototypeJoin = ArrayPrototypeJoin;
+const ArrayPrototypePush = uncurryThis(ArrayPrototype.push);
+exports.ArrayPrototypePush = ArrayPrototypePush;
+const ArrayPrototypeToLocaleString = uncurryThis(ArrayPrototype.toLocaleString);
+exports.ArrayPrototypeToLocaleString = ArrayPrototypeToLocaleString;
+const NativeArrayPrototypeSymbolIterator = ArrayPrototype[SymbolIterator];
+exports.NativeArrayPrototypeSymbolIterator = NativeArrayPrototypeSymbolIterator;
+const ArrayPrototypeSymbolIterator = uncurryThis(NativeArrayPrototypeSymbolIterator);
+exports.ArrayPrototypeSymbolIterator = ArrayPrototypeSymbolIterator;
+const MathTrunc = Math.trunc;
+exports.MathTrunc = MathTrunc;
+const NativeArrayBuffer = ArrayBuffer;
+exports.NativeArrayBuffer = NativeArrayBuffer;
+const ArrayBufferIsView = NativeArrayBuffer.isView;
+exports.ArrayBufferIsView = ArrayBufferIsView;
+const ArrayBufferPrototype = NativeArrayBuffer.prototype;
+const ArrayBufferPrototypeSlice = uncurryThis(ArrayBufferPrototype.slice);
+exports.ArrayBufferPrototypeSlice = ArrayBufferPrototypeSlice;
+const ArrayBufferPrototypeGetByteLength = uncurryThisGetter(ArrayBufferPrototype, "byteLength");
+exports.ArrayBufferPrototypeGetByteLength = ArrayBufferPrototypeGetByteLength;
+const NativeSharedArrayBuffer = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : null;
+exports.NativeSharedArrayBuffer = NativeSharedArrayBuffer;
+const SharedArrayBufferPrototypeGetByteLength = NativeSharedArrayBuffer && uncurryThisGetter(NativeSharedArrayBuffer.prototype, "byteLength");
+exports.SharedArrayBufferPrototypeGetByteLength = SharedArrayBufferPrototypeGetByteLength;
+const TypedArray = ReflectGetPrototypeOf(Uint8Array);
+exports.TypedArray = TypedArray;
+const TypedArrayFrom = TypedArray.from;
+const TypedArrayPrototype = TypedArray.prototype;
+exports.TypedArrayPrototype = TypedArrayPrototype;
+const NativeTypedArrayPrototypeSymbolIterator = TypedArrayPrototype[SymbolIterator];
+exports.NativeTypedArrayPrototypeSymbolIterator = NativeTypedArrayPrototypeSymbolIterator;
+const TypedArrayPrototypeKeys = uncurryThis(TypedArrayPrototype.keys);
+exports.TypedArrayPrototypeKeys = TypedArrayPrototypeKeys;
+const TypedArrayPrototypeValues = uncurryThis(TypedArrayPrototype.values);
+exports.TypedArrayPrototypeValues = TypedArrayPrototypeValues;
+const TypedArrayPrototypeEntries = uncurryThis(TypedArrayPrototype.entries);
+exports.TypedArrayPrototypeEntries = TypedArrayPrototypeEntries;
+const TypedArrayPrototypeSet = uncurryThis(TypedArrayPrototype.set);
+exports.TypedArrayPrototypeSet = TypedArrayPrototypeSet;
+const TypedArrayPrototypeReverse = uncurryThis(TypedArrayPrototype.reverse);
+exports.TypedArrayPrototypeReverse = TypedArrayPrototypeReverse;
+const TypedArrayPrototypeFill = uncurryThis(TypedArrayPrototype.fill);
+exports.TypedArrayPrototypeFill = TypedArrayPrototypeFill;
+const TypedArrayPrototypeCopyWithin = uncurryThis(TypedArrayPrototype.copyWithin);
+exports.TypedArrayPrototypeCopyWithin = TypedArrayPrototypeCopyWithin;
+const TypedArrayPrototypeSort = uncurryThis(TypedArrayPrototype.sort);
+exports.TypedArrayPrototypeSort = TypedArrayPrototypeSort;
+const TypedArrayPrototypeSlice = uncurryThis(TypedArrayPrototype.slice);
+exports.TypedArrayPrototypeSlice = TypedArrayPrototypeSlice;
+const TypedArrayPrototypeSubarray = uncurryThis(TypedArrayPrototype.subarray);
+exports.TypedArrayPrototypeSubarray = TypedArrayPrototypeSubarray;
+const TypedArrayPrototypeGetBuffer = uncurryThisGetter(TypedArrayPrototype, "buffer");
+exports.TypedArrayPrototypeGetBuffer = TypedArrayPrototypeGetBuffer;
+const TypedArrayPrototypeGetByteOffset = uncurryThisGetter(TypedArrayPrototype, "byteOffset");
+exports.TypedArrayPrototypeGetByteOffset = TypedArrayPrototypeGetByteOffset;
+const TypedArrayPrototypeGetLength = uncurryThisGetter(TypedArrayPrototype, "length");
+exports.TypedArrayPrototypeGetLength = TypedArrayPrototypeGetLength;
+const TypedArrayPrototypeGetSymbolToStringTag = uncurryThisGetter(TypedArrayPrototype, SymbolToStringTag);
+exports.TypedArrayPrototypeGetSymbolToStringTag = TypedArrayPrototypeGetSymbolToStringTag;
+const NativeUint16Array = Uint16Array;
+exports.NativeUint16Array = NativeUint16Array;
+const Uint16ArrayFrom = (...args) => {
+  return ReflectApply(TypedArrayFrom, NativeUint16Array, args);
+};
+exports.Uint16ArrayFrom = Uint16ArrayFrom;
+const NativeUint32Array = Uint32Array;
+exports.NativeUint32Array = NativeUint32Array;
+const NativeFloat32Array = Float32Array;
+exports.NativeFloat32Array = NativeFloat32Array;
+const ArrayIteratorPrototype = ReflectGetPrototypeOf([][SymbolIterator]());
+exports.ArrayIteratorPrototype = ArrayIteratorPrototype;
+const ArrayIteratorPrototypeNext = uncurryThis(ArrayIteratorPrototype.next);
+exports.ArrayIteratorPrototypeNext = ArrayIteratorPrototypeNext;
+const GeneratorPrototypeNext = uncurryThis(function* () {}().next);
+exports.GeneratorPrototypeNext = GeneratorPrototypeNext;
+const IteratorPrototype = ReflectGetPrototypeOf(ArrayIteratorPrototype);
+exports.IteratorPrototype = IteratorPrototype;
+const DataViewPrototype = DataView.prototype;
+const DataViewPrototypeGetUint16 = uncurryThis(DataViewPrototype.getUint16);
+exports.DataViewPrototypeGetUint16 = DataViewPrototypeGetUint16;
+const DataViewPrototypeSetUint16 = uncurryThis(DataViewPrototype.setUint16);
+exports.DataViewPrototypeSetUint16 = DataViewPrototypeSetUint16;
+const NativeTypeError = TypeError;
+exports.NativeTypeError = NativeTypeError;
+const NativeRangeError = RangeError;
+exports.NativeRangeError = NativeRangeError;
+const NativeWeakSet = WeakSet;
+exports.NativeWeakSet = NativeWeakSet;
+const WeakSetPrototype = NativeWeakSet.prototype;
+const WeakSetPrototypeAdd = uncurryThis(WeakSetPrototype.add);
+exports.WeakSetPrototypeAdd = WeakSetPrototypeAdd;
+const WeakSetPrototypeHas = uncurryThis(WeakSetPrototype.has);
+exports.WeakSetPrototypeHas = WeakSetPrototypeHas;
+const NativeWeakMap = WeakMap;
+exports.NativeWeakMap = NativeWeakMap;
+const WeakMapPrototype = NativeWeakMap.prototype;
+const WeakMapPrototypeGet = uncurryThis(WeakMapPrototype.get);
+exports.WeakMapPrototypeGet = WeakMapPrototypeGet;
+const WeakMapPrototypeHas = uncurryThis(WeakMapPrototype.has);
+exports.WeakMapPrototypeHas = WeakMapPrototypeHas;
+const WeakMapPrototypeSet = uncurryThis(WeakMapPrototype.set);
+exports.WeakMapPrototypeSet = WeakMapPrototypeSet;

+ 84 - 0
node_modules/@petamoriken/float16/lib/_util/spec.cjs

@@ -0,0 +1,84 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.IsDetachedBuffer = IsDetachedBuffer;
+exports.SpeciesConstructor = SpeciesConstructor;
+exports.ToIntegerOrInfinity = ToIntegerOrInfinity;
+exports.ToLength = ToLength;
+exports.defaultCompare = defaultCompare;
+var _is = require("./is.cjs");
+var _messages = require("./messages.cjs");
+var _primordials = require("./primordials.cjs");
+function ToIntegerOrInfinity(target) {
+  const number = +target;
+  if ((0, _primordials.NumberIsNaN)(number) || number === 0) {
+    return 0;
+  }
+  return (0, _primordials.MathTrunc)(number);
+}
+function ToLength(target) {
+  const length = ToIntegerOrInfinity(target);
+  if (length < 0) {
+    return 0;
+  }
+  return length < _primordials.MAX_SAFE_INTEGER ? length : _primordials.MAX_SAFE_INTEGER;
+}
+function SpeciesConstructor(target, defaultConstructor) {
+  if (!(0, _is.isObject)(target)) {
+    throw (0, _primordials.NativeTypeError)(_messages.THIS_IS_NOT_AN_OBJECT);
+  }
+  const constructor = target.constructor;
+  if (constructor === undefined) {
+    return defaultConstructor;
+  }
+  if (!(0, _is.isObject)(constructor)) {
+    throw (0, _primordials.NativeTypeError)(_messages.THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+  }
+  const species = constructor[_primordials.SymbolSpecies];
+  if (species == null) {
+    return defaultConstructor;
+  }
+  return species;
+}
+function IsDetachedBuffer(buffer) {
+  if ((0, _is.isSharedArrayBuffer)(buffer)) {
+    return false;
+  }
+  try {
+    (0, _primordials.ArrayBufferPrototypeSlice)(buffer, 0, 0);
+    return false;
+  } catch (e) {}
+  return true;
+}
+function defaultCompare(x, y) {
+  const isXNaN = (0, _primordials.NumberIsNaN)(x);
+  const isYNaN = (0, _primordials.NumberIsNaN)(y);
+  if (isXNaN && isYNaN) {
+    return 0;
+  }
+  if (isXNaN) {
+    return 1;
+  }
+  if (isYNaN) {
+    return -1;
+  }
+  if (x < y) {
+    return -1;
+  }
+  if (x > y) {
+    return 1;
+  }
+  if (x === 0 && y === 0) {
+    const isXPlusZero = (0, _primordials.ObjectIs)(x, 0);
+    const isYPlusZero = (0, _primordials.ObjectIs)(y, 0);
+    if (!isXPlusZero && isYPlusZero) {
+      return -1;
+    }
+    if (isXPlusZero && !isYPlusZero) {
+      return 1;
+    }
+  }
+  return 0;
+}

+ 16 - 0
node_modules/@petamoriken/float16/lib/f16round.cjs

@@ -0,0 +1,16 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.f16round = f16round;
+var _converter = require("./_util/converter.cjs");
+var _primordials = require("./_util/primordials.cjs");
+function f16round(x) {
+  const number = +x;
+  if (!(0, _primordials.NumberIsFinite)(number) || number === 0) {
+    return number;
+  }
+  const x16 = (0, _converter.roundToFloat16Bits)(number);
+  return (0, _converter.convertToNumber)(x16);
+}

+ 16 - 0
node_modules/@petamoriken/float16/lib/index.cjs

@@ -0,0 +1,16 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+var _Float16Array = require("./Float16Array.cjs");
+exports.Float16Array = _Float16Array.Float16Array;
+exports.isFloat16Array = _Float16Array.isFloat16Array;
+var _isTypedArray = require("./isTypedArray.cjs");
+exports.isTypedArray = _isTypedArray.isTypedArray;
+var _DataView = require("./DataView.cjs");
+exports.getFloat16 = _DataView.getFloat16;
+exports.setFloat16 = _DataView.setFloat16;
+var _f16round = require("./f16round.cjs");
+exports.f16round = _f16round.f16round;
+exports.hfround = _f16round.f16round;

+ 11 - 0
node_modules/@petamoriken/float16/lib/isTypedArray.cjs

@@ -0,0 +1,11 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+  value: true
+});
+exports.isTypedArray = isTypedArray;
+var _Float16Array = require("./Float16Array.cjs");
+var _is = require("./_util/is.cjs");
+function isTypedArray(target) {
+  return (0, _is.isNativeTypedArray)(target) || (0, _Float16Array.isFloat16Array)(target);
+}

+ 100 - 0
node_modules/@petamoriken/float16/package.json

@@ -0,0 +1,100 @@
+{
+  "name": "@petamoriken/float16",
+  "version": "3.8.0",
+  "description": "IEEE 754 half-precision floating-point for JavaScript",
+  "keywords": [
+    "float16",
+    "binary16",
+    "FP16",
+    "half-precision",
+    "ieee754",
+    "Float16Array",
+    "TypedArray",
+    "DataView",
+    "getFloat16",
+    "setFloat16",
+    "f16round",
+    "ponyfill",
+    "shim"
+  ],
+  "homepage": "https://github.com/petamoriken/float16",
+  "bugs": {
+    "url": "https://github.com/petamoriken/float16/issues"
+  },
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/petamoriken/float16.git"
+  },
+  "license": "MIT",
+  "author": "Kenta Moriuchi <moriken@kimamass.com> (https://moriken.dev)",
+  "sideEffects": false,
+  "exports": {
+    ".": {
+      "require": "./lib/index.cjs",
+      "import": "./src/index.mjs"
+    },
+    "./inspect": {
+      "require": "./inspect/node.cjs",
+      "import": "./inspect/node.mjs"
+    }
+  },
+  "main": "./lib/index.cjs",
+  "browser": "./browser/float16.js",
+  "module": "./src/index.mjs",
+  "types": "index.d.ts",
+  "files": [
+    "src",
+    "lib",
+    "browser",
+    "inspect/node.mjs",
+    "inspect/node.cjs",
+    "index.d.ts"
+  ],
+  "scripts": {
+    "build": "concurrently \"yarn:build:*\"",
+    "build:browser": "rollup -c",
+    "build:lib": "babel src -d lib --out-file-extension .cjs",
+    "clean": "rm -rf lib browser docs coverage .nyc_output",
+    "coverage": "nyc --reporter=lcov mocha test/*.js",
+    "docs": "mkdir -p docs && cp README.md docs/index.md && yarn run docs:test",
+    "docs:test": "mkdir -p docs/test && concurrently \"yarn:docs:test:*\"",
+    "docs:test:build": "cp test/*.js docs/test && tools/power",
+    "docs:test:copy": "cp browser/float16.js docs/test/float16.js && cp test/browser/*.html docs/test",
+    "docs:test:dependencies": "cp node_modules/mocha/mocha.js node_modules/mocha/mocha.css node_modules/power-assert/build/power-assert.js docs/test",
+    "lint": "concurrently \"yarn:lint:*\"",
+    "lint:eslint": "eslint src/**/*.mjs",
+    "lint:unused": "find-unused-exports --module-glob 'src/**/*.mjs'",
+    "prepublishOnly": "yarn run lint && yarn test",
+    "refresh": "yarn run clean && yarn run build && yarn run docs",
+    "setup-test-browser": "http-server docs/test -p 8000 > /dev/null 2>&1 &",
+    "test": "mocha test/*.js",
+    "test-browser": "nightwatch -e chrome,chrome_old,firefox,firefox_old,firefox_esr,edge,edge_old,safari,safari_old",
+    "version": "NPM_VERSION_SCRIPT=1 yarn run refresh"
+  },
+  "devDependencies": {
+    "@babel/cli": "^7.21.0",
+    "@babel/core": "^7.21.3",
+    "@babel/plugin-transform-modules-commonjs": "^7.21.2",
+    "@types/nightwatch": "^2.3.22",
+    "babel-plugin-replace-import-extension": "^1.1.3",
+    "browserslist": "^4.21.5",
+    "concurrently": "^7.6.0",
+    "eslint": "^8.36.0",
+    "eslint-plugin-import": "^2.27.5",
+    "eslint-plugin-jsdoc": "^40.1.0",
+    "espower-cli": "^1.1.0",
+    "espower-loader": "^1.2.2",
+    "exorcist": "^2.0.0",
+    "find-unused-exports": "^5.0.0",
+    "http-server": "^14.1.1",
+    "mocha": "^10.2.0",
+    "nightwatch": "^2.6.19",
+    "nightwatch-saucelabs-endsauce": "^2.1.4",
+    "nyc": "^15.1.0",
+    "power-assert": "^1.4.2",
+    "rollup": "^3.20.1",
+    "rollup-plugin-cleanup": "^3.2.1",
+    "source-map-support": "^0.5.21"
+  },
+  "packageManager": "yarn@1.22.19"
+}

+ 37 - 0
node_modules/@petamoriken/float16/src/DataView.mjs

@@ -0,0 +1,37 @@
+import { safeIfNeeded } from "./_util/arrayIterator.mjs";
+import { convertToNumber, roundToFloat16Bits } from "./_util/converter.mjs";
+import {
+  DataViewPrototypeGetUint16,
+  DataViewPrototypeSetUint16,
+} from "./_util/primordials.mjs";
+
+/**
+ * returns an unsigned 16-bit float at the specified byte offset from the start of the DataView
+ *
+ * @param {DataView} dataView
+ * @param {number} byteOffset
+ * @param {[boolean]} opts
+ * @returns {number}
+ */
+export function getFloat16(dataView, byteOffset, ...opts) {
+  return convertToNumber(
+    DataViewPrototypeGetUint16(dataView, byteOffset, ...safeIfNeeded(opts))
+  );
+}
+
+/**
+ * stores an unsigned 16-bit float value at the specified byte offset from the start of the DataView
+ *
+ * @param {DataView} dataView
+ * @param {number} byteOffset
+ * @param {number} value
+ * @param {[boolean]} opts
+ */
+export function setFloat16(dataView, byteOffset, value, ...opts) {
+  return DataViewPrototypeSetUint16(
+    dataView,
+    byteOffset,
+    roundToFloat16Bits(value),
+    ...safeIfNeeded(opts)
+  );
+}

+ 1198 - 0
node_modules/@petamoriken/float16/src/Float16Array.mjs

@@ -0,0 +1,1198 @@
+import { safeIfNeeded, wrap } from "./_util/arrayIterator.mjs";
+import { brand, hasFloat16ArrayBrand } from "./_util/brand.mjs";
+import { convertToNumber, roundToFloat16Bits } from "./_util/converter.mjs";
+import {
+  isArrayBuffer,
+  isCanonicalIntegerIndexString,
+  isNativeBigIntTypedArray,
+  isNativeTypedArray,
+  isObject,
+  isOrdinaryArray,
+  isOrdinaryNativeTypedArray,
+} from "./_util/is.mjs";
+import {
+  ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER,
+  CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT,
+  CANNOT_MIX_BIGINT_AND_OTHER_TYPES,
+  DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH,
+  ITERATOR_PROPERTY_IS_NOT_CALLABLE,
+  OFFSET_IS_OUT_OF_BOUNDS,
+  REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE,
+  SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT,
+  THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED,
+  THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY,
+  THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT,
+} from "./_util/messages.mjs";
+import {
+  ArrayBufferIsView,
+  ArrayPrototypeJoin,
+  ArrayPrototypePush,
+  ArrayPrototypeToLocaleString,
+  NativeArrayBuffer,
+  NativeObject,
+  NativeProxy,
+  NativeRangeError,
+  NativeTypeError,
+  NativeUint16Array,
+  NativeWeakMap,
+  NativeWeakSet,
+  NumberIsNaN,
+  ObjectDefineProperty,
+  ObjectFreeze,
+  ObjectHasOwn,
+  ObjectPrototype__lookupGetter__,
+  ReflectApply,
+  ReflectConstruct,
+  ReflectDefineProperty,
+  ReflectGet,
+  ReflectGetOwnPropertyDescriptor,
+  ReflectHas,
+  ReflectOwnKeys,
+  ReflectSet,
+  ReflectSetPrototypeOf,
+  SymbolIterator,
+  SymbolToStringTag,
+  TypedArray,
+  TypedArrayPrototype,
+  TypedArrayPrototypeCopyWithin,
+  TypedArrayPrototypeEntries,
+  TypedArrayPrototypeFill,
+  TypedArrayPrototypeGetBuffer,
+  TypedArrayPrototypeGetByteOffset,
+  TypedArrayPrototypeGetLength,
+  TypedArrayPrototypeKeys,
+  TypedArrayPrototypeReverse,
+  TypedArrayPrototypeSet,
+  TypedArrayPrototypeSlice,
+  TypedArrayPrototypeSort,
+  TypedArrayPrototypeSubarray,
+  TypedArrayPrototypeValues,
+  Uint16ArrayFrom,
+  WeakMapPrototypeGet,
+  WeakMapPrototypeHas,
+  WeakMapPrototypeSet,
+  WeakSetPrototypeAdd,
+  WeakSetPrototypeHas,
+} from "./_util/primordials.mjs";
+import {
+  IsDetachedBuffer,
+  SpeciesConstructor,
+  ToIntegerOrInfinity,
+  ToLength,
+  defaultCompare,
+} from "./_util/spec.mjs";
+
+const BYTES_PER_ELEMENT = 2;
+
+/** @typedef {Uint16Array & { __float16bits: never }} Float16BitsArray */
+
+/** @type {WeakMap<Float16Array, Float16BitsArray>} */
+const float16bitsArrays = new NativeWeakMap();
+
+/**
+ * @param {unknown} target
+ * @returns {target is Float16Array}
+ */
+export function isFloat16Array(target) {
+  return WeakMapPrototypeHas(float16bitsArrays, target) ||
+    (!ArrayBufferIsView(target) && hasFloat16ArrayBrand(target));
+}
+
+/**
+ * @param {unknown} target
+ * @throws {TypeError}
+ * @returns {asserts target is Float16Array}
+ */
+function assertFloat16Array(target) {
+  if (!isFloat16Array(target)) {
+    throw NativeTypeError(THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT);
+  }
+}
+
+/**
+ * @param {unknown} target
+ * @param {number=} count
+ * @throws {TypeError}
+ * @returns {asserts target is Uint8Array|Uint8ClampedArray|Uint16Array|Uint32Array|Int8Array|Int16Array|Int32Array|Float16Array|Float32Array|Float64Array}
+ */
+function assertSpeciesTypedArray(target, count) {
+  const isTargetFloat16Array = isFloat16Array(target);
+  const isTargetTypedArray = isNativeTypedArray(target);
+
+  if (!isTargetFloat16Array && !isTargetTypedArray) {
+    throw NativeTypeError(SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT);
+  }
+
+  if (typeof count === "number") {
+    let length;
+    if (isTargetFloat16Array) {
+      const float16bitsArray = getFloat16BitsArray(target);
+      length = TypedArrayPrototypeGetLength(float16bitsArray);
+    } else {
+      length = TypedArrayPrototypeGetLength(target);
+    }
+
+    if (length < count) {
+      throw NativeTypeError(
+        DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH
+      );
+    }
+  }
+
+  if (isNativeBigIntTypedArray(target)) {
+    throw NativeTypeError(CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+  }
+}
+
+/**
+ * @param {Float16Array} float16
+ * @throws {TypeError}
+ * @returns {Float16BitsArray}
+ */
+function getFloat16BitsArray(float16) {
+  const float16bitsArray = WeakMapPrototypeGet(float16bitsArrays, float16);
+  if (float16bitsArray !== undefined) {
+    const buffer = TypedArrayPrototypeGetBuffer(float16bitsArray);
+
+    if (IsDetachedBuffer(buffer)) {
+      throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+    }
+
+    return float16bitsArray;
+  }
+
+  // from another Float16Array instance (a different version?)
+  const buffer = /** @type {any} */ (float16).buffer;
+
+  if (IsDetachedBuffer(buffer)) {
+    throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+  }
+
+  const cloned = ReflectConstruct(Float16Array, [
+    buffer,
+    /** @type {any} */ (float16).byteOffset,
+    /** @type {any} */ (float16).length,
+  ], float16.constructor);
+  return WeakMapPrototypeGet(float16bitsArrays, cloned);
+}
+
+/**
+ * @param {Float16BitsArray} float16bitsArray
+ * @returns {number[]}
+ */
+function copyToArray(float16bitsArray) {
+  const length = TypedArrayPrototypeGetLength(float16bitsArray);
+
+  const array = [];
+  for (let i = 0; i < length; ++i) {
+    array[i] = convertToNumber(float16bitsArray[i]);
+  }
+
+  return array;
+}
+
+/** @type {WeakSet<Function>} */
+const TypedArrayPrototypeGetters = new NativeWeakSet();
+for (const key of ReflectOwnKeys(TypedArrayPrototype)) {
+  // @@toStringTag getter property is defined in Float16Array.prototype
+  if (key === SymbolToStringTag) {
+    continue;
+  }
+
+  const descriptor = ReflectGetOwnPropertyDescriptor(TypedArrayPrototype, key);
+  if (ObjectHasOwn(descriptor, "get") && typeof descriptor.get === "function") {
+    WeakSetPrototypeAdd(TypedArrayPrototypeGetters, descriptor.get);
+  }
+}
+
+const handler = ObjectFreeze(/** @type {ProxyHandler<Float16BitsArray>} */ ({
+  get(target, key, receiver) {
+    if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+      return convertToNumber(ReflectGet(target, key));
+    }
+
+    // %TypedArray%.prototype getter properties cannot called by Proxy receiver
+    if (WeakSetPrototypeHas(TypedArrayPrototypeGetters, ObjectPrototype__lookupGetter__(target, key))) {
+      return ReflectGet(target, key);
+    }
+
+    return ReflectGet(target, key, receiver);
+  },
+
+  set(target, key, value, receiver) {
+    if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+      return ReflectSet(target, key, roundToFloat16Bits(value));
+    }
+
+    return ReflectSet(target, key, value, receiver);
+  },
+
+  getOwnPropertyDescriptor(target, key) {
+    if (isCanonicalIntegerIndexString(key) && ObjectHasOwn(target, key)) {
+      const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
+      descriptor.value = convertToNumber(descriptor.value);
+      return descriptor;
+    }
+
+    return ReflectGetOwnPropertyDescriptor(target, key);
+  },
+
+  defineProperty(target, key, descriptor) {
+    if (
+      isCanonicalIntegerIndexString(key) &&
+      ObjectHasOwn(target, key) &&
+      ObjectHasOwn(descriptor, "value")
+    ) {
+      descriptor.value = roundToFloat16Bits(descriptor.value);
+      return ReflectDefineProperty(target, key, descriptor);
+    }
+
+    return ReflectDefineProperty(target, key, descriptor);
+  },
+}));
+
+export class Float16Array {
+  /** @see https://tc39.es/ecma262/#sec-typedarray */
+  constructor(input, _byteOffset, _length) {
+    /** @type {Float16BitsArray} */
+    let float16bitsArray;
+
+    if (isFloat16Array(input)) {
+      float16bitsArray = ReflectConstruct(NativeUint16Array, [getFloat16BitsArray(input)], new.target);
+    } else if (isObject(input) && !isArrayBuffer(input)) { // object without ArrayBuffer
+      /** @type {ArrayLike<unknown>} */
+      let list;
+      /** @type {number} */
+      let length;
+
+      if (isNativeTypedArray(input)) { // TypedArray
+        list = input;
+        length = TypedArrayPrototypeGetLength(input);
+
+        const buffer = TypedArrayPrototypeGetBuffer(input);
+
+        if (IsDetachedBuffer(buffer)) {
+          throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+        }
+
+        if (isNativeBigIntTypedArray(input)) {
+          throw NativeTypeError(CANNOT_MIX_BIGINT_AND_OTHER_TYPES);
+        }
+
+        const data = new NativeArrayBuffer(
+          length * BYTES_PER_ELEMENT
+        );
+        float16bitsArray = ReflectConstruct(NativeUint16Array, [data], new.target);
+      } else {
+        const iterator = input[SymbolIterator];
+        if (iterator != null && typeof iterator !== "function") {
+          throw NativeTypeError(ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+        }
+
+        if (iterator != null) { // Iterable (Array)
+          // for optimization
+          if (isOrdinaryArray(input)) {
+            list = input;
+            length = input.length;
+          } else {
+            // eslint-disable-next-line no-restricted-syntax
+            list = [... /** @type {Iterable<unknown>} */ (input)];
+            length = list.length;
+          }
+        } else { // ArrayLike
+          list = /** @type {ArrayLike<unknown>} */ (input);
+          length = ToLength(list.length);
+        }
+        float16bitsArray = ReflectConstruct(NativeUint16Array, [length], new.target);
+      }
+
+      // set values
+      for (let i = 0; i < length; ++i) {
+        float16bitsArray[i] = roundToFloat16Bits(list[i]);
+      }
+    } else { // primitive, ArrayBuffer
+      float16bitsArray = ReflectConstruct(NativeUint16Array, arguments, new.target);
+    }
+
+    /** @type {Float16Array} */
+    const proxy = /** @type {any} */ (new NativeProxy(float16bitsArray, handler));
+
+    // proxy private storage
+    WeakMapPrototypeSet(float16bitsArrays, proxy, float16bitsArray);
+
+    return proxy;
+  }
+
+  /**
+   * limitation: `Object.getOwnPropertyNames(Float16Array)` or `Reflect.ownKeys(Float16Array)` include this key
+   *
+   * @see https://tc39.es/ecma262/#sec-%typedarray%.from
+   */
+  static from(src, ...opts) {
+    const Constructor = this;
+
+    if (!ReflectHas(Constructor, brand)) {
+      throw NativeTypeError(
+        THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY
+      );
+    }
+
+    // for optimization
+    if (Constructor === Float16Array) {
+      if (isFloat16Array(src) && opts.length === 0) {
+        const float16bitsArray = getFloat16BitsArray(src);
+        const uint16 = new NativeUint16Array(
+          TypedArrayPrototypeGetBuffer(float16bitsArray),
+          TypedArrayPrototypeGetByteOffset(float16bitsArray),
+          TypedArrayPrototypeGetLength(float16bitsArray)
+        );
+        return new Float16Array(
+          TypedArrayPrototypeGetBuffer(TypedArrayPrototypeSlice(uint16))
+        );
+      }
+
+      if (opts.length === 0) {
+        return new Float16Array(
+          TypedArrayPrototypeGetBuffer(
+            Uint16ArrayFrom(src, roundToFloat16Bits)
+          )
+        );
+      }
+
+      const mapFunc = opts[0];
+      const thisArg = opts[1];
+
+      return new Float16Array(
+        TypedArrayPrototypeGetBuffer(
+          Uint16ArrayFrom(src, function (val, ...args) {
+            return roundToFloat16Bits(
+              ReflectApply(mapFunc, this, [val, ...safeIfNeeded(args)])
+            );
+          }, thisArg)
+        )
+      );
+    }
+
+    /** @type {ArrayLike<unknown>} */
+    let list;
+    /** @type {number} */
+    let length;
+
+    const iterator = src[SymbolIterator];
+    if (iterator != null && typeof iterator !== "function") {
+      throw NativeTypeError(ITERATOR_PROPERTY_IS_NOT_CALLABLE);
+    }
+
+    if (iterator != null) { // Iterable (TypedArray, Array)
+      // for optimization
+      if (isOrdinaryArray(src)) {
+        list = src;
+        length = src.length;
+      } else if (isOrdinaryNativeTypedArray(src)) {
+        list = src;
+        length = TypedArrayPrototypeGetLength(src);
+      } else {
+        // eslint-disable-next-line no-restricted-syntax
+        list = [...src];
+        length = list.length;
+      }
+    } else { // ArrayLike
+      if (src == null) {
+        throw NativeTypeError(
+          CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+        );
+      }
+      list = NativeObject(src);
+      length = ToLength(list.length);
+    }
+
+    const array = new Constructor(length);
+
+    if (opts.length === 0) {
+      for (let i = 0; i < length; ++i) {
+        array[i] = /** @type {number} */ (list[i]);
+      }
+    } else {
+      const mapFunc = opts[0];
+      const thisArg = opts[1];
+      for (let i = 0; i < length; ++i) {
+        array[i] = ReflectApply(mapFunc, thisArg, [list[i], i]);
+      }
+    }
+
+    return array;
+  }
+
+  /**
+   * limitation: `Object.getOwnPropertyNames(Float16Array)` or `Reflect.ownKeys(Float16Array)` include this key
+   *
+   * @see https://tc39.es/ecma262/#sec-%typedarray%.of
+   */
+  static of(...items) {
+    const Constructor = this;
+
+    if (!ReflectHas(Constructor, brand)) {
+      throw NativeTypeError(
+        THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY
+      );
+    }
+
+    const length = items.length;
+
+    // for optimization
+    if (Constructor === Float16Array) {
+      const proxy = new Float16Array(length);
+      const float16bitsArray = getFloat16BitsArray(proxy);
+
+      for (let i = 0; i < length; ++i) {
+        float16bitsArray[i] = roundToFloat16Bits(items[i]);
+      }
+
+      return proxy;
+    }
+
+    const array = new Constructor(length);
+
+    for (let i = 0; i < length; ++i) {
+      array[i] = items[i];
+    }
+
+    return array;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys */
+  keys() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    return TypedArrayPrototypeKeys(float16bitsArray);
+  }
+
+  /**
+   * limitation: returns a object whose prototype is not `%ArrayIteratorPrototype%`
+   *
+   * @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.values
+   */
+  values() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    return wrap((function* () {
+      // eslint-disable-next-line no-restricted-syntax
+      for (const val of TypedArrayPrototypeValues(float16bitsArray)) {
+        yield convertToNumber(val);
+      }
+    })());
+  }
+
+  /**
+   * limitation: returns a object whose prototype is not `%ArrayIteratorPrototype%`
+   *
+   * @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries
+   */
+  entries() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    return wrap((function* () {
+      // eslint-disable-next-line no-restricted-syntax
+      for (const [i, val] of TypedArrayPrototypeEntries(float16bitsArray)) {
+        yield /** @type {[Number, number]} */ ([i, convertToNumber(val)]);
+      }
+    })());
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.at */
+  at(index) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const relativeIndex = ToIntegerOrInfinity(index);
+    const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+
+    if (k < 0 || k >= length) {
+      return;
+    }
+
+    return convertToNumber(float16bitsArray[k]);
+  }
+
+  /** @see https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with */
+  with(index, value) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const relativeIndex = ToIntegerOrInfinity(index);
+    const k = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;
+
+    const number = +value;
+
+    if (k < 0 || k >= length) {
+      throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+    }
+
+    // don't use SpeciesConstructor
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const cloned = new Float16Array(
+      TypedArrayPrototypeGetBuffer(
+        TypedArrayPrototypeSlice(uint16)
+      )
+    );
+    const array = getFloat16BitsArray(cloned);
+
+    array[k] = roundToFloat16Bits(number);
+
+    return cloned;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.map */
+  map(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+
+    // for optimization
+    if (Constructor === Float16Array) {
+      const proxy = new Float16Array(length);
+      const array = getFloat16BitsArray(proxy);
+
+      for (let i = 0; i < length; ++i) {
+        const val = convertToNumber(float16bitsArray[i]);
+        array[i] = roundToFloat16Bits(
+          ReflectApply(callback, thisArg, [val, i, this])
+        );
+      }
+
+      return proxy;
+    }
+
+    const array = new Constructor(length);
+    assertSpeciesTypedArray(array, length);
+
+    for (let i = 0; i < length; ++i) {
+      const val = convertToNumber(float16bitsArray[i]);
+      array[i] = ReflectApply(callback, thisArg, [val, i, this]);
+    }
+
+    return /** @type {any} */ (array);
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter */
+  filter(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    const kept = [];
+    for (let i = 0; i < length; ++i) {
+      const val = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [val, i, this])) {
+        ArrayPrototypePush(kept, val);
+      }
+    }
+
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+    const array = new Constructor(kept);
+    assertSpeciesTypedArray(array);
+
+    return /** @type {any} */ (array);
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce */
+  reduce(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    if (length === 0 && opts.length === 0) {
+      throw NativeTypeError(REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+    }
+
+    let accumulator, start;
+    if (opts.length === 0) {
+      accumulator = convertToNumber(float16bitsArray[0]);
+      start = 1;
+    } else {
+      accumulator = opts[0];
+      start = 0;
+    }
+
+    for (let i = start; i < length; ++i) {
+      accumulator = callback(
+        accumulator,
+        convertToNumber(float16bitsArray[i]),
+        i,
+        this
+      );
+    }
+
+    return accumulator;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright */
+  reduceRight(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    if (length === 0 && opts.length === 0) {
+      throw NativeTypeError(REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE);
+    }
+
+    let accumulator, start;
+    if (opts.length === 0) {
+      accumulator = convertToNumber(float16bitsArray[length - 1]);
+      start = length - 2;
+    } else {
+      accumulator = opts[0];
+      start = length - 1;
+    }
+
+    for (let i = start; i >= 0; --i) {
+      accumulator = callback(
+        accumulator,
+        convertToNumber(float16bitsArray[i]),
+        i,
+        this
+      );
+    }
+
+    return accumulator;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach */
+  forEach(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    for (let i = 0; i < length; ++i) {
+      ReflectApply(callback, thisArg, [
+        convertToNumber(float16bitsArray[i]),
+        i,
+        this,
+      ]);
+    }
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.find */
+  find(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    for (let i = 0; i < length; ++i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return value;
+      }
+    }
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex */
+  findIndex(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    for (let i = 0; i < length; ++i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return i;
+      }
+    }
+
+    return -1;
+  }
+
+  /** @see https://tc39.es/proposal-array-find-from-last/index.html#sec-%typedarray%.prototype.findlast */
+  findLast(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    for (let i = length - 1; i >= 0; --i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return value;
+      }
+    }
+  }
+
+  /** @see https://tc39.es/proposal-array-find-from-last/index.html#sec-%typedarray%.prototype.findlastindex */
+  findLastIndex(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    for (let i = length - 1; i >= 0; --i) {
+      const value = convertToNumber(float16bitsArray[i]);
+      if (ReflectApply(callback, thisArg, [value, i, this])) {
+        return i;
+      }
+    }
+
+    return -1;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.every */
+  every(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    for (let i = 0; i < length; ++i) {
+      if (
+        !ReflectApply(callback, thisArg, [
+          convertToNumber(float16bitsArray[i]),
+          i,
+          this,
+        ])
+      ) {
+        return false;
+      }
+    }
+
+    return true;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.some */
+  some(callback, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const thisArg = opts[0];
+
+    for (let i = 0; i < length; ++i) {
+      if (
+        ReflectApply(callback, thisArg, [
+          convertToNumber(float16bitsArray[i]),
+          i,
+          this,
+        ])
+      ) {
+        return true;
+      }
+    }
+
+    return false;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.set */
+  set(input, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const targetOffset = ToIntegerOrInfinity(opts[0]);
+    if (targetOffset < 0) {
+      throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+    }
+
+    if (input == null) {
+      throw NativeTypeError(
+        CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+      );
+    }
+
+    if (isNativeBigIntTypedArray(input)) {
+      throw NativeTypeError(
+        CANNOT_MIX_BIGINT_AND_OTHER_TYPES
+      );
+    }
+
+    // for optimization
+    if (isFloat16Array(input)) {
+      // peel off Proxy
+      return TypedArrayPrototypeSet(
+        getFloat16BitsArray(this),
+        getFloat16BitsArray(input),
+        targetOffset
+      );
+    }
+
+    if (isNativeTypedArray(input)) {
+      const buffer = TypedArrayPrototypeGetBuffer(input);
+      if (IsDetachedBuffer(buffer)) {
+        throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+      }
+    }
+
+    const targetLength = TypedArrayPrototypeGetLength(float16bitsArray);
+
+    const src = NativeObject(input);
+    const srcLength = ToLength(src.length);
+
+    if (targetOffset === Infinity || srcLength + targetOffset > targetLength) {
+      throw NativeRangeError(OFFSET_IS_OUT_OF_BOUNDS);
+    }
+
+    for (let i = 0; i < srcLength; ++i) {
+      float16bitsArray[i + targetOffset] = roundToFloat16Bits(src[i]);
+    }
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse */
+  reverse() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    TypedArrayPrototypeReverse(float16bitsArray);
+
+    return this;
+  }
+
+  /** @see https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed */
+  toReversed() {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    // don't use SpeciesConstructor
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const cloned = new Float16Array(
+      TypedArrayPrototypeGetBuffer(
+        TypedArrayPrototypeSlice(uint16)
+      )
+    );
+
+    const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+    TypedArrayPrototypeReverse(clonedFloat16bitsArray);
+
+    return cloned;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill */
+  fill(value, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    TypedArrayPrototypeFill(
+      float16bitsArray,
+      roundToFloat16Bits(value),
+      ...safeIfNeeded(opts)
+    );
+
+    return this;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin */
+  copyWithin(target, start, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    TypedArrayPrototypeCopyWithin(float16bitsArray, target, start, ...safeIfNeeded(opts));
+
+    return this;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort */
+  sort(compareFn) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const sortCompare = compareFn !== undefined ? compareFn : defaultCompare;
+    TypedArrayPrototypeSort(float16bitsArray, (x, y) => {
+      return sortCompare(convertToNumber(x), convertToNumber(y));
+    });
+
+    return this;
+  }
+
+  /** @see https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSorted */
+  toSorted(compareFn) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    if (compareFn !== undefined && typeof compareFn !== "function") {
+      throw new NativeTypeError(THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED);
+    }
+    const sortCompare = compareFn !== undefined ? compareFn : defaultCompare;
+
+    // don't use SpeciesConstructor
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const cloned = new Float16Array(
+      TypedArrayPrototypeGetBuffer(
+        TypedArrayPrototypeSlice(uint16)
+      )
+    );
+
+    const clonedFloat16bitsArray = getFloat16BitsArray(cloned);
+    TypedArrayPrototypeSort(clonedFloat16bitsArray, (x, y) => {
+      return sortCompare(convertToNumber(x), convertToNumber(y));
+    });
+
+    return cloned;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice */
+  slice(start, end) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+
+    // for optimization
+    if (Constructor === Float16Array) {
+      const uint16 = new NativeUint16Array(
+        TypedArrayPrototypeGetBuffer(float16bitsArray),
+        TypedArrayPrototypeGetByteOffset(float16bitsArray),
+        TypedArrayPrototypeGetLength(float16bitsArray)
+      );
+      return new Float16Array(
+        TypedArrayPrototypeGetBuffer(
+          TypedArrayPrototypeSlice(uint16, start, end)
+        )
+      );
+    }
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+    const relativeStart = ToIntegerOrInfinity(start);
+    const relativeEnd = end === undefined ? length : ToIntegerOrInfinity(end);
+
+    let k;
+    if (relativeStart === -Infinity) {
+      k = 0;
+    } else if (relativeStart < 0) {
+      k = length + relativeStart > 0 ? length + relativeStart : 0;
+    } else {
+      k = length < relativeStart ? length : relativeStart;
+    }
+
+    let final;
+    if (relativeEnd === -Infinity) {
+      final = 0;
+    } else if (relativeEnd < 0) {
+      final = length + relativeEnd > 0 ? length + relativeEnd : 0;
+    } else {
+      final = length < relativeEnd ? length : relativeEnd;
+    }
+
+    const count = final - k > 0 ? final - k : 0;
+    const array = new Constructor(count);
+    assertSpeciesTypedArray(array, count);
+
+    if (count === 0) {
+      return array;
+    }
+
+    const buffer = TypedArrayPrototypeGetBuffer(float16bitsArray);
+    if (IsDetachedBuffer(buffer)) {
+      throw NativeTypeError(ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER);
+    }
+
+    let n = 0;
+    while (k < final) {
+      array[n] = convertToNumber(float16bitsArray[k]);
+      ++k;
+      ++n;
+    }
+
+    return /** @type {any} */ (array);
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray */
+  subarray(begin, end) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const Constructor = SpeciesConstructor(float16bitsArray, Float16Array);
+
+    const uint16 = new NativeUint16Array(
+      TypedArrayPrototypeGetBuffer(float16bitsArray),
+      TypedArrayPrototypeGetByteOffset(float16bitsArray),
+      TypedArrayPrototypeGetLength(float16bitsArray)
+    );
+    const uint16Subarray = TypedArrayPrototypeSubarray(uint16, begin, end);
+
+    const array = new Constructor(
+      TypedArrayPrototypeGetBuffer(uint16Subarray),
+      TypedArrayPrototypeGetByteOffset(uint16Subarray),
+      TypedArrayPrototypeGetLength(uint16Subarray)
+    );
+    assertSpeciesTypedArray(array);
+
+    return /** @type {any} */ (array);
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof */
+  indexOf(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+
+    let from = ToIntegerOrInfinity(opts[0]);
+    if (from === Infinity) {
+      return -1;
+    }
+
+    if (from < 0) {
+      from += length;
+      if (from < 0) {
+        from = 0;
+      }
+    }
+
+    for (let i = from; i < length; ++i) {
+      if (
+        ObjectHasOwn(float16bitsArray, i) &&
+        convertToNumber(float16bitsArray[i]) === element
+      ) {
+        return i;
+      }
+    }
+
+    return -1;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof */
+  lastIndexOf(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+
+    let from = opts.length >= 1 ? ToIntegerOrInfinity(opts[0]) : length - 1;
+    if (from === -Infinity) {
+      return -1;
+    }
+
+    if (from >= 0) {
+      from = from < length - 1 ? from : length - 1;
+    } else {
+      from += length;
+    }
+
+    for (let i = from; i >= 0; --i) {
+      if (
+        ObjectHasOwn(float16bitsArray, i) &&
+        convertToNumber(float16bitsArray[i]) === element
+      ) {
+        return i;
+      }
+    }
+
+    return -1;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes */
+  includes(element, ...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const length = TypedArrayPrototypeGetLength(float16bitsArray);
+
+    let from = ToIntegerOrInfinity(opts[0]);
+    if (from === Infinity) {
+      return false;
+    }
+
+    if (from < 0) {
+      from += length;
+      if (from < 0) {
+        from = 0;
+      }
+    }
+
+    const isNaN = NumberIsNaN(element);
+    for (let i = from; i < length; ++i) {
+      const value = convertToNumber(float16bitsArray[i]);
+
+      if (isNaN && NumberIsNaN(value)) {
+        return true;
+      }
+
+      if (value === element) {
+        return true;
+      }
+    }
+
+    return false;
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.join */
+  join(separator) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const array = copyToArray(float16bitsArray);
+
+    return ArrayPrototypeJoin(array, separator);
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring */
+  toLocaleString(...opts) {
+    assertFloat16Array(this);
+    const float16bitsArray = getFloat16BitsArray(this);
+
+    const array = copyToArray(float16bitsArray);
+
+    return ArrayPrototypeToLocaleString(array, ...safeIfNeeded(opts));
+  }
+
+  /** @see https://tc39.es/ecma262/#sec-get-%typedarray%.prototype-@@tostringtag */
+  get [SymbolToStringTag]() {
+    if (isFloat16Array(this)) {
+      return /** @type {any} */ ("Float16Array");
+    }
+  }
+}
+
+/** @see https://tc39.es/ecma262/#sec-typedarray.bytes_per_element */
+ObjectDefineProperty(Float16Array, "BYTES_PER_ELEMENT", {
+  value: BYTES_PER_ELEMENT,
+});
+
+// limitation: It is peaked by `Object.getOwnPropertySymbols(Float16Array)` and `Reflect.ownKeys(Float16Array)`
+ObjectDefineProperty(Float16Array, brand, {});
+
+/** @see https://tc39.es/ecma262/#sec-properties-of-the-typedarray-constructors */
+ReflectSetPrototypeOf(Float16Array, TypedArray);
+
+const Float16ArrayPrototype = Float16Array.prototype;
+
+/** @see https://tc39.es/ecma262/#sec-typedarray.prototype.bytes_per_element */
+ObjectDefineProperty(Float16ArrayPrototype, "BYTES_PER_ELEMENT", {
+  value: BYTES_PER_ELEMENT,
+});
+
+/** @see https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator */
+ObjectDefineProperty(Float16ArrayPrototype, SymbolIterator, {
+  value: Float16ArrayPrototype.values,
+  writable: true,
+  configurable: true,
+});
+
+ReflectSetPrototypeOf(Float16ArrayPrototype, TypedArrayPrototype);

+ 88 - 0
node_modules/@petamoriken/float16/src/_util/arrayIterator.mjs

@@ -0,0 +1,88 @@
+import {
+  ArrayIteratorPrototype,
+  ArrayIteratorPrototypeNext,
+  ArrayPrototypeSymbolIterator,
+  GeneratorPrototypeNext,
+  IteratorPrototype,
+  NativeArrayPrototypeSymbolIterator,
+  NativeWeakMap,
+  ObjectCreate,
+  ObjectDefineProperty,
+  ReflectGetOwnPropertyDescriptor,
+  ReflectOwnKeys,
+  SymbolIterator,
+  WeakMapPrototypeGet,
+  WeakMapPrototypeSet,
+} from "./primordials.mjs";
+
+/** @type {WeakMap<{}, IterableIterator<any>>} */
+const arrayIterators = new NativeWeakMap();
+
+const SafeIteratorPrototype = ObjectCreate(null, {
+  next: {
+    value: function next() {
+      const arrayIterator = WeakMapPrototypeGet(arrayIterators, this);
+      return ArrayIteratorPrototypeNext(arrayIterator);
+    },
+  },
+
+  [SymbolIterator]: {
+    value: function values() {
+      return this;
+    },
+  },
+});
+
+/**
+ * Wrap the Array around the SafeIterator If Array.prototype [@@iterator] has been modified
+ *
+ * @type {<T>(array: T[]) => Iterable<T>}
+ */
+export function safeIfNeeded(array) {
+  if (
+    array[SymbolIterator] === NativeArrayPrototypeSymbolIterator &&
+    ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+  ) {
+    return array;
+  }
+
+  const safe = ObjectCreate(SafeIteratorPrototype);
+  WeakMapPrototypeSet(arrayIterators, safe, ArrayPrototypeSymbolIterator(array));
+  return safe;
+}
+
+/** @type {WeakMap<{}, Generator<any>>} */
+const generators = new NativeWeakMap();
+
+/** @see https://tc39.es/ecma262/#sec-%arrayiteratorprototype%-object */
+const DummyArrayIteratorPrototype = ObjectCreate(IteratorPrototype, {
+  next: {
+    value: function next() {
+      const generator = WeakMapPrototypeGet(generators, this);
+      return GeneratorPrototypeNext(generator);
+    },
+    writable: true,
+    configurable: true,
+  },
+});
+
+for (const key of ReflectOwnKeys(ArrayIteratorPrototype)) {
+  // next method has already defined
+  if (key === "next") {
+    continue;
+  }
+
+  // Copy ArrayIteratorPrototype descriptors to DummyArrayIteratorPrototype
+  ObjectDefineProperty(DummyArrayIteratorPrototype, key, ReflectGetOwnPropertyDescriptor(ArrayIteratorPrototype, key));
+}
+
+/**
+ * Wrap the Generator around the dummy ArrayIterator
+ *
+ * @type {<T>(generator: Generator<T>) => IterableIterator<T>}
+ */
+export function wrap(generator) {
+  const dummy = ObjectCreate(DummyArrayIteratorPrototype);
+  WeakMapPrototypeSet(generators, dummy, generator);
+  return dummy;
+}

+ 31 - 0
node_modules/@petamoriken/float16/src/_util/brand.mjs

@@ -0,0 +1,31 @@
+import { isObject, isObjectLike } from "./is.mjs";
+import { THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT } from "./messages.mjs";
+import { NativeTypeError, ReflectGetPrototypeOf, ReflectHas, SymbolFor } from "./primordials.mjs";
+
+export const brand = SymbolFor("__Float16Array__");
+
+/**
+ * @param {unknown} target
+ * @throws {TypeError}
+ * @returns {boolean}
+ */
+export function hasFloat16ArrayBrand(target) {
+  if (!isObjectLike(target)) {
+    return false;
+  }
+
+  const prototype = ReflectGetPrototypeOf(target);
+  if (!isObjectLike(prototype)) {
+    return false;
+  }
+
+  const constructor = prototype.constructor;
+  if (constructor === undefined) {
+    return false;
+  }
+  if (!isObject(constructor)) {
+    throw NativeTypeError(THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+  }
+
+  return ReflectHas(constructor, brand);
+}

+ 118 - 0
node_modules/@petamoriken/float16/src/_util/converter.mjs

@@ -0,0 +1,118 @@
+// algorithm: http://fox-toolkit.org/ftp/fasthalffloatconversion.pdf
+
+import {
+  NativeArrayBuffer,
+  NativeFloat32Array,
+  NativeUint32Array,
+} from "./primordials.mjs";
+
+const buffer = new NativeArrayBuffer(4);
+const floatView = new NativeFloat32Array(buffer);
+const uint32View = new NativeUint32Array(buffer);
+
+const baseTable = new NativeUint32Array(512);
+const shiftTable = new NativeUint32Array(512);
+
+for (let i = 0; i < 256; ++i) {
+  const e = i - 127;
+
+  // very small number (0, -0)
+  if (e < -27) {
+    baseTable[i]         = 0x0000;
+    baseTable[i | 0x100] = 0x8000;
+    shiftTable[i]         = 24;
+    shiftTable[i | 0x100] = 24;
+
+  // small number (denorm)
+  } else if (e < -14) {
+    baseTable[i]         =  0x0400 >> (-e - 14);
+    baseTable[i | 0x100] = (0x0400 >> (-e - 14)) | 0x8000;
+    shiftTable[i]         = -e - 1;
+    shiftTable[i | 0x100] = -e - 1;
+
+  // normal number
+  } else if (e <= 15) {
+    baseTable[i]         =  (e + 15) << 10;
+    baseTable[i | 0x100] = ((e + 15) << 10) | 0x8000;
+    shiftTable[i]         = 13;
+    shiftTable[i | 0x100] = 13;
+
+  // large number (Infinity, -Infinity)
+  } else if (e < 128) {
+    baseTable[i]         = 0x7c00;
+    baseTable[i | 0x100] = 0xfc00;
+    shiftTable[i]         = 24;
+    shiftTable[i | 0x100] = 24;
+
+  // stay (NaN, Infinity, -Infinity)
+  } else {
+    baseTable[i]         = 0x7c00;
+    baseTable[i | 0x100] = 0xfc00;
+    shiftTable[i]         = 13;
+    shiftTable[i | 0x100] = 13;
+  }
+}
+
+/**
+ * round a number to a half float number bits
+ *
+ * @param {unknown} num - double float
+ * @returns {number} half float number bits
+ */
+export function roundToFloat16Bits(num) {
+  floatView[0] = /** @type {any} */ (num);
+  const f = uint32View[0];
+  const e = (f >> 23) & 0x1ff;
+  return baseTable[e] + ((f & 0x007fffff) >> shiftTable[e]);
+}
+
+const mantissaTable = new NativeUint32Array(2048);
+const exponentTable = new NativeUint32Array(64);
+const offsetTable = new NativeUint32Array(64);
+
+for (let i = 1; i < 1024; ++i) {
+  let m = i << 13;    // zero pad mantissa bits
+  let e = 0;          // zero exponent
+
+  // normalized
+  while((m & 0x00800000) === 0) {
+    m <<= 1;
+    e -= 0x00800000;  // decrement exponent
+  }
+
+  m &= ~0x00800000;   // clear leading 1 bit
+  e += 0x38800000;    // adjust bias
+
+  mantissaTable[i] = m | e;
+}
+for (let i = 1024; i < 2048; ++i) {
+  mantissaTable[i] = 0x38000000 + ((i - 1024) << 13);
+}
+
+for (let i = 1; i < 31; ++i) {
+  exponentTable[i] = i << 23;
+}
+exponentTable[31] = 0x47800000;
+exponentTable[32] = 0x80000000;
+for (let i = 33; i < 63; ++i) {
+  exponentTable[i] = 0x80000000 + ((i - 32) << 23);
+}
+exponentTable[63] = 0xc7800000;
+
+for (let i = 1; i < 64; ++i) {
+  if (i !== 32) {
+    offsetTable[i] = 1024;
+  }
+}
+
+/**
+ * convert a half float number bits to a number
+ *
+ * @param {number} float16bits - half float number bits
+ * @returns {number} double float
+ */
+export function convertToNumber(float16bits) {
+  const m = float16bits >> 10;
+  uint32View[0] = mantissaTable[offsetTable[m] + (float16bits & 0x3ff)] + exponentTable[m];
+  return floatView[0];
+}

+ 139 - 0
node_modules/@petamoriken/float16/src/_util/is.mjs

@@ -0,0 +1,139 @@
+import {
+  ArrayBufferPrototypeGetByteLength,
+  ArrayIsArray,
+  ArrayIteratorPrototype,
+  ArrayIteratorPrototypeNext,
+  MathTrunc,
+  NativeArrayPrototypeSymbolIterator,
+  NativeSharedArrayBuffer,
+  NativeTypedArrayPrototypeSymbolIterator,
+  NumberIsFinite,
+  SharedArrayBufferPrototypeGetByteLength,
+  SymbolIterator,
+  TypedArrayPrototypeGetSymbolToStringTag,
+} from "./primordials.mjs";
+
+/**
+ * @param {unknown} value
+ * @returns {value is {}}
+ */
+export function isObject(value) {
+  return (
+    (value !== null && typeof value === "object") ||
+    typeof value === "function"
+  );
+}
+
+/**
+ * @param {unknown} value
+ * @returns {value is {}}
+ */
+export function isObjectLike(value) {
+  return value !== null && typeof value === "object";
+}
+
+// Inspired by util.types implementation of Node.js
+/** @typedef {Uint8Array|Uint8ClampedArray|Uint16Array|Uint32Array|Int8Array|Int16Array|Int32Array|Float32Array|Float64Array|BigUint64Array|BigInt64Array} TypedArray */
+
+/**
+ * @param {unknown} value
+ * @returns {value is TypedArray}
+ */
+export function isNativeTypedArray(value) {
+  return TypedArrayPrototypeGetSymbolToStringTag(value) !== undefined;
+}
+
+/**
+ * @param {unknown} value
+ * @returns {value is BigInt64Array|BigUint64Array}
+ */
+export function isNativeBigIntTypedArray(value) {
+  const typedArrayName = TypedArrayPrototypeGetSymbolToStringTag(value);
+  return (
+    typedArrayName === "BigInt64Array" ||
+    typedArrayName === "BigUint64Array"
+  );
+}
+
+/**
+ * @param {unknown} value
+ * @returns {value is ArrayBuffer}
+ */
+export function isArrayBuffer(value) {
+  try {
+    ArrayBufferPrototypeGetByteLength(/** @type {any} */ (value));
+    return true;
+  } catch (e) {
+    return false;
+  }
+}
+
+/**
+ * @param {unknown} value
+ * @returns {value is SharedArrayBuffer}
+ */
+export function isSharedArrayBuffer(value) {
+  if (NativeSharedArrayBuffer === null) {
+    return false;
+  }
+
+  try {
+    SharedArrayBufferPrototypeGetByteLength(/** @type {any} */ (value));
+    return true;
+  } catch (e) {
+    return false;
+  }
+}
+
+/**
+ * @param {unknown} value
+ * @returns {value is unknown[]}
+ */
+export function isOrdinaryArray(value) {
+  if (!ArrayIsArray(value)) {
+    return false;
+  }
+
+  // Verify that there are no changes in ArrayIterator
+  return (
+    value[SymbolIterator] === NativeArrayPrototypeSymbolIterator &&
+    ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+  );
+}
+
+/**
+ * @param {unknown} value
+ * @returns {value is TypedArray}
+ */
+export function isOrdinaryNativeTypedArray(value) {
+  if (!isNativeTypedArray(value)) {
+    return false;
+  }
+
+  // Verify that there are no changes in ArrayIterator
+  return (
+    value[SymbolIterator] === NativeTypedArrayPrototypeSymbolIterator &&
+    ArrayIteratorPrototype.next === ArrayIteratorPrototypeNext
+  );
+}
+
+/**
+ * @param {unknown} value
+ * @returns {value is string}
+ */
+export function isCanonicalIntegerIndexString(value) {
+  if (typeof value !== "string") {
+    return false;
+  }
+
+  const number = +value;
+  if (value !== number + "") {
+    return false;
+  }
+
+  if (!NumberIsFinite(number)) {
+    return false;
+  }
+
+  return number === MathTrunc(number);
+}

+ 22 - 0
node_modules/@petamoriken/float16/src/_util/messages.mjs

@@ -0,0 +1,22 @@
+export const THIS_IS_NOT_AN_OBJECT = "This is not an object";
+export const THIS_IS_NOT_A_FLOAT16ARRAY_OBJECT = "This is not a Float16Array object";
+export const THIS_CONSTRUCTOR_IS_NOT_A_SUBCLASS_OF_FLOAT16ARRAY =
+  "This constructor is not a subclass of Float16Array";
+export const THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT =
+  "The constructor property value is not an object";
+export const SPECIES_CONSTRUCTOR_DIDNT_RETURN_TYPEDARRAY_OBJECT =
+  "Species constructor didn't return TypedArray object";
+export const DERIVED_CONSTRUCTOR_CREATED_TYPEDARRAY_OBJECT_WHICH_WAS_TOO_SMALL_LENGTH =
+  "Derived constructor created TypedArray object which was too small length";
+export const ATTEMPTING_TO_ACCESS_DETACHED_ARRAYBUFFER =
+  "Attempting to access detached ArrayBuffer";
+export const CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT =
+  "Cannot convert undefined or null to object";
+export const CANNOT_MIX_BIGINT_AND_OTHER_TYPES =
+  "Cannot mix BigInt and other types, use explicit conversions";
+export const ITERATOR_PROPERTY_IS_NOT_CALLABLE = "@@iterator property is not callable";
+export const REDUCE_OF_EMPTY_ARRAY_WITH_NO_INITIAL_VALUE =
+  "Reduce of empty array with no initial value";
+export const THE_COMPARISON_FUNCTION_MUST_BE_EITHER_A_FUNCTION_OR_UNDEFINED =
+  "The comparison function must be either a function or undefined";
+export const OFFSET_IS_OUT_OF_BOUNDS = "Offset is out of bounds";

+ 249 - 0
node_modules/@petamoriken/float16/src/_util/primordials.mjs

@@ -0,0 +1,249 @@
+/* eslint-disable no-restricted-globals, no-restricted-syntax */
+/* global SharedArrayBuffer */
+
+import { CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT } from "./messages.mjs";
+
+/** @type {<T extends (...args: any) => any>(target: T) => (thisArg: ThisType<T>, ...args: any[]) => any} */
+function uncurryThis(target) {
+  return (thisArg, ...args) => {
+    return ReflectApply(target, thisArg, args);
+  };
+}
+
+/** @type {(target: any, key: string | symbol) => (thisArg: any, ...args: any[]) => any} */
+function uncurryThisGetter(target, key) {
+  return uncurryThis(
+    ReflectGetOwnPropertyDescriptor(
+      target,
+      key
+    ).get
+  );
+}
+
+// Reflect
+export const {
+  apply: ReflectApply,
+  construct: ReflectConstruct,
+  defineProperty: ReflectDefineProperty,
+  get: ReflectGet,
+  getOwnPropertyDescriptor: ReflectGetOwnPropertyDescriptor,
+  getPrototypeOf: ReflectGetPrototypeOf,
+  has: ReflectHas,
+  ownKeys: ReflectOwnKeys,
+  set: ReflectSet,
+  setPrototypeOf: ReflectSetPrototypeOf,
+} = Reflect;
+
+// Proxy
+export const NativeProxy = Proxy;
+
+// Number
+export const {
+  MAX_SAFE_INTEGER,
+  isFinite: NumberIsFinite,
+  isNaN: NumberIsNaN,
+} = Number;
+
+// Symbol
+export const {
+  iterator: SymbolIterator,
+  species: SymbolSpecies,
+  toStringTag: SymbolToStringTag,
+  for: SymbolFor,
+} = Symbol;
+
+// Object
+export const NativeObject = Object;
+export const {
+  create: ObjectCreate,
+  defineProperty: ObjectDefineProperty,
+  freeze: ObjectFreeze,
+  is: ObjectIs,
+} = NativeObject;
+const ObjectPrototype = NativeObject.prototype;
+/** @type {(object: object, key: PropertyKey) => Function | undefined} */
+export const ObjectPrototype__lookupGetter__ = /** @type {any} */ (ObjectPrototype).__lookupGetter__
+  ? uncurryThis(/** @type {any} */ (ObjectPrototype).__lookupGetter__)
+  : (object, key) => {
+    if (object == null) {
+      throw NativeTypeError(
+        CANNOT_CONVERT_UNDEFINED_OR_NULL_TO_OBJECT
+      );
+    }
+
+    let target = NativeObject(object);
+    do {
+      const descriptor = ReflectGetOwnPropertyDescriptor(target, key);
+      if (descriptor !== undefined) {
+        if (ObjectHasOwn(descriptor, "get")) {
+          return descriptor.get;
+        }
+
+        return;
+      }
+    } while ((target = ReflectGetPrototypeOf(target)) !== null);
+  };
+/** @type {(object: object, key: PropertyKey) => boolean} */
+export const ObjectHasOwn = /** @type {any} */ (NativeObject).hasOwn ||
+  uncurryThis(ObjectPrototype.hasOwnProperty);
+
+// Array
+const NativeArray = Array;
+export const ArrayIsArray = NativeArray.isArray;
+const ArrayPrototype = NativeArray.prototype;
+/** @type {(array: ArrayLike<unknown>, separator?: string) => string} */
+export const ArrayPrototypeJoin = uncurryThis(ArrayPrototype.join);
+/** @type {<T>(array: T[], ...items: T[]) => number} */
+export const ArrayPrototypePush = uncurryThis(ArrayPrototype.push);
+/** @type {(array: ArrayLike<unknown>, ...opts: any[]) => string} */
+export const ArrayPrototypeToLocaleString = uncurryThis(
+  ArrayPrototype.toLocaleString
+);
+export const NativeArrayPrototypeSymbolIterator = ArrayPrototype[SymbolIterator];
+/** @type {<T>(array: T[]) => IterableIterator<T>} */
+export const ArrayPrototypeSymbolIterator = uncurryThis(NativeArrayPrototypeSymbolIterator);
+
+// Math
+export const MathTrunc = Math.trunc;
+
+// ArrayBuffer
+export const NativeArrayBuffer = ArrayBuffer;
+export const ArrayBufferIsView = NativeArrayBuffer.isView;
+const ArrayBufferPrototype = NativeArrayBuffer.prototype;
+/** @type {(buffer: ArrayBuffer, begin?: number, end?: number) => number} */
+export const ArrayBufferPrototypeSlice = uncurryThis(ArrayBufferPrototype.slice);
+/** @type {(buffer: ArrayBuffer) => ArrayBuffer} */
+export const ArrayBufferPrototypeGetByteLength = uncurryThisGetter(ArrayBufferPrototype, "byteLength");
+
+// SharedArrayBuffer
+export const NativeSharedArrayBuffer = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : null;
+/** @type {(buffer: SharedArrayBuffer) => SharedArrayBuffer} */
+export const SharedArrayBufferPrototypeGetByteLength = NativeSharedArrayBuffer
+  && uncurryThisGetter(NativeSharedArrayBuffer.prototype, "byteLength");
+
+// TypedArray
+/** @typedef {Uint8Array|Uint8ClampedArray|Uint16Array|Uint32Array|Int8Array|Int16Array|Int32Array|Float32Array|Float64Array|BigUint64Array|BigInt64Array} TypedArray */
+/** @type {any} */
+export const TypedArray = ReflectGetPrototypeOf(Uint8Array);
+const TypedArrayFrom = TypedArray.from;
+export const TypedArrayPrototype = TypedArray.prototype;
+export const NativeTypedArrayPrototypeSymbolIterator = TypedArrayPrototype[SymbolIterator];
+/** @type {(typedArray: TypedArray) => IterableIterator<number>} */
+export const TypedArrayPrototypeKeys = uncurryThis(TypedArrayPrototype.keys);
+/** @type {(typedArray: TypedArray) => IterableIterator<number>} */
+export const TypedArrayPrototypeValues = uncurryThis(
+  TypedArrayPrototype.values
+);
+/** @type {(typedArray: TypedArray) => IterableIterator<[number, number]>} */
+export const TypedArrayPrototypeEntries = uncurryThis(
+  TypedArrayPrototype.entries
+);
+/** @type {(typedArray: TypedArray, array: ArrayLike<number>, offset?: number) => void} */
+export const TypedArrayPrototypeSet = uncurryThis(TypedArrayPrototype.set);
+/** @type {<T extends TypedArray>(typedArray: T) => T} */
+export const TypedArrayPrototypeReverse = uncurryThis(
+  TypedArrayPrototype.reverse
+);
+/** @type {<T extends TypedArray>(typedArray: T, value: number, start?: number, end?: number) => T} */
+export const TypedArrayPrototypeFill = uncurryThis(TypedArrayPrototype.fill);
+/** @type {<T extends TypedArray>(typedArray: T, target: number, start: number, end?: number) => T} */
+export const TypedArrayPrototypeCopyWithin = uncurryThis(
+  TypedArrayPrototype.copyWithin
+);
+/** @type {<T extends TypedArray>(typedArray: T, compareFn?: (a: number, b: number) => number) => T} */
+export const TypedArrayPrototypeSort = uncurryThis(TypedArrayPrototype.sort);
+/** @type {<T extends TypedArray>(typedArray: T, start?: number, end?: number) => T} */
+export const TypedArrayPrototypeSlice = uncurryThis(TypedArrayPrototype.slice);
+/** @type {<T extends TypedArray>(typedArray: T, start?: number, end?: number) => T} */
+export const TypedArrayPrototypeSubarray = uncurryThis(
+  TypedArrayPrototype.subarray
+);
+/** @type {((typedArray: TypedArray) => ArrayBuffer)} */
+export const TypedArrayPrototypeGetBuffer = uncurryThisGetter(
+  TypedArrayPrototype,
+  "buffer"
+);
+/** @type {((typedArray: TypedArray) => number)} */
+export const TypedArrayPrototypeGetByteOffset = uncurryThisGetter(
+  TypedArrayPrototype,
+  "byteOffset"
+);
+/** @type {((typedArray: TypedArray) => number)} */
+export const TypedArrayPrototypeGetLength = uncurryThisGetter(
+  TypedArrayPrototype,
+  "length"
+);
+/** @type {(target: unknown) => string} */
+export const TypedArrayPrototypeGetSymbolToStringTag = uncurryThisGetter(
+  TypedArrayPrototype,
+  SymbolToStringTag
+);
+
+// Uint16Array
+export const NativeUint16Array = Uint16Array;
+/** @type {Uint16ArrayConstructor["from"]} */
+export const Uint16ArrayFrom = (...args) => {
+  return ReflectApply(TypedArrayFrom, NativeUint16Array, args);
+};
+
+// Uint32Array
+export const NativeUint32Array = Uint32Array;
+
+// Float32Array
+export const NativeFloat32Array = Float32Array;
+
+// ArrayIterator
+/** @type {any} */
+export const ArrayIteratorPrototype = ReflectGetPrototypeOf([][SymbolIterator]());
+/** @type {<T>(arrayIterator: IterableIterator<T>) => IteratorResult<T>} */
+export const ArrayIteratorPrototypeNext = uncurryThis(ArrayIteratorPrototype.next);
+
+// Generator
+/** @type {<T = unknown, TReturn = any, TNext = unknown>(generator: Generator<T, TReturn, TNext>, value?: TNext) => T} */
+export const GeneratorPrototypeNext = uncurryThis((function* () {})().next);
+
+// Iterator
+export const IteratorPrototype = ReflectGetPrototypeOf(ArrayIteratorPrototype);
+
+// DataView
+const DataViewPrototype = DataView.prototype;
+/** @type {(dataView: DataView, byteOffset: number, littleEndian?: boolean) => number} */
+export const DataViewPrototypeGetUint16 = uncurryThis(
+  DataViewPrototype.getUint16
+);
+/** @type {(dataView: DataView, byteOffset: number, value: number, littleEndian?: boolean) => void} */
+export const DataViewPrototypeSetUint16 = uncurryThis(
+  DataViewPrototype.setUint16
+);
+
+// Error
+export const NativeTypeError = TypeError;
+export const NativeRangeError = RangeError;
+
+// WeakSet
+/**
+ * Do not construct with arguments to avoid calling the "add" method
+ *
+ * @type {{new <T extends {}>(): WeakSet<T>}}
+ */
+export const NativeWeakSet = WeakSet;
+const WeakSetPrototype = NativeWeakSet.prototype;
+/** @type {<T extends {}>(set: WeakSet<T>, value: T) => Set<T>} */
+export const WeakSetPrototypeAdd = uncurryThis(WeakSetPrototype.add);
+/** @type {<T extends {}>(set: WeakSet<T>, value: T) => boolean} */
+export const WeakSetPrototypeHas = uncurryThis(WeakSetPrototype.has);
+
+// WeakMap
+/**
+ * Do not construct with arguments to avoid calling the "set" method
+ *
+ * @type {{new <K extends {}, V>(): WeakMap<K, V>}}
+ */
+export const NativeWeakMap = WeakMap;
+const WeakMapPrototype = NativeWeakMap.prototype;
+/** @type {<K extends {}, V>(weakMap: WeakMap<K, V>, key: K) => V} */
+export const WeakMapPrototypeGet = uncurryThis(WeakMapPrototype.get);
+/** @type {<K extends {}, V>(weakMap: WeakMap<K, V>, key: K) => boolean} */
+export const WeakMapPrototypeHas = uncurryThis(WeakMapPrototype.has);
+/** @type {<K extends {}, V>(weakMap: WeakMap<K, V>, key: K, value: V) => WeakMap} */
+export const WeakMapPrototypeSet = uncurryThis(WeakMapPrototype.set);

+ 138 - 0
node_modules/@petamoriken/float16/src/_util/spec.mjs

@@ -0,0 +1,138 @@
+import { isObject, isSharedArrayBuffer } from "./is.mjs";
+import {
+  THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT,
+  THIS_IS_NOT_AN_OBJECT,
+} from "./messages.mjs";
+import {
+  ArrayBufferPrototypeSlice,
+  MAX_SAFE_INTEGER,
+  MathTrunc,
+  NativeTypeError,
+  NumberIsNaN,
+  ObjectIs,
+  SymbolSpecies,
+} from "./primordials.mjs";
+
+/**
+ * @see https://tc39.es/ecma262/#sec-tointegerorinfinity
+ * @param {unknown} target
+ * @returns {number}
+ */
+export function ToIntegerOrInfinity(target) {
+  const number = +target;
+
+  if (NumberIsNaN(number) || number === 0) {
+    return 0;
+  }
+
+  return MathTrunc(number);
+}
+
+/**
+ * @see https://tc39.es/ecma262/#sec-tolength
+ * @param {unknown} target
+ * @returns {number}
+ */
+export function ToLength(target) {
+  const length = ToIntegerOrInfinity(target);
+  if (length < 0) {
+    return 0;
+  }
+
+  return length < MAX_SAFE_INTEGER
+    ? length
+    : MAX_SAFE_INTEGER;
+}
+
+/**
+ * @see https://tc39.es/ecma262/#sec-speciesconstructor
+ * @param {object} target
+ * @param {{ new(...args: any[]): any; }} defaultConstructor
+ * @returns {{ new(...args: any[]): any; }}
+ */
+export function SpeciesConstructor(target, defaultConstructor) {
+  if (!isObject(target)) {
+    throw NativeTypeError(THIS_IS_NOT_AN_OBJECT);
+  }
+
+  const constructor = target.constructor;
+  if (constructor === undefined) {
+    return defaultConstructor;
+  }
+  if (!isObject(constructor)) {
+    throw NativeTypeError(THE_CONSTRUCTOR_PROPERTY_VALUE_IS_NOT_AN_OBJECT);
+  }
+
+  const species = constructor[SymbolSpecies];
+  if (species == null) {
+    return defaultConstructor;
+  }
+
+  return species;
+}
+
+/**
+ * @see https://tc39.es/ecma262/#sec-isdetachedbuffer
+ * @param {ArrayBufferLike} buffer
+ * @returns {boolean}
+ */
+export function IsDetachedBuffer(buffer) {
+  if (isSharedArrayBuffer(buffer)) {
+    return false;
+  }
+
+  try {
+    ArrayBufferPrototypeSlice(buffer, 0, 0);
+    return false;
+  } catch (e) {/* empty */}
+
+  return true;
+}
+
+/**
+ * bigint comparisons are not supported
+ *
+ * @see https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort
+ * @param {number} x
+ * @param {number} y
+ * @returns {-1 | 0 | 1}
+ */
+export function defaultCompare(x, y) {
+  const isXNaN = NumberIsNaN(x);
+  const isYNaN = NumberIsNaN(y);
+
+  if (isXNaN && isYNaN) {
+    return 0;
+  }
+
+  if (isXNaN) {
+    return 1;
+  }
+
+  if (isYNaN) {
+    return -1;
+  }
+
+  if (x < y) {
+    return -1;
+  }
+
+  if (x > y) {
+    return 1;
+  }
+
+  if (x === 0 && y === 0) {
+    const isXPlusZero = ObjectIs(x, 0);
+    const isYPlusZero = ObjectIs(y, 0);
+
+    if (!isXPlusZero && isYPlusZero) {
+      return -1;
+    }
+
+    if (isXPlusZero && !isYPlusZero) {
+      return 1;
+    }
+  }
+
+  return 0;
+}

+ 20 - 0
node_modules/@petamoriken/float16/src/f16round.mjs

@@ -0,0 +1,20 @@
+import { convertToNumber, roundToFloat16Bits } from "./_util/converter.mjs";
+import { NumberIsFinite } from "./_util/primordials.mjs";
+
+/**
+ * returns the nearest half-precision float representation of a number
+ *
+ * @param {number} x
+ * @returns {number}
+ */
+export function f16round(x) {
+  const number = +x;
+
+  // for optimization
+  if (!NumberIsFinite(number) || number === 0) {
+    return number;
+  }
+
+  const x16 = roundToFloat16Bits(number);
+  return convertToNumber(x16);
+}

+ 6 - 0
node_modules/@petamoriken/float16/src/index.mjs

@@ -0,0 +1,6 @@
+/* ignore unused exports */
+
+export { Float16Array, isFloat16Array } from "./Float16Array.mjs";
+export { isTypedArray } from "./isTypedArray.mjs";
+export { getFloat16, setFloat16 } from "./DataView.mjs";
+export { f16round, f16round as hfround } from "./f16round.mjs";

+ 10 - 0
node_modules/@petamoriken/float16/src/isTypedArray.mjs

@@ -0,0 +1,10 @@
+import { isFloat16Array } from "./Float16Array.mjs";
+import { isNativeTypedArray } from "./_util/is.mjs";
+
+/**
+ * @param {unknown} target
+ * @returns {value is Uint8Array|Uint8ClampedArray|Uint16Array|Uint32Array|Int8Array|Int16Array|Int32Array|Float16Array|Float32Array|Float64Array|BigUint64Array|BigInt64Array}
+ */
+export function isTypedArray(target) {
+  return isNativeTypedArray(target) || isFloat16Array(target);
+}

+ 26 - 0
node_modules/@protobufjs/aspromise/LICENSE

@@ -0,0 +1,26 @@
+Copyright (c) 2016, Daniel Wirtz  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of its author, nor the names of its contributors
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 13 - 0
node_modules/@protobufjs/aspromise/README.md

@@ -0,0 +1,13 @@
+@protobufjs/aspromise
+=====================
+[![npm](https://img.shields.io/npm/v/@protobufjs/aspromise.svg)](https://www.npmjs.com/package/@protobufjs/aspromise)
+
+Returns a promise from a node-style callback function.
+
+API
+---
+
+* **asPromise(fn: `function`, ctx: `Object`, ...params: `*`): `Promise<*>`**<br />
+  Returns a promise from a node-style callback function.
+
+**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

+ 13 - 0
node_modules/@protobufjs/aspromise/index.d.ts

@@ -0,0 +1,13 @@
+export = asPromise;
+
+type asPromiseCallback = (error: Error | null, ...params: any[]) => {};
+
+/**
+ * Returns a promise from a node-style callback function.
+ * @memberof util
+ * @param {asPromiseCallback} fn Function to call
+ * @param {*} ctx Function context
+ * @param {...*} params Function arguments
+ * @returns {Promise<*>} Promisified function
+ */
+declare function asPromise(fn: asPromiseCallback, ctx: any, ...params: any[]): Promise<any>;

+ 52 - 0
node_modules/@protobufjs/aspromise/index.js

@@ -0,0 +1,52 @@
+"use strict";
+module.exports = asPromise;
+
+/**
+ * Callback as used by {@link util.asPromise}.
+ * @typedef asPromiseCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {...*} params Additional arguments
+ * @returns {undefined}
+ */
+
+/**
+ * Returns a promise from a node-style callback function.
+ * @memberof util
+ * @param {asPromiseCallback} fn Function to call
+ * @param {*} ctx Function context
+ * @param {...*} params Function arguments
+ * @returns {Promise<*>} Promisified function
+ */
+function asPromise(fn, ctx/*, varargs */) {
+    var params  = new Array(arguments.length - 1),
+        offset  = 0,
+        index   = 2,
+        pending = true;
+    while (index < arguments.length)
+        params[offset++] = arguments[index++];
+    return new Promise(function executor(resolve, reject) {
+        params[offset] = function callback(err/*, varargs */) {
+            if (pending) {
+                pending = false;
+                if (err)
+                    reject(err);
+                else {
+                    var params = new Array(arguments.length - 1),
+                        offset = 0;
+                    while (offset < params.length)
+                        params[offset++] = arguments[offset];
+                    resolve.apply(null, params);
+                }
+            }
+        };
+        try {
+            fn.apply(ctx || null, params);
+        } catch (err) {
+            if (pending) {
+                pending = false;
+                reject(err);
+            }
+        }
+    });
+}

+ 21 - 0
node_modules/@protobufjs/aspromise/package.json

@@ -0,0 +1,21 @@
+{
+  "name": "@protobufjs/aspromise",
+  "description": "Returns a promise from a node-style callback function.",
+  "version": "1.1.2",
+  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/dcodeIO/protobuf.js.git"
+  },
+  "license": "BSD-3-Clause",
+  "main": "index.js",
+  "types": "index.d.ts",
+  "devDependencies": {
+    "istanbul": "^0.4.5",
+    "tape": "^4.6.3"
+  },
+  "scripts": {
+    "test": "tape tests/*.js",
+    "coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js"
+  }
+}

+ 130 - 0
node_modules/@protobufjs/aspromise/tests/index.js

@@ -0,0 +1,130 @@
+var tape = require("tape");
+
+var asPromise = require("..");
+
+tape.test("aspromise", function(test) {
+
+    test.test(this.name + " - resolve", function(test) {
+
+        function fn(arg1, arg2, callback) {
+            test.equal(this, ctx, "function should be called with this = ctx");
+            test.equal(arg1, 1, "function should be called with arg1 = 1");
+            test.equal(arg2, 2, "function should be called with arg2 = 2");
+            callback(null, arg2);
+        }
+
+        var ctx = {};
+
+        var promise = asPromise(fn, ctx, 1, 2);
+        promise.then(function(arg2) {
+            test.equal(arg2, 2, "promise should be resolved with arg2 = 2");
+            test.end();
+        }).catch(function(err) {
+            test.fail("promise should not be rejected (" + err + ")");
+        });
+    });
+
+    test.test(this.name + " - reject", function(test) {
+
+        function fn(arg1, arg2, callback) {
+            test.equal(this, ctx, "function should be called with this = ctx");
+            test.equal(arg1, 1, "function should be called with arg1 = 1");
+            test.equal(arg2, 2, "function should be called with arg2 = 2");
+            callback(arg1);
+        }
+
+        var ctx = {};
+
+        var promise = asPromise(fn, ctx, 1, 2);
+        promise.then(function() {
+            test.fail("promise should not be resolved");
+        }).catch(function(err) {
+            test.equal(err, 1, "promise should be rejected with err = 1");
+            test.end();
+        });
+    });
+
+    test.test(this.name + " - resolve twice", function(test) {
+
+        function fn(arg1, arg2, callback) {
+            test.equal(this, ctx, "function should be called with this = ctx");
+            test.equal(arg1, 1, "function should be called with arg1 = 1");
+            test.equal(arg2, 2, "function should be called with arg2 = 2");
+            callback(null, arg2);
+            callback(null, arg1);
+        }
+
+        var ctx = {};
+        var count = 0;
+
+        var promise = asPromise(fn, ctx, 1, 2);
+        promise.then(function(arg2) {
+            test.equal(arg2, 2, "promise should be resolved with arg2 = 2");
+            if (++count > 1)
+                test.fail("promise should not be resolved twice");
+            test.end();
+        }).catch(function(err) {
+            test.fail("promise should not be rejected (" + err + ")");
+        });
+    });
+
+    test.test(this.name + " - reject twice", function(test) {
+
+        function fn(arg1, arg2, callback) {
+            test.equal(this, ctx, "function should be called with this = ctx");
+            test.equal(arg1, 1, "function should be called with arg1 = 1");
+            test.equal(arg2, 2, "function should be called with arg2 = 2");
+            callback(arg1);
+            callback(arg2);
+        }
+
+        var ctx = {};
+        var count = 0;
+
+        var promise = asPromise(fn, ctx, 1, 2);
+        promise.then(function() {
+            test.fail("promise should not be resolved");
+        }).catch(function(err) {
+            test.equal(err, 1, "promise should be rejected with err = 1");
+            if (++count > 1)
+                test.fail("promise should not be rejected twice");
+            test.end();
+        });
+    });
+
+    test.test(this.name + " - reject error", function(test) {
+
+        function fn(callback) {
+            test.ok(arguments.length === 1 && typeof callback === "function", "function should be called with just a callback");
+            throw 3;
+        }
+
+        var promise = asPromise(fn, null);
+        promise.then(function() {
+            test.fail("promise should not be resolved");
+        }).catch(function(err) {
+            test.equal(err, 3, "promise should be rejected with err = 3");
+            test.end();
+        });
+    });
+
+    test.test(this.name + " - reject and error", function(test) {
+
+        function fn(callback) {
+            callback(3);
+            throw 4;
+        }
+
+        var count = 0;
+
+        var promise = asPromise(fn, null);
+        promise.then(function() {
+            test.fail("promise should not be resolved");
+        }).catch(function(err) {
+            test.equal(err, 3, "promise should be rejected with err = 3");
+            if (++count > 1)
+                test.fail("promise should not be rejected twice");
+            test.end();
+        });
+    });
+});

+ 26 - 0
node_modules/@protobufjs/base64/LICENSE

@@ -0,0 +1,26 @@
+Copyright (c) 2016, Daniel Wirtz  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of its author, nor the names of its contributors
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 19 - 0
node_modules/@protobufjs/base64/README.md

@@ -0,0 +1,19 @@
+@protobufjs/base64
+==================
+[![npm](https://img.shields.io/npm/v/@protobufjs/base64.svg)](https://www.npmjs.com/package/@protobufjs/base64)
+
+A minimal base64 implementation for number arrays.
+
+API
+---
+
+* **base64.length(string: `string`): `number`**<br />
+  Calculates the byte length of a base64 encoded string.
+
+* **base64.encode(buffer: `Uint8Array`, start: `number`, end: `number`): `string`**<br />
+  Encodes a buffer to a base64 encoded string.
+
+* **base64.decode(string: `string`, buffer: `Uint8Array`, offset: `number`): `number`**<br />
+  Decodes a base64 encoded string to a buffer.
+
+**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

+ 32 - 0
node_modules/@protobufjs/base64/index.d.ts

@@ -0,0 +1,32 @@
+/**
+ * Calculates the byte length of a base64 encoded string.
+ * @param {string} string Base64 encoded string
+ * @returns {number} Byte length
+ */
+export function length(string: string): number;
+
+/**
+ * Encodes a buffer to a base64 encoded string.
+ * @param {Uint8Array} buffer Source buffer
+ * @param {number} start Source start
+ * @param {number} end Source end
+ * @returns {string} Base64 encoded string
+ */
+export function encode(buffer: Uint8Array, start: number, end: number): string;
+
+/**
+ * Decodes a base64 encoded string to a buffer.
+ * @param {string} string Source string
+ * @param {Uint8Array} buffer Destination buffer
+ * @param {number} offset Destination offset
+ * @returns {number} Number of bytes written
+ * @throws {Error} If encoding is invalid
+ */
+export function decode(string: string, buffer: Uint8Array, offset: number): number;
+
+/**
+ * Tests if the specified string appears to be base64 encoded.
+ * @param {string} string String to test
+ * @returns {boolean} `true` if it appears to be base64 encoded, otherwise false
+ */
+export function test(string: string): boolean;

+ 139 - 0
node_modules/@protobufjs/base64/index.js

@@ -0,0 +1,139 @@
+"use strict";
+
+/**
+ * A minimal base64 implementation for number arrays.
+ * @memberof util
+ * @namespace
+ */
+var base64 = exports;
+
+/**
+ * Calculates the byte length of a base64 encoded string.
+ * @param {string} string Base64 encoded string
+ * @returns {number} Byte length
+ */
+base64.length = function length(string) {
+    var p = string.length;
+    if (!p)
+        return 0;
+    var n = 0;
+    while (--p % 4 > 1 && string.charAt(p) === "=")
+        ++n;
+    return Math.ceil(string.length * 3) / 4 - n;
+};
+
+// Base64 encoding table
+var b64 = new Array(64);
+
+// Base64 decoding table
+var s64 = new Array(123);
+
+// 65..90, 97..122, 48..57, 43, 47
+for (var i = 0; i < 64;)
+    s64[b64[i] = i < 26 ? i + 65 : i < 52 ? i + 71 : i < 62 ? i - 4 : i - 59 | 43] = i++;
+
+/**
+ * Encodes a buffer to a base64 encoded string.
+ * @param {Uint8Array} buffer Source buffer
+ * @param {number} start Source start
+ * @param {number} end Source end
+ * @returns {string} Base64 encoded string
+ */
+base64.encode = function encode(buffer, start, end) {
+    var parts = null,
+        chunk = [];
+    var i = 0, // output index
+        j = 0, // goto index
+        t;     // temporary
+    while (start < end) {
+        var b = buffer[start++];
+        switch (j) {
+            case 0:
+                chunk[i++] = b64[b >> 2];
+                t = (b & 3) << 4;
+                j = 1;
+                break;
+            case 1:
+                chunk[i++] = b64[t | b >> 4];
+                t = (b & 15) << 2;
+                j = 2;
+                break;
+            case 2:
+                chunk[i++] = b64[t | b >> 6];
+                chunk[i++] = b64[b & 63];
+                j = 0;
+                break;
+        }
+        if (i > 8191) {
+            (parts || (parts = [])).push(String.fromCharCode.apply(String, chunk));
+            i = 0;
+        }
+    }
+    if (j) {
+        chunk[i++] = b64[t];
+        chunk[i++] = 61;
+        if (j === 1)
+            chunk[i++] = 61;
+    }
+    if (parts) {
+        if (i)
+            parts.push(String.fromCharCode.apply(String, chunk.slice(0, i)));
+        return parts.join("");
+    }
+    return String.fromCharCode.apply(String, chunk.slice(0, i));
+};
+
+var invalidEncoding = "invalid encoding";
+
+/**
+ * Decodes a base64 encoded string to a buffer.
+ * @param {string} string Source string
+ * @param {Uint8Array} buffer Destination buffer
+ * @param {number} offset Destination offset
+ * @returns {number} Number of bytes written
+ * @throws {Error} If encoding is invalid
+ */
+base64.decode = function decode(string, buffer, offset) {
+    var start = offset;
+    var j = 0, // goto index
+        t;     // temporary
+    for (var i = 0; i < string.length;) {
+        var c = string.charCodeAt(i++);
+        if (c === 61 && j > 1)
+            break;
+        if ((c = s64[c]) === undefined)
+            throw Error(invalidEncoding);
+        switch (j) {
+            case 0:
+                t = c;
+                j = 1;
+                break;
+            case 1:
+                buffer[offset++] = t << 2 | (c & 48) >> 4;
+                t = c;
+                j = 2;
+                break;
+            case 2:
+                buffer[offset++] = (t & 15) << 4 | (c & 60) >> 2;
+                t = c;
+                j = 3;
+                break;
+            case 3:
+                buffer[offset++] = (t & 3) << 6 | c;
+                j = 0;
+                break;
+        }
+    }
+    if (j === 1)
+        throw Error(invalidEncoding);
+    return offset - start;
+};
+
+/**
+ * Tests if the specified string appears to be base64 encoded.
+ * @param {string} string String to test
+ * @returns {boolean} `true` if probably base64 encoded, otherwise false
+ */
+base64.test = function test(string) {
+    return /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(string);
+};

+ 21 - 0
node_modules/@protobufjs/base64/package.json

@@ -0,0 +1,21 @@
+{
+  "name": "@protobufjs/base64",
+  "description": "A minimal base64 implementation for number arrays.",
+  "version": "1.1.2",
+  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/dcodeIO/protobuf.js.git"
+  },
+  "license": "BSD-3-Clause",
+  "main": "index.js",
+  "types": "index.d.ts",
+  "devDependencies": {
+    "istanbul": "^0.4.5",
+    "tape": "^4.6.3"
+  },
+  "scripts": {
+    "test": "tape tests/*.js",
+    "coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js"
+  }
+}

+ 46 - 0
node_modules/@protobufjs/base64/tests/index.js

@@ -0,0 +1,46 @@
+var tape = require("tape");
+
+var base64 = require("..");
+
+var strings = {
+    "": "",
+    "a": "YQ==",
+    "ab": "YWI=",
+    "abcdefg": "YWJjZGVmZw==",
+    "abcdefgh": "YWJjZGVmZ2g=",
+    "abcdefghi": "YWJjZGVmZ2hp"
+};
+
+tape.test("base64", function(test) {
+
+    Object.keys(strings).forEach(function(str) {
+        var enc = strings[str];
+
+        test.equal(base64.test(enc), true, "should detect '" + enc + "' to be base64 encoded");
+
+        var len = base64.length(enc);
+        test.equal(len, str.length, "should calculate '" + enc + "' as " + str.length + " bytes");
+
+        var buf = new Array(len);
+        var len2 = base64.decode(enc, buf, 0);
+        test.equal(len2, len, "should decode '" + enc + "' to " + len + " bytes");
+
+        test.equal(String.fromCharCode.apply(String, buf), str, "should decode '" + enc + "' to '" + str + "'");
+
+        var enc2 = base64.encode(buf, 0, buf.length);
+        test.equal(enc2, enc, "should encode '" + str + "' to '" + enc + "'");
+
+    });
+
+    test.throws(function() {
+        var buf = new Array(10);
+        base64.decode("YQ!", buf, 0);
+    }, Error, "should throw if encoding is invalid");
+
+    test.throws(function() {
+        var buf = new Array(10);
+        base64.decode("Y", buf, 0);
+    }, Error, "should throw if string is truncated");
+
+    test.end();
+});

+ 26 - 0
node_modules/@protobufjs/codegen/LICENSE

@@ -0,0 +1,26 @@
+Copyright (c) 2016, Daniel Wirtz  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of its author, nor the names of its contributors
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 49 - 0
node_modules/@protobufjs/codegen/README.md

@@ -0,0 +1,49 @@
+@protobufjs/codegen
+===================
+[![npm](https://img.shields.io/npm/v/@protobufjs/codegen.svg)](https://www.npmjs.com/package/@protobufjs/codegen)
+
+A minimalistic code generation utility.
+
+API
+---
+
+* **codegen([functionParams: `string[]`], [functionName: string]): `Codegen`**<br />
+  Begins generating a function.
+
+* **codegen.verbose = `false`**<br />
+  When set to true, codegen will log generated code to console. Useful for debugging.
+
+Invoking **codegen** returns an appender function that appends code to the function's body and returns itself:
+
+* **Codegen(formatString: `string`, [...formatParams: `any`]): Codegen**<br />
+  Appends code to the function's body. The format string can contain placeholders specifying the types of inserted format parameters:
+
+  * `%d`: Number (integer or floating point value)
+  * `%f`: Floating point value
+  * `%i`: Integer value
+  * `%j`: JSON.stringify'ed value
+  * `%s`: String value
+  * `%%`: Percent sign<br />
+
+* **Codegen([scope: `Object.<string,*>`]): `Function`**<br />
+  Finishes the function and returns it.
+
+* **Codegen.toString([functionNameOverride: `string`]): `string`**<br />
+  Returns the function as a string.
+
+Example
+-------
+
+```js
+var codegen = require("@protobufjs/codegen");
+
+var add = codegen(["a", "b"], "add") // A function with parameters "a" and "b" named "add"
+  ("// awesome comment")             // adds the line to the function's body
+  ("return a + b - c + %d", 1)       // replaces %d with 1 and adds the line to the body
+  ({ c: 1 });                        // adds "c" with a value of 1 to the function's scope
+
+console.log(add.toString()); // function add(a, b) { return a + b - c + 1 }
+console.log(add(1, 2));      // calculates 1 + 2 - 1 + 1 = 3
+```
+
+**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

+ 31 - 0
node_modules/@protobufjs/codegen/index.d.ts

@@ -0,0 +1,31 @@
+export = codegen;
+
+/**
+ * Appends code to the function's body.
+ * @param [formatStringOrScope] Format string or, to finish the function, an object of additional scope variables, if any
+ * @param [formatParams] Format parameters
+ * @returns Itself or the generated function if finished
+ * @throws {Error} If format parameter counts do not match
+ */
+type Codegen = (formatStringOrScope?: (string|{ [k: string]: any }), ...formatParams: any[]) => (Codegen|Function);
+
+/**
+ * Begins generating a function.
+ * @param functionParams Function parameter names
+ * @param [functionName] Function name if not anonymous
+ * @returns Appender that appends code to the function's body
+ */
+declare function codegen(functionParams: string[], functionName?: string): Codegen;
+
+/**
+ * Begins generating a function.
+ * @param [functionName] Function name if not anonymous
+ * @returns Appender that appends code to the function's body
+ */
+declare function codegen(functionName?: string): Codegen;
+
+declare namespace codegen {
+
+    /** When set to `true`, codegen will log generated code to console. Useful for debugging. */
+    let verbose: boolean;
+}

+ 99 - 0
node_modules/@protobufjs/codegen/index.js

@@ -0,0 +1,99 @@
+"use strict";
+module.exports = codegen;
+
+/**
+ * Begins generating a function.
+ * @memberof util
+ * @param {string[]} functionParams Function parameter names
+ * @param {string} [functionName] Function name if not anonymous
+ * @returns {Codegen} Appender that appends code to the function's body
+ */
+function codegen(functionParams, functionName) {
+
+    /* istanbul ignore if */
+    if (typeof functionParams === "string") {
+        functionName = functionParams;
+        functionParams = undefined;
+    }
+
+    var body = [];
+
+    /**
+     * Appends code to the function's body or finishes generation.
+     * @typedef Codegen
+     * @type {function}
+     * @param {string|Object.<string,*>} [formatStringOrScope] Format string or, to finish the function, an object of additional scope variables, if any
+     * @param {...*} [formatParams] Format parameters
+     * @returns {Codegen|Function} Itself or the generated function if finished
+     * @throws {Error} If format parameter counts do not match
+     */
+
+    function Codegen(formatStringOrScope) {
+        // note that explicit array handling below makes this ~50% faster
+
+        // finish the function
+        if (typeof formatStringOrScope !== "string") {
+            var source = toString();
+            if (codegen.verbose)
+                console.log("codegen: " + source); // eslint-disable-line no-console
+            source = "return " + source;
+            if (formatStringOrScope) {
+                var scopeKeys   = Object.keys(formatStringOrScope),
+                    scopeParams = new Array(scopeKeys.length + 1),
+                    scopeValues = new Array(scopeKeys.length),
+                    scopeOffset = 0;
+                while (scopeOffset < scopeKeys.length) {
+                    scopeParams[scopeOffset] = scopeKeys[scopeOffset];
+                    scopeValues[scopeOffset] = formatStringOrScope[scopeKeys[scopeOffset++]];
+                }
+                scopeParams[scopeOffset] = source;
+                return Function.apply(null, scopeParams).apply(null, scopeValues); // eslint-disable-line no-new-func
+            }
+            return Function(source)(); // eslint-disable-line no-new-func
+        }
+
+        // otherwise append to body
+        var formatParams = new Array(arguments.length - 1),
+            formatOffset = 0;
+        while (formatOffset < formatParams.length)
+            formatParams[formatOffset] = arguments[++formatOffset];
+        formatOffset = 0;
+        formatStringOrScope = formatStringOrScope.replace(/%([%dfijs])/g, function replace($0, $1) {
+            var value = formatParams[formatOffset++];
+            switch ($1) {
+                case "d": case "f": return String(Number(value));
+                case "i": return String(Math.floor(value));
+                case "j": return JSON.stringify(value);
+                case "s": return String(value);
+            }
+            return "%";
+        });
+        if (formatOffset !== formatParams.length)
+            throw Error("parameter count mismatch");
+        body.push(formatStringOrScope);
+        return Codegen;
+    }
+
+    function toString(functionNameOverride) {
+        return "function " + (functionNameOverride || functionName || "") + "(" + (functionParams && functionParams.join(",") || "") + "){\n  " + body.join("\n  ") + "\n}";
+    }
+
+    Codegen.toString = toString;
+    return Codegen;
+}
+
+/**
+ * Begins generating a function.
+ * @memberof util
+ * @function codegen
+ * @param {string} [functionName] Function name if not anonymous
+ * @returns {Codegen} Appender that appends code to the function's body
+ * @variation 2
+ */
+
+/**
+ * When set to `true`, codegen will log generated code to console. Useful for debugging.
+ * @name util.codegen.verbose
+ * @type {boolean}
+ */
+codegen.verbose = false;

+ 13 - 0
node_modules/@protobufjs/codegen/package.json

@@ -0,0 +1,13 @@
+{
+  "name": "@protobufjs/codegen",
+  "description": "A minimalistic code generation utility.",
+  "version": "2.0.4",
+  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/dcodeIO/protobuf.js.git"
+  },
+  "license": "BSD-3-Clause",
+  "main": "index.js",
+  "types": "index.d.ts"
+}

+ 13 - 0
node_modules/@protobufjs/codegen/tests/index.js

@@ -0,0 +1,13 @@
+var codegen = require("..");
+
+// new require("benchmark").Suite().add("add", function() {
+
+var add = codegen(["a", "b"], "add")
+  ("// awesome comment")
+  ("return a + b - c + %d", 1)
+  ({ c: 1 });
+
+if (add(1, 2) !== 3)
+  throw Error("failed");
+
+// }).on("cycle", function(event) { process.stdout.write(String(event.target) + "\n"); }).run();

+ 26 - 0
node_modules/@protobufjs/eventemitter/LICENSE

@@ -0,0 +1,26 @@
+Copyright (c) 2016, Daniel Wirtz  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of its author, nor the names of its contributors
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 22 - 0
node_modules/@protobufjs/eventemitter/README.md

@@ -0,0 +1,22 @@
+@protobufjs/eventemitter
+========================
+[![npm](https://img.shields.io/npm/v/@protobufjs/eventemitter.svg)](https://www.npmjs.com/package/@protobufjs/eventemitter)
+
+A minimal event emitter.
+
+API
+---
+
+* **new EventEmitter()**<br />
+  Constructs a new event emitter instance.
+
+* **EventEmitter#on(evt: `string`, fn: `function`, [ctx: `Object`]): `EventEmitter`**<br />
+  Registers an event listener.
+
+* **EventEmitter#off([evt: `string`], [fn: `function`]): `EventEmitter`**<br />
+  Removes an event listener or any matching listeners if arguments are omitted.
+
+* **EventEmitter#emit(evt: `string`, ...args: `*`): `EventEmitter`**<br />
+  Emits an event by calling its listeners with the specified arguments.
+
+**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

+ 43 - 0
node_modules/@protobufjs/eventemitter/index.d.ts

@@ -0,0 +1,43 @@
+export = EventEmitter;
+
+/**
+ * Constructs a new event emitter instance.
+ * @classdesc A minimal event emitter.
+ * @memberof util
+ * @constructor
+ */
+declare class EventEmitter {
+
+    /**
+     * Constructs a new event emitter instance.
+     * @classdesc A minimal event emitter.
+     * @memberof util
+     * @constructor
+     */
+    constructor();
+
+    /**
+     * Registers an event listener.
+     * @param {string} evt Event name
+     * @param {function} fn Listener
+     * @param {*} [ctx] Listener context
+     * @returns {util.EventEmitter} `this`
+     */
+    on(evt: string, fn: () => any, ctx?: any): EventEmitter;
+
+    /**
+     * Removes an event listener or any matching listeners if arguments are omitted.
+     * @param {string} [evt] Event name. Removes all listeners if omitted.
+     * @param {function} [fn] Listener to remove. Removes all listeners of `evt` if omitted.
+     * @returns {util.EventEmitter} `this`
+     */
+    off(evt?: string, fn?: () => any): EventEmitter;
+
+    /**
+     * Emits an event by calling its listeners with the specified arguments.
+     * @param {string} evt Event name
+     * @param {...*} args Arguments
+     * @returns {util.EventEmitter} `this`
+     */
+    emit(evt: string, ...args: any[]): EventEmitter;
+}

+ 76 - 0
node_modules/@protobufjs/eventemitter/index.js

@@ -0,0 +1,76 @@
+"use strict";
+module.exports = EventEmitter;
+
+/**
+ * Constructs a new event emitter instance.
+ * @classdesc A minimal event emitter.
+ * @memberof util
+ * @constructor
+ */
+function EventEmitter() {
+
+    /**
+     * Registered listeners.
+     * @type {Object.<string,*>}
+     * @private
+     */
+    this._listeners = {};
+}
+
+/**
+ * Registers an event listener.
+ * @param {string} evt Event name
+ * @param {function} fn Listener
+ * @param {*} [ctx] Listener context
+ * @returns {util.EventEmitter} `this`
+ */
+EventEmitter.prototype.on = function on(evt, fn, ctx) {
+    (this._listeners[evt] || (this._listeners[evt] = [])).push({
+        fn  : fn,
+        ctx : ctx || this
+    });
+    return this;
+};
+
+/**
+ * Removes an event listener or any matching listeners if arguments are omitted.
+ * @param {string} [evt] Event name. Removes all listeners if omitted.
+ * @param {function} [fn] Listener to remove. Removes all listeners of `evt` if omitted.
+ * @returns {util.EventEmitter} `this`
+ */
+EventEmitter.prototype.off = function off(evt, fn) {
+    if (evt === undefined)
+        this._listeners = {};
+    else {
+        if (fn === undefined)
+            this._listeners[evt] = [];
+        else {
+            var listeners = this._listeners[evt];
+            for (var i = 0; i < listeners.length;)
+                if (listeners[i].fn === fn)
+                    listeners.splice(i, 1);
+                else
+                    ++i;
+        }
+    }
+    return this;
+};
+
+/**
+ * Emits an event by calling its listeners with the specified arguments.
+ * @param {string} evt Event name
+ * @param {...*} args Arguments
+ * @returns {util.EventEmitter} `this`
+ */
+EventEmitter.prototype.emit = function emit(evt) {
+    var listeners = this._listeners[evt];
+    if (listeners) {
+        var args = [],
+            i = 1;
+        for (; i < arguments.length;)
+            args.push(arguments[i++]);
+        for (i = 0; i < listeners.length;)
+            listeners[i].fn.apply(listeners[i++].ctx, args);
+    }
+    return this;
+};

+ 21 - 0
node_modules/@protobufjs/eventemitter/package.json

@@ -0,0 +1,21 @@
+{
+  "name": "@protobufjs/eventemitter",
+  "description": "A minimal event emitter.",
+  "version": "1.1.0",
+  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/dcodeIO/protobuf.js.git"
+  },
+  "license": "BSD-3-Clause",
+  "main": "index.js",
+  "types": "index.d.ts",
+  "devDependencies": {
+    "istanbul": "^0.4.5",
+    "tape": "^4.6.3"
+  },
+  "scripts": {
+    "test": "tape tests/*.js",
+    "coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js"
+  }
+}

+ 47 - 0
node_modules/@protobufjs/eventemitter/tests/index.js

@@ -0,0 +1,47 @@
+var tape = require("tape");
+
+var EventEmitter = require("..");
+
+tape.test("eventemitter", function(test) {
+
+    var ee = new EventEmitter();
+    var fn;
+    var ctx = {};
+
+    test.doesNotThrow(function() {
+        ee.emit("a", 1);
+        ee.off();
+        ee.off("a");
+        ee.off("a", function() {});
+    }, "should not throw if no listeners are registered");
+    
+    test.equal(ee.on("a", function(arg1) {
+        test.equal(this, ctx, "should be called with this = ctx");
+        test.equal(arg1, 1, "should be called with arg1 = 1");
+    }, ctx), ee, "should return itself when registering events");
+    ee.emit("a", 1);
+
+    ee.off("a");
+    test.same(ee._listeners, { a: [] }, "should remove all listeners of the respective event when calling off(evt)");
+
+    ee.off();
+    test.same(ee._listeners, {}, "should remove all listeners when just calling off()");
+
+    ee.on("a", fn = function(arg1) {
+        test.equal(this, ctx, "should be called with this = ctx");
+        test.equal(arg1, 1, "should be called with arg1 = 1");
+    }, ctx).emit("a", 1);
+
+    ee.off("a", fn);
+    test.same(ee._listeners, { a: [] }, "should remove the exact listener when calling off(evt, fn)");
+
+    ee.on("a", function() {
+        test.equal(this, ee, "should be called with this = ee");
+    }).emit("a");
+
+    test.doesNotThrow(function() {
+        ee.off("a", fn);
+    }, "should not throw if no such listener is found");
+
+    test.end();
+});

+ 26 - 0
node_modules/@protobufjs/fetch/LICENSE

@@ -0,0 +1,26 @@
+Copyright (c) 2016, Daniel Wirtz  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of its author, nor the names of its contributors
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 13 - 0
node_modules/@protobufjs/fetch/README.md

@@ -0,0 +1,13 @@
+@protobufjs/fetch
+=================
+[![npm](https://img.shields.io/npm/v/@protobufjs/fetch.svg)](https://www.npmjs.com/package/@protobufjs/fetch)
+
+Fetches the contents of a file accross node and browsers.
+
+API
+---
+
+* **fetch(path: `string`, [options: { binary: boolean } ], [callback: `function(error: ?Error, [contents: string])`]): `Promise<string|Uint8Array>|undefined`**
+  Fetches the contents of a file.
+
+**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

+ 56 - 0
node_modules/@protobufjs/fetch/index.d.ts

@@ -0,0 +1,56 @@
+export = fetch;
+
+/**
+ * Node-style callback as used by {@link util.fetch}.
+ * @typedef FetchCallback
+ * @type {function}
+ * @param {?Error} error Error, if any, otherwise `null`
+ * @param {string} [contents] File contents, if there hasn't been an error
+ * @returns {undefined}
+ */
+type FetchCallback = (error: Error, contents?: string) => void;
+
+/**
+ * Options as used by {@link util.fetch}.
+ * @typedef FetchOptions
+ * @type {Object}
+ * @property {boolean} [binary=false] Whether expecting a binary response
+ * @property {boolean} [xhr=false] If `true`, forces the use of XMLHttpRequest
+ */
+
+interface FetchOptions {
+    binary?: boolean;
+    xhr?: boolean
+}
+
+/**
+ * Fetches the contents of a file.
+ * @memberof util
+ * @param {string} filename File path or url
+ * @param {FetchOptions} options Fetch options
+ * @param {FetchCallback} callback Callback function
+ * @returns {undefined}
+ */
+declare function fetch(filename: string, options: FetchOptions, callback: FetchCallback): void;
+
+/**
+ * Fetches the contents of a file.
+ * @name util.fetch
+ * @function
+ * @param {string} path File path or url
+ * @param {FetchCallback} callback Callback function
+ * @returns {undefined}
+ * @variation 2
+ */
+declare function fetch(path: string, callback: FetchCallback): void;
+
+/**
+ * Fetches the contents of a file.
+ * @name util.fetch
+ * @function
+ * @param {string} path File path or url
+ * @param {FetchOptions} [options] Fetch options
+ * @returns {Promise<string|Uint8Array>} Promise
+ * @variation 3
+ */
+declare function fetch(path: string, options?: FetchOptions): Promise<(string|Uint8Array)>;

+ 115 - 0
node_modules/@protobufjs/fetch/index.js

@@ -0,0 +1,115 @@
+"use strict";
+module.exports = fetch;
+
+var asPromise = require("@protobufjs/aspromise"),
+    inquire   = require("@protobufjs/inquire");
+
+var fs = inquire("fs");
+
+/**
+ * Node-style callback as used by {@link util.fetch}.
+ * @typedef FetchCallback
+ * @type {function}
+ * @param {?Error} error Error, if any, otherwise `null`
+ * @param {string} [contents] File contents, if there hasn't been an error
+ * @returns {undefined}
+ */
+
+/**
+ * Options as used by {@link util.fetch}.
+ * @typedef FetchOptions
+ * @type {Object}
+ * @property {boolean} [binary=false] Whether expecting a binary response
+ * @property {boolean} [xhr=false] If `true`, forces the use of XMLHttpRequest
+ */
+
+/**
+ * Fetches the contents of a file.
+ * @memberof util
+ * @param {string} filename File path or url
+ * @param {FetchOptions} options Fetch options
+ * @param {FetchCallback} callback Callback function
+ * @returns {undefined}
+ */
+function fetch(filename, options, callback) {
+    if (typeof options === "function") {
+        callback = options;
+        options = {};
+    } else if (!options)
+        options = {};
+
+    if (!callback)
+        return asPromise(fetch, this, filename, options); // eslint-disable-line no-invalid-this
+
+    // if a node-like filesystem is present, try it first but fall back to XHR if nothing is found.
+    if (!options.xhr && fs && fs.readFile)
+        return fs.readFile(filename, function fetchReadFileCallback(err, contents) {
+            return err && typeof XMLHttpRequest !== "undefined"
+                ? fetch.xhr(filename, options, callback)
+                : err
+                ? callback(err)
+                : callback(null, options.binary ? contents : contents.toString("utf8"));
+        });
+
+    // use the XHR version otherwise.
+    return fetch.xhr(filename, options, callback);
+}
+
+/**
+ * Fetches the contents of a file.
+ * @name util.fetch
+ * @function
+ * @param {string} path File path or url
+ * @param {FetchCallback} callback Callback function
+ * @returns {undefined}
+ * @variation 2
+ */
+
+/**
+ * Fetches the contents of a file.
+ * @name util.fetch
+ * @function
+ * @param {string} path File path or url
+ * @param {FetchOptions} [options] Fetch options
+ * @returns {Promise<string|Uint8Array>} Promise
+ * @variation 3
+ */
+
+/**/
+fetch.xhr = function fetch_xhr(filename, options, callback) {
+    var xhr = new XMLHttpRequest();
+    xhr.onreadystatechange /* works everywhere */ = function fetchOnReadyStateChange() {
+
+        if (xhr.readyState !== 4)
+            return undefined;
+
+        // local cors security errors return status 0 / empty string, too. afaik this cannot be
+        // reliably distinguished from an actually empty file for security reasons. feel free
+        // to send a pull request if you are aware of a solution.
+        if (xhr.status !== 0 && xhr.status !== 200)
+            return callback(Error("status " + xhr.status));
+
+        // if binary data is expected, make sure that some sort of array is returned, even if
+        // ArrayBuffers are not supported. the binary string fallback, however, is unsafe.
+        if (options.binary) {
+            var buffer = xhr.response;
+            if (!buffer) {
+                buffer = [];
+                for (var i = 0; i < xhr.responseText.length; ++i)
+                    buffer.push(xhr.responseText.charCodeAt(i) & 255);
+            }
+            return callback(null, typeof Uint8Array !== "undefined" ? new Uint8Array(buffer) : buffer);
+        }
+        return callback(null, xhr.responseText);
+    };
+
+    if (options.binary) {
+        // ref: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/Sending_and_Receiving_Binary_Data#Receiving_binary_data_in_older_browsers
+        if ("overrideMimeType" in xhr)
+            xhr.overrideMimeType("text/plain; charset=x-user-defined");
+        xhr.responseType = "arraybuffer";
+    }
+
+    xhr.open("GET", filename);
+    xhr.send();
+};

+ 25 - 0
node_modules/@protobufjs/fetch/package.json

@@ -0,0 +1,25 @@
+{
+  "name": "@protobufjs/fetch",
+  "description": "Fetches the contents of a file accross node and browsers.",
+  "version": "1.1.0",
+  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/dcodeIO/protobuf.js.git"
+  },
+  "dependencies": {
+    "@protobufjs/aspromise": "^1.1.1",
+    "@protobufjs/inquire": "^1.1.0"
+  },
+  "license": "BSD-3-Clause",
+  "main": "index.js",
+  "types": "index.d.ts",
+  "devDependencies": {
+    "istanbul": "^0.4.5",
+    "tape": "^4.6.3"
+  },
+  "scripts": {
+    "test": "tape tests/*.js",
+    "coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js"
+  }
+}

+ 16 - 0
node_modules/@protobufjs/fetch/tests/index.js

@@ -0,0 +1,16 @@
+var tape = require("tape");
+
+var fetch = require("..");
+
+tape.test("fetch", function(test) {
+
+    if (typeof Promise !== "undefined") {
+        var promise = fetch("NOTFOUND");
+        promise.catch(function() {});
+        test.ok(promise instanceof Promise, "should return a promise if callback has been omitted");
+    }
+
+    // TODO - some way to test this properly?
+    
+    test.end();
+});

+ 26 - 0
node_modules/@protobufjs/float/LICENSE

@@ -0,0 +1,26 @@
+Copyright (c) 2016, Daniel Wirtz  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in the
+  documentation and/or other materials provided with the distribution.
+* Neither the name of its author, nor the names of its contributors
+  may be used to endorse or promote products derived from this software
+  without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 102 - 0
node_modules/@protobufjs/float/README.md

@@ -0,0 +1,102 @@
+@protobufjs/float
+=================
+[![npm](https://img.shields.io/npm/v/@protobufjs/float.svg)](https://www.npmjs.com/package/@protobufjs/float)
+
+Reads / writes floats / doubles from / to buffers in both modern and ancient browsers. Fast.
+
+API
+---
+
+* **writeFloatLE(val: `number`, buf: `Uint8Array`, pos: `number`)**<br />
+  Writes a 32 bit float to a buffer using little endian byte order.
+
+* **writeFloatBE(val: `number`, buf: `Uint8Array`, pos: `number`)**<br />
+  Writes a 32 bit float to a buffer using big endian byte order.
+
+* **readFloatLE(buf: `Uint8Array`, pos: `number`): `number`**<br />
+  Reads a 32 bit float from a buffer using little endian byte order.
+
+* **readFloatBE(buf: `Uint8Array`, pos: `number`): `number`**<br />
+  Reads a 32 bit float from a buffer using big endian byte order.
+
+* **writeDoubleLE(val: `number`, buf: `Uint8Array`, pos: `number`)**<br />
+  Writes a 64 bit double to a buffer using little endian byte order.
+
+* **writeDoubleBE(val: `number`, buf: `Uint8Array`, pos: `number`)**<br />
+  Writes a 64 bit double to a buffer using big endian byte order.
+
+* **readDoubleLE(buf: `Uint8Array`, pos: `number`): `number`**<br />
+  Reads a 64 bit double from a buffer using little endian byte order.
+
+* **readDoubleBE(buf: `Uint8Array`, pos: `number`): `number`**<br />
+  Reads a 64 bit double from a buffer using big endian byte order.
+
+Performance
+-----------
+There is a simple benchmark included comparing raw read/write performance of this library (float), float's fallback for old browsers, the [ieee754](https://www.npmjs.com/package/ieee754) module and node's [buffer](https://nodejs.org/api/buffer.html). On an i7-2600k running node 6.9.1 it yields:
+
+```
+benchmarking writeFloat performance ...
+
+float x 42,741,625 ops/sec ±1.75% (81 runs sampled)
+float (fallback) x 11,272,532 ops/sec ±1.12% (85 runs sampled)
+ieee754 x 8,653,337 ops/sec ±1.18% (84 runs sampled)
+buffer x 12,412,414 ops/sec ±1.41% (83 runs sampled)
+buffer (noAssert) x 13,471,149 ops/sec ±1.09% (84 runs sampled)
+
+                      float was fastest
+           float (fallback) was 73.5% slower
+                    ieee754 was 79.6% slower
+                     buffer was 70.9% slower
+          buffer (noAssert) was 68.3% slower
+
+benchmarking readFloat performance ...
+
+float x 44,382,729 ops/sec ±1.70% (84 runs sampled)
+float (fallback) x 20,925,938 ops/sec ±0.86% (87 runs sampled)
+ieee754 x 17,189,009 ops/sec ±1.01% (87 runs sampled)
+buffer x 10,518,437 ops/sec ±1.04% (83 runs sampled)
+buffer (noAssert) x 11,031,636 ops/sec ±1.15% (87 runs sampled)
+
+                      float was fastest
+           float (fallback) was 52.5% slower
+                    ieee754 was 61.0% slower
+                     buffer was 76.1% slower
+          buffer (noAssert) was 75.0% slower
+
+benchmarking writeDouble performance ...
+
+float x 38,624,906 ops/sec ±0.93% (83 runs sampled)
+float (fallback) x 10,457,811 ops/sec ±1.54% (85 runs sampled)
+ieee754 x 7,681,130 ops/sec ±1.11% (83 runs sampled)
+buffer x 12,657,876 ops/sec ±1.03% (83 runs sampled)
+buffer (noAssert) x 13,372,795 ops/sec ±0.84% (85 runs sampled)
+
+                      float was fastest
+           float (fallback) was 73.1% slower
+                    ieee754 was 80.1% slower
+                     buffer was 67.3% slower
+          buffer (noAssert) was 65.3% slower
+
+benchmarking readDouble performance ...
+
+float x 40,527,888 ops/sec ±1.05% (84 runs sampled)
+float (fallback) x 18,696,480 ops/sec ±0.84% (86 runs sampled)
+ieee754 x 14,074,028 ops/sec ±1.04% (87 runs sampled)
+buffer x 10,092,367 ops/sec ±1.15% (84 runs sampled)
+buffer (noAssert) x 10,623,793 ops/sec ±0.96% (84 runs sampled)
+
+                      float was fastest
+           float (fallback) was 53.8% slower
+                    ieee754 was 65.3% slower
+                     buffer was 75.1% slower
+          buffer (noAssert) was 73.8% slower
+```
+
+To run it yourself:
+
+```
+$> npm run bench
+```
+
+**License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)

+ 87 - 0
node_modules/@protobufjs/float/bench/index.js

@@ -0,0 +1,87 @@
+"use strict";
+
+var float = require(".."),
+    ieee754 = require("ieee754"),
+    newSuite = require("./suite");
+
+var F32 = Float32Array;
+var F64 = Float64Array;
+delete global.Float32Array;
+delete global.Float64Array;
+var floatFallback = float({});
+global.Float32Array = F32;
+global.Float64Array = F64;
+
+var buf = new Buffer(8);
+
+newSuite("writeFloat")
+.add("float", function() {
+    float.writeFloatLE(0.1, buf, 0);
+})
+.add("float (fallback)", function() {
+    floatFallback.writeFloatLE(0.1, buf, 0);
+})
+.add("ieee754", function() {
+    ieee754.write(buf, 0.1, 0, true, 23, 4);
+})
+.add("buffer", function() {
+    buf.writeFloatLE(0.1, 0);
+})
+.add("buffer (noAssert)", function() {
+    buf.writeFloatLE(0.1, 0, true);
+})
+.run();
+
+newSuite("readFloat")
+.add("float", function() {
+    float.readFloatLE(buf, 0);
+})
+.add("float (fallback)", function() {
+    floatFallback.readFloatLE(buf, 0);
+})
+.add("ieee754", function() {
+    ieee754.read(buf, 0, true, 23, 4);
+})
+.add("buffer", function() {
+    buf.readFloatLE(0);
+})
+.add("buffer (noAssert)", function() {
+    buf.readFloatLE(0, true);
+})
+.run();
+
+newSuite("writeDouble")
+.add("float", function() {
+    float.writeDoubleLE(0.1, buf, 0);
+})
+.add("float (fallback)", function() {
+    floatFallback.writeDoubleLE(0.1, buf, 0);
+})
+.add("ieee754", function() {
+    ieee754.write(buf, 0.1, 0, true, 52, 8);
+})
+.add("buffer", function() {
+    buf.writeDoubleLE(0.1, 0);
+})
+.add("buffer (noAssert)", function() {
+    buf.writeDoubleLE(0.1, 0, true);
+})
+.run();
+
+newSuite("readDouble")
+.add("float", function() {
+    float.readDoubleLE(buf, 0);
+})
+.add("float (fallback)", function() {
+    floatFallback.readDoubleLE(buf, 0);
+})
+.add("ieee754", function() {
+    ieee754.read(buf, 0, true, 52, 8);
+})
+.add("buffer", function() {
+    buf.readDoubleLE(0);
+})
+.add("buffer (noAssert)", function() {
+    buf.readDoubleLE(0, true);
+})
+.run();

+ 46 - 0
node_modules/@protobufjs/float/bench/suite.js

@@ -0,0 +1,46 @@
+"use strict";
+module.exports = newSuite;
+
+var benchmark = require("benchmark"),
+    chalk     = require("chalk");
+
+var padSize = 27;
+
+function newSuite(name) {
+    var benches = [];
+    return new benchmark.Suite(name)
+    .on("add", function(event) {
+        benches.push(event.target);
+    })
+    .on("start", function() {
+        process.stdout.write("benchmarking " + name + " performance ...\n\n");
+    })
+    .on("cycle", function(event) {
+        process.stdout.write(String(event.target) + "\n");
+    })
+    .on("complete", function() {
+        if (benches.length > 1) {
+            var fastest = this.filter("fastest"), // eslint-disable-line no-invalid-this
+                fastestHz = getHz(fastest[0]);
+            process.stdout.write("\n" + chalk.white(pad(fastest[0].name, padSize)) + " was " + chalk.green("fastest") + "\n");
+            benches.forEach(function(bench) {
+                if (fastest.indexOf(bench) === 0)
+                    return;
+                var hz = hz = getHz(bench);
+                var percent = (1 - hz / fastestHz) * 100;
+                process.stdout.write(chalk.white(pad(bench.name, padSize)) + " was " + chalk.red(percent.toFixed(1) + "% slower") + "\n");
+            });
+        }
+        process.stdout.write("\n");
+    });
+}
+
+function getHz(bench) {
+    return 1 / (bench.stats.mean + bench.stats.moe);
+}
+
+function pad(str, len, l) {
+    while (str.length < len)
+        str = l ? str + " " : " " + str;
+    return str;
+}

+ 83 - 0
node_modules/@protobufjs/float/index.d.ts

@@ -0,0 +1,83 @@
+/**
+ * Writes a 32 bit float to a buffer using little endian byte order.
+ * @name writeFloatLE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+export function writeFloatLE(val: number, buf: Uint8Array, pos: number): void;
+
+/**
+ * Writes a 32 bit float to a buffer using big endian byte order.
+ * @name writeFloatBE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+export function writeFloatBE(val: number, buf: Uint8Array, pos: number): void;
+
+/**
+ * Reads a 32 bit float from a buffer using little endian byte order.
+ * @name readFloatLE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+export function readFloatLE(buf: Uint8Array, pos: number): number;
+
+/**
+ * Reads a 32 bit float from a buffer using big endian byte order.
+ * @name readFloatBE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+export function readFloatBE(buf: Uint8Array, pos: number): number;
+
+/**
+ * Writes a 64 bit double to a buffer using little endian byte order.
+ * @name writeDoubleLE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+export function writeDoubleLE(val: number, buf: Uint8Array, pos: number): void;
+
+/**
+ * Writes a 64 bit double to a buffer using big endian byte order.
+ * @name writeDoubleBE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+export function writeDoubleBE(val: number, buf: Uint8Array, pos: number): void;
+
+/**
+ * Reads a 64 bit double from a buffer using little endian byte order.
+ * @name readDoubleLE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+export function readDoubleLE(buf: Uint8Array, pos: number): number;
+
+/**
+ * Reads a 64 bit double from a buffer using big endian byte order.
+ * @name readDoubleBE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+export function readDoubleBE(buf: Uint8Array, pos: number): number;

+ 335 - 0
node_modules/@protobufjs/float/index.js

@@ -0,0 +1,335 @@
+"use strict";
+
+module.exports = factory(factory);
+
+/**
+ * Reads / writes floats / doubles from / to buffers.
+ * @name util.float
+ * @namespace
+ */
+
+/**
+ * Writes a 32 bit float to a buffer using little endian byte order.
+ * @name util.float.writeFloatLE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+
+/**
+ * Writes a 32 bit float to a buffer using big endian byte order.
+ * @name util.float.writeFloatBE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+
+/**
+ * Reads a 32 bit float from a buffer using little endian byte order.
+ * @name util.float.readFloatLE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+
+/**
+ * Reads a 32 bit float from a buffer using big endian byte order.
+ * @name util.float.readFloatBE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+
+/**
+ * Writes a 64 bit double to a buffer using little endian byte order.
+ * @name util.float.writeDoubleLE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+
+/**
+ * Writes a 64 bit double to a buffer using big endian byte order.
+ * @name util.float.writeDoubleBE
+ * @function
+ * @param {number} val Value to write
+ * @param {Uint8Array} buf Target buffer
+ * @param {number} pos Target buffer offset
+ * @returns {undefined}
+ */
+
+/**
+ * Reads a 64 bit double from a buffer using little endian byte order.
+ * @name util.float.readDoubleLE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+
+/**
+ * Reads a 64 bit double from a buffer using big endian byte order.
+ * @name util.float.readDoubleBE
+ * @function
+ * @param {Uint8Array} buf Source buffer
+ * @param {number} pos Source buffer offset
+ * @returns {number} Value read
+ */
+
+// Factory function for the purpose of node-based testing in modified global environments
+function factory(exports) {
+
+    // float: typed array
+    if (typeof Float32Array !== "undefined") (function() {
+
+        var f32 = new Float32Array([ -0 ]),
+            f8b = new Uint8Array(f32.buffer),
+            le  = f8b[3] === 128;
+
+        function writeFloat_f32_cpy(val, buf, pos) {
+            f32[0] = val;
+            buf[pos    ] = f8b[0];
+            buf[pos + 1] = f8b[1];
+            buf[pos + 2] = f8b[2];
+            buf[pos + 3] = f8b[3];
+        }
+
+        function writeFloat_f32_rev(val, buf, pos) {
+            f32[0] = val;
+            buf[pos    ] = f8b[3];
+            buf[pos + 1] = f8b[2];
+            buf[pos + 2] = f8b[1];
+            buf[pos + 3] = f8b[0];
+        }
+
+        /* istanbul ignore next */
+        exports.writeFloatLE = le ? writeFloat_f32_cpy : writeFloat_f32_rev;
+        /* istanbul ignore next */
+        exports.writeFloatBE = le ? writeFloat_f32_rev : writeFloat_f32_cpy;
+
+        function readFloat_f32_cpy(buf, pos) {
+            f8b[0] = buf[pos    ];
+            f8b[1] = buf[pos + 1];
+            f8b[2] = buf[pos + 2];
+            f8b[3] = buf[pos + 3];
+            return f32[0];
+        }
+
+        function readFloat_f32_rev(buf, pos) {
+            f8b[3] = buf[pos    ];
+            f8b[2] = buf[pos + 1];
+            f8b[1] = buf[pos + 2];
+            f8b[0] = buf[pos + 3];
+            return f32[0];
+        }
+
+        /* istanbul ignore next */
+        exports.readFloatLE = le ? readFloat_f32_cpy : readFloat_f32_rev;
+        /* istanbul ignore next */
+        exports.readFloatBE = le ? readFloat_f32_rev : readFloat_f32_cpy;
+
+    // float: ieee754
+    })(); else (function() {
+
+        function writeFloat_ieee754(writeUint, val, buf, pos) {
+            var sign = val < 0 ? 1 : 0;
+            if (sign)
+                val = -val;
+            if (val === 0)
+                writeUint(1 / val > 0 ? /* positive */ 0 : /* negative 0 */ 2147483648, buf, pos);
+            else if (isNaN(val))
+                writeUint(2143289344, buf, pos);
+            else if (val > 3.4028234663852886e+38) // +-Infinity
+                writeUint((sign << 31 | 2139095040) >>> 0, buf, pos);
+            else if (val < 1.1754943508222875e-38) // denormal
+                writeUint((sign << 31 | Math.round(val / 1.401298464324817e-45)) >>> 0, buf, pos);
+            else {
+                var exponent = Math.floor(Math.log(val) / Math.LN2),
+                    mantissa = Math.round(val * Math.pow(2, -exponent) * 8388608) & 8388607;
+                writeUint((sign << 31 | exponent + 127 << 23 | mantissa) >>> 0, buf, pos);
+            }
+        }
+
+        exports.writeFloatLE = writeFloat_ieee754.bind(null, writeUintLE);
+        exports.writeFloatBE = writeFloat_ieee754.bind(null, writeUintBE);
+
+        function readFloat_ieee754(readUint, buf, pos) {
+            var uint = readUint(buf, pos),
+                sign = (uint >> 31) * 2 + 1,
+                exponent = uint >>> 23 & 255,
+                mantissa = uint & 8388607;
+            return exponent === 255
+                ? mantissa
+                ? NaN
+                : sign * Infinity
+                : exponent === 0 // denormal
+                ? sign * 1.401298464324817e-45 * mantissa
+                : sign * Math.pow(2, exponent - 150) * (mantissa + 8388608);
+        }
+
+        exports.readFloatLE = readFloat_ieee754.bind(null, readUintLE);
+        exports.readFloatBE = readFloat_ieee754.bind(null, readUintBE);
+
+    })();
+
+    // double: typed array
+    if (typeof Float64Array !== "undefined") (function() {
+
+        var f64 = new Float64Array([-0]),
+            f8b = new Uint8Array(f64.buffer),
+            le  = f8b[7] === 128;
+
+        function writeDouble_f64_cpy(val, buf, pos) {
+            f64[0] = val;
+            buf[pos    ] = f8b[0];
+            buf[pos + 1] = f8b[1];
+            buf[pos + 2] = f8b[2];
+            buf[pos + 3] = f8b[3];
+            buf[pos + 4] = f8b[4];
+            buf[pos + 5] = f8b[5];
+            buf[pos + 6] = f8b[6];
+            buf[pos + 7] = f8b[7];
+        }
+
+        function writeDouble_f64_rev(val, buf, pos) {
+            f64[0] = val;
+            buf[pos    ] = f8b[7];
+            buf[pos + 1] = f8b[6];
+            buf[pos + 2] = f8b[5];
+            buf[pos + 3] = f8b[4];
+            buf[pos + 4] = f8b[3];
+            buf[pos + 5] = f8b[2];
+            buf[pos + 6] = f8b[1];
+            buf[pos + 7] = f8b[0];
+        }
+
+        /* istanbul ignore next */
+        exports.writeDoubleLE = le ? writeDouble_f64_cpy : writeDouble_f64_rev;
+        /* istanbul ignore next */
+        exports.writeDoubleBE = le ? writeDouble_f64_rev : writeDouble_f64_cpy;
+
+        function readDouble_f64_cpy(buf, pos) {
+            f8b[0] = buf[pos    ];
+            f8b[1] = buf[pos + 1];
+            f8b[2] = buf[pos + 2];
+            f8b[3] = buf[pos + 3];
+            f8b[4] = buf[pos + 4];
+            f8b[5] = buf[pos + 5];
+            f8b[6] = buf[pos + 6];
+            f8b[7] = buf[pos + 7];
+            return f64[0];
+        }
+
+        function readDouble_f64_rev(buf, pos) {
+            f8b[7] = buf[pos    ];
+            f8b[6] = buf[pos + 1];
+            f8b[5] = buf[pos + 2];
+            f8b[4] = buf[pos + 3];
+            f8b[3] = buf[pos + 4];
+            f8b[2] = buf[pos + 5];
+            f8b[1] = buf[pos + 6];
+            f8b[0] = buf[pos + 7];
+            return f64[0];
+        }
+
+        /* istanbul ignore next */
+        exports.readDoubleLE = le ? readDouble_f64_cpy : readDouble_f64_rev;
+        /* istanbul ignore next */
+        exports.readDoubleBE = le ? readDouble_f64_rev : readDouble_f64_cpy;
+
+    // double: ieee754
+    })(); else (function() {
+
+        function writeDouble_ieee754(writeUint, off0, off1, val, buf, pos) {
+            var sign = val < 0 ? 1 : 0;
+            if (sign)
+                val = -val;
+            if (val === 0) {
+                writeUint(0, buf, pos + off0);
+                writeUint(1 / val > 0 ? /* positive */ 0 : /* negative 0 */ 2147483648, buf, pos + off1);
+            } else if (isNaN(val)) {
+                writeUint(0, buf, pos + off0);
+                writeUint(2146959360, buf, pos + off1);
+            } else if (val > 1.7976931348623157e+308) { // +-Infinity
+                writeUint(0, buf, pos + off0);
+                writeUint((sign << 31 | 2146435072) >>> 0, buf, pos + off1);
+            } else {
+                var mantissa;
+                if (val < 2.2250738585072014e-308) { // denormal
+                    mantissa = val / 5e-324;
+                    writeUint(mantissa >>> 0, buf, pos + off0);
+                    writeUint((sign << 31 | mantissa / 4294967296) >>> 0, buf, pos + off1);
+                } else {
+                    var exponent = Math.floor(Math.log(val) / Math.LN2);
+                    if (exponent === 1024)
+                        exponent = 1023;
+                    mantissa = val * Math.pow(2, -exponent);
+                    writeUint(mantissa * 4503599627370496 >>> 0, buf, pos + off0);
+                    writeUint((sign << 31 | exponent + 1023 << 20 | mantissa * 1048576 & 1048575) >>> 0, buf, pos + off1);
+                }
+            }
+        }
+
+        exports.writeDoubleLE = writeDouble_ieee754.bind(null, writeUintLE, 0, 4);
+        exports.writeDoubleBE = writeDouble_ieee754.bind(null, writeUintBE, 4, 0);
+
+        function readDouble_ieee754(readUint, off0, off1, buf, pos) {
+            var lo = readUint(buf, pos + off0),
+                hi = readUint(buf, pos + off1);
+            var sign = (hi >> 31) * 2 + 1,
+                exponent = hi >>> 20 & 2047,
+                mantissa = 4294967296 * (hi & 1048575) + lo;
+            return exponent === 2047
+                ? mantissa
+                ? NaN
+                : sign * Infinity
+                : exponent === 0 // denormal
+                ? sign * 5e-324 * mantissa
+                : sign * Math.pow(2, exponent - 1075) * (mantissa + 4503599627370496);
+        }
+
+        exports.readDoubleLE = readDouble_ieee754.bind(null, readUintLE, 0, 4);
+        exports.readDoubleBE = readDouble_ieee754.bind(null, readUintBE, 4, 0);
+
+    })();
+
+    return exports;
+}
+
+// uint helpers
+
+function writeUintLE(val, buf, pos) {
+    buf[pos    ] =  val        & 255;
+    buf[pos + 1] =  val >>> 8  & 255;
+    buf[pos + 2] =  val >>> 16 & 255;
+    buf[pos + 3] =  val >>> 24;
+}
+
+function writeUintBE(val, buf, pos) {
+    buf[pos    ] =  val >>> 24;
+    buf[pos + 1] =  val >>> 16 & 255;
+    buf[pos + 2] =  val >>> 8  & 255;
+    buf[pos + 3] =  val        & 255;
+}
+
+function readUintLE(buf, pos) {
+    return (buf[pos    ]
+          | buf[pos + 1] << 8
+          | buf[pos + 2] << 16
+          | buf[pos + 3] << 24) >>> 0;
+}
+
+function readUintBE(buf, pos) {
+    return (buf[pos    ] << 24
+          | buf[pos + 1] << 16
+          | buf[pos + 2] << 8
+          | buf[pos + 3]) >>> 0;
+}

+ 26 - 0
node_modules/@protobufjs/float/package.json

@@ -0,0 +1,26 @@
+{
+  "name": "@protobufjs/float",
+  "description": "Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.",
+  "version": "1.0.2",
+  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/dcodeIO/protobuf.js.git"
+  },
+  "dependencies": {},
+  "license": "BSD-3-Clause",
+  "main": "index.js",
+  "types": "index.d.ts",
+  "devDependencies": {
+    "benchmark": "^2.1.4",
+    "chalk": "^1.1.3",
+    "ieee754": "^1.1.8",
+    "istanbul": "^0.4.5",
+    "tape": "^4.6.3"
+  },
+  "scripts": {
+    "test": "tape tests/*.js",
+    "coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js",
+    "bench": "node bench"
+  }
+}

+ 100 - 0
node_modules/@protobufjs/float/tests/index.js

@@ -0,0 +1,100 @@
+var tape = require("tape");
+
+var float = require("..");
+
+tape.test("float", function(test) {
+
+    // default
+    test.test(test.name + " - typed array", function(test) {
+        runTest(float, test);
+    });
+
+    // ieee754
+    test.test(test.name + " - fallback", function(test) {
+        var F32 = global.Float32Array,
+            F64 = global.Float64Array;
+        delete global.Float32Array;
+        delete global.Float64Array;
+        runTest(float({}), test);
+        global.Float32Array = F32;
+        global.Float64Array = F64;
+    });
+});
+
+function runTest(float, test) {
+
+    var common = [
+        0,
+        -0,
+        Infinity,
+        -Infinity,
+        0.125,
+        1024.5,
+        -4096.5,
+        NaN
+    ];
+
+    test.test(test.name + " - using 32 bits", function(test) {
+        common.concat([
+            3.4028234663852886e+38,
+            1.1754943508222875e-38,
+            1.1754946310819804e-39
+        ])
+        .forEach(function(value) {
+            var strval = value === 0 && 1 / value < 0 ? "-0" : value.toString();
+            test.ok(
+                checkValue(value, 4, float.readFloatLE, float.writeFloatLE, Buffer.prototype.writeFloatLE),
+                "should write and read back " + strval + " (32 bit LE)"
+            );
+            test.ok(
+                checkValue(value, 4, float.readFloatBE, float.writeFloatBE, Buffer.prototype.writeFloatBE),
+                "should write and read back " + strval + " (32 bit BE)"
+            );
+        });
+        test.end();
+    });
+
+    test.test(test.name + " - using 64 bits", function(test) {
+        common.concat([
+            1.7976931348623157e+308,
+            2.2250738585072014e-308,
+            2.2250738585072014e-309
+        ])
+        .forEach(function(value) {
+            var strval = value === 0 && 1 / value < 0 ? "-0" : value.toString();
+            test.ok(
+                checkValue(value, 8, float.readDoubleLE, float.writeDoubleLE, Buffer.prototype.writeDoubleLE),
+                "should write and read back " + strval + " (64 bit LE)"
+            );
+            test.ok(
+                checkValue(value, 8, float.readDoubleBE, float.writeDoubleBE, Buffer.prototype.writeDoubleBE),
+                "should write and read back " + strval + " (64 bit BE)"
+            );
+        });
+        test.end();
+    });
+
+    test.end();
+}
+
+function checkValue(value, size, read, write, write_comp) {
+    var buffer = new Buffer(size);
+    write(value, buffer, 0);
+    var value_comp = read(buffer, 0);
+    var strval = value === 0 && 1 / value < 0 ? "-0" : value.toString();
+    if (value !== value) {
+        if (value_comp === value_comp)
+            return false;
+    } else if (value_comp !== value)
+        return false;
+
+    var buffer_comp = new Buffer(size);
+    write_comp.call(buffer_comp, value, 0);
+    for (var i = 0; i < size; ++i)
+        if (buffer[i] !== buffer_comp[i]) {
+            console.error(">", buffer, buffer_comp);
+            return false;
+        }
+
+    return true;
+}

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov