@schukai/monster 1.15.5 → 1.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/CHANGELOG +25 -0
  2. package/README.md +4 -4
  3. package/dist/modules/constants.js +1 -1
  4. package/dist/modules/constraints/abstract.js +1 -1
  5. package/dist/modules/constraints/abstractoperator.js +1 -1
  6. package/dist/modules/constraints/andoperator.js +1 -1
  7. package/dist/modules/constraints/invalid.js +1 -1
  8. package/dist/modules/constraints/isarray.js +1 -1
  9. package/dist/modules/constraints/isobject.js +1 -1
  10. package/dist/modules/constraints/namespace.js +2 -2
  11. package/dist/modules/constraints/oroperator.js +1 -1
  12. package/dist/modules/constraints/valid.js +1 -1
  13. package/dist/modules/data/buildmap.js +2 -2
  14. package/dist/modules/data/diff.js +2 -2
  15. package/dist/modules/data/extend.js +1 -1
  16. package/dist/modules/data/namespace.js +2 -2
  17. package/dist/modules/data/pathfinder.js +2 -2
  18. package/dist/modules/data/pipe.js +1 -1
  19. package/dist/modules/data/transformer.js +1 -1
  20. package/dist/modules/dom/assembler.js +1 -1
  21. package/dist/modules/dom/attributes.js +1 -1
  22. package/dist/modules/dom/constants.js +1 -1
  23. package/dist/modules/dom/customcontrol.js +1 -1
  24. package/dist/modules/dom/customelement.js +1 -1
  25. package/dist/modules/dom/events.js +1 -1
  26. package/dist/modules/dom/locale.js +1 -1
  27. package/dist/modules/dom/namespace.js +2 -2
  28. package/dist/modules/dom/template.js +1 -1
  29. package/dist/modules/dom/theme.js +1 -1
  30. package/dist/modules/dom/updater.js +1 -1
  31. package/dist/modules/dom/util.js +1 -1
  32. package/dist/modules/i18n/locale.js +1 -1
  33. package/dist/modules/i18n/namespace.js +2 -2
  34. package/dist/modules/i18n/provider.js +1 -1
  35. package/dist/modules/i18n/providers/fetch.js +1 -1
  36. package/dist/modules/i18n/providers/namespace.js +2 -2
  37. package/dist/modules/i18n/translations.js +1 -1
  38. package/dist/modules/logging/handler/console.js +2 -2
  39. package/dist/modules/logging/handler/namespace.js +2 -2
  40. package/dist/modules/logging/handler.js +1 -1
  41. package/dist/modules/logging/logentry.js +1 -1
  42. package/dist/modules/logging/logger.js +1 -1
  43. package/dist/modules/logging/namespace.js +2 -2
  44. package/dist/modules/math/namespace.js +2 -2
  45. package/dist/modules/math/random.js +1 -1
  46. package/dist/modules/monster.js +1 -1
  47. package/dist/modules/namespace.js +1 -1
  48. package/dist/modules/text/formatter.js +1 -1
  49. package/dist/modules/text/namespace.js +2 -2
  50. package/dist/modules/types/base.js +1 -1
  51. package/dist/modules/types/basewithoptions.js +1 -1
  52. package/dist/modules/types/global.js +1 -1
  53. package/dist/modules/types/id.js +1 -1
  54. package/dist/modules/types/is.js +1 -1
  55. package/dist/modules/types/namespace.js +2 -2
  56. package/dist/modules/types/observer.js +1 -1
  57. package/dist/modules/types/observerlist.js +1 -1
  58. package/dist/modules/types/proxyobserver.js +1 -1
  59. package/dist/modules/types/queue.js +1 -1
  60. package/dist/modules/types/randomid.js +1 -1
  61. package/dist/modules/types/stack.js +1 -1
  62. package/dist/modules/types/tokenlist.js +1 -1
  63. package/dist/modules/types/typeof.js +1 -1
  64. package/dist/modules/types/uniquequeue.js +1 -1
  65. package/dist/modules/types/validate.js +1 -1
  66. package/dist/modules/types/version.js +2 -2
  67. package/dist/modules/util/clone.js +1 -1
  68. package/dist/modules/util/comparator.js +1 -1
  69. package/dist/modules/util/freeze.js +1 -1
  70. package/dist/modules/util/namespace.js +2 -2
  71. package/dist/monster.dev.js +1293 -943
  72. package/dist/monster.dev.js.map +1 -1
  73. package/dist/monster.js +2 -2
  74. package/package.json +1 -1
  75. package/source/constraints/abstract.js +1 -1
  76. package/source/constraints/abstractoperator.js +1 -1
  77. package/source/constraints/andoperator.js +6 -6
  78. package/source/constraints/invalid.js +4 -4
  79. package/source/constraints/isarray.js +4 -4
  80. package/source/constraints/isobject.js +4 -4
  81. package/source/constraints/namespace.js +3 -2
  82. package/source/constraints/oroperator.js +6 -6
  83. package/source/constraints/valid.js +4 -4
  84. package/source/data/buildmap.js +245 -12
  85. package/source/data/diff.js +7 -6
  86. package/source/data/extend.js +3 -3
  87. package/source/data/namespace.js +3 -2
  88. package/source/data/pathfinder.js +15 -11
  89. package/source/data/pipe.js +4 -4
  90. package/source/data/transformer.js +4 -4
  91. package/source/dom/assembler.js +4 -4
  92. package/source/dom/attributes.js +36 -46
  93. package/source/dom/constants.js +16 -14
  94. package/source/dom/customcontrol.js +12 -8
  95. package/source/dom/customelement.js +24 -11
  96. package/source/dom/events.js +6 -6
  97. package/source/dom/locale.js +5 -4
  98. package/source/dom/namespace.js +3 -2
  99. package/source/dom/template.js +6 -6
  100. package/source/dom/theme.js +5 -4
  101. package/source/dom/updater.js +11 -5
  102. package/source/dom/util.js +9 -9
  103. package/source/i18n/locale.js +27 -15
  104. package/source/i18n/namespace.js +3 -2
  105. package/source/i18n/provider.js +3 -3
  106. package/source/i18n/providers/fetch.js +22 -6
  107. package/source/i18n/providers/namespace.js +3 -2
  108. package/source/i18n/translations.js +3 -3
  109. package/source/logging/handler/console.js +34 -10
  110. package/source/logging/handler/namespace.js +3 -2
  111. package/source/logging/handler.js +4 -4
  112. package/source/logging/logentry.js +5 -5
  113. package/source/logging/logger.js +13 -13
  114. package/source/logging/namespace.js +3 -2
  115. package/source/math/namespace.js +3 -2
  116. package/source/math/random.js +3 -3
  117. package/source/namespace.js +1 -1
  118. package/source/text/formatter.js +3 -3
  119. package/source/text/namespace.js +3 -2
  120. package/source/types/base.js +3 -3
  121. package/source/types/basewithoptions.js +3 -3
  122. package/source/types/global.js +7 -7
  123. package/source/types/id.js +3 -3
  124. package/source/types/is.js +30 -30
  125. package/source/types/namespace.js +3 -2
  126. package/source/types/observer.js +4 -4
  127. package/source/types/observerlist.js +3 -3
  128. package/source/types/proxyobserver.js +6 -6
  129. package/source/types/queue.js +4 -4
  130. package/source/types/randomid.js +3 -3
  131. package/source/types/stack.js +3 -3
  132. package/source/types/tokenlist.js +3 -3
  133. package/source/types/typeof.js +4 -4
  134. package/source/types/uniquequeue.js +3 -3
  135. package/source/types/validate.js +34 -34
  136. package/source/types/version.js +7 -7
  137. package/source/util/clone.js +3 -3
  138. package/source/util/comparator.js +37 -7
  139. package/source/util/freeze.js +4 -4
  140. package/source/util/namespace.js +3 -2
  141. package/test/cases/data/buildmap.js +242 -16
  142. package/test/cases/data/diff.js +36 -3
  143. package/test/cases/data/pathfinder.js +298 -196
  144. package/test/cases/logging/handler/console.js +20 -0
  145. package/test/cases/monster.js +1 -1
  146. package/test/web/import.js +1 -0
  147. package/test/web/monster-dev.html +3 -3
  148. package/test/web/monster.html +2 -2
  149. package/test/web/test.html +2 -2
  150. package/test/web/tests.js +3 -3
@@ -1,4 +1,4 @@
1
- /** Monster 1.15.5, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
1
+ /** Monster 1.17.1, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -132,7 +132,7 @@ var Monster = new Namespace("Monster");
132
132
  *
133
133
  * ```
134
134
  * <script type="module">
135
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/namespace.js';
135
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/namespace.js';
136
136
  * function hello() {
137
137
  * console.log('Hello World!');
138
138
  * }
@@ -286,7 +286,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
286
286
  *
287
287
  * @since 1.3.0
288
288
  * @copyright schukai GmbH
289
- * @memberOf Monster/Constraints
289
+ * @memberOf Monster.Constraints
290
290
  */
291
291
 
292
292
  var AbstractConstraint = /*#__PURE__*/function (_Base) {
@@ -374,7 +374,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
374
374
  *
375
375
  * ```
376
376
  * <script type="module">
377
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/base.js';
377
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/base.js';
378
378
  * console.log(new Monster.Types.Base())
379
379
  * </script>
380
380
  * ```
@@ -383,7 +383,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
383
383
  *
384
384
  * ```
385
385
  * <script type="module">
386
- * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/base.js';
386
+ * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/base.js';
387
387
  * console.log(new Base())
388
388
  * </script>
389
389
  * ```
@@ -392,7 +392,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
392
392
  *
393
393
  * @since 1.5.0
394
394
  * @copyright schukai GmbH
395
- * @memberOf Monster/Types
395
+ * @memberOf Monster.Types
396
396
  */
397
397
 
398
398
  var Base = /*#__PURE__*/function (_Object) {
@@ -465,7 +465,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
465
465
  *
466
466
  * @since 1.3.0
467
467
  * @copyright schukai GmbH
468
- * @memberOf Monster/Constraints
468
+ * @memberOf Monster.Constraints
469
469
  */
470
470
 
471
471
  var AbstractOperator = /*#__PURE__*/function (_AbstractConstraint) {
@@ -546,7 +546,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
546
546
  *
547
547
  * ```
548
548
  * <script type="module">
549
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/andoperator.js';
549
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/andoperator.js';
550
550
  * new Monster.Constraint.AndOperator();
551
551
  * </script>
552
552
  * ```
@@ -555,16 +555,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
555
555
  *
556
556
  * ```
557
557
  * <script type="module">
558
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/andoperator.js';
558
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/andoperator.js';
559
559
  * new AndOperator();
560
560
  * </script>
561
561
  * ```
562
562
  *
563
563
  * @example
564
564
  *
565
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/valid.js';
566
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/invalid.js';
567
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/andoperator.js';
565
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
566
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
567
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/andoperator.js';
568
568
  *
569
569
  * new AndOperator(
570
570
  * new Valid(), new Valid()).isValid()
@@ -580,7 +580,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
580
580
  *
581
581
  * @since 1.3.0
582
582
  * @copyright schukai GmbH
583
- * @memberOf Monster/Constraints
583
+ * @memberOf Monster.Constraints
584
584
  */
585
585
 
586
586
  var AndOperator = /*#__PURE__*/function (_AbstractOperator) {
@@ -661,7 +661,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
661
661
  *
662
662
  * ```
663
663
  * <script type="module">
664
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/invalid.js';
664
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
665
665
  * new Monster.Constraint.Invalid();
666
666
  * </script>
667
667
  * ```
@@ -670,14 +670,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
670
670
  *
671
671
  * ```
672
672
  * <script type="module">
673
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/invalid.js';
673
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
674
674
  * new Invalid();
675
675
  * </script>
676
676
  * ```
677
677
  *
678
678
  * @example
679
679
  *
680
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/invalid.js';
680
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
681
681
  *
682
682
  * new Invalid().isValid()
683
683
  * .then(()=>console.log(true))
@@ -686,7 +686,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
686
686
  *
687
687
  * @since 1.3.0
688
688
  * @copyright schukai GmbH
689
- * @memberOf Monster/Constraints
689
+ * @memberOf Monster.Constraints
690
690
  */
691
691
 
692
692
  var Invalid = /*#__PURE__*/function (_AbstractConstraint) {
@@ -767,7 +767,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
767
767
  *
768
768
  * ```
769
769
  * <script type="module">
770
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/isarray.js';
770
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isarray.js';
771
771
  * console.log(new Monster.Constraint.IsArray())
772
772
  * </script>
773
773
  * ```
@@ -776,14 +776,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
776
776
  *
777
777
  * ```
778
778
  * <script type="module">
779
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/isarray.js';
779
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isarray.js';
780
780
  * console.log(new IsArray())
781
781
  * </script>
782
782
  * ```
783
783
  *
784
784
  * @example
785
785
  *
786
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/isarray.js';
786
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isarray.js';
787
787
  *
788
788
  * new IsArray()
789
789
  * .isValid([])
@@ -797,7 +797,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
797
797
  *
798
798
  * @since 1.3.0
799
799
  * @copyright schukai GmbH
800
- * @memberOf Monster/Constraints
800
+ * @memberOf Monster.Constraints
801
801
  */
802
802
 
803
803
  var IsArray = /*#__PURE__*/function (_AbstractConstraint) {
@@ -869,7 +869,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
869
869
  *
870
870
  * ```
871
871
  * <script type="module">
872
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
872
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
873
873
  * console.log(Monster.Types.isIterable(null)) // ↦ false
874
874
  * console.log(Monster.Types.isIterable('hello')) // ↦ true
875
875
  * console.log(Monster.Types.isIterable([])) // ↦ true
@@ -880,7 +880,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
880
880
  *
881
881
  * ```
882
882
  * <script type="module">
883
- * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
883
+ * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
884
884
  * console.log(isIterable(null)) // ↦ false
885
885
  * console.log(isIterable('hello')) // ↦ true
886
886
  * console.log(isIterable([])) // ↦ true
@@ -891,7 +891,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
891
891
  * @returns {boolean}
892
892
  * @since 1.2.0
893
893
  * @copyright schukai GmbH
894
- * @memberOf Monster/Types
894
+ * @memberOf Monster.Types
895
895
  */
896
896
 
897
897
  function isIterable(value) {
@@ -906,7 +906,7 @@ function isIterable(value) {
906
906
  *
907
907
  * ```
908
908
  * <script type="module">
909
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
909
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
910
910
  * console.log(Monster.Types.isPrimitive('2')) // ↦ false
911
911
  * console.log(Monster.Types.isPrimitive([])) // ↦ true
912
912
  * </script>
@@ -916,7 +916,7 @@ function isIterable(value) {
916
916
  *
917
917
  * ```
918
918
  * <script type="module">
919
- * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
919
+ * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
920
920
  * console.log(isPrimitive('2')) // ↦ true
921
921
  * console.log(isPrimitive([])) // ↦ false
922
922
  * </script>
@@ -926,7 +926,7 @@ function isIterable(value) {
926
926
  * @returns {boolean}
927
927
  * @since 1.0.0
928
928
  * @copyright schukai GmbH
929
- * @memberOf Monster/Types
929
+ * @memberOf Monster.Types
930
930
  */
931
931
 
932
932
 
@@ -952,7 +952,7 @@ function isPrimitive(value) {
952
952
  *
953
953
  * ```
954
954
  * <script type="module">
955
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
955
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
956
956
  * console.log(Monster.Types.isSymbol('2')) // ↦ false
957
957
  * console.log(Monster.Types.isSymbol(Symbol('test')) // ↦ true
958
958
  * </script>
@@ -962,7 +962,7 @@ function isPrimitive(value) {
962
962
  *
963
963
  * ```
964
964
  * <script type="module">
965
- * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
965
+ * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
966
966
  * console.log(isSymbol(Symbol('a'))) // ↦ true
967
967
  * console.log(isSymbol([]) // ↦ false
968
968
  * </script>
@@ -972,7 +972,7 @@ function isPrimitive(value) {
972
972
  * @returns {boolean}
973
973
  * @since 1.9.0
974
974
  * @copyright schukai GmbH
975
- * @memberOf Monster/Types
975
+ * @memberOf Monster.Types
976
976
  */
977
977
 
978
978
 
@@ -986,7 +986,7 @@ function isSymbol(value) {
986
986
  *
987
987
  * ```
988
988
  * <script type="module">
989
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
989
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
990
990
  * console.log(Monster.Types.isBoolean('2')) // ↦ false
991
991
  * console.log(Monster.Types.isBoolean([])) // ↦ false
992
992
  * console.log(Monster.Types.isBoolean(true)) // ↦ true
@@ -997,7 +997,7 @@ function isSymbol(value) {
997
997
  *
998
998
  * ```
999
999
  * <script type="module">
1000
- * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1000
+ * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1001
1001
  * console.log(isBoolean('2')) // ↦ false
1002
1002
  * console.log(isBoolean([])) // ↦ false
1003
1003
  * console.log(isBoolean(2>4)) // ↦ true
@@ -1008,7 +1008,7 @@ function isSymbol(value) {
1008
1008
  * @returns {boolean}
1009
1009
  * @since 1.0.0
1010
1010
  * @copyright schukai GmbH
1011
- * @memberOf Monster/Types
1011
+ * @memberOf Monster.Types
1012
1012
  */
1013
1013
 
1014
1014
 
@@ -1026,7 +1026,7 @@ function isBoolean(value) {
1026
1026
  *
1027
1027
  * ```
1028
1028
  * <script type="module">
1029
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1029
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1030
1030
  * console.log(Monster.Types.isString('2')) // ↦ true
1031
1031
  * console.log(Monster.Types.isString([])) // ↦ false
1032
1032
  * </script>
@@ -1036,7 +1036,7 @@ function isBoolean(value) {
1036
1036
  *
1037
1037
  * ```
1038
1038
  * <script type="module">
1039
- * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1039
+ * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1040
1040
  * console.log(isString('2')) // ↦ true
1041
1041
  * console.log(isString([])) // ↦ false
1042
1042
  * </script>
@@ -1046,7 +1046,7 @@ function isBoolean(value) {
1046
1046
  * @returns {boolean}
1047
1047
  * @since 1.0.0
1048
1048
  * @copyright schukai GmbH
1049
- * @memberOf Monster/Types
1049
+ * @memberOf Monster.Types
1050
1050
  */
1051
1051
 
1052
1052
 
@@ -1064,7 +1064,7 @@ function isString(value) {
1064
1064
  *
1065
1065
  * ```
1066
1066
  * <script type="module">
1067
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1067
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1068
1068
  * console.log(Monster.Types.isObject('2')) // ↦ false
1069
1069
  * console.log(Monster.Types.isObject([])) // ↦ false
1070
1070
  * console.log(Monster.Types.isObject({})) // ↦ true
@@ -1075,7 +1075,7 @@ function isString(value) {
1075
1075
  *
1076
1076
  * ```
1077
1077
  * <script type="module">
1078
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1078
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1079
1079
  * console.log(isObject('2')) // ↦ false
1080
1080
  * console.log(isObject([])) // ↦ false
1081
1081
  * </script>
@@ -1085,7 +1085,7 @@ function isString(value) {
1085
1085
  * @returns {boolean}
1086
1086
  * @since 1.0.0
1087
1087
  * @copyright schukai GmbH
1088
- * @memberOf Monster/Types
1088
+ * @memberOf Monster.Types
1089
1089
  */
1090
1090
 
1091
1091
 
@@ -1106,7 +1106,7 @@ function isObject(value) {
1106
1106
  *
1107
1107
  * ```
1108
1108
  * <script type="module">
1109
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1109
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1110
1110
  * console.log(Monster.Types.isInstance('2')) // ↦ false
1111
1111
  * console.log(Monster.Types.isInstance([])) // ↦ false
1112
1112
  * console.log(Monster.Types.isInstance({})) // ↦ true
@@ -1117,7 +1117,7 @@ function isObject(value) {
1117
1117
  *
1118
1118
  * ```
1119
1119
  * <script type="module">
1120
- * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1120
+ * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1121
1121
  * console.log(isInstance('2')) // ↦ false
1122
1122
  * console.log(isInstance([])) // ↦ false
1123
1123
  * </script>
@@ -1128,7 +1128,7 @@ function isObject(value) {
1128
1128
  * @returns {boolean}
1129
1129
  * @since 1.5.0
1130
1130
  * @copyright schukai GmbH
1131
- * @memberOf Monster/Types
1131
+ * @memberOf Monster.Types
1132
1132
  */
1133
1133
 
1134
1134
 
@@ -1145,7 +1145,7 @@ function isInstance(value, instance) {
1145
1145
  *
1146
1146
  * ```
1147
1147
  * <script type="module">
1148
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1148
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1149
1149
  * console.log(Monster.Types.isArray('2')) // ↦ false
1150
1150
  * console.log(Monster.Types.isArray([])) // ↦ true
1151
1151
  * </script>
@@ -1155,7 +1155,7 @@ function isInstance(value, instance) {
1155
1155
  *
1156
1156
  * ```
1157
1157
  * <script type="module">
1158
- * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1158
+ * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1159
1159
  * console.log(isArray('2')) // ↦ false
1160
1160
  * console.log(isArray([])) // ↦ true
1161
1161
  * </script>
@@ -1165,7 +1165,7 @@ function isInstance(value, instance) {
1165
1165
  * @returns {boolean}
1166
1166
  * @since 1.0.0
1167
1167
  * @copyright schukai GmbH
1168
- * @memberOf Monster/Types
1168
+ * @memberOf Monster.Types
1169
1169
  */
1170
1170
 
1171
1171
 
@@ -1183,7 +1183,7 @@ function isArray(value) {
1183
1183
  *
1184
1184
  * ```
1185
1185
  * <script type="module">
1186
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1186
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1187
1187
  * console.log(Monster.Types.isFunction(()=>{})) // ↦ true
1188
1188
  * console.log(Monster.Types.isFunction('2')) // ↦ false
1189
1189
  * console.log(Monster.Types.isFunction([])) // ↦ false
@@ -1194,7 +1194,7 @@ function isArray(value) {
1194
1194
  *
1195
1195
  * ```
1196
1196
  * <script type="module">
1197
- * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1197
+ * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1198
1198
  * console.log(isFunction(()=>{})) // ↦ true
1199
1199
  * console.log(isFunction('2')) // ↦ false
1200
1200
  * console.log(isFunction([])) // ↦ false
@@ -1205,7 +1205,7 @@ function isArray(value) {
1205
1205
  * @returns {boolean}
1206
1206
  * @since 1.0.0
1207
1207
  * @copyright schukai GmbH
1208
- * @memberOf Monster/Types
1208
+ * @memberOf Monster.Types
1209
1209
  */
1210
1210
 
1211
1211
 
@@ -1226,7 +1226,7 @@ function isFunction(value) {
1226
1226
  *
1227
1227
  * ```
1228
1228
  * <script type="module">
1229
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1229
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1230
1230
  * console.log(Monster.Types.isInteger(()=>{})) // ↦ true
1231
1231
  * console.log(Monster.Types.isInteger('2')) // ↦ false
1232
1232
  * console.log(Monster.Types.isInteger(2)) // ↦ true
@@ -1237,7 +1237,7 @@ function isFunction(value) {
1237
1237
  *
1238
1238
  * ```
1239
1239
  * <script type="module">
1240
- * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
1240
+ * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
1241
1241
  * console.log(isInteger(()=>{})) // ↦ true
1242
1242
  * console.log(isInteger('2')) // ↦ false
1243
1243
  * console.log(isInteger(2)) // ↦ true
@@ -1248,7 +1248,7 @@ function isFunction(value) {
1248
1248
  * @returns {boolean}
1249
1249
  * @since 1.4.0
1250
1250
  * @copyright schukai GmbH
1251
- * @memberOf Monster/Types
1251
+ * @memberOf Monster.Types
1252
1252
  */
1253
1253
 
1254
1254
 
@@ -1306,7 +1306,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1306
1306
  *
1307
1307
  * ```
1308
1308
  * <script type="module">
1309
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/isobject.js';
1309
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isobject.js';
1310
1310
  * console.log(new Monster.Constraint.IsObject())
1311
1311
  * </script>
1312
1312
  * ```
@@ -1315,14 +1315,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1315
1315
  *
1316
1316
  * ```
1317
1317
  * <script type="module">
1318
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/isobject.js';
1318
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isobject.js';
1319
1319
  * console.log(new IsObject())
1320
1320
  * </script>
1321
1321
  * ```
1322
1322
  *
1323
1323
  * @example
1324
1324
  *
1325
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/isobject.js';
1325
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/isobject.js';
1326
1326
  *
1327
1327
  * new IsObject()
1328
1328
  * .isValid({})
@@ -1337,7 +1337,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1337
1337
  *
1338
1338
  * @since 1.3.0
1339
1339
  * @copyright schukai GmbH
1340
- * @memberOf Monster/Constraints
1340
+ * @memberOf Monster.Constraints
1341
1341
  */
1342
1342
 
1343
1343
  var IsObject = /*#__PURE__*/function (_AbstractConstraint) {
@@ -1420,7 +1420,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1420
1420
  *
1421
1421
  * ```
1422
1422
  * <script type="module">
1423
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraint/oroperator.js';
1423
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraint/oroperator.js';
1424
1424
  * new Monster.Constraint.OrOperator();
1425
1425
  * </script>
1426
1426
  * ```
@@ -1429,16 +1429,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1429
1429
  *
1430
1430
  * ```
1431
1431
  * <script type="module">
1432
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraint/oroperator.js';
1432
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraint/oroperator.js';
1433
1433
  * new OrOperator();
1434
1434
  * </script>
1435
1435
  * ```
1436
1436
  *
1437
1437
  * @example
1438
1438
  *
1439
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/valid.js';
1440
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/invalid.js';
1441
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/oroperator.js';
1439
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1440
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/invalid.js';
1441
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/oroperator.js';
1442
1442
  *
1443
1443
  * new OrOperator(
1444
1444
  * new Valid(), new Invalid()).isValid()
@@ -1454,7 +1454,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1454
1454
  *
1455
1455
  * @since 1.3.0
1456
1456
  * @copyright schukai GmbH
1457
- * @memberOf Monster/Constraints
1457
+ * @memberOf Monster.Constraints
1458
1458
  */
1459
1459
 
1460
1460
  var OrOperator = /*#__PURE__*/function (_AbstractOperator) {
@@ -1558,7 +1558,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1558
1558
  *
1559
1559
  * ```
1560
1560
  * <script type="module">
1561
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/valid.js';
1561
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1562
1562
  * new Monster.Constraint.Valid();
1563
1563
  * </script>
1564
1564
  * ```
@@ -1567,14 +1567,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1567
1567
  *
1568
1568
  * ```
1569
1569
  * <script type="module">
1570
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/valid.js';
1570
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1571
1571
  * new Valid();
1572
1572
  * </script>
1573
1573
  * ```
1574
1574
  *
1575
1575
  * @example
1576
1576
  *
1577
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/constraints/valid.js';
1577
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/constraints/valid.js';
1578
1578
  *
1579
1579
  * new Valid().isValid()
1580
1580
  * .then(()=>console.log(true))
@@ -1583,7 +1583,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1583
1583
  *
1584
1584
  * @since 1.3.0
1585
1585
  * @copyright schukai GmbH
1586
- * @memberOf Monster/Constraints
1586
+ * @memberOf Monster.Constraints
1587
1587
  */
1588
1588
 
1589
1589
  var Valid = /*#__PURE__*/function (_AbstractConstraint) {
@@ -1629,7 +1629,8 @@ __webpack_require__.r(__webpack_exports__);
1629
1629
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
1630
1630
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
1631
1631
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
1632
- /* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
1632
+ /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
1633
+ /* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(17);
1633
1634
 
1634
1635
  /**
1635
1636
  * @author schukai GmbH
@@ -1641,20 +1642,31 @@ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableTo
1641
1642
 
1642
1643
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1643
1644
 
1644
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
1645
-
1646
1645
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
1647
1646
 
1648
1647
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
1649
1648
 
1650
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1651
-
1652
1649
  function _wrapRegExp() { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, undefined, groups); }; var _super = RegExp.prototype; var _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = new RegExp(re, flags); _groups.set(_this, groups || _groups.get(re)); return _setPrototypeOf(_this, BabelRegExp.prototype); } _inherits(BabelRegExp, RegExp); BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); if (result) result.groups = buildGroups(result, this); return result; }; BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if (typeof substitution === "string") { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) { return "$" + groups[name]; })); } else if (typeof substitution === "function") { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = arguments; if (_typeof(args[args.length - 1]) !== "object") { args = [].slice.call(args); args.push(buildGroups(args, _this)); } return substitution.apply(this, args); }); } else { return _super[Symbol.replace].call(this, str, substitution); } }; function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { groups[name] = result[g[name]]; return groups; }, Object.create(null)); } return _wrapRegExp.apply(this, arguments); }
1653
1650
 
1654
1651
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
1655
1652
 
1656
1653
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
1657
1654
 
1655
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1656
+
1657
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
1658
+
1659
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
1660
+
1661
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
1662
+
1663
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
1664
+
1665
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
1666
+
1667
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
1668
+
1669
+
1658
1670
 
1659
1671
 
1660
1672
 
@@ -1669,7 +1681,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
1669
1681
  *
1670
1682
  * ```
1671
1683
  * <script type="module">
1672
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/buildmap.js';
1684
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1673
1685
  * console.log(Monster.Data.buildMap())
1674
1686
  * </script>
1675
1687
  * ```
@@ -1678,13 +1690,18 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
1678
1690
  *
1679
1691
  * ```
1680
1692
  * <script type="module">
1681
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/buildmap.js';
1693
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1682
1694
  * console.log(buildMap())
1683
1695
  * </script>
1684
1696
  * ```
1697
+ *
1698
+ * The templates determine the appearance of the keys and the value of the map. Either a single value `id` can be taken or a composite key `${id} ${name}` can be used.
1699
+ *
1700
+ * If you want to access values of the parent data set, you have to use the `^` character `${id} ${^.name}`.
1685
1701
  *
1686
1702
  * @example
1687
1703
  *
1704
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1688
1705
  * // a typical data structure as reported by an api
1689
1706
  *
1690
1707
  * let map;
@@ -1753,18 +1770,32 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
1753
1770
  * // }
1754
1771
  *
1755
1772
  * @param {*} subject
1756
- * @param {string} selector
1757
- * @param {string|undefined} valueTemplate
1758
- * @param {string|undefined} keyTemplate
1759
- * @param {function|undefined} filter
1773
+ * @param {string|Monster.Data~exampleSelectorCallback} selector
1774
+ * @param {string} [valueTemplate]
1775
+ * @param {string} [keyTemplate]
1776
+ * @param {Monster.Data~exampleFilterCallback} [filter]
1760
1777
  * @return {*}
1778
+ * @memberOf Monster.Data
1779
+ * @throws {TypeError} value is neither a string nor a function
1780
+ * @throws {TypeError} the selector callback must return a map
1761
1781
  */
1762
1782
 
1763
1783
  function buildMap(subject, selector, valueTemplate, keyTemplate, filter) {
1764
- (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(selector);
1765
1784
  var result = new Map();
1766
- var finder = new _pathfinder_js__WEBPACK_IMPORTED_MODULE_3__.Pathfinder(subject);
1767
- var map = finder.getVia(selector);
1785
+ var map;
1786
+
1787
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isFunction)(selector)) {
1788
+ map = selector(subject);
1789
+
1790
+ if (!(map instanceof Map)) {
1791
+ throw new TypeError('the selector callback must return a map');
1792
+ }
1793
+ } else if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isString)(selector)) {
1794
+ map = new Map();
1795
+ buildFlatMap.call(map, subject, selector);
1796
+ } else {
1797
+ throw new TypeError('value is neither a string nor a function');
1798
+ }
1768
1799
 
1769
1800
  if (!(map instanceof Map)) {
1770
1801
  return result;
@@ -1781,6 +1812,238 @@ function buildMap(subject, selector, valueTemplate, keyTemplate, filter) {
1781
1812
  });
1782
1813
  return result;
1783
1814
  }
1815
+ /**
1816
+ * @private
1817
+ * @param subject
1818
+ * @param selector
1819
+ * @param key
1820
+ * @param parentMap
1821
+ * @return {*}
1822
+ */
1823
+
1824
+
1825
+ function buildFlatMap(subject, selector, key, parentMap) {
1826
+ var result = this;
1827
+ var currentMap = new Map();
1828
+ var resultLength = result.size;
1829
+ if (key === undefined) key = [];
1830
+ var parts = selector.split(_pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.DELIMITER);
1831
+ var current = "",
1832
+ currentPath = [];
1833
+
1834
+ do {
1835
+ current = parts.shift();
1836
+ currentPath.push(current);
1837
+
1838
+ if (current === _pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.WILDCARD) {
1839
+ var finder = new _pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.Pathfinder(subject);
1840
+ var map = void 0;
1841
+
1842
+ try {
1843
+ map = finder.getVia(currentPath.join(_pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.DELIMITER));
1844
+ } catch (e) {
1845
+ var a = e;
1846
+ map = new Map();
1847
+ }
1848
+
1849
+ var _iterator = _createForOfIteratorHelper(map),
1850
+ _step;
1851
+
1852
+ try {
1853
+ var _loop = function _loop() {
1854
+ var _step$value = _slicedToArray(_step.value, 2),
1855
+ k = _step$value[0],
1856
+ o = _step$value[1];
1857
+
1858
+ var copyKey = (0,_util_clone_js__WEBPACK_IMPORTED_MODULE_3__.clone)(key);
1859
+ currentPath.map(function (a) {
1860
+ copyKey.push(a === _pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.WILDCARD ? k : a);
1861
+ });
1862
+ var kk = copyKey.join(_pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.DELIMITER);
1863
+ var sub = buildFlatMap.call(result, o, parts.join(_pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.DELIMITER), copyKey, o);
1864
+
1865
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(sub)) {
1866
+ sub['^'] = parentMap;
1867
+ }
1868
+
1869
+ currentMap.set(kk, sub);
1870
+ };
1871
+
1872
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
1873
+ _loop();
1874
+ }
1875
+ } catch (err) {
1876
+ _iterator.e(err);
1877
+ } finally {
1878
+ _iterator.f();
1879
+ }
1880
+ }
1881
+ } while (parts.length > 0); // no set in child run
1882
+
1883
+
1884
+ if (resultLength === result.size) {
1885
+ var _iterator2 = _createForOfIteratorHelper(currentMap),
1886
+ _step2;
1887
+
1888
+ try {
1889
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
1890
+ var _step2$value = _slicedToArray(_step2.value, 2),
1891
+ k = _step2$value[0],
1892
+ o = _step2$value[1];
1893
+
1894
+ result.set(k, o);
1895
+ }
1896
+ } catch (err) {
1897
+ _iterator2.e(err);
1898
+ } finally {
1899
+ _iterator2.f();
1900
+ }
1901
+ }
1902
+
1903
+ return subject;
1904
+ }
1905
+ /**
1906
+ * With the help of this filter callback, values can be filtered out. Only if the filter function returns true, the value is taken for the map.
1907
+ *
1908
+ * @callback Monster.Data~exampleFilterCallback
1909
+ * @param {*} value Value
1910
+ * @param {string} key Key
1911
+ * @memberOf Monster.Data
1912
+ * @see Monster.Data.buildMap
1913
+ */
1914
+
1915
+ /**
1916
+ * Alternatively to a string selector a callback can be specified. this must return a map.
1917
+ *
1918
+ * @example
1919
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/buildmap.js';
1920
+ *
1921
+ * let obj = {
1922
+ * "data": [
1923
+ * {
1924
+ * "id": 10,
1925
+ * "name": "Cassandra",
1926
+ * "enrichment": {
1927
+ * variants: [
1928
+ * {
1929
+ * sku: 1, label: "XXS", price: [
1930
+ * {vk: '12.12 €'},
1931
+ * {vk: '12.12 €'}
1932
+ * ]
1933
+ * },
1934
+ * {
1935
+ * sku: 2, label: "XS", price: [
1936
+ * {vk: '22.12 €'},
1937
+ * {vk: '22.12 €'}
1938
+ * ]
1939
+ * },
1940
+ * {
1941
+ * sku: 3, label: "S", price: [
1942
+ * {vk: '32.12 €'},
1943
+ * {vk: '32.12 €'}
1944
+ * ]
1945
+ * },
1946
+ * {
1947
+ * sku: 4, label: "L", price: [
1948
+ * {vk: '42.12 €'},
1949
+ * {vk: '42.12 €'}
1950
+ * ]
1951
+ * }
1952
+ * ]
1953
+ *
1954
+ * }
1955
+ * },
1956
+ * {
1957
+ * "id": 20,
1958
+ * "name": "Yessey!",
1959
+ * "enrichment": {
1960
+ * variants: [
1961
+ * {
1962
+ * sku: 1, label: "XXS", price: [
1963
+ * {vk: '12.12 €'},
1964
+ * {vk: '12.12 €'}
1965
+ * ]
1966
+ * },
1967
+ * {
1968
+ * sku: 2, label: "XS", price: [
1969
+ * {vk: '22.12 €'},
1970
+ * {vk: '22.12 €'}
1971
+ * ]
1972
+ * },
1973
+ * {
1974
+ * sku: 3, label: "S", price: [
1975
+ * {vk: '32.12 €'},
1976
+ * {vk: '32.12 €'}
1977
+ * ]
1978
+ * },
1979
+ * {
1980
+ * sku: 4, label: "L", price: [
1981
+ * {vk: '42.12 €'},
1982
+ * {vk: '42.12 €'}
1983
+ * ]
1984
+ * }
1985
+ * ]
1986
+ *
1987
+ * }
1988
+ * }
1989
+ * ]
1990
+ * };
1991
+ *
1992
+ * let callback = function (subject) {
1993
+ * let m = new Map;
1994
+ *
1995
+ * for (const [i, b] of Object.entries(subject.data)) {
1996
+ *
1997
+ * let key1 = i;
1998
+ *
1999
+ * for (const [j, c] of Object.entries(b.enrichment.variants)) {
2000
+ * let key2 = j;
2001
+ *
2002
+ * for (const [k, d] of Object.entries(c.price)) {
2003
+ *
2004
+ * let key3 = k;
2005
+ *
2006
+ * d.name = b.name;
2007
+ * d.label = c.label;
2008
+ * d.id = [key1, key2, key3].join('.');
2009
+ *
2010
+ * m.set(d.id, d);
2011
+ * }
2012
+ *
2013
+ * }
2014
+ * }
2015
+ * return m;
2016
+ * }
2017
+ *
2018
+ * let map = buildMap(obj, callback, '${name} ${vk}', '${id}')
2019
+ *
2020
+ * // ↦ Map(3) {
2021
+ * // "0.0.0":"Cassandra 12.12 €",
2022
+ * // "0.0.1":"Cassandra 12.12 €",
2023
+ * // "0.1.0":"Cassandra 22.12 €",
2024
+ * // "0.1.1":"Cassandra 22.12 €",
2025
+ * // "0.2.0":"Cassandra 32.12 €",
2026
+ * // "0.2.1":"Cassandra 32.12 €",
2027
+ * // "0.3.0":"Cassandra 42.12 €",
2028
+ * // "0.3.1":"Cassandra 42.12 €",
2029
+ * // "1.0.0":"Yessey! 12.12 €",
2030
+ * // "1.0.1":"Yessey! 12.12 €",
2031
+ * // "1.1.0":"Yessey! 22.12 €",
2032
+ * // "1.1.1":"Yessey! 22.12 €",
2033
+ * // "1.2.0":"Yessey! 32.12 €",
2034
+ * // "1.2.1":"Yessey! 32.12 €",
2035
+ * // "1.3.0":"Yessey! 42.12 €",
2036
+ * // "1.3.1":"Yessey! 42.12 €"
2037
+ * // }
2038
+ *
2039
+ * @callback Monster.Data~exampleSelectorCallback
2040
+ * @param {*} subject subject
2041
+ * @return Map
2042
+ * @since 1.17.0
2043
+ * @memberOf Monster.Data
2044
+ * @see Monster.Data.buildMap
2045
+ */
2046
+
1784
2047
  /**
1785
2048
  * @private
1786
2049
  * @param {*} subject
@@ -1794,14 +2057,14 @@ function build(subject, definition, defaultValue) {
1794
2057
  if (definition === undefined) return defaultValue ? defaultValue : subject;
1795
2058
  (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(definition);
1796
2059
 
1797
- var regexp = /*#__PURE__*/_wrapRegExp(/(\$\{([\x2D\.0-9_a-z]*)\})/gm, {
2060
+ var regexp = /*#__PURE__*/_wrapRegExp(/(\$\{([\x2D\.0-9A-Z\^_a-z]*)\})/gm, {
1798
2061
  placeholder: 1,
1799
2062
  path: 2
1800
2063
  });
1801
2064
 
1802
2065
  var array = _toConsumableArray(definition.matchAll(regexp));
1803
2066
 
1804
- var finder = new _pathfinder_js__WEBPACK_IMPORTED_MODULE_3__.Pathfinder(subject);
2067
+ var finder = new _pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.Pathfinder(subject);
1805
2068
 
1806
2069
  if (array.length === 0) {
1807
2070
  return finder.getVia(definition);
@@ -1813,6 +2076,7 @@ function build(subject, definition, defaultValue) {
1813
2076
  if (placeholder === undefined) return;
1814
2077
  var path = groups === null || groups === void 0 ? void 0 : groups['path'];
1815
2078
  var v = finder.getVia(path);
2079
+ if (v === undefined) v = defaultValue;
1816
2080
  definition = definition.replaceAll(placeholder, v);
1817
2081
  });
1818
2082
  return definition;
@@ -1855,7 +2119,7 @@ __webpack_require__.r(__webpack_exports__);
1855
2119
  *
1856
2120
  * ```
1857
2121
  * <script type="module">
1858
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2122
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1859
2123
  * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
1860
2124
  * console.log(Monster.Types.validateIterable([])) // ↦ value
1861
2125
  * </script>
@@ -1865,7 +2129,7 @@ __webpack_require__.r(__webpack_exports__);
1865
2129
  *
1866
2130
  * ```
1867
2131
  * <script type="module">
1868
- * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2132
+ * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1869
2133
  * console.log(validateIterable('2')) // ↦ TypeError
1870
2134
  * console.log(validateIterable([])) // ↦ value
1871
2135
  * </script>
@@ -1875,11 +2139,11 @@ __webpack_require__.r(__webpack_exports__);
1875
2139
  * @return {*}
1876
2140
  * @since 1.2.0
1877
2141
  * @copyright schukai GmbH
1878
- * @memberOf Monster/Types
2142
+ * @memberOf Monster.Types
1879
2143
  * @throws {TypeError} value is not a primitive
1880
2144
  * @see {@link isPrimitive}
1881
- * @see {@link Monster/Types/isPrimitive}
1882
- * @see {@link Monster/Types#isPrimitive}
2145
+ * @see {@link Monster.Types.isPrimitive}
2146
+ * @see {@link Monster.Types#isPrimitive}
1883
2147
  */
1884
2148
 
1885
2149
  function validateIterable(value) {
@@ -1896,7 +2160,7 @@ function validateIterable(value) {
1896
2160
  *
1897
2161
  * ```
1898
2162
  * <script type="module">
1899
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2163
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1900
2164
  * console.log(Monster.Types.validatePrimitive('2')) // ↦ value
1901
2165
  * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
1902
2166
  * </script>
@@ -1906,7 +2170,7 @@ function validateIterable(value) {
1906
2170
  *
1907
2171
  * ```
1908
2172
  * <script type="module">
1909
- * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2173
+ * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1910
2174
  * console.log(validatePrimitive('2')) // ↦ value
1911
2175
  * console.log(validatePrimitive([])) // ↦ TypeError
1912
2176
  * </script>
@@ -1916,11 +2180,11 @@ function validateIterable(value) {
1916
2180
  * @return {*}
1917
2181
  * @since 1.0.0
1918
2182
  * @copyright schukai GmbH
1919
- * @memberOf Monster/Types
2183
+ * @memberOf Monster.Types
1920
2184
  * @throws {TypeError} value is not a primitive
1921
2185
  * @see {@link isPrimitive}
1922
- * @see {@link Monster/Types/isPrimitive}
1923
- * @see {@link Monster/Types#isPrimitive}
2186
+ * @see {@link Monster.Types.isPrimitive}
2187
+ * @see {@link Monster.Types#isPrimitive}
1924
2188
  */
1925
2189
 
1926
2190
 
@@ -1938,7 +2202,7 @@ function validatePrimitive(value) {
1938
2202
  *
1939
2203
  * ```
1940
2204
  * <script type="module">
1941
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2205
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1942
2206
  * console.log(Monster.Types.validateBoolean(true)) // ↦ value
1943
2207
  * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
1944
2208
  * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
@@ -1949,7 +2213,7 @@ function validatePrimitive(value) {
1949
2213
  *
1950
2214
  * ```
1951
2215
  * <script type="module">
1952
- * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2216
+ * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1953
2217
  * console.log(validateBoolean(false)) // ↦ value
1954
2218
  * console.log(validateBoolean('2')) // ↦ TypeError
1955
2219
  * console.log(validateBoolean([])) // ↦ TypeError
@@ -1960,7 +2224,7 @@ function validatePrimitive(value) {
1960
2224
  * @return {*}
1961
2225
  * @since 1.0.0
1962
2226
  * @copyright schukai GmbH
1963
- * @memberOf Monster/Types
2227
+ * @memberOf Monster.Types
1964
2228
 
1965
2229
  * @throws {TypeError} value is not primitive
1966
2230
  */
@@ -1980,7 +2244,7 @@ function validateBoolean(value) {
1980
2244
  *
1981
2245
  * ```
1982
2246
  * <script type="module">
1983
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2247
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1984
2248
  * console.log(Monster.Types.validateString('2')) // ↦ value
1985
2249
  * console.log(Monster.Types.validateString([])) // ↦ TypeError
1986
2250
  * </script>
@@ -1990,7 +2254,7 @@ function validateBoolean(value) {
1990
2254
  *
1991
2255
  * ```
1992
2256
  * <script type="module">
1993
- * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2257
+ * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
1994
2258
  * console.log(validateString('2')) // ↦ value
1995
2259
  * console.log(validateString([])) // ↦ TypeError
1996
2260
  * </script>
@@ -2000,7 +2264,7 @@ function validateBoolean(value) {
2000
2264
  * @return {*}
2001
2265
  * @since 1.0.0
2002
2266
  * @copyright schukai GmbH
2003
- * @memberOf Monster/Types
2267
+ * @memberOf Monster.Types
2004
2268
  * @throws {TypeError} value is not a string
2005
2269
  */
2006
2270
 
@@ -2019,7 +2283,7 @@ function validateString(value) {
2019
2283
  *
2020
2284
  * ```
2021
2285
  * <script type="module">
2022
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2286
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2023
2287
  * console.log(Monster.Types.validateObject({})) // ↦ value
2024
2288
  * console.log(Monster.Types.validateObject('2')) // ↦ TypeError
2025
2289
  * console.log(Monster.Types.validateObject([])) // ↦ TypeError
@@ -2030,7 +2294,7 @@ function validateString(value) {
2030
2294
  *
2031
2295
  * ```
2032
2296
  * <script type="module">
2033
- * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2297
+ * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2034
2298
  * console.log(validateObject({})) // ↦ value
2035
2299
  * console.log(validateObject('2')) // ↦ TypeError
2036
2300
  * console.log(validateObject([])) // ↦ TypeError
@@ -2041,7 +2305,7 @@ function validateString(value) {
2041
2305
  * @return {*}
2042
2306
  * @since 1.0.0
2043
2307
  * @copyright schukai GmbH
2044
- * @memberOf Monster/Types
2308
+ * @memberOf Monster.Types
2045
2309
  * @throws {TypeError} value is not a object
2046
2310
  */
2047
2311
 
@@ -2060,7 +2324,7 @@ function validateObject(value) {
2060
2324
  *
2061
2325
  * ```
2062
2326
  * <script type="module">
2063
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2327
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2064
2328
  * console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
2065
2329
  * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
2066
2330
  * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
@@ -2071,7 +2335,7 @@ function validateObject(value) {
2071
2335
  *
2072
2336
  * ```
2073
2337
  * <script type="module">
2074
- * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2338
+ * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2075
2339
  * console.log(validateInstance({}, Object)) // ↦ value
2076
2340
  * console.log(validateInstance('2', Object)) // ↦ TypeError
2077
2341
  * console.log(validateInstance([], Object)) // ↦ TypeError
@@ -2082,7 +2346,7 @@ function validateObject(value) {
2082
2346
  * @return {*}
2083
2347
  * @since 1.5.0
2084
2348
  * @copyright schukai GmbH
2085
- * @memberOf Monster/Types
2349
+ * @memberOf Monster.Types
2086
2350
  * @throws {TypeError} value is not an instance of
2087
2351
  */
2088
2352
 
@@ -2111,7 +2375,7 @@ function validateInstance(value, instance) {
2111
2375
  *
2112
2376
  * ```
2113
2377
  * <script type="module">
2114
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2378
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2115
2379
  * console.log(Monster.Types.validateArray('2')) // ↦ TypeError
2116
2380
  * console.log(Monster.Types.validateArray([])) // ↦ value
2117
2381
  * </script>
@@ -2121,7 +2385,7 @@ function validateInstance(value, instance) {
2121
2385
  *
2122
2386
  * ```
2123
2387
  * <script type="module">
2124
- * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2388
+ * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2125
2389
  * console.log(validateArray('2')) // ↦ TypeError
2126
2390
  * console.log(validateArray([])) // ↦ value
2127
2391
  * </script>
@@ -2131,7 +2395,7 @@ function validateInstance(value, instance) {
2131
2395
  * @return {*}
2132
2396
  * @since 1.0.0
2133
2397
  * @copyright schukai GmbH
2134
- * @memberOf Monster/Types
2398
+ * @memberOf Monster.Types
2135
2399
  * @throws {TypeError} value is not an array
2136
2400
  */
2137
2401
 
@@ -2150,7 +2414,7 @@ function validateArray(value) {
2150
2414
  *
2151
2415
  * ```
2152
2416
  * <script type="module">
2153
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2417
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2154
2418
  * console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
2155
2419
  * console.log(Monster.Types.validateSymbol([])) // ↦ value
2156
2420
  * </script>
@@ -2160,7 +2424,7 @@ function validateArray(value) {
2160
2424
  *
2161
2425
  * ```
2162
2426
  * <script type="module">
2163
- * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2427
+ * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2164
2428
  * console.log(validateSymbol('2')) // ↦ TypeError
2165
2429
  * console.log(validateSymbol()) // ↦ value
2166
2430
  * </script>
@@ -2170,7 +2434,7 @@ function validateArray(value) {
2170
2434
  * @return {*}
2171
2435
  * @since 1.9.0
2172
2436
  * @copyright schukai GmbH
2173
- * @memberOf Monster/Types
2437
+ * @memberOf Monster.Types
2174
2438
  * @throws {TypeError} value is not an symbol
2175
2439
  */
2176
2440
 
@@ -2189,7 +2453,7 @@ function validateSymbol(value) {
2189
2453
  *
2190
2454
  * ```
2191
2455
  * <script type="module">
2192
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2456
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2193
2457
  * console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
2194
2458
  * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
2195
2459
  * console.log(Monster.Types.validateFunction([])) // ↦ TypeError
@@ -2200,7 +2464,7 @@ function validateSymbol(value) {
2200
2464
  *
2201
2465
  * ```
2202
2466
  * <script type="module">
2203
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2467
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2204
2468
  * console.log(validateFunction(()=>{})) // ↦ value
2205
2469
  * console.log(validateFunction('2')) // ↦ TypeError
2206
2470
  * console.log(validateFunction([])) // ↦ TypeError
@@ -2211,7 +2475,7 @@ function validateSymbol(value) {
2211
2475
  * @return {*}
2212
2476
  * @since 1.0.0
2213
2477
  * @copyright schukai GmbH
2214
- * @memberOf Monster/Types
2478
+ * @memberOf Monster.Types
2215
2479
  * @throws {TypeError} value is not a function
2216
2480
  */
2217
2481
 
@@ -2230,7 +2494,7 @@ function validateFunction(value) {
2230
2494
  *
2231
2495
  * ```
2232
2496
  * <script type="module">
2233
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2497
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2234
2498
  * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
2235
2499
  * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
2236
2500
  * console.log(Monster.Types.validateInteger(2)) // ↦ value
@@ -2241,7 +2505,7 @@ function validateFunction(value) {
2241
2505
  *
2242
2506
  * ```
2243
2507
  * <script type="module">
2244
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/validate.js';
2508
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/validate.js';
2245
2509
  * console.log(validateInteger(true)) // ↦ TypeError
2246
2510
  * console.log(validateInteger('2')) // ↦ TypeError
2247
2511
  * console.log(validateInteger(2)) // ↦ value
@@ -2252,7 +2516,7 @@ function validateFunction(value) {
2252
2516
  * @return {*}
2253
2517
  * @since 1.4.0
2254
2518
  * @copyright schukai GmbH
2255
- * @memberOf Monster/Types
2519
+ * @memberOf Monster.Types
2256
2520
  * @throws {TypeError} value is not an integer
2257
2521
  */
2258
2522
 
@@ -2275,13 +2539,11 @@ function validateInteger(value) {
2275
2539
  __webpack_require__.r(__webpack_exports__);
2276
2540
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2277
2541
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
2278
- /* harmony export */ "Pathfinder": function() { return /* binding */ Pathfinder; }
2542
+ /* harmony export */ "clone": function() { return /* binding */ clone; }
2279
2543
  /* harmony export */ });
2280
2544
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
2281
- /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
2545
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
2282
2546
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
2283
- /* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16);
2284
- /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
2285
2547
 
2286
2548
  /**
2287
2549
  * @author schukai GmbH
@@ -2289,71 +2551,402 @@ __webpack_require__.r(__webpack_exports__);
2289
2551
 
2290
2552
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
2291
2553
 
2292
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
2293
2554
 
2294
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
2295
2555
 
2296
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
2297
2556
 
2298
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
2557
+ /**
2558
+ * With this function, objects can be cloned.
2559
+ * The entire object tree is run through.
2560
+ *
2561
+ * Proxy, Element, HTMLDocument and DocumentFragment instances are not cloned.
2562
+ * Global objects such as windows are also not cloned,
2563
+ *
2564
+ * If an object has a method `getClone()`, this method is used to create the clone.
2565
+ *
2566
+ * You can call the method via the monster namespace `Monster.Util.clone()`.
2567
+ *
2568
+ * ```
2569
+ * <script type="module">
2570
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/clone.js';
2571
+ * console.log(Monster.Util.clone({}))
2572
+ * </script>
2573
+ * ```
2574
+ *
2575
+ * Alternatively, you can also integrate this function individually.
2576
+ *
2577
+ * ```
2578
+ * <script type="module">
2579
+ * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/clone.js';
2580
+ * console.log(clone({}))
2581
+ * </script>
2582
+ * ```
2583
+ *
2584
+ * @param {*} obj object to be cloned
2585
+ * @returns {*}
2586
+ *
2587
+ * @since 1.0.0
2588
+ * @memberOf Monster.Util
2589
+ * @copyright schukai GmbH
2590
+ * @throws {Error} unable to clone obj! its type isn't supported.
2591
+ */
2299
2592
 
2300
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2593
+ function clone(obj) {
2594
+ // typeof null results in 'object'. https://2ality.com/2013/10/typeof-null.html
2595
+ if (null === obj) {
2596
+ return obj;
2597
+ } // Handle the two simple types, null and undefined
2301
2598
 
2302
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
2303
2599
 
2304
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
2600
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isPrimitive)(obj)) {
2601
+ return obj;
2602
+ } // Handle the two simple types, null and undefined
2305
2603
 
2306
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
2307
2604
 
2308
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2605
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(obj)) {
2606
+ return obj;
2607
+ } // Handle Array
2309
2608
 
2310
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2311
2609
 
2312
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2610
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(obj)) {
2611
+ var copy = [];
2313
2612
 
2314
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2613
+ for (var i = 0, len = obj.length; i < len; i++) {
2614
+ copy[i] = clone(obj[i]);
2615
+ }
2315
2616
 
2316
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
2617
+ return copy;
2618
+ }
2317
2619
 
2318
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
2620
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isObject)(obj)) {
2621
+ // Handle Date
2622
+ if (obj instanceof Date) {
2623
+ var _copy = new Date();
2319
2624
 
2320
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2625
+ _copy.setTime(obj.getTime());
2321
2626
 
2322
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2627
+ return _copy;
2628
+ }
2629
+ /** Do not clone DOM nodes */
2323
2630
 
2324
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
2325
2631
 
2326
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2632
+ if (typeof Element !== 'undefined' && obj instanceof Element) return obj;
2633
+ if (typeof HTMLDocument !== 'undefined' && obj instanceof HTMLDocument) return obj;
2634
+ if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj;
2635
+ /** Do not clone global objects */
2327
2636
 
2328
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2637
+ if (obj === (0,_types_global_js__WEBPACK_IMPORTED_MODULE_1__.getGlobal)()) return obj;
2638
+ if (typeof globalContext !== 'undefined' && obj === globalContext) return obj;
2639
+ if (typeof window !== 'undefined' && obj === window) return obj;
2640
+ if (typeof document !== 'undefined' && obj === document) return obj;
2641
+ if (typeof navigator !== 'undefined' && obj === navigator) return obj;
2642
+ if (typeof JSON !== 'undefined' && obj === JSON) return obj; // Handle Proxy-Object
2329
2643
 
2330
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
2644
+ try {
2645
+ // try/catch because possible: TypeError: Function has non-object prototype 'undefined' in instanceof check
2646
+ if (obj instanceof Proxy) {
2647
+ return obj;
2648
+ }
2649
+ } catch (e) {}
2650
+
2651
+ return cloneObject(obj);
2652
+ }
2653
+
2654
+ throw new Error("unable to clone obj! its type isn't supported.");
2655
+ }
2656
+ /**
2657
+ *
2658
+ * @param {object} obj
2659
+ * @returns {object}
2660
+ * @private
2661
+ */
2662
+
2663
+
2664
+ function cloneObject(obj) {
2665
+ var copy;
2666
+ /** Object has clone method */
2667
+
2668
+ if (_typeof(obj.hasOwnProperty('getClone')) && obj.getClone === 'function') {
2669
+ return obj.getClone();
2670
+ }
2671
+
2672
+ copy = {};
2673
+
2674
+ if (typeof obj.constructor === 'function' && typeof obj.constructor.call === 'function') {
2675
+ copy = new obj.constructor();
2676
+ }
2677
+
2678
+ for (var key in obj) {
2679
+ if (!obj.hasOwnProperty(key)) {
2680
+ continue;
2681
+ }
2682
+
2683
+ if (_namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster.Types.isPrimitive(obj[key])) {
2684
+ copy[key] = obj[key];
2685
+ continue;
2686
+ }
2687
+
2688
+ copy[key] = clone(obj[key]);
2689
+ }
2331
2690
 
2691
+ return copy;
2692
+ }
2332
2693
 
2694
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Util', clone);
2333
2695
 
2334
2696
 
2697
+ /***/ }),
2698
+ /* 16 */
2699
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2335
2700
 
2701
+ __webpack_require__.r(__webpack_exports__);
2702
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2703
+ /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
2704
+ /* harmony export */ "getGlobal": function() { return /* binding */ getGlobal; },
2705
+ /* harmony export */ "getGlobalObject": function() { return /* binding */ getGlobalObject; },
2706
+ /* harmony export */ "getGlobalFunction": function() { return /* binding */ getGlobalFunction; }
2707
+ /* harmony export */ });
2708
+ /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
2709
+ /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
2336
2710
 
2337
2711
  /**
2338
- * path separator
2339
- *
2340
- * @private
2341
- * @type {string}
2712
+ * @author schukai GmbH
2342
2713
  */
2343
2714
 
2344
- var DELIMITER = '.';
2715
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
2716
+
2717
+
2718
+
2345
2719
  /**
2720
+ * @type {objec}
2346
2721
  * @private
2347
- * @type {string}
2348
2722
  */
2349
2723
 
2350
- var WILDCARD = '*';
2724
+ var globalReference;
2725
+ /**
2726
+ * @private
2727
+ * @throws {Error} unsupported environment.
2728
+ */
2729
+
2730
+ (function () {
2731
+ if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) === 'object') {
2732
+ globalReference = globalThis;
2733
+ return;
2734
+ }
2735
+
2736
+ if (typeof self !== 'undefined') {
2737
+ globalReference = self;
2738
+ return;
2739
+ } else if (typeof window !== 'undefined') {
2740
+ globalReference = window;
2741
+ return;
2742
+ }
2743
+
2744
+ Object.defineProperty(Object.prototype, '__monster__', {
2745
+ get: function get() {
2746
+ return this;
2747
+ },
2748
+ configurable: true
2749
+ });
2750
+
2751
+ if ((typeof __monster__ === "undefined" ? "undefined" : _typeof(__monster__)) === 'object') {
2752
+ __monster__.globalThis = __monster__;
2753
+ delete Object.prototype.__monster__;
2754
+ globalReference = globalThis;
2755
+ return;
2756
+ }
2757
+
2758
+ try {
2759
+ globalReference = Function('return this')();
2760
+ } catch (e) {}
2761
+
2762
+ throw new Error("unsupported environment.");
2763
+ })();
2764
+ /**
2765
+ * Return globalThis
2766
+ *
2767
+ * If globalThis is not available, it will be polyfilled
2768
+ *
2769
+ * @since 1.6.0
2770
+ * @memberOf Monster.Types
2771
+ * @returns {objec} globalThis
2772
+ */
2773
+
2774
+
2775
+ function getGlobal() {
2776
+ return globalReference;
2777
+ }
2778
+ /**
2779
+ * Return global object or throw Error
2780
+ *
2781
+ * You can call the method via the monster namespace `Monster.Types.getGlobalObject()`.
2782
+ *
2783
+ * ```
2784
+ * <script type="module">
2785
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2786
+ * console.log(Monster.Types.getGlobalObject('document')) // ↦ { }
2787
+ * </script>
2788
+ * ```
2789
+ *
2790
+ * Alternatively, you can also integrate this function individually.
2791
+ *
2792
+ * ```
2793
+ * <script type="module">
2794
+ * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2795
+ * console.log(getGlobalObject('document')) // ↦ { }
2796
+ * </script>
2797
+ * ```
2798
+ *
2799
+ * @since 1.6.0
2800
+ * @memberOf Monster.Types
2801
+ * @param {string} name
2802
+ * @returns {objec}
2803
+ * @throws {Error} the object is not defined
2804
+ * @throws {TypeError} value is not a object
2805
+ * @throws {TypeError} value is not a string
2806
+ */
2807
+
2808
+
2809
+ function getGlobalObject(name) {
2810
+ var _globalReference;
2811
+
2812
+ (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateString)(name);
2813
+ var o = (_globalReference = globalReference) === null || _globalReference === void 0 ? void 0 : _globalReference[name];
2814
+ if (typeof o === 'undefined') throw new Error('the object ' + name + ' is not defined');
2815
+ (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateObject)(o);
2816
+ return o;
2817
+ }
2818
+ /**
2819
+ * Return global function or throw Error
2820
+ *
2821
+ * You can call the method via the monster namespace `Monster.Types.getGlobalFunction()`.
2822
+ *
2823
+ * ```
2824
+ * <script type="module">
2825
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2826
+ * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2827
+ * </script>
2828
+ * ```
2829
+ *
2830
+ * Alternatively, you can also integrate this function individually.
2831
+ *
2832
+ * ```
2833
+ * <script type="module">
2834
+ * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/global.js';
2835
+ * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2836
+ * </script>
2837
+ * ```
2838
+ *
2839
+ * @since 1.6.0
2840
+ * @memberOf Monster.Types
2841
+ * @param {string} name
2842
+ * @returns {objec}
2843
+ * @throws {TypeError} value is not a function
2844
+ * @throws {Error} the function is not defined
2845
+ * @throws {TypeError} value is not a string
2846
+ */
2847
+
2848
+
2849
+ function getGlobalFunction(name) {
2850
+ var _globalReference2;
2851
+
2852
+ (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateString)(name);
2853
+ var f = (_globalReference2 = globalReference) === null || _globalReference2 === void 0 ? void 0 : _globalReference2[name];
2854
+ if (typeof f === 'undefined') throw new Error('the function ' + name + ' is not defined');
2855
+ (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateFunction)(f);
2856
+ return f;
2857
+ }
2858
+
2859
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', getGlobal, getGlobalObject, getGlobalFunction);
2860
+
2861
+
2862
+ /***/ }),
2863
+ /* 17 */
2864
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2865
+
2866
+ __webpack_require__.r(__webpack_exports__);
2867
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2868
+ /* harmony export */ "DELIMITER": function() { return /* binding */ DELIMITER; },
2869
+ /* harmony export */ "WILDCARD": function() { return /* binding */ WILDCARD; },
2870
+ /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
2871
+ /* harmony export */ "Pathfinder": function() { return /* binding */ Pathfinder; }
2872
+ /* harmony export */ });
2873
+ /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
2874
+ /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
2875
+ /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
2876
+ /* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(18);
2877
+ /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
2878
+
2879
+ /**
2880
+ * @author schukai GmbH
2881
+ */
2882
+
2883
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
2884
+
2885
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
2886
+
2887
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
2888
+
2889
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
2890
+
2891
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
2892
+
2893
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2894
+
2895
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
2896
+
2897
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
2898
+
2899
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
2900
+
2901
+ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2902
+
2903
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2904
+
2905
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2906
+
2907
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2908
+
2909
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
2910
+
2911
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
2912
+
2913
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
2914
+
2915
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
2916
+
2917
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
2918
+
2919
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2920
+
2921
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2922
+
2923
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
2924
+
2925
+
2926
+
2927
+
2928
+
2929
+
2930
+ /**
2931
+ * path separator
2932
+ *
2933
+ * @private
2934
+ * @type {string}
2935
+ */
2936
+
2937
+ var DELIMITER = '.';
2938
+ /**
2939
+ * @private
2940
+ * @type {string}
2941
+ */
2942
+
2943
+ var WILDCARD = '*';
2351
2944
  /**
2352
2945
  * You can call the method via the monster namespace `new Monster.Data.Pathfinder()`.
2353
2946
  *
2354
2947
  * ```
2355
2948
  * <script type="module">
2356
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/pathfinder.js';
2949
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
2357
2950
  * console.log(new Monster.Data.Pathfinder())
2358
2951
  * </script>
2359
2952
  * ```
@@ -2362,7 +2955,7 @@ var WILDCARD = '*';
2362
2955
  *
2363
2956
  * ```
2364
2957
  * <script type="module">
2365
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/pathfinder.js';
2958
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
2366
2959
  * console.log(new Pathfinder())
2367
2960
  * </script>
2368
2961
  * ```
@@ -2404,7 +2997,7 @@ var WILDCARD = '*';
2404
2997
  *
2405
2998
  * @example
2406
2999
  *
2407
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/pathfinder.js';
3000
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
2408
3001
  *
2409
3002
  * let value = new Pathfinder({
2410
3003
  * a: {
@@ -2430,7 +3023,7 @@ var WILDCARD = '*';
2430
3023
  *
2431
3024
  * @example
2432
3025
  *
2433
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/pathfinder.js';
3026
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pathfinder.js';
2434
3027
  *
2435
3028
  * let p = new Pathfinder({
2436
3029
  * a: {
@@ -2452,7 +3045,7 @@ var WILDCARD = '*';
2452
3045
  *
2453
3046
  * @since 1.4.0
2454
3047
  * @copyright schukai GmbH
2455
- * @memberOf Monster/Data
3048
+ * @memberOf Monster.Data
2456
3049
  */
2457
3050
 
2458
3051
  var Pathfinder = /*#__PURE__*/function (_Base) {
@@ -2463,6 +3056,7 @@ var Pathfinder = /*#__PURE__*/function (_Base) {
2463
3056
  /**
2464
3057
  * @param {array|object|Map|Set} value
2465
3058
  * @since 1.4.0
3059
+ * @throws {Error} the parameter must not be a simple type
2466
3060
  **/
2467
3061
  function Pathfinder(object) {
2468
3062
  var _this;
@@ -2470,6 +3064,11 @@ var Pathfinder = /*#__PURE__*/function (_Base) {
2470
3064
  _classCallCheck(this, Pathfinder);
2471
3065
 
2472
3066
  _this = _super.call(this);
3067
+
3068
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isPrimitive)(object)) {
3069
+ throw new Error('the parameter must not be a simple type');
3070
+ }
3071
+
2473
3072
  _this.object = object;
2474
3073
  _this.wildCard = WILDCARD;
2475
3074
  return _this;
@@ -2791,7 +3390,7 @@ function deleteValueViaPath(object, path) {
2791
3390
  }
2792
3391
 
2793
3392
  /***/ }),
2794
- /* 16 */
3393
+ /* 18 */
2795
3394
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2796
3395
 
2797
3396
  __webpack_require__.r(__webpack_exports__);
@@ -2835,7 +3434,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
2835
3434
  *
2836
3435
  * ```
2837
3436
  * <script type="module">
2838
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/stack.js';
3437
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/stack.js';
2839
3438
  * console.log(new Monster.Types.Stack())
2840
3439
  * </script>
2841
3440
  * ```
@@ -2844,14 +3443,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
2844
3443
  *
2845
3444
  * ```
2846
3445
  * <script type="module">
2847
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/stack.js';
3446
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/stack.js';
2848
3447
  * console.log(new Stack())
2849
3448
  * </script>
2850
3449
  * ```
2851
3450
  *
2852
3451
  * @since 1.4.0
2853
3452
  * @copyright schukai GmbH
2854
- * @memberOf Monster/Types
3453
+ * @memberOf Monster.Types
2855
3454
  */
2856
3455
 
2857
3456
  var Stack = /*#__PURE__*/function (_Base) {
@@ -2949,7 +3548,7 @@ var Stack = /*#__PURE__*/function (_Base) {
2949
3548
 
2950
3549
 
2951
3550
  /***/ }),
2952
- /* 17 */
3551
+ /* 19 */
2953
3552
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2954
3553
 
2955
3554
  __webpack_require__.r(__webpack_exports__);
@@ -2959,6 +3558,7 @@ __webpack_require__.r(__webpack_exports__);
2959
3558
  /* harmony export */ });
2960
3559
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
2961
3560
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3561
+ /* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20);
2962
3562
 
2963
3563
  /**
2964
3564
  * @author schukai GmbH
@@ -2968,6 +3568,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2968
3568
 
2969
3569
 
2970
3570
 
3571
+
2971
3572
  /**
2972
3573
  * With the diff function you can perform the change of one object to another. The result shows the changes of the second object to the first object.
2973
3574
  *
@@ -2977,7 +3578,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2977
3578
  *
2978
3579
  * ```
2979
3580
  * <script type="module">
2980
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/diff.js';
3581
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/diff.js';
2981
3582
  * console.log(Monster.Data.Diff(a, b))
2982
3583
  * </script>
2983
3584
  * ```
@@ -2986,14 +3587,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2986
3587
  *
2987
3588
  * ```
2988
3589
  * <script type="module">
2989
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/diff.js';
3590
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/diff.js';
2990
3591
  * console.log(Diff(a, b))
2991
3592
  * </script>
2992
3593
  * ```
2993
3594
  *
2994
3595
  * @example
2995
3596
  *
2996
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/diff.js';
3597
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/diff.js';
2997
3598
  *
2998
3599
  * // given are two objects x and y.
2999
3600
  *
@@ -3038,7 +3639,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3038
3639
  * @return {array}
3039
3640
  * @since 1.6.0
3040
3641
  * @copyright schukai GmbH
3041
- * @memberOf Monster/Data
3642
+ * @memberOf Monster.Data
3042
3643
  */
3043
3644
 
3044
3645
  function Diff(first, second) {
@@ -3075,10 +3676,8 @@ function getKeys(a, b, type) {
3075
3676
 
3076
3677
 
3077
3678
  function doDiff(a, b, path, diff) {
3078
- var typeA = _typeof(a);
3079
-
3080
- var typeB = _typeof(b);
3081
-
3679
+ var typeA = (0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.typeOf)(a);
3680
+ var typeB = (0,_types_typeof_js__WEBPACK_IMPORTED_MODULE_2__.typeOf)(b);
3082
3681
  var currPath = path || [];
3083
3682
  var currDiff = diff || [];
3084
3683
 
@@ -3215,35 +3814,30 @@ function getOperator(a, b) {
3215
3814
 
3216
3815
 
3217
3816
  /***/ }),
3218
- /* 18 */
3817
+ /* 20 */
3219
3818
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3220
3819
 
3221
3820
  __webpack_require__.r(__webpack_exports__);
3222
3821
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3223
3822
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
3224
- /* harmony export */ "extend": function() { return /* binding */ extend; }
3823
+ /* harmony export */ "typeOf": function() { return /* binding */ typeOf; }
3225
3824
  /* harmony export */ });
3226
3825
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
3227
- /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3228
- /* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(19);
3229
3826
 
3230
3827
  /**
3231
3828
  * @author schukai GmbH
3232
3829
  */
3233
3830
 
3234
3831
 
3235
-
3236
-
3237
3832
  /**
3238
- * extend copies all enumerable own properties from one or
3239
- * more source objects to a target object. It returns the modified target object.
3833
+ * The built-in typeof method is known to have some historical weaknesses. This function tries to provide a better and more accurate result.
3240
3834
  *
3241
- * You can call the method via the monster namespace `Monster.Data.extend()`.
3835
+ * You can call the method via the monster namespace `Monster.Types.typeOf()`.
3242
3836
  *
3243
3837
  * ```
3244
3838
  * <script type="module">
3245
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/extend.js';
3246
- * console.log(Monster.Data.extend(a, b))
3839
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/typeof.js';
3840
+ * console.log(Monster.Types.typeOf())
3247
3841
  * </script>
3248
3842
  * ```
3249
3843
  *
@@ -3251,17 +3845,93 @@ __webpack_require__.r(__webpack_exports__);
3251
3845
  *
3252
3846
  * ```
3253
3847
  * <script type="module">
3254
- * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/extend.js';
3255
- * console.log(extend(a, b))
3848
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/typeof.js';
3849
+ * console.log(typeOf())
3256
3850
  * </script>
3257
3851
  * ```
3258
3852
  *
3259
- * @param {object} target
3260
- * @param {object}
3261
- * @return {object}
3262
- * @since 1.10.0
3853
+ * @example
3854
+ *
3855
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/typeof.js';
3856
+ *
3857
+ * console.log(typeOf(undefined)); // ↦ undefined
3858
+ * console.log(typeOf("")); // ↦ string
3859
+ * console.log(typeOf(5)); // ↦ number
3860
+ * console.log(typeOf({})); // ↦ object
3861
+ * console.log(typeOf([])); // ↦ array
3862
+ * console.log(typeOf(new Map)); // ↦ map
3863
+ * console.log(typeOf(true)); // ↦ boolean
3864
+ *
3865
+ * @param {*} value
3866
+ * @return {string}
3867
+ * @since 1.7.0
3263
3868
  * @copyright schukai GmbH
3264
- * @memberOf Monster/Data
3869
+ * @memberOf Monster.Types
3870
+ * @throws {TypeError} value is not a primitive
3871
+ */
3872
+
3873
+ function typeOf(value) {
3874
+ var type = {}.toString.call(value).match(/\s([a-zA-Z]+)/)[1];
3875
+
3876
+ if ('Object' === type) {
3877
+ var results = /^(class|function)\s+(\w+)/.exec(value.constructor.toString());
3878
+ type = results && results.length > 2 ? results[2] : '';
3879
+ }
3880
+
3881
+ return type.toLowerCase();
3882
+ }
3883
+
3884
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', typeOf);
3885
+
3886
+
3887
+ /***/ }),
3888
+ /* 21 */
3889
+ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3890
+
3891
+ __webpack_require__.r(__webpack_exports__);
3892
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3893
+ /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
3894
+ /* harmony export */ "extend": function() { return /* binding */ extend; }
3895
+ /* harmony export */ });
3896
+ /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
3897
+ /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
3898
+ /* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20);
3899
+
3900
+ /**
3901
+ * @author schukai GmbH
3902
+ */
3903
+
3904
+
3905
+
3906
+
3907
+ /**
3908
+ * extend copies all enumerable own properties from one or
3909
+ * more source objects to a target object. It returns the modified target object.
3910
+ *
3911
+ * You can call the method via the monster namespace `Monster.Data.extend()`.
3912
+ *
3913
+ * ```
3914
+ * <script type="module">
3915
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/extend.js';
3916
+ * console.log(Monster.Data.extend(a, b))
3917
+ * </script>
3918
+ * ```
3919
+ *
3920
+ * Alternatively, you can also integrate this function individually.
3921
+ *
3922
+ * ```
3923
+ * <script type="module">
3924
+ * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/extend.js';
3925
+ * console.log(extend(a, b))
3926
+ * </script>
3927
+ * ```
3928
+ *
3929
+ * @param {object} target
3930
+ * @param {object}
3931
+ * @return {object}
3932
+ * @since 1.10.0
3933
+ * @copyright schukai GmbH
3934
+ * @memberOf Monster.Data
3265
3935
  * @throws {Error} unsuported argument
3266
3936
  * @throws {Error} type mismatch
3267
3937
  */
@@ -3317,78 +3987,7 @@ function extend() {
3317
3987
 
3318
3988
 
3319
3989
  /***/ }),
3320
- /* 19 */
3321
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3322
-
3323
- __webpack_require__.r(__webpack_exports__);
3324
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3325
- /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
3326
- /* harmony export */ "typeOf": function() { return /* binding */ typeOf; }
3327
- /* harmony export */ });
3328
- /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
3329
-
3330
- /**
3331
- * @author schukai GmbH
3332
- */
3333
-
3334
-
3335
- /**
3336
- * The built-in typeof method is known to have some historical weaknesses. This function tries to provide a better and more accurate result.
3337
- *
3338
- * You can call the method via the monster namespace `Monster.Types.typeOf()`.
3339
- *
3340
- * ```
3341
- * <script type="module">
3342
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/typeof.js';
3343
- * console.log(Monster.Types.typeOf())
3344
- * </script>
3345
- * ```
3346
- *
3347
- * Alternatively, you can also integrate this function individually.
3348
- *
3349
- * ```
3350
- * <script type="module">
3351
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/typeof.js';
3352
- * console.log(typeOf())
3353
- * </script>
3354
- * ```
3355
- *
3356
- * @example
3357
- *
3358
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/typeof.js';
3359
- *
3360
- * console.log(typeOf(undefined)); // ↦ undefined
3361
- * console.log(typeOf("")); // ↦ string
3362
- * console.log(typeOf(5)); // ↦ number
3363
- * console.log(typeOf({})); // ↦ object
3364
- * console.log(typeOf([])); // ↦ array
3365
- * console.log(typeOf(new Map)); // ↦ map
3366
- * console.log(typeOf(true)); // ↦ boolean
3367
- *
3368
- * @param {*} value
3369
- * @return {string}
3370
- * @since 1.7.0
3371
- * @copyright schukai GmbH
3372
- * @memberOf Monster/Types
3373
- * @throws {TypeError} value is not a primitive
3374
- */
3375
-
3376
- function typeOf(value) {
3377
- var type = {}.toString.call(value).match(/\s([a-zA-Z]+)/)[1];
3378
-
3379
- if ('Object' === type) {
3380
- var results = /^(class|function)\s+(\w+)/.exec(value.constructor.toString());
3381
- type = results && results.length > 2 ? results[2] : '';
3382
- }
3383
-
3384
- return type.toLowerCase();
3385
- }
3386
-
3387
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', typeOf);
3388
-
3389
-
3390
- /***/ }),
3391
- /* 20 */
3990
+ /* 22 */
3392
3991
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3393
3992
 
3394
3993
  __webpack_require__.r(__webpack_exports__);
@@ -3399,7 +3998,7 @@ __webpack_require__.r(__webpack_exports__);
3399
3998
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
3400
3999
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
3401
4000
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
3402
- /* harmony import */ var _transformer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(21);
4001
+ /* harmony import */ var _transformer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23);
3403
4002
 
3404
4003
  /**
3405
4004
  * @author schukai GmbH
@@ -3451,7 +4050,7 @@ var DELIMITER = '|';
3451
4050
  *
3452
4051
  * ```
3453
4052
  * <script type="module">
3454
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/pipe.js';
4053
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pipe.js';
3455
4054
  * console.log(new Monster.Data.Pipe())
3456
4055
  * </script>
3457
4056
  * ```
@@ -3460,7 +4059,7 @@ var DELIMITER = '|';
3460
4059
  *
3461
4060
  * ```
3462
4061
  * <script type="module">
3463
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/pipe.js';
4062
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pipe.js';
3464
4063
  * console.log(new Pipe())
3465
4064
  * </script>
3466
4065
  * ```
@@ -3471,7 +4070,7 @@ var DELIMITER = '|';
3471
4070
  * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
3472
4071
  *
3473
4072
  * @example
3474
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/pipe.js';
4073
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/pipe.js';
3475
4074
  *
3476
4075
  * let obj = {
3477
4076
  * a: {
@@ -3488,7 +4087,7 @@ var DELIMITER = '|';
3488
4087
  *
3489
4088
  * @since 1.5.0
3490
4089
  * @copyright schukai GmbH
3491
- * @memberOf Monster/Data
4090
+ * @memberOf Monster.Data
3492
4091
  */
3493
4092
 
3494
4093
  var Pipe = /*#__PURE__*/function (_Base) {
@@ -3559,7 +4158,7 @@ var Pipe = /*#__PURE__*/function (_Base) {
3559
4158
 
3560
4159
 
3561
4160
  /***/ }),
3562
- /* 21 */
4161
+ /* 23 */
3563
4162
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3564
4163
 
3565
4164
  __webpack_require__.r(__webpack_exports__);
@@ -3569,12 +4168,12 @@ __webpack_require__.r(__webpack_exports__);
3569
4168
  /* harmony export */ });
3570
4169
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
3571
4170
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
3572
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
3573
- /* harmony import */ var _types_id_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23);
4171
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
4172
+ /* harmony import */ var _types_id_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24);
3574
4173
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(9);
3575
4174
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14);
3576
- /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(24);
3577
- /* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15);
4175
+ /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(15);
4176
+ /* harmony import */ var _pathfinder_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(17);
3578
4177
 
3579
4178
  /**
3580
4179
  * @author schukai GmbH
@@ -3633,7 +4232,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3633
4232
  *
3634
4233
  * ```
3635
4234
  * <script type="module">
3636
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/transformer.js';
4235
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/transformer.js';
3637
4236
  * console.log(new Monster.Data.Transformer())
3638
4237
  * </script>
3639
4238
  * ```
@@ -3642,7 +4241,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3642
4241
  *
3643
4242
  * ```
3644
4243
  * <script type="module">
3645
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/transformer.js';
4244
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/transformer.js';
3646
4245
  * console.log(new Transformer())
3647
4246
  * </script>
3648
4247
  * ```
@@ -3721,7 +4320,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3721
4320
  *
3722
4321
  * @example
3723
4322
  *
3724
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/data/transformer.js';
4323
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/data/transformer.js';
3725
4324
  *
3726
4325
  * const transformer = new Transformer("tolower")
3727
4326
  *
@@ -3733,7 +4332,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3733
4332
  *
3734
4333
  * @since 1.5.0
3735
4334
  * @copyright schukai GmbH
3736
- * @memberOf Monster/Data
4335
+ * @memberOf Monster.Data
3737
4336
  */
3738
4337
 
3739
4338
  var Transformer = /*#__PURE__*/function (_Base) {
@@ -4096,172 +4695,7 @@ function transform(value) {
4096
4695
  }
4097
4696
 
4098
4697
  /***/ }),
4099
- /* 22 */
4100
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4101
-
4102
- __webpack_require__.r(__webpack_exports__);
4103
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4104
- /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
4105
- /* harmony export */ "getGlobal": function() { return /* binding */ getGlobal; },
4106
- /* harmony export */ "getGlobalObject": function() { return /* binding */ getGlobalObject; },
4107
- /* harmony export */ "getGlobalFunction": function() { return /* binding */ getGlobalFunction; }
4108
- /* harmony export */ });
4109
- /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
4110
- /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
4111
-
4112
- /**
4113
- * @author schukai GmbH
4114
- */
4115
-
4116
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4117
-
4118
-
4119
-
4120
- /**
4121
- * @type {objec}
4122
- * @private
4123
- */
4124
-
4125
- var globalReference;
4126
- /**
4127
- * @private
4128
- * @throws {Error} unsupported environment.
4129
- */
4130
-
4131
- (function () {
4132
- if ((typeof globalThis === "undefined" ? "undefined" : _typeof(globalThis)) === 'object') {
4133
- globalReference = globalThis;
4134
- return;
4135
- }
4136
-
4137
- if (typeof self !== 'undefined') {
4138
- globalReference = self;
4139
- return;
4140
- } else if (typeof window !== 'undefined') {
4141
- globalReference = window;
4142
- return;
4143
- }
4144
-
4145
- Object.defineProperty(Object.prototype, '__monster__', {
4146
- get: function get() {
4147
- return this;
4148
- },
4149
- configurable: true
4150
- });
4151
-
4152
- if ((typeof __monster__ === "undefined" ? "undefined" : _typeof(__monster__)) === 'object') {
4153
- __monster__.globalThis = __monster__;
4154
- delete Object.prototype.__monster__;
4155
- globalReference = globalThis;
4156
- return;
4157
- }
4158
-
4159
- try {
4160
- globalReference = Function('return this')();
4161
- } catch (e) {}
4162
-
4163
- throw new Error("unsupported environment.");
4164
- })();
4165
- /**
4166
- * Return globalThis
4167
- *
4168
- * If globalThis is not available, it will be polyfilled
4169
- *
4170
- * @since 1.6.0
4171
- * @memberOf Monster/Types
4172
- * @returns {objec} globalThis
4173
- */
4174
-
4175
-
4176
- function getGlobal() {
4177
- return globalReference;
4178
- }
4179
- /**
4180
- * Return global object or throw Error
4181
- *
4182
- * You can call the method via the monster namespace `Monster.Types.getGlobalObject()`.
4183
- *
4184
- * ```
4185
- * <script type="module">
4186
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/global.js';
4187
- * console.log(Monster.Types.getGlobalObject('document')) // ↦ { }
4188
- * </script>
4189
- * ```
4190
- *
4191
- * Alternatively, you can also integrate this function individually.
4192
- *
4193
- * ```
4194
- * <script type="module">
4195
- * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/global.js';
4196
- * console.log(getGlobalObject('document')) // ↦ { }
4197
- * </script>
4198
- * ```
4199
- *
4200
- * @since 1.6.0
4201
- * @memberOf Monster/Types
4202
- * @param {string} name
4203
- * @returns {objec}
4204
- * @throws {Error} the object is not defined
4205
- * @throws {TypeError} value is not a object
4206
- * @throws {TypeError} value is not a string
4207
- */
4208
-
4209
-
4210
- function getGlobalObject(name) {
4211
- var _globalReference;
4212
-
4213
- (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateString)(name);
4214
- var o = (_globalReference = globalReference) === null || _globalReference === void 0 ? void 0 : _globalReference[name];
4215
- if (typeof o === 'undefined') throw new Error('the object ' + name + ' is not defined');
4216
- (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateObject)(o);
4217
- return o;
4218
- }
4219
- /**
4220
- * Return global function or throw Error
4221
- *
4222
- * You can call the method via the monster namespace `Monster.Types.getGlobalFunction()`.
4223
- *
4224
- * ```
4225
- * <script type="module">
4226
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/global.js';
4227
- * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
4228
- * </script>
4229
- * ```
4230
- *
4231
- * Alternatively, you can also integrate this function individually.
4232
- *
4233
- * ```
4234
- * <script type="module">
4235
- * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/global.js';
4236
- * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
4237
- * </script>
4238
- * ```
4239
- *
4240
- * @since 1.6.0
4241
- * @memberOf Monster/Types
4242
- * @param {string} name
4243
- * @returns {objec}
4244
- * @throws {TypeError} value is not a function
4245
- * @throws {Error} the function is not defined
4246
- * @throws {TypeError} value is not a string
4247
- */
4248
-
4249
-
4250
- function getGlobalFunction(name) {
4251
- var _globalReference2;
4252
-
4253
- (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateString)(name);
4254
- var f = (_globalReference2 = globalReference) === null || _globalReference2 === void 0 ? void 0 : _globalReference2[name];
4255
- if (typeof f === 'undefined') throw new Error('the function ' + name + ' is not defined');
4256
- (0,_validate_js__WEBPACK_IMPORTED_MODULE_1__.validateFunction)(f);
4257
- return f;
4258
- }
4259
-
4260
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', getGlobal, getGlobalObject, getGlobalFunction);
4261
-
4262
-
4263
- /***/ }),
4264
- /* 23 */
4698
+ /* 24 */
4265
4699
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4266
4700
 
4267
4701
  __webpack_require__.r(__webpack_exports__);
@@ -4309,122 +4743,18 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4309
4743
 
4310
4744
  var internalCounter = new Map();
4311
4745
  /**
4312
- * With the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix.
4313
- * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`.
4314
- * The ids are the same for every call, for example on a web page.
4315
- *
4316
- * So the ids can also be used for navigation. you just have to take care that the order stays the same.
4317
- *
4318
- * You can call the method via the monster namespace `new Monster.Types.ID()`.
4319
- *
4320
- * ```
4321
- * <script type="module">
4322
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/id.js';
4323
- * console.log(new Monster.Types.ID())
4324
- * </script>
4325
- * ```
4326
- *
4327
- * Alternatively, you can also integrate this function individually.
4328
- *
4329
- * ```
4330
- * <script type="module">
4331
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/id.js';
4332
- * console.log(new ID())
4333
- * </script>
4334
- * ```
4335
- *
4336
- * As of version 1.6.0 there is the new RandomID. this ID class is continuous from now on.
4337
- *
4338
- * @since 1.0.0
4339
- * @copyright schukai GmbH
4340
- * @memberOf Monster/Types
4341
- */
4342
-
4343
- var ID = /*#__PURE__*/function (_Base) {
4344
- _inherits(ID, _Base);
4345
-
4346
- var _super = _createSuper(ID);
4347
-
4348
- /**
4349
- * create new object
4350
- */
4351
- function ID(prefix) {
4352
- var _this;
4353
-
4354
- _classCallCheck(this, ID);
4355
-
4356
- _this = _super.call(this);
4357
-
4358
- if (prefix === undefined) {
4359
- prefix = "id";
4360
- }
4361
-
4362
- (0,_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(prefix);
4363
-
4364
- if (!internalCounter.has(prefix)) {
4365
- internalCounter.set(prefix, 1);
4366
- }
4367
-
4368
- var count = internalCounter.get(prefix);
4369
- _this.id = prefix + count;
4370
- internalCounter.set(prefix, ++count);
4371
- return _this;
4372
- }
4373
- /**
4374
- * @return {string}
4375
- */
4376
-
4377
-
4378
- _createClass(ID, [{
4379
- key: "toString",
4380
- value: function toString() {
4381
- return this.id;
4382
- }
4383
- }]);
4384
-
4385
- return ID;
4386
- }(_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
4387
-
4388
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', ID);
4389
-
4390
-
4391
- /***/ }),
4392
- /* 24 */
4393
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
4394
-
4395
- __webpack_require__.r(__webpack_exports__);
4396
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4397
- /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
4398
- /* harmony export */ "clone": function() { return /* binding */ clone; }
4399
- /* harmony export */ });
4400
- /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
4401
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22);
4402
- /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
4403
-
4404
- /**
4405
- * @author schukai GmbH
4406
- */
4407
-
4408
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4409
-
4410
-
4411
-
4412
-
4413
- /**
4414
- * With this function, objects can be cloned.
4415
- * The entire object tree is run through.
4416
- *
4417
- * Proxy, Element, HTMLDocument and DocumentFragment instances are not cloned.
4418
- * Global objects such as windows are also not cloned,
4746
+ * With the id class, sequences of ids can be created. for this purpose, an internal counter is incremented for each prefix.
4747
+ * thus, the first id with the prefix `myid` will be `myid1` and the second id `myid2`.
4748
+ * The ids are the same for every call, for example on a web page.
4419
4749
  *
4420
- * If an object has a method `getClone()`, this method is used to create the clone.
4750
+ * So the ids can also be used for navigation. you just have to take care that the order stays the same.
4421
4751
  *
4422
- * You can call the method via the monster namespace `Monster.Util.clone()`.
4752
+ * You can call the method via the monster namespace `new Monster.Types.ID()`.
4423
4753
  *
4424
4754
  * ```
4425
4755
  * <script type="module">
4426
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/util/clone.js';
4427
- * console.log(Monster.Util.clone({}))
4756
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/id.js';
4757
+ * console.log(new Monster.Types.ID())
4428
4758
  * </script>
4429
4759
  * ```
4430
4760
  *
@@ -4432,122 +4762,64 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
4432
4762
  *
4433
4763
  * ```
4434
4764
  * <script type="module">
4435
- * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/util/clone.js';
4436
- * console.log(clone({}))
4765
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/id.js';
4766
+ * console.log(new ID())
4437
4767
  * </script>
4438
4768
  * ```
4439
4769
  *
4440
- * @param {*} obj object to be cloned
4441
- * @returns {*}
4770
+ * As of version 1.6.0 there is the new RandomID. this ID class is continuous from now on.
4442
4771
  *
4443
4772
  * @since 1.0.0
4444
- * @memberOf Monster/Util
4445
4773
  * @copyright schukai GmbH
4446
- * @throws {Error} unable to clone obj! its type isn't supported.
4774
+ * @memberOf Monster.Types
4447
4775
  */
4448
4776
 
4449
- function clone(obj) {
4450
- // typeof null results in 'object'. https://2ality.com/2013/10/typeof-null.html
4451
- if (null === obj) {
4452
- return obj;
4453
- } // Handle the two simple types, null and undefined
4454
-
4455
-
4456
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isPrimitive)(obj)) {
4457
- return obj;
4458
- } // Handle the two simple types, null and undefined
4777
+ var ID = /*#__PURE__*/function (_Base) {
4778
+ _inherits(ID, _Base);
4459
4779
 
4780
+ var _super = _createSuper(ID);
4460
4781
 
4461
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isFunction)(obj)) {
4462
- return obj;
4463
- } // Handle Array
4782
+ /**
4783
+ * create new object
4784
+ */
4785
+ function ID(prefix) {
4786
+ var _this;
4464
4787
 
4788
+ _classCallCheck(this, ID);
4465
4789
 
4466
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isArray)(obj)) {
4467
- var copy = [];
4790
+ _this = _super.call(this);
4468
4791
 
4469
- for (var i = 0, len = obj.length; i < len; i++) {
4470
- copy[i] = clone(obj[i]);
4792
+ if (prefix === undefined) {
4793
+ prefix = "id";
4471
4794
  }
4472
4795
 
4473
- return copy;
4474
- }
4475
-
4476
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_2__.isObject)(obj)) {
4477
- // Handle Date
4478
- if (obj instanceof Date) {
4479
- var _copy = new Date();
4480
-
4481
- _copy.setTime(obj.getTime());
4796
+ (0,_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(prefix);
4482
4797
 
4483
- return _copy;
4798
+ if (!internalCounter.has(prefix)) {
4799
+ internalCounter.set(prefix, 1);
4484
4800
  }
4485
- /** Do not clone DOM nodes */
4486
-
4487
4801
 
4488
- if (typeof Element !== 'undefined' && obj instanceof Element) return obj;
4489
- if (typeof HTMLDocument !== 'undefined' && obj instanceof HTMLDocument) return obj;
4490
- if (typeof DocumentFragment !== 'undefined' && obj instanceof DocumentFragment) return obj;
4491
- /** Do not clone global objects */
4492
-
4493
- if (obj === (0,_types_global_js__WEBPACK_IMPORTED_MODULE_1__.getGlobal)()) return obj;
4494
- if (typeof globalContext !== 'undefined' && obj === globalContext) return obj;
4495
- if (typeof window !== 'undefined' && obj === window) return obj;
4496
- if (typeof document !== 'undefined' && obj === document) return obj;
4497
- if (typeof navigator !== 'undefined' && obj === navigator) return obj;
4498
- if (typeof JSON !== 'undefined' && obj === JSON) return obj; // Handle Proxy-Object
4499
-
4500
- try {
4501
- // try/catch because possible: TypeError: Function has non-object prototype 'undefined' in instanceof check
4502
- if (obj instanceof Proxy) {
4503
- return obj;
4504
- }
4505
- } catch (e) {}
4506
-
4507
- return cloneObject(obj);
4508
- }
4509
-
4510
- throw new Error("unable to clone obj! its type isn't supported.");
4511
- }
4512
- /**
4513
- *
4514
- * @param {object} obj
4515
- * @returns {object}
4516
- * @private
4517
- */
4518
-
4519
-
4520
- function cloneObject(obj) {
4521
- var copy;
4522
- /** Object has clone method */
4523
-
4524
- if (_typeof(obj.hasOwnProperty('getClone')) && obj.getClone === 'function') {
4525
- return obj.getClone();
4526
- }
4527
-
4528
- copy = {};
4529
-
4530
- if (typeof obj.constructor === 'function' && typeof obj.constructor.call === 'function') {
4531
- copy = new obj.constructor();
4802
+ var count = internalCounter.get(prefix);
4803
+ _this.id = prefix + count;
4804
+ internalCounter.set(prefix, ++count);
4805
+ return _this;
4532
4806
  }
4807
+ /**
4808
+ * @return {string}
4809
+ */
4533
4810
 
4534
- for (var key in obj) {
4535
- if (!obj.hasOwnProperty(key)) {
4536
- continue;
4537
- }
4538
4811
 
4539
- if (_namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster.Types.isPrimitive(obj[key])) {
4540
- copy[key] = obj[key];
4541
- continue;
4812
+ _createClass(ID, [{
4813
+ key: "toString",
4814
+ value: function toString() {
4815
+ return this.id;
4542
4816
  }
4817
+ }]);
4543
4818
 
4544
- copy[key] = clone(obj[key]);
4545
- }
4546
-
4547
- return copy;
4548
- }
4819
+ return ID;
4820
+ }(_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
4549
4821
 
4550
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Util', clone);
4822
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Types', ID);
4551
4823
 
4552
4824
 
4553
4825
  /***/ }),
@@ -4562,7 +4834,7 @@ __webpack_require__.r(__webpack_exports__);
4562
4834
  /* harmony export */ });
4563
4835
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
4564
4836
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
4565
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
4837
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
4566
4838
  /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(26);
4567
4839
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14);
4568
4840
 
@@ -4601,7 +4873,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4601
4873
  * attribute prefix
4602
4874
  *
4603
4875
  * @type {string}
4604
- * @memberOf Monster/DOM
4876
+ * @memberOf Monster.DOM
4605
4877
  */
4606
4878
 
4607
4879
  var ATTRIBUTEPREFIX = "data-monster-";
@@ -4610,7 +4882,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
4610
4882
  *
4611
4883
  * ```
4612
4884
  * <script type="module">
4613
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/assembler.js';
4885
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/assembler.js';
4614
4886
  * console.log(new Monster.DOM.Assembler())
4615
4887
  * </script>
4616
4888
  * ```
@@ -4619,14 +4891,14 @@ var ATTRIBUTEPREFIX = "data-monster-";
4619
4891
  *
4620
4892
  * ```
4621
4893
  * <script type="module">
4622
- * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/assembler.js';
4894
+ * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/assembler.js';
4623
4895
  * console.log(new Assembler())
4624
4896
  * </script>
4625
4897
  * ```
4626
4898
  *
4627
4899
  * @since 1.6.0
4628
4900
  * @copyright schukai GmbH
4629
- * @memberOf Monster/DOM
4901
+ * @memberOf Monster.DOM
4630
4902
  */
4631
4903
 
4632
4904
  var Assembler = /*#__PURE__*/function (_Base) {
@@ -4757,7 +5029,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4757
5029
  *
4758
5030
  * ```
4759
5031
  * <script type="module">
4760
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/proxyobserver.js';
5032
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/proxyobserver.js';
4761
5033
  * console.log(new Monster.Types.ProxyObserver())
4762
5034
  * </script>
4763
5035
  * ```
@@ -4766,7 +5038,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4766
5038
  *
4767
5039
  * ```
4768
5040
  * <script type="module">
4769
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/proxyobserver.js';
5041
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/proxyobserver.js';
4770
5042
  * console.log(new ProxyObserver())
4771
5043
  * </script>
4772
5044
  * ```
@@ -4777,9 +5049,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4777
5049
  *
4778
5050
  * @example
4779
5051
  *
4780
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/proxyobserver.js';
4781
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/observer.js';
4782
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/is.js';
5052
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/proxyobserver.js';
5053
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5054
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/is.js';
4783
5055
  *
4784
5056
  * const o = new Observer(function () {
4785
5057
  * if (isObject(this) && this instanceof ProxyObserver) {
@@ -4805,7 +5077,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4805
5077
  *
4806
5078
  * @since 1.0.0
4807
5079
  * @copyright schukai GmbH
4808
- * @memberOf Monster/Types
5080
+ * @memberOf Monster.Types
4809
5081
  */
4810
5082
 
4811
5083
  var ProxyObserver = /*#__PURE__*/function (_Base) {
@@ -5086,7 +5358,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5086
5358
  *
5087
5359
  * ```
5088
5360
  * <script type="module">
5089
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/observer.js';
5361
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5090
5362
  * console.log(new Monster.Types.Observer())
5091
5363
  * </script>
5092
5364
  * ```
@@ -5095,7 +5367,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5095
5367
  *
5096
5368
  * ```
5097
5369
  * <script type="module">
5098
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/observer.js';
5370
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5099
5371
  * console.log(new Observer())
5100
5372
  * </script>
5101
5373
  * ```
@@ -5129,7 +5401,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5129
5401
  *
5130
5402
  * @example
5131
5403
  *
5132
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/observer.js';
5404
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observer.js';
5133
5405
  *
5134
5406
  * const observer = new Observer(function(a, b, c) {
5135
5407
  * console.log(this, a, b, c); // ↦ "a", 2, true
@@ -5140,7 +5412,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5140
5412
  *
5141
5413
  * @since 1.0.0
5142
5414
  * @copyright schukai GmbH
5143
- * @memberOf Monster/Types
5415
+ * @memberOf Monster.Types
5144
5416
  */
5145
5417
 
5146
5418
  var Observer = /*#__PURE__*/function (_Base) {
@@ -5329,7 +5601,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5329
5601
  *
5330
5602
  * ```
5331
5603
  * <script type="module">
5332
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/tokenlist.js';
5604
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/tokenlist.js';
5333
5605
  * console.log(new Monster.Types.TokenList("myclass row"))
5334
5606
  * console.log(new Monster.Types.TokenList("myclass row"))
5335
5607
  * </script>
@@ -5339,7 +5611,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5339
5611
  *
5340
5612
  * ```
5341
5613
  * <script type="module">
5342
- * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/tokenlist.js';
5614
+ * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/tokenlist.js';
5343
5615
  * console.log(new TokenList("myclass row"))
5344
5616
  * console.log(new TokenList("myclass row"))
5345
5617
  * </script>
@@ -5353,7 +5625,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5353
5625
  *
5354
5626
  * @since 1.2.0
5355
5627
  * @copyright schukai GmbH
5356
- * @memberOf Monster/Types
5628
+ * @memberOf Monster.Types
5357
5629
  */
5358
5630
 
5359
5631
  var TokenList = /*#__PURE__*/function (_Base, _Symbol$iterator) {
@@ -5762,7 +6034,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5762
6034
  *
5763
6035
  * ```
5764
6036
  * <script type="module">
5765
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/uniquequeue.js';
6037
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/uniquequeue.js';
5766
6038
  * console.log(new Monster.Types.UniqueQueue())
5767
6039
  * </script>
5768
6040
  * ```
@@ -5771,14 +6043,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5771
6043
  *
5772
6044
  * ```
5773
6045
  * <script type="module">
5774
- * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/uniquequeue.js';
6046
+ * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/uniquequeue.js';
5775
6047
  * console.log(new UniqueQueue())
5776
6048
  * </script>
5777
6049
  * ```
5778
6050
  *
5779
6051
  * @since 1.4.0
5780
6052
  * @copyright schukai GmbH
5781
- * @memberOf Monster/Types
6053
+ * @memberOf Monster.Types
5782
6054
  */
5783
6055
 
5784
6056
  var UniqueQueue = /*#__PURE__*/function (_Queue) {
@@ -5905,7 +6177,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5905
6177
  *
5906
6178
  * ```
5907
6179
  * <script type="module">
5908
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/queue.js';
6180
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/queue.js';
5909
6181
  * console.log(new Monster.Types.Queue())
5910
6182
  * </script>
5911
6183
  * ```
@@ -5914,14 +6186,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5914
6186
  *
5915
6187
  * ```
5916
6188
  * <script type="module">
5917
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/queue.js';
6189
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/queue.js';
5918
6190
  * console.log(new Queue())
5919
6191
  * </script>
5920
6192
  * ```
5921
6193
  *
5922
6194
  * @example
5923
6195
  *
5924
- * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/queue.js';
6196
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/queue.js';
5925
6197
  *
5926
6198
  * const queue = new Queue;
5927
6199
  *
@@ -5944,7 +6216,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5944
6216
  *
5945
6217
  * @since 1.4.0
5946
6218
  * @copyright schukai GmbH
5947
- * @memberOf Monster/Types
6219
+ * @memberOf Monster.Types
5948
6220
  */
5949
6221
 
5950
6222
  var Queue = /*#__PURE__*/function (_Base) {
@@ -6089,7 +6361,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6089
6361
  *
6090
6362
  * ```
6091
6363
  * <script type="module">
6092
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/observerlist.js';
6364
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observerlist.js';
6093
6365
  * console.log(new Monster.Types.ObserverList())
6094
6366
  * console.log(new Monster.Types.ObserverList())
6095
6367
  * </script>
@@ -6099,7 +6371,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6099
6371
  *
6100
6372
  * ```
6101
6373
  * <script type="module">
6102
- * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/observerlist.js';
6374
+ * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/observerlist.js';
6103
6375
  * console.log(ObserverList())
6104
6376
  * console.log(ObserverList())
6105
6377
  * </script>
@@ -6107,7 +6379,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6107
6379
  *
6108
6380
  * @since 1.0.0
6109
6381
  * @copyright schukai GmbH
6110
- * @memberOf Monster/Types
6382
+ * @memberOf Monster.Types
6111
6383
  */
6112
6384
 
6113
6385
  var ObserverList = /*#__PURE__*/function (_Base) {
@@ -6234,7 +6506,7 @@ __webpack_require__.r(__webpack_exports__);
6234
6506
  /* harmony export */ "findClosestObjectLink": function() { return /* binding */ findClosestObjectLink; }
6235
6507
  /* harmony export */ });
6236
6508
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
6237
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22);
6509
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
6238
6510
  /* harmony import */ var _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28);
6239
6511
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
6240
6512
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33);
@@ -6258,7 +6530,7 @@ __webpack_require__.r(__webpack_exports__);
6258
6530
  *
6259
6531
  * ```
6260
6532
  * <script type="module">
6261
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/updater.js';
6533
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
6262
6534
  * console.log(Monster.DOM.findClosestObjectLink())
6263
6535
  * </script>
6264
6536
  * ```
@@ -6267,7 +6539,7 @@ __webpack_require__.r(__webpack_exports__);
6267
6539
  *
6268
6540
  * ```
6269
6541
  * <script type="module">
6270
- * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/updater.js';
6542
+ * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
6271
6543
  * console.log(findClosestObjectLink())
6272
6544
  * </script>
6273
6545
  * ```
@@ -6276,7 +6548,7 @@ __webpack_require__.r(__webpack_exports__);
6276
6548
  * @return {HTMLElement|undefined}
6277
6549
  * @since 1.10.0
6278
6550
  * @copyright schukai GmbH
6279
- * @memberOf Monster/DOM
6551
+ * @memberOf Monster.DOM
6280
6552
  * @throws {TypeError} value is not an instance of HTMLElement
6281
6553
  */
6282
6554
 
@@ -6288,7 +6560,7 @@ function findClosestObjectLink(element) {
6288
6560
  *
6289
6561
  * ```
6290
6562
  * <script type="module">
6291
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6563
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6292
6564
  * Monster.DOM.addToObjectLink();
6293
6565
  * </script>
6294
6566
  * ```
@@ -6297,14 +6569,14 @@ function findClosestObjectLink(element) {
6297
6569
  *
6298
6570
  * ```
6299
6571
  * <script type="module">
6300
- * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6572
+ * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6301
6573
  * addToObjectLink();
6302
6574
  * </script>
6303
6575
  * ```
6304
6576
  *
6305
6577
  * @since 1.9.0
6306
6578
  * @copyright schukai GmbH
6307
- * @memberOf Monster/DOM
6579
+ * @memberOf Monster.DOM
6308
6580
  * @param {HTMLElement} element
6309
6581
  * @param {Symbol} symbol
6310
6582
  * @param {Object} object
@@ -6329,7 +6601,7 @@ function addToObjectLink(element, symbol, object) {
6329
6601
  *
6330
6602
  * ```
6331
6603
  * <script type="module">
6332
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6604
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6333
6605
  * Monster.DOM.removeObjectLink();
6334
6606
  * </script>
6335
6607
  * ```
@@ -6338,14 +6610,14 @@ function addToObjectLink(element, symbol, object) {
6338
6610
  *
6339
6611
  * ```
6340
6612
  * <script type="module">
6341
- * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6613
+ * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6342
6614
  * removeObjectLink();
6343
6615
  * </script>
6344
6616
  * ```
6345
6617
  *
6346
6618
  * @since 1.9.0
6347
6619
  * @copyright schukai GmbH
6348
- * @memberOf Monster/DOM
6620
+ * @memberOf Monster.DOM
6349
6621
  * @param {HTMLElement} element
6350
6622
  * @param {Symbol} symbol
6351
6623
  * @return {boolean}
@@ -6369,7 +6641,7 @@ function removeObjectLink(element, symbol) {
6369
6641
  *
6370
6642
  * ```
6371
6643
  * <script type="module">
6372
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6644
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6373
6645
  * Monster.DOM.hasObjectLink();
6374
6646
  * </script>
6375
6647
  * ```
@@ -6378,14 +6650,14 @@ function removeObjectLink(element, symbol) {
6378
6650
  *
6379
6651
  * ```
6380
6652
  * <script type="module">
6381
- * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6653
+ * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6382
6654
  * hasObjectLink();
6383
6655
  * </script>
6384
6656
  * ```
6385
6657
  *
6386
6658
  * @since 1.9.0
6387
6659
  * @copyright schukai GmbH
6388
- * @memberOf Monster/DOM
6660
+ * @memberOf Monster.DOM
6389
6661
  * @param {HTMLElement} element
6390
6662
  * @param {Symbol} symbol
6391
6663
  * @return {boolean}
@@ -6414,7 +6686,7 @@ function hasObjectLink(element, symbol) {
6414
6686
  *
6415
6687
  * ```
6416
6688
  * <script type="module">
6417
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6689
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6418
6690
  * Monster.DOM.getLinkedObjects();
6419
6691
  * </script>
6420
6692
  * ```
@@ -6423,14 +6695,14 @@ function hasObjectLink(element, symbol) {
6423
6695
  *
6424
6696
  * ```
6425
6697
  * <script type="module">
6426
- * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6698
+ * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6427
6699
  * getLinkedObjects();
6428
6700
  * </script>
6429
6701
  * ```
6430
6702
  *
6431
6703
  * @since 1.9.0
6432
6704
  * @copyright schukai GmbH
6433
- * @memberOf Monster/DOM
6705
+ * @memberOf Monster.DOM
6434
6706
  * @param {HTMLElement} element
6435
6707
  * @param {Symbol} symbol
6436
6708
  * @return {Iterator}
@@ -6457,7 +6729,7 @@ function getLinkedObjects(element, symbol) {
6457
6729
  *
6458
6730
  * ```
6459
6731
  * <script type="module">
6460
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6732
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6461
6733
  * Monster.DOM.toggleAttributeToken();
6462
6734
  * </script>
6463
6735
  * ```
@@ -6466,14 +6738,14 @@ function getLinkedObjects(element, symbol) {
6466
6738
  *
6467
6739
  * ```
6468
6740
  * <script type="module">
6469
- * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6741
+ * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6470
6742
  * toggleAttributeToken();
6471
6743
  * </script>
6472
6744
  * ```
6473
6745
  *
6474
6746
  * @since 1.9.0
6475
6747
  * @copyright schukai GmbH
6476
- * @memberOf Monster/DOM
6748
+ * @memberOf Monster.DOM
6477
6749
  * @param {HTMLElement} element
6478
6750
  * @param {string} key
6479
6751
  * @param {string} token
@@ -6501,7 +6773,7 @@ function toggleAttributeToken(element, key, token) {
6501
6773
  *
6502
6774
  * ```
6503
6775
  * <script type="module">
6504
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6776
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6505
6777
  * Monster.DOM.addAttributeToken();
6506
6778
  * </script>
6507
6779
  * ```
@@ -6510,14 +6782,14 @@ function toggleAttributeToken(element, key, token) {
6510
6782
  *
6511
6783
  * ```
6512
6784
  * <script type="module">
6513
- * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6785
+ * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6514
6786
  * addAttributeToken();
6515
6787
  * </script>
6516
6788
  * ```
6517
6789
  *
6518
6790
  * @since 1.9.0
6519
6791
  * @copyright schukai GmbH
6520
- * @memberOf Monster/DOM
6792
+ * @memberOf Monster.DOM
6521
6793
  * @param {HTMLElement} element
6522
6794
  * @param {string} key
6523
6795
  * @param {string} token
@@ -6547,7 +6819,7 @@ function addAttributeToken(element, key, token) {
6547
6819
  *
6548
6820
  * ```
6549
6821
  * <script type="module">
6550
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6822
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6551
6823
  * Monster.DOM.removeAttributeToken();
6552
6824
  * </script>
6553
6825
  * ```
@@ -6556,14 +6828,14 @@ function addAttributeToken(element, key, token) {
6556
6828
  *
6557
6829
  * ```
6558
6830
  * <script type="module">
6559
- * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6831
+ * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6560
6832
  * removeAttributeToken();
6561
6833
  * </script>
6562
6834
  * ```
6563
6835
  *
6564
6836
  * @since 1.9.0
6565
6837
  * @copyright schukai GmbH
6566
- * @memberOf Monster/DOM
6838
+ * @memberOf Monster.DOM
6567
6839
  * @param {HTMLElement} element
6568
6840
  * @param {string} key
6569
6841
  * @param {string} token
@@ -6592,7 +6864,7 @@ function removeAttributeToken(element, key, token) {
6592
6864
  *
6593
6865
  * ```
6594
6866
  * <script type="module">
6595
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6867
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6596
6868
  * Monster.DOM.containsAttributeToken();
6597
6869
  * </script>
6598
6870
  * ```
@@ -6601,14 +6873,14 @@ function removeAttributeToken(element, key, token) {
6601
6873
  *
6602
6874
  * ```
6603
6875
  * <script type="module">
6604
- * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6876
+ * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6605
6877
  * containsAttributeToken();
6606
6878
  * </script>
6607
6879
  * ```
6608
6880
  *
6609
6881
  * @since 1.9.0
6610
6882
  * @copyright schukai GmbH
6611
- * @memberOf Monster/DOM
6883
+ * @memberOf Monster.DOM
6612
6884
  * @param {HTMLElement} element
6613
6885
  * @param {string} key
6614
6886
  * @param {string} token
@@ -6634,7 +6906,7 @@ function containsAttributeToken(element, key, token) {
6634
6906
  *
6635
6907
  * ```
6636
6908
  * <script type="module">
6637
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6909
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6638
6910
  * Monster.DOM.replaceAttributeToken();
6639
6911
  * </script>
6640
6912
  * ```
@@ -6643,14 +6915,14 @@ function containsAttributeToken(element, key, token) {
6643
6915
  *
6644
6916
  * ```
6645
6917
  * <script type="module">
6646
- * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6918
+ * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6647
6919
  * replaceAttributeToken();
6648
6920
  * </script>
6649
6921
  * ```
6650
6922
  *
6651
6923
  * @since 1.9.0
6652
6924
  * @copyright schukai GmbH
6653
- * @memberOf Monster/DOM
6925
+ * @memberOf Monster.DOM
6654
6926
  * @param {HTMLElement} element
6655
6927
  * @param {string} key
6656
6928
  * @param {string} from
@@ -6679,7 +6951,7 @@ function replaceAttributeToken(element, key, from, to) {
6679
6951
  *
6680
6952
  * ```
6681
6953
  * <script type="module">
6682
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6954
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6683
6955
  * Monster.DOM.clearAttributeTokens();
6684
6956
  * </script>
6685
6957
  * ```
@@ -6688,14 +6960,14 @@ function replaceAttributeToken(element, key, from, to) {
6688
6960
  *
6689
6961
  * ```
6690
6962
  * <script type="module">
6691
- * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6963
+ * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6692
6964
  * clearAttributeTokens();
6693
6965
  * </script>
6694
6966
  * ```
6695
6967
  *
6696
6968
  * @since 1.9.0
6697
6969
  * @copyright schukai GmbH
6698
- * @memberOf Monster/DOM
6970
+ * @memberOf Monster.DOM
6699
6971
  * @param {HTMLElement} element
6700
6972
  * @param {string} key
6701
6973
  * @return {HTMLElement}
@@ -6718,7 +6990,7 @@ function clearAttributeTokens(element, key) {
6718
6990
  *
6719
6991
  * ```
6720
6992
  * <script type="module">
6721
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
6993
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6722
6994
  * Monster.DOM.findClosestByAttribute();
6723
6995
  * </script>
6724
6996
  * ```
@@ -6727,24 +6999,14 @@ function clearAttributeTokens(element, key) {
6727
6999
  *
6728
7000
  * ```
6729
7001
  * <script type="module">
6730
- * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/attributes.js';
7002
+ * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/attributes.js';
6731
7003
  * findClosestByAttribute();
6732
7004
  * </script>
6733
7005
  * ```
6734
7006
  *
6735
7007
  * @since 1.14.0
6736
7008
  * @copyright schukai GmbH
6737
- * @memberOf Monster/DOM
6738
- * @param {HTMLElement} element
6739
- * @param {string} key
6740
- * @return {HTMLElement|undefined}
6741
- * @throws {TypeError} value is not a string
6742
- * @throws {TypeError} value is not an instance of HTMLElement
6743
- */
6744
-
6745
- /**
6746
- *
6747
- * @since 1.14.0
7009
+ * @memberOf Monster.DOM
6748
7010
  * @param {HTMLElement} element
6749
7011
  * @param {string} key
6750
7012
  * @param {string|undefined} value
@@ -6805,14 +7067,16 @@ __webpack_require__.r(__webpack_exports__);
6805
7067
  */
6806
7068
 
6807
7069
  /**
6808
- * @memberOf Monster/DOM
7070
+ * @memberOf Monster.DOM
6809
7071
  * @since 1.8.0
6810
7072
  * @type {string}
6811
7073
  */
6812
7074
 
6813
7075
  var ATTRIBUTE_PREFIX = 'data-monster-';
6814
7076
  /**
6815
- * @memberOf Monster/DOM
7077
+ * This is the name of the attribute to pass options to a control
7078
+ *
7079
+ * @memberOf Monster.DOM
6816
7080
  * @since 1.8.0
6817
7081
  * @type {string}
6818
7082
  */
@@ -6820,82 +7084,82 @@ var ATTRIBUTE_PREFIX = 'data-monster-';
6820
7084
  var ATTRIBUTE_OPTIONS = ATTRIBUTE_PREFIX + 'options';
6821
7085
  /**
6822
7086
  * default theme
6823
- * @memberOf Monster/DOM
7087
+ * @memberOf Monster.DOM
6824
7088
  * @type {string}
6825
7089
  */
6826
7090
 
6827
7091
  var DEFAULT_THEME = 'monster';
6828
7092
  /**
6829
- * @memberOf Monster/DOM
7093
+ * @memberOf Monster.DOM
6830
7094
  * @type {string}
6831
7095
  * @since 1.8.0
6832
7096
  */
6833
7097
 
6834
7098
  var ATTRIBUTE_THEME_PREFIX = ATTRIBUTE_PREFIX + 'theme-';
6835
7099
  /**
6836
- * @memberOf Monster/DOM
7100
+ * @memberOf Monster.DOM
6837
7101
  * @type {string}
6838
7102
  */
6839
7103
 
6840
7104
  var ATTRIBUTE_THEME_NAME = ATTRIBUTE_THEME_PREFIX + 'name';
6841
7105
  /**
6842
- * @memberOf Monster/DOM
7106
+ * @memberOf Monster.DOM
6843
7107
  * @type {string}
6844
7108
  * @since 1.8.0
6845
7109
  */
6846
7110
 
6847
7111
  var ATTRIBUTE_UPDATER_ATTRIBUTES = ATTRIBUTE_PREFIX + 'attributes';
6848
7112
  /**
6849
- * @memberOf Monster/DOM
7113
+ * @memberOf Monster.DOM
6850
7114
  * @type {string}
6851
7115
  * @since 1.8.0
6852
7116
  */
6853
7117
 
6854
7118
  var ATTRIBUTE_UPDATER_REPLACE = ATTRIBUTE_PREFIX + 'replace';
6855
7119
  /**
6856
- * @memberOf Monster/DOM
7120
+ * @memberOf Monster.DOM
6857
7121
  * @type {string}
6858
7122
  * @since 1.8.0
6859
7123
  */
6860
7124
 
6861
7125
  var ATTRIBUTE_UPDATER_INSERT = ATTRIBUTE_PREFIX + 'insert';
6862
7126
  /**
6863
- * @memberOf Monster/DOM
7127
+ * @memberOf Monster.DOM
6864
7128
  * @type {string}
6865
7129
  * @since 1.8.0
6866
7130
  */
6867
7131
 
6868
7132
  var ATTRIBUTE_UPDATER_INSERT_REFERENCE = ATTRIBUTE_PREFIX + 'insert-reference';
6869
7133
  /**
6870
- * @memberOf Monster/DOM
7134
+ * @memberOf Monster.DOM
6871
7135
  * @type {string}
6872
7136
  * @since 1.8.0
6873
7137
  */
6874
7138
 
6875
7139
  var ATTRIBUTE_UPDATER_REMOVE = ATTRIBUTE_PREFIX + 'remove';
6876
7140
  /**
6877
- * @memberOf Monster/DOM
7141
+ * @memberOf Monster.DOM
6878
7142
  * @type {string}
6879
7143
  * @since 1.9.0
6880
7144
  */
6881
7145
 
6882
7146
  var ATTRIBUTE_UPDATER_BIND = ATTRIBUTE_PREFIX + 'bind';
6883
7147
  /**
6884
- * @memberOf Monster/DOM
7148
+ * @memberOf Monster.DOM
6885
7149
  * @type {string}
6886
7150
  * @since 1.14.0
6887
7151
  */
6888
7152
 
6889
7153
  var ATTRIBUTE_ROLE = ATTRIBUTE_PREFIX + 'role';
6890
7154
  /**
6891
- * @memberOf Monster/DOM
7155
+ * @memberOf Monster.DOM
6892
7156
  * @type {string}
6893
7157
  * @since 1.9.0
6894
7158
  */
6895
7159
 
6896
7160
  var ATTRIBUTE_OBJECTLINK = ATTRIBUTE_PREFIX + 'objectlink';
6897
7161
  /**
6898
- * @memberOf Monster/DOM
7162
+ * @memberOf Monster.DOM
6899
7163
  * @type {string}
6900
7164
  * @since 1.10.0
6901
7165
  */
@@ -6912,7 +7176,7 @@ __webpack_require__.r(__webpack_exports__);
6912
7176
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
6913
7177
  /* harmony export */ "CustomControl": function() { return /* binding */ CustomControl; }
6914
7178
  /* harmony export */ });
6915
- /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18);
7179
+ /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21);
6916
7180
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
6917
7181
  /* harmony import */ var _customelement_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(35);
6918
7182
 
@@ -6969,7 +7233,7 @@ var internalSymbol = Symbol('internalSymbol');
6969
7233
  *
6970
7234
  * ```
6971
7235
  * <script type="module">
6972
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/customcontrol.js';
7236
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customcontrol.js';
6973
7237
  * console.log(new Monster.DOM.CustomControl())
6974
7238
  * </script>
6975
7239
  * ```
@@ -6978,17 +7242,18 @@ var internalSymbol = Symbol('internalSymbol');
6978
7242
  *
6979
7243
  * ```
6980
7244
  * <script type="module">
6981
- * import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/customcontrol.js';
7245
+ * import {CustomControl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customcontrol.js';
6982
7246
  * console.log(new CustomControl())
6983
7247
  * </script>
6984
7248
  * ```
6985
7249
  *
7250
+ * @summary A base class for customcontrols
6986
7251
  * @see https://www.npmjs.com/package/element-internals-polyfill
6987
7252
  * @see https://github.com/WICG/webcomponents
6988
7253
  * @see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements
6989
7254
  * @since 1.14.0
6990
7255
  * @copyright schukai GmbH
6991
- * @memberOf Monster/DOM
7256
+ * @memberOf Monster.DOM
6992
7257
  */
6993
7258
 
6994
7259
  var CustomControl = /*#__PURE__*/function (_CustomElement) {
@@ -6997,8 +7262,10 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
6997
7262
  var _super = _createSuper(CustomControl);
6998
7263
 
6999
7264
  /**
7265
+ * IMPORTANT: CustomControls instances are not created via the constructor, but either via a tag in the HTML or via <code>document.createElement()</code>.
7000
7266
  *
7001
7267
  * @throws {Error} the ElementInternals is not supported and a polyfill is necessary
7268
+ * @summary create new Instance
7002
7269
  */
7003
7270
  function CustomControl() {
7004
7271
  var _this;
@@ -7008,7 +7275,11 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
7008
7275
  _this = _super.call(this);
7009
7276
 
7010
7277
  if (typeof _this['attachInternals'] === 'function') {
7011
- // currently only supported by chrome
7278
+ /**
7279
+ * currently only supported by chrome
7280
+ * @property {Object}
7281
+ * @private
7282
+ */
7012
7283
  _this[internalSymbol] = _this.attachInternals();
7013
7284
  }
7014
7285
 
@@ -7026,10 +7297,6 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
7026
7297
  key: "defaults",
7027
7298
  get:
7028
7299
  /**
7029
- * | option | description |
7030
- * |----------------|---------------------------------|
7031
- * | | |
7032
- *
7033
7300
  * Derived classes can override and extend this method as follows.
7034
7301
  *
7035
7302
  * ```
@@ -7283,6 +7550,7 @@ var CustomControl = /*#__PURE__*/function (_CustomElement) {
7283
7550
  * @private
7284
7551
  * @return {object}
7285
7552
  * @throws {Error} the ElementInternals is not supported and a polyfill is necessary
7553
+ * @this CustomControl
7286
7554
  */
7287
7555
 
7288
7556
 
@@ -7312,15 +7580,15 @@ __webpack_require__.r(__webpack_exports__);
7312
7580
  /* harmony export */ "assembleMethodSymbol": function() { return /* binding */ assembleMethodSymbol; }
7313
7581
  /* harmony export */ });
7314
7582
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
7315
- /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18);
7316
- /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15);
7583
+ /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
7584
+ /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
7317
7585
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2);
7318
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
7586
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16);
7319
7587
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9);
7320
7588
  /* harmony import */ var _types_observer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(27);
7321
7589
  /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26);
7322
7590
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14);
7323
- /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(24);
7591
+ /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(15);
7324
7592
  /* harmony import */ var _attributes_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(32);
7325
7593
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33);
7326
7594
  /* harmony import */ var _template_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(36);
@@ -7400,15 +7668,23 @@ var internalDataSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.P
7400
7668
 
7401
7669
  var objectLinkSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_11__.OBJECTLINK_KEY_UPDATER);
7402
7670
  /**
7671
+ * @memberOf Monster.DOM
7403
7672
  * @type {symbol}
7404
7673
  */
7405
7674
 
7406
7675
  var initMethodSymbol = Symbol('initMethodSymbol');
7407
7676
  /**
7677
+ * @memberOf Monster.DOM
7408
7678
  * @type {symbol}
7409
7679
  */
7410
7680
 
7411
7681
  var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7682
+ /**
7683
+ * HTMLElement
7684
+ * @external HTMLElement
7685
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
7686
+ */
7687
+
7412
7688
  /**
7413
7689
  * To define a new HTML element we need the power of CustomElement
7414
7690
  *
@@ -7419,7 +7695,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7419
7695
  *
7420
7696
  * ```
7421
7697
  * <script type="module">
7422
- * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/customelement.js';
7698
+ * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customelement.js';
7423
7699
  * console.log(new Monster.DOM.CustomElement())
7424
7700
  * </script>
7425
7701
  * ```
@@ -7428,7 +7704,7 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7428
7704
  *
7429
7705
  * ```
7430
7706
  * <script type="module">
7431
- * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/customelement.js';
7707
+ * import {CustomElement} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/customelement.js';
7432
7708
  * console.log(new CustomElement())
7433
7709
  * </script>
7434
7710
  * ```
@@ -7513,7 +7789,8 @@ var assembleMethodSymbol = Symbol('assembleMethodSymbol');
7513
7789
  * @see https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements
7514
7790
  * @since 1.7.0
7515
7791
  * @copyright schukai GmbH
7516
- * @memberOf Monster/DOM
7792
+ * @memberOf Monster.DOM
7793
+ * @extends external:HTMLElement
7517
7794
  */
7518
7795
 
7519
7796
  var CustomElement = /*#__PURE__*/function (_HTMLElement) {
@@ -7555,11 +7832,6 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
7555
7832
  key: "defaults",
7556
7833
  get:
7557
7834
  /**
7558
- * | option | description |
7559
- * |----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
7560
- * | shadowMode | `open` Elements of the shadow root are accessible from JavaScript outside the root, for example using. `close` Denies access to the node(s) of a closed shadow root from JavaScript outside it |
7561
- * | delegatesFocus | A boolean that, when set to true, specifies behavior that mitigates custom element issues around focusability. When a non-focusable part of the shadow DOM is clicked, the first focusable part is given focus, and the shadow host is given any available :focus styling. |
7562
- * | templates.main | Main template |
7563
7835
  *
7564
7836
  * Derived classes can override and extend this method as follows.
7565
7837
  *
@@ -7571,6 +7843,11 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
7571
7843
  * }
7572
7844
  * ```
7573
7845
  *
7846
+ * @property {string} shadowMode=open `open` Elements of the shadow root are accessible from JavaScript outside the root, for example using. `close` Denies access to the node(s) of a closed shadow root from JavaScript outside it
7847
+ * @property {Boolean} delegatesFocus=true A boolean that, when set to true, specifies behavior that mitigates custom element issues around focusability. When a non-focusable part of the shadow DOM is clicked, the first focusable part is given focus, and the shadow host is given any available :focus styling.
7848
+ * @property {Object} templates Templates
7849
+ * @property {string} templates.main=undefined Main template
7850
+ *
7574
7851
  * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow
7575
7852
  * @return {{shadowMode: string, delegatesFocus: boolean}}
7576
7853
  * @since 1.8.0
@@ -7849,6 +8126,7 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
7849
8126
  /**
7850
8127
  * @since 1.15.0
7851
8128
  * @private
8129
+ * @this CustomElement
7852
8130
  */
7853
8131
 
7854
8132
 
@@ -7947,7 +8225,8 @@ function initHtmlContent() {
7947
8225
  /**
7948
8226
  * @private
7949
8227
  * @return {CustomElement}
7950
- * @memberOf Monster/DOM
8228
+ * @memberOf Monster.DOM
8229
+ * @this CustomElement
7951
8230
  * @since 1.16.0
7952
8231
  */
7953
8232
 
@@ -7978,7 +8257,7 @@ function initCSSStylesheet() {
7978
8257
  * @return {CustomElement}
7979
8258
  * @throws {Error} html is not set.
7980
8259
  * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow
7981
- * @memberOf Monster/DOM
8260
+ * @memberOf Monster.DOM
7982
8261
  * @since 1.8.0
7983
8262
  */
7984
8263
 
@@ -8016,7 +8295,7 @@ function initShadowRoot() {
8016
8295
  * @return {void}
8017
8296
  * @since 1.7.0
8018
8297
  * @copyright schukai GmbH
8019
- * @memberOf Monster/DOM
8298
+ * @memberOf Monster.DOM
8020
8299
  * @throws {DOMException} Failed to execute 'define' on 'CustomElementRegistry': is not a valid custom element name
8021
8300
  */
8022
8301
 
@@ -8041,7 +8320,7 @@ __webpack_require__.r(__webpack_exports__);
8041
8320
  /* harmony export */ });
8042
8321
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
8043
8322
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
8044
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
8323
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
8045
8324
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
8046
8325
  /* harmony import */ var _theme_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(37);
8047
8326
 
@@ -8081,7 +8360,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8081
8360
  *
8082
8361
  * ```
8083
8362
  * <script type="module">
8084
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/template.js';
8363
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
8085
8364
  * console.log(new Monster.DOM.Template())
8086
8365
  * </script>
8087
8366
  * ```
@@ -8090,14 +8369,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8090
8369
  *
8091
8370
  * ```
8092
8371
  * <script type="module">
8093
- * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/template.js';
8372
+ * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
8094
8373
  * console.log(new Template())
8095
8374
  * </script>
8096
8375
  * ```
8097
8376
  *
8098
8377
  * @since 1.6.0
8099
8378
  * @copyright schukai GmbH
8100
- * @memberOf Monster/DOM
8379
+ * @memberOf Monster.DOM
8101
8380
  */
8102
8381
 
8103
8382
  var Template = /*#__PURE__*/function (_Base) {
@@ -8156,7 +8435,7 @@ var Template = /*#__PURE__*/function (_Base) {
8156
8435
  *
8157
8436
  * ```
8158
8437
  * <script type="module">
8159
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/template.js';
8438
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
8160
8439
  * console.log(Monster.DOM.findDocumentTemplate())
8161
8440
  * </script>
8162
8441
  * ```
@@ -8165,7 +8444,7 @@ var Template = /*#__PURE__*/function (_Base) {
8165
8444
  *
8166
8445
  * ```
8167
8446
  * <script type="module">
8168
- * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/template.js';
8447
+ * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/template.js';
8169
8448
  * console.log(findDocumentTemplate())
8170
8449
  * </script>
8171
8450
  * ```
@@ -8175,7 +8454,7 @@ var Template = /*#__PURE__*/function (_Base) {
8175
8454
  * @return {Template}
8176
8455
  * @since 1.7.0
8177
8456
  * @copyright schukai GmbH
8178
- * @memberOf Monster/DOM
8457
+ * @memberOf Monster.DOM
8179
8458
  * @throws {Error} template id not found.
8180
8459
  * @throws {TypeError} value is not a string
8181
8460
  */
@@ -8235,7 +8514,7 @@ __webpack_require__.r(__webpack_exports__);
8235
8514
  /* harmony export */ });
8236
8515
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
8237
8516
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
8238
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
8517
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
8239
8518
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
8240
8519
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(33);
8241
8520
 
@@ -8275,7 +8554,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8275
8554
  *
8276
8555
  * ```
8277
8556
  * <script type="module">
8278
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/theme.js';
8557
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/theme.js';
8279
8558
  * console.log(new Monster.DOM.Theme())
8280
8559
  * </script>
8281
8560
  * ```
@@ -8284,14 +8563,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8284
8563
  *
8285
8564
  * ```
8286
8565
  * <script type="module">
8287
- * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/theme.js';
8566
+ * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/theme.js';
8288
8567
  * console.log(new Theme())
8289
8568
  * </script>
8290
8569
  * ```
8291
8570
  *
8292
8571
  * @example
8293
8572
  *
8294
- * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/theme.js';
8573
+ * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/theme.js';
8295
8574
  *
8296
8575
  * const theme = getDocumentTheme();
8297
8576
  * console.log(theme.getName());
@@ -8299,7 +8578,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8299
8578
  *
8300
8579
  * @since 1.7.0
8301
8580
  * @copyright schukai GmbH
8302
- * @memberOf Monster/DOM
8581
+ * @memberOf Monster.DOM
8303
8582
  */
8304
8583
 
8305
8584
  var Theme = /*#__PURE__*/function (_Base) {
@@ -8350,6 +8629,7 @@ var Theme = /*#__PURE__*/function (_Base) {
8350
8629
  * the default theme name is `monster`.
8351
8630
  *
8352
8631
  * @return {Theme}
8632
+ * @memberOf Monster.DOM
8353
8633
  * @since 1.7.0
8354
8634
  */
8355
8635
 
@@ -8382,9 +8662,9 @@ __webpack_require__.r(__webpack_exports__);
8382
8662
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_4__.Monster; },
8383
8663
  /* harmony export */ "Updater": function() { return /* binding */ Updater; }
8384
8664
  /* harmony export */ });
8385
- /* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17);
8386
- /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15);
8387
- /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20);
8665
+ /* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(19);
8666
+ /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17);
8667
+ /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
8388
8668
  /* harmony import */ var _dom_constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(33);
8389
8669
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(2);
8390
8670
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4);
@@ -8392,7 +8672,7 @@ __webpack_require__.r(__webpack_exports__);
8392
8672
  /* harmony import */ var _types_observer_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(27);
8393
8673
  /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(26);
8394
8674
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(14);
8395
- /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(24);
8675
+ /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(15);
8396
8676
  /* harmony import */ var _template_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(36);
8397
8677
  /* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(39);
8398
8678
 
@@ -8459,7 +8739,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8459
8739
  *
8460
8740
  * ```
8461
8741
  * <script type="module">
8462
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/updater.js';
8742
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
8463
8743
  * console.log(new Monster.DOM.Updater())
8464
8744
  * </script>
8465
8745
  * ```
@@ -8468,14 +8748,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8468
8748
  *
8469
8749
  * ```
8470
8750
  * <script type="module">
8471
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/updater.js';
8751
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
8472
8752
  * console.log(new Updater())
8473
8753
  * </script>
8474
8754
  * ```
8475
8755
  *
8476
8756
  * @example
8477
8757
  *
8478
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/updater.js';
8758
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/updater.js';
8479
8759
  *
8480
8760
  * // First we prepare the html document.
8481
8761
  * // This is done here via script, but can also be inserted into the document as pure html.
@@ -8501,7 +8781,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
8501
8781
  *
8502
8782
  * @since 1.8.0
8503
8783
  * @copyright schukai GmbH
8504
- * @memberOf Monster/DOM
8784
+ * @memberOf Monster.DOM
8505
8785
  * @throws {Error} the value is not iterable
8506
8786
  * @throws {Error} pipes are not allowed when cloning a node.
8507
8787
  * @throws {Error} no template was found with the specified key.
@@ -8712,7 +8992,8 @@ var Updater = /*#__PURE__*/function (_Base) {
8712
8992
  /**
8713
8993
  * @private
8714
8994
  * @since 1.9.0
8715
- * @return {function}
8995
+ * @return {function
8996
+ * @this Updater
8716
8997
  */
8717
8998
 
8718
8999
 
@@ -8741,6 +9022,7 @@ var symbol = Symbol('EventHandler');
8741
9022
  /**
8742
9023
  * @private
8743
9024
  * @return {function}
9025
+ * @this Updater
8744
9026
  */
8745
9027
 
8746
9028
  function getControlEventHandler() {
@@ -8856,6 +9138,7 @@ function removeElement(change) {
8856
9138
  * @throws {Error} pipes are not allowed when cloning a node.
8857
9139
  * @throws {Error} no template was found with the specified key.
8858
9140
  * @throws {Error} the maximum depth for the recursion is reached.
9141
+ * @this Updater
8859
9142
  */
8860
9143
 
8861
9144
 
@@ -9035,6 +9318,7 @@ function applyRecursive(node, key, path) {
9035
9318
  * @since 1.8.0
9036
9319
  * @param {object} change
9037
9320
  * @return {void}
9321
+ * @this Updater
9038
9322
  */
9039
9323
 
9040
9324
 
@@ -9128,6 +9412,7 @@ function updateAttributes(change) {
9128
9412
  * @param {array} parts
9129
9413
  * @param {object} subject
9130
9414
  * @return {void}
9415
+ * @this Updater
9131
9416
  */
9132
9417
 
9133
9418
 
@@ -9201,6 +9486,7 @@ function runUpdateAttributes(container, parts, subject) {
9201
9486
  * @param {string} name
9202
9487
  * @param {string|number|undefined} value
9203
9488
  * @return {void}
9489
+ * @this Updater
9204
9490
  */
9205
9491
 
9206
9492
 
@@ -9289,7 +9575,7 @@ __webpack_require__.r(__webpack_exports__);
9289
9575
  /* harmony export */ "getDocumentFragmentFromString": function() { return /* binding */ getDocumentFragmentFromString; }
9290
9576
  /* harmony export */ });
9291
9577
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
9292
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22);
9578
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
9293
9579
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
9294
9580
 
9295
9581
  /**
@@ -9306,7 +9592,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
9306
9592
  *
9307
9593
  * ```
9308
9594
  * <script type="module">
9309
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/util.js';
9595
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
9310
9596
  * console.log(Monster.DOM.getDocument())
9311
9597
  * </script>
9312
9598
  * ```
@@ -9315,7 +9601,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
9315
9601
  *
9316
9602
  * ```
9317
9603
  * <script type="module">
9318
- * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/util.js';
9604
+ * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
9319
9605
  * console.log(getDocument())
9320
9606
  * </script>
9321
9607
  * ```
@@ -9350,7 +9636,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
9350
9636
  * @returns {object}
9351
9637
  * @since 1.6.0
9352
9638
  * @copyright schukai GmbH
9353
- * @memberOf Monster/DOM
9639
+ * @memberOf Monster.DOM
9354
9640
  * @throws {Error} not supported environment
9355
9641
  */
9356
9642
 
@@ -9370,7 +9656,7 @@ function getDocument() {
9370
9656
  *
9371
9657
  * ```
9372
9658
  * <script type="module">
9373
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/util.js';
9659
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
9374
9660
  * console.log(Monster.DOM.getWindow())
9375
9661
  * </script>
9376
9662
  * ```
@@ -9379,7 +9665,7 @@ function getDocument() {
9379
9665
  *
9380
9666
  * ```
9381
9667
  * <script type="module">
9382
- * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/util.js';
9668
+ * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
9383
9669
  * console.log(getWindow(null))
9384
9670
  * </script>
9385
9671
  * ```
@@ -9416,7 +9702,7 @@ function getDocument() {
9416
9702
  * @returns {object}
9417
9703
  * @since 1.6.0
9418
9704
  * @copyright schukai GmbH
9419
- * @memberOf Monster/DOM
9705
+ * @memberOf Monster.DOM
9420
9706
  * @throws {Error} not supported environment
9421
9707
  */
9422
9708
 
@@ -9439,7 +9725,7 @@ function getWindow() {
9439
9725
  *
9440
9726
  * ```
9441
9727
  * <script type="module">
9442
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/util.js';
9728
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
9443
9729
  * console.log(Monster.DOM.getDocumentFragmentFromString())
9444
9730
  * </script>
9445
9731
  * ```
@@ -9448,7 +9734,7 @@ function getWindow() {
9448
9734
  *
9449
9735
  * ```
9450
9736
  * <script type="module">
9451
- * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/util.js';
9737
+ * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/util.js';
9452
9738
  * console.log(getDocumentFragmentFromString('<div></div>'))
9453
9739
  * </script>
9454
9740
  * ```
@@ -9483,7 +9769,7 @@ function getWindow() {
9483
9769
  * @returns {DocumentFragment}
9484
9770
  * @since 1.6.0
9485
9771
  * @copyright schukai GmbH
9486
- * @memberOf Monster/DOM
9772
+ * @memberOf Monster.DOM
9487
9773
  * @throws {Error} not supported environment
9488
9774
  * @throws {TypeError} value is not a string
9489
9775
  */
@@ -9534,7 +9820,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
9534
9820
  *
9535
9821
  * ```
9536
9822
  * <script type="module">
9537
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/events.js';
9823
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
9538
9824
  * console.log(new Monster.DOM.fireEvent())
9539
9825
  * </script>
9540
9826
  * ```
@@ -9543,7 +9829,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
9543
9829
  *
9544
9830
  * ```
9545
9831
  * <script type="module">
9546
- * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/events.js';
9832
+ * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
9547
9833
  * console.log(fireEvent())
9548
9834
  * </script>
9549
9835
  * ```
@@ -9553,7 +9839,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
9553
9839
  * @return {void}
9554
9840
  * @since 1.10.0
9555
9841
  * @copyright schukai GmbH
9556
- * @memberOf Monster/DOM
9842
+ * @memberOf Monster.DOM
9557
9843
  * @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection
9558
9844
  */
9559
9845
 
@@ -9597,7 +9883,7 @@ function fireEvent(element, type) {
9597
9883
  *
9598
9884
  * ```
9599
9885
  * <script type="module">
9600
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/events.js';
9886
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
9601
9887
  * console.log(new Monster.DOM.findTargetElementFromEvent())
9602
9888
  * </script>
9603
9889
  * ```
@@ -9606,7 +9892,7 @@ function fireEvent(element, type) {
9606
9892
  *
9607
9893
  * ```
9608
9894
  * <script type="module">
9609
- * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/events.js';
9895
+ * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/events.js';
9610
9896
  * console.log(findTargetElementFromEvent())
9611
9897
  * </script>
9612
9898
  * ```
@@ -9616,7 +9902,7 @@ function fireEvent(element, type) {
9616
9902
  * @param {string} attributeName
9617
9903
  * @param {string|null} attributeValue
9618
9904
  * @throws {Error} unsupported event
9619
- * @memberOf Monster/DOM
9905
+ * @memberOf Monster.DOM
9620
9906
  * @throws {TypeError} value is not a string
9621
9907
  * @throws {TypeError} value is not an instance of HTMLElement
9622
9908
  */
@@ -9664,19 +9950,20 @@ __webpack_require__.r(__webpack_exports__);
9664
9950
 
9665
9951
 
9666
9952
  /**
9953
+ * @private
9667
9954
  * @type {string}
9668
9955
  */
9669
9956
 
9670
9957
  var DEFAULT_LANGUAGE = 'en';
9671
9958
  /**
9672
9959
  * With this function you can read the language version set by the document.
9673
- * For this the attibute `lang` in the html tag is read. If no attribute is set, `en` is used as default.
9960
+ * For this the attribute `lang` in the html tag is read. If no attribute is set, `en` is used as default.
9674
9961
  *
9675
9962
  * You can call the function via the monster namespace `new Monster.DOM.getLocaleOfDocument()`.
9676
9963
  *
9677
9964
  * ```
9678
9965
  * <script type="module">
9679
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/locale.js';
9966
+ * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/locale.js';
9680
9967
  * console.log(new Monster.DOM.getLocaleOfDocument())
9681
9968
  * </script>
9682
9969
  * ```
@@ -9685,14 +9972,14 @@ var DEFAULT_LANGUAGE = 'en';
9685
9972
  *
9686
9973
  * ```
9687
9974
  * <script type="module">
9688
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/dom/locale.js';
9975
+ * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/dom/locale.js';
9689
9976
  * console.log(new getLocaleOfDocument())
9690
9977
  * </script>
9691
9978
  * ```
9692
9979
  *
9693
9980
  * @since 1.13.0
9694
9981
  * @copyright schukai GmbH
9695
- * @memberOf Monster/DOM
9982
+ * @memberOf Monster.DOM
9696
9983
  * @throws {TypeError} value is not a string
9697
9984
  * @throws {Error} unsupported locale
9698
9985
  */
@@ -9728,7 +10015,7 @@ __webpack_require__.r(__webpack_exports__);
9728
10015
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
9729
10016
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
9730
10017
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(14);
9731
- /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24);
10018
+ /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(15);
9732
10019
 
9733
10020
  /**
9734
10021
  * @author schukai GmbH
@@ -9761,30 +10048,32 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9761
10048
 
9762
10049
 
9763
10050
  /**
10051
+ * @memberOf Monster.I18n
9764
10052
  * @type {symbol}
9765
10053
  */
9766
10054
 
9767
10055
  var propertiesSymbol = Symbol('properties');
9768
10056
  /**
9769
10057
  * @type {symbol}
10058
+ * @memberOf Monster.I18n
9770
10059
  */
9771
10060
 
9772
10061
  var localeStringSymbol = Symbol('localeString');
9773
10062
  /**
9774
- * You can call the method via the monster namespace `new Monster.I18n.Locale()`.
10063
+ * You can create an instance via the monster namespace `new Monster.I18n.Locale()`.
9775
10064
  *
9776
10065
  * ```
9777
10066
  * <script type="module">
9778
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/locale.js';
10067
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
9779
10068
  * console.log(new Monster.I18n.Locale())
9780
10069
  * </script>
9781
10070
  * ```
9782
10071
  *
9783
- * Alternatively, you can also integrate this function individually.
10072
+ * Alternatively, you can also integrate this class individually.
9784
10073
  *
9785
10074
  * ```
9786
10075
  * <script type="module">
9787
- * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/locale.js';
10076
+ * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
9788
10077
  * console.log(new Locale())
9789
10078
  * </script>
9790
10079
  * ```
@@ -9822,7 +10111,7 @@ var localeStringSymbol = Symbol('localeString');
9822
10111
  *
9823
10112
  * @since 1.13.0
9824
10113
  * @copyright schukai GmbH
9825
- * @memberOf Monster/I18n
10114
+ * @memberOf Monster.I18n
9826
10115
  * @see https://datatracker.ietf.org/doc/html/rfc3066
9827
10116
  */
9828
10117
 
@@ -9832,12 +10121,12 @@ var Locale = /*#__PURE__*/function (_Base) {
9832
10121
  var _super = _createSuper(Locale);
9833
10122
 
9834
10123
  /**
9835
- * @param {string|undefined} language
9836
- * @param {string|undefined} region
9837
- * @param {string|undefined} script
9838
- * @param {string|undefined} variants
9839
- * @param {string|undefined} extlang
9840
- * @param {string|undefined} privateUse
10124
+ * @param {string} language
10125
+ * @param {string} [region]
10126
+ * @param {string} [script]
10127
+ * @param {string} [variants]
10128
+ * @param {string} [extlang]
10129
+ * @param {string} [privateUse]
9841
10130
  * @throws {Error} unsupported locale
9842
10131
  */
9843
10132
  function Locale(language, region, script, variants, extlang, privateUse) {
@@ -9943,7 +10232,7 @@ var Locale = /*#__PURE__*/function (_Base) {
9943
10232
  return "" + this.localeString;
9944
10233
  }
9945
10234
  /**
9946
- * @return {object}
10235
+ * @return {Monster.I18n.LocaleMap}
9947
10236
  */
9948
10237
 
9949
10238
  }, {
@@ -9955,6 +10244,17 @@ var Locale = /*#__PURE__*/function (_Base) {
9955
10244
 
9956
10245
  return Locale;
9957
10246
  }(_types_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
10247
+ /**
10248
+ * @typedef {Object} LocaleMap
10249
+ * @property {string} language
10250
+ * @property {string} script
10251
+ * @property {string} region
10252
+ * @property {string} variants
10253
+ * @property {string} extlang
10254
+ * @property {string} privateUse
10255
+ * @memberOf Monster.I18n
10256
+ */
10257
+
9958
10258
  /**
9959
10259
  * Parse local according to rfc4646 standard
9960
10260
  *
@@ -9964,7 +10264,7 @@ var Locale = /*#__PURE__*/function (_Base) {
9964
10264
  *
9965
10265
  * ```
9966
10266
  * <script type="module">
9967
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/locale.js';
10267
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
9968
10268
  * console.log(new Monster.I18n.createLocale())
9969
10269
  * </script>
9970
10270
  * ```
@@ -9973,7 +10273,7 @@ var Locale = /*#__PURE__*/function (_Base) {
9973
10273
  *
9974
10274
  * ```
9975
10275
  * <script type="module">
9976
- * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/locale.js';
10276
+ * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/locale.js';
9977
10277
  * console.log(createLocale())
9978
10278
  * </script>
9979
10279
  * ```
@@ -10030,7 +10330,7 @@ var Locale = /*#__PURE__*/function (_Base) {
10030
10330
  * @returns {Locale}
10031
10331
  * @since 1.14.0
10032
10332
  * @copyright schukai GmbH
10033
- * @memberOf Monster/I18n
10333
+ * @memberOf Monster.I18n
10034
10334
  * @throws {TypeError} value is not a string
10035
10335
  * @throws {Error} unsupported locale
10036
10336
  */
@@ -10149,7 +10449,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10149
10449
  *
10150
10450
  * ```
10151
10451
  * <script type="module">
10152
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/provider.js';
10452
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/provider.js';
10153
10453
  * console.log(new Monster.I18n.Provider())
10154
10454
  * </script>
10155
10455
  * ```
@@ -10158,14 +10458,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10158
10458
  *
10159
10459
  * ```
10160
10460
  * <script type="module">
10161
- * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/provider.js';
10461
+ * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/provider.js';
10162
10462
  * console.log(new Provider())
10163
10463
  * </script>
10164
10464
  * ```
10165
10465
  *
10166
10466
  * @since 1.13.0
10167
10467
  * @copyright schukai GmbH
10168
- * @memberOf Monster/I18n
10468
+ * @memberOf Monster.I18n
10169
10469
  * @see https://datatracker.ietf.org/doc/html/rfc3066
10170
10470
  */
10171
10471
 
@@ -10214,8 +10514,8 @@ __webpack_require__.r(__webpack_exports__);
10214
10514
  /* harmony export */ "BaseWithOptions": function() { return /* binding */ BaseWithOptions; }
10215
10515
  /* harmony export */ });
10216
10516
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
10217
- /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18);
10218
- /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(15);
10517
+ /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
10518
+ /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
10219
10519
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(2);
10220
10520
  /* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4);
10221
10521
  /* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(14);
@@ -10266,7 +10566,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
10266
10566
  *
10267
10567
  * ```
10268
10568
  * <script type="module">
10269
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/basewithoptions.js';
10569
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/basewithoptions.js';
10270
10570
  * console.log(new Monster.Types.BaseWithOptions())
10271
10571
  * </script>
10272
10572
  * ```
@@ -10275,7 +10575,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
10275
10575
  *
10276
10576
  * ```
10277
10577
  * <script type="module">
10278
- * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/basewithoptions.js';
10578
+ * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/basewithoptions.js';
10279
10579
  * console.log(new BaseWithOptions())
10280
10580
  * </script>
10281
10581
  * ```
@@ -10284,7 +10584,7 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
10284
10584
  *
10285
10585
  * @since 1.13.0
10286
10586
  * @copyright schukai GmbH
10287
- * @memberOf Monster/Types
10587
+ * @memberOf Monster.Types
10288
10588
  */
10289
10589
 
10290
10590
  var BaseWithOptions = /*#__PURE__*/function (_Base) {
@@ -10416,7 +10716,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10416
10716
  *
10417
10717
  * ```
10418
10718
  * <script type="module">
10419
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/translations.js';
10719
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/translations.js';
10420
10720
  * console.log(new Monster.I18n.Translations())
10421
10721
  * </script>
10422
10722
  * ```
@@ -10425,7 +10725,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10425
10725
  *
10426
10726
  * ```
10427
10727
  * <script type="module">
10428
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/translations.js';
10728
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/translations.js';
10429
10729
  * console.log(new Translations())
10430
10730
  * </script>
10431
10731
  * ```
@@ -10444,7 +10744,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10444
10744
  *
10445
10745
  * @since 1.13.0
10446
10746
  * @copyright schukai GmbH
10447
- * @memberOf Monster/I18n
10747
+ * @memberOf Monster.I18n
10448
10748
  * @see https://datatracker.ietf.org/doc/html/rfc3066
10449
10749
  */
10450
10750
 
@@ -10637,10 +10937,10 @@ __webpack_require__.r(__webpack_exports__);
10637
10937
  /* harmony export */ "Fetch": function() { return /* binding */ Fetch; }
10638
10938
  /* harmony export */ });
10639
10939
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
10640
- /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(18);
10940
+ /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
10641
10941
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2);
10642
10942
  /* harmony import */ var _text_formatter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47);
10643
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(22);
10943
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16);
10644
10944
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9);
10645
10945
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(14);
10646
10946
  /* harmony import */ var _locale_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(42);
@@ -10697,11 +10997,11 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
10697
10997
  /**
10698
10998
  * The fetch provider retrieves a JSON file from the given URL and returns a translation object.
10699
10999
  *
10700
- * You can call the method via the monster namespace `new Monster.I18n.Provider()`.
11000
+ * You can create the object via the monster namespace `new Monster.I18n.Provider.Fetch()`.
10701
11001
  *
10702
11002
  * ```
10703
11003
  * <script type="module">
10704
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/providers/fetch.js';
11004
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/providers/fetch.js';
10705
11005
  * console.log(new Monster.I18n.Providers.Fetch())
10706
11006
  * </script>
10707
11007
  * ```
@@ -10710,14 +11010,14 @@ var optionsSymbol = Symbol.for(_constants_js__WEBPACK_IMPORTED_MODULE_0__.PROPER
10710
11010
  *
10711
11011
  * ```
10712
11012
  * <script type="module">
10713
- * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/i18n/providers/fetch.js';
11013
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/i18n/providers/fetch.js';
10714
11014
  * console.log(new Fetch())
10715
11015
  * </script>
10716
11016
  * ```
10717
11017
  *
10718
11018
  * @since 1.13.0
10719
11019
  * @copyright schukai GmbH
10720
- * @memberOf Monster/I18n/Providers
11020
+ * @memberOf Monster.I18n.Providers
10721
11021
  * @see https://datatracker.ietf.org/doc/html/rfc3066
10722
11022
  */
10723
11023
 
@@ -10730,7 +11030,7 @@ var Fetch = /*#__PURE__*/function (_Provider) {
10730
11030
  * As options the key `fetch` can be passed. This config object is passed to the fetch method as init.
10731
11031
  *
10732
11032
  * @param {string|URL} url
10733
- * @param {object} options
11033
+ * @param {Object} options see {@link Monster.I18n.Providers.Fetch#defaults}
10734
11034
  * @see https://developer.mozilla.org/en-US/docs/Web/API/fetch
10735
11035
  */
10736
11036
  function Fetch(url, options) {
@@ -10749,13 +11049,30 @@ var Fetch = /*#__PURE__*/function (_Provider) {
10749
11049
  }
10750
11050
 
10751
11051
  (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateString)(url);
11052
+ /**
11053
+ * @property {string}
11054
+ */
11055
+
10752
11056
  _this.url = url;
11057
+ /**
11058
+ * @private
11059
+ * @property {Object} options
11060
+ */
11061
+
10753
11062
  _this[optionsSymbol] = (0,_data_extend_js__WEBPACK_IMPORTED_MODULE_1__.extend)({}, _get((_thisSuper = _assertThisInitialized(_this), _getPrototypeOf(Fetch.prototype)), "defaults", _thisSuper), _this.defaults, (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_6__.validateObject)(options));
10754
11063
  return _this;
10755
11064
  }
10756
11065
  /**
10757
11066
  * Defaults
10758
- * @return {object}
11067
+ *
11068
+ * @property {Object} fetch
11069
+ * @property {String} fetch.method=GET
11070
+ * @property {String} fetch.mode=cors
11071
+ * @property {String} fetch.cache=no-cache
11072
+ * @property {String} fetch.credentials=omit
11073
+ * @property {String} fetch.redirect=follow
11074
+ * @property {String} fetch.referrerPolicy=no-referrer
11075
+ *
10759
11076
  * @see https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
10760
11077
  */
10761
11078
 
@@ -10817,7 +11134,7 @@ __webpack_require__.r(__webpack_exports__);
10817
11134
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
10818
11135
  /* harmony export */ "Formatter": function() { return /* binding */ Formatter; }
10819
11136
  /* harmony export */ });
10820
- /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
11137
+ /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22);
10821
11138
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
10822
11139
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4);
10823
11140
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(14);
@@ -10862,7 +11179,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10862
11179
  *
10863
11180
  * ```
10864
11181
  * <script type="module">
10865
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/text/formatter.js';
11182
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/text/formatter.js';
10866
11183
  * console.log(new Monster.Text.Formatter())
10867
11184
  * </script>
10868
11185
  * ```
@@ -10871,7 +11188,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10871
11188
  *
10872
11189
  * ```
10873
11190
  * <script type="module">
10874
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/text/formatter.js';
11191
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/text/formatter.js';
10875
11192
  * console.log(new Formatter())
10876
11193
  * </script>
10877
11194
  * ```
@@ -10891,7 +11208,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10891
11208
  *
10892
11209
  * @since 1.12.0
10893
11210
  * @copyright schukai GmbH
10894
- * @memberOf Monster/Text
11211
+ * @memberOf Monster.Text
10895
11212
  */
10896
11213
 
10897
11214
  var Formatter = /*#__PURE__*/function (_Base) {
@@ -11054,7 +11371,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11054
11371
  *
11055
11372
  * ```
11056
11373
  * <script type="module">
11057
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/handler.js';
11374
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler.js';
11058
11375
  * console.log(new Monster.Logging.Handler())
11059
11376
  * </script>
11060
11377
  * ```
@@ -11063,14 +11380,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11063
11380
  *
11064
11381
  * ```
11065
11382
  * <script type="module">
11066
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/handler.js';
11383
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler.js';
11067
11384
  * console.log(new Handler())
11068
11385
  * </script>
11069
11386
  * ```
11070
11387
  *
11071
11388
  * @since 1.5.0
11072
11389
  * @copyright schukai GmbH
11073
- * @memberOf Monster/Logging
11390
+ * @memberOf Monster.Logging
11074
11391
  */
11075
11392
 
11076
11393
  var Handler = /*#__PURE__*/function (_Base) {
@@ -11094,7 +11411,7 @@ var Handler = /*#__PURE__*/function (_Base) {
11094
11411
  return _this;
11095
11412
  }
11096
11413
  /**
11097
- * this is the central log function. this method must be
11414
+ * This is the central log function. this method must be
11098
11415
  * overwritten by derived handlers with their own logic.
11099
11416
  *
11100
11417
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;
@@ -11301,7 +11618,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11301
11618
  *
11302
11619
  * ```
11303
11620
  * <script type="module">
11304
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/logentry.js';
11621
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logentry.js';
11305
11622
  * console.log(new Monster.Logging.LogEntry())
11306
11623
  * </script>
11307
11624
  * ```
@@ -11310,14 +11627,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11310
11627
  *
11311
11628
  * ```
11312
11629
  * <script type="module">
11313
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/logentry.js';
11630
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logentry.js';
11314
11631
  * console.log(new LogEntry())
11315
11632
  * </script>
11316
11633
  * ```
11317
11634
  *
11318
11635
  * @since 1.5.0
11319
11636
  * @copyright schukai GmbH
11320
- * @memberOf Monster/Logging
11637
+ * @memberOf Monster.Logging
11321
11638
  */
11322
11639
 
11323
11640
  var LogEntry = /*#__PURE__*/function (_Base) {
@@ -11327,8 +11644,8 @@ var LogEntry = /*#__PURE__*/function (_Base) {
11327
11644
 
11328
11645
  /**
11329
11646
  *
11330
- * @param {int} loglevel
11331
- * @param {*} args
11647
+ * @param {Integer} loglevel
11648
+ * @param {...*} args
11332
11649
  */
11333
11650
  function LogEntry(loglevel) {
11334
11651
  var _this;
@@ -11438,81 +11755,81 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11438
11755
  /**
11439
11756
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11440
11757
  * @type {number}
11441
- * @memberOf Monster/Logging
11758
+ * @memberOf Monster.Logging
11442
11759
  */
11443
11760
 
11444
11761
  var ALL = 255;
11445
11762
  /**
11446
11763
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11447
11764
  * @type {number}
11448
- * @memberOf Monster/Logging
11765
+ * @memberOf Monster.Logging
11449
11766
  */
11450
11767
 
11451
11768
  var TRACE = 64;
11452
11769
  /**
11453
11770
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11454
11771
  * @type {number}
11455
- * @memberOf Monster/Logging
11772
+ * @memberOf Monster.Logging
11456
11773
  */
11457
11774
 
11458
11775
  var DEBUG = 32;
11459
11776
  /**
11460
11777
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11461
11778
  * @type {number}
11462
- * @memberOf Monster/Logging
11779
+ * @memberOf Monster.Logging
11463
11780
  */
11464
11781
 
11465
11782
  var INFO = 16;
11466
11783
  /**
11467
11784
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11468
11785
  * @type {number}
11469
- * @memberOf Monster/Logging
11786
+ * @memberOf Monster.Logging
11470
11787
  */
11471
11788
 
11472
11789
  var WARN = 8;
11473
11790
  /**
11474
11791
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11475
11792
  * @type {number}
11476
- * @memberOf Monster/Logging
11793
+ * @memberOf Monster.Logging
11477
11794
  */
11478
11795
 
11479
11796
  var ERROR = 4;
11480
11797
  /**
11481
11798
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11482
11799
  * @type {number}
11483
- * @memberOf Monster/Logging
11800
+ * @memberOf Monster.Logging
11484
11801
  */
11485
11802
 
11486
11803
  var FATAL = 2;
11487
11804
  /**
11488
11805
  * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF
11489
11806
  * @type {number}
11490
- * @memberOf Monster/Logging
11807
+ * @memberOf Monster.Logging
11491
11808
  */
11492
11809
 
11493
11810
  var OFF = 0;
11494
11811
  /**
11495
- * you can call the method via the monster namespace `new Monster.Logging.Logger()`.
11812
+ * You can create an object of the class simply by using the namespace `new Monster.Logging.Logger()`.
11496
11813
  *
11497
11814
  * ```
11498
11815
  * <script type="module">
11499
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/logger.js';
11816
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logger.js';
11500
11817
  * console.log(new Monster.Logging.Logger())
11501
11818
  * </script>
11502
11819
  * ```
11503
11820
  *
11504
- * Alternatively, you can also integrate this function individually.
11821
+ * Alternatively, you can also integrate this class individually.
11505
11822
  *
11506
11823
  * ```
11507
11824
  * <script type="module">
11508
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/logger.js';
11825
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/logger.js';
11509
11826
  * console.log(new Logger())
11510
11827
  * </script>
11511
11828
  * ```
11512
11829
  *
11513
11830
  * @since 1.5.0
11514
11831
  * @copyright schukai GmbH
11515
- * @memberOf Monster/Logging
11832
+ * @memberOf Monster.Logging
11516
11833
  */
11517
11834
 
11518
11835
  var Logger = /*#__PURE__*/function (_Base) {
@@ -11756,13 +12073,14 @@ function triggerLog(loglevel) {
11756
12073
 
11757
12074
  __webpack_require__.r(__webpack_exports__);
11758
12075
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11759
- /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_2__.Monster; },
11760
- /* harmony export */ "Handler": function() { return /* reexport safe */ _logging_handler_js__WEBPACK_IMPORTED_MODULE_0__.Handler; }
12076
+ /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
12077
+ /* harmony export */ "ConsoleHandler": function() { return /* binding */ ConsoleHandler; }
11761
12078
  /* harmony export */ });
11762
- /* harmony import */ var _logging_handler_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(48);
12079
+ /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
11763
12080
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
11764
- /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(52);
11765
- /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_namespace_js__WEBPACK_IMPORTED_MODULE_2__);
12081
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
12082
+ /* harmony import */ var _handler_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(48);
12083
+ /* harmony import */ var _logentry_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(49);
11766
12084
 
11767
12085
  /**
11768
12086
  * @author schukai GmbH
@@ -11772,6 +12090,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
11772
12090
 
11773
12091
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11774
12092
 
12093
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
12094
+
12095
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
12096
+
12097
+ function _get(target, property, receiver) { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get; } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(receiver); } return desc.value; }; } return _get(target, property, receiver || target); }
12098
+
12099
+ function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
12100
+
11775
12101
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
11776
12102
 
11777
12103
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
@@ -11789,32 +12115,34 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
11789
12115
 
11790
12116
 
11791
12117
 
12118
+
12119
+
11792
12120
  /**
11793
- * you can call the method via the monster namespace `new Monster.Logging.Handler.ConsoleHandler()`.
12121
+ * You can create an object of the class simply by using the namespace `new Monster.Logging.Handler.ConsoleHandler()`.
11794
12122
  *
11795
12123
  * ```
11796
12124
  * <script type="module">
11797
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/handler/console.js';
12125
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler/console.js';
11798
12126
  * console.log(new Monster.Logging.Handler.ConsoleHandler())
11799
12127
  * </script>
11800
12128
  * ```
11801
12129
  *
11802
- * Alternatively, you can also integrate this function individually.
12130
+ * Alternatively, you can also integrate this class individually.
11803
12131
  *
11804
12132
  * ```
11805
12133
  * <script type="module">
11806
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/logging/handler/console.js';
12134
+ * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/logging/handler/console.js';
11807
12135
  * console.log(new ConsoleHandler())
11808
12136
  * </script>
11809
12137
  * ```
11810
12138
  *
11811
12139
  * @since 1.5.0
11812
12140
  * @copyright schukai GmbH
11813
- * @memberOf Monster/Logging/Handler
12141
+ * @memberOf Monster.Logging.Handler
11814
12142
  */
11815
12143
 
11816
- var ConsoleHandler = /*#__PURE__*/function (_Base) {
11817
- _inherits(ConsoleHandler, _Base);
12144
+ var ConsoleHandler = /*#__PURE__*/function (_Handler) {
12145
+ _inherits(ConsoleHandler, _Handler);
11818
12146
 
11819
12147
  var _super = _createSuper(ConsoleHandler);
11820
12148
 
@@ -11823,34 +12151,39 @@ var ConsoleHandler = /*#__PURE__*/function (_Base) {
11823
12151
 
11824
12152
  return _super.call(this);
11825
12153
  }
11826
-
11827
- return ConsoleHandler;
11828
- }(_types_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
11829
-
11830
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_2__.assignToNamespace)('Monster.Logging', ConsoleHandler);
12154
+ /**
12155
+ * This is the central log function. this method must be
12156
+ * overwritten by derived handlers with their own logic.
12157
+ *
12158
+ * ALL > TRACE > DEBUG > INFO > WARN > ERROR > FATAL > OFF (ALL = 0xff;OFF = 0x00;
12159
+ *
12160
+ * @param {LogEntry} entry
12161
+ * @returns {boolean}
12162
+ */
11831
12163
 
11832
12164
 
11833
- /***/ }),
11834
- /* 52 */
11835
- /***/ (function() {
12165
+ _createClass(ConsoleHandler, [{
12166
+ key: "log",
12167
+ value: function log(entry) {
12168
+ if (_get(_getPrototypeOf(ConsoleHandler.prototype), "log", this).call(this, entry)) {
12169
+ var console = (0,_types_global_js__WEBPACK_IMPORTED_MODULE_2__.getGlobalObject)('console');
12170
+ if (!console) return false;
12171
+ console.log(entry.toString());
12172
+ return true;
12173
+ }
11836
12174
 
12175
+ return false;
12176
+ }
12177
+ }]);
11837
12178
 
11838
- /**
11839
- * Namespace for logging.
11840
- *
11841
- * @namespace Monster/Logging
11842
- * @author schukai GmbH
11843
- */
12179
+ return ConsoleHandler;
12180
+ }(_handler_js__WEBPACK_IMPORTED_MODULE_3__.Handler);
11844
12181
 
11845
- /**
11846
- * @private
11847
- * @type {string}
11848
- */
12182
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Logging.Handler', ConsoleHandler);
11849
12183
 
11850
- var namespace = "Monster.Logging";
11851
12184
 
11852
12185
  /***/ }),
11853
- /* 53 */
12186
+ /* 52 */
11854
12187
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
11855
12188
 
11856
12189
  __webpack_require__.r(__webpack_exports__);
@@ -11859,7 +12192,7 @@ __webpack_require__.r(__webpack_exports__);
11859
12192
  /* harmony export */ "random": function() { return /* binding */ random; }
11860
12193
  /* harmony export */ });
11861
12194
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
11862
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22);
12195
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16);
11863
12196
 
11864
12197
  /**
11865
12198
  * @author schukai GmbH
@@ -11874,7 +12207,7 @@ __webpack_require__.r(__webpack_exports__);
11874
12207
  *
11875
12208
  * ```
11876
12209
  * <script type="module">
11877
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/math/random.js';
12210
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/math/random.js';
11878
12211
  * console.log(Monster.Math.random(1,10)) // ↦ 5
11879
12212
  * </script>
11880
12213
  * ```
@@ -11883,7 +12216,7 @@ __webpack_require__.r(__webpack_exports__);
11883
12216
  *
11884
12217
  * ```
11885
12218
  * <script type="module">
11886
- * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/math/random.js';
12219
+ * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/math/random.js';
11887
12220
  * console.log(random(1,10)) // ↦ 5
11888
12221
  * </script>
11889
12222
  * ```
@@ -11891,7 +12224,7 @@ __webpack_require__.r(__webpack_exports__);
11891
12224
  * @param {number} min starting value of the definition set (default is 0)
11892
12225
  * @param {number} max end value of the definition set (default is 1000000000)
11893
12226
  * @returns {number}
11894
- * @memberOf Monster/Math
12227
+ * @memberOf Monster.Math
11895
12228
  * @throws {Error} missing crypt
11896
12229
  * @throws {Error} we cannot generate numbers larger than 53 bits.
11897
12230
  * @throws {Error} the distance is too small to create a random number.
@@ -11984,7 +12317,7 @@ function create(min, max) {
11984
12317
 
11985
12318
 
11986
12319
  /***/ }),
11987
- /* 54 */
12320
+ /* 53 */
11988
12321
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
11989
12322
 
11990
12323
  __webpack_require__.r(__webpack_exports__);
@@ -11992,10 +12325,10 @@ __webpack_require__.r(__webpack_exports__);
11992
12325
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_1__.Monster; },
11993
12326
  /* harmony export */ "RandomID": function() { return /* binding */ RandomID; }
11994
12327
  /* harmony export */ });
11995
- /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(53);
12328
+ /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(52);
11996
12329
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2);
11997
- /* harmony import */ var _global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
11998
- /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23);
12330
+ /* harmony import */ var _global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
12331
+ /* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24);
11999
12332
 
12000
12333
 
12001
12334
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
@@ -12035,7 +12368,7 @@ var internalCounter = 0;
12035
12368
  *
12036
12369
  * ```
12037
12370
  * <script type="module">
12038
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/randomid.js';
12371
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/randomid.js';
12039
12372
  * console.log(new Monster.Types.RandomID())
12040
12373
  * </script>
12041
12374
  * ```
@@ -12044,14 +12377,14 @@ var internalCounter = 0;
12044
12377
  *
12045
12378
  * ```
12046
12379
  * <script type="module">
12047
- * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/randomid.js';
12380
+ * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/randomid.js';
12048
12381
  * console.log(new RandomID())
12049
12382
  * </script>
12050
12383
  * ```
12051
12384
  *
12052
12385
  * @since 1.6.0
12053
12386
  * @copyright schukai GmbH
12054
- * @memberOf Monster/Types
12387
+ * @memberOf Monster.Types
12055
12388
  */
12056
12389
 
12057
12390
  var RandomID = /*#__PURE__*/function (_ID) {
@@ -12082,7 +12415,7 @@ var RandomID = /*#__PURE__*/function (_ID) {
12082
12415
 
12083
12416
 
12084
12417
  /***/ }),
12085
- /* 55 */
12418
+ /* 54 */
12086
12419
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12087
12420
 
12088
12421
  __webpack_require__.r(__webpack_exports__);
@@ -12126,7 +12459,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12126
12459
  *
12127
12460
  * ```
12128
12461
  * <script type="module">
12129
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/version.js';
12462
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
12130
12463
  * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
12131
12464
  * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
12132
12465
  * </script>
@@ -12136,7 +12469,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12136
12469
  *
12137
12470
  * ```
12138
12471
  * <script type="module">
12139
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/version.js';
12472
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
12140
12473
  * console.log(new Version('1.2.3')) // ↦ 1.2.3
12141
12474
  * console.log(new Version('1')) // ↦ 1.0.0
12142
12475
  * </script>
@@ -12144,7 +12477,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12144
12477
  *
12145
12478
  * @example
12146
12479
  *
12147
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/version.js';
12480
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
12148
12481
  *
12149
12482
  * new Version('1.0.0') // ↦ 1.0.0
12150
12483
  * new Version(1) // ↦ 1.0.0
@@ -12154,7 +12487,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12154
12487
  * @since 1.0.0
12155
12488
  * @author schukai GmbH
12156
12489
  * @copyright schukai GmbH
12157
- * @memberOf Monster/Types
12490
+ * @memberOf Monster.Types
12158
12491
  */
12159
12492
 
12160
12493
  var Version = /*#__PURE__*/function (_Base) {
@@ -12277,7 +12610,7 @@ var monsterVersion;
12277
12610
  *
12278
12611
  * ```
12279
12612
  * <script type="module">
12280
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/version.js';
12613
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
12281
12614
  * console.log(Monster.getVersion())
12282
12615
  * </script>
12283
12616
  * ```
@@ -12286,7 +12619,7 @@ var monsterVersion;
12286
12619
  *
12287
12620
  * ```
12288
12621
  * <script type="module">
12289
- * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/types/version.js';
12622
+ * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/types/version.js';
12290
12623
  * console.log(getVersion())
12291
12624
  * </script>
12292
12625
  * ```
@@ -12305,7 +12638,7 @@ function getVersion() {
12305
12638
  /**#@+ dont touch, replaced by make with package.json version */
12306
12639
 
12307
12640
 
12308
- monsterVersion = new Version('1.15.5');
12641
+ monsterVersion = new Version('1.17.1');
12309
12642
  /**#@-*/
12310
12643
 
12311
12644
  return monsterVersion;
@@ -12315,7 +12648,7 @@ function getVersion() {
12315
12648
 
12316
12649
 
12317
12650
  /***/ }),
12318
- /* 56 */
12651
+ /* 55 */
12319
12652
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12320
12653
 
12321
12654
  __webpack_require__.r(__webpack_exports__);
@@ -12361,7 +12694,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12361
12694
  *
12362
12695
  * ```
12363
12696
  * <script type="module">
12364
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/util/comparator.js';
12697
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/comparator.js';
12365
12698
  * console.log(new Monster.Util.Comparator())
12366
12699
  * </script>
12367
12700
  * ```
@@ -12370,7 +12703,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12370
12703
  *
12371
12704
  * ```
12372
12705
  * <script type="module">
12373
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/util/comparator.js';
12706
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/comparator.js';
12374
12707
  * console.log(new Comparator())
12375
12708
  * </script>
12376
12709
  * ```
@@ -12395,7 +12728,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12395
12728
  *
12396
12729
  * @example
12397
12730
  *
12398
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/util/comparator.js';
12731
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/comparator.js';
12399
12732
  *
12400
12733
  * console.log(new Comparator().lessThanOrEqual(2, 5))
12401
12734
  * // ↦ true
@@ -12407,7 +12740,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12407
12740
  * // ↦ false
12408
12741
  *
12409
12742
  * @since 1.3.0
12410
- * @memberOf Monster/Util
12743
+ * @memberOf Monster.Util
12411
12744
  */
12412
12745
 
12413
12746
  var Comparator = /*#__PURE__*/function (_Base) {
@@ -12418,9 +12751,9 @@ var Comparator = /*#__PURE__*/function (_Base) {
12418
12751
  /**
12419
12752
  * create new comparator
12420
12753
  *
12421
- * @param {function} callback
12422
- * @throw {TypeError} "unsupported type"
12423
- * @throw {TypeError} "impractical comparison"
12754
+ * @param {Monster.Util~exampleCallback} [callback] Comparator callback
12755
+ * @throw {TypeError} unsupported type
12756
+ * @throw {TypeError} impractical comparison
12424
12757
  */
12425
12758
  function Comparator(callback) {
12426
12759
  var _this;
@@ -12435,6 +12768,13 @@ var Comparator = /*#__PURE__*/function (_Base) {
12435
12768
  throw new TypeError("unsupported type");
12436
12769
  } else {
12437
12770
  // default compare function
12771
+
12772
+ /**
12773
+ *
12774
+ * @param {*} a
12775
+ * @param {*} b
12776
+ * @return {integer} -1, 0 or 1
12777
+ */
12438
12778
  _this.compare = function (a, b) {
12439
12779
  if (_typeof(a) !== _typeof(b)) {
12440
12780
  throw new TypeError("impractical comparison");
@@ -12542,12 +12882,34 @@ var Comparator = /*#__PURE__*/function (_Base) {
12542
12882
 
12543
12883
  return Comparator;
12544
12884
  }(_types_base_js__WEBPACK_IMPORTED_MODULE_1__.Base);
12885
+ /**
12886
+ * This is the description for the callback function used by the operator
12887
+ *
12888
+ * ```
12889
+ * new Comparator(function (a, b) {
12890
+ * if (a.v === b.v) return 0;
12891
+ * return a.v < b.v ? -1 : 1;
12892
+ * }).equal({v: 2}, {v: 2}); // ↦ true
12893
+ * ```
12894
+ *
12895
+ * @callback Monster.Util~exampleCallback
12896
+ * @param {*} a
12897
+ * @param {*} b
12898
+ * @return {integer} -1, 0 or 1
12899
+ * @memberOf Monster.Util
12900
+ * @see Monster.Util.Comparator
12901
+ */
12902
+
12903
+ /**
12904
+ *
12905
+ */
12906
+
12545
12907
 
12546
12908
  (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.Util', Comparator);
12547
12909
 
12548
12910
 
12549
12911
  /***/ }),
12550
- /* 57 */
12912
+ /* 56 */
12551
12913
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
12552
12914
 
12553
12915
  __webpack_require__.r(__webpack_exports__);
@@ -12579,7 +12941,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
12579
12941
  *
12580
12942
  * ```
12581
12943
  * <script type="module">
12582
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/util/freeze.js';
12944
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/freeze.js';
12583
12945
  * console.log(Monster.Util.deepFreeze({}))
12584
12946
  * </script>
12585
12947
  * ```
@@ -12588,15 +12950,15 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
12588
12950
  *
12589
12951
  * ```
12590
12952
  * <script type="module">
12591
- * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.15.5/dist/modules/util/freeze.js';
12953
+ * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.17.1/dist/modules/util/freeze.js';
12592
12954
  * console.log(deepFreeze({}))
12593
12955
  * </script>
12594
12956
  * ```
12595
12957
  *
12596
- * @param {object} obj object to be freeze
12958
+ * @param {object} object object to be freeze
12597
12959
  * @since 1.0.0
12598
12960
  * @returns {object}
12599
- * @memberOf Monster/Util
12961
+ * @memberOf Monster.Util
12600
12962
  * @copyright schukai GmbH
12601
12963
  * @throws {TypeError} value is not a object
12602
12964
  */
@@ -12655,18 +13017,6 @@ function deepFreeze(object) {
12655
13017
  /******/ }
12656
13018
  /******/
12657
13019
  /************************************************************************/
12658
- /******/ /* webpack/runtime/compat get default export */
12659
- /******/ !function() {
12660
- /******/ // getDefaultExport function for compatibility with non-harmony modules
12661
- /******/ __webpack_require__.n = function(module) {
12662
- /******/ var getter = module && module.__esModule ?
12663
- /******/ function() { return module['default']; } :
12664
- /******/ function() { return module; };
12665
- /******/ __webpack_require__.d(getter, { a: getter });
12666
- /******/ return getter;
12667
- /******/ };
12668
- /******/ }();
12669
- /******/
12670
13020
  /******/ /* webpack/runtime/define property getters */
12671
13021
  /******/ !function() {
12672
13022
  /******/ // define getter functions for harmony exports
@@ -12713,11 +13063,11 @@ __webpack_require__.r(__webpack_exports__);
12713
13063
  /* harmony import */ var _constraints_oroperator_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(11);
12714
13064
  /* harmony import */ var _constraints_valid_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(12);
12715
13065
  /* harmony import */ var _data_buildmap_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(13);
12716
- /* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(17);
12717
- /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(18);
12718
- /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(15);
12719
- /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(20);
12720
- /* harmony import */ var _data_transformer_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(21);
13066
+ /* harmony import */ var _data_diff_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(19);
13067
+ /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(21);
13068
+ /* harmony import */ var _data_pathfinder_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(17);
13069
+ /* harmony import */ var _data_pipe_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(22);
13070
+ /* harmony import */ var _data_transformer_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(23);
12721
13071
  /* harmony import */ var _dom_assembler_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(25);
12722
13072
  /* harmony import */ var _dom_attributes_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(32);
12723
13073
  /* harmony import */ var _dom_constants_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(33);
@@ -12737,28 +13087,28 @@ __webpack_require__.r(__webpack_exports__);
12737
13087
  /* harmony import */ var _logging_handler_console_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(51);
12738
13088
  /* harmony import */ var _logging_logentry_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(49);
12739
13089
  /* harmony import */ var _logging_logger_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(50);
12740
- /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(53);
13090
+ /* harmony import */ var _math_random_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(52);
12741
13091
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(2);
12742
13092
  /* harmony import */ var _text_formatter_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(47);
12743
13093
  /* harmony import */ var _types_base_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(4);
12744
13094
  /* harmony import */ var _types_basewithoptions_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(44);
12745
- /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(22);
12746
- /* harmony import */ var _types_id_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(23);
13095
+ /* harmony import */ var _types_global_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(16);
13096
+ /* harmony import */ var _types_id_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(24);
12747
13097
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(9);
12748
13098
  /* harmony import */ var _types_observer_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(27);
12749
13099
  /* harmony import */ var _types_observerlist_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(31);
12750
13100
  /* harmony import */ var _types_proxyobserver_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(26);
12751
13101
  /* harmony import */ var _types_queue_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(30);
12752
- /* harmony import */ var _types_randomid_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(54);
12753
- /* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(16);
13102
+ /* harmony import */ var _types_randomid_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(53);
13103
+ /* harmony import */ var _types_stack_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(18);
12754
13104
  /* harmony import */ var _types_tokenlist_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(28);
12755
- /* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(19);
13105
+ /* harmony import */ var _types_typeof_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(20);
12756
13106
  /* harmony import */ var _types_uniquequeue_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(29);
12757
13107
  /* harmony import */ var _types_validate_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(14);
12758
- /* harmony import */ var _types_version_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(55);
12759
- /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(24);
12760
- /* harmony import */ var _util_comparator_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(56);
12761
- /* harmony import */ var _util_freeze_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(57);
13108
+ /* harmony import */ var _types_version_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(54);
13109
+ /* harmony import */ var _util_clone_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(15);
13110
+ /* harmony import */ var _util_comparator_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(55);
13111
+ /* harmony import */ var _util_freeze_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(56);
12762
13112
  /**
12763
13113
  * @license
12764
13114
  * Copyright 2021 schukai GmbH