@zthun/romulator-web 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -217,12 +217,12 @@ function _object_spread$2$2(target) {
217
217
  return ZCircusWaitOptionsBuilder;
218
218
  }();
219
219
 
220
- function _array_like_to_array$f(arr, len) {
220
+ function _array_like_to_array$d(arr, len) {
221
221
  if (len == null || len > arr.length) len = arr.length;
222
222
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
223
223
  return arr2;
224
224
  }
225
- function _array_with_holes$f(arr) {
225
+ function _array_with_holes$d(arr) {
226
226
  if (Array.isArray(arr)) return arr;
227
227
  }
228
228
  function asyncGeneratorStep$u(gen, resolve, reject, _next, _throw, key, arg) {
@@ -259,7 +259,7 @@ function _class_call_check$4$2(instance, Constructor) {
259
259
  throw new TypeError("Cannot call a class as a function");
260
260
  }
261
261
  }
262
- function _defineProperties$3$5(target, props) {
262
+ function _defineProperties$3$4(target, props) {
263
263
  for(var i = 0; i < props.length; i++){
264
264
  var descriptor = props[i];
265
265
  descriptor.enumerable = descriptor.enumerable || false;
@@ -268,11 +268,11 @@ function _defineProperties$3$5(target, props) {
268
268
  Object.defineProperty(target, descriptor.key, descriptor);
269
269
  }
270
270
  }
271
- function _create_class$3$5(Constructor, protoProps, staticProps) {
272
- if (staticProps) _defineProperties$3$5(Constructor, staticProps);
271
+ function _create_class$3$4(Constructor, protoProps, staticProps) {
272
+ if (staticProps) _defineProperties$3$4(Constructor, staticProps);
273
273
  return Constructor;
274
274
  }
275
- function _iterable_to_array_limit$d(arr, i) {
275
+ function _iterable_to_array_limit$c(arr, i) {
276
276
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
277
277
  if (_i == null) return;
278
278
  var _arr = [];
@@ -296,19 +296,19 @@ function _iterable_to_array_limit$d(arr, i) {
296
296
  }
297
297
  return _arr;
298
298
  }
299
- function _non_iterable_rest$f() {
299
+ function _non_iterable_rest$d() {
300
300
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
301
301
  }
302
- function _sliced_to_array$d(arr, i) {
303
- return _array_with_holes$f(arr) || _iterable_to_array_limit$d(arr, i) || _unsupported_iterable_to_array$f(arr, i) || _non_iterable_rest$f();
302
+ function _sliced_to_array$c(arr, i) {
303
+ return _array_with_holes$d(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$d();
304
304
  }
305
- function _unsupported_iterable_to_array$f(o, minLen) {
305
+ function _unsupported_iterable_to_array$d(o, minLen) {
306
306
  if (!o) return;
307
- if (typeof o === "string") return _array_like_to_array$f(o, minLen);
307
+ if (typeof o === "string") return _array_like_to_array$d(o, minLen);
308
308
  var n = Object.prototype.toString.call(o).slice(8, -1);
309
309
  if (n === "Object" && o.constructor) n = o.constructor.name;
310
310
  if (n === "Map" || n === "Set") return Array.from(n);
311
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$f(o, minLen);
311
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
312
312
  }
313
313
  function _ts_generator$u(thisArg, body) {
314
314
  var f, y, t, _ = {
@@ -416,7 +416,7 @@ var _selector = function(root, name) {
416
416
  function ZCircusBy() {
417
417
  _class_call_check$4$2(this, ZCircusBy);
418
418
  }
419
- _create_class$3$5(ZCircusBy, null, [
419
+ _create_class$3$4(ZCircusBy, null, [
420
420
  {
421
421
  key: "all",
422
422
  value: /**
@@ -429,6 +429,9 @@ var _selector = function(root, name) {
429
429
  * @param selector -
430
430
  * The optional selector to query. If this is falsy,
431
431
  * the the component model internal selector is used.
432
+ *
433
+ * @returns
434
+ * A list of component models that match the selector.
432
435
  */ function all(_0, _1) {
433
436
  return _async_to_generator$u(function(driver, CircusComponentModel) {
434
437
  var selector, target;
@@ -552,7 +555,7 @@ var _selector = function(root, name) {
552
555
  driver.query(selector)
553
556
  ];
554
557
  case 1:
555
- _ref = _sliced_to_array$d.apply(void 0, [
558
+ _ref = _sliced_to_array$c.apply(void 0, [
556
559
  _state.sent(),
557
560
  1
558
561
  ]), found = _ref[0];
@@ -569,12 +572,12 @@ var _selector = function(root, name) {
569
572
  return ZCircusBy;
570
573
  }();
571
574
 
572
- function _class_call_check$3$5(instance, Constructor) {
575
+ function _class_call_check$3$4(instance, Constructor) {
573
576
  if (!(instance instanceof Constructor)) {
574
577
  throw new TypeError("Cannot call a class as a function");
575
578
  }
576
579
  }
577
- function _define_property$3$5(obj, key, value) {
580
+ function _define_property$3$4(obj, key, value) {
578
581
  if (key in obj) {
579
582
  Object.defineProperty(obj, key, {
580
583
  value: value,
@@ -590,19 +593,19 @@ function _define_property$3$5(obj, key, value) {
590
593
  /**
591
594
  * Represents a helper class to construct component models in a common way.
592
595
  */ var ZCircusComponentModel = function ZCircusComponentModel(driver) {
593
- _class_call_check$3$5(this, ZCircusComponentModel);
594
- _define_property$3$5(this, "driver", void 0);
596
+ _class_call_check$3$4(this, ZCircusComponentModel);
597
+ _define_property$3$4(this, "driver", void 0);
595
598
  this.driver = driver;
596
599
  };
597
600
 
598
601
  /**
599
602
  * Represents a key on a keyboard.
600
- */ function _class_call_check$2$6(instance, Constructor) {
603
+ */ function _class_call_check$2$5(instance, Constructor) {
601
604
  if (!(instance instanceof Constructor)) {
602
605
  throw new TypeError("Cannot call a class as a function");
603
606
  }
604
607
  }
605
- function _defineProperties$2$5(target, props) {
608
+ function _defineProperties$2$4(target, props) {
606
609
  for(var i = 0; i < props.length; i++){
607
610
  var descriptor = props[i];
608
611
  descriptor.enumerable = descriptor.enumerable || false;
@@ -611,11 +614,11 @@ function _defineProperties$2$5(target, props) {
611
614
  Object.defineProperty(target, descriptor.key, descriptor);
612
615
  }
613
616
  }
614
- function _create_class$2$5(Constructor, protoProps, staticProps) {
615
- if (protoProps) _defineProperties$2$5(Constructor.prototype, protoProps);
617
+ function _create_class$2$4(Constructor, protoProps, staticProps) {
618
+ if (protoProps) _defineProperties$2$4(Constructor.prototype, protoProps);
616
619
  return Constructor;
617
620
  }
618
- function _define_property$2$8(obj, key, value) {
621
+ function _define_property$2$7(obj, key, value) {
619
622
  if (key in obj) {
620
623
  Object.defineProperty(obj, key, {
621
624
  value: value,
@@ -638,7 +641,7 @@ function _object_spread$1$3(target) {
638
641
  }));
639
642
  }
640
643
  ownKeys.forEach(function(key) {
641
- _define_property$2$8(target, key, source[key]);
644
+ _define_property$2$7(target, key, source[key]);
642
645
  });
643
646
  }
644
647
  return target;
@@ -647,8 +650,8 @@ function _object_spread$1$3(target) {
647
650
  * Represents a builder for an IZCircusKey object.
648
651
  */ var ZCircusKeyBuilder = /*#__PURE__*/ function() {
649
652
  function ZCircusKeyBuilder(key, code) {
650
- _class_call_check$2$6(this, ZCircusKeyBuilder);
651
- _define_property$2$8(this, "_key", void 0);
653
+ _class_call_check$2$5(this, ZCircusKeyBuilder);
654
+ _define_property$2$7(this, "_key", void 0);
652
655
  this._key = {
653
656
  lower: key,
654
657
  code: code,
@@ -659,7 +662,7 @@ function _object_spread$1$3(target) {
659
662
  toggle: false
660
663
  };
661
664
  }
662
- _create_class$2$5(ZCircusKeyBuilder, [
665
+ _create_class$2$4(ZCircusKeyBuilder, [
663
666
  {
664
667
  key: "upper",
665
668
  value: /**
@@ -850,12 +853,12 @@ function _object_spread$1$3(target) {
850
853
  numpadEnter: new ZCircusKeyBuilder("Enter", "NumpadEnter").build()
851
854
  });
852
855
 
853
- function _class_call_check$1$7(instance, Constructor) {
856
+ function _class_call_check$1$6(instance, Constructor) {
854
857
  if (!(instance instanceof Constructor)) {
855
858
  throw new TypeError("Cannot call a class as a function");
856
859
  }
857
860
  }
858
- function _defineProperties$1$7(target, props) {
861
+ function _defineProperties$1$6(target, props) {
859
862
  for(var i = 0; i < props.length; i++){
860
863
  var descriptor = props[i];
861
864
  descriptor.enumerable = descriptor.enumerable || false;
@@ -864,11 +867,11 @@ function _defineProperties$1$7(target, props) {
864
867
  Object.defineProperty(target, descriptor.key, descriptor);
865
868
  }
866
869
  }
867
- function _create_class$1$7(Constructor, protoProps, staticProps) {
868
- if (protoProps) _defineProperties$1$7(Constructor.prototype, protoProps);
870
+ function _create_class$1$6(Constructor, protoProps, staticProps) {
871
+ if (protoProps) _defineProperties$1$6(Constructor.prototype, protoProps);
869
872
  return Constructor;
870
873
  }
871
- function _define_property$1$7(obj, key, value) {
874
+ function _define_property$1$6(obj, key, value) {
872
875
  if (key in obj) {
873
876
  Object.defineProperty(obj, key, {
874
877
  value: value,
@@ -886,15 +889,15 @@ function _define_property$1$7(obj, key, value) {
886
889
  */ var ZCircusKeyTranslator = /*#__PURE__*/ function() {
887
890
  function ZCircusKeyTranslator(keys) {
888
891
  var _this = this;
889
- _class_call_check$1$7(this, ZCircusKeyTranslator);
890
- _define_property$1$7(this, "_lowerCaseToKeyValue", new Map());
891
- _define_property$1$7(this, "_upperCaseToKeyValue", new Map());
892
+ _class_call_check$1$6(this, ZCircusKeyTranslator);
893
+ _define_property$1$6(this, "_lowerCaseToKeyValue", new Map());
894
+ _define_property$1$6(this, "_upperCaseToKeyValue", new Map());
892
895
  keys.forEach(function(key) {
893
896
  _this._lowerCaseToKeyValue.set(key.lower, key);
894
897
  _this._upperCaseToKeyValue.set(key.upper, key);
895
898
  });
896
899
  }
897
- _create_class$1$7(ZCircusKeyTranslator, [
900
+ _create_class$1$6(ZCircusKeyTranslator, [
898
901
  {
899
902
  key: "translate",
900
903
  value: /**
@@ -914,7 +917,7 @@ function _define_property$1$7(obj, key, value) {
914
917
  ]);
915
918
  return ZCircusKeyTranslator;
916
919
  }();
917
- _define_property$1$7(ZCircusKeyTranslator, "Qwerty", new ZCircusKeyTranslator(Object.values(ZCircusKeyboardQwerty)));
920
+ _define_property$1$6(ZCircusKeyTranslator, "Qwerty", new ZCircusKeyTranslator(Object.values(ZCircusKeyboardQwerty)));
918
921
 
919
922
  /**
920
923
  * Represents a type of action that can be performed.
@@ -968,7 +971,7 @@ function _define_property$M(obj, key, value) {
968
971
  }
969
972
  return obj;
970
973
  }
971
- function _object_spread$p(target) {
974
+ function _object_spread$i(target) {
972
975
  for(var i = 1; i < arguments.length; i++){
973
976
  var source = arguments[i] != null ? arguments[i] : {};
974
977
  var ownKeys = Object.keys(source);
@@ -1055,7 +1058,7 @@ function _object_spread$p(target) {
1055
1058
  * @returns
1056
1059
  * This object.
1057
1060
  */ function action(action) {
1058
- this._actions.push(_object_spread$p({}, action));
1061
+ this._actions.push(_object_spread$i({}, action));
1059
1062
  return this;
1060
1063
  }
1061
1064
  },
@@ -1321,13 +1324,13 @@ function isEmptyObject(candidate) {
1321
1324
  * @returns
1322
1325
  * The first value for where predicate returns true for the given argument value.
1323
1326
  * If first and all values of remaining fail the predicate then fallback is returned.
1324
- */ function _array_like_to_array$2$2(arr, len) {
1327
+ */ function _array_like_to_array$2$1(arr, len) {
1325
1328
  if (len == null || len > arr.length) len = arr.length;
1326
1329
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
1327
1330
  return arr2;
1328
1331
  }
1329
1332
  function _array_without_holes$2(arr) {
1330
- if (Array.isArray(arr)) return _array_like_to_array$2$2(arr);
1333
+ if (Array.isArray(arr)) return _array_like_to_array$2$1(arr);
1331
1334
  }
1332
1335
  function _iterable_to_array$2(iter) {
1333
1336
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
@@ -1336,15 +1339,15 @@ function _non_iterable_spread$2() {
1336
1339
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1337
1340
  }
1338
1341
  function _to_consumable_array$2(arr) {
1339
- return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2$2(arr) || _non_iterable_spread$2();
1342
+ return _array_without_holes$2(arr) || _iterable_to_array$2(arr) || _unsupported_iterable_to_array$2$1(arr) || _non_iterable_spread$2();
1340
1343
  }
1341
- function _unsupported_iterable_to_array$2$2(o, minLen) {
1344
+ function _unsupported_iterable_to_array$2$1(o, minLen) {
1342
1345
  if (!o) return;
1343
- if (typeof o === "string") return _array_like_to_array$2$2(o, minLen);
1346
+ if (typeof o === "string") return _array_like_to_array$2$1(o, minLen);
1344
1347
  var n = Object.prototype.toString.call(o).slice(8, -1);
1345
1348
  if (n === "Object" && o.constructor) n = o.constructor.name;
1346
1349
  if (n === "Map" || n === "Set") return Array.from(n);
1347
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2$2(o, minLen);
1350
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2$1(o, minLen);
1348
1351
  }
1349
1352
  function firstWhere(predicate, fallback, first) {
1350
1353
  for(var _len = arguments.length, remaining = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++){
@@ -1972,7 +1975,7 @@ function _define_property$4$4(obj, key, value) {
1972
1975
  * {@link joinDefined} for more information and examples.
1973
1976
  */ joinDefined.bind(null, "|");
1974
1977
 
1975
- function asyncGeneratorStep$2$2(gen, resolve, reject, _next, _throw, key, arg) {
1978
+ function asyncGeneratorStep$2$1(gen, resolve, reject, _next, _throw, key, arg) {
1976
1979
  try {
1977
1980
  var info = gen[key](arg);
1978
1981
  var value = info.value;
@@ -1986,27 +1989,27 @@ function asyncGeneratorStep$2$2(gen, resolve, reject, _next, _throw, key, arg) {
1986
1989
  Promise.resolve(value).then(_next, _throw);
1987
1990
  }
1988
1991
  }
1989
- function _async_to_generator$2$2(fn) {
1992
+ function _async_to_generator$2$1(fn) {
1990
1993
  return function() {
1991
1994
  var self = this, args = arguments;
1992
1995
  return new Promise(function(resolve, reject) {
1993
1996
  var gen = fn.apply(self, args);
1994
1997
  function _next(value) {
1995
- asyncGeneratorStep$2$2(gen, resolve, reject, _next, _throw, "next", value);
1998
+ asyncGeneratorStep$2$1(gen, resolve, reject, _next, _throw, "next", value);
1996
1999
  }
1997
2000
  function _throw(err) {
1998
- asyncGeneratorStep$2$2(gen, resolve, reject, _next, _throw, "throw", err);
2001
+ asyncGeneratorStep$2$1(gen, resolve, reject, _next, _throw, "throw", err);
1999
2002
  }
2000
2003
  _next(undefined);
2001
2004
  });
2002
2005
  };
2003
2006
  }
2004
- function _class_call_check$3$4(instance, Constructor) {
2007
+ function _class_call_check$3$3(instance, Constructor) {
2005
2008
  if (!(instance instanceof Constructor)) {
2006
2009
  throw new TypeError("Cannot call a class as a function");
2007
2010
  }
2008
2011
  }
2009
- function _defineProperties$3$4(target, props) {
2012
+ function _defineProperties$3$3(target, props) {
2010
2013
  for(var i = 0; i < props.length; i++){
2011
2014
  var descriptor = props[i];
2012
2015
  descriptor.enumerable = descriptor.enumerable || false;
@@ -2015,11 +2018,11 @@ function _defineProperties$3$4(target, props) {
2015
2018
  Object.defineProperty(target, descriptor.key, descriptor);
2016
2019
  }
2017
2020
  }
2018
- function _create_class$3$4(Constructor, protoProps, staticProps) {
2019
- _defineProperties$3$4(Constructor.prototype, protoProps);
2021
+ function _create_class$3$3(Constructor, protoProps, staticProps) {
2022
+ _defineProperties$3$3(Constructor.prototype, protoProps);
2020
2023
  return Constructor;
2021
2024
  }
2022
- function _define_property$2$7(obj, key, value) {
2025
+ function _define_property$2$6(obj, key, value) {
2023
2026
  if (key in obj) {
2024
2027
  Object.defineProperty(obj, key, {
2025
2028
  value: value,
@@ -2032,7 +2035,7 @@ function _define_property$2$7(obj, key, value) {
2032
2035
  }
2033
2036
  return obj;
2034
2037
  }
2035
- function _ts_generator$2$2(thisArg, body) {
2038
+ function _ts_generator$2$1(thisArg, body) {
2036
2039
  var f, y, t, _ = {
2037
2040
  label: 0,
2038
2041
  sent: function() {
@@ -2125,12 +2128,12 @@ function _ts_generator$2$2(thisArg, body) {
2125
2128
  }
2126
2129
  var ZLazy = /*#__PURE__*/ function() {
2127
2130
  function ZLazy(_factory) {
2128
- _class_call_check$3$4(this, ZLazy);
2129
- _define_property$2$7(this, "_factory", void 0);
2130
- _define_property$2$7(this, "_value", void 0);
2131
+ _class_call_check$3$3(this, ZLazy);
2132
+ _define_property$2$6(this, "_factory", void 0);
2133
+ _define_property$2$6(this, "_value", void 0);
2131
2134
  this._factory = _factory;
2132
2135
  }
2133
- _create_class$3$4(ZLazy, [
2136
+ _create_class$3$3(ZLazy, [
2134
2137
  {
2135
2138
  key: "initialized",
2136
2139
  value: function initialized() {
@@ -2140,8 +2143,8 @@ var ZLazy = /*#__PURE__*/ function() {
2140
2143
  {
2141
2144
  key: "get",
2142
2145
  value: function get() {
2143
- return _async_to_generator$2$2(function() {
2144
- return _ts_generator$2$2(this, function(_state) {
2146
+ return _async_to_generator$2$1(function() {
2147
+ return _ts_generator$2$1(this, function(_state) {
2145
2148
  if (this._value == null) {
2146
2149
  this._value = this._factory();
2147
2150
  }
@@ -2162,7 +2165,7 @@ var ZLazy = /*#__PURE__*/ function() {
2162
2165
  *
2163
2166
  * @param T -
2164
2167
  * The type of value that is being checked.
2165
- */ function asyncGeneratorStep$1$2(gen, resolve, reject, _next, _throw, key, arg) {
2168
+ */ function asyncGeneratorStep$1$1(gen, resolve, reject, _next, _throw, key, arg) {
2166
2169
  try {
2167
2170
  var info = gen[key](arg);
2168
2171
  var value = info.value;
@@ -2176,22 +2179,22 @@ var ZLazy = /*#__PURE__*/ function() {
2176
2179
  Promise.resolve(value).then(_next, _throw);
2177
2180
  }
2178
2181
  }
2179
- function _async_to_generator$1$2(fn) {
2182
+ function _async_to_generator$1$1(fn) {
2180
2183
  return function() {
2181
2184
  var self = this, args = arguments;
2182
2185
  return new Promise(function(resolve, reject) {
2183
2186
  var gen = fn.apply(self, args);
2184
2187
  function _next(value) {
2185
- asyncGeneratorStep$1$2(gen, resolve, reject, _next, _throw, "next", value);
2188
+ asyncGeneratorStep$1$1(gen, resolve, reject, _next, _throw, "next", value);
2186
2189
  }
2187
2190
  function _throw(err) {
2188
- asyncGeneratorStep$1$2(gen, resolve, reject, _next, _throw, "throw", err);
2191
+ asyncGeneratorStep$1$1(gen, resolve, reject, _next, _throw, "throw", err);
2189
2192
  }
2190
2193
  _next(undefined);
2191
2194
  });
2192
2195
  };
2193
2196
  }
2194
- function _ts_generator$1$2(thisArg, body) {
2197
+ function _ts_generator$1$1(thisArg, body) {
2195
2198
  var f, y, t, _ = {
2196
2199
  label: 0,
2197
2200
  sent: function() {
@@ -2299,9 +2302,9 @@ function _ts_generator$1$2(thisArg, body) {
2299
2302
  * @throws
2300
2303
  * An error if the value is null or undefined.
2301
2304
  */ function required(val) {
2302
- return _async_to_generator$1$2(function() {
2305
+ return _async_to_generator$1$1(function() {
2303
2306
  var _val;
2304
- return _ts_generator$1$2(this, function(_state) {
2307
+ return _ts_generator$1$1(this, function(_state) {
2305
2308
  switch(_state.label){
2306
2309
  case 0:
2307
2310
  if (val == null) {
@@ -2548,15 +2551,15 @@ function _ts_generator$1$2(thisArg, body) {
2548
2551
  * }
2549
2552
  * `
2550
2553
  * ```
2551
- */ function _array_like_to_array$d(arr, len) {
2554
+ */ function _array_like_to_array$c(arr, len) {
2552
2555
  if (len == null || len > arr.length) len = arr.length;
2553
2556
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
2554
2557
  return arr2;
2555
2558
  }
2556
- function _array_with_holes$d(arr) {
2559
+ function _array_with_holes$c(arr) {
2557
2560
  if (Array.isArray(arr)) return arr;
2558
2561
  }
2559
- function _iterable_to_array_limit$c(arr, i) {
2562
+ function _iterable_to_array_limit$5(arr, i) {
2560
2563
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
2561
2564
  if (_i == null) return;
2562
2565
  var _arr = [];
@@ -2580,25 +2583,25 @@ function _iterable_to_array_limit$c(arr, i) {
2580
2583
  }
2581
2584
  return _arr;
2582
2585
  }
2583
- function _non_iterable_rest$d() {
2586
+ function _non_iterable_rest$c() {
2584
2587
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2585
2588
  }
2586
- function _sliced_to_array$c(arr, i) {
2587
- return _array_with_holes$d(arr) || _iterable_to_array_limit$c(arr, i) || _unsupported_iterable_to_array$d(arr, i) || _non_iterable_rest$d();
2589
+ function _sliced_to_array$5(arr, i) {
2590
+ return _array_with_holes$c(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$c();
2588
2591
  }
2589
- function _unsupported_iterable_to_array$d(o, minLen) {
2592
+ function _unsupported_iterable_to_array$c(o, minLen) {
2590
2593
  if (!o) return;
2591
- if (typeof o === "string") return _array_like_to_array$d(o, minLen);
2594
+ if (typeof o === "string") return _array_like_to_array$c(o, minLen);
2592
2595
  var n = Object.prototype.toString.call(o).slice(8, -1);
2593
2596
  if (n === "Object" && o.constructor) n = o.constructor.name;
2594
2597
  if (n === "Map" || n === "Set") return Array.from(n);
2595
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$d(o, minLen);
2598
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
2596
2599
  }
2597
2600
  function tag(strings) {
2598
2601
  for(var _len = arguments.length, expressions = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
2599
2602
  expressions[_key - 1] = arguments[_key];
2600
2603
  }
2601
- var _strings = _sliced_to_array$c(strings, 1), result = _strings[0];
2604
+ var _strings = _sliced_to_array$5(strings, 1), result = _strings[0];
2602
2605
  for(var i = 1, l = strings.length; i < l; i++){
2603
2606
  result += expressions[i - 1];
2604
2607
  result += strings[i];
@@ -7053,7 +7056,7 @@ function trimStart(string, chars, guard) {
7053
7056
  return castSlice(strSymbols, start).join('');
7054
7057
  }
7055
7058
 
7056
- function _class_call_check$2$5(instance, Constructor) {
7059
+ function _class_call_check$2$4(instance, Constructor) {
7057
7060
  if (!(instance instanceof Constructor)) {
7058
7061
  throw new TypeError("Cannot call a class as a function");
7059
7062
  }
@@ -7075,7 +7078,7 @@ function isDeviceValues(value) {
7075
7078
  return value != null && Object.prototype.hasOwnProperty.call(value, "xl");
7076
7079
  }
7077
7080
  var ZDeviceValues = function ZDeviceValues(value, fallback) {
7078
- _class_call_check$2$5(this, ZDeviceValues);
7081
+ _class_call_check$2$4(this, ZDeviceValues);
7079
7082
  _define_property$9$2(this, "xl", void 0);
7080
7083
  _define_property$9$2(this, "lg", void 0);
7081
7084
  _define_property$9$2(this, "md", void 0);
@@ -7124,12 +7127,12 @@ var ZDeviceValues = function ZDeviceValues(value, fallback) {
7124
7127
  return ZSizeFixed;
7125
7128
  }({});
7126
7129
 
7127
- function _class_call_check$1$6(instance, Constructor) {
7130
+ function _class_call_check$1$5(instance, Constructor) {
7128
7131
  if (!(instance instanceof Constructor)) {
7129
7132
  throw new TypeError("Cannot call a class as a function");
7130
7133
  }
7131
7134
  }
7132
- function _defineProperties$1$6(target, props) {
7135
+ function _defineProperties$1$5(target, props) {
7133
7136
  for(var i = 0; i < props.length; i++){
7134
7137
  var descriptor = props[i];
7135
7138
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7138,8 +7141,8 @@ function _defineProperties$1$6(target, props) {
7138
7141
  Object.defineProperty(target, descriptor.key, descriptor);
7139
7142
  }
7140
7143
  }
7141
- function _create_class$1$6(Constructor, protoProps, staticProps) {
7142
- if (protoProps) _defineProperties$1$6(Constructor.prototype, protoProps);
7144
+ function _create_class$1$5(Constructor, protoProps, staticProps) {
7145
+ if (protoProps) _defineProperties$1$5(Constructor.prototype, protoProps);
7143
7146
  return Constructor;
7144
7147
  }
7145
7148
  function _define_property$8$2(obj, key, value) {
@@ -7157,11 +7160,11 @@ function _define_property$8$2(obj, key, value) {
7157
7160
  }
7158
7161
  var ZFashionDevice = /*#__PURE__*/ function() {
7159
7162
  function ZFashionDevice() {
7160
- _class_call_check$1$6(this, ZFashionDevice);
7163
+ _class_call_check$1$5(this, ZFashionDevice);
7161
7164
  var _obj;
7162
7165
  _define_property$8$2(this, "breakpoints", (_obj = {}, _define_property$8$2(_obj, ZSizeFixed.ExtraSmall, "600px"), _define_property$8$2(_obj, ZSizeFixed.Small, "900px"), _define_property$8$2(_obj, ZSizeFixed.Medium, "1200px"), _define_property$8$2(_obj, ZSizeFixed.Large, "1536px"), _define_property$8$2(_obj, ZSizeFixed.ExtraLarge, "Infinity"), _obj));
7163
7166
  }
7164
- _create_class$1$6(ZFashionDevice, [
7167
+ _create_class$1$5(ZFashionDevice, [
7165
7168
  {
7166
7169
  key: "break",
7167
7170
  value: function _break(size) {
@@ -7314,7 +7317,7 @@ function _define_property$4$3(obj, key, value) {
7314
7317
  return ZSizeVaried;
7315
7318
  }({});
7316
7319
 
7317
- function _define_property$3$4(obj, key, value) {
7320
+ function _define_property$3$3(obj, key, value) {
7318
7321
  if (key in obj) {
7319
7322
  Object.defineProperty(obj, key, {
7320
7323
  value: value,
@@ -7335,7 +7338,7 @@ function _define_property$3$4(obj, key, value) {
7335
7338
  * to css supported values.
7336
7339
  */ function createSizeChartVariedCss() {
7337
7340
  var _obj;
7338
- return _obj = {}, _define_property$3$4(_obj, ZSizeVaried.Fit, "auto"), _define_property$3$4(_obj, ZSizeVaried.Full, "100%"), _obj;
7341
+ return _obj = {}, _define_property$3$3(_obj, ZSizeVaried.Fit, "auto"), _define_property$3$3(_obj, ZSizeVaried.Full, "100%"), _obj;
7339
7342
  }
7340
7343
 
7341
7344
  /**
@@ -7349,7 +7352,7 @@ function _define_property$3$4(obj, key, value) {
7349
7352
  return ZSizeVoid;
7350
7353
  }({});
7351
7354
 
7352
- function _define_property$2$6(obj, key, value) {
7355
+ function _define_property$2$5(obj, key, value) {
7353
7356
  if (key in obj) {
7354
7357
  Object.defineProperty(obj, key, {
7355
7358
  value: value,
@@ -7372,7 +7375,7 @@ function _define_property$2$6(obj, key, value) {
7372
7375
  * @returns
7373
7376
  * The void size chart to set a css size to nothing.
7374
7377
  */ function createSizeChartVoidCss() {
7375
- return _define_property$2$6({}, ZSizeVoid.None, "0");
7378
+ return _define_property$2$5({}, ZSizeVoid.None, "0");
7376
7379
  }
7377
7380
 
7378
7381
  function _class_call_check$G(instance, Constructor) {
@@ -7393,7 +7396,7 @@ function _create_class$G(Constructor, protoProps, staticProps) {
7393
7396
  if (protoProps) _defineProperties$G(Constructor.prototype, protoProps);
7394
7397
  return Constructor;
7395
7398
  }
7396
- function _define_property$1$6(obj, key, value) {
7399
+ function _define_property$1$5(obj, key, value) {
7397
7400
  if (key in obj) {
7398
7401
  Object.defineProperty(obj, key, {
7399
7402
  value: value,
@@ -7406,7 +7409,7 @@ function _define_property$1$6(obj, key, value) {
7406
7409
  }
7407
7410
  return obj;
7408
7411
  }
7409
- function _object_spread$i(target) {
7412
+ function _object_spread$g(target) {
7410
7413
  for(var i = 1; i < arguments.length; i++){
7411
7414
  var source = arguments[i] != null ? arguments[i] : {};
7412
7415
  var ownKeys = Object.keys(source);
@@ -7416,12 +7419,12 @@ function _object_spread$i(target) {
7416
7419
  }));
7417
7420
  }
7418
7421
  ownKeys.forEach(function(key) {
7419
- _define_property$1$6(target, key, source[key]);
7422
+ _define_property$1$5(target, key, source[key]);
7420
7423
  });
7421
7424
  }
7422
7425
  return target;
7423
7426
  }
7424
- function ownKeys$2(object, enumerableOnly) {
7427
+ function ownKeys$1(object, enumerableOnly) {
7425
7428
  var keys = Object.keys(object);
7426
7429
  if (Object.getOwnPropertySymbols) {
7427
7430
  var symbols = Object.getOwnPropertySymbols(object);
@@ -7429,12 +7432,12 @@ function ownKeys$2(object, enumerableOnly) {
7429
7432
  }
7430
7433
  return keys;
7431
7434
  }
7432
- function _object_spread_props$2(target, source) {
7435
+ function _object_spread_props$1(target, source) {
7433
7436
  source = source != null ? source : {};
7434
7437
  if (Object.getOwnPropertyDescriptors) {
7435
7438
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
7436
7439
  } else {
7437
- ownKeys$2(Object(source)).forEach(function(key) {
7440
+ ownKeys$1(Object(source)).forEach(function(key) {
7438
7441
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
7439
7442
  });
7440
7443
  }
@@ -7443,18 +7446,18 @@ function _object_spread_props$2(target, source) {
7443
7446
  var ZFashionTailor = /*#__PURE__*/ function() {
7444
7447
  function ZFashionTailor() {
7445
7448
  _class_call_check$G(this, ZFashionTailor);
7446
- _define_property$1$6(this, "_gaps", _object_spread_props$2(_object_spread$i({}, createSizeChartFixedCss(createSizeChartFixedFibonacci(0.5, 1), "rem"), createSizeChartVoidCss()), _define_property$1$6({}, ZSizeVaried.Fit, "auto")));
7447
- _define_property$1$6(this, "_thickness", _object_spread$i({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(0.0625, 0.0625), "rem"), createSizeChartVoidCss()));
7448
- _define_property$1$6(this, "_rounding", _object_spread_props$2(_object_spread$i({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(0.15, 0.25), "rem"), createSizeChartVoidCss()), _define_property$1$6({}, ZSizeVaried.Full, "50%")));
7449
- _define_property$1$6(this, "gapsChart", this._sizeChart.bind(this, "_gaps"));
7450
- _define_property$1$6(this, "thicknessChart", this._sizeChart.bind(this, "_thickness"));
7451
- _define_property$1$6(this, "roundingChart", this._sizeChart.bind(this, "_rounding"));
7449
+ _define_property$1$5(this, "_gaps", _object_spread_props$1(_object_spread$g({}, createSizeChartFixedCss(createSizeChartFixedFibonacci(0.5, 1), "rem"), createSizeChartVoidCss()), _define_property$1$5({}, ZSizeVaried.Fit, "auto")));
7450
+ _define_property$1$5(this, "_thickness", _object_spread$g({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(0.0625, 0.0625), "rem"), createSizeChartVoidCss()));
7451
+ _define_property$1$5(this, "_rounding", _object_spread_props$1(_object_spread$g({}, createSizeChartFixedCss(createSizeChartFixedArithmetic(0.15, 0.25), "rem"), createSizeChartVoidCss()), _define_property$1$5({}, ZSizeVaried.Full, "50%")));
7452
+ _define_property$1$5(this, "gapsChart", this._sizeChart.bind(this, "_gaps"));
7453
+ _define_property$1$5(this, "thicknessChart", this._sizeChart.bind(this, "_thickness"));
7454
+ _define_property$1$5(this, "roundingChart", this._sizeChart.bind(this, "_rounding"));
7452
7455
  }
7453
7456
  _create_class$G(ZFashionTailor, [
7454
7457
  {
7455
7458
  key: "_sizeChart",
7456
7459
  value: function _sizeChart(path, chart) {
7457
- var _chart = _object_spread$i({}, chart, createSizeChartVoidCss(), createSizeChartVariedCss());
7460
+ var _chart = _object_spread$g({}, chart, createSizeChartVoidCss(), createSizeChartVariedCss());
7458
7461
  var updated = new ZFashionTailor();
7459
7462
  set(updated, path, _chart);
7460
7463
  return updated;
@@ -7485,15 +7488,15 @@ var ZFashionTailor = /*#__PURE__*/ function() {
7485
7488
  return ZFashionTailor;
7486
7489
  }();
7487
7490
 
7488
- function _array_like_to_array$1$4(arr, len) {
7491
+ function _array_like_to_array$1$3(arr, len) {
7489
7492
  if (len == null || len > arr.length) len = arr.length;
7490
7493
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
7491
7494
  return arr2;
7492
7495
  }
7493
- function _array_with_holes$1$4(arr) {
7496
+ function _array_with_holes$1$3(arr) {
7494
7497
  if (Array.isArray(arr)) return arr;
7495
7498
  }
7496
- function _iterable_to_array_limit$1$4(arr, i) {
7499
+ function _iterable_to_array_limit$1$3(arr, i) {
7497
7500
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
7498
7501
  if (_i == null) return;
7499
7502
  var _arr = [];
@@ -7517,19 +7520,19 @@ function _iterable_to_array_limit$1$4(arr, i) {
7517
7520
  }
7518
7521
  return _arr;
7519
7522
  }
7520
- function _non_iterable_rest$1$4() {
7523
+ function _non_iterable_rest$1$3() {
7521
7524
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7522
7525
  }
7523
- function _sliced_to_array$1$4(arr, i) {
7524
- return _array_with_holes$1$4(arr) || _iterable_to_array_limit$1$4(arr, i) || _unsupported_iterable_to_array$1$4(arr, i) || _non_iterable_rest$1$4();
7526
+ function _sliced_to_array$1$3(arr, i) {
7527
+ return _array_with_holes$1$3(arr) || _iterable_to_array_limit$1$3(arr, i) || _unsupported_iterable_to_array$1$3(arr, i) || _non_iterable_rest$1$3();
7525
7528
  }
7526
- function _unsupported_iterable_to_array$1$4(o, minLen) {
7529
+ function _unsupported_iterable_to_array$1$3(o, minLen) {
7527
7530
  if (!o) return;
7528
- if (typeof o === "string") return _array_like_to_array$1$4(o, minLen);
7531
+ if (typeof o === "string") return _array_like_to_array$1$3(o, minLen);
7529
7532
  var n = Object.prototype.toString.call(o).slice(8, -1);
7530
7533
  if (n === "Object" && o.constructor) n = o.constructor.name;
7531
7534
  if (n === "Map" || n === "Set") return Array.from(n);
7532
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1$4(o, minLen);
7535
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1$3(o, minLen);
7533
7536
  }
7534
7537
  /**
7535
7538
  * Converts r, g, and b to a single numeric value.
@@ -7601,7 +7604,7 @@ function _unsupported_iterable_to_array$1$4(o, minLen) {
7601
7604
  var GREEN = 0.7152;
7602
7605
  var BLUE = 0.0722;
7603
7606
  var GAMMA = 2.4;
7604
- var _toRgb = _sliced_to_array$1$4(toRgb(c), 3), r = _toRgb[0], g = _toRgb[1], b = _toRgb[2];
7607
+ var _toRgb = _sliced_to_array$1$3(toRgb(c), 3), r = _toRgb[0], g = _toRgb[1], b = _toRgb[2];
7605
7608
  var a = [
7606
7609
  r,
7607
7610
  g,
@@ -7672,15 +7675,15 @@ function _unsupported_iterable_to_array$1$4(o, minLen) {
7672
7675
  * The output from rgb(255, 255, 255, 1);
7673
7676
  */ var white = rgb.bind(null, 255, 255, 255, 1);
7674
7677
 
7675
- function _array_like_to_array$c(arr, len) {
7678
+ function _array_like_to_array$5(arr, len) {
7676
7679
  if (len == null || len > arr.length) len = arr.length;
7677
7680
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
7678
7681
  return arr2;
7679
7682
  }
7680
- function _array_with_holes$c(arr) {
7683
+ function _array_with_holes$5(arr) {
7681
7684
  if (Array.isArray(arr)) return arr;
7682
7685
  }
7683
- function _iterable_to_array_limit$5(arr, i) {
7686
+ function _iterable_to_array_limit(arr, i) {
7684
7687
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
7685
7688
  if (_i == null) return;
7686
7689
  var _arr = [];
@@ -7704,19 +7707,19 @@ function _iterable_to_array_limit$5(arr, i) {
7704
7707
  }
7705
7708
  return _arr;
7706
7709
  }
7707
- function _non_iterable_rest$c() {
7710
+ function _non_iterable_rest$5() {
7708
7711
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7709
7712
  }
7710
- function _sliced_to_array$5(arr, i) {
7711
- return _array_with_holes$c(arr) || _iterable_to_array_limit$5(arr, i) || _unsupported_iterable_to_array$c(arr, i) || _non_iterable_rest$c();
7713
+ function _sliced_to_array(arr, i) {
7714
+ return _array_with_holes$5(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array$5(arr, i) || _non_iterable_rest$5();
7712
7715
  }
7713
- function _unsupported_iterable_to_array$c(o, minLen) {
7716
+ function _unsupported_iterable_to_array$5(o, minLen) {
7714
7717
  if (!o) return;
7715
- if (typeof o === "string") return _array_like_to_array$c(o, minLen);
7718
+ if (typeof o === "string") return _array_like_to_array$5(o, minLen);
7716
7719
  var n = Object.prototype.toString.call(o).slice(8, -1);
7717
7720
  if (n === "Object" && o.constructor) n = o.constructor.name;
7718
7721
  if (n === "Map" || n === "Set") return Array.from(n);
7719
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$c(o, minLen);
7722
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
7720
7723
  }
7721
7724
  /**
7722
7725
  * Constructs a css color from a number.
@@ -7730,16 +7733,16 @@ function _unsupported_iterable_to_array$c(o, minLen) {
7730
7733
  * The css color from the number. This will
7731
7734
  * use the rgb format.
7732
7735
  */ function hex(v) {
7733
- var _toRgb = _sliced_to_array$5(toRgb(v), 3), r = _toRgb[0], g = _toRgb[1], b = _toRgb[2];
7736
+ var _toRgb = _sliced_to_array(toRgb(v), 3), r = _toRgb[0], g = _toRgb[1], b = _toRgb[2];
7734
7737
  return rgb(r, g, b);
7735
7738
  }
7736
7739
 
7737
- function _class_call_check$3$3(instance, Constructor) {
7740
+ function _class_call_check$3$2(instance, Constructor) {
7738
7741
  if (!(instance instanceof Constructor)) {
7739
7742
  throw new TypeError("Cannot call a class as a function");
7740
7743
  }
7741
7744
  }
7742
- function _defineProperties$3$3(target, props) {
7745
+ function _defineProperties$3$2(target, props) {
7743
7746
  for(var i = 0; i < props.length; i++){
7744
7747
  var descriptor = props[i];
7745
7748
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7748,11 +7751,11 @@ function _defineProperties$3$3(target, props) {
7748
7751
  Object.defineProperty(target, descriptor.key, descriptor);
7749
7752
  }
7750
7753
  }
7751
- function _create_class$3$3(Constructor, protoProps, staticProps) {
7752
- if (protoProps) _defineProperties$3$3(Constructor.prototype, protoProps);
7754
+ function _create_class$3$2(Constructor, protoProps, staticProps) {
7755
+ if (protoProps) _defineProperties$3$2(Constructor.prototype, protoProps);
7753
7756
  return Constructor;
7754
7757
  }
7755
- function _define_property$3$3(obj, key, value) {
7758
+ function _define_property$3$2(obj, key, value) {
7756
7759
  if (key in obj) {
7757
7760
  Object.defineProperty(obj, key, {
7758
7761
  value: value,
@@ -7772,11 +7775,11 @@ function _define_property$3$3(obj, key, value) {
7772
7775
  * being the fallback for everything.
7773
7776
  */ var ZColorPicker = /*#__PURE__*/ function() {
7774
7777
  function ZColorPicker(fashion) {
7775
- _class_call_check$3$3(this, ZColorPicker);
7776
- _define_property$3$3(this, "fashion", void 0);
7778
+ _class_call_check$3$2(this, ZColorPicker);
7779
+ _define_property$3$2(this, "fashion", void 0);
7777
7780
  this.fashion = fashion;
7778
7781
  }
7779
- _create_class$3$3(ZColorPicker, [
7782
+ _create_class$3$2(ZColorPicker, [
7780
7783
  {
7781
7784
  key: "idle",
7782
7785
  get: function get() {
@@ -7839,12 +7842,12 @@ function _define_property$3$3(obj, key, value) {
7839
7842
  return ZColorPicker;
7840
7843
  }();
7841
7844
 
7842
- function _class_call_check$2$4(instance, Constructor) {
7845
+ function _class_call_check$2$3(instance, Constructor) {
7843
7846
  if (!(instance instanceof Constructor)) {
7844
7847
  throw new TypeError("Cannot call a class as a function");
7845
7848
  }
7846
7849
  }
7847
- function _defineProperties$2$4(target, props) {
7850
+ function _defineProperties$2$3(target, props) {
7848
7851
  for(var i = 0; i < props.length; i++){
7849
7852
  var descriptor = props[i];
7850
7853
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7853,11 +7856,11 @@ function _defineProperties$2$4(target, props) {
7853
7856
  Object.defineProperty(target, descriptor.key, descriptor);
7854
7857
  }
7855
7858
  }
7856
- function _create_class$2$4(Constructor, protoProps, staticProps) {
7857
- if (protoProps) _defineProperties$2$4(Constructor.prototype, protoProps);
7859
+ function _create_class$2$3(Constructor, protoProps, staticProps) {
7860
+ if (protoProps) _defineProperties$2$3(Constructor.prototype, protoProps);
7858
7861
  return Constructor;
7859
7862
  }
7860
- function _define_property$2$5(obj, key, value) {
7863
+ function _define_property$2$4(obj, key, value) {
7861
7864
  if (key in obj) {
7862
7865
  Object.defineProperty(obj, key, {
7863
7866
  value: value,
@@ -7880,18 +7883,18 @@ function _object_spread$1$2(target) {
7880
7883
  }));
7881
7884
  }
7882
7885
  ownKeys.forEach(function(key) {
7883
- _define_property$2$5(target, key, source[key]);
7886
+ _define_property$2$4(target, key, source[key]);
7884
7887
  });
7885
7888
  }
7886
7889
  return target;
7887
7890
  }
7888
7891
  var ZFashionStateBuilder = /*#__PURE__*/ function() {
7889
7892
  function ZFashionStateBuilder() {
7890
- _class_call_check$2$4(this, ZFashionStateBuilder);
7891
- _define_property$2$5(this, "_state", void 0);
7893
+ _class_call_check$2$3(this, ZFashionStateBuilder);
7894
+ _define_property$2$4(this, "_state", void 0);
7892
7895
  this._state = {};
7893
7896
  }
7894
- _create_class$2$4(ZFashionStateBuilder, [
7897
+ _create_class$2$3(ZFashionStateBuilder, [
7895
7898
  {
7896
7899
  key: "main",
7897
7900
  value: function main(color) {
@@ -7941,12 +7944,12 @@ var ZFashionStateBuilder = /*#__PURE__*/ function() {
7941
7944
  return ZFashionStateBuilder;
7942
7945
  }();
7943
7946
 
7944
- function _class_call_check$1$5(instance, Constructor) {
7947
+ function _class_call_check$1$4(instance, Constructor) {
7945
7948
  if (!(instance instanceof Constructor)) {
7946
7949
  throw new TypeError("Cannot call a class as a function");
7947
7950
  }
7948
7951
  }
7949
- function _defineProperties$1$5(target, props) {
7952
+ function _defineProperties$1$4(target, props) {
7950
7953
  for(var i = 0; i < props.length; i++){
7951
7954
  var descriptor = props[i];
7952
7955
  descriptor.enumerable = descriptor.enumerable || false;
@@ -7955,11 +7958,11 @@ function _defineProperties$1$5(target, props) {
7955
7958
  Object.defineProperty(target, descriptor.key, descriptor);
7956
7959
  }
7957
7960
  }
7958
- function _create_class$1$5(Constructor, protoProps, staticProps) {
7959
- if (protoProps) _defineProperties$1$5(Constructor.prototype, protoProps);
7961
+ function _create_class$1$4(Constructor, protoProps, staticProps) {
7962
+ if (protoProps) _defineProperties$1$4(Constructor.prototype, protoProps);
7960
7963
  return Constructor;
7961
7964
  }
7962
- function _define_property$1$5(obj, key, value) {
7965
+ function _define_property$1$4(obj, key, value) {
7963
7966
  if (key in obj) {
7964
7967
  Object.defineProperty(obj, key, {
7965
7968
  value: value,
@@ -7972,7 +7975,7 @@ function _define_property$1$5(obj, key, value) {
7972
7975
  }
7973
7976
  return obj;
7974
7977
  }
7975
- function _object_spread$g(target) {
7978
+ function _object_spread$c(target) {
7976
7979
  for(var i = 1; i < arguments.length; i++){
7977
7980
  var source = arguments[i] != null ? arguments[i] : {};
7978
7981
  var ownKeys = Object.keys(source);
@@ -7982,7 +7985,7 @@ function _object_spread$g(target) {
7982
7985
  }));
7983
7986
  }
7984
7987
  ownKeys.forEach(function(key) {
7985
- _define_property$1$5(target, key, source[key]);
7988
+ _define_property$1$4(target, key, source[key]);
7986
7989
  });
7987
7990
  }
7988
7991
  return target;
@@ -7991,8 +7994,8 @@ function _object_spread$g(target) {
7991
7994
  * Represents a builder for a complementary fashion objects.
7992
7995
  */ var ZFashionBuilder = /*#__PURE__*/ function() {
7993
7996
  function ZFashionBuilder() {
7994
- _class_call_check$1$5(this, ZFashionBuilder);
7995
- _define_property$1$5(this, "_fashion", void 0);
7997
+ _class_call_check$1$4(this, ZFashionBuilder);
7998
+ _define_property$1$4(this, "_fashion", void 0);
7996
7999
  this._fashion = {
7997
8000
  idle: {
7998
8001
  main: white(),
@@ -8000,7 +8003,7 @@ function _object_spread$g(target) {
8000
8003
  }
8001
8004
  };
8002
8005
  }
8003
- _create_class$1$5(ZFashionBuilder, [
8006
+ _create_class$1$4(ZFashionBuilder, [
8004
8007
  {
8005
8008
  key: "name",
8006
8009
  value: /**
@@ -8087,7 +8090,7 @@ function _object_spread$g(target) {
8087
8090
  * @returns
8088
8091
  * This object.
8089
8092
  */ function focus(state) {
8090
- this._fashion.focus = _object_spread$g({}, state);
8093
+ this._fashion.focus = _object_spread$c({}, state);
8091
8094
  return this;
8092
8095
  }
8093
8096
  },
@@ -8102,7 +8105,7 @@ function _object_spread$g(target) {
8102
8105
  * @returns
8103
8106
  * This object.
8104
8107
  */ function hover(state) {
8105
- this._fashion.hover = _object_spread$g({}, state);
8108
+ this._fashion.hover = _object_spread$c({}, state);
8106
8109
  return this;
8107
8110
  }
8108
8111
  },
@@ -8117,7 +8120,7 @@ function _object_spread$g(target) {
8117
8120
  * @returns
8118
8121
  * This object.
8119
8122
  */ function active(state) {
8120
- this._fashion.active = _object_spread$g({}, state);
8123
+ this._fashion.active = _object_spread$c({}, state);
8121
8124
  return this;
8122
8125
  }
8123
8126
  },
@@ -8132,7 +8135,7 @@ function _object_spread$g(target) {
8132
8135
  * @returns
8133
8136
  * This object.
8134
8137
  */ function visited(state) {
8135
- this._fashion.visited = _object_spread$g({}, state);
8138
+ this._fashion.visited = _object_spread$c({}, state);
8136
8139
  return this;
8137
8140
  }
8138
8141
  },
@@ -12590,12 +12593,12 @@ function _create_class$f$1(Constructor, protoProps, staticProps) {
12590
12593
  * A list of all possible filter operators in one collection.
12591
12594
  */ var ZOperatorsFilter = [].concat(ZOperatorsBinary).concat(ZOperatorsCollection).concat(ZOperatorsLogic).concat(ZOperatorsUnary);
12592
12595
 
12593
- function _array_like_to_array$2$1(arr, len) {
12596
+ function _array_like_to_array$2(arr, len) {
12594
12597
  if (len == null || len > arr.length) len = arr.length;
12595
12598
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
12596
12599
  return arr2;
12597
12600
  }
12598
- function _array_with_holes$2$1(arr) {
12601
+ function _array_with_holes$2(arr) {
12599
12602
  if (Array.isArray(arr)) return arr;
12600
12603
  }
12601
12604
  function _class_call_check$e$1(instance, Constructor) {
@@ -12616,7 +12619,7 @@ function _create_class$e$1(Constructor, protoProps, staticProps) {
12616
12619
  _defineProperties$e$1(Constructor.prototype, protoProps);
12617
12620
  return Constructor;
12618
12621
  }
12619
- function _iterable_to_array_limit$2$1(arr, i) {
12622
+ function _iterable_to_array_limit$2(arr, i) {
12620
12623
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
12621
12624
  if (_i == null) return;
12622
12625
  var _arr = [];
@@ -12640,19 +12643,19 @@ function _iterable_to_array_limit$2$1(arr, i) {
12640
12643
  }
12641
12644
  return _arr;
12642
12645
  }
12643
- function _non_iterable_rest$2$1() {
12646
+ function _non_iterable_rest$2() {
12644
12647
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
12645
12648
  }
12646
- function _sliced_to_array$2$1(arr, i) {
12647
- return _array_with_holes$2$1(arr) || _iterable_to_array_limit$2$1(arr, i) || _unsupported_iterable_to_array$2$1(arr, i) || _non_iterable_rest$2$1();
12649
+ function _sliced_to_array$2(arr, i) {
12650
+ return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$2(arr, i) || _non_iterable_rest$2();
12648
12651
  }
12649
- function _unsupported_iterable_to_array$2$1(o, minLen) {
12652
+ function _unsupported_iterable_to_array$2(o, minLen) {
12650
12653
  if (!o) return;
12651
- if (typeof o === "string") return _array_like_to_array$2$1(o, minLen);
12654
+ if (typeof o === "string") return _array_like_to_array$2(o, minLen);
12652
12655
  var n = Object.prototype.toString.call(o).slice(8, -1);
12653
12656
  if (n === "Object" && o.constructor) n = o.constructor.name;
12654
12657
  if (n === "Map" || n === "Set") return Array.from(n);
12655
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2$1(o, minLen);
12658
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
12656
12659
  }
12657
12660
  /**
12658
12661
  * Represents a parser object that can parse an {@link IZFilter} from a string.
@@ -12674,7 +12677,7 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12674
12677
  * @throws
12675
12678
  * If there is a syntax error in candidate.
12676
12679
  */ function deserialize(candidate) {
12677
- var _this__parseFilter = _sliced_to_array$2$1(this._parseFilter(candidate), 2), filter = _this__parseFilter[0], rest = _this__parseFilter[1];
12680
+ var _this__parseFilter = _sliced_to_array$2(this._parseFilter(candidate), 2), filter = _this__parseFilter[0], rest = _this__parseFilter[1];
12678
12681
  if (trim$2(rest).length > 0) {
12679
12682
  throw new Error("Extraneous characters found at the end of the candidate filter: ".concat(rest));
12680
12683
  }
@@ -12684,7 +12687,7 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12684
12687
  {
12685
12688
  key: "_peelBetweenParens",
12686
12689
  value: function _peelBetweenParens(args) {
12687
- var _peelBetween = _sliced_to_array$2$1(peelBetween(args, "(", ")"), 2), argList = _peelBetween[0], rest = _peelBetween[1];
12690
+ var _peelBetween = _sliced_to_array$2(peelBetween(args, "(", ")"), 2), argList = _peelBetween[0], rest = _peelBetween[1];
12688
12691
  if (argList == null) {
12689
12692
  throw new Error("Unable to find opening and closing parenthesis for ".concat(args, ". Check syntax."));
12690
12693
  }
@@ -12698,7 +12701,7 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12698
12701
  key: "_splitArgs",
12699
12702
  value: function _splitArgs(operator, args, minArgs) {
12700
12703
  var maxArgs = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : minArgs;
12701
- var _this__peelBetweenParens = _sliced_to_array$2$1(this._peelBetweenParens(args), 2), argList = _this__peelBetweenParens[0], rest = _this__peelBetweenParens[1];
12704
+ var _this__peelBetweenParens = _sliced_to_array$2(this._peelBetweenParens(args), 2), argList = _this__peelBetweenParens[0], rest = _this__peelBetweenParens[1];
12702
12705
  var splitArgs = argList.split(",").filter(function(x) {
12703
12706
  return !!x;
12704
12707
  });
@@ -12721,8 +12724,8 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12721
12724
  {
12722
12725
  key: "_parseUnaryFilter",
12723
12726
  value: function _parseUnaryFilter(operator, args) {
12724
- var _this__splitArgs = _sliced_to_array$2$1(this._splitArgs(operator, args, 1), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
12725
- var _argList = _sliced_to_array$2$1(argList, 1), subject = _argList[0];
12727
+ var _this__splitArgs = _sliced_to_array$2(this._splitArgs(operator, args, 1), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
12728
+ var _argList = _sliced_to_array$2(argList, 1), subject = _argList[0];
12726
12729
  subject = trim$2(subject);
12727
12730
  return [
12728
12731
  new ZFilterUnaryBuilder().operator(operator).subject(subject).build(),
@@ -12733,8 +12736,8 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12733
12736
  {
12734
12737
  key: "_parseBinaryFilter",
12735
12738
  value: function _parseBinaryFilter(operator, args) {
12736
- var _this__splitArgs = _sliced_to_array$2$1(this._splitArgs(operator, args, 2), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
12737
- var _argList = _sliced_to_array$2$1(argList, 2), subject = _argList[0], value = _argList[1];
12739
+ var _this__splitArgs = _sliced_to_array$2(this._splitArgs(operator, args, 2), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
12740
+ var _argList = _sliced_to_array$2(argList, 2), subject = _argList[0], value = _argList[1];
12738
12741
  subject = trim$2(subject);
12739
12742
  value = JSON.parse(value);
12740
12743
  return [
@@ -12746,8 +12749,8 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12746
12749
  {
12747
12750
  key: "_parseCollectionFilter",
12748
12751
  value: function _parseCollectionFilter(operator, args) {
12749
- var _this__splitArgs = _sliced_to_array$2$1(this._splitArgs(operator, args, 1, Infinity), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
12750
- var _argList = _sliced_to_array$2$1(argList, 1), subject = _argList[0];
12752
+ var _this__splitArgs = _sliced_to_array$2(this._splitArgs(operator, args, 1, Infinity), 2), argList = _this__splitArgs[0], rest = _this__splitArgs[1];
12753
+ var _argList = _sliced_to_array$2(argList, 1), subject = _argList[0];
12751
12754
  subject = trim$2(subject);
12752
12755
  var values = argList.slice(1).map(function(a) {
12753
12756
  return JSON.parse(trim$2(a));
@@ -12762,14 +12765,14 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12762
12765
  key: "_parseLogicFilter",
12763
12766
  value: function _parseLogicFilter(operator, args) {
12764
12767
  var argsList = this._peelBetweenParens(trim$2(args));
12765
- var _argsList = _sliced_to_array$2$1(argsList, 1), remaining = _argsList[0];
12766
- var _argsList1 = _sliced_to_array$2$1(argsList, 2), rest = _argsList1[1];
12768
+ var _argsList = _sliced_to_array$2(argsList, 1), remaining = _argsList[0];
12769
+ var _argsList1 = _sliced_to_array$2(argsList, 2), rest = _argsList1[1];
12767
12770
  var builder = new ZFilterLogicBuilder().operator(operator);
12768
12771
  while(remaining){
12769
12772
  var split = this._parseFilter(remaining);
12770
- var _split = _sliced_to_array$2$1(split, 1), clause = _split[0];
12773
+ var _split = _sliced_to_array$2(split, 1), clause = _split[0];
12771
12774
  var ref;
12772
- ref = _sliced_to_array$2$1(split, 2), remaining = ref[1];
12775
+ ref = _sliced_to_array$2(split, 2), remaining = ref[1];
12773
12776
  remaining = trimStart(remaining, " ,");
12774
12777
  builder = builder.clause(clause);
12775
12778
  }
@@ -12782,7 +12785,7 @@ function _unsupported_iterable_to_array$2$1(o, minLen) {
12782
12785
  {
12783
12786
  key: "_parseFilter",
12784
12787
  value: function _parseFilter(candidate) {
12785
- var _peel = _sliced_to_array$2$1(peel(trim$2(candidate), ZOperatorsFilter), 2), operator = _peel[0], rest = _peel[1];
12788
+ var _peel = _sliced_to_array$2(peel(trim$2(candidate), ZOperatorsFilter), 2), operator = _peel[0], rest = _peel[1];
12786
12789
  if (isUnaryOperator(operator)) {
12787
12790
  return this._parseUnaryFilter(operator, rest);
12788
12791
  }
@@ -13141,12 +13144,12 @@ function _define_property$4$2(obj, key, value) {
13141
13144
  * A list of all sort directions.
13142
13145
  */ var ZSortDirections = values(ZSortDirection);
13143
13146
 
13144
- function _array_like_to_array$1$3(arr, len) {
13147
+ function _array_like_to_array$1$2(arr, len) {
13145
13148
  if (len == null || len > arr.length) len = arr.length;
13146
13149
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
13147
13150
  return arr2;
13148
13151
  }
13149
- function _array_with_holes$1$3(arr) {
13152
+ function _array_with_holes$1$2(arr) {
13150
13153
  if (Array.isArray(arr)) return arr;
13151
13154
  }
13152
13155
  function _class_call_check$5$1(instance, Constructor) {
@@ -13167,7 +13170,7 @@ function _create_class$5$1(Constructor, protoProps, staticProps) {
13167
13170
  _defineProperties$5$1(Constructor.prototype, protoProps);
13168
13171
  return Constructor;
13169
13172
  }
13170
- function _iterable_to_array_limit$1$3(arr, i) {
13173
+ function _iterable_to_array_limit$1$2(arr, i) {
13171
13174
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
13172
13175
  if (_i == null) return;
13173
13176
  var _arr = [];
@@ -13191,19 +13194,19 @@ function _iterable_to_array_limit$1$3(arr, i) {
13191
13194
  }
13192
13195
  return _arr;
13193
13196
  }
13194
- function _non_iterable_rest$1$3() {
13197
+ function _non_iterable_rest$1$2() {
13195
13198
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13196
13199
  }
13197
- function _sliced_to_array$1$3(arr, i) {
13198
- return _array_with_holes$1$3(arr) || _iterable_to_array_limit$1$3(arr, i) || _unsupported_iterable_to_array$1$3(arr, i) || _non_iterable_rest$1$3();
13200
+ function _sliced_to_array$1$2(arr, i) {
13201
+ return _array_with_holes$1$2(arr) || _iterable_to_array_limit$1$2(arr, i) || _unsupported_iterable_to_array$1$2(arr, i) || _non_iterable_rest$1$2();
13199
13202
  }
13200
- function _unsupported_iterable_to_array$1$3(o, minLen) {
13203
+ function _unsupported_iterable_to_array$1$2(o, minLen) {
13201
13204
  if (!o) return;
13202
- if (typeof o === "string") return _array_like_to_array$1$3(o, minLen);
13205
+ if (typeof o === "string") return _array_like_to_array$1$2(o, minLen);
13203
13206
  var n = Object.prototype.toString.call(o).slice(8, -1);
13204
13207
  if (n === "Object" && o.constructor) n = o.constructor.name;
13205
13208
  if (n === "Map" || n === "Set") return Array.from(n);
13206
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1$3(o, minLen);
13209
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1$2(o, minLen);
13207
13210
  }
13208
13211
  /**
13209
13212
  * A object that can deserialize an {@link IZSort} list from a string.
@@ -13217,15 +13220,15 @@ function _unsupported_iterable_to_array$1$3(o, minLen) {
13217
13220
  value: function deserialize(candidate) {
13218
13221
  // A sort candidate can be fully between parens to allow for multi sort
13219
13222
  // or can just be a single sort.
13220
- var _peelBetween = _sliced_to_array$1$3(peelBetween(trim$2(candidate), "(", ")"), 2), _candidate = _peelBetween[0], rest = _peelBetween[1];
13223
+ var _peelBetween = _sliced_to_array$1$2(peelBetween(trim$2(candidate), "(", ")"), 2), _candidate = _peelBetween[0], rest = _peelBetween[1];
13221
13224
  var $candidate = _candidate == null ? rest : _candidate;
13222
13225
  var builder = new ZSortBuilder();
13223
13226
  var remaining = $candidate;
13224
13227
  while(remaining){
13225
13228
  var strippedSort = this._parseSort(remaining);
13226
- var _strippedSort = _sliced_to_array$1$3(strippedSort, 1), sort = _strippedSort[0];
13229
+ var _strippedSort = _sliced_to_array$1$2(strippedSort, 1), sort = _strippedSort[0];
13227
13230
  var ref;
13228
- ref = _sliced_to_array$1$3(strippedSort, 2), remaining = ref[1];
13231
+ ref = _sliced_to_array$1$2(strippedSort, 2), remaining = ref[1];
13229
13232
  builder = builder.sort(sort);
13230
13233
  remaining = trimStart(remaining, ", ");
13231
13234
  }
@@ -13235,13 +13238,13 @@ function _unsupported_iterable_to_array$1$3(o, minLen) {
13235
13238
  {
13236
13239
  key: "_parseSort",
13237
13240
  value: function _parseSort(candidate) {
13238
- var _peel = _sliced_to_array$1$3(peel(candidate, ZSortDirections), 2), direction = _peel[0], rest = _peel[1];
13241
+ var _peel = _sliced_to_array$1$2(peel(candidate, ZSortDirections), 2), direction = _peel[0], rest = _peel[1];
13239
13242
  if (direction == null) {
13240
13243
  throw new Error("Cannot determine sort direction at ".concat(candidate));
13241
13244
  }
13242
13245
  var peeledSubject = peelBetween(rest, "(", ")");
13243
- var _peeledSubject = _sliced_to_array$1$3(peeledSubject, 1), subject = _peeledSubject[0];
13244
- var _peeledSubject1 = _sliced_to_array$1$3(peeledSubject, 2), remainingSortsToParse = _peeledSubject1[1];
13246
+ var _peeledSubject = _sliced_to_array$1$2(peeledSubject, 1), subject = _peeledSubject[0];
13247
+ var _peeledSubject1 = _sliced_to_array$1$2(peeledSubject, 2), remainingSortsToParse = _peeledSubject1[1];
13245
13248
  if (subject == null) {
13246
13249
  throw new Error("Cannot determine sort subject at ".concat(rest, "."));
13247
13250
  }
@@ -13312,12 +13315,12 @@ function _create_class$4$1(Constructor, protoProps, staticProps) {
13312
13315
  return ZSortSerialize;
13313
13316
  }();
13314
13317
 
13315
- function _class_call_check$2$3(instance, Constructor) {
13318
+ function _class_call_check$2$2(instance, Constructor) {
13316
13319
  if (!(instance instanceof Constructor)) {
13317
13320
  throw new TypeError("Cannot call a class as a function");
13318
13321
  }
13319
13322
  }
13320
- function _defineProperties$2$3(target, props) {
13323
+ function _defineProperties$2$2(target, props) {
13321
13324
  for(var i = 0; i < props.length; i++){
13322
13325
  var descriptor = props[i];
13323
13326
  descriptor.enumerable = descriptor.enumerable || false;
@@ -13326,11 +13329,11 @@ function _defineProperties$2$3(target, props) {
13326
13329
  Object.defineProperty(target, descriptor.key, descriptor);
13327
13330
  }
13328
13331
  }
13329
- function _create_class$2$3(Constructor, protoProps, staticProps) {
13330
- _defineProperties$2$3(Constructor.prototype, protoProps);
13332
+ function _create_class$2$2(Constructor, protoProps, staticProps) {
13333
+ _defineProperties$2$2(Constructor.prototype, protoProps);
13331
13334
  return Constructor;
13332
13335
  }
13333
- function _define_property$2$4(obj, key, value) {
13336
+ function _define_property$2$3(obj, key, value) {
13334
13337
  if (key in obj) {
13335
13338
  Object.defineProperty(obj, key, {
13336
13339
  value: value,
@@ -13347,11 +13350,11 @@ function _define_property$2$4(obj, key, value) {
13347
13350
  * Represents a builder for a data request.
13348
13351
  */ var ZDataRequestBuilder = /*#__PURE__*/ function() {
13349
13352
  function ZDataRequestBuilder() {
13350
- _class_call_check$2$3(this, ZDataRequestBuilder);
13351
- _define_property$2$4(this, "_request", void 0);
13353
+ _class_call_check$2$2(this, ZDataRequestBuilder);
13354
+ _define_property$2$3(this, "_request", void 0);
13352
13355
  this._request = {};
13353
13356
  }
13354
- _create_class$2$3(ZDataRequestBuilder, [
13357
+ _create_class$2$2(ZDataRequestBuilder, [
13355
13358
  {
13356
13359
  key: "page",
13357
13360
  value: /**
@@ -13516,12 +13519,12 @@ function _define_property$2$4(obj, key, value) {
13516
13519
  return ZDataRequestBuilder;
13517
13520
  }();
13518
13521
 
13519
- function _class_call_check$1$4(instance, Constructor) {
13522
+ function _class_call_check$1$3(instance, Constructor) {
13520
13523
  if (!(instance instanceof Constructor)) {
13521
13524
  throw new TypeError("Cannot call a class as a function");
13522
13525
  }
13523
13526
  }
13524
- function _defineProperties$1$4(target, props) {
13527
+ function _defineProperties$1$3(target, props) {
13525
13528
  for(var i = 0; i < props.length; i++){
13526
13529
  var descriptor = props[i];
13527
13530
  descriptor.enumerable = descriptor.enumerable || false;
@@ -13530,11 +13533,11 @@ function _defineProperties$1$4(target, props) {
13530
13533
  Object.defineProperty(target, descriptor.key, descriptor);
13531
13534
  }
13532
13535
  }
13533
- function _create_class$1$4(Constructor, protoProps, staticProps) {
13534
- _defineProperties$1$4(Constructor.prototype, protoProps);
13536
+ function _create_class$1$3(Constructor, protoProps, staticProps) {
13537
+ _defineProperties$1$3(Constructor.prototype, protoProps);
13535
13538
  return Constructor;
13536
13539
  }
13537
- function _define_property$1$4(obj, key, value) {
13540
+ function _define_property$1$3(obj, key, value) {
13538
13541
  if (key in obj) {
13539
13542
  Object.defineProperty(obj, key, {
13540
13543
  value: value,
@@ -13547,7 +13550,7 @@ function _define_property$1$4(obj, key, value) {
13547
13550
  }
13548
13551
  return obj;
13549
13552
  }
13550
- function _object_spread$c(target) {
13553
+ function _object_spread$a(target) {
13551
13554
  for(var i = 1; i < arguments.length; i++){
13552
13555
  var source = arguments[i] != null ? arguments[i] : {};
13553
13556
  var ownKeys = Object.keys(source);
@@ -13557,7 +13560,7 @@ function _object_spread$c(target) {
13557
13560
  }));
13558
13561
  }
13559
13562
  ownKeys.forEach(function(key) {
13560
- _define_property$1$4(target, key, source[key]);
13563
+ _define_property$1$3(target, key, source[key]);
13561
13564
  });
13562
13565
  }
13563
13566
  return target;
@@ -13566,15 +13569,15 @@ function _object_spread$c(target) {
13566
13569
  * A builder for a {@link IZDataSourceStaticOptions} object.
13567
13570
  */ var ZDataSourceStaticOptionsBuilder = /*#__PURE__*/ function() {
13568
13571
  function ZDataSourceStaticOptionsBuilder() {
13569
- _class_call_check$1$4(this, ZDataSourceStaticOptionsBuilder);
13570
- _define_property$1$4(this, "_options", void 0);
13572
+ _class_call_check$1$3(this, ZDataSourceStaticOptionsBuilder);
13573
+ _define_property$1$3(this, "_options", void 0);
13571
13574
  this._options = {
13572
13575
  search: new ZDataMatchAlways(),
13573
13576
  filter: new ZDataFilterFields(),
13574
13577
  delay: 0
13575
13578
  };
13576
13579
  }
13577
- _create_class$1$4(ZDataSourceStaticOptionsBuilder, [
13580
+ _create_class$1$3(ZDataSourceStaticOptionsBuilder, [
13578
13581
  {
13579
13582
  key: "search",
13580
13583
  value: /**
@@ -13637,7 +13640,7 @@ function _object_spread$c(target) {
13637
13640
  * @returns
13638
13641
  * A shallow copy of the built options.
13639
13642
  */ function build() {
13640
- return _object_spread$c({}, this._options);
13643
+ return _object_spread$a({}, this._options);
13641
13644
  }
13642
13645
  }
13643
13646
  ]);
@@ -14187,15 +14190,15 @@ function _ts_generator$t(thisArg, body) {
14187
14190
  return ZDataSourceStatic;
14188
14191
  }();
14189
14192
 
14190
- function _array_like_to_array$4$2(arr, len) {
14193
+ function _array_like_to_array$4$1(arr, len) {
14191
14194
  if (len == null || len > arr.length) len = arr.length;
14192
14195
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14193
14196
  return arr2;
14194
14197
  }
14195
- function _array_with_holes$4$2(arr) {
14198
+ function _array_with_holes$4$1(arr) {
14196
14199
  if (Array.isArray(arr)) return arr;
14197
14200
  }
14198
- function _iterable_to_array_limit$4$2(arr, i) {
14201
+ function _iterable_to_array_limit$4$1(arr, i) {
14199
14202
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14200
14203
  if (_i == null) return;
14201
14204
  var _arr = [];
@@ -14219,19 +14222,19 @@ function _iterable_to_array_limit$4$2(arr, i) {
14219
14222
  }
14220
14223
  return _arr;
14221
14224
  }
14222
- function _non_iterable_rest$4$2() {
14225
+ function _non_iterable_rest$4$1() {
14223
14226
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14224
14227
  }
14225
- function _sliced_to_array$4$2(arr, i) {
14226
- return _array_with_holes$4$2(arr) || _iterable_to_array_limit$4$2(arr, i) || _unsupported_iterable_to_array$4$2(arr, i) || _non_iterable_rest$4$2();
14228
+ function _sliced_to_array$4$1(arr, i) {
14229
+ return _array_with_holes$4$1(arr) || _iterable_to_array_limit$4$1(arr, i) || _unsupported_iterable_to_array$4$1(arr, i) || _non_iterable_rest$4$1();
14227
14230
  }
14228
- function _unsupported_iterable_to_array$4$2(o, minLen) {
14231
+ function _unsupported_iterable_to_array$4$1(o, minLen) {
14229
14232
  if (!o) return;
14230
- if (typeof o === "string") return _array_like_to_array$4$2(o, minLen);
14233
+ if (typeof o === "string") return _array_like_to_array$4$1(o, minLen);
14231
14234
  var n = Object.prototype.toString.call(o).slice(8, -1);
14232
14235
  if (n === "Object" && o.constructor) n = o.constructor.name;
14233
14236
  if (n === "Map" || n === "Set") return Array.from(n);
14234
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4$2(o, minLen);
14237
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4$1(o, minLen);
14235
14238
  }
14236
14239
  /**
14237
14240
  * A type of state where the value is used from the props in the case of them being set.
@@ -14256,7 +14259,7 @@ function _unsupported_iterable_to_array$4$2(o, minLen) {
14256
14259
  * A tuple where the first item is the current state and the 2nd item is a mutator
14257
14260
  * method to modify the state.
14258
14261
  */ function useAmbassadorState(current, setCurrent, initial) {
14259
- var _useState = _sliced_to_array$4$2(reactExports.useState(current || initial), 2), localCurrent = _useState[0], setLocalCurrent = _useState[1];
14262
+ var _useState = _sliced_to_array$4$1(reactExports.useState(current || initial), 2), localCurrent = _useState[0], setLocalCurrent = _useState[1];
14260
14263
  var _current = current === undefined ? localCurrent : current;
14261
14264
  var _setCurrent = function(val) {
14262
14265
  setLocalCurrent(val);
@@ -14277,12 +14280,12 @@ function _unsupported_iterable_to_array$4$2(o, minLen) {
14277
14280
  ];
14278
14281
  }
14279
14282
 
14280
- function _array_like_to_array$3$2(arr, len) {
14283
+ function _array_like_to_array$3$1(arr, len) {
14281
14284
  if (len == null || len > arr.length) len = arr.length;
14282
14285
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14283
14286
  return arr2;
14284
14287
  }
14285
- function _array_with_holes$3$2(arr) {
14288
+ function _array_with_holes$3$1(arr) {
14286
14289
  if (Array.isArray(arr)) return arr;
14287
14290
  }
14288
14291
  function asyncGeneratorStep$s(gen, resolve, reject, _next, _throw, key, arg) {
@@ -14321,7 +14324,7 @@ function _instanceof$2(left, right) {
14321
14324
  return left instanceof right;
14322
14325
  }
14323
14326
  }
14324
- function _iterable_to_array_limit$3$2(arr, i) {
14327
+ function _iterable_to_array_limit$3$1(arr, i) {
14325
14328
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14326
14329
  if (_i == null) return;
14327
14330
  var _arr = [];
@@ -14345,19 +14348,19 @@ function _iterable_to_array_limit$3$2(arr, i) {
14345
14348
  }
14346
14349
  return _arr;
14347
14350
  }
14348
- function _non_iterable_rest$3$2() {
14351
+ function _non_iterable_rest$3$1() {
14349
14352
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14350
14353
  }
14351
- function _sliced_to_array$3$2(arr, i) {
14352
- return _array_with_holes$3$2(arr) || _iterable_to_array_limit$3$2(arr, i) || _unsupported_iterable_to_array$3$2(arr, i) || _non_iterable_rest$3$2();
14354
+ function _sliced_to_array$3$1(arr, i) {
14355
+ return _array_with_holes$3$1(arr) || _iterable_to_array_limit$3$1(arr, i) || _unsupported_iterable_to_array$3$1(arr, i) || _non_iterable_rest$3$1();
14353
14356
  }
14354
- function _unsupported_iterable_to_array$3$2(o, minLen) {
14357
+ function _unsupported_iterable_to_array$3$1(o, minLen) {
14355
14358
  if (!o) return;
14356
- if (typeof o === "string") return _array_like_to_array$3$2(o, minLen);
14359
+ if (typeof o === "string") return _array_like_to_array$3$1(o, minLen);
14357
14360
  var n = Object.prototype.toString.call(o).slice(8, -1);
14358
14361
  if (n === "Object" && o.constructor) n = o.constructor.name;
14359
14362
  if (n === "Map" || n === "Set") return Array.from(n);
14360
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3$2(o, minLen);
14363
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3$1(o, minLen);
14361
14364
  }
14362
14365
  function _ts_generator$s(thisArg, body) {
14363
14366
  var f, y, t, _ = {
@@ -14468,7 +14471,7 @@ function _ts_generator$s(thisArg, body) {
14468
14471
  * the 2nd argument is a refresh function to refresh the data.
14469
14472
  */ function useAsyncState(load) {
14470
14473
  var deps = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
14471
- var _useState = _sliced_to_array$3$2(reactExports.useState(ZAsyncLoading), 2), current = _useState[0], setCurrent = _useState[1];
14474
+ var _useState = _sliced_to_array$3$1(reactExports.useState(ZAsyncLoading), 2), current = _useState[0], setCurrent = _useState[1];
14472
14475
  var subscription = reactExports.useRef(new Subscription());
14473
14476
  var _refresh = function() {
14474
14477
  subscription.current.unsubscribe();
@@ -14737,15 +14740,15 @@ function _define_property$s(obj, key, value) {
14737
14740
  };
14738
14741
  }
14739
14742
 
14740
- function _array_like_to_array$1$2(arr, len) {
14743
+ function _array_like_to_array$1$1(arr, len) {
14741
14744
  if (len == null || len > arr.length) len = arr.length;
14742
14745
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
14743
14746
  return arr2;
14744
14747
  }
14745
- function _array_with_holes$1$2(arr) {
14748
+ function _array_with_holes$1$1(arr) {
14746
14749
  if (Array.isArray(arr)) return arr;
14747
14750
  }
14748
- function _iterable_to_array_limit$1$2(arr, i) {
14751
+ function _iterable_to_array_limit$1$1(arr, i) {
14749
14752
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
14750
14753
  if (_i == null) return;
14751
14754
  var _arr = [];
@@ -14769,19 +14772,19 @@ function _iterable_to_array_limit$1$2(arr, i) {
14769
14772
  }
14770
14773
  return _arr;
14771
14774
  }
14772
- function _non_iterable_rest$1$2() {
14775
+ function _non_iterable_rest$1$1() {
14773
14776
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14774
14777
  }
14775
- function _sliced_to_array$1$2(arr, i) {
14776
- return _array_with_holes$1$2(arr) || _iterable_to_array_limit$1$2(arr, i) || _unsupported_iterable_to_array$1$2(arr, i) || _non_iterable_rest$1$2();
14778
+ function _sliced_to_array$1$1(arr, i) {
14779
+ return _array_with_holes$1$1(arr) || _iterable_to_array_limit$1$1(arr, i) || _unsupported_iterable_to_array$1$1(arr, i) || _non_iterable_rest$1$1();
14777
14780
  }
14778
- function _unsupported_iterable_to_array$1$2(o, minLen) {
14781
+ function _unsupported_iterable_to_array$1$1(o, minLen) {
14779
14782
  if (!o) return;
14780
- if (typeof o === "string") return _array_like_to_array$1$2(o, minLen);
14783
+ if (typeof o === "string") return _array_like_to_array$1$1(o, minLen);
14781
14784
  var n = Object.prototype.toString.call(o).slice(8, -1);
14782
14785
  if (n === "Object" && o.constructor) n = o.constructor.name;
14783
14786
  if (n === "Map" || n === "Set") return Array.from(n);
14784
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1$2(o, minLen);
14787
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1$1(o, minLen);
14785
14788
  }
14786
14789
  /**
14787
14790
  * A type of view that loads the next set of data in batches.
@@ -14803,9 +14806,9 @@ function _unsupported_iterable_to_array$1$2(o, minLen) {
14803
14806
  * The current view, last result, page number, and batch size.
14804
14807
  * Also returns the method to load the next batch.
14805
14808
  */ function useMoreViewState(source, template) {
14806
- var _useState = _sliced_to_array$1$2(reactExports.useState([]), 2), view = _useState[0], setView = _useState[1];
14807
- var _useState1 = _sliced_to_array$1$2(reactExports.useState(ZAsyncLoading), 2), last = _useState1[0], setLast = _useState1[1];
14808
- var _useState2 = _sliced_to_array$1$2(reactExports.useState(false), 2), complete = _useState2[0], setComplete = _useState2[1];
14809
+ var _useState = _sliced_to_array$1$1(reactExports.useState([]), 2), view = _useState[0], setView = _useState[1];
14810
+ var _useState1 = _sliced_to_array$1$1(reactExports.useState(ZAsyncLoading), 2), last = _useState1[0], setLast = _useState1[1];
14811
+ var _useState2 = _sliced_to_array$1$1(reactExports.useState(false), 2), complete = _useState2[0], setComplete = _useState2[1];
14809
14812
  var nextRequest = reactExports.useRef(new ZDataRequestBuilder().copy(template).page(1).build());
14810
14813
  var _count = reactExports.useRef(null);
14811
14814
  var subscription = reactExports.useRef(undefined);
@@ -14825,7 +14828,7 @@ function _unsupported_iterable_to_array$1$2(o, minLen) {
14825
14828
  ]);
14826
14829
  }).subscribe({
14827
14830
  next: function(param) {
14828
- var _param = _sliced_to_array$1$2(param, 2), count = _param[0], page = _param[1];
14831
+ var _param = _sliced_to_array$1$1(param, 2), count = _param[0], page = _param[1];
14829
14832
  nextRequest.current = new ZDataRequestBuilder().copy(nextRequest.current).page(nextRequest.current.page + 1).build();
14830
14833
  setComplete(page.length + view.length >= count);
14831
14834
  setView(function(v) {
@@ -18911,7 +18914,7 @@ const URLParse = /*@__PURE__*/getDefaultExportFromCjs(urlParseExports);
18911
18914
  return ZMimeTypeText;
18912
18915
  }({});
18913
18916
 
18914
- function _define_property$2$3(obj, key, value) {
18917
+ function _define_property$2$2(obj, key, value) {
18915
18918
  if (key in obj) {
18916
18919
  Object.defineProperty(obj, key, {
18917
18920
  value: value,
@@ -18934,7 +18937,7 @@ function _object_spread$1$1(target) {
18934
18937
  }));
18935
18938
  }
18936
18939
  ownKeys.forEach(function(key) {
18937
- _define_property$2$3(target, key, source[key]);
18940
+ _define_property$2$2(target, key, source[key]);
18938
18941
  });
18939
18942
  }
18940
18943
  return target;
@@ -18945,23 +18948,23 @@ function _object_spread$1$1(target) {
18945
18948
  "": "text/plain;charset=ASCII"
18946
18949
  }, keyBy(Object.values(ZMimeTypeApplication)), keyBy(Object.values(ZMimeTypeText)), keyBy(Object.values(ZMimeTypeImage))));
18947
18950
 
18948
- function _array_like_to_array$5(arr, len) {
18951
+ function _array_like_to_array(arr, len) {
18949
18952
  if (len == null || len > arr.length) len = arr.length;
18950
18953
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
18951
18954
  return arr2;
18952
18955
  }
18953
- function _array_with_holes$5(arr) {
18956
+ function _array_with_holes(arr) {
18954
18957
  if (Array.isArray(arr)) return arr;
18955
18958
  }
18956
18959
  function _array_without_holes(arr) {
18957
- if (Array.isArray(arr)) return _array_like_to_array$5(arr);
18960
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
18958
18961
  }
18959
- function _class_call_check$1$3(instance, Constructor) {
18962
+ function _class_call_check$1$2(instance, Constructor) {
18960
18963
  if (!(instance instanceof Constructor)) {
18961
18964
  throw new TypeError("Cannot call a class as a function");
18962
18965
  }
18963
18966
  }
18964
- function _defineProperties$1$3(target, props) {
18967
+ function _defineProperties$1$2(target, props) {
18965
18968
  for(var i = 0; i < props.length; i++){
18966
18969
  var descriptor = props[i];
18967
18970
  descriptor.enumerable = descriptor.enumerable || false;
@@ -18970,11 +18973,11 @@ function _defineProperties$1$3(target, props) {
18970
18973
  Object.defineProperty(target, descriptor.key, descriptor);
18971
18974
  }
18972
18975
  }
18973
- function _create_class$1$3(Constructor, protoProps, staticProps) {
18974
- if (protoProps) _defineProperties$1$3(Constructor.prototype, protoProps);
18976
+ function _create_class$1$2(Constructor, protoProps, staticProps) {
18977
+ if (protoProps) _defineProperties$1$2(Constructor.prototype, protoProps);
18975
18978
  return Constructor;
18976
18979
  }
18977
- function _define_property$1$3(obj, key, value) {
18980
+ function _define_property$1$2(obj, key, value) {
18978
18981
  if (key in obj) {
18979
18982
  Object.defineProperty(obj, key, {
18980
18983
  value: value,
@@ -18990,13 +18993,13 @@ function _define_property$1$3(obj, key, value) {
18990
18993
  function _iterable_to_array(iter) {
18991
18994
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
18992
18995
  }
18993
- function _non_iterable_rest$5() {
18996
+ function _non_iterable_rest() {
18994
18997
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
18995
18998
  }
18996
18999
  function _non_iterable_spread() {
18997
19000
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
18998
19001
  }
18999
- function _object_spread$a(target) {
19002
+ function _object_spread$3(target) {
19000
19003
  for(var i = 1; i < arguments.length; i++){
19001
19004
  var source = arguments[i] != null ? arguments[i] : {};
19002
19005
  var ownKeys = Object.keys(source);
@@ -19006,41 +19009,41 @@ function _object_spread$a(target) {
19006
19009
  }));
19007
19010
  }
19008
19011
  ownKeys.forEach(function(key) {
19009
- _define_property$1$3(target, key, source[key]);
19012
+ _define_property$1$2(target, key, source[key]);
19010
19013
  });
19011
19014
  }
19012
19015
  return target;
19013
19016
  }
19014
19017
  function _to_array(arr) {
19015
- return _array_with_holes$5(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_rest$5();
19018
+ return _array_with_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_rest();
19016
19019
  }
19017
19020
  function _to_consumable_array(arr) {
19018
- return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array$5(arr) || _non_iterable_spread();
19021
+ return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
19019
19022
  }
19020
- function _unsupported_iterable_to_array$5(o, minLen) {
19023
+ function _unsupported_iterable_to_array(o, minLen) {
19021
19024
  if (!o) return;
19022
- if (typeof o === "string") return _array_like_to_array$5(o, minLen);
19025
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
19023
19026
  var n = Object.prototype.toString.call(o).slice(8, -1);
19024
19027
  if (n === "Object" && o.constructor) n = o.constructor.name;
19025
19028
  if (n === "Map" || n === "Set") return Array.from(n);
19026
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$5(o, minLen);
19029
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
19027
19030
  }
19028
19031
  /**
19029
19032
  * Represents an object that is helpful in building a data url with support
19030
19033
  * for data encoding.
19031
19034
  */ var ZDataUrlBuilder = /*#__PURE__*/ function() {
19032
19035
  function ZDataUrlBuilder() {
19033
- _class_call_check$1$3(this, ZDataUrlBuilder);
19036
+ _class_call_check$1$2(this, ZDataUrlBuilder);
19034
19037
  /**
19035
19038
  * The representation of the data url object.
19036
- */ _define_property$1$3(this, "_data", void 0);
19039
+ */ _define_property$1$2(this, "_data", void 0);
19037
19040
  this._data = {
19038
19041
  mimeType: "",
19039
19042
  encoding: "utf8",
19040
19043
  buffer: new Uint8Array([])
19041
19044
  };
19042
19045
  }
19043
- _create_class$1$3(ZDataUrlBuilder, [
19046
+ _create_class$1$2(ZDataUrlBuilder, [
19044
19047
  {
19045
19048
  key: "parse",
19046
19049
  value: /**
@@ -19175,7 +19178,7 @@ function _unsupported_iterable_to_array$5(o, minLen) {
19175
19178
  *
19176
19179
  * @returns The current information about the url being built.
19177
19180
  */ function info() {
19178
- var other = _object_spread$a({}, this._data);
19181
+ var other = _object_spread$3({}, this._data);
19179
19182
  other.buffer = this._data.buffer.slice();
19180
19183
  return other;
19181
19184
  }
@@ -20441,12 +20444,12 @@ function requireBrowserPonyfill () {
20441
20444
  var browserPonyfillExports = requireBrowserPonyfill();
20442
20445
  const fetch$1 = /*@__PURE__*/getDefaultExportFromCjs(browserPonyfillExports);
20443
20446
 
20444
- function _class_call_check$3$2(instance, Constructor) {
20447
+ function _class_call_check$3$1(instance, Constructor) {
20445
20448
  if (!(instance instanceof Constructor)) {
20446
20449
  throw new TypeError("Cannot call a class as a function");
20447
20450
  }
20448
20451
  }
20449
- function _defineProperties$3$2(target, props) {
20452
+ function _defineProperties$3$1(target, props) {
20450
20453
  for(var i = 0; i < props.length; i++){
20451
20454
  var descriptor = props[i];
20452
20455
  descriptor.enumerable = descriptor.enumerable || false;
@@ -20455,9 +20458,9 @@ function _defineProperties$3$2(target, props) {
20455
20458
  Object.defineProperty(target, descriptor.key, descriptor);
20456
20459
  }
20457
20460
  }
20458
- function _create_class$3$2(Constructor, protoProps, staticProps) {
20459
- if (protoProps) _defineProperties$3$2(Constructor.prototype, protoProps);
20460
- if (staticProps) _defineProperties$3$2(Constructor, staticProps);
20461
+ function _create_class$3$1(Constructor, protoProps, staticProps) {
20462
+ if (protoProps) _defineProperties$3$1(Constructor.prototype, protoProps);
20463
+ if (staticProps) _defineProperties$3$1(Constructor, staticProps);
20461
20464
  return Constructor;
20462
20465
  }
20463
20466
  function _define_property$7$1(obj, key, value) {
@@ -20488,7 +20491,7 @@ function _object_spread$1(target) {
20488
20491
  }
20489
20492
  return target;
20490
20493
  }
20491
- function ownKeys$1(object, enumerableOnly) {
20494
+ function ownKeys(object, enumerableOnly) {
20492
20495
  var keys = Object.keys(object);
20493
20496
  if (Object.getOwnPropertySymbols) {
20494
20497
  var symbols = Object.getOwnPropertySymbols(object);
@@ -20496,12 +20499,12 @@ function ownKeys$1(object, enumerableOnly) {
20496
20499
  }
20497
20500
  return keys;
20498
20501
  }
20499
- function _object_spread_props$1(target, source) {
20502
+ function _object_spread_props(target, source) {
20500
20503
  source = source != null ? source : {};
20501
20504
  if (Object.getOwnPropertyDescriptors) {
20502
20505
  Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
20503
20506
  } else {
20504
- ownKeys$1(Object(source)).forEach(function(key) {
20507
+ ownKeys(Object(source)).forEach(function(key) {
20505
20508
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
20506
20509
  });
20507
20510
  }
@@ -20511,7 +20514,7 @@ function _object_spread_props$1(target, source) {
20511
20514
  * Represents a builder for an http request.
20512
20515
  */ var ZHttpRequestBuilder = /*#__PURE__*/ function() {
20513
20516
  function ZHttpRequestBuilder() {
20514
- _class_call_check$3$2(this, ZHttpRequestBuilder);
20517
+ _class_call_check$3$1(this, ZHttpRequestBuilder);
20515
20518
  _define_property$7$1(this, "_request", void 0);
20516
20519
  /**
20517
20520
  * Sets the content type to json.
@@ -20524,7 +20527,7 @@ function _object_spread_props$1(target, source) {
20524
20527
  url: ""
20525
20528
  };
20526
20529
  }
20527
- _create_class$3$2(ZHttpRequestBuilder, [
20530
+ _create_class$3$1(ZHttpRequestBuilder, [
20528
20531
  {
20529
20532
  key: "_method",
20530
20533
  value: /**
@@ -20746,7 +20749,7 @@ function _object_spread_props$1(target, source) {
20746
20749
  * @returns
20747
20750
  * The duplicated object.
20748
20751
  */ function duplicate(other) {
20749
- return _object_spread_props$1(_object_spread$1({}, other), {
20752
+ return _object_spread_props(_object_spread$1({}, other), {
20750
20753
  headers: structuredClone(other.headers)
20751
20754
  });
20752
20755
  }
@@ -20996,7 +20999,7 @@ var _obj1$2;
20996
20999
  * is a temporary or permanent condition. Likewise, user agents should
20997
21000
  * display any included entity to the user. These response codes are applicable
20998
21001
  * to any request method.
20999
- */ function _define_property$3$2(obj, key, value) {
21002
+ */ function _define_property$3$1(obj, key, value) {
21000
21003
  if (key in obj) {
21001
21004
  Object.defineProperty(obj, key, {
21002
21005
  value: value,
@@ -21055,16 +21058,16 @@ var ZHttpCodeServer = /*#__PURE__*/ function(ZHttpCodeServer) {
21055
21058
  var _obj$1;
21056
21059
  /**
21057
21060
  * English friendly names of the server codes.
21058
- */ var ZHttpCodeServerNames = (_obj$1 = {}, _define_property$3$2(_obj$1, 500, "Internal Server Error"), _define_property$3$2(_obj$1, 501, "Not Implemented"), _define_property$3$2(_obj$1, 502, "Bad Gateway"), _define_property$3$2(_obj$1, 503, "Service Unavailable"), _define_property$3$2(_obj$1, 504, "Gateway Timeout"), _define_property$3$2(_obj$1, 505, "HTTP Version Not Supported"), _define_property$3$2(_obj$1, 506, "Variant Also Negotiates"), _define_property$3$2(_obj$1, 507, "Insufficient Storage"), _define_property$3$2(_obj$1, 508, "Loop Detected"), _define_property$3$2(_obj$1, 510, "Not Extended"), _define_property$3$2(_obj$1, 511, "Network Authentication Required"), _obj$1);
21061
+ */ var ZHttpCodeServerNames = (_obj$1 = {}, _define_property$3$1(_obj$1, 500, "Internal Server Error"), _define_property$3$1(_obj$1, 501, "Not Implemented"), _define_property$3$1(_obj$1, 502, "Bad Gateway"), _define_property$3$1(_obj$1, 503, "Service Unavailable"), _define_property$3$1(_obj$1, 504, "Gateway Timeout"), _define_property$3$1(_obj$1, 505, "HTTP Version Not Supported"), _define_property$3$1(_obj$1, 506, "Variant Also Negotiates"), _define_property$3$1(_obj$1, 507, "Insufficient Storage"), _define_property$3$1(_obj$1, 508, "Loop Detected"), _define_property$3$1(_obj$1, 510, "Not Extended"), _define_property$3$1(_obj$1, 511, "Network Authentication Required"), _obj$1);
21059
21062
  var _obj1$1;
21060
21063
  /**
21061
21064
  * English friendly names of the server codes.
21062
- */ var ZHttpCodeServerDescriptions = (_obj1$1 = {}, _define_property$3$2(_obj1$1, 500, "An unexpected condition was encountered on the server."), _define_property$3$2(_obj1$1, 501, "The server either does not recognize the request method, or it lacks the ability to fulfil the request. Usually this implies future availability (e.g., a new feature of a web-service API)."), _define_property$3$2(_obj1$1, 502, " The server was acting as a gateway or proxy and received an invalid response from the upstream server."), _define_property$3$2(_obj1$1, 503, "The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state."), _define_property$3$2(_obj1$1, 504, "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server."), _define_property$3$2(_obj1$1, 505, "The server does not support the HTTP protocol version used in the request."), _define_property$3$2(_obj1$1, 506, " Transparent content negotiation for the request results in a circular reference."), _define_property$3$2(_obj1$1, 507, "The server is unable to store the representation needed to complete the request."), _define_property$3$2(_obj1$1, 508, "The server detected an infinite loop while processing the request."), _define_property$3$2(_obj1$1, 510, "Further extensions to the request are required for the server to fulfil it."), _define_property$3$2(_obj1$1, 511, "The client needs to authenticate to gain network access."), _obj1$1);
21065
+ */ var ZHttpCodeServerDescriptions = (_obj1$1 = {}, _define_property$3$1(_obj1$1, 500, "An unexpected condition was encountered on the server."), _define_property$3$1(_obj1$1, 501, "The server either does not recognize the request method, or it lacks the ability to fulfil the request. Usually this implies future availability (e.g., a new feature of a web-service API)."), _define_property$3$1(_obj1$1, 502, " The server was acting as a gateway or proxy and received an invalid response from the upstream server."), _define_property$3$1(_obj1$1, 503, "The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state."), _define_property$3$1(_obj1$1, 504, "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server."), _define_property$3$1(_obj1$1, 505, "The server does not support the HTTP protocol version used in the request."), _define_property$3$1(_obj1$1, 506, " Transparent content negotiation for the request results in a circular reference."), _define_property$3$1(_obj1$1, 507, "The server is unable to store the representation needed to complete the request."), _define_property$3$1(_obj1$1, 508, "The server detected an infinite loop while processing the request."), _define_property$3$1(_obj1$1, 510, "Further extensions to the request are required for the server to fulfil it."), _define_property$3$1(_obj1$1, 511, "The client needs to authenticate to gain network access."), _obj1$1);
21063
21066
 
21064
21067
  /**
21065
21068
  * This class of status codes indicates the action requested by
21066
21069
  * the client was received, understood and accepted.
21067
- */ function _define_property$2$2(obj, key, value) {
21070
+ */ function _define_property$2$1(obj, key, value) {
21068
21071
  if (key in obj) {
21069
21072
  Object.defineProperty(obj, key, {
21070
21073
  value: value,
@@ -21130,11 +21133,11 @@ var ZHttpCodeSuccess = /*#__PURE__*/ function(ZHttpCodeSuccess) {
21130
21133
  var _obj$5;
21131
21134
  /**
21132
21135
  * Friendly english names of success codes.
21133
- */ var ZHttpCodeSuccessNames = (_obj$5 = {}, _define_property$2$2(_obj$5, 200, "OK"), _define_property$2$2(_obj$5, 201, "Created"), _define_property$2$2(_obj$5, 202, "Accepted"), _define_property$2$2(_obj$5, 203, "Non-Authoritative Information"), _define_property$2$2(_obj$5, 204, "No Content"), _define_property$2$2(_obj$5, 205, "Reset Content"), _define_property$2$2(_obj$5, 206, "Partial Content"), _define_property$2$2(_obj$5, 207, "Multi Status"), _define_property$2$2(_obj$5, 208, "Already Reported"), _define_property$2$2(_obj$5, 226, "IM Used"), _obj$5);
21136
+ */ var ZHttpCodeSuccessNames = (_obj$5 = {}, _define_property$2$1(_obj$5, 200, "OK"), _define_property$2$1(_obj$5, 201, "Created"), _define_property$2$1(_obj$5, 202, "Accepted"), _define_property$2$1(_obj$5, 203, "Non-Authoritative Information"), _define_property$2$1(_obj$5, 204, "No Content"), _define_property$2$1(_obj$5, 205, "Reset Content"), _define_property$2$1(_obj$5, 206, "Partial Content"), _define_property$2$1(_obj$5, 207, "Multi Status"), _define_property$2$1(_obj$5, 208, "Already Reported"), _define_property$2$1(_obj$5, 226, "IM Used"), _obj$5);
21134
21137
  var _obj1$5;
21135
21138
  /**
21136
21139
  * Friendly english descriptions of success codes.
21137
- */ var ZHttpCodeSuccessDescriptions = (_obj1$5 = {}, _define_property$2$2(_obj1$5, 200, "The request was successful."), _define_property$2$2(_obj1$5, 201, "The request has been fulfilled, resulting in the creation of a new resource."), _define_property$2$2(_obj1$5, 202, "The request has been accepted for processing, but the processing has not been completed."), _define_property$2$2(_obj1$5, 203, "The server is a transforming proxy that received an OK from its origin,but is returning a modified version of the response."), _define_property$2$2(_obj1$5, 204, "The server successfully processed the request and is not returning any content."), _define_property$2$2(_obj1$5, 205, "The server successfully processed the request, but is not returning any content. The document view must be refreshed."), _define_property$2$2(_obj1$5, 206, "he server is delivering only part of the resource due to a range header sent by the client."), _define_property$2$2(_obj1$5, 207, "The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made."), _define_property$2$2(_obj1$5, 208, "The members of a DAV binding have already been enumerated in a preceding part of the response, and are not being included again."), _define_property$2$2(_obj1$5, 226, "The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance."), _obj1$5);
21140
+ */ var ZHttpCodeSuccessDescriptions = (_obj1$5 = {}, _define_property$2$1(_obj1$5, 200, "The request was successful."), _define_property$2$1(_obj1$5, 201, "The request has been fulfilled, resulting in the creation of a new resource."), _define_property$2$1(_obj1$5, 202, "The request has been accepted for processing, but the processing has not been completed."), _define_property$2$1(_obj1$5, 203, "The server is a transforming proxy that received an OK from its origin,but is returning a modified version of the response."), _define_property$2$1(_obj1$5, 204, "The server successfully processed the request and is not returning any content."), _define_property$2$1(_obj1$5, 205, "The server successfully processed the request, but is not returning any content. The document view must be refreshed."), _define_property$2$1(_obj1$5, 206, "he server is delivering only part of the resource due to a range header sent by the client."), _define_property$2$1(_obj1$5, 207, "The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made."), _define_property$2$1(_obj1$5, 208, "The members of a DAV binding have already been enumerated in a preceding part of the response, and are not being included again."), _define_property$2$1(_obj1$5, 226, "The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance."), _obj1$5);
21138
21141
  /**
21139
21142
  * Gets the english friendly name of a code.
21140
21143
  *
@@ -21158,12 +21161,12 @@ var _obj1$5;
21158
21161
  return ZHttpCodeInformationalResponseDescriptions[code] || ZHttpCodeSuccessDescriptions[code] || ZHttpCodeRedirectionDescriptions[code] || ZHttpCodeClientDescriptions[code] || ZHttpCodeServerDescriptions[code];
21159
21162
  }
21160
21163
 
21161
- function _class_call_check$2$2(instance, Constructor) {
21164
+ function _class_call_check$2$1(instance, Constructor) {
21162
21165
  if (!(instance instanceof Constructor)) {
21163
21166
  throw new TypeError("Cannot call a class as a function");
21164
21167
  }
21165
21168
  }
21166
- function _defineProperties$2$2(target, props) {
21169
+ function _defineProperties$2$1(target, props) {
21167
21170
  for(var i = 0; i < props.length; i++){
21168
21171
  var descriptor = props[i];
21169
21172
  descriptor.enumerable = descriptor.enumerable || false;
@@ -21172,11 +21175,11 @@ function _defineProperties$2$2(target, props) {
21172
21175
  Object.defineProperty(target, descriptor.key, descriptor);
21173
21176
  }
21174
21177
  }
21175
- function _create_class$2$2(Constructor, protoProps, staticProps) {
21176
- if (protoProps) _defineProperties$2$2(Constructor.prototype, protoProps);
21178
+ function _create_class$2$1(Constructor, protoProps, staticProps) {
21179
+ if (protoProps) _defineProperties$2$1(Constructor.prototype, protoProps);
21177
21180
  return Constructor;
21178
21181
  }
21179
- function _define_property$1$2(obj, key, value) {
21182
+ function _define_property$1$1(obj, key, value) {
21180
21183
  if (key in obj) {
21181
21184
  Object.defineProperty(obj, key, {
21182
21185
  value: value,
@@ -21189,7 +21192,7 @@ function _define_property$1$2(obj, key, value) {
21189
21192
  }
21190
21193
  return obj;
21191
21194
  }
21192
- function _object_spread$3(target) {
21195
+ function _object_spread(target) {
21193
21196
  for(var i = 1; i < arguments.length; i++){
21194
21197
  var source = arguments[i] != null ? arguments[i] : {};
21195
21198
  var ownKeys = Object.keys(source);
@@ -21199,7 +21202,7 @@ function _object_spread$3(target) {
21199
21202
  }));
21200
21203
  }
21201
21204
  ownKeys.forEach(function(key) {
21202
- _define_property$1$2(target, key, source[key]);
21205
+ _define_property$1$1(target, key, source[key]);
21203
21206
  });
21204
21207
  }
21205
21208
  return target;
@@ -21208,15 +21211,15 @@ function _object_spread$3(target) {
21208
21211
  * Represents a builder for an IZHttpResult class.
21209
21212
  */ var ZHttpResultBuilder = /*#__PURE__*/ function() {
21210
21213
  function ZHttpResultBuilder(data) {
21211
- _class_call_check$2$2(this, ZHttpResultBuilder);
21212
- _define_property$1$2(this, "_result", void 0);
21214
+ _class_call_check$2$1(this, ZHttpResultBuilder);
21215
+ _define_property$1$1(this, "_result", void 0);
21213
21216
  this._result = {
21214
21217
  status: ZHttpCodeSuccess.OK,
21215
21218
  headers: {},
21216
21219
  data: data
21217
21220
  };
21218
21221
  }
21219
- _create_class$2$2(ZHttpResultBuilder, [
21222
+ _create_class$2$1(ZHttpResultBuilder, [
21220
21223
  {
21221
21224
  key: "data",
21222
21225
  value: /**
@@ -21271,7 +21274,7 @@ function _object_spread$3(target) {
21271
21274
  * @returns
21272
21275
  * A shallow copy of the built up result.
21273
21276
  */ function build() {
21274
- return _object_spread$3({}, this._result);
21277
+ return _object_spread({}, this._result);
21275
21278
  }
21276
21279
  }
21277
21280
  ]);
@@ -32418,12 +32421,12 @@ function _ts_generator$6(thisArg, body) {
32418
32421
  }(ZCircusComponentModel);
32419
32422
  _define_property$b(ZIconComponentModel, "Selector", ".ZIcon-root");
32420
32423
 
32421
- function _array_like_to_array$4$1(arr, len) {
32424
+ function _array_like_to_array$4(arr, len) {
32422
32425
  if (len == null || len > arr.length) len = arr.length;
32423
32426
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
32424
32427
  return arr2;
32425
32428
  }
32426
- function _array_with_holes$4$1(arr) {
32429
+ function _array_with_holes$4(arr) {
32427
32430
  if (Array.isArray(arr)) return arr;
32428
32431
  }
32429
32432
  function _assert_this_initialized$7(self) {
@@ -32515,7 +32518,7 @@ function _inherits$7(subClass, superClass) {
32515
32518
  });
32516
32519
  if (superClass) _set_prototype_of$7(subClass, superClass);
32517
32520
  }
32518
- function _iterable_to_array_limit$4$1(arr, i) {
32521
+ function _iterable_to_array_limit$4(arr, i) {
32519
32522
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
32520
32523
  if (_i == null) return;
32521
32524
  var _arr = [];
@@ -32539,7 +32542,7 @@ function _iterable_to_array_limit$4$1(arr, i) {
32539
32542
  }
32540
32543
  return _arr;
32541
32544
  }
32542
- function _non_iterable_rest$4$1() {
32545
+ function _non_iterable_rest$4() {
32543
32546
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
32544
32547
  }
32545
32548
  function _possible_constructor_return$7(self, call) {
@@ -32555,20 +32558,20 @@ function _set_prototype_of$7(o, p) {
32555
32558
  };
32556
32559
  return _set_prototype_of$7(o, p);
32557
32560
  }
32558
- function _sliced_to_array$4$1(arr, i) {
32559
- return _array_with_holes$4$1(arr) || _iterable_to_array_limit$4$1(arr, i) || _unsupported_iterable_to_array$4$1(arr, i) || _non_iterable_rest$4$1();
32561
+ function _sliced_to_array$4(arr, i) {
32562
+ return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$4(arr, i) || _non_iterable_rest$4();
32560
32563
  }
32561
32564
  function _type_of$7(obj) {
32562
32565
  "@swc/helpers - typeof";
32563
32566
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
32564
32567
  }
32565
- function _unsupported_iterable_to_array$4$1(o, minLen) {
32568
+ function _unsupported_iterable_to_array$4(o, minLen) {
32566
32569
  if (!o) return;
32567
- if (typeof o === "string") return _array_like_to_array$4$1(o, minLen);
32570
+ if (typeof o === "string") return _array_like_to_array$4(o, minLen);
32568
32571
  var n = Object.prototype.toString.call(o).slice(8, -1);
32569
32572
  if (n === "Object" && o.constructor) n = o.constructor.name;
32570
32573
  if (n === "Map" || n === "Set") return Array.from(n);
32571
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4$1(o, minLen);
32574
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
32572
32575
  }
32573
32576
  function _is_native_reflect_construct$7() {
32574
32577
  try {
@@ -32707,7 +32710,7 @@ function _ts_generator$5(thisArg, body) {
32707
32710
  this.driver.query("svg")
32708
32711
  ];
32709
32712
  case 1:
32710
- _ref = _sliced_to_array$4$1.apply(void 0, [
32713
+ _ref = _sliced_to_array$4.apply(void 0, [
32711
32714
  _state.sent(),
32712
32715
  1
32713
32716
  ]), tag = _ref[0];
@@ -32738,7 +32741,7 @@ function _ts_generator$5(thisArg, body) {
32738
32741
  this.driver.query("img")
32739
32742
  ];
32740
32743
  case 1:
32741
- _ref = _sliced_to_array$4$1.apply(void 0, [
32744
+ _ref = _sliced_to_array$4.apply(void 0, [
32742
32745
  _state.sent(),
32743
32746
  1
32744
32747
  ]), tag = _ref[0];
@@ -33151,12 +33154,12 @@ function _ts_generator$4(thisArg, body) {
33151
33154
  }(ZCircusComponentModel);
33152
33155
  _define_property$8(ZListItemComponentModel, "Selector", ".ZListItem-root");
33153
33156
 
33154
- function _array_like_to_array$3$1(arr, len) {
33157
+ function _array_like_to_array$3(arr, len) {
33155
33158
  if (len == null || len > arr.length) len = arr.length;
33156
33159
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
33157
33160
  return arr2;
33158
33161
  }
33159
- function _array_with_holes$3$1(arr) {
33162
+ function _array_with_holes$3(arr) {
33160
33163
  if (Array.isArray(arr)) return arr;
33161
33164
  }
33162
33165
  function _assert_this_initialized$5(self) {
@@ -33248,7 +33251,7 @@ function _inherits$5(subClass, superClass) {
33248
33251
  });
33249
33252
  if (superClass) _set_prototype_of$5(subClass, superClass);
33250
33253
  }
33251
- function _iterable_to_array_limit$3$1(arr, i) {
33254
+ function _iterable_to_array_limit$3(arr, i) {
33252
33255
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
33253
33256
  if (_i == null) return;
33254
33257
  var _arr = [];
@@ -33272,7 +33275,7 @@ function _iterable_to_array_limit$3$1(arr, i) {
33272
33275
  }
33273
33276
  return _arr;
33274
33277
  }
33275
- function _non_iterable_rest$3$1() {
33278
+ function _non_iterable_rest$3() {
33276
33279
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
33277
33280
  }
33278
33281
  function _possible_constructor_return$5(self, call) {
@@ -33288,20 +33291,20 @@ function _set_prototype_of$5(o, p) {
33288
33291
  };
33289
33292
  return _set_prototype_of$5(o, p);
33290
33293
  }
33291
- function _sliced_to_array$3$1(arr, i) {
33292
- return _array_with_holes$3$1(arr) || _iterable_to_array_limit$3$1(arr, i) || _unsupported_iterable_to_array$3$1(arr, i) || _non_iterable_rest$3$1();
33294
+ function _sliced_to_array$3(arr, i) {
33295
+ return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$3(arr, i) || _non_iterable_rest$3();
33293
33296
  }
33294
33297
  function _type_of$5(obj) {
33295
33298
  "@swc/helpers - typeof";
33296
33299
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
33297
33300
  }
33298
- function _unsupported_iterable_to_array$3$1(o, minLen) {
33301
+ function _unsupported_iterable_to_array$3(o, minLen) {
33299
33302
  if (!o) return;
33300
- if (typeof o === "string") return _array_like_to_array$3$1(o, minLen);
33303
+ if (typeof o === "string") return _array_like_to_array$3(o, minLen);
33301
33304
  var n = Object.prototype.toString.call(o).slice(8, -1);
33302
33305
  if (n === "Object" && o.constructor) n = o.constructor.name;
33303
33306
  if (n === "Map" || n === "Set") return Array.from(n);
33304
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3$1(o, minLen);
33307
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
33305
33308
  }
33306
33309
  function _is_native_reflect_construct$5() {
33307
33310
  try {
@@ -33464,7 +33467,7 @@ function _ts_generator$3(thisArg, body) {
33464
33467
  this.driver.query(query)
33465
33468
  ];
33466
33469
  case 1:
33467
- _ref = _sliced_to_array$3$1.apply(void 0, [
33470
+ _ref = _sliced_to_array$3.apply(void 0, [
33468
33471
  _state.sent(),
33469
33472
  1
33470
33473
  ]), item = _ref[0];
@@ -33488,7 +33491,7 @@ function _assert_this_initialized$4(self) {
33488
33491
  }
33489
33492
  return self;
33490
33493
  }
33491
- function asyncGeneratorStep$2$1(gen, resolve, reject, _next, _throw, key, arg) {
33494
+ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
33492
33495
  try {
33493
33496
  var info = gen[key](arg);
33494
33497
  var value = info.value;
@@ -33502,16 +33505,16 @@ function asyncGeneratorStep$2$1(gen, resolve, reject, _next, _throw, key, arg) {
33502
33505
  Promise.resolve(value).then(_next, _throw);
33503
33506
  }
33504
33507
  }
33505
- function _async_to_generator$2$1(fn) {
33508
+ function _async_to_generator$2(fn) {
33506
33509
  return function() {
33507
33510
  var self = this, args = arguments;
33508
33511
  return new Promise(function(resolve, reject) {
33509
33512
  var gen = fn.apply(self, args);
33510
33513
  function _next(value) {
33511
- asyncGeneratorStep$2$1(gen, resolve, reject, _next, _throw, "next", value);
33514
+ asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "next", value);
33512
33515
  }
33513
33516
  function _throw(err) {
33514
- asyncGeneratorStep$2$1(gen, resolve, reject, _next, _throw, "throw", err);
33517
+ asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "throw", err);
33515
33518
  }
33516
33519
  _next(undefined);
33517
33520
  });
@@ -33596,7 +33599,7 @@ function _is_native_reflect_construct$4() {
33596
33599
  return !!result;
33597
33600
  })();
33598
33601
  }
33599
- function _ts_generator$2$1(thisArg, body) {
33602
+ function _ts_generator$2(thisArg, body) {
33600
33603
  var f, y, t, _ = {
33601
33604
  label: 0,
33602
33605
  sent: function() {
@@ -33701,9 +33704,9 @@ function _ts_generator$2$1(thisArg, body) {
33701
33704
  value: /**
33702
33705
  * Clicks the return button.
33703
33706
  */ function returnHome() {
33704
- return _async_to_generator$2$1(function() {
33707
+ return _async_to_generator$2(function() {
33705
33708
  var button;
33706
- return _ts_generator$2$1(this, function(_state) {
33709
+ return _ts_generator$2(this, function(_state) {
33707
33710
  switch(_state.label){
33708
33711
  case 0:
33709
33712
  return [
@@ -33834,12 +33837,12 @@ function ZNotFound(props) {
33834
33837
  });
33835
33838
  }
33836
33839
 
33837
- function _array_like_to_array$1$1(arr, len) {
33840
+ function _array_like_to_array$1(arr, len) {
33838
33841
  if (len == null || len > arr.length) len = arr.length;
33839
33842
  for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
33840
33843
  return arr2;
33841
33844
  }
33842
- function _array_with_holes$1$1(arr) {
33845
+ function _array_with_holes$1(arr) {
33843
33846
  if (Array.isArray(arr)) return arr;
33844
33847
  }
33845
33848
  function _assert_this_initialized$3(self) {
@@ -33848,7 +33851,7 @@ function _assert_this_initialized$3(self) {
33848
33851
  }
33849
33852
  return self;
33850
33853
  }
33851
- function asyncGeneratorStep$1$1(gen, resolve, reject, _next, _throw, key, arg) {
33854
+ function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
33852
33855
  try {
33853
33856
  var info = gen[key](arg);
33854
33857
  var value = info.value;
@@ -33862,16 +33865,16 @@ function asyncGeneratorStep$1$1(gen, resolve, reject, _next, _throw, key, arg) {
33862
33865
  Promise.resolve(value).then(_next, _throw);
33863
33866
  }
33864
33867
  }
33865
- function _async_to_generator$1$1(fn) {
33868
+ function _async_to_generator$1(fn) {
33866
33869
  return function() {
33867
33870
  var self = this, args = arguments;
33868
33871
  return new Promise(function(resolve, reject) {
33869
33872
  var gen = fn.apply(self, args);
33870
33873
  function _next(value) {
33871
- asyncGeneratorStep$1$1(gen, resolve, reject, _next, _throw, "next", value);
33874
+ asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "next", value);
33872
33875
  }
33873
33876
  function _throw(err) {
33874
- asyncGeneratorStep$1$1(gen, resolve, reject, _next, _throw, "throw", err);
33877
+ asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "throw", err);
33875
33878
  }
33876
33879
  _next(undefined);
33877
33880
  });
@@ -33881,12 +33884,12 @@ function _call_super$3(_this, derived, args) {
33881
33884
  derived = _get_prototype_of$3(derived);
33882
33885
  return _possible_constructor_return$3(_this, _is_native_reflect_construct$3() ? Reflect.construct(derived, args || [], _get_prototype_of$3(_this).constructor) : derived.apply(_this, args));
33883
33886
  }
33884
- function _class_call_check$3$1(instance, Constructor) {
33887
+ function _class_call_check$3(instance, Constructor) {
33885
33888
  if (!(instance instanceof Constructor)) {
33886
33889
  throw new TypeError("Cannot call a class as a function");
33887
33890
  }
33888
33891
  }
33889
- function _defineProperties$3$1(target, props) {
33892
+ function _defineProperties$3(target, props) {
33890
33893
  for(var i = 0; i < props.length; i++){
33891
33894
  var descriptor = props[i];
33892
33895
  descriptor.enumerable = descriptor.enumerable || false;
@@ -33895,8 +33898,8 @@ function _defineProperties$3$1(target, props) {
33895
33898
  Object.defineProperty(target, descriptor.key, descriptor);
33896
33899
  }
33897
33900
  }
33898
- function _create_class$3$1(Constructor, protoProps, staticProps) {
33899
- if (protoProps) _defineProperties$3$1(Constructor.prototype, protoProps);
33901
+ function _create_class$3(Constructor, protoProps, staticProps) {
33902
+ if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
33900
33903
  return Constructor;
33901
33904
  }
33902
33905
  function _define_property$5(obj, key, value) {
@@ -33931,7 +33934,7 @@ function _inherits$3(subClass, superClass) {
33931
33934
  });
33932
33935
  if (superClass) _set_prototype_of$3(subClass, superClass);
33933
33936
  }
33934
- function _iterable_to_array_limit$1$1(arr, i) {
33937
+ function _iterable_to_array_limit$1(arr, i) {
33935
33938
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
33936
33939
  if (_i == null) return;
33937
33940
  var _arr = [];
@@ -33955,7 +33958,7 @@ function _iterable_to_array_limit$1$1(arr, i) {
33955
33958
  }
33956
33959
  return _arr;
33957
33960
  }
33958
- function _non_iterable_rest$1$1() {
33961
+ function _non_iterable_rest$1() {
33959
33962
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
33960
33963
  }
33961
33964
  function _possible_constructor_return$3(self, call) {
@@ -33971,20 +33974,20 @@ function _set_prototype_of$3(o, p) {
33971
33974
  };
33972
33975
  return _set_prototype_of$3(o, p);
33973
33976
  }
33974
- function _sliced_to_array$1$1(arr, i) {
33975
- return _array_with_holes$1$1(arr) || _iterable_to_array_limit$1$1(arr, i) || _unsupported_iterable_to_array$1$1(arr, i) || _non_iterable_rest$1$1();
33977
+ function _sliced_to_array$1(arr, i) {
33978
+ return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest$1();
33976
33979
  }
33977
33980
  function _type_of$3(obj) {
33978
33981
  "@swc/helpers - typeof";
33979
33982
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
33980
33983
  }
33981
- function _unsupported_iterable_to_array$1$1(o, minLen) {
33984
+ function _unsupported_iterable_to_array$1(o, minLen) {
33982
33985
  if (!o) return;
33983
- if (typeof o === "string") return _array_like_to_array$1$1(o, minLen);
33986
+ if (typeof o === "string") return _array_like_to_array$1(o, minLen);
33984
33987
  var n = Object.prototype.toString.call(o).slice(8, -1);
33985
33988
  if (n === "Object" && o.constructor) n = o.constructor.name;
33986
33989
  if (n === "Map" || n === "Set") return Array.from(n);
33987
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1$1(o, minLen);
33990
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
33988
33991
  }
33989
33992
  function _is_native_reflect_construct$3() {
33990
33993
  try {
@@ -33994,7 +33997,7 @@ function _is_native_reflect_construct$3() {
33994
33997
  return !!result;
33995
33998
  })();
33996
33999
  }
33997
- function _ts_generator$1$1(thisArg, body) {
34000
+ function _ts_generator$1(thisArg, body) {
33998
34001
  var f, y, t, _ = {
33999
34002
  label: 0,
34000
34003
  sent: function() {
@@ -34090,10 +34093,10 @@ function _ts_generator$1$1(thisArg, body) {
34090
34093
  */ var ZNumberComponentModel = /*#__PURE__*/ function(ZCircusComponentModel) {
34091
34094
  _inherits$3(ZNumberComponentModel, ZCircusComponentModel);
34092
34095
  function ZNumberComponentModel() {
34093
- _class_call_check$3$1(this, ZNumberComponentModel);
34096
+ _class_call_check$3(this, ZNumberComponentModel);
34094
34097
  return _call_super$3(this, ZNumberComponentModel, arguments);
34095
34098
  }
34096
- _create_class$3$1(ZNumberComponentModel, [
34099
+ _create_class$3(ZNumberComponentModel, [
34097
34100
  {
34098
34101
  key: "_input",
34099
34102
  value: /**
@@ -34114,9 +34117,9 @@ function _ts_generator$1$1(thisArg, body) {
34114
34117
  * @returns
34115
34118
  * The step value.
34116
34119
  */ function step() {
34117
- return _async_to_generator$1$1(function() {
34120
+ return _async_to_generator$1(function() {
34118
34121
  var input, _tmp;
34119
- return _ts_generator$1$1(this, function(_state) {
34122
+ return _ts_generator$1(this, function(_state) {
34120
34123
  switch(_state.label){
34121
34124
  case 0:
34122
34125
  return [
@@ -34152,9 +34155,9 @@ function _ts_generator$1$1(thisArg, body) {
34152
34155
  * @returns
34153
34156
  * The minimum value.
34154
34157
  */ function min() {
34155
- return _async_to_generator$1$1(function() {
34158
+ return _async_to_generator$1(function() {
34156
34159
  var input, _tmp;
34157
- return _ts_generator$1$1(this, function(_state) {
34160
+ return _ts_generator$1(this, function(_state) {
34158
34161
  switch(_state.label){
34159
34162
  case 0:
34160
34163
  return [
@@ -34190,9 +34193,9 @@ function _ts_generator$1$1(thisArg, body) {
34190
34193
  * @returns
34191
34194
  * The maximum value.
34192
34195
  */ function max() {
34193
- return _async_to_generator$1$1(function() {
34196
+ return _async_to_generator$1(function() {
34194
34197
  var input, _tmp;
34195
- return _ts_generator$1$1(this, function(_state) {
34198
+ return _ts_generator$1(this, function(_state) {
34196
34199
  switch(_state.label){
34197
34200
  case 0:
34198
34201
  return [
@@ -34230,9 +34233,9 @@ function _ts_generator$1$1(thisArg, body) {
34230
34233
  * This can be null if the number component
34231
34234
  * can be cleared.
34232
34235
  */ function value() {
34233
- return _async_to_generator$1$1(function() {
34236
+ return _async_to_generator$1(function() {
34234
34237
  var input, value;
34235
- return _ts_generator$1$1(this, function(_state) {
34238
+ return _ts_generator$1(this, function(_state) {
34236
34239
  switch(_state.label){
34237
34240
  case 0:
34238
34241
  return [
@@ -34265,9 +34268,9 @@ function _ts_generator$1$1(thisArg, body) {
34265
34268
  * The label for the number component. Returns
34266
34269
  * the empty string if there is no label.
34267
34270
  */ function label() {
34268
- return _async_to_generator$1$1(function() {
34271
+ return _async_to_generator$1(function() {
34269
34272
  var _ref, label;
34270
- return _ts_generator$1$1(this, function(_state) {
34273
+ return _ts_generator$1(this, function(_state) {
34271
34274
  switch(_state.label){
34272
34275
  case 0:
34273
34276
  return [
@@ -34275,7 +34278,7 @@ function _ts_generator$1$1(thisArg, body) {
34275
34278
  ZCircusBy.all(this.driver, ZLabelComponentModel, ".ZNumber-label")
34276
34279
  ];
34277
34280
  case 1:
34278
- _ref = _sliced_to_array$1$1.apply(void 0, [
34281
+ _ref = _sliced_to_array$1.apply(void 0, [
34279
34282
  _state.sent(),
34280
34283
  1
34281
34284
  ]), label = _ref[0];
@@ -34308,9 +34311,9 @@ function _ts_generator$1$1(thisArg, body) {
34308
34311
  * @returns
34309
34312
  * The input value.
34310
34313
  */ function _spinClick(direction, times, repeater) {
34311
- return _async_to_generator$1$1(function() {
34314
+ return _async_to_generator$1(function() {
34312
34315
  var query, _ref, spinner, i;
34313
- return _ts_generator$1$1(this, function(_state) {
34316
+ return _ts_generator$1(this, function(_state) {
34314
34317
  switch(_state.label){
34315
34318
  case 0:
34316
34319
  query = direction > 0 ? ".ZNumber-spinner-increment" : ".ZNumber-spinner-decrement";
@@ -34319,7 +34322,7 @@ function _ts_generator$1$1(thisArg, body) {
34319
34322
  this.driver.query(query)
34320
34323
  ];
34321
34324
  case 1:
34322
- _ref = _sliced_to_array$1$1.apply(void 0, [
34325
+ _ref = _sliced_to_array$1.apply(void 0, [
34323
34326
  _state.sent(),
34324
34327
  1
34325
34328
  ]), spinner = _ref[0];
@@ -34378,9 +34381,9 @@ function _ts_generator$1$1(thisArg, body) {
34378
34381
  * @returns
34379
34382
  * The input value.
34380
34383
  */ function _spinPress(direction, times) {
34381
- return _async_to_generator$1$1(function() {
34384
+ return _async_to_generator$1(function() {
34382
34385
  var input, dir, i;
34383
- return _ts_generator$1$1(this, function(_state) {
34386
+ return _ts_generator$1(this, function(_state) {
34384
34387
  switch(_state.label){
34385
34388
  case 0:
34386
34389
  return [
@@ -34504,9 +34507,9 @@ function _ts_generator$1$1(thisArg, body) {
34504
34507
  * @returns
34505
34508
  * The value of the input.
34506
34509
  */ function keyboard(value) {
34507
- return _async_to_generator$1$1(function() {
34510
+ return _async_to_generator$1(function() {
34508
34511
  var input;
34509
- return _ts_generator$1$1(this, function(_state) {
34512
+ return _ts_generator$1(this, function(_state) {
34510
34513
  switch(_state.label){
34511
34514
  case 0:
34512
34515
  return [
@@ -34535,9 +34538,9 @@ function _ts_generator$1$1(thisArg, body) {
34535
34538
  value: /**
34536
34539
  * Clears the input value.
34537
34540
  */ function clear() {
34538
- return _async_to_generator$1$1(function() {
34541
+ return _async_to_generator$1(function() {
34539
34542
  var input, value, _tmp, deletes, act, i, i1;
34540
- return _ts_generator$1$1(this, function(_state) {
34543
+ return _ts_generator$1(this, function(_state) {
34541
34544
  switch(_state.label){
34542
34545
  case 0:
34543
34546
  return [
@@ -34596,12 +34599,12 @@ function _call_super$2(_this, derived, args) {
34596
34599
  derived = _get_prototype_of$2(derived);
34597
34600
  return _possible_constructor_return$2(_this, _is_native_reflect_construct$2() ? Reflect.construct(derived, args || [], _get_prototype_of$2(_this).constructor) : derived.apply(_this, args));
34598
34601
  }
34599
- function _class_call_check$2$1(instance, Constructor) {
34602
+ function _class_call_check$2(instance, Constructor) {
34600
34603
  if (!(instance instanceof Constructor)) {
34601
34604
  throw new TypeError("Cannot call a class as a function");
34602
34605
  }
34603
34606
  }
34604
- function _defineProperties$2$1(target, props) {
34607
+ function _defineProperties$2(target, props) {
34605
34608
  for(var i = 0; i < props.length; i++){
34606
34609
  var descriptor = props[i];
34607
34610
  descriptor.enumerable = descriptor.enumerable || false;
@@ -34610,11 +34613,11 @@ function _defineProperties$2$1(target, props) {
34610
34613
  Object.defineProperty(target, descriptor.key, descriptor);
34611
34614
  }
34612
34615
  }
34613
- function _create_class$2$1(Constructor, protoProps, staticProps) {
34614
- if (protoProps) _defineProperties$2$1(Constructor.prototype, protoProps);
34616
+ function _create_class$2(Constructor, protoProps, staticProps) {
34617
+ if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
34615
34618
  return Constructor;
34616
34619
  }
34617
- function _define_property$3$1(obj, key, value) {
34620
+ function _define_property$3(obj, key, value) {
34618
34621
  if (key in obj) {
34619
34622
  Object.defineProperty(obj, key, {
34620
34623
  value: value,
@@ -34676,10 +34679,10 @@ function _is_native_reflect_construct$2() {
34676
34679
  */ var ZTypographyComponentModel = /*#__PURE__*/ function(ZCircusComponentModel) {
34677
34680
  _inherits$2(ZTypographyComponentModel, ZCircusComponentModel);
34678
34681
  function ZTypographyComponentModel() {
34679
- _class_call_check$2$1(this, ZTypographyComponentModel);
34682
+ _class_call_check$2(this, ZTypographyComponentModel);
34680
34683
  return _call_super$2(this, ZTypographyComponentModel, arguments);
34681
34684
  }
34682
- _create_class$2$1(ZTypographyComponentModel, [
34685
+ _create_class$2(ZTypographyComponentModel, [
34683
34686
  {
34684
34687
  key: "fashion",
34685
34688
  value: /**
@@ -34694,7 +34697,7 @@ function _is_native_reflect_construct$2() {
34694
34697
  ]);
34695
34698
  return ZTypographyComponentModel;
34696
34699
  }(ZCircusComponentModel);
34697
- _define_property$3$1(ZTypographyComponentModel, "Selector", ".ZTypography-root");
34700
+ _define_property$3(ZTypographyComponentModel, "Selector", ".ZTypography-root");
34698
34701
 
34699
34702
  function _assert_this_initialized$1(self) {
34700
34703
  if (self === void 0) {
@@ -34735,12 +34738,12 @@ function _call_super$1(_this, derived, args) {
34735
34738
  derived = _get_prototype_of$1(derived);
34736
34739
  return _possible_constructor_return$1(_this, _is_native_reflect_construct$1() ? Reflect.construct(derived, args || [], _get_prototype_of$1(_this).constructor) : derived.apply(_this, args));
34737
34740
  }
34738
- function _class_call_check$1$2(instance, Constructor) {
34741
+ function _class_call_check$1$1(instance, Constructor) {
34739
34742
  if (!(instance instanceof Constructor)) {
34740
34743
  throw new TypeError("Cannot call a class as a function");
34741
34744
  }
34742
34745
  }
34743
- function _defineProperties$1$2(target, props) {
34746
+ function _defineProperties$1$1(target, props) {
34744
34747
  for(var i = 0; i < props.length; i++){
34745
34748
  var descriptor = props[i];
34746
34749
  descriptor.enumerable = descriptor.enumerable || false;
@@ -34749,11 +34752,11 @@ function _defineProperties$1$2(target, props) {
34749
34752
  Object.defineProperty(target, descriptor.key, descriptor);
34750
34753
  }
34751
34754
  }
34752
- function _create_class$1$2(Constructor, protoProps, staticProps) {
34753
- if (protoProps) _defineProperties$1$2(Constructor.prototype, protoProps);
34755
+ function _create_class$1$1(Constructor, protoProps, staticProps) {
34756
+ if (protoProps) _defineProperties$1$1(Constructor.prototype, protoProps);
34754
34757
  return Constructor;
34755
34758
  }
34756
- function _define_property$2$1(obj, key, value) {
34759
+ function _define_property$2(obj, key, value) {
34757
34760
  if (key in obj) {
34758
34761
  Object.defineProperty(obj, key, {
34759
34762
  value: value,
@@ -34904,10 +34907,10 @@ function _ts_generator$c(thisArg, body) {
34904
34907
  var ZWizardComponentModel = /*#__PURE__*/ function(ZCircusComponentModel) {
34905
34908
  _inherits$1(ZWizardComponentModel, ZCircusComponentModel);
34906
34909
  function ZWizardComponentModel() {
34907
- _class_call_check$1$2(this, ZWizardComponentModel);
34910
+ _class_call_check$1$1(this, ZWizardComponentModel);
34908
34911
  return _call_super$1(this, ZWizardComponentModel, arguments);
34909
34912
  }
34910
- _create_class$1$2(ZWizardComponentModel, [
34913
+ _create_class$1$1(ZWizardComponentModel, [
34911
34914
  {
34912
34915
  key: "card",
34913
34916
  value: function card() {
@@ -35049,7 +35052,7 @@ var ZWizardComponentModel = /*#__PURE__*/ function(ZCircusComponentModel) {
35049
35052
  ]);
35050
35053
  return ZWizardComponentModel;
35051
35054
  }(ZCircusComponentModel);
35052
- _define_property$2$1(ZWizardComponentModel, "Selector", ".ZWizard-root");
35055
+ _define_property$2(ZWizardComponentModel, "Selector", ".ZWizard-root");
35053
35056
 
35054
35057
  function _assert_this_initialized(self) {
35055
35058
  if (self === void 0) {
@@ -50945,63 +50948,13 @@ function requireClient () {
50945
50948
 
50946
50949
  var clientExports = requireClient();
50947
50950
 
50948
- function _array_like_to_array$4(arr, len) {
50949
- if (len == null || len > arr.length) len = arr.length;
50950
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
50951
- return arr2;
50952
- }
50953
- function _array_with_holes$4(arr) {
50954
- if (Array.isArray(arr)) return arr;
50955
- }
50956
- function _iterable_to_array_limit$4(arr, i) {
50957
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
50958
- if (_i == null) return;
50959
- var _arr = [];
50960
- var _n = true;
50961
- var _d = false;
50962
- var _s, _e;
50963
- try {
50964
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
50965
- _arr.push(_s.value);
50966
- if (i && _arr.length === i) break;
50967
- }
50968
- } catch (err) {
50969
- _d = true;
50970
- _e = err;
50971
- } finally{
50972
- try {
50973
- if (!_n && _i["return"] != null) _i["return"]();
50974
- } finally{
50975
- if (_d) throw _e;
50976
- }
50977
- }
50978
- return _arr;
50979
- }
50980
- function _non_iterable_rest$4() {
50981
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
50982
- }
50983
- function _sliced_to_array$4(arr, i) {
50984
- return _array_with_holes$4(arr) || _iterable_to_array_limit$4(arr, i) || _unsupported_iterable_to_array$4(arr, i) || _non_iterable_rest$4();
50985
- }
50986
- function _unsupported_iterable_to_array$4(o, minLen) {
50987
- if (!o) return;
50988
- if (typeof o === "string") return _array_like_to_array$4(o, minLen);
50989
- var n = Object.prototype.toString.call(o).slice(8, -1);
50990
- if (n === "Object" && o.constructor) n = o.constructor.name;
50991
- if (n === "Map" || n === "Set") return Array.from(n);
50992
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$4(o, minLen);
50993
- }
50994
50951
  function ZRomulatorMenu() {
50995
- var _useState = _sliced_to_array$4(reactExports.useState(false), 2), expanded = _useState[0], setExpanded = _useState[1];
50996
- var open = reactExports.useMemo(function() {
50997
- return setExpanded.bind(null, true);
50998
- }, []);
50999
- var close = reactExports.useMemo(function() {
51000
- return setExpanded.bind(null, false);
51001
- }, []);
51002
- var secondary = useFashionTheme().secondary;
51003
- var navigate = useNavigate();
51004
- var navigateAndClose = function(path) {
50952
+ const [expanded, setExpanded] = reactExports.useState(false);
50953
+ const open = reactExports.useMemo(()=>setExpanded.bind(null, true), []);
50954
+ const close = reactExports.useMemo(()=>setExpanded.bind(null, false), []);
50955
+ const { secondary } = useFashionTheme();
50956
+ const navigate = useNavigate();
50957
+ const navigateAndClose = (path)=>{
51005
50958
  navigate(path);
51006
50959
  close();
51007
50960
  };
@@ -51022,8 +50975,7 @@ function ZRomulatorMenu() {
51022
50975
  onClose: close,
51023
50976
  anchor: ZHorizontalAnchor.Right,
51024
50977
  fashion: secondary,
51025
- renderHeader: function() {
51026
- return /*#__PURE__*/ jsxRuntimeExports.jsx(ZContentTitle, {
50978
+ renderHeader: ()=>/*#__PURE__*/ jsxRuntimeExports.jsx(ZContentTitle, {
51027
50979
  avatar: /*#__PURE__*/ jsxRuntimeExports.jsx(ZIconFontAwesome, {
51028
50980
  name: "bars"
51029
50981
  }),
@@ -51038,8 +50990,7 @@ function ZRomulatorMenu() {
51038
50990
  }),
51039
50991
  onClick: close
51040
50992
  })
51041
- });
51042
- },
50993
+ }),
51043
50994
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(ZList, {
51044
50995
  compact: true,
51045
50996
  children: [
@@ -51141,12 +51092,12 @@ function ZRomulatorMenu() {
51141
51092
  });
51142
51093
  }
51143
51094
 
51144
- function _class_call_check$1$1(instance, Constructor) {
51095
+ function _class_call_check$1(instance, Constructor) {
51145
51096
  if (!(instance instanceof Constructor)) {
51146
51097
  throw new TypeError("Cannot call a class as a function");
51147
51098
  }
51148
51099
  }
51149
- function _defineProperties$1$1(target, props) {
51100
+ function _defineProperties$1(target, props) {
51150
51101
  for(var i = 0; i < props.length; i++){
51151
51102
  var descriptor = props[i];
51152
51103
  descriptor.enumerable = descriptor.enumerable || false;
@@ -51155,11 +51106,11 @@ function _defineProperties$1$1(target, props) {
51155
51106
  Object.defineProperty(target, descriptor.key, descriptor);
51156
51107
  }
51157
51108
  }
51158
- function _create_class$1$1(Constructor, protoProps, staticProps) {
51159
- if (protoProps) _defineProperties$1$1(Constructor.prototype, protoProps);
51109
+ function _create_class$1(Constructor, protoProps, staticProps) {
51110
+ if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
51160
51111
  return Constructor;
51161
51112
  }
51162
- function _define_property$1$1(obj, key, value) {
51113
+ function _define_property$1(obj, key, value) {
51163
51114
  if (key in obj) {
51164
51115
  Object.defineProperty(obj, key, {
51165
51116
  value: value,
@@ -51177,11 +51128,11 @@ function _define_property$1$1(obj, key, value) {
51177
51128
  * given an existing base url.
51178
51129
  */ var ZRestfulUrlBuilder = /*#__PURE__*/ function() {
51179
51130
  function ZRestfulUrlBuilder(baseUrl) {
51180
- _class_call_check$1$1(this, ZRestfulUrlBuilder);
51181
- _define_property$1$1(this, "_url", void 0);
51131
+ _class_call_check$1(this, ZRestfulUrlBuilder);
51132
+ _define_property$1(this, "_url", void 0);
51182
51133
  this._url = new ZUrlBuilder().parse(baseUrl);
51183
51134
  }
51184
- _create_class$1$1(ZRestfulUrlBuilder, [
51135
+ _create_class$1(ZRestfulUrlBuilder, [
51185
51136
  {
51186
51137
  key: "from",
51187
51138
  value: /**
@@ -51227,7 +51178,7 @@ function _define_property$1$1(obj, key, value) {
51227
51178
  return ZRestfulUrlBuilder;
51228
51179
  }();
51229
51180
 
51230
- function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
51181
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
51231
51182
  try {
51232
51183
  var info = gen[key](arg);
51233
51184
  var value = info.value;
@@ -51241,27 +51192,27 @@ function asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, key, arg) {
51241
51192
  Promise.resolve(value).then(_next, _throw);
51242
51193
  }
51243
51194
  }
51244
- function _async_to_generator$2(fn) {
51195
+ function _async_to_generator(fn) {
51245
51196
  return function() {
51246
51197
  var self = this, args = arguments;
51247
51198
  return new Promise(function(resolve, reject) {
51248
51199
  var gen = fn.apply(self, args);
51249
51200
  function _next(value) {
51250
- asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "next", value);
51201
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
51251
51202
  }
51252
51203
  function _throw(err) {
51253
- asyncGeneratorStep$2(gen, resolve, reject, _next, _throw, "throw", err);
51204
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
51254
51205
  }
51255
51206
  _next(undefined);
51256
51207
  });
51257
51208
  };
51258
51209
  }
51259
- function _class_call_check$3(instance, Constructor) {
51210
+ function _class_call_check(instance, Constructor) {
51260
51211
  if (!(instance instanceof Constructor)) {
51261
51212
  throw new TypeError("Cannot call a class as a function");
51262
51213
  }
51263
51214
  }
51264
- function _defineProperties$3(target, props) {
51215
+ function _defineProperties(target, props) {
51265
51216
  for(var i = 0; i < props.length; i++){
51266
51217
  var descriptor = props[i];
51267
51218
  descriptor.enumerable = descriptor.enumerable || false;
@@ -51270,11 +51221,11 @@ function _defineProperties$3(target, props) {
51270
51221
  Object.defineProperty(target, descriptor.key, descriptor);
51271
51222
  }
51272
51223
  }
51273
- function _create_class$3(Constructor, protoProps, staticProps) {
51274
- if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
51224
+ function _create_class(Constructor, protoProps, staticProps) {
51225
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
51275
51226
  return Constructor;
51276
51227
  }
51277
- function _define_property$3(obj, key, value) {
51228
+ function _define_property(obj, key, value) {
51278
51229
  if (key in obj) {
51279
51230
  Object.defineProperty(obj, key, {
51280
51231
  value: value,
@@ -51287,7 +51238,7 @@ function _define_property$3(obj, key, value) {
51287
51238
  }
51288
51239
  return obj;
51289
51240
  }
51290
- function _ts_generator$2(thisArg, body) {
51241
+ function _ts_generator(thisArg, body) {
51291
51242
  var f, y, t, _ = {
51292
51243
  label: 0,
51293
51244
  sent: function() {
@@ -51390,15 +51341,15 @@ function _ts_generator$2(thisArg, body) {
51390
51341
  */ var ZRestfulService = /*#__PURE__*/ function() {
51391
51342
  function ZRestfulService(_http, _endpointUrl) {
51392
51343
  var _request = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : new ZHttpRequestBuilder().build();
51393
- _class_call_check$3(this, ZRestfulService);
51394
- _define_property$3(this, "_http", void 0);
51395
- _define_property$3(this, "_endpointUrl", void 0);
51396
- _define_property$3(this, "_request", void 0);
51344
+ _class_call_check(this, ZRestfulService);
51345
+ _define_property(this, "_http", void 0);
51346
+ _define_property(this, "_endpointUrl", void 0);
51347
+ _define_property(this, "_request", void 0);
51397
51348
  this._http = _http;
51398
51349
  this._endpointUrl = _endpointUrl;
51399
51350
  this._request = _request;
51400
51351
  }
51401
- _create_class$3(ZRestfulService, [
51352
+ _create_class(ZRestfulService, [
51402
51353
  {
51403
51354
  key: "endpoint",
51404
51355
  value: /**
@@ -51418,9 +51369,9 @@ function _ts_generator$2(thisArg, body) {
51418
51369
  {
51419
51370
  key: "count",
51420
51371
  value: function count(req) {
51421
- return _async_to_generator$2(function() {
51372
+ return _async_to_generator(function() {
51422
51373
  var r, _ref, page;
51423
- return _ts_generator$2(this, function(_state) {
51374
+ return _ts_generator(this, function(_state) {
51424
51375
  switch(_state.label){
51425
51376
  case 0:
51426
51377
  r = new ZHttpRequestBuilder().copy(this._request).get().url(new ZRestfulUrlBuilder(this.endpoint().build()).from(req).count().build()).build();
@@ -51442,9 +51393,9 @@ function _ts_generator$2(thisArg, body) {
51442
51393
  {
51443
51394
  key: "retrieve",
51444
51395
  value: function retrieve(req) {
51445
- return _async_to_generator$2(function() {
51396
+ return _async_to_generator(function() {
51446
51397
  var r, _ref, page, _page_data;
51447
- return _ts_generator$2(this, function(_state) {
51398
+ return _ts_generator(this, function(_state) {
51448
51399
  switch(_state.label){
51449
51400
  case 0:
51450
51401
  r = new ZHttpRequestBuilder().copy(this._request).get().url(new ZRestfulUrlBuilder(this.endpoint().build()).from(req).build()).build();
@@ -51466,9 +51417,9 @@ function _ts_generator$2(thisArg, body) {
51466
51417
  {
51467
51418
  key: "get",
51468
51419
  value: function get(identification) {
51469
- return _async_to_generator$2(function() {
51420
+ return _async_to_generator(function() {
51470
51421
  var url, r, data;
51471
- return _ts_generator$2(this, function(_state) {
51422
+ return _ts_generator(this, function(_state) {
51472
51423
  switch(_state.label){
51473
51424
  case 0:
51474
51425
  url = this.endpoint(identification).build();
@@ -51491,9 +51442,9 @@ function _ts_generator$2(thisArg, body) {
51491
51442
  {
51492
51443
  key: "create",
51493
51444
  value: function create(body) {
51494
- return _async_to_generator$2(function() {
51445
+ return _async_to_generator(function() {
51495
51446
  var url, r, data;
51496
- return _ts_generator$2(this, function(_state) {
51447
+ return _ts_generator(this, function(_state) {
51497
51448
  switch(_state.label){
51498
51449
  case 0:
51499
51450
  url = this.endpoint().build();
@@ -51516,9 +51467,9 @@ function _ts_generator$2(thisArg, body) {
51516
51467
  {
51517
51468
  key: "upsert",
51518
51469
  value: function upsert(body) {
51519
- return _async_to_generator$2(function() {
51470
+ return _async_to_generator(function() {
51520
51471
  var url, r, data;
51521
- return _ts_generator$2(this, function(_state) {
51472
+ return _ts_generator(this, function(_state) {
51522
51473
  switch(_state.label){
51523
51474
  case 0:
51524
51475
  url = this.endpoint().build();
@@ -51541,9 +51492,9 @@ function _ts_generator$2(thisArg, body) {
51541
51492
  {
51542
51493
  key: "update",
51543
51494
  value: function update(identification, fields) {
51544
- return _async_to_generator$2(function() {
51495
+ return _async_to_generator(function() {
51545
51496
  var url, r, data;
51546
- return _ts_generator$2(this, function(_state) {
51497
+ return _ts_generator(this, function(_state) {
51547
51498
  switch(_state.label){
51548
51499
  case 0:
51549
51500
  url = this.endpoint(identification).build();
@@ -51566,9 +51517,9 @@ function _ts_generator$2(thisArg, body) {
51566
51517
  {
51567
51518
  key: "delete",
51568
51519
  value: function _delete(identification) {
51569
- return _async_to_generator$2(function() {
51520
+ return _async_to_generator(function() {
51570
51521
  var url, r;
51571
- return _ts_generator$2(this, function(_state) {
51522
+ return _ts_generator(this, function(_state) {
51572
51523
  switch(_state.label){
51573
51524
  case 0:
51574
51525
  url = this.endpoint(identification).build();
@@ -51591,297 +51542,57 @@ function _ts_generator$2(thisArg, body) {
51591
51542
  return ZRestfulService;
51592
51543
  }();
51593
51544
 
51594
- function _class_call_check$2(instance, Constructor) {
51595
- if (!(instance instanceof Constructor)) {
51596
- throw new TypeError("Cannot call a class as a function");
51597
- }
51598
- }
51599
- function _defineProperties$2(target, props) {
51600
- for(var i = 0; i < props.length; i++){
51601
- var descriptor = props[i];
51602
- descriptor.enumerable = descriptor.enumerable || false;
51603
- descriptor.configurable = true;
51604
- if ("value" in descriptor) descriptor.writable = true;
51605
- Object.defineProperty(target, descriptor.key, descriptor);
51606
- }
51607
- }
51608
- function _create_class$2(Constructor, protoProps, staticProps) {
51609
- if (protoProps) _defineProperties$2(Constructor.prototype, protoProps);
51610
- return Constructor;
51611
- }
51612
- function _define_property$2(obj, key, value) {
51613
- if (key in obj) {
51614
- Object.defineProperty(obj, key, {
51615
- value: value,
51616
- enumerable: true,
51617
- configurable: true,
51618
- writable: true
51619
- });
51620
- } else {
51621
- obj[key] = value;
51622
- }
51623
- return obj;
51624
- }
51625
- var ZRomulatorEnvironmentBuilder = /*#__PURE__*/ function() {
51626
- function ZRomulatorEnvironmentBuilder() {
51627
- _class_call_check$2(this, ZRomulatorEnvironmentBuilder);
51628
- _define_property$2(this, "_env", void 0);
51545
+ class ZRomulatorEnvironmentBuilder {
51546
+ _env;
51547
+ constructor(){
51629
51548
  this._env = {
51630
51549
  api: new ZUrlBuilder().protocol("http").hostname("localhost").port(3000).append("api").build()
51631
51550
  };
51632
51551
  }
51633
- _create_class$2(ZRomulatorEnvironmentBuilder, [
51634
- {
51635
- key: "api",
51636
- value: function api(url) {
51637
- this._env.api = url;
51638
- return this;
51639
- }
51640
- },
51641
- {
51642
- key: "build",
51643
- value: function build() {
51644
- return structuredClone(this._env);
51645
- }
51646
- }
51647
- ]);
51648
- return ZRomulatorEnvironmentBuilder;
51649
- }();
51552
+ api(url) {
51553
+ this._env.api = url;
51554
+ return this;
51555
+ }
51556
+ build() {
51557
+ return structuredClone(this._env);
51558
+ }
51559
+ }
51650
51560
 
51651
51561
  function createDefaultSettingsService() {
51652
- var env = new ZRomulatorEnvironmentBuilder().build();
51653
- var http = new ZHttpService();
51654
- var endpoint = "".concat(env.api, "/configs");
51562
+ const env = new ZRomulatorEnvironmentBuilder().build();
51563
+ const http = new ZHttpService();
51564
+ const endpoint = `${env.api}/configs`;
51655
51565
  return new ZRestfulService(http, endpoint);
51656
51566
  }
51657
- var ZRomulatorSettingsContext = /*#__PURE__*/ reactExports.createContext(createDefaultSettingsService());
51658
- var useSettingsService = function() {
51659
- return reactExports.useContext(ZRomulatorSettingsContext);
51660
- };
51661
- var useSetting = function(id) {
51662
- var service = useSettingsService();
51663
- return useAsyncState(function() {
51664
- return service.get(id);
51665
- }, [
51567
+ const ZRomulatorSettingsContext = /*#__PURE__*/ reactExports.createContext(createDefaultSettingsService());
51568
+ const useSettingsService = ()=>reactExports.useContext(ZRomulatorSettingsContext);
51569
+ const useSetting = (id)=>{
51570
+ const service = useSettingsService();
51571
+ return useAsyncState(()=>service.get(id), [
51666
51572
  id
51667
51573
  ]);
51668
51574
  };
51669
51575
 
51670
- function _array_like_to_array$3(arr, len) {
51671
- if (len == null || len > arr.length) len = arr.length;
51672
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
51673
- return arr2;
51674
- }
51675
- function _array_with_holes$3(arr) {
51676
- if (Array.isArray(arr)) return arr;
51677
- }
51678
- function asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, key, arg) {
51679
- try {
51680
- var info = gen[key](arg);
51681
- var value = info.value;
51682
- } catch (error) {
51683
- reject(error);
51684
- return;
51685
- }
51686
- if (info.done) {
51687
- resolve(value);
51688
- } else {
51689
- Promise.resolve(value).then(_next, _throw);
51690
- }
51691
- }
51692
- function _async_to_generator$1(fn) {
51693
- return function() {
51694
- var self = this, args = arguments;
51695
- return new Promise(function(resolve, reject) {
51696
- var gen = fn.apply(self, args);
51697
- function _next(value) {
51698
- asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "next", value);
51699
- }
51700
- function _throw(err) {
51701
- asyncGeneratorStep$1(gen, resolve, reject, _next, _throw, "throw", err);
51702
- }
51703
- _next(undefined);
51704
- });
51705
- };
51706
- }
51707
- function _iterable_to_array_limit$3(arr, i) {
51708
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
51709
- if (_i == null) return;
51710
- var _arr = [];
51711
- var _n = true;
51712
- var _d = false;
51713
- var _s, _e;
51714
- try {
51715
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
51716
- _arr.push(_s.value);
51717
- if (i && _arr.length === i) break;
51718
- }
51719
- } catch (err) {
51720
- _d = true;
51721
- _e = err;
51722
- } finally{
51723
- try {
51724
- if (!_n && _i["return"] != null) _i["return"]();
51725
- } finally{
51726
- if (_d) throw _e;
51727
- }
51728
- }
51729
- return _arr;
51730
- }
51731
- function _non_iterable_rest$3() {
51732
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
51733
- }
51734
- function _sliced_to_array$3(arr, i) {
51735
- return _array_with_holes$3(arr) || _iterable_to_array_limit$3(arr, i) || _unsupported_iterable_to_array$3(arr, i) || _non_iterable_rest$3();
51736
- }
51737
- function _unsupported_iterable_to_array$3(o, minLen) {
51738
- if (!o) return;
51739
- if (typeof o === "string") return _array_like_to_array$3(o, minLen);
51740
- var n = Object.prototype.toString.call(o).slice(8, -1);
51741
- if (n === "Object" && o.constructor) n = o.constructor.name;
51742
- if (n === "Map" || n === "Set") return Array.from(n);
51743
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$3(o, minLen);
51744
- }
51745
- function _ts_generator$1(thisArg, body) {
51746
- var f, y, t, _ = {
51747
- label: 0,
51748
- sent: function() {
51749
- if (t[0] & 1) throw t[1];
51750
- return t[1];
51751
- },
51752
- trys: [],
51753
- ops: []
51754
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
51755
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
51756
- return this;
51757
- }), g;
51758
- function verb(n) {
51759
- return function(v) {
51760
- return step([
51761
- n,
51762
- v
51763
- ]);
51764
- };
51765
- }
51766
- function step(op) {
51767
- if (f) throw new TypeError("Generator is already executing.");
51768
- while(g && (g = 0, op[0] && (_ = 0)), _)try {
51769
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
51770
- if (y = 0, t) op = [
51771
- op[0] & 2,
51772
- t.value
51773
- ];
51774
- switch(op[0]){
51775
- case 0:
51776
- case 1:
51777
- t = op;
51778
- break;
51779
- case 4:
51780
- _.label++;
51781
- return {
51782
- value: op[1],
51783
- done: false
51784
- };
51785
- case 5:
51786
- _.label++;
51787
- y = op[1];
51788
- op = [
51789
- 0
51790
- ];
51791
- continue;
51792
- case 7:
51793
- op = _.ops.pop();
51794
- _.trys.pop();
51795
- continue;
51796
- default:
51797
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
51798
- _ = 0;
51799
- continue;
51800
- }
51801
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
51802
- _.label = op[1];
51803
- break;
51804
- }
51805
- if (op[0] === 6 && _.label < t[1]) {
51806
- _.label = t[1];
51807
- t = op;
51808
- break;
51809
- }
51810
- if (t && _.label < t[2]) {
51811
- _.label = t[2];
51812
- _.ops.push(op);
51813
- break;
51814
- }
51815
- if (t[2]) _.ops.pop();
51816
- _.trys.pop();
51817
- continue;
51818
- }
51819
- op = body.call(thisArg, _);
51820
- } catch (e) {
51821
- op = [
51822
- 6,
51823
- e
51824
- ];
51825
- y = 0;
51826
- } finally{
51827
- f = t = 0;
51828
- }
51829
- if (op[0] & 5) throw op[1];
51830
- return {
51831
- value: op[0] ? op[1] : void 0,
51832
- done: true
51833
- };
51834
- }
51835
- }
51836
51576
  function ZRomulatorSettingPage() {
51837
- var id = useParams().id;
51838
- var _useSetting = _sliced_to_array$3(useSetting(id), 2), setting = _useSetting[0], setSetting = _useSetting[1];
51839
- var _setting = asStateData(setting);
51840
- var metadata = firstDefined([], _setting === null || _setting === void 0 ? void 0 : _setting.metadata);
51841
- var service = useSettingsService();
51842
- var renderField = reactExports.useCallback(function(meta) {
51577
+ const { id } = useParams();
51578
+ const [setting, setSetting] = useSetting(id);
51579
+ const _setting = asStateData(setting);
51580
+ const metadata = firstDefined([], _setting?.metadata);
51581
+ const service = useSettingsService();
51582
+ const renderField = reactExports.useCallback((meta)=>{
51843
51583
  return /*#__PURE__*/ jsxRuntimeExports.jsx(ZFormField, {
51844
51584
  metadata: meta
51845
51585
  }, meta.id);
51846
51586
  }, []);
51847
- var handleUpdateConfig = function(contents) {
51848
- return _async_to_generator$1(function() {
51849
- var updated;
51850
- return _ts_generator$1(this, function(_state) {
51851
- switch(_state.label){
51852
- case 0:
51853
- _state.trys.push([
51854
- 0,
51855
- 2,
51856
- ,
51857
- 3
51858
- ]);
51859
- return [
51860
- 4,
51861
- service.update(_setting.id, {
51862
- contents: contents
51863
- })
51864
- ];
51865
- case 1:
51866
- updated = _state.sent();
51867
- setSetting(updated);
51868
- return [
51869
- 3,
51870
- 3
51871
- ];
51872
- case 2:
51873
- _state.sent();
51874
- return [
51875
- 3,
51876
- 3
51877
- ];
51878
- case 3:
51879
- return [
51880
- 2
51881
- ];
51882
- }
51587
+ const handleUpdateConfig = async (contents)=>{
51588
+ try {
51589
+ const updated = await service.update(_setting.id, {
51590
+ contents
51883
51591
  });
51884
- })();
51592
+ setSetting(updated);
51593
+ } catch {
51594
+ // TODO: Error Handling
51595
+ }
51885
51596
  };
51886
51597
  return /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, {
51887
51598
  className: "ZRomulatorSettingPage-root",
@@ -51889,16 +51600,16 @@ function ZRomulatorSettingPage() {
51889
51600
  children: [
51890
51601
  /*#__PURE__*/ jsxRuntimeExports.jsx(ZBreadcrumbsLocation, {}),
51891
51602
  /*#__PURE__*/ jsxRuntimeExports.jsx(ZForm, {
51892
- value: _setting === null || _setting === void 0 ? void 0 : _setting.contents,
51603
+ value: _setting?.contents,
51893
51604
  onValueChange: handleUpdateConfig,
51894
51605
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(ZCard, {
51895
51606
  TitleProps: {
51896
51607
  avatar: /*#__PURE__*/ jsxRuntimeExports.jsx(ZIconFontAwesome, {
51897
- name: _setting === null || _setting === void 0 ? void 0 : _setting.avatar,
51608
+ name: _setting?.avatar,
51898
51609
  width: ZSizeFixed.Medium
51899
51610
  }),
51900
- heading: _setting === null || _setting === void 0 ? void 0 : _setting.name,
51901
- subHeading: _setting === null || _setting === void 0 ? void 0 : _setting.description,
51611
+ heading: _setting?.name,
51612
+ subHeading: _setting?.description,
51902
51613
  suffix: /*#__PURE__*/ jsxRuntimeExports.jsxs(ZStack, {
51903
51614
  orientation: ZOrientation.Horizontal,
51904
51615
  gap: ZSizeFixed.Medium,
@@ -51936,58 +51647,12 @@ function ZRomulatorSettingPage() {
51936
51647
  });
51937
51648
  }
51938
51649
 
51939
- function _array_like_to_array$2(arr, len) {
51940
- if (len == null || len > arr.length) len = arr.length;
51941
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
51942
- return arr2;
51943
- }
51944
- function _array_with_holes$2(arr) {
51945
- if (Array.isArray(arr)) return arr;
51946
- }
51947
- function _iterable_to_array_limit$2(arr, i) {
51948
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
51949
- if (_i == null) return;
51950
- var _arr = [];
51951
- var _n = true;
51952
- var _d = false;
51953
- var _s, _e;
51954
- try {
51955
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
51956
- _arr.push(_s.value);
51957
- if (i && _arr.length === i) break;
51958
- }
51959
- } catch (err) {
51960
- _d = true;
51961
- _e = err;
51962
- } finally{
51963
- try {
51964
- if (!_n && _i["return"] != null) _i["return"]();
51965
- } finally{
51966
- if (_d) throw _e;
51967
- }
51968
- }
51969
- return _arr;
51970
- }
51971
- function _non_iterable_rest$2() {
51972
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
51973
- }
51974
- function _sliced_to_array$2(arr, i) {
51975
- return _array_with_holes$2(arr) || _iterable_to_array_limit$2(arr, i) || _unsupported_iterable_to_array$2(arr, i) || _non_iterable_rest$2();
51976
- }
51977
- function _unsupported_iterable_to_array$2(o, minLen) {
51978
- if (!o) return;
51979
- if (typeof o === "string") return _array_like_to_array$2(o, minLen);
51980
- var n = Object.prototype.toString.call(o).slice(8, -1);
51981
- if (n === "Object" && o.constructor) n = o.constructor.name;
51982
- if (n === "Map" || n === "Set") return Array.from(n);
51983
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$2(o, minLen);
51984
- }
51985
51650
  function ZRomulatorSettingsPage() {
51986
- var body = useFashionTheme().body;
51987
- var navigate = useNavigate();
51988
- var settings = useSettingsService();
51989
- var _useState = _sliced_to_array$2(reactExports.useState(new ZDataRequestBuilder().build()), 1), request = _useState[0];
51990
- var renderTile = function(config) {
51651
+ const { body } = useFashionTheme();
51652
+ const navigate = useNavigate();
51653
+ const settings = useSettingsService();
51654
+ const [request] = reactExports.useState(new ZDataRequestBuilder().build());
51655
+ const renderTile = (config)=>{
51991
51656
  return /*#__PURE__*/ jsxRuntimeExports.jsx(ZBox, {
51992
51657
  className: "ZRomulatorSettingsPage-tile",
51993
51658
  fashion: body,
@@ -51995,9 +51660,7 @@ function ZRomulatorSettingsPage() {
51995
51660
  cursor: "pointer",
51996
51661
  padding: ZSizeFixed.Medium,
51997
51662
  "data-name": config.id,
51998
- onClick: function() {
51999
- return navigate(config.id);
52000
- },
51663
+ onClick: ()=>navigate(config.id),
52001
51664
  children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZStack, {
52002
51665
  gap: ZSizeFixed.Medium,
52003
51666
  children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZContentTitle, {
@@ -52055,80 +51718,19 @@ function ZRomulatorSettingsPage() {
52055
51718
  });
52056
51719
  }
52057
51720
 
52058
- function _define_property$1(obj, key, value) {
52059
- if (key in obj) {
52060
- Object.defineProperty(obj, key, {
52061
- value: value,
52062
- enumerable: true,
52063
- configurable: true,
52064
- writable: true
52065
- });
52066
- } else {
52067
- obj[key] = value;
52068
- }
52069
- return obj;
52070
- }
52071
- function _object_spread(target) {
52072
- for(var i = 1; i < arguments.length; i++){
52073
- var source = arguments[i] != null ? arguments[i] : {};
52074
- var ownKeys = Object.keys(source);
52075
- if (typeof Object.getOwnPropertySymbols === "function") {
52076
- ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
52077
- return Object.getOwnPropertyDescriptor(source, sym).enumerable;
52078
- }));
52079
- }
52080
- ownKeys.forEach(function(key) {
52081
- _define_property$1(target, key, source[key]);
52082
- });
52083
- }
52084
- return target;
52085
- }
52086
- function ownKeys(object, enumerableOnly) {
52087
- var keys = Object.keys(object);
52088
- if (Object.getOwnPropertySymbols) {
52089
- var symbols = Object.getOwnPropertySymbols(object);
52090
- keys.push.apply(keys, symbols);
52091
- }
52092
- return keys;
52093
- }
52094
- function _object_spread_props(target, source) {
52095
- source = source != null ? source : {};
52096
- if (Object.getOwnPropertyDescriptors) {
52097
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
52098
- } else {
52099
- ownKeys(Object(source)).forEach(function(key) {
52100
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
52101
- });
52102
- }
52103
- return target;
52104
- }
52105
- function _tagged_template_literal$1(strings, raw) {
52106
- if (!raw) {
52107
- raw = strings.slice(0);
52108
- }
52109
- return Object.freeze(Object.defineProperties(strings, {
52110
- raw: {
52111
- value: Object.freeze(raw)
52112
- }
52113
- }));
52114
- }
52115
- function _templateObject$1() {
52116
- var data = _tagged_template_literal$1([
52117
- "\n &.ZRomulatorSystemCard-root .ZRomulatorSystemCard-avatar {\n height: 100%;\n width: 100%;\n }\n "
52118
- ]);
52119
- _templateObject$1 = function _templateObject() {
52120
- return data;
52121
- };
52122
- return data;
52123
- }
52124
51721
  function ZRomulatorSystemAvatarCard(props) {
52125
- var system = props.system, CardProps = props.CardProps;
52126
- var src = "/systems/wheel/".concat(system.id, ".png");
52127
- var _className = useCss(css$1(_templateObject$1()));
52128
- return /*#__PURE__*/ jsxRuntimeExports.jsx(ZCard, _object_spread_props(_object_spread({
51722
+ const { system, CardProps } = props;
51723
+ const src = `/systems/wheel/${system.id}.png`;
51724
+ const _className = useCss(css$1`
51725
+ &.ZRomulatorSystemCard-root .ZRomulatorSystemCard-avatar {
51726
+ height: 100%;
51727
+ width: 100%;
51728
+ }
51729
+ `);
51730
+ return /*#__PURE__*/ jsxRuntimeExports.jsx(ZCard, {
52129
51731
  className: cssJoinDefined("ZRomulatorSystemCard-root", _className),
52130
- name: system.id
52131
- }, CardProps), {
51732
+ name: system.id,
51733
+ ...CardProps,
52132
51734
  children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZStack, {
52133
51735
  className: "ZRomulatorSystemCard-avatar",
52134
51736
  orientation: ZOrientation.Horizontal,
@@ -52145,387 +51747,45 @@ function ZRomulatorSystemAvatarCard(props) {
52145
51747
  width: ZSizeFixed.ExtraLarge
52146
51748
  })
52147
51749
  })
52148
- }));
52149
- }
52150
-
52151
- /* istanbul ignore file -- @preserve */ function _class_call_check$1(instance, Constructor) {
52152
- if (!(instance instanceof Constructor)) {
52153
- throw new TypeError("Cannot call a class as a function");
52154
- }
52155
- }
52156
- function _defineProperties$1(target, props) {
52157
- for(var i = 0; i < props.length; i++){
52158
- var descriptor = props[i];
52159
- descriptor.enumerable = descriptor.enumerable || false;
52160
- descriptor.configurable = true;
52161
- if ("value" in descriptor) descriptor.writable = true;
52162
- Object.defineProperty(target, descriptor.key, descriptor);
52163
- }
52164
- }
52165
- function _create_class$1(Constructor, protoProps, staticProps) {
52166
- if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
52167
- return Constructor;
51750
+ });
52168
51751
  }
52169
- var ZRomulatorEnvironmentService = /*#__PURE__*/ function() {
52170
- function ZRomulatorEnvironmentService() {
52171
- _class_call_check$1(this, ZRomulatorEnvironmentService);
52172
- }
52173
- _create_class$1(ZRomulatorEnvironmentService, [
52174
- {
52175
- key: "read",
52176
- value: function read() {
52177
- return Promise.resolve(new ZRomulatorEnvironmentBuilder().build());
52178
- }
52179
- }
52180
- ]);
52181
- return ZRomulatorEnvironmentService;
52182
- }();
52183
51752
 
52184
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
52185
- try {
52186
- var info = gen[key](arg);
52187
- var value = info.value;
52188
- } catch (error) {
52189
- reject(error);
52190
- return;
51753
+ class ZRomulatorSystemsService {
51754
+ _rest;
51755
+ endpoint() {
51756
+ const { api } = new ZRomulatorEnvironmentBuilder().build();
51757
+ return new ZUrlBuilder().parse(api).append("systems").build();
52191
51758
  }
52192
- if (info.done) {
52193
- resolve(value);
52194
- } else {
52195
- Promise.resolve(value).then(_next, _throw);
51759
+ constructor(_http){
51760
+ this._rest = new ZLazy(async ()=>Promise.resolve(new ZRestfulService(_http, this.endpoint())));
52196
51761
  }
52197
- }
52198
- function _async_to_generator(fn) {
52199
- return function() {
52200
- var self = this, args = arguments;
52201
- return new Promise(function(resolve, reject) {
52202
- var gen = fn.apply(self, args);
52203
- function _next(value) {
52204
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
52205
- }
52206
- function _throw(err) {
52207
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
52208
- }
52209
- _next(undefined);
52210
- });
52211
- };
52212
- }
52213
- function _class_call_check(instance, Constructor) {
52214
- if (!(instance instanceof Constructor)) {
52215
- throw new TypeError("Cannot call a class as a function");
51762
+ async retrieve(request) {
51763
+ return (await this._rest.get()).retrieve(request);
52216
51764
  }
52217
- }
52218
- function _defineProperties(target, props) {
52219
- for(var i = 0; i < props.length; i++){
52220
- var descriptor = props[i];
52221
- descriptor.enumerable = descriptor.enumerable || false;
52222
- descriptor.configurable = true;
52223
- if ("value" in descriptor) descriptor.writable = true;
52224
- Object.defineProperty(target, descriptor.key, descriptor);
51765
+ async count(request) {
51766
+ return (await this._rest.get()).count(request);
52225
51767
  }
52226
- }
52227
- function _create_class(Constructor, protoProps, staticProps) {
52228
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
52229
- return Constructor;
52230
- }
52231
- function _define_property(obj, key, value) {
52232
- if (key in obj) {
52233
- Object.defineProperty(obj, key, {
52234
- value: value,
52235
- enumerable: true,
52236
- configurable: true,
52237
- writable: true
52238
- });
52239
- } else {
52240
- obj[key] = value;
52241
- }
52242
- return obj;
52243
- }
52244
- function _ts_generator(thisArg, body) {
52245
- var f, y, t, _ = {
52246
- label: 0,
52247
- sent: function() {
52248
- if (t[0] & 1) throw t[1];
52249
- return t[1];
52250
- },
52251
- trys: [],
52252
- ops: []
52253
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52254
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
52255
- return this;
52256
- }), g;
52257
- function verb(n) {
52258
- return function(v) {
52259
- return step([
52260
- n,
52261
- v
52262
- ]);
52263
- };
52264
- }
52265
- function step(op) {
52266
- if (f) throw new TypeError("Generator is already executing.");
52267
- while(g && (g = 0, op[0] && (_ = 0)), _)try {
52268
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
52269
- if (y = 0, t) op = [
52270
- op[0] & 2,
52271
- t.value
52272
- ];
52273
- switch(op[0]){
52274
- case 0:
52275
- case 1:
52276
- t = op;
52277
- break;
52278
- case 4:
52279
- _.label++;
52280
- return {
52281
- value: op[1],
52282
- done: false
52283
- };
52284
- case 5:
52285
- _.label++;
52286
- y = op[1];
52287
- op = [
52288
- 0
52289
- ];
52290
- continue;
52291
- case 7:
52292
- op = _.ops.pop();
52293
- _.trys.pop();
52294
- continue;
52295
- default:
52296
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
52297
- _ = 0;
52298
- continue;
52299
- }
52300
- if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
52301
- _.label = op[1];
52302
- break;
52303
- }
52304
- if (op[0] === 6 && _.label < t[1]) {
52305
- _.label = t[1];
52306
- t = op;
52307
- break;
52308
- }
52309
- if (t && _.label < t[2]) {
52310
- _.label = t[2];
52311
- _.ops.push(op);
52312
- break;
52313
- }
52314
- if (t[2]) _.ops.pop();
52315
- _.trys.pop();
52316
- continue;
52317
- }
52318
- op = body.call(thisArg, _);
52319
- } catch (e) {
52320
- op = [
52321
- 6,
52322
- e
52323
- ];
52324
- y = 0;
52325
- } finally{
52326
- f = t = 0;
52327
- }
52328
- if (op[0] & 5) throw op[1];
52329
- return {
52330
- value: op[0] ? op[1] : void 0,
52331
- done: true
52332
- };
51768
+ async get(id) {
51769
+ return (await this._rest.get()).get(id);
52333
51770
  }
52334
51771
  }
52335
- var ZRomulatorSystemsService = /*#__PURE__*/ function() {
52336
- function ZRomulatorSystemsService(_http, _env) {
52337
- var _this = this;
52338
- _class_call_check(this, ZRomulatorSystemsService);
52339
- _define_property(this, "_env", void 0);
52340
- _define_property(this, "_rest", void 0);
52341
- this._env = _env;
52342
- this._rest = new ZLazy(function() {
52343
- return _async_to_generator(function() {
52344
- var _, _1, _tmp;
52345
- return _ts_generator(this, function(_state) {
52346
- switch(_state.label){
52347
- case 0:
52348
- _ = Promise.resolve;
52349
- _1 = ZRestfulService.bind;
52350
- _tmp = [
52351
- void 0,
52352
- _http
52353
- ];
52354
- return [
52355
- 4,
52356
- this.endpoint()
52357
- ];
52358
- case 1:
52359
- return [
52360
- 2,
52361
- _.apply(Promise, [
52362
- new (_1.apply(ZRestfulService, _tmp.concat([
52363
- _state.sent()
52364
- ])))
52365
- ])
52366
- ];
52367
- }
52368
- });
52369
- }).call(_this);
52370
- });
52371
- }
52372
- _create_class(ZRomulatorSystemsService, [
52373
- {
52374
- key: "endpoint",
52375
- value: function endpoint() {
52376
- return _async_to_generator(function() {
52377
- var env;
52378
- return _ts_generator(this, function(_state) {
52379
- switch(_state.label){
52380
- case 0:
52381
- return [
52382
- 4,
52383
- this._env.read()
52384
- ];
52385
- case 1:
52386
- env = _state.sent();
52387
- return [
52388
- 2,
52389
- new ZUrlBuilder().parse(env.api).append("systems").build()
52390
- ];
52391
- }
52392
- });
52393
- }).call(this);
52394
- }
52395
- },
52396
- {
52397
- key: "retrieve",
52398
- value: function retrieve(request) {
52399
- return _async_to_generator(function() {
52400
- return _ts_generator(this, function(_state) {
52401
- switch(_state.label){
52402
- case 0:
52403
- return [
52404
- 4,
52405
- this._rest.get()
52406
- ];
52407
- case 1:
52408
- return [
52409
- 2,
52410
- _state.sent().retrieve(request)
52411
- ];
52412
- }
52413
- });
52414
- }).call(this);
52415
- }
52416
- },
52417
- {
52418
- key: "count",
52419
- value: function count(request) {
52420
- return _async_to_generator(function() {
52421
- return _ts_generator(this, function(_state) {
52422
- switch(_state.label){
52423
- case 0:
52424
- return [
52425
- 4,
52426
- this._rest.get()
52427
- ];
52428
- case 1:
52429
- return [
52430
- 2,
52431
- _state.sent().count(request)
52432
- ];
52433
- }
52434
- });
52435
- }).call(this);
52436
- }
52437
- },
52438
- {
52439
- key: "get",
52440
- value: function get(id) {
52441
- return _async_to_generator(function() {
52442
- return _ts_generator(this, function(_state) {
52443
- switch(_state.label){
52444
- case 0:
52445
- return [
52446
- 4,
52447
- this._rest.get()
52448
- ];
52449
- case 1:
52450
- return [
52451
- 2,
52452
- _state.sent().get(id)
52453
- ];
52454
- }
52455
- });
52456
- }).call(this);
52457
- }
52458
- }
52459
- ]);
52460
- return ZRomulatorSystemsService;
52461
- }();
52462
51772
  function createDefaultSystemsService() {
52463
- return new ZRomulatorSystemsService(new ZHttpService(), new ZRomulatorEnvironmentService());
51773
+ return new ZRomulatorSystemsService(new ZHttpService());
52464
51774
  }
52465
- var ZRomulatorSystemsServiceContext = /*#__PURE__*/ reactExports.createContext(createDefaultSystemsService());
52466
- var useSystemsService = function() {
52467
- return reactExports.useContext(ZRomulatorSystemsServiceContext);
52468
- };
52469
- var useSystem = function(id) {
52470
- var service = useSystemsService();
52471
- return useAsyncState(function() {
52472
- return service.get(id);
52473
- }, [
51775
+ const ZRomulatorSystemsServiceContext = /*#__PURE__*/ reactExports.createContext(createDefaultSystemsService());
51776
+ const useSystemsService = ()=>reactExports.useContext(ZRomulatorSystemsServiceContext);
51777
+ const useSystem = (id)=>{
51778
+ const service = useSystemsService();
51779
+ return useAsyncState(()=>service.get(id), [
52474
51780
  id
52475
51781
  ]);
52476
51782
  };
52477
51783
 
52478
- function _array_like_to_array$1(arr, len) {
52479
- if (len == null || len > arr.length) len = arr.length;
52480
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
52481
- return arr2;
52482
- }
52483
- function _array_with_holes$1(arr) {
52484
- if (Array.isArray(arr)) return arr;
52485
- }
52486
- function _iterable_to_array_limit$1(arr, i) {
52487
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
52488
- if (_i == null) return;
52489
- var _arr = [];
52490
- var _n = true;
52491
- var _d = false;
52492
- var _s, _e;
52493
- try {
52494
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
52495
- _arr.push(_s.value);
52496
- if (i && _arr.length === i) break;
52497
- }
52498
- } catch (err) {
52499
- _d = true;
52500
- _e = err;
52501
- } finally{
52502
- try {
52503
- if (!_n && _i["return"] != null) _i["return"]();
52504
- } finally{
52505
- if (_d) throw _e;
52506
- }
52507
- }
52508
- return _arr;
52509
- }
52510
- function _non_iterable_rest$1() {
52511
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
52512
- }
52513
- function _sliced_to_array$1(arr, i) {
52514
- return _array_with_holes$1(arr) || _iterable_to_array_limit$1(arr, i) || _unsupported_iterable_to_array$1(arr, i) || _non_iterable_rest$1();
52515
- }
52516
- function _unsupported_iterable_to_array$1(o, minLen) {
52517
- if (!o) return;
52518
- if (typeof o === "string") return _array_like_to_array$1(o, minLen);
52519
- var n = Object.prototype.toString.call(o).slice(8, -1);
52520
- if (n === "Object" && o.constructor) n = o.constructor.name;
52521
- if (n === "Map" || n === "Set") return Array.from(n);
52522
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array$1(o, minLen);
52523
- }
52524
51784
  function ZRomulatorSystemPage() {
52525
- var id = useParams().id;
52526
- var error = useFashionTheme().error;
52527
- var _useSystem = _sliced_to_array$1(useSystem(firstDefined("", id)), 1), system = _useSystem[0];
52528
- var renderSystemInformation = function() {
51785
+ const { id } = useParams();
51786
+ const { error } = useFashionTheme();
51787
+ const [system] = useSystem(firstDefined("", id));
51788
+ const renderSystemInformation = ()=>{
52529
51789
  if (isStateLoading(system)) {
52530
51790
  return /*#__PURE__*/ jsxRuntimeExports.jsx(ZSuspenseProgress, {
52531
51791
  height: ZSizeFixed.Large
@@ -52552,81 +51812,22 @@ function ZRomulatorSystemPage() {
52552
51812
  });
52553
51813
  }
52554
51814
 
52555
- function _array_like_to_array(arr, len) {
52556
- if (len == null || len > arr.length) len = arr.length;
52557
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
52558
- return arr2;
52559
- }
52560
- function _array_with_holes(arr) {
52561
- if (Array.isArray(arr)) return arr;
52562
- }
52563
- function _iterable_to_array_limit(arr, i) {
52564
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
52565
- if (_i == null) return;
52566
- var _arr = [];
52567
- var _n = true;
52568
- var _d = false;
52569
- var _s, _e;
52570
- try {
52571
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
52572
- _arr.push(_s.value);
52573
- if (i && _arr.length === i) break;
52574
- }
52575
- } catch (err) {
52576
- _d = true;
52577
- _e = err;
52578
- } finally{
52579
- try {
52580
- if (!_n && _i["return"] != null) _i["return"]();
52581
- } finally{
52582
- if (_d) throw _e;
52583
- }
52584
- }
52585
- return _arr;
52586
- }
52587
- function _non_iterable_rest() {
52588
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
52589
- }
52590
- function _sliced_to_array(arr, i) {
52591
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
52592
- }
52593
- function _tagged_template_literal(strings, raw) {
52594
- if (!raw) {
52595
- raw = strings.slice(0);
52596
- }
52597
- return Object.freeze(Object.defineProperties(strings, {
52598
- raw: {
52599
- value: Object.freeze(raw)
52600
- }
52601
- }));
52602
- }
52603
- function _unsupported_iterable_to_array(o, minLen) {
52604
- if (!o) return;
52605
- if (typeof o === "string") return _array_like_to_array(o, minLen);
52606
- var n = Object.prototype.toString.call(o).slice(8, -1);
52607
- if (n === "Object" && o.constructor) n = o.constructor.name;
52608
- if (n === "Map" || n === "Set") return Array.from(n);
52609
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
52610
- }
52611
- function _templateObject() {
52612
- var data = _tagged_template_literal([
52613
- "\n & {\n height: 100%;\n }\n "
52614
- ]);
52615
- _templateObject = function _templateObject() {
52616
- return data;
52617
- };
52618
- return data;
52619
- }
52620
- var DefaultSystemSortOrder = new ZSortBuilder().ascending("generation").ascending("name").build();
52621
- var DefaultSystemRequest = new ZDataRequestBuilder().sort(DefaultSystemSortOrder).build();
51815
+ const DefaultSystemSortOrder = new ZSortBuilder().ascending("generation").ascending("name").build();
51816
+ const DefaultSystemRequest = new ZDataRequestBuilder().sort(DefaultSystemSortOrder).build();
52622
51817
  function ZRomulatorSystemsPage() {
52623
- var body = useFashionTheme().body;
52624
- var navigate = useNavigate();
52625
- var source = useSystemsService();
52626
- var _useState = _sliced_to_array(reactExports.useState(DefaultSystemRequest), 2), request = _useState[0], setRequest = _useState[1];
52627
- var tile = useCss(css$1(_templateObject()));
52628
- var renderTile = function(system) {
52629
- var wheel = "/systems/wheel/".concat(system.id, ".png");
51818
+ const { body } = useFashionTheme();
51819
+ const navigate = useNavigate();
51820
+ const source = useSystemsService();
51821
+ const [request, setRequest] = reactExports.useState(DefaultSystemRequest);
51822
+ const tile = useCss(css$1`
51823
+ & {
51824
+ height: 100%;
51825
+ }
51826
+ `);
51827
+ const renderTile = (system)=>{
51828
+ const { api } = new ZRomulatorEnvironmentBuilder().build();
51829
+ const id = `${system.id}-wheel`;
51830
+ const wheel = `${api}/media/${id}`;
52630
51831
  return /*#__PURE__*/ jsxRuntimeExports.jsx(ZBox, {
52631
51832
  className: "ZRomulatorSystemsPage-tile",
52632
51833
  fashion: body,
@@ -52634,9 +51835,7 @@ function ZRomulatorSystemsPage() {
52634
51835
  cursor: "pointer",
52635
51836
  padding: ZSizeFixed.Small,
52636
51837
  "data-name": system.id,
52637
- onClick: function() {
52638
- return navigate(system.id);
52639
- },
51838
+ onClick: ()=>navigate(system.id),
52640
51839
  children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZStack, {
52641
51840
  className: cssJoinDefined(tile),
52642
51841
  gap: ZSizeFixed.Medium,
@@ -52715,7 +51914,7 @@ function ZRomulatorTitle() {
52715
51914
  });
52716
51915
  }
52717
51916
 
52718
- var FashionTheme = createDarkTheme();
51917
+ const FashionTheme = createDarkTheme();
52719
51918
  function ZRomulatorApp() {
52720
51919
  return /*#__PURE__*/ jsxRuntimeExports.jsx(ZFashionThemeContext.Provider, {
52721
51920
  value: FashionTheme,
@@ -52759,7 +51958,7 @@ function ZRomulatorApp() {
52759
51958
  });
52760
51959
  }
52761
51960
 
52762
- var container = clientExports.createRoot(document.getElementById("zthunworks-romulator"));
51961
+ const container = clientExports.createRoot(document.getElementById("zthunworks-romulator"));
52763
51962
  container.render(/*#__PURE__*/ jsxRuntimeExports.jsx(React.StrictMode, {
52764
51963
  children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZRouter, {
52765
51964
  children: /*#__PURE__*/ jsxRuntimeExports.jsx(ZRomulatorApp, {})