@schukai/monster 1.27.0 → 1.29.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (196) hide show
  1. package/CHANGELOG +32 -1
  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 +1 -1
  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/buildtree.js +2 -2
  15. package/dist/modules/data/datasource/namespace.js +1 -1
  16. package/dist/modules/data/datasource/restapi/writeerror.js +1 -1
  17. package/dist/modules/data/datasource/restapi.js +1 -1
  18. package/dist/modules/data/datasource/storage/localstorage.js +1 -1
  19. package/dist/modules/data/datasource/storage/namespace.js +1 -1
  20. package/dist/modules/data/datasource/storage/sessionstorage.js +1 -1
  21. package/dist/modules/data/datasource/storage.js +1 -1
  22. package/dist/modules/data/datasource.js +1 -1
  23. package/dist/modules/data/diff.js +1 -1
  24. package/dist/modules/data/extend.js +1 -1
  25. package/dist/modules/data/namespace.js +1 -1
  26. package/dist/modules/data/pathfinder.js +1 -1
  27. package/dist/modules/data/pipe.js +1 -1
  28. package/dist/modules/data/transformer.js +1 -1
  29. package/dist/modules/dom/assembler.js +1 -1
  30. package/dist/modules/dom/attributes.js +1 -1
  31. package/dist/modules/dom/constants.js +2 -2
  32. package/dist/modules/dom/customcontrol.js +1 -1
  33. package/dist/modules/dom/customelement.js +2 -2
  34. package/dist/modules/dom/events.js +2 -2
  35. package/dist/modules/dom/focusmanager.js +1 -1
  36. package/dist/modules/dom/locale.js +1 -1
  37. package/dist/modules/dom/namespace.js +1 -1
  38. package/dist/modules/dom/resource/data.js +1 -1
  39. package/dist/modules/dom/resource/link/stylesheet.js +1 -1
  40. package/dist/modules/dom/resource/link.js +1 -1
  41. package/dist/modules/dom/resource/script.js +1 -1
  42. package/dist/modules/dom/resource.js +1 -1
  43. package/dist/modules/dom/resourcemanager.js +1 -1
  44. package/dist/modules/dom/template.js +1 -1
  45. package/dist/modules/dom/theme.js +1 -1
  46. package/dist/modules/dom/updater.js +2 -2
  47. package/dist/modules/dom/util.js +1 -1
  48. package/dist/modules/dom/worker/factory.js +1 -1
  49. package/dist/modules/i18n/formatter.js +1 -1
  50. package/dist/modules/i18n/locale.js +1 -1
  51. package/dist/modules/i18n/namespace.js +1 -1
  52. package/dist/modules/i18n/provider.js +1 -1
  53. package/dist/modules/i18n/providers/fetch.js +1 -1
  54. package/dist/modules/i18n/providers/namespace.js +1 -1
  55. package/dist/modules/i18n/translations.js +1 -1
  56. package/dist/modules/logging/handler/console.js +1 -1
  57. package/dist/modules/logging/handler/namespace.js +1 -1
  58. package/dist/modules/logging/handler.js +1 -1
  59. package/dist/modules/logging/logentry.js +1 -1
  60. package/dist/modules/logging/logger.js +1 -1
  61. package/dist/modules/logging/namespace.js +1 -1
  62. package/dist/modules/math/namespace.js +1 -1
  63. package/dist/modules/math/random.js +1 -1
  64. package/dist/modules/monster.js +1 -1
  65. package/dist/modules/namespace.js +1 -1
  66. package/dist/modules/text/formatter.js +1 -1
  67. package/dist/modules/text/namespace.js +1 -1
  68. package/dist/modules/types/base.js +1 -1
  69. package/dist/modules/types/basewithoptions.js +1 -1
  70. package/dist/modules/types/binary.js +1 -1
  71. package/dist/modules/types/dataurl.js +1 -1
  72. package/dist/modules/types/global.js +1 -1
  73. package/dist/modules/types/id.js +1 -1
  74. package/dist/modules/types/is.js +1 -1
  75. package/dist/modules/types/mediatype.js +1 -1
  76. package/dist/modules/types/namespace.js +1 -1
  77. package/dist/modules/types/node.js +2 -2
  78. package/dist/modules/types/nodelist.js +2 -2
  79. package/dist/modules/types/noderecursiveiterator.js +2 -2
  80. package/dist/modules/types/observer.js +1 -1
  81. package/dist/modules/types/observerlist.js +1 -1
  82. package/dist/modules/types/proxyobserver.js +1 -1
  83. package/dist/modules/types/queue.js +1 -1
  84. package/dist/modules/types/randomid.js +1 -1
  85. package/dist/modules/types/regex.js +1 -1
  86. package/dist/modules/types/stack.js +1 -1
  87. package/dist/modules/types/tokenlist.js +1 -1
  88. package/dist/modules/types/typeof.js +1 -1
  89. package/dist/modules/types/uniquequeue.js +1 -1
  90. package/dist/modules/types/uuid.js +1 -1
  91. package/dist/modules/types/validate.js +1 -1
  92. package/dist/modules/types/version.js +2 -2
  93. package/dist/modules/util/clone.js +1 -1
  94. package/dist/modules/util/comparator.js +1 -1
  95. package/dist/modules/util/deadmansswitch.js +2 -0
  96. package/dist/modules/util/freeze.js +1 -1
  97. package/dist/modules/util/namespace.js +1 -1
  98. package/dist/modules/util/processing.js +1 -1
  99. package/dist/modules/util/trimspaces.js +1 -1
  100. package/dist/monster.dev.js +498 -322
  101. package/dist/monster.dev.js.map +1 -1
  102. package/dist/monster.js +2 -2
  103. package/package.json +1 -1
  104. package/source/constraints/andoperator.js +5 -5
  105. package/source/constraints/invalid.js +3 -3
  106. package/source/constraints/isarray.js +3 -3
  107. package/source/constraints/isobject.js +3 -3
  108. package/source/constraints/oroperator.js +5 -5
  109. package/source/constraints/valid.js +3 -3
  110. package/source/data/buildmap.js +10 -11
  111. package/source/data/buildtree.js +51 -17
  112. package/source/data/datasource/restapi.js +3 -3
  113. package/source/data/datasource/storage/localstorage.js +2 -2
  114. package/source/data/datasource/storage/sessionstorage.js +2 -2
  115. package/source/data/datasource/storage.js +3 -3
  116. package/source/data/datasource.js +3 -3
  117. package/source/data/diff.js +3 -3
  118. package/source/data/extend.js +2 -2
  119. package/source/data/pathfinder.js +4 -4
  120. package/source/data/pipe.js +3 -3
  121. package/source/data/transformer.js +3 -3
  122. package/source/dom/assembler.js +2 -2
  123. package/source/dom/attributes.js +26 -26
  124. package/source/dom/constants.js +9 -1
  125. package/source/dom/customcontrol.js +1 -1
  126. package/source/dom/customelement.js +27 -13
  127. package/source/dom/events.js +66 -9
  128. package/source/dom/focusmanager.js +2 -2
  129. package/source/dom/locale.js +2 -2
  130. package/source/dom/resource/data.js +2 -2
  131. package/source/dom/resource/link/stylesheet.js +2 -2
  132. package/source/dom/resource/link.js +2 -2
  133. package/source/dom/resource/script.js +2 -2
  134. package/source/dom/resource.js +2 -2
  135. package/source/dom/resourcemanager.js +2 -2
  136. package/source/dom/template.js +5 -5
  137. package/source/dom/theme.js +3 -3
  138. package/source/dom/updater.js +67 -24
  139. package/source/dom/util.js +6 -6
  140. package/source/dom/worker/factory.js +2 -2
  141. package/source/i18n/formatter.js +4 -4
  142. package/source/i18n/locale.js +4 -4
  143. package/source/i18n/provider.js +2 -2
  144. package/source/i18n/providers/fetch.js +3 -3
  145. package/source/i18n/translations.js +4 -4
  146. package/source/logging/handler/console.js +2 -2
  147. package/source/logging/handler.js +2 -2
  148. package/source/logging/logentry.js +2 -2
  149. package/source/logging/logger.js +2 -2
  150. package/source/math/random.js +2 -2
  151. package/source/namespace.js +1 -1
  152. package/source/text/formatter.js +3 -3
  153. package/source/types/base.js +2 -2
  154. package/source/types/basewithoptions.js +32 -6
  155. package/source/types/binary.js +4 -4
  156. package/source/types/dataurl.js +4 -4
  157. package/source/types/global.js +4 -4
  158. package/source/types/id.js +2 -2
  159. package/source/types/is.js +20 -20
  160. package/source/types/mediatype.js +4 -4
  161. package/source/types/node.js +33 -2
  162. package/source/types/nodelist.js +9 -5
  163. package/source/types/noderecursiveiterator.js +29 -7
  164. package/source/types/observer.js +5 -13
  165. package/source/types/observerlist.js +2 -2
  166. package/source/types/proxyobserver.js +5 -5
  167. package/source/types/queue.js +3 -3
  168. package/source/types/randomid.js +2 -2
  169. package/source/types/regex.js +2 -2
  170. package/source/types/stack.js +2 -2
  171. package/source/types/tokenlist.js +2 -2
  172. package/source/types/typeof.js +3 -3
  173. package/source/types/uniquequeue.js +2 -2
  174. package/source/types/uuid.js +2 -2
  175. package/source/types/validate.js +20 -20
  176. package/source/types/version.js +6 -6
  177. package/source/util/clone.js +2 -2
  178. package/source/util/comparator.js +3 -3
  179. package/source/util/deadmansswitch.js +124 -0
  180. package/source/util/freeze.js +2 -2
  181. package/source/util/processing.js +3 -3
  182. package/source/util/trimspaces.js +2 -2
  183. package/test/cases/data/buildtree.js +84 -21
  184. package/test/cases/dom/events.js +66 -1
  185. package/test/cases/dom/updater.js +76 -3
  186. package/test/cases/math/random.js +3 -0
  187. package/test/cases/monster.js +1 -1
  188. package/test/cases/types/node.js +57 -1
  189. package/test/cases/types/nodelist.js +7 -0
  190. package/test/cases/types/noderecursiveiterator.js +21 -0
  191. package/test/cases/util/deadmansswitch.js +71 -0
  192. package/test/web/import.js +1 -0
  193. package/test/web/monster-dev.html +3 -3
  194. package/test/web/monster.html +2 -2
  195. package/test/web/test.html +3 -3
  196. package/test/web/tests.js +2 -2
@@ -1,4 +1,4 @@
1
- /** Monster 1.27.0, © 2021 schukai GmbH, Released under the AGPL 3.0 License. */
1
+ /** Monster 1.29.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();
@@ -140,7 +140,7 @@ var Monster = new Namespace("Monster");
140
140
  *
141
141
  * ```
142
142
  * <script type="module">
143
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
143
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
144
144
  * function hello() {
145
145
  * console.log('Hello World!');
146
146
  * }
@@ -387,7 +387,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
387
387
  *
388
388
  * ```
389
389
  * <script type="module">
390
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
390
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
391
391
  * new Monster.Types.Base()
392
392
  * </script>
393
393
  * ```
@@ -396,7 +396,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
396
396
  *
397
397
  * ```
398
398
  * <script type="module">
399
- * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/base.js';
399
+ * import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/base.js';
400
400
  * new Base()
401
401
  * </script>
402
402
  * ```
@@ -568,7 +568,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
568
568
  *
569
569
  * ```
570
570
  * <script type="module">
571
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
571
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
572
572
  * new Monster.Constraint.AndOperator();
573
573
  * </script>
574
574
  * ```
@@ -577,16 +577,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
577
577
  *
578
578
  * ```
579
579
  * <script type="module">
580
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/andoperator.js';
580
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/andoperator.js';
581
581
  * new AndOperator();
582
582
  * </script>
583
583
  * ```
584
584
  *
585
585
  * @example
586
586
  *
587
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/valid.js';
588
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/invalid.js';
589
- * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/andoperator.js';
587
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/valid.js';
588
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/invalid.js';
589
+ * import {AndOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/andoperator.js';
590
590
  *
591
591
  * new AndOperator(
592
592
  * new Valid(), new Valid()).isValid()
@@ -688,7 +688,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
688
688
  *
689
689
  * ```
690
690
  * <script type="module">
691
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
691
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
692
692
  * new Monster.Constraint.Invalid();
693
693
  * </script>
694
694
  * ```
@@ -697,14 +697,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
697
697
  *
698
698
  * ```
699
699
  * <script type="module">
700
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/invalid.js';
700
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/invalid.js';
701
701
  * new Invalid();
702
702
  * </script>
703
703
  * ```
704
704
  *
705
705
  * @example
706
706
  *
707
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/invalid.js';
707
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/invalid.js';
708
708
  *
709
709
  * new Invalid().isValid()
710
710
  * .then(()=>console.log(true))
@@ -799,7 +799,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
799
799
  *
800
800
  * ```
801
801
  * <script type="module">
802
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
802
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
803
803
  * new Monster.Constraint.IsArray()
804
804
  * </script>
805
805
  * ```
@@ -808,14 +808,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
808
808
  *
809
809
  * ```
810
810
  * <script type="module">
811
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/isarray.js';
811
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/isarray.js';
812
812
  * console.log(new IsArray())
813
813
  * </script>
814
814
  * ```
815
815
  *
816
816
  * @example
817
817
  *
818
- * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/isarray.js';
818
+ * import {IsArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/isarray.js';
819
819
  *
820
820
  * new IsArray()
821
821
  * .isValid([])
@@ -904,7 +904,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
904
904
  *
905
905
  * ```
906
906
  * <script type="module">
907
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
907
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
908
908
  * Monster.Types.isIterable(null) // ↦ false
909
909
  * Monster.Types.isIterable('hello') // ↦ true
910
910
  * Monster.Types.isIterable([]) // ↦ true
@@ -915,7 +915,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
915
915
  *
916
916
  * ```
917
917
  * <script type="module">
918
- * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
918
+ * import {isIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
919
919
  * isIterable(null) // ↦ false
920
920
  * isIterable('hello') // ↦ true
921
921
  * isIterable([]) // ↦ true
@@ -943,7 +943,7 @@ function isIterable(value) {
943
943
  *
944
944
  * ```
945
945
  * <script type="module">
946
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
946
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
947
947
  * Monster.Types.isPrimitive('2') // ↦ false
948
948
  * Monster.Types.isPrimitive([]) // ↦ true
949
949
  * </script>
@@ -953,7 +953,7 @@ function isIterable(value) {
953
953
  *
954
954
  * ```
955
955
  * <script type="module">
956
- * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
956
+ * import {isPrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
957
957
  * isPrimitive('2')) // ↦ true
958
958
  * isPrimitive([])) // ↦ false
959
959
  * </script>
@@ -991,7 +991,7 @@ function isPrimitive(value) {
991
991
  *
992
992
  * ```
993
993
  * <script type="module">
994
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
994
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
995
995
  * Monster.Types.isSymbol('2') // ↦ false
996
996
  * Monster.Types.isSymbol(Symbol('test') // ↦ true
997
997
  * </script>
@@ -1001,7 +1001,7 @@ function isPrimitive(value) {
1001
1001
  *
1002
1002
  * ```
1003
1003
  * <script type="module">
1004
- * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1004
+ * import {isSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1005
1005
  * isSymbol(Symbol('a'))) // ↦ true
1006
1006
  * isSymbol([]) // ↦ false
1007
1007
  * </script>
@@ -1027,7 +1027,7 @@ function isSymbol(value) {
1027
1027
  *
1028
1028
  * ```
1029
1029
  * <script type="module">
1030
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1030
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1031
1031
  * Monster.Types.isBoolean('2') // ↦ false
1032
1032
  * Monster.Types.isBoolean([]) // ↦ false
1033
1033
  * Monster.Types.isBoolean(true) // ↦ true
@@ -1038,7 +1038,7 @@ function isSymbol(value) {
1038
1038
  *
1039
1039
  * ```
1040
1040
  * <script type="module">
1041
- * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1041
+ * import {isBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1042
1042
  * isBoolean('2')) // ↦ false
1043
1043
  * isBoolean([])) // ↦ false
1044
1044
  * isBoolean(2>4)) // ↦ true
@@ -1069,7 +1069,7 @@ function isBoolean(value) {
1069
1069
  *
1070
1070
  * ```
1071
1071
  * <script type="module">
1072
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1072
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1073
1073
  * Monster.Types.isString('2') // ↦ true
1074
1074
  * Monster.Types.isString([]) // ↦ false
1075
1075
  * </script>
@@ -1079,7 +1079,7 @@ function isBoolean(value) {
1079
1079
  *
1080
1080
  * ```
1081
1081
  * <script type="module">
1082
- * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1082
+ * import {isString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1083
1083
  * isString('2')) // ↦ true
1084
1084
  * isString([])) // ↦ false
1085
1085
  * </script>
@@ -1109,7 +1109,7 @@ function isString(value) {
1109
1109
  *
1110
1110
  * ```
1111
1111
  * <script type="module">
1112
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1112
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1113
1113
  * Monster.Types.isObject('2') // ↦ false
1114
1114
  * Monster.Types.isObject([]) // ↦ false
1115
1115
  * Monster.Types.isObject({}) // ↦ true
@@ -1120,7 +1120,7 @@ function isString(value) {
1120
1120
  *
1121
1121
  * ```
1122
1122
  * <script type="module">
1123
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1123
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1124
1124
  * isObject('2')) // ↦ false
1125
1125
  * isObject([])) // ↦ false
1126
1126
  * </script>
@@ -1153,7 +1153,7 @@ function isObject(value) {
1153
1153
  *
1154
1154
  * ```
1155
1155
  * <script type="module">
1156
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1156
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1157
1157
  * Monster.Types.isInstance('2') // ↦ false
1158
1158
  * Monster.Types.isInstance([]) // ↦ false
1159
1159
  * Monster.Types.isInstance({}) // ↦ true
@@ -1164,7 +1164,7 @@ function isObject(value) {
1164
1164
  *
1165
1165
  * ```
1166
1166
  * <script type="module">
1167
- * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1167
+ * import {isInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1168
1168
  * isInstance('2')) // ↦ false
1169
1169
  * isInstance([])) // ↦ false
1170
1170
  * </script>
@@ -1194,7 +1194,7 @@ function isInstance(value, instance) {
1194
1194
  *
1195
1195
  * ```
1196
1196
  * <script type="module">
1197
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1197
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1198
1198
  * Monster.Types.isArray('2') // ↦ false
1199
1199
  * Monster.Types.isArray([]) // ↦ true
1200
1200
  * </script>
@@ -1204,7 +1204,7 @@ function isInstance(value, instance) {
1204
1204
  *
1205
1205
  * ```
1206
1206
  * <script type="module">
1207
- * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1207
+ * import {isArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1208
1208
  * isArray('2')) // ↦ false
1209
1209
  * isArray([])) // ↦ true
1210
1210
  * </script>
@@ -1231,7 +1231,7 @@ function isArray(value) {
1231
1231
  *
1232
1232
  * ```
1233
1233
  * <script type="module">
1234
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1234
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1235
1235
  * Monster.Types.isFunction(()=>{}) // ↦ true
1236
1236
  * Monster.Types.isFunction('2') // ↦ false
1237
1237
  * Monster.Types.isFunction([]) // ↦ false
@@ -1242,7 +1242,7 @@ function isArray(value) {
1242
1242
  *
1243
1243
  * ```
1244
1244
  * <script type="module">
1245
- * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1245
+ * import {isFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1246
1246
  * isFunction(()=>{}) // ↦ true
1247
1247
  * isFunction('2')) // ↦ false
1248
1248
  * isFunction([])) // ↦ false
@@ -1276,7 +1276,7 @@ function isFunction(value) {
1276
1276
  *
1277
1277
  * ```
1278
1278
  * <script type="module">
1279
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1279
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1280
1280
  * Monster.Types.isInteger(()=>{}) // ↦ true
1281
1281
  * Monster.Types.isInteger('2') // ↦ false
1282
1282
  * Monster.Types.isInteger(2) // ↦ true
@@ -1287,7 +1287,7 @@ function isFunction(value) {
1287
1287
  *
1288
1288
  * ```
1289
1289
  * <script type="module">
1290
- * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
1290
+ * import {isInteger} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
1291
1291
  * isInteger(()=>{}) // ↦ true
1292
1292
  * isInteger('2')) // ↦ false
1293
1293
  * isInteger(2)) // ↦ true
@@ -1360,7 +1360,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1360
1360
  *
1361
1361
  * ```
1362
1362
  * <script type="module">
1363
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1363
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1364
1364
  * console.log(new Monster.Constraint.IsObject())
1365
1365
  * </script>
1366
1366
  * ```
@@ -1369,14 +1369,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1369
1369
  *
1370
1370
  * ```
1371
1371
  * <script type="module">
1372
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/isobject.js';
1372
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/isobject.js';
1373
1373
  * console.log(new IsObject())
1374
1374
  * </script>
1375
1375
  * ```
1376
1376
  *
1377
1377
  * @example
1378
1378
  *
1379
- * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/isobject.js';
1379
+ * import {IsObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/isobject.js';
1380
1380
  *
1381
1381
  * new IsObject()
1382
1382
  * .isValid({})
@@ -1479,7 +1479,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1479
1479
  *
1480
1480
  * ```
1481
1481
  * <script type="module">
1482
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1482
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1483
1483
  * new Monster.Constraint.OrOperator();
1484
1484
  * </script>
1485
1485
  * ```
@@ -1488,16 +1488,16 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1488
1488
  *
1489
1489
  * ```
1490
1490
  * <script type="module">
1491
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraint/oroperator.js';
1491
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraint/oroperator.js';
1492
1492
  * new OrOperator();
1493
1493
  * </script>
1494
1494
  * ```
1495
1495
  *
1496
1496
  * @example
1497
1497
  *
1498
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/valid.js';
1499
- * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/invalid.js';
1500
- * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/oroperator.js';
1498
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/valid.js';
1499
+ * import {Invalid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/invalid.js';
1500
+ * import {OrOperator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/oroperator.js';
1501
1501
  *
1502
1502
  * new OrOperator(
1503
1503
  * new Valid(), new Invalid()).isValid()
@@ -1622,7 +1622,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1622
1622
  *
1623
1623
  * ```
1624
1624
  * <script type="module">
1625
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1625
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1626
1626
  * new Monster.Constraint.Valid();
1627
1627
  * </script>
1628
1628
  * ```
@@ -1631,14 +1631,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
1631
1631
  *
1632
1632
  * ```
1633
1633
  * <script type="module">
1634
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/valid.js';
1634
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/valid.js';
1635
1635
  * new Valid();
1636
1636
  * </script>
1637
1637
  * ```
1638
1638
  *
1639
1639
  * @example
1640
1640
  *
1641
- * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/constraints/valid.js';
1641
+ * import {Valid} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/constraints/valid.js';
1642
1642
  *
1643
1643
  * new Valid().isValid()
1644
1644
  * .then(()=>console.log(true))
@@ -1747,7 +1747,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1747
1747
  *
1748
1748
  * ```
1749
1749
  * <script type="module">
1750
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
1750
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
1751
1751
  * console.log(Monster.Data.buildMap())
1752
1752
  * </script>
1753
1753
  * ```
@@ -1756,7 +1756,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1756
1756
  *
1757
1757
  * ```
1758
1758
  * <script type="module">
1759
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/buildmap.js';
1759
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/buildmap.js';
1760
1760
  * console.log(buildMap())
1761
1761
  * </script>
1762
1762
  * ```
@@ -1767,7 +1767,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1767
1767
  *
1768
1768
  * @example
1769
1769
  *
1770
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/buildmap.js';
1770
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/buildmap.js';
1771
1771
  * // a typical data structure as reported by an api
1772
1772
  *
1773
1773
  * let map;
@@ -1859,7 +1859,8 @@ function buildMap(subject, selector, valueTemplate, keyTemplate, filter) {
1859
1859
  * @param {string|Monster.Data~exampleSelectorCallback} selector
1860
1860
  * @param {Monster.Data~exampleFilterCallback} [filter]
1861
1861
  * @param {function} callback
1862
- * @return {*}
1862
+ * @return {Map}
1863
+ * @throws {TypeError} selector is neither a string nor a function
1863
1864
  */
1864
1865
 
1865
1866
 
@@ -1877,7 +1878,7 @@ function assembleParts(subject, selector, filter, callback) {
1877
1878
  map = new Map();
1878
1879
  buildFlatMap.call(map, subject, selector);
1879
1880
  } else {
1880
- throw new TypeError('value is neither a string nor a function');
1881
+ throw new TypeError('selector is neither a string nor a function');
1881
1882
  }
1882
1883
 
1883
1884
  if (!(map instanceof Map)) {
@@ -1943,7 +1944,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
1943
1944
  var kk = copyKey.join(_pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.DELIMITER);
1944
1945
  var sub = buildFlatMap.call(result, o, parts.join(_pathfinder_js__WEBPACK_IMPORTED_MODULE_4__.DELIMITER), copyKey, o);
1945
1946
 
1946
- if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(sub)) {
1947
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(sub) && parentMap !== undefined) {
1947
1948
  sub['^'] = parentMap;
1948
1949
  }
1949
1950
 
@@ -1997,7 +1998,7 @@ function buildFlatMap(subject, selector, key, parentMap) {
1997
1998
  * Alternatively to a string selector a callback can be specified. this must return a map.
1998
1999
  *
1999
2000
  * @example
2000
- * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/buildmap.js';
2001
+ * import {buildMap} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/buildmap.js';
2001
2002
  *
2002
2003
  * let obj = {
2003
2004
  * "data": [
@@ -2200,7 +2201,7 @@ __webpack_require__.r(__webpack_exports__);
2200
2201
  *
2201
2202
  * ```
2202
2203
  * <script type="module">
2203
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2204
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2204
2205
  * console.log(Monster.Types.validateIterable('2')) // ↦ TypeError
2205
2206
  * console.log(Monster.Types.validateIterable([])) // ↦ value
2206
2207
  * </script>
@@ -2210,7 +2211,7 @@ __webpack_require__.r(__webpack_exports__);
2210
2211
  *
2211
2212
  * ```
2212
2213
  * <script type="module">
2213
- * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2214
+ * import {validateIterable} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2214
2215
  * console.log(validateIterable('2')) // ↦ TypeError
2215
2216
  * console.log(validateIterable([])) // ↦ value
2216
2217
  * </script>
@@ -2241,7 +2242,7 @@ function validateIterable(value) {
2241
2242
  *
2242
2243
  * ```
2243
2244
  * <script type="module">
2244
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2245
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2245
2246
  * console.log(Monster.Types.validatePrimitive('2')) // ↦ value
2246
2247
  * console.log(Monster.Types.validatePrimitive([])) // ↦ TypeError
2247
2248
  * </script>
@@ -2251,7 +2252,7 @@ function validateIterable(value) {
2251
2252
  *
2252
2253
  * ```
2253
2254
  * <script type="module">
2254
- * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2255
+ * import {validatePrimitive} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2255
2256
  * console.log(validatePrimitive('2')) // ↦ value
2256
2257
  * console.log(validatePrimitive([])) // ↦ TypeError
2257
2258
  * </script>
@@ -2283,7 +2284,7 @@ function validatePrimitive(value) {
2283
2284
  *
2284
2285
  * ```
2285
2286
  * <script type="module">
2286
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2287
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2287
2288
  * console.log(Monster.Types.validateBoolean(true)) // ↦ value
2288
2289
  * console.log(Monster.Types.validateBoolean('2')) // ↦ TypeError
2289
2290
  * console.log(Monster.Types.validateBoolean([])) // ↦ TypeError
@@ -2294,7 +2295,7 @@ function validatePrimitive(value) {
2294
2295
  *
2295
2296
  * ```
2296
2297
  * <script type="module">
2297
- * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2298
+ * import {validateBoolean} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2298
2299
  * console.log(validateBoolean(false)) // ↦ value
2299
2300
  * console.log(validateBoolean('2')) // ↦ TypeError
2300
2301
  * console.log(validateBoolean([])) // ↦ TypeError
@@ -2325,7 +2326,7 @@ function validateBoolean(value) {
2325
2326
  *
2326
2327
  * ```
2327
2328
  * <script type="module">
2328
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2329
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2329
2330
  * console.log(Monster.Types.validateString('2')) // ↦ value
2330
2331
  * console.log(Monster.Types.validateString([])) // ↦ TypeError
2331
2332
  * </script>
@@ -2335,7 +2336,7 @@ function validateBoolean(value) {
2335
2336
  *
2336
2337
  * ```
2337
2338
  * <script type="module">
2338
- * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2339
+ * import {validateString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2339
2340
  * console.log(validateString('2')) // ↦ value
2340
2341
  * console.log(validateString([])) // ↦ TypeError
2341
2342
  * </script>
@@ -2364,7 +2365,7 @@ function validateString(value) {
2364
2365
  *
2365
2366
  * ```
2366
2367
  * <script type="module">
2367
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2368
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2368
2369
  * console.log(Monster.Types.validateObject({})) // ↦ value
2369
2370
  * console.log(Monster.Types.validateObject('2')) // ↦ TypeError
2370
2371
  * console.log(Monster.Types.validateObject([])) // ↦ TypeError
@@ -2375,7 +2376,7 @@ function validateString(value) {
2375
2376
  *
2376
2377
  * ```
2377
2378
  * <script type="module">
2378
- * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2379
+ * import {validateObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2379
2380
  * console.log(validateObject({})) // ↦ value
2380
2381
  * console.log(validateObject('2')) // ↦ TypeError
2381
2382
  * console.log(validateObject([])) // ↦ TypeError
@@ -2405,7 +2406,7 @@ function validateObject(value) {
2405
2406
  *
2406
2407
  * ```
2407
2408
  * <script type="module">
2408
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2409
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2409
2410
  * console.log(Monster.Types.validateInstance({}, Object)) // ↦ value
2410
2411
  * console.log(Monster.Types.validateInstance('2', Object)) // ↦ TypeError
2411
2412
  * console.log(Monster.Types.validateInstance([], Object)) // ↦ TypeError
@@ -2416,7 +2417,7 @@ function validateObject(value) {
2416
2417
  *
2417
2418
  * ```
2418
2419
  * <script type="module">
2419
- * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2420
+ * import {validateInstance} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2420
2421
  * console.log(validateInstance({}, Object)) // ↦ value
2421
2422
  * console.log(validateInstance('2', Object)) // ↦ TypeError
2422
2423
  * console.log(validateInstance([], Object)) // ↦ TypeError
@@ -2456,7 +2457,7 @@ function validateInstance(value, instance) {
2456
2457
  *
2457
2458
  * ```
2458
2459
  * <script type="module">
2459
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2460
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2460
2461
  * console.log(Monster.Types.validateArray('2')) // ↦ TypeError
2461
2462
  * console.log(Monster.Types.validateArray([])) // ↦ value
2462
2463
  * </script>
@@ -2466,7 +2467,7 @@ function validateInstance(value, instance) {
2466
2467
  *
2467
2468
  * ```
2468
2469
  * <script type="module">
2469
- * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2470
+ * import {validateArray} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2470
2471
  * console.log(validateArray('2')) // ↦ TypeError
2471
2472
  * console.log(validateArray([])) // ↦ value
2472
2473
  * </script>
@@ -2495,7 +2496,7 @@ function validateArray(value) {
2495
2496
  *
2496
2497
  * ```
2497
2498
  * <script type="module">
2498
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2499
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2499
2500
  * console.log(Monster.Types.validateSymbol('2')) // ↦ TypeError
2500
2501
  * console.log(Monster.Types.validateSymbol([])) // ↦ value
2501
2502
  * </script>
@@ -2505,7 +2506,7 @@ function validateArray(value) {
2505
2506
  *
2506
2507
  * ```
2507
2508
  * <script type="module">
2508
- * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2509
+ * import {validateSymbol} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2509
2510
  * console.log(validateSymbol('2')) // ↦ TypeError
2510
2511
  * console.log(validateSymbol()) // ↦ value
2511
2512
  * </script>
@@ -2534,7 +2535,7 @@ function validateSymbol(value) {
2534
2535
  *
2535
2536
  * ```
2536
2537
  * <script type="module">
2537
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2538
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2538
2539
  * console.log(Monster.Types.validateFunction(()=>{})) // ↦ value
2539
2540
  * console.log(Monster.Types.validateFunction('2')) // ↦ TypeError
2540
2541
  * console.log(Monster.Types.validateFunction([])) // ↦ TypeError
@@ -2545,7 +2546,7 @@ function validateSymbol(value) {
2545
2546
  *
2546
2547
  * ```
2547
2548
  * <script type="module">
2548
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2549
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2549
2550
  * console.log(validateFunction(()=>{})) // ↦ value
2550
2551
  * console.log(validateFunction('2')) // ↦ TypeError
2551
2552
  * console.log(validateFunction([])) // ↦ TypeError
@@ -2575,7 +2576,7 @@ function validateFunction(value) {
2575
2576
  *
2576
2577
  * ```
2577
2578
  * <script type="module">
2578
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2579
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2579
2580
  * console.log(Monster.Types.validateInteger(true)) // ↦ TypeError
2580
2581
  * console.log(Monster.Types.validateInteger('2')) // ↦ TypeError
2581
2582
  * console.log(Monster.Types.validateInteger(2)) // ↦ value
@@ -2586,7 +2587,7 @@ function validateFunction(value) {
2586
2587
  *
2587
2588
  * ```
2588
2589
  * <script type="module">
2589
- * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/validate.js';
2590
+ * import {validateFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/validate.js';
2590
2591
  * console.log(validateInteger(true)) // ↦ TypeError
2591
2592
  * console.log(validateInteger('2')) // ↦ TypeError
2592
2593
  * console.log(validateInteger(2)) // ↦ value
@@ -2652,7 +2653,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2652
2653
  *
2653
2654
  * ```
2654
2655
  * <script type="module">
2655
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2656
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2656
2657
  * Monster.Util.clone({})
2657
2658
  * </script>
2658
2659
  * ```
@@ -2661,7 +2662,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
2661
2662
  *
2662
2663
  * ```
2663
2664
  * <script type="module">
2664
- * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/util/clone.js';
2665
+ * import {clone} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/util/clone.js';
2665
2666
  * clone({})
2666
2667
  * </script>
2667
2668
  * ```
@@ -2873,7 +2874,7 @@ function getGlobal() {
2873
2874
  *
2874
2875
  * ```
2875
2876
  * <script type="module">
2876
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2877
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2877
2878
  * Monster.Types.getGlobalObject('document')
2878
2879
  * // ↦ { }
2879
2880
  * </script>
@@ -2883,7 +2884,7 @@ function getGlobal() {
2883
2884
  *
2884
2885
  * ```
2885
2886
  * <script type="module">
2886
- * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/global.js';
2887
+ * import {getGlobalObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/global.js';
2887
2888
  * getGlobalObject('document')
2888
2889
  * // ↦ { }
2889
2890
  * </script>
@@ -2915,7 +2916,7 @@ function getGlobalObject(name) {
2915
2916
  *
2916
2917
  * ```
2917
2918
  * <script type="module">
2918
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2919
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2919
2920
  * console.log(Monster.Types.getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2920
2921
  * </script>
2921
2922
  * ```
@@ -2924,7 +2925,7 @@ function getGlobalObject(name) {
2924
2925
  *
2925
2926
  * ```
2926
2927
  * <script type="module">
2927
- * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/global.js';
2928
+ * import {getGlobalFunction} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/global.js';
2928
2929
  * console.log(getGlobalFunction('parseInt')) // ↦ f parseInt() { }
2929
2930
  * </script>
2930
2931
  * ```
@@ -2975,7 +2976,7 @@ __webpack_require__.r(__webpack_exports__);
2975
2976
  *
2976
2977
  * ```
2977
2978
  * <script type="module">
2978
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
2979
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
2979
2980
  * console.log(Monster.Types.typeOf())
2980
2981
  * </script>
2981
2982
  * ```
@@ -2984,14 +2985,14 @@ __webpack_require__.r(__webpack_exports__);
2984
2985
  *
2985
2986
  * ```
2986
2987
  * <script type="module">
2987
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/typeof.js';
2988
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/typeof.js';
2988
2989
  * console.log(typeOf())
2989
2990
  * </script>
2990
2991
  * ```
2991
2992
  *
2992
2993
  * @example
2993
2994
  *
2994
- * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/typeof.js';
2995
+ * import {typeOf} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/typeof.js';
2995
2996
  *
2996
2997
  * console.log(typeOf(undefined)); // ↦ undefined
2997
2998
  * console.log(typeOf("")); // ↦ string
@@ -3110,7 +3111,7 @@ var WILDCARD = '*';
3110
3111
  *
3111
3112
  * ```
3112
3113
  * <script type="module">
3113
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
3114
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
3114
3115
  * console.log(new Monster.Data.Pathfinder())
3115
3116
  * </script>
3116
3117
  * ```
@@ -3119,7 +3120,7 @@ var WILDCARD = '*';
3119
3120
  *
3120
3121
  * ```
3121
3122
  * <script type="module">
3122
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/pathfinder.js';
3123
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/pathfinder.js';
3123
3124
  * console.log(new Pathfinder())
3124
3125
  * </script>
3125
3126
  * ```
@@ -3161,7 +3162,7 @@ var WILDCARD = '*';
3161
3162
  *
3162
3163
  * @example
3163
3164
  *
3164
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/pathfinder.js';
3165
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/pathfinder.js';
3165
3166
  *
3166
3167
  * let value = new Pathfinder({
3167
3168
  * a: {
@@ -3187,7 +3188,7 @@ var WILDCARD = '*';
3187
3188
  *
3188
3189
  * @example
3189
3190
  *
3190
- * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/pathfinder.js';
3191
+ * import {Pathfinder} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/pathfinder.js';
3191
3192
  *
3192
3193
  * let p = new Pathfinder({
3193
3194
  * a: {
@@ -3602,7 +3603,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3602
3603
  *
3603
3604
  * ```
3604
3605
  * <script type="module">
3605
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
3606
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
3606
3607
  * console.log(new Monster.Types.Stack())
3607
3608
  * </script>
3608
3609
  * ```
@@ -3611,7 +3612,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
3611
3612
  *
3612
3613
  * ```
3613
3614
  * <script type="module">
3614
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/stack.js';
3615
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/stack.js';
3615
3616
  * console.log(new Stack())
3616
3617
  * </script>
3617
3618
  * ```
@@ -3746,7 +3747,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3746
3747
  *
3747
3748
  * ```
3748
3749
  * <script type="module">
3749
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
3750
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
3750
3751
  * Monster.Data.Diff(a, b)
3751
3752
  * </script>
3752
3753
  * ```
@@ -3755,14 +3756,14 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3755
3756
  *
3756
3757
  * ```
3757
3758
  * <script type="module">
3758
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/diff.js';
3759
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/diff.js';
3759
3760
  * Diff(a, b)
3760
3761
  * </script>
3761
3762
  * ```
3762
3763
  *
3763
3764
  * @example
3764
3765
  *
3765
- * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/diff.js';
3766
+ * import {Diff} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/diff.js';
3766
3767
  *
3767
3768
  * // given are two objects x and y.
3768
3769
  *
@@ -4008,7 +4009,7 @@ __webpack_require__.r(__webpack_exports__);
4008
4009
  *
4009
4010
  * ```
4010
4011
  * <script type="module">
4011
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
4012
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
4012
4013
  * Monster.Data.extend(a, b)
4013
4014
  * </script>
4014
4015
  * ```
@@ -4017,7 +4018,7 @@ __webpack_require__.r(__webpack_exports__);
4017
4018
  *
4018
4019
  * ```
4019
4020
  * <script type="module">
4020
- * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/extend.js';
4021
+ * import {extend} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/extend.js';
4021
4022
  * extend(a, b)
4022
4023
  * </script>
4023
4024
  * ```
@@ -4146,7 +4147,7 @@ var DELIMITER = '|';
4146
4147
  *
4147
4148
  * ```
4148
4149
  * <script type="module">
4149
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
4150
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
4150
4151
  * new Monster.Data.Pipe()
4151
4152
  * </script>
4152
4153
  * ```
@@ -4155,7 +4156,7 @@ var DELIMITER = '|';
4155
4156
  *
4156
4157
  * ```
4157
4158
  * <script type="module">
4158
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/pipe.js';
4159
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/pipe.js';
4159
4160
  * new Pipe()
4160
4161
  * </script>
4161
4162
  * ```
@@ -4166,7 +4167,7 @@ var DELIMITER = '|';
4166
4167
  * the word is then converted to uppercase letters and a prefix Hello is added. the two backslash safe the space char.
4167
4168
  *
4168
4169
  * @example
4169
- * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/pipe.js';
4170
+ * import {Pipe} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/pipe.js';
4170
4171
  *
4171
4172
  * let obj = {
4172
4173
  * a: {
@@ -4328,7 +4329,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4328
4329
  *
4329
4330
  * ```
4330
4331
  * <script type="module">
4331
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
4332
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
4332
4333
  * new Monster.Data.Transformer()
4333
4334
  * </script>
4334
4335
  * ```
@@ -4337,7 +4338,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4337
4338
  *
4338
4339
  * ```
4339
4340
  * <script type="module">
4340
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/transformer.js';
4341
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/transformer.js';
4341
4342
  * new Transformer()
4342
4343
  * </script>
4343
4344
  * ```
@@ -4423,7 +4424,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
4423
4424
  *
4424
4425
  * @example
4425
4426
  *
4426
- * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/data/transformer.js';
4427
+ * import {Transformer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/data/transformer.js';
4427
4428
  *
4428
4429
  * const transformer = new Transformer("tolower")
4429
4430
  *
@@ -4956,7 +4957,7 @@ var internalCounter = new Map();
4956
4957
  *
4957
4958
  * ```
4958
4959
  * <script type="module">
4959
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
4960
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
4960
4961
  * console.log(new Monster.Types.ID())
4961
4962
  * </script>
4962
4963
  * ```
@@ -4965,7 +4966,7 @@ var internalCounter = new Map();
4965
4966
  *
4966
4967
  * ```
4967
4968
  * <script type="module">
4968
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/id.js';
4969
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/id.js';
4969
4970
  * console.log(new ID())
4970
4971
  * </script>
4971
4972
  * ```
@@ -5088,7 +5089,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
5088
5089
  *
5089
5090
  * ```
5090
5091
  * <script type="module">
5091
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
5092
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
5092
5093
  * console.log(new Monster.DOM.Assembler())
5093
5094
  * </script>
5094
5095
  * ```
@@ -5097,7 +5098,7 @@ var ATTRIBUTEPREFIX = "data-monster-";
5097
5098
  *
5098
5099
  * ```
5099
5100
  * <script type="module">
5100
- * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/assembler.js';
5101
+ * import {Assembler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/assembler.js';
5101
5102
  * console.log(new Assembler())
5102
5103
  * </script>
5103
5104
  * ```
@@ -5238,7 +5239,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5238
5239
  *
5239
5240
  * ```
5240
5241
  * <script type="module">
5241
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
5242
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
5242
5243
  * new Monster.Types.ProxyObserver()
5243
5244
  * </script>
5244
5245
  * ```
@@ -5247,7 +5248,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5247
5248
  *
5248
5249
  * ```
5249
5250
  * <script type="module">
5250
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/proxyobserver.js';
5251
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/proxyobserver.js';
5251
5252
  * new ProxyObserver()
5252
5253
  * </script>
5253
5254
  * ```
@@ -5258,9 +5259,9 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5258
5259
  *
5259
5260
  * @example
5260
5261
  *
5261
- * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/proxyobserver.js';
5262
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/observer.js';
5263
- * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/is.js';
5262
+ * import {ProxyObserver} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/proxyobserver.js';
5263
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/observer.js';
5264
+ * import {isObject} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/is.js';
5264
5265
  *
5265
5266
  * const o = new Observer(function () {
5266
5267
  * if (isObject(this) && this instanceof ProxyObserver) {
@@ -5585,26 +5586,21 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5585
5586
  * You can call the method via the monster namespace `new Monster.Types.Observer()`.
5586
5587
  *
5587
5588
  * ```
5588
- * <script type="module">
5589
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
5590
- * console.log(new Monster.Types.Observer())
5591
- * </script>
5589
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
5590
+ * new Monster.Types.Observer()
5592
5591
  * ```
5593
5592
  *
5594
5593
  * Alternatively, you can also integrate this function individually.
5595
5594
  *
5596
5595
  * ```
5597
- * <script type="module">
5598
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/observer.js';
5599
- * console.log(new Observer())
5600
- * </script>
5596
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/observer.js';
5597
+ * new Observer()
5601
5598
  * ```
5602
5599
  *
5603
5600
  * The update method is called with the subject object as this pointer. For this reason the callback should not
5604
5601
  * be an arrow function, because it gets the this pointer of its own context.
5605
5602
  *
5606
5603
  * ```
5607
- * <script>
5608
5604
  * new Observer(()=>{
5609
5605
  * // this is not subject
5610
5606
  * })
@@ -5612,24 +5608,21 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5612
5608
  * new Observer(function() {
5613
5609
  * // this is subject
5614
5610
  * })
5615
- * </script>
5616
5611
  * ```
5617
5612
  *
5618
5613
  * Additional arguments can be passed to the callback. To do this, simply specify them.
5619
5614
  *
5620
5615
  * ```
5621
- * <script>
5622
5616
  * Observer(function(a, b, c) {
5623
5617
  * console.log(a, b, c); // ↦ "a", 2, true
5624
5618
  * }, "a", 2, true)
5625
- * </script>
5626
5619
  * ```
5627
5620
  *
5628
5621
  * The callback function must have as many parameters as arguments are given.
5629
5622
  *
5630
5623
  * @example
5631
5624
  *
5632
- * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/observer.js';
5625
+ * import {Observer} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/observer.js';
5633
5626
  *
5634
5627
  * const observer = new Observer(function(a, b, c) {
5635
5628
  * console.log(this, a, b, c); // ↦ "a", 2, true
@@ -5829,7 +5822,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5829
5822
  *
5830
5823
  * ```
5831
5824
  * <script type="module">
5832
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
5825
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
5833
5826
  * new Monster.Types.TokenList("myclass row")
5834
5827
  * </script>
5835
5828
  * ```
@@ -5838,7 +5831,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
5838
5831
  *
5839
5832
  * ```
5840
5833
  * <script type="module">
5841
- * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/tokenlist.js';
5834
+ * import {TokenList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/tokenlist.js';
5842
5835
  * new TokenList("myclass row")
5843
5836
  * </script>
5844
5837
  * ```
@@ -6261,7 +6254,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6261
6254
  *
6262
6255
  * ```
6263
6256
  * <script type="module">
6264
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6257
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6265
6258
  * new Monster.Types.UniqueQueue()
6266
6259
  * </script>
6267
6260
  * ```
@@ -6270,7 +6263,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6270
6263
  *
6271
6264
  * ```
6272
6265
  * <script type="module">
6273
- * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/uniquequeue.js';
6266
+ * import {UniqueQueue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/uniquequeue.js';
6274
6267
  * new UniqueQueue()
6275
6268
  * </script>
6276
6269
  * ```
@@ -6405,7 +6398,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6405
6398
  *
6406
6399
  * ```
6407
6400
  * <script type="module">
6408
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6401
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6409
6402
  * new Monster.Types.Queue()
6410
6403
  * </script>
6411
6404
  * ```
@@ -6414,14 +6407,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6414
6407
  *
6415
6408
  * ```
6416
6409
  * <script type="module">
6417
- * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/queue.js';
6410
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/queue.js';
6418
6411
  * new Queue()
6419
6412
  * </script>
6420
6413
  * ```
6421
6414
  *
6422
6415
  * @example
6423
6416
  *
6424
- * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/queue.js';
6417
+ * import {Queue} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/queue.js';
6425
6418
  *
6426
6419
  * const queue = new Queue;
6427
6420
  *
@@ -6590,7 +6583,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6590
6583
  *
6591
6584
  * ```
6592
6585
  * <script type="module">
6593
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6586
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6594
6587
  * console.log(new Monster.Types.ObserverList())
6595
6588
  * console.log(new Monster.Types.ObserverList())
6596
6589
  * </script>
@@ -6600,7 +6593,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
6600
6593
  *
6601
6594
  * ```
6602
6595
  * <script type="module">
6603
- * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/observerlist.js';
6596
+ * import {ObserverList} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/observerlist.js';
6604
6597
  * console.log(ObserverList())
6605
6598
  * console.log(ObserverList())
6606
6599
  * </script>
@@ -6760,7 +6753,7 @@ __webpack_require__.r(__webpack_exports__);
6760
6753
  *
6761
6754
  * ```
6762
6755
  * <script type="module">
6763
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6756
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6764
6757
  * console.log(Monster.DOM.findClosestObjectLink())
6765
6758
  * </script>
6766
6759
  * ```
@@ -6769,7 +6762,7 @@ __webpack_require__.r(__webpack_exports__);
6769
6762
  *
6770
6763
  * ```
6771
6764
  * <script type="module">
6772
- * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/updater.js';
6765
+ * import {getUpdaterFromNode} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/updater.js';
6773
6766
  * console.log(findClosestObjectLink())
6774
6767
  * </script>
6775
6768
  * ```
@@ -6790,7 +6783,7 @@ function findClosestObjectLink(element) {
6790
6783
  *
6791
6784
  * ```
6792
6785
  * <script type="module">
6793
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6786
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6794
6787
  * Monster.DOM.addToObjectLink();
6795
6788
  * </script>
6796
6789
  * ```
@@ -6799,7 +6792,7 @@ function findClosestObjectLink(element) {
6799
6792
  *
6800
6793
  * ```
6801
6794
  * <script type="module">
6802
- * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
6795
+ * import {addToObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
6803
6796
  * addToObjectLink();
6804
6797
  * </script>
6805
6798
  * ```
@@ -6831,7 +6824,7 @@ function addToObjectLink(element, symbol, object) {
6831
6824
  *
6832
6825
  * ```
6833
6826
  * <script type="module">
6834
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6827
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6835
6828
  * Monster.DOM.removeObjectLink();
6836
6829
  * </script>
6837
6830
  * ```
@@ -6840,7 +6833,7 @@ function addToObjectLink(element, symbol, object) {
6840
6833
  *
6841
6834
  * ```
6842
6835
  * <script type="module">
6843
- * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
6836
+ * import {removeObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
6844
6837
  * removeObjectLink();
6845
6838
  * </script>
6846
6839
  * ```
@@ -6871,7 +6864,7 @@ function removeObjectLink(element, symbol) {
6871
6864
  *
6872
6865
  * ```
6873
6866
  * <script type="module">
6874
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6867
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6875
6868
  * Monster.DOM.hasObjectLink();
6876
6869
  * </script>
6877
6870
  * ```
@@ -6880,7 +6873,7 @@ function removeObjectLink(element, symbol) {
6880
6873
  *
6881
6874
  * ```
6882
6875
  * <script type="module">
6883
- * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
6876
+ * import {hasObjectLink} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
6884
6877
  * hasObjectLink();
6885
6878
  * </script>
6886
6879
  * ```
@@ -6916,7 +6909,7 @@ function hasObjectLink(element, symbol) {
6916
6909
  *
6917
6910
  * ```
6918
6911
  * <script type="module">
6919
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6912
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6920
6913
  * Monster.DOM.getLinkedObjects();
6921
6914
  * </script>
6922
6915
  * ```
@@ -6925,7 +6918,7 @@ function hasObjectLink(element, symbol) {
6925
6918
  *
6926
6919
  * ```
6927
6920
  * <script type="module">
6928
- * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
6921
+ * import {getLinkedObjects} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
6929
6922
  * getLinkedObjects();
6930
6923
  * </script>
6931
6924
  * ```
@@ -6959,7 +6952,7 @@ function getLinkedObjects(element, symbol) {
6959
6952
  *
6960
6953
  * ```
6961
6954
  * <script type="module">
6962
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6955
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
6963
6956
  * Monster.DOM.toggleAttributeToken();
6964
6957
  * </script>
6965
6958
  * ```
@@ -6968,7 +6961,7 @@ function getLinkedObjects(element, symbol) {
6968
6961
  *
6969
6962
  * ```
6970
6963
  * <script type="module">
6971
- * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
6964
+ * import {toggleAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
6972
6965
  * toggleAttributeToken();
6973
6966
  * </script>
6974
6967
  * ```
@@ -7003,7 +6996,7 @@ function toggleAttributeToken(element, key, token) {
7003
6996
  *
7004
6997
  * ```
7005
6998
  * <script type="module">
7006
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
6999
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7007
7000
  * Monster.DOM.addAttributeToken();
7008
7001
  * </script>
7009
7002
  * ```
@@ -7012,7 +7005,7 @@ function toggleAttributeToken(element, key, token) {
7012
7005
  *
7013
7006
  * ```
7014
7007
  * <script type="module">
7015
- * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
7008
+ * import {addAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
7016
7009
  * addAttributeToken();
7017
7010
  * </script>
7018
7011
  * ```
@@ -7049,7 +7042,7 @@ function addAttributeToken(element, key, token) {
7049
7042
  *
7050
7043
  * ```
7051
7044
  * <script type="module">
7052
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
7045
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7053
7046
  * Monster.DOM.removeAttributeToken();
7054
7047
  * </script>
7055
7048
  * ```
@@ -7058,7 +7051,7 @@ function addAttributeToken(element, key, token) {
7058
7051
  *
7059
7052
  * ```
7060
7053
  * <script type="module">
7061
- * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
7054
+ * import {removeAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
7062
7055
  * removeAttributeToken();
7063
7056
  * </script>
7064
7057
  * ```
@@ -7094,7 +7087,7 @@ function removeAttributeToken(element, key, token) {
7094
7087
  *
7095
7088
  * ```
7096
7089
  * <script type="module">
7097
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
7090
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7098
7091
  * Monster.DOM.containsAttributeToken();
7099
7092
  * </script>
7100
7093
  * ```
@@ -7103,7 +7096,7 @@ function removeAttributeToken(element, key, token) {
7103
7096
  *
7104
7097
  * ```
7105
7098
  * <script type="module">
7106
- * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
7099
+ * import {containsAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
7107
7100
  * containsAttributeToken();
7108
7101
  * </script>
7109
7102
  * ```
@@ -7136,7 +7129,7 @@ function containsAttributeToken(element, key, token) {
7136
7129
  *
7137
7130
  * ```
7138
7131
  * <script type="module">
7139
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
7132
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7140
7133
  * Monster.DOM.replaceAttributeToken();
7141
7134
  * </script>
7142
7135
  * ```
@@ -7145,7 +7138,7 @@ function containsAttributeToken(element, key, token) {
7145
7138
  *
7146
7139
  * ```
7147
7140
  * <script type="module">
7148
- * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
7141
+ * import {replaceAttributeToken} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
7149
7142
  * replaceAttributeToken();
7150
7143
  * </script>
7151
7144
  * ```
@@ -7181,7 +7174,7 @@ function replaceAttributeToken(element, key, from, to) {
7181
7174
  *
7182
7175
  * ```
7183
7176
  * <script type="module">
7184
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
7177
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7185
7178
  * Monster.DOM.clearAttributeTokens();
7186
7179
  * </script>
7187
7180
  * ```
@@ -7190,7 +7183,7 @@ function replaceAttributeToken(element, key, from, to) {
7190
7183
  *
7191
7184
  * ```
7192
7185
  * <script type="module">
7193
- * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
7186
+ * import {clearAttributeTokens} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
7194
7187
  * clearAttributeTokens();
7195
7188
  * </script>
7196
7189
  * ```
@@ -7238,7 +7231,7 @@ function clearAttributeTokens(element, key) {
7238
7231
  *
7239
7232
  * ```
7240
7233
  * <script type="module">
7241
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
7234
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7242
7235
  * Monster.DOM.findClosestByAttribute();
7243
7236
  * </script>
7244
7237
  * ```
@@ -7247,7 +7240,7 @@ function clearAttributeTokens(element, key) {
7247
7240
  *
7248
7241
  * ```
7249
7242
  * <script type="module">
7250
- * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
7243
+ * import {findClosestByAttribute} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
7251
7244
  * findClosestByAttribute();
7252
7245
  * </script>
7253
7246
  * ```
@@ -7305,7 +7298,7 @@ function findClosestByAttribute(element, key, value) {
7305
7298
  *
7306
7299
  * ```
7307
7300
  * <script type="module">
7308
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
7301
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7309
7302
  * Monster.DOM.findClosestByClass();
7310
7303
  * </script>
7311
7304
  * ```
@@ -7314,7 +7307,7 @@ function findClosestByAttribute(element, key, value) {
7314
7307
  *
7315
7308
  * ```
7316
7309
  * <script type="module">
7317
- * import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/attributes.js';
7310
+ * import {findClosestByClass} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/attributes.js';
7318
7311
  * findClosestByClass();
7319
7312
  * </script>
7320
7313
  * ```
@@ -7407,7 +7400,8 @@ __webpack_require__.r(__webpack_exports__);
7407
7400
  /* harmony export */ "ATTRIBUTE_ERRORMESSAGE": function() { return /* binding */ ATTRIBUTE_ERRORMESSAGE; },
7408
7401
  /* harmony export */ "ATTRIBUTE_VALUE": function() { return /* binding */ ATTRIBUTE_VALUE; },
7409
7402
  /* harmony export */ "objectUpdaterLinkSymbol": function() { return /* binding */ objectUpdaterLinkSymbol; },
7410
- /* harmony export */ "ATTRIBUTE_TEMPLATE_PREFIX": function() { return /* binding */ ATTRIBUTE_TEMPLATE_PREFIX; }
7403
+ /* harmony export */ "ATTRIBUTE_TEMPLATE_PREFIX": function() { return /* binding */ ATTRIBUTE_TEMPLATE_PREFIX; },
7404
+ /* harmony export */ "ATTRIBUTE_UPDATER_SELECT_THIS": function() { return /* binding */ ATTRIBUTE_UPDATER_SELECT_THIS; }
7411
7405
  /* harmony export */ });
7412
7406
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
7413
7407
 
@@ -7460,6 +7454,13 @@ var ATTRIBUTE_THEME_NAME = ATTRIBUTE_THEME_PREFIX + 'name';
7460
7454
  */
7461
7455
 
7462
7456
  var ATTRIBUTE_UPDATER_ATTRIBUTES = ATTRIBUTE_PREFIX + 'attributes';
7457
+ /**
7458
+ * @memberOf Monster.DOM
7459
+ * @type {string}
7460
+ * @since 1.27.1
7461
+ */
7462
+
7463
+ var ATTRIBUTE_UPDATER_SELECT_THIS = ATTRIBUTE_PREFIX + 'select-this';
7463
7464
  /**
7464
7465
  * @memberOf Monster.DOM
7465
7466
  * @type {string}
@@ -7840,7 +7841,7 @@ var attachedInternalSymbol = Symbol('attachedInternal');
7840
7841
  *
7841
7842
  * ```
7842
7843
  * <script type="module">
7843
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
7844
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
7844
7845
  * document.createElement('monster-')
7845
7846
  * </script>
7846
7847
  * ```
@@ -8214,7 +8215,8 @@ __webpack_require__.r(__webpack_exports__);
8214
8215
  /* harmony export */ "initMethodSymbol": function() { return /* binding */ initMethodSymbol; },
8215
8216
  /* harmony export */ "assembleMethodSymbol": function() { return /* binding */ assembleMethodSymbol; },
8216
8217
  /* harmony export */ "assignUpdaterToElement": function() { return /* binding */ assignUpdaterToElement; },
8217
- /* harmony export */ "attributeObserverSymbol": function() { return /* binding */ attributeObserverSymbol; }
8218
+ /* harmony export */ "attributeObserverSymbol": function() { return /* binding */ attributeObserverSymbol; },
8219
+ /* harmony export */ "getSlottedElements": function() { return /* binding */ getSlottedElements; }
8218
8220
  /* harmony export */ });
8219
8221
  /* harmony import */ var _constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
8220
8222
  /* harmony import */ var _data_extend_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(21);
@@ -8375,7 +8377,7 @@ var attributeObserverSymbol = Symbol('attributeObserver');
8375
8377
  *
8376
8378
  * ```
8377
8379
  * <script type="module">
8378
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
8380
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
8379
8381
  * document.createElement('monster-')
8380
8382
  * </script>
8381
8383
  * ```
@@ -8832,14 +8834,16 @@ var CustomElement = /*#__PURE__*/function (_HTMLElement) {
8832
8834
  }( /*#__PURE__*/_wrapNativeSuper(HTMLElement));
8833
8835
  /**
8834
8836
  * @private
8835
- * @param {String} filter
8837
+ * @param {String|undefined} query
8838
+ * @param {String|undefined|null} name name of the slot (if the parameter is undefined, all slots are searched, if the parameter has the value null, all slots without a name are searched. if a string is specified, the slots with this name are searched.)
8836
8839
  * @return {*}
8837
8840
  * @this CustomElement
8838
8841
  * @since 1.23.0
8842
+ * @throws {Error} query must be a string
8839
8843
  */
8840
8844
 
8841
8845
 
8842
- function getSlottedElements(filter) {
8846
+ function getSlottedElements(query, name) {
8843
8847
  var self = this;
8844
8848
  var result = new Set();
8845
8849
 
@@ -8847,7 +8851,17 @@ function getSlottedElements(filter) {
8847
8851
  return result;
8848
8852
  }
8849
8853
 
8850
- var slots = self.shadowRoot.querySelectorAll('slot');
8854
+ var selector = 'slot';
8855
+
8856
+ if (name !== undefined) {
8857
+ if (name === null) {
8858
+ selector += ':not([name])';
8859
+ } else {
8860
+ selector += '[name=' + (0,_types_validate_js__WEBPACK_IMPORTED_MODULE_9__.validateString)(name) + ']';
8861
+ }
8862
+ }
8863
+
8864
+ var slots = self.shadowRoot.querySelectorAll(selector);
8851
8865
 
8852
8866
  for (var _i = 0, _Object$entries = Object.entries(slots); _i < _Object$entries.length; _i++) {
8853
8867
  var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
@@ -8856,14 +8870,16 @@ function getSlottedElements(filter) {
8856
8870
  slot.assignedElements().forEach(function (node) {
8857
8871
  if (!(node instanceof HTMLElement)) return;
8858
8872
 
8859
- if (filter !== undefined) {
8860
- node.querySelectorAll(filter).forEach(function (n) {
8873
+ if ((0,_types_is_js__WEBPACK_IMPORTED_MODULE_6__.isString)(query)) {
8874
+ node.querySelectorAll(query).forEach(function (n) {
8861
8875
  result.add(n);
8862
8876
  });
8863
8877
 
8864
- if (node.matches(filter)) {
8878
+ if (node.matches(query)) {
8865
8879
  result.add(node);
8866
8880
  }
8881
+ } else if (query !== undefined) {
8882
+ throw new Error('query must be a string');
8867
8883
  } else {
8868
8884
  result.add(node);
8869
8885
  }
@@ -9241,7 +9257,7 @@ var internal = Symbol('internal');
9241
9257
  *
9242
9258
  * ```
9243
9259
  * <script type="module">
9244
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
9260
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
9245
9261
  * new Monster.Types.DataUrl()
9246
9262
  * </script>
9247
9263
  * ```
@@ -9250,7 +9266,7 @@ var internal = Symbol('internal');
9250
9266
  *
9251
9267
  * ```
9252
9268
  * <script type="module">
9253
- * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/dataurl.js';
9269
+ * import {DataUrl} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/dataurl.js';
9254
9270
  * new DataUrl()
9255
9271
  * </script>
9256
9272
  * ```
@@ -9330,7 +9346,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
9330
9346
  *
9331
9347
  * ```
9332
9348
  * <script type="module">
9333
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
9349
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
9334
9350
  * console.log(Monster.Types.parseDataURL())
9335
9351
  * </script>
9336
9352
  * ```
@@ -9339,7 +9355,7 @@ var DataUrl = /*#__PURE__*/function (_Base) {
9339
9355
  *
9340
9356
  * ```
9341
9357
  * <script type="module">
9342
- * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/dataurl.js';
9358
+ * import {parseDataURL} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/dataurl.js';
9343
9359
  * console.log(parseDataURL())
9344
9360
  * </script>
9345
9361
  * ```
@@ -9477,7 +9493,7 @@ var internal = Symbol('internal');
9477
9493
  *
9478
9494
  * ```
9479
9495
  * <script type="module">
9480
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
9496
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
9481
9497
  * console.log(new Monster.Types.MediaType())
9482
9498
  * </script>
9483
9499
  * ```
@@ -9486,7 +9502,7 @@ var internal = Symbol('internal');
9486
9502
  *
9487
9503
  * ```
9488
9504
  * <script type="module">
9489
- * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/mediatype.js';
9505
+ * import {MediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/mediatype.js';
9490
9506
  * console.log(new MediaType())
9491
9507
  * </script>
9492
9508
  * ```
@@ -9604,7 +9620,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
9604
9620
  *
9605
9621
  * ```
9606
9622
  * <script type="module">
9607
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
9623
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
9608
9624
  * console.log(Monster.Types.parseMediaType())
9609
9625
  * </script>
9610
9626
  * ```
@@ -9613,7 +9629,7 @@ var MediaType = /*#__PURE__*/function (_Base) {
9613
9629
  *
9614
9630
  * ```
9615
9631
  * <script type="module">
9616
- * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/dataurl.js';
9632
+ * import {parseMediaType} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/dataurl.js';
9617
9633
  * console.log(parseMediaType())
9618
9634
  * </script>
9619
9635
  * ```
@@ -9752,7 +9768,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9752
9768
  *
9753
9769
  * ```
9754
9770
  * <script type="module">
9755
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
9771
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
9756
9772
  * new Monster.DOM.Template()
9757
9773
  * </script>
9758
9774
  * ```
@@ -9761,7 +9777,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
9761
9777
  *
9762
9778
  * ```
9763
9779
  * <script type="module">
9764
- * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/template.js';
9780
+ * import {Template} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/template.js';
9765
9781
  * new Template()
9766
9782
  * </script>
9767
9783
  * ```
@@ -9839,7 +9855,7 @@ var Template = /*#__PURE__*/function (_Base) {
9839
9855
  *
9840
9856
  * ```
9841
9857
  * <script type="module">
9842
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
9858
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
9843
9859
  * Monster.DOM.findDocumentTemplate()
9844
9860
  * </script>
9845
9861
  * ```
@@ -9848,14 +9864,14 @@ var Template = /*#__PURE__*/function (_Base) {
9848
9864
  *
9849
9865
  * ```
9850
9866
  * <script type="module">
9851
- * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/template.js';
9867
+ * import {findTemplate} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/template.js';
9852
9868
  * findDocumentTemplate()
9853
9869
  * </script>
9854
9870
  * ```
9855
9871
  *
9856
9872
  * @example
9857
9873
  *
9858
- * import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/template.js";
9874
+ * import { findDocumentTemplate } from "https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/template.js";
9859
9875
  *
9860
9876
  * const template = document.createElement("template");
9861
9877
  * template.id = "myTemplate";
@@ -10027,7 +10043,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10027
10043
  *
10028
10044
  * ```
10029
10045
  * <script type="module">
10030
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
10046
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
10031
10047
  * console.log(new Monster.DOM.Theme())
10032
10048
  * </script>
10033
10049
  * ```
@@ -10036,14 +10052,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10036
10052
  *
10037
10053
  * ```
10038
10054
  * <script type="module">
10039
- * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/theme.js';
10055
+ * import {Theme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/theme.js';
10040
10056
  * console.log(new Theme())
10041
10057
  * </script>
10042
10058
  * ```
10043
10059
  *
10044
10060
  * @example
10045
10061
  *
10046
- * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/theme.js';
10062
+ * import {getDocumentTheme} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/theme.js';
10047
10063
  *
10048
10064
  * const theme = getDocumentTheme();
10049
10065
  * console.log(theme.getName());
@@ -10223,11 +10239,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10223
10239
  * For example, to include a string from an object, the attribute `data-monster-replace` can be used.
10224
10240
  * a further explanation can be found under {@tutorial dom-based-templating-implementation}.
10225
10241
  *
10242
+ * Changes to attributes are made only when the direct values are changed. If you want to assign changes to other values
10243
+ * as well, you have to insert the attribute `data-monster-select-this`. This should be done with care, as it can reduce performance.
10244
+ *
10226
10245
  * You can create an object of this class using the monster namespace `new Monster.DOM.Updater()`.
10227
10246
  *
10228
10247
  * ```
10229
10248
  * <script type="module">
10230
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
10249
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
10231
10250
  * new Monster.DOM.Updater()
10232
10251
  * </script>
10233
10252
  * ```
@@ -10236,14 +10255,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
10236
10255
  *
10237
10256
  * ```
10238
10257
  * <script type="module">
10239
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/updater.js';
10258
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/updater.js';
10240
10259
  * new Updater()
10241
10260
  * </script>
10242
10261
  * ```
10243
10262
  *
10244
10263
  * @example
10245
10264
  *
10246
- * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/updater.js';
10265
+ * import {Updater} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/updater.js';
10247
10266
  *
10248
10267
  * // First we prepare the html document.
10249
10268
  * // This is done here via script, but can also be inserted into the document as pure html.
@@ -10558,6 +10577,8 @@ function getControlEventHandler() {
10558
10577
  * @throws {Error} the bind argument must start as a value with a path
10559
10578
  * @param {HTMLElement} element
10560
10579
  * @return void
10580
+ * @memberOf Monster.DOM
10581
+ * @private
10561
10582
  */
10562
10583
 
10563
10584
 
@@ -10622,6 +10643,7 @@ function retrieveAndSetValue(element) {
10622
10643
  /**
10623
10644
  * @since 1.27.0
10624
10645
  * @return void
10646
+ * @private
10625
10647
  */
10626
10648
 
10627
10649
 
@@ -10689,25 +10711,34 @@ function removeElement(change) {
10689
10711
 
10690
10712
 
10691
10713
  function insertElement(change) {
10692
- var _this2 = this;
10693
-
10694
10714
  var self = this;
10695
10715
  var subject = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].subject.getRealSubject();
10696
10716
  var document = (0,_util_js__WEBPACK_IMPORTED_MODULE_15__.getDocument)();
10697
10717
  var mem = new WeakSet();
10698
10718
  var wd = 0;
10719
+ var container = self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].element;
10699
10720
 
10700
10721
  while (true) {
10701
10722
  var found = false;
10702
10723
  wd++;
10703
10724
  var p = (0,_util_clone_js__WEBPACK_IMPORTED_MODULE_11__.clone)(change === null || change === void 0 ? void 0 : change['path']);
10704
- if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(p)) return this;
10725
+ if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(p)) return self;
10705
10726
 
10706
10727
  while (p.length > 0) {
10707
10728
  var current = p.join('.');
10708
- var list = this[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].element.querySelectorAll(':scope [' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_INSERT + '*="path:' + current + '"]').entries();
10729
+ var iterator = new Set();
10730
+ var query = '[' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_INSERT + '*="path:' + current + '"]';
10731
+ var e = container.querySelectorAll(query);
10709
10732
 
10710
- var _iterator5 = _createForOfIteratorHelper(list),
10733
+ if (e.length > 0) {
10734
+ iterator = new Set(_toConsumableArray(e));
10735
+ }
10736
+
10737
+ if (container.matches(query)) {
10738
+ iterator.add(container);
10739
+ }
10740
+
10741
+ var _iterator5 = _createForOfIteratorHelper(iterator.entries()),
10711
10742
  _step5;
10712
10743
 
10713
10744
  try {
@@ -10730,11 +10761,9 @@ function insertElement(change) {
10730
10761
  }
10731
10762
 
10732
10763
  var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
10733
-
10734
- _this2[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
10764
+ self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
10735
10765
  pipe.setCallback(n, f);
10736
10766
  });
10737
-
10738
10767
  var value = void 0;
10739
10768
 
10740
10769
  try {
@@ -10782,7 +10811,11 @@ function insertElement(change) {
10782
10811
  node = _Object$entries3$_i[1];
10783
10812
 
10784
10813
  if (!available.has(node.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_INSERT_REFERENCE))) {
10785
- containerElement.removeChild(node);
10814
+ try {
10815
+ containerElement.removeChild(node);
10816
+ } catch (e) {
10817
+ containerElement.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, (containerElement.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE) + ", " + e.message).trim());
10818
+ }
10786
10819
  }
10787
10820
  }
10788
10821
  };
@@ -10908,7 +10941,7 @@ function updateContent(change) {
10908
10941
 
10909
10942
 
10910
10943
  function runUpdateContent(container, parts, subject) {
10911
- var _this3 = this;
10944
+ var _this2 = this;
10912
10945
 
10913
10946
  if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(parts)) return;
10914
10947
  if (!(container instanceof HTMLElement)) return;
@@ -10926,37 +10959,65 @@ function runUpdateContent(container, parts, subject) {
10926
10959
  if (container.matches(query)) {
10927
10960
  iterator.add(container);
10928
10961
  }
10962
+ /**
10963
+ * @type {HTMLElement} element
10964
+ */
10929
10965
 
10930
- iterator.forEach(function (key, element) {
10931
- if (mem.has(element)) return;
10932
- mem.add(element);
10933
- var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_REPLACE);
10934
- var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(attributes);
10935
- var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
10936
10966
 
10937
- _this3[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
10938
- pipe.setCallback(n, f);
10939
- });
10967
+ var _iterator6 = _createForOfIteratorHelper(iterator.entries()),
10968
+ _step6;
10940
10969
 
10941
- var value;
10970
+ try {
10971
+ var _loop2 = function _loop2() {
10972
+ var _step6$value = _slicedToArray(_step6.value, 1),
10973
+ element = _step6$value[0];
10942
10974
 
10943
- try {
10944
- element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
10945
- value = pipe.run(subject);
10946
- } catch (e) {
10947
- element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
10948
- }
10975
+ if (mem.has(element)) return {
10976
+ v: void 0
10977
+ };
10978
+ mem.add(element);
10979
+ var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_REPLACE);
10980
+ var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(attributes);
10981
+ var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
10982
+
10983
+ _this2[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
10984
+ pipe.setCallback(n, f);
10985
+ });
10949
10986
 
10950
- if (value instanceof HTMLElement) {
10951
- while (element.firstChild) {
10952
- element.removeChild(element.firstChild);
10987
+ var value = void 0;
10988
+
10989
+ try {
10990
+ element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
10991
+ value = pipe.run(subject);
10992
+ } catch (e) {
10993
+ element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
10953
10994
  }
10954
10995
 
10955
- element.addNode(value);
10956
- } else {
10957
- element.innerHTML = value;
10996
+ if (value instanceof HTMLElement) {
10997
+ while (element.firstChild) {
10998
+ element.removeChild(element.firstChild);
10999
+ }
11000
+
11001
+ try {
11002
+ element.appendChild(value);
11003
+ } catch (e) {
11004
+ element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, (element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE) + ", " + e.message).trim());
11005
+ }
11006
+ } else {
11007
+ element.innerHTML = value;
11008
+ }
11009
+ };
11010
+
11011
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
11012
+ var _ret2 = _loop2();
11013
+
11014
+ if (_typeof(_ret2) === "object") return _ret2.v;
10958
11015
  }
10959
- });
11016
+ } catch (err) {
11017
+ _iterator6.e(err);
11018
+ } finally {
11019
+ _iterator6.f();
11020
+ }
10960
11021
  }
10961
11022
  }
10962
11023
  /**
@@ -10984,7 +11045,7 @@ function updateAttributes(change) {
10984
11045
 
10985
11046
 
10986
11047
  function runUpdateAttributes(container, parts, subject) {
10987
- var _this4 = this;
11048
+ var _this3 = this;
10988
11049
 
10989
11050
  var self = this;
10990
11051
  if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_7__.isArray)(parts)) return;
@@ -10995,7 +11056,7 @@ function runUpdateAttributes(container, parts, subject) {
10995
11056
  var current = parts.join('.');
10996
11057
  parts.pop();
10997
11058
  var iterator = new Set();
10998
- var query = '[' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES + '*="path:' + current + '"], [' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES + '^="static:"]';
11059
+ var query = '[' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_SELECT_THIS + '], [' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES + '*="path:' + current + '"], [' + _dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES + '^="static:"]';
10999
11060
  var e = container.querySelectorAll(query);
11000
11061
 
11001
11062
  if (e.length > 0) {
@@ -11006,45 +11067,65 @@ function runUpdateAttributes(container, parts, subject) {
11006
11067
  iterator.add(container);
11007
11068
  }
11008
11069
 
11009
- iterator.forEach(function (key, element) {
11010
- if (mem.has(element)) return;
11011
- mem.add(element);
11012
- var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES);
11070
+ var _iterator7 = _createForOfIteratorHelper(iterator.entries()),
11071
+ _step7;
11013
11072
 
11014
- var _loop2 = function _loop2() {
11015
- var _Object$entries8$_i = _slicedToArray(_Object$entries8[_i9], 2),
11016
- def = _Object$entries8$_i[1];
11073
+ try {
11074
+ var _loop3 = function _loop3() {
11075
+ var _step7$value = _slicedToArray(_step7.value, 1),
11076
+ element = _step7$value[0];
11017
11077
 
11018
- def = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def);
11019
- var i = def.indexOf(' ');
11020
- var name = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(0, i));
11021
- var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(i));
11022
- var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
11023
- self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
11024
- pipe.setCallback(n, f, element);
11025
- });
11026
- var value = void 0;
11078
+ if (mem.has(element)) return {
11079
+ v: void 0
11080
+ };
11081
+ mem.add(element);
11082
+ var attributes = element.getAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_UPDATER_ATTRIBUTES);
11027
11083
 
11028
- try {
11029
- element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
11030
- value = pipe.run(subject);
11031
- } catch (e) {
11032
- element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
11033
- }
11084
+ var _loop4 = function _loop4() {
11085
+ var _Object$entries8$_i = _slicedToArray(_Object$entries8[_i9], 2),
11086
+ def = _Object$entries8$_i[1];
11034
11087
 
11035
- if (value === undefined) {
11036
- element.removeAttribute(name);
11037
- } else if (element.getAttribute(name) !== value) {
11038
- element.setAttribute(name, value);
11039
- }
11088
+ def = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def);
11089
+ var i = def.indexOf(' ');
11090
+ var name = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(0, i));
11091
+ var cmd = (0,_util_trimspaces_js__WEBPACK_IMPORTED_MODULE_12__.trimSpaces)(def.substr(i));
11092
+ var pipe = new _data_pipe_js__WEBPACK_IMPORTED_MODULE_3__.Pipe(cmd);
11093
+ self[_constants_js__WEBPACK_IMPORTED_MODULE_0__.internalSymbol].callbacks.forEach(function (f, n) {
11094
+ pipe.setCallback(n, f, element);
11095
+ });
11096
+ var value = void 0;
11097
+
11098
+ try {
11099
+ element.removeAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE);
11100
+ value = pipe.run(subject);
11101
+ } catch (e) {
11102
+ element.setAttribute(_dom_constants_js__WEBPACK_IMPORTED_MODULE_4__.ATTRIBUTE_ERRORMESSAGE, e.message);
11103
+ }
11040
11104
 
11041
- handleInputControlAttributeUpdate.call(_this4, element, name, value);
11105
+ if (value === undefined) {
11106
+ element.removeAttribute(name);
11107
+ } else if (element.getAttribute(name) !== value) {
11108
+ element.setAttribute(name, value);
11109
+ }
11110
+
11111
+ handleInputControlAttributeUpdate.call(_this3, element, name, value);
11112
+ };
11113
+
11114
+ for (var _i9 = 0, _Object$entries8 = Object.entries(attributes.split(',')); _i9 < _Object$entries8.length; _i9++) {
11115
+ _loop4();
11116
+ }
11042
11117
  };
11043
11118
 
11044
- for (var _i9 = 0, _Object$entries8 = Object.entries(attributes.split(',')); _i9 < _Object$entries8.length; _i9++) {
11045
- _loop2();
11119
+ for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
11120
+ var _ret3 = _loop3();
11121
+
11122
+ if (_typeof(_ret3) === "object") return _ret3.v;
11046
11123
  }
11047
- });
11124
+ } catch (err) {
11125
+ _iterator7.e(err);
11126
+ } finally {
11127
+ _iterator7.f();
11128
+ }
11048
11129
  }
11049
11130
  }
11050
11131
  /**
@@ -11095,19 +11176,23 @@ function handleInputControlAttributeUpdate(element, name, value) {
11095
11176
  } else if (element instanceof HTMLInputElement) {
11096
11177
  switch (element.type) {
11097
11178
  case 'radio':
11098
- if (name === 'checked' && value !== undefined) {
11099
- element.checked = true;
11100
- } else {
11101
- element.checked = false;
11179
+ if (name === 'checked') {
11180
+ if (value !== undefined) {
11181
+ element.checked = true;
11182
+ } else {
11183
+ element.checked = false;
11184
+ }
11102
11185
  }
11103
11186
 
11104
11187
  break;
11105
11188
 
11106
11189
  case 'checkbox':
11107
- if (name === 'checked' && value !== undefined) {
11108
- element.checked = true;
11109
- } else {
11110
- element.checked = false;
11190
+ if (name === 'checked') {
11191
+ if (value !== undefined) {
11192
+ element.checked = true;
11193
+ } else {
11194
+ element.checked = false;
11195
+ }
11111
11196
  }
11112
11197
 
11113
11198
  break;
@@ -11173,7 +11258,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
11173
11258
  *
11174
11259
  * ```
11175
11260
  * <script type="module">
11176
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11261
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11177
11262
  * Monster.Util.trimSpaces(" hello ")
11178
11263
  * </script>
11179
11264
  * ```
@@ -11182,7 +11267,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
11182
11267
  *
11183
11268
  * ```
11184
11269
  * <script type="module">
11185
- * import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/util/trimspaces.js';
11270
+ * import {trimSpaces} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/util/trimspaces.js';
11186
11271
  * trimSpaces(' hello \\ ')
11187
11272
  * </script>
11188
11273
  * ```
@@ -11260,7 +11345,8 @@ __webpack_require__.r(__webpack_exports__);
11260
11345
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11261
11346
  /* harmony export */ "Monster": function() { return /* reexport safe */ _namespace_js__WEBPACK_IMPORTED_MODULE_0__.Monster; },
11262
11347
  /* harmony export */ "findTargetElementFromEvent": function() { return /* binding */ findTargetElementFromEvent; },
11263
- /* harmony export */ "fireEvent": function() { return /* binding */ fireEvent; }
11348
+ /* harmony export */ "fireEvent": function() { return /* binding */ fireEvent; },
11349
+ /* harmony export */ "fireCustomEvent": function() { return /* binding */ fireCustomEvent; }
11264
11350
  /* harmony export */ });
11265
11351
  /* harmony import */ var _namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
11266
11352
  /* harmony import */ var _types_is_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
@@ -11286,8 +11372,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11286
11372
  *
11287
11373
  * ```
11288
11374
  * <script type="module">
11289
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11290
- * console.log(new Monster.DOM.fireEvent())
11375
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11376
+ * new Monster.DOM.fireEvent()
11291
11377
  * </script>
11292
11378
  * ```
11293
11379
  *
@@ -11295,8 +11381,8 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11295
11381
  *
11296
11382
  * ```
11297
11383
  * <script type="module">
11298
- * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/events.js';
11299
- * console.log(fireEvent())
11384
+ * import {fireEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/events.js';
11385
+ * fireEvent()
11300
11386
  * </script>
11301
11387
  * ```
11302
11388
  *
@@ -11342,6 +11428,70 @@ function fireEvent(element, type) {
11342
11428
  throw new TypeError('value is not an instance of HTMLElement or HTMLCollection');
11343
11429
  }
11344
11430
  }
11431
+ /**
11432
+ * You can call the function via the monster namespace `new Monster.DOM.fireCustomEvent()`.
11433
+ *
11434
+ * ```
11435
+ * <script type="module">
11436
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11437
+ * new Monster.DOM.fireCustomEvent()
11438
+ * </script>
11439
+ * ```
11440
+ *
11441
+ * Alternatively, you can also integrate this function individually.
11442
+ *
11443
+ * ```
11444
+ * <script type="module">
11445
+ * import {fireCustomEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/events.js';
11446
+ * fireCustomEvent()
11447
+ * </script>
11448
+ * ```
11449
+ *
11450
+ * @param {HTMLElement|HTMLCollection|NodeList} element
11451
+ * @param {string} type
11452
+ * @return {void}
11453
+ * @since 1.29.0
11454
+ * @copyright schukai GmbH
11455
+ * @memberOf Monster.DOM
11456
+ * @throws {TypeError} value is not an instance of HTMLElement or HTMLCollection
11457
+ * @summary Construct and send and event
11458
+ */
11459
+
11460
+
11461
+ function fireCustomEvent(element, type, detail) {
11462
+ var document = (0,_util_js__WEBPACK_IMPORTED_MODULE_3__.getDocument)();
11463
+
11464
+ if (element instanceof HTMLElement) {
11465
+ if (!(0,_types_is_js__WEBPACK_IMPORTED_MODULE_1__.isObject)(detail)) {
11466
+ detail = {
11467
+ detail: detail
11468
+ };
11469
+ }
11470
+
11471
+ var event = new CustomEvent((0,_types_validate_js__WEBPACK_IMPORTED_MODULE_2__.validateString)(type), {
11472
+ bubbles: true,
11473
+ cancelable: true,
11474
+ detail: detail
11475
+ });
11476
+ element.dispatchEvent(event);
11477
+ } else if (element instanceof HTMLCollection || element instanceof NodeList) {
11478
+ var _iterator2 = _createForOfIteratorHelper(element),
11479
+ _step2;
11480
+
11481
+ try {
11482
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
11483
+ var e = _step2.value;
11484
+ fireCustomEvent(e, type, detail);
11485
+ }
11486
+ } catch (err) {
11487
+ _iterator2.e(err);
11488
+ } finally {
11489
+ _iterator2.f();
11490
+ }
11491
+ } else {
11492
+ throw new TypeError('value is not an instance of HTMLElement or HTMLCollection');
11493
+ }
11494
+ }
11345
11495
  /**
11346
11496
  * This function gets the path `Event.composedPath()` from an event and tries to find the next element
11347
11497
  * up the tree `element.closest()` with the attribute and value. If no value, or a value that is undefined or null,
@@ -11351,7 +11501,7 @@ function fireEvent(element, type) {
11351
11501
  *
11352
11502
  * ```
11353
11503
  * <script type="module">
11354
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11504
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11355
11505
  * new Monster.DOM.findTargetElementFromEvent()
11356
11506
  * </script>
11357
11507
  * ```
@@ -11360,7 +11510,7 @@ function fireEvent(element, type) {
11360
11510
  *
11361
11511
  * ```
11362
11512
  * <script type="module">
11363
- * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/events.js';
11513
+ * import {findTargetElementFromEvent} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/events.js';
11364
11514
  * findTargetElementFromEvent()
11365
11515
  * </script>
11366
11516
  * ```
@@ -11399,7 +11549,7 @@ function findTargetElementFromEvent(event, attributeName, attributeValue) {
11399
11549
  return undefined;
11400
11550
  }
11401
11551
 
11402
- (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.DOM', findTargetElementFromEvent, fireEvent);
11552
+ (0,_namespace_js__WEBPACK_IMPORTED_MODULE_0__.assignToNamespace)('Monster.DOM', findTargetElementFromEvent, fireEvent, fireCustomEvent);
11403
11553
 
11404
11554
 
11405
11555
  /***/ }),
@@ -11431,7 +11581,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
11431
11581
  *
11432
11582
  * ```
11433
11583
  * <script type="module">
11434
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11584
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11435
11585
  * console.log(Monster.DOM.getDocument())
11436
11586
  * </script>
11437
11587
  * ```
@@ -11440,7 +11590,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
11440
11590
  *
11441
11591
  * ```
11442
11592
  * <script type="module">
11443
- * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/util.js';
11593
+ * import {getDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/util.js';
11444
11594
  * console.log(getDocument())
11445
11595
  * </script>
11446
11596
  * ```
@@ -11495,7 +11645,7 @@ function getDocument() {
11495
11645
  *
11496
11646
  * ```
11497
11647
  * <script type="module">
11498
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11648
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11499
11649
  * console.log(Monster.DOM.getWindow())
11500
11650
  * </script>
11501
11651
  * ```
@@ -11504,7 +11654,7 @@ function getDocument() {
11504
11654
  *
11505
11655
  * ```
11506
11656
  * <script type="module">
11507
- * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/util.js';
11657
+ * import {getWindow} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/util.js';
11508
11658
  * console.log(getWindow(null))
11509
11659
  * </script>
11510
11660
  * ```
@@ -11564,7 +11714,7 @@ function getWindow() {
11564
11714
  *
11565
11715
  * ```
11566
11716
  * <script type="module">
11567
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11717
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11568
11718
  * console.log(Monster.DOM.getDocumentFragmentFromString())
11569
11719
  * </script>
11570
11720
  * ```
@@ -11573,7 +11723,7 @@ function getWindow() {
11573
11723
  *
11574
11724
  * ```
11575
11725
  * <script type="module">
11576
- * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/util.js';
11726
+ * import {getDocumentFragmentFromString} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/util.js';
11577
11727
  * console.log(getDocumentFragmentFromString('<div></div>'))
11578
11728
  * </script>
11579
11729
  * ```
@@ -11663,7 +11813,7 @@ var DEFAULT_LANGUAGE = 'en';
11663
11813
  *
11664
11814
  * ```
11665
11815
  * <script type="module">
11666
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11816
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11667
11817
  * new Monster.DOM.getLocaleOfDocument()
11668
11818
  * </script>
11669
11819
  * ```
@@ -11672,7 +11822,7 @@ var DEFAULT_LANGUAGE = 'en';
11672
11822
  *
11673
11823
  * ```
11674
11824
  * <script type="module">
11675
- * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/dom/locale.js';
11825
+ * import {getLocaleOfDocument} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/dom/locale.js';
11676
11826
  * new getLocaleOfDocument()
11677
11827
  * </script>
11678
11828
  * ```
@@ -11765,7 +11915,7 @@ var localeStringSymbol = Symbol('localeString');
11765
11915
  *
11766
11916
  * ```
11767
11917
  * <script type="module">
11768
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
11918
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11769
11919
  * new Monster.I18n.Locale()
11770
11920
  * </script>
11771
11921
  * ```
@@ -11774,7 +11924,7 @@ var localeStringSymbol = Symbol('localeString');
11774
11924
  *
11775
11925
  * ```
11776
11926
  * <script type="module">
11777
- * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/locale.js';
11927
+ * import {Locale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/locale.js';
11778
11928
  * new Locale()
11779
11929
  * </script>
11780
11930
  * ```
@@ -11967,7 +12117,7 @@ var Locale = /*#__PURE__*/function (_Base) {
11967
12117
  *
11968
12118
  * ```
11969
12119
  * <script type="module">
11970
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
12120
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
11971
12121
  * new Monster.I18n.createLocale()
11972
12122
  * </script>
11973
12123
  * ```
@@ -11976,7 +12126,7 @@ var Locale = /*#__PURE__*/function (_Base) {
11976
12126
  *
11977
12127
  * ```
11978
12128
  * <script type="module">
11979
- * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/locale.js';
12129
+ * import {createLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/locale.js';
11980
12130
  * createLocale()
11981
12131
  * </script>
11982
12132
  * ```
@@ -12152,7 +12302,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12152
12302
  *
12153
12303
  * ```
12154
12304
  * <script type="module">
12155
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
12305
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
12156
12306
  * new Monster.I18n.Provider()
12157
12307
  * </script>
12158
12308
  * ```
@@ -12161,7 +12311,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12161
12311
  *
12162
12312
  * ```
12163
12313
  * <script type="module">
12164
- * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/provider.js';
12314
+ * import {Provider} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/provider.js';
12165
12315
  * new Provider()
12166
12316
  * </script>
12167
12317
  * ```
@@ -12258,24 +12408,39 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12258
12408
  /**
12259
12409
  * This is the base class with options from which some monster classes are derived.
12260
12410
  *
12261
- * You can call the method via the monster namespace `new Monster.Types.BaseWithOptions()`.
12411
+ * This class is actually only used as a base class.
12412
+ *
12413
+ * However, you can also create an instance directly via the monster namespace `new Monster.Types.BaseWithOptions()`.
12262
12414
  *
12263
- * ```
12415
+ * ```html
12264
12416
  * <script type="module">
12265
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
12417
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
12266
12418
  * new Monster.Types.BaseWithOptions()
12267
12419
  * </script>
12268
12420
  * ```
12269
12421
  *
12270
12422
  * Alternatively, you can also integrate this function individually.
12271
12423
  *
12272
- * ```
12424
+ * ```html
12273
12425
  * <script type="module">
12274
- * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/basewithoptions.js';
12426
+ * import {BaseWithOptions} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/basewithoptions.js';
12275
12427
  * new BaseWithOptions()
12276
12428
  * </script>
12277
12429
  * ```
12430
+ *
12431
+ * Classes that require the possibility of options can be derived directly from this class.
12432
+ * Derived classes almost always override the `defaul` getter with their own values.
12278
12433
  *
12434
+ * ```javascript
12435
+ * class My extends BaseWithOptions {
12436
+ * get defaults() {
12437
+ * return Object.assign({}, super.defaults, {
12438
+ * mykey: true
12439
+ * });
12440
+ * }
12441
+ * }
12442
+ * ```
12443
+ *
12279
12444
  * The class was formerly called Object.
12280
12445
  *
12281
12446
  * @since 1.13.0
@@ -12307,7 +12472,18 @@ var BaseWithOptions = /*#__PURE__*/function (_Base) {
12307
12472
  return _this;
12308
12473
  }
12309
12474
  /**
12310
- * can be overridden by child class values
12475
+ * This getter provides the options. Derived classes overwrite
12476
+ * this getter with their own values. It is good karma to always include
12477
+ * the values from the parent class.
12478
+ *
12479
+ * ```javascript
12480
+ * get defaults() {
12481
+ * return Object.assign({}, super.defaults, {
12482
+ * mykey: true
12483
+ * });
12484
+ * }
12485
+ *
12486
+ * ```
12311
12487
  *
12312
12488
  * @return {object}
12313
12489
  */
@@ -12412,7 +12588,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12412
12588
  *
12413
12589
  * ```
12414
12590
  * <script type="module">
12415
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
12591
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
12416
12592
  * new Monster.I18n.Translations()
12417
12593
  * </script>
12418
12594
  * ```
@@ -12421,15 +12597,15 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12421
12597
  *
12422
12598
  * ```
12423
12599
  * <script type="module">
12424
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/translations.js';
12600
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/translations.js';
12425
12601
  * new Translations()
12426
12602
  * </script>
12427
12603
  * ```
12428
12604
  *
12429
12605
  * @example
12430
12606
  *
12431
- * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/translations.js';
12432
- * import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/locale.js';
12607
+ * import {Translations} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/translations.js';
12608
+ * import {parseLocale} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/locale.js';
12433
12609
  *
12434
12610
  * const translation = new Translations(parseLocale('en-GB'));
12435
12611
  *
@@ -12701,7 +12877,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12701
12877
  *
12702
12878
  * ```
12703
12879
  * <script type="module">
12704
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
12880
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
12705
12881
  * new Monster.I18n.Providers.Fetch()
12706
12882
  * </script>
12707
12883
  * ```
@@ -12710,14 +12886,14 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
12710
12886
  *
12711
12887
  * ```
12712
12888
  * <script type="module">
12713
- * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/providers/fetch.js';
12889
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/providers/fetch.js';
12714
12890
  * new Fetch()
12715
12891
  * </script>
12716
12892
  * ```
12717
12893
  *
12718
12894
  * @example <caption>das ist ein test</caption>
12719
12895
  *
12720
- * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/i18n/providers/fetch.js';
12896
+ * import {Fetch} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/i18n/providers/fetch.js';
12721
12897
  *
12722
12898
  * // fetch from API
12723
12899
  * const translation = new Fetch('https://example.com/${language}.json').getTranslation('en-GB');
@@ -12947,7 +13123,7 @@ var workingDataSymbol = Symbol('workingData');
12947
13123
  *
12948
13124
  * ```
12949
13125
  * <script type="module">
12950
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
13126
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
12951
13127
  * new Monster.Text.Formatter()
12952
13128
  * </script>
12953
13129
  * ```
@@ -12956,7 +13132,7 @@ var workingDataSymbol = Symbol('workingData');
12956
13132
  *
12957
13133
  * ```
12958
13134
  * <script type="module">
12959
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/text/formatter.js';
13135
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/text/formatter.js';
12960
13136
  * new Formatter()
12961
13137
  * </script>
12962
13138
  * ```
@@ -13001,7 +13177,7 @@ var workingDataSymbol = Symbol('workingData');
13001
13177
  *
13002
13178
  * @example
13003
13179
  *
13004
- * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/text/formatter.js';
13180
+ * import {Formatter} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/text/formatter.js';
13005
13181
  *
13006
13182
  * new Formatter({
13007
13183
  * a: {
@@ -13346,7 +13522,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13346
13522
  *
13347
13523
  * ```
13348
13524
  * <script type="module">
13349
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
13525
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
13350
13526
  * console.log(new Monster.Logging.Handler())
13351
13527
  * </script>
13352
13528
  * ```
@@ -13355,7 +13531,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13355
13531
  *
13356
13532
  * ```
13357
13533
  * <script type="module">
13358
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/logging/handler.js';
13534
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/logging/handler.js';
13359
13535
  * console.log(new Handler())
13360
13536
  * </script>
13361
13537
  * ```
@@ -13593,7 +13769,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13593
13769
  *
13594
13770
  * ```
13595
13771
  * <script type="module">
13596
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
13772
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
13597
13773
  * console.log(new Monster.Logging.LogEntry())
13598
13774
  * </script>
13599
13775
  * ```
@@ -13602,7 +13778,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
13602
13778
  *
13603
13779
  * ```
13604
13780
  * <script type="module">
13605
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/logging/logentry.js';
13781
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/logging/logentry.js';
13606
13782
  * console.log(new LogEntry())
13607
13783
  * </script>
13608
13784
  * ```
@@ -13788,7 +13964,7 @@ var OFF = 0;
13788
13964
  *
13789
13965
  * ```
13790
13966
  * <script type="module">
13791
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
13967
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
13792
13968
  * new Monster.Logging.Logger()
13793
13969
  * </script>
13794
13970
  * ```
@@ -13797,7 +13973,7 @@ var OFF = 0;
13797
13973
  *
13798
13974
  * ```
13799
13975
  * <script type="module">
13800
- * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/logging/logger.js';
13976
+ * import {ID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/logging/logger.js';
13801
13977
  * new Logger()
13802
13978
  * </script>
13803
13979
  * ```
@@ -14097,7 +14273,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14097
14273
  *
14098
14274
  * ```
14099
14275
  * <script type="module">
14100
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
14276
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
14101
14277
  * console.log(new Monster.Logging.Handler.ConsoleHandler())
14102
14278
  * </script>
14103
14279
  * ```
@@ -14106,7 +14282,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14106
14282
  *
14107
14283
  * ```
14108
14284
  * <script type="module">
14109
- * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/logging/handler/console.js';
14285
+ * import {ConsoleHandler} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/logging/handler/console.js';
14110
14286
  * console.log(new ConsoleHandler())
14111
14287
  * </script>
14112
14288
  * ```
@@ -14182,7 +14358,7 @@ __webpack_require__.r(__webpack_exports__);
14182
14358
  *
14183
14359
  * ```
14184
14360
  * <script type="module">
14185
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
14361
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
14186
14362
  * Monster.Math.random(1,10)
14187
14363
  * // ↦ 5
14188
14364
  * </script>
@@ -14192,7 +14368,7 @@ __webpack_require__.r(__webpack_exports__);
14192
14368
  *
14193
14369
  * ```
14194
14370
  * <script type="module">
14195
- * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/math/random.js';
14371
+ * import {random} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/math/random.js';
14196
14372
  * random(1,10)
14197
14373
  * // ↦ 5
14198
14374
  * </script>
@@ -14349,7 +14525,7 @@ var internalCounter = 0;
14349
14525
  *
14350
14526
  * ```
14351
14527
  * <script type="module">
14352
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
14528
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
14353
14529
  * console.log(new Monster.Types.RandomID())
14354
14530
  * </script>
14355
14531
  * ```
@@ -14358,7 +14534,7 @@ var internalCounter = 0;
14358
14534
  *
14359
14535
  * ```
14360
14536
  * <script type="module">
14361
- * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/randomid.js';
14537
+ * import {RandomID} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/randomid.js';
14362
14538
  * console.log(new RandomID())
14363
14539
  * </script>
14364
14540
  * ```
@@ -14441,7 +14617,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14441
14617
  *
14442
14618
  * ```
14443
14619
  * <script type="module">
14444
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
14620
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
14445
14621
  * console.log(new Monster.Types.Version('1.2.3')) // ↦ 1.2.3
14446
14622
  * console.log(new Monster.Types.Version('1')) // ↦ 1.0.0
14447
14623
  * </script>
@@ -14451,7 +14627,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14451
14627
  *
14452
14628
  * ```
14453
14629
  * <script type="module">
14454
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/version.js';
14630
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/version.js';
14455
14631
  * console.log(new Version('1.2.3')) // ↦ 1.2.3
14456
14632
  * console.log(new Version('1')) // ↦ 1.0.0
14457
14633
  * </script>
@@ -14459,7 +14635,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14459
14635
  *
14460
14636
  * @example
14461
14637
  *
14462
- * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/version.js';
14638
+ * import {Version} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/version.js';
14463
14639
  *
14464
14640
  * new Version('1.0.0') // ↦ 1.0.0
14465
14641
  * new Version(1) // ↦ 1.0.0
@@ -14593,7 +14769,7 @@ var monsterVersion;
14593
14769
  *
14594
14770
  * ```
14595
14771
  * <script type="module">
14596
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
14772
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
14597
14773
  * console.log(Monster.getVersion())
14598
14774
  * </script>
14599
14775
  * ```
@@ -14602,7 +14778,7 @@ var monsterVersion;
14602
14778
  *
14603
14779
  * ```
14604
14780
  * <script type="module">
14605
- * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/types/version.js';
14781
+ * import {getVersion} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/types/version.js';
14606
14782
  * console.log(getVersion())
14607
14783
  * </script>
14608
14784
  * ```
@@ -14621,7 +14797,7 @@ function getVersion() {
14621
14797
  /**#@+ dont touch, replaced by make with package.json version */
14622
14798
 
14623
14799
 
14624
- monsterVersion = new Version('1.27.0');
14800
+ monsterVersion = new Version('1.29.1');
14625
14801
  /**#@-*/
14626
14802
 
14627
14803
  return monsterVersion;
@@ -14677,7 +14853,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14677
14853
  *
14678
14854
  * ```
14679
14855
  * <script type="module">
14680
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
14856
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
14681
14857
  * new Monster.Util.Comparator()
14682
14858
  * </script>
14683
14859
  * ```
@@ -14686,7 +14862,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14686
14862
  *
14687
14863
  * ```
14688
14864
  * <script type="module">
14689
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/util/comparator.js';
14865
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/util/comparator.js';
14690
14866
  * console.log(new Comparator())
14691
14867
  * </script>
14692
14868
  * ```
@@ -14711,7 +14887,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
14711
14887
  *
14712
14888
  * @example
14713
14889
  *
14714
- * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/util/comparator.js';
14890
+ * import {Comparator} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/util/comparator.js';
14715
14891
  *
14716
14892
  * console.log(new Comparator().lessThanOrEqual(2, 5))
14717
14893
  * // ↦ true
@@ -14924,7 +15100,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
14924
15100
  *
14925
15101
  * ```
14926
15102
  * <script type="module">
14927
- * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/monster.js';
15103
+ * import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/monster.js';
14928
15104
  * Monster.Util.deepFreeze({})
14929
15105
  * </script>
14930
15106
  * ```
@@ -14933,7 +15109,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
14933
15109
  *
14934
15110
  * ```
14935
15111
  * <script type="module">
14936
- * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.27.0/dist/modules/util/freeze.js';
15112
+ * import {deepFreeze} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.29.1/dist/modules/util/freeze.js';
14937
15113
  * deepFreeze({})
14938
15114
  * </script>
14939
15115
  * ```