clientnode 4.0.1441 → 4.0.1443

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/dist/Lock.d.ts +39 -0
  2. package/dist/Lock.js +69 -83
  3. package/dist/Logger.d.ts +102 -0
  4. package/dist/Logger.js +756 -163
  5. package/dist/Semaphore.d.ts +29 -0
  6. package/dist/Semaphore.js +56 -46
  7. package/dist/array.d.ts +150 -0
  8. package/dist/array.js +661 -337
  9. package/dist/bundle/Lock.js +86 -0
  10. package/dist/bundle/Logger.js +778 -0
  11. package/dist/bundle/Semaphore.js +75 -0
  12. package/dist/bundle/array.js +776 -0
  13. package/dist/bundle/cli.js +59 -0
  14. package/dist/bundle/constants.js +214 -0
  15. package/dist/bundle/context.js +280 -0
  16. package/dist/bundle/cookie.js +301 -0
  17. package/dist/bundle/data-transfer.js +825 -0
  18. package/dist/bundle/datetime.js +1148 -0
  19. package/dist/bundle/domNode.js +549 -0
  20. package/dist/bundle/expression/evaluators.js +1228 -0
  21. package/dist/bundle/expression/helper.js +117 -0
  22. package/dist/bundle/expression/index.js +1357 -0
  23. package/dist/bundle/expression/indicator-functions.js +332 -0
  24. package/dist/bundle/expression/type.js +16 -0
  25. package/dist/bundle/filesystem.js +436 -0
  26. package/dist/bundle/function.js +117 -0
  27. package/dist/bundle/index.js +3249 -0
  28. package/dist/bundle/indicators.js +565 -0
  29. package/dist/bundle/module.js +213 -0
  30. package/dist/bundle/number.js +527 -0
  31. package/dist/bundle/object.js +1104 -0
  32. package/dist/bundle/process.js +291 -0
  33. package/dist/bundle/property-types.js +36 -0
  34. package/dist/bundle/scope.js +2121 -0
  35. package/dist/bundle/string.js +1213 -0
  36. package/dist/bundle/test-helper.js +802 -0
  37. package/dist/bundle/type.js +16 -0
  38. package/dist/bundle/utility.js +420 -0
  39. package/dist/cli.d.ts +31 -0
  40. package/dist/cli.js +45 -37
  41. package/dist/compatible/Lock.js +86 -0
  42. package/dist/compatible/Logger.js +778 -0
  43. package/dist/compatible/Semaphore.js +75 -0
  44. package/dist/compatible/array.js +776 -0
  45. package/dist/compatible/cli.js +59 -0
  46. package/dist/compatible/constants.js +214 -0
  47. package/dist/compatible/context.js +280 -0
  48. package/dist/compatible/cookie.js +301 -0
  49. package/dist/compatible/data-transfer.js +825 -0
  50. package/dist/compatible/datetime.js +1148 -0
  51. package/dist/compatible/domNode.js +549 -0
  52. package/dist/compatible/expression/evaluators.js +1228 -0
  53. package/dist/compatible/expression/helper.js +117 -0
  54. package/dist/compatible/expression/index.js +1357 -0
  55. package/dist/compatible/expression/indicator-functions.js +332 -0
  56. package/dist/compatible/expression/type.js +16 -0
  57. package/dist/compatible/filesystem.js +436 -0
  58. package/dist/compatible/function.js +117 -0
  59. package/dist/compatible/index.js +3249 -0
  60. package/dist/compatible/indicators.js +565 -0
  61. package/dist/compatible/module.js +213 -0
  62. package/dist/compatible/number.js +527 -0
  63. package/dist/compatible/object.js +1104 -0
  64. package/dist/compatible/process.js +291 -0
  65. package/dist/compatible/property-types.js +36 -0
  66. package/dist/compatible/scope.js +2121 -0
  67. package/dist/compatible/string.js +1213 -0
  68. package/dist/compatible/test-helper.js +802 -0
  69. package/dist/compatible/type.js +16 -0
  70. package/dist/compatible/utility.js +420 -0
  71. package/dist/constants.d.ts +99 -0
  72. package/dist/constants.js +198 -110
  73. package/dist/context.d.ts +8 -0
  74. package/dist/context.js +265 -25
  75. package/dist/cookie.d.ts +31 -0
  76. package/dist/cookie.js +265 -48
  77. package/dist/data-transfer.d.ts +45 -0
  78. package/dist/data-transfer.js +775 -166
  79. package/dist/datetime.d.ts +37 -0
  80. package/dist/datetime.js +1107 -241
  81. package/dist/domNode.d.ts +82 -0
  82. package/dist/domNode.js +495 -277
  83. package/dist/expression/evaluators.d.ts +55 -0
  84. package/dist/expression/evaluators.js +1189 -234
  85. package/dist/expression/helper.d.ts +4 -0
  86. package/dist/expression/helper.js +102 -82
  87. package/dist/expression/index.d.ts +7 -0
  88. package/dist/expression/index.js +1341 -10
  89. package/dist/expression/indicator-functions.d.ts +14 -0
  90. package/dist/expression/indicator-functions.js +316 -21
  91. package/dist/expression/type.d.ts +70 -0
  92. package/dist/expression/type.js +1 -5
  93. package/dist/filesystem.d.ts +143 -0
  94. package/dist/filesystem.js +349 -323
  95. package/dist/function.d.ts +20 -0
  96. package/dist/function.js +93 -51
  97. package/dist/index.d.ts +23 -0
  98. package/dist/index.js +3232 -26
  99. package/dist/indicators.d.ts +68 -0
  100. package/dist/indicators.js +512 -68
  101. package/dist/module.d.ts +8 -0
  102. package/dist/module.js +197 -99
  103. package/dist/number.d.ts +35 -0
  104. package/dist/number.js +491 -25
  105. package/dist/object.d.ts +231 -0
  106. package/dist/object.js +917 -775
  107. package/dist/process.d.ts +22 -0
  108. package/dist/process.js +261 -38
  109. package/dist/property-types.d.ts +460 -0
  110. package/dist/property-types.js +17 -96
  111. package/dist/scope.d.ts +44 -0
  112. package/dist/scope.js +2092 -56
  113. package/dist/string.d.ts +312 -0
  114. package/dist/string.js +991 -603
  115. package/dist/test/Lock.d.ts +1 -0
  116. package/dist/test/Logger.d.ts +1 -0
  117. package/dist/test/Semaphore.d.ts +1 -0
  118. package/dist/test/array.d.ts +1 -0
  119. package/dist/test/cookie.d.ts +1 -0
  120. package/dist/test/data-transfer.d.ts +1 -0
  121. package/dist/test/datetime.d.ts +1 -0
  122. package/dist/test/domNode.d.ts +1 -0
  123. package/dist/test/expression/evaluators.d.ts +1 -0
  124. package/dist/test/expression/helper.d.ts +1 -0
  125. package/dist/test/expression/indicator-functions.d.ts +1 -0
  126. package/dist/test/filesystem.d.ts +1 -0
  127. package/dist/test/function.d.ts +1 -0
  128. package/dist/test/indicators.d.ts +1 -0
  129. package/dist/test/number.d.ts +1 -0
  130. package/dist/test/object.d.ts +1 -0
  131. package/dist/test/process.d.ts +1 -0
  132. package/dist/test/property-types.d.ts +1 -0
  133. package/dist/test/scope.d.ts +1 -0
  134. package/dist/test/string.d.ts +1 -0
  135. package/dist/test/utility.d.ts +1 -0
  136. package/dist/test-helper.d.ts +143 -0
  137. package/dist/test-helper.js +633 -171
  138. package/dist/type.d.ts +230 -0
  139. package/dist/type.js +4 -9
  140. package/dist/utility.d.ts +44 -0
  141. package/dist/utility.js +372 -91
  142. package/package.json +3 -3
package/dist/utility.js CHANGED
@@ -1,9 +1,149 @@
1
+ if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;import * as __WEBPACK_EXTERNAL_MODULE_core_js_modules_es_array_includes_js_66c3fd7d__ from "core-js/modules/es.array.includes.js";
2
+ /******/ var __webpack_modules__ = ([
3
+ /* 0 */
4
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
5
+
6
+ var x = function(y) {
7
+ var x = {}; __webpack_require__.d(x, y); return x
8
+ }
9
+ var y = function(x) { return function() { return x; }; }
10
+ module.exports = x({ });
11
+
12
+ /***/ }),
13
+ /* 1 */,
14
+ /* 2 */,
15
+ /* 3 */
16
+ /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
17
+
18
+ __webpack_require__.a(__webpack_module__, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {
19
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20
+ /* harmony export */ Tn: function() { return /* binding */ isFunction; }
21
+ /* harmony export */ });
22
+ /* unused harmony exports isNumeric, isWindow, isArrayLike, isAnyMatching, isObject, isPlainObject, isSet, isMap, isProxy */
23
+ /* unused harmony import specifier */ var PLAIN_OBJECT_PROTOTYPES;
24
+ /* unused harmony import specifier */ var determineType;
25
+ /* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
1
26
  // #!/usr/bin/env babel-node
2
27
  // -*- coding: utf-8 -*-
3
- /** @module utility */
4
- 'use strict';
28
+ /** @module indicators *//* !
29
+ region header
30
+ [Project page](https://torben.website/clientnode)
31
+
32
+ Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
33
+
34
+ License
35
+ -------
36
+
37
+ This library written by Torben Sickert stands under a creative commons
38
+ naming 3.0 unported license.
39
+ See https://creativecommons.org/licenses/by/3.0/deed.de
40
+ endregion
41
+ */function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}/**
42
+ * Determines whether its argument represents a JavaScript number.
43
+ * @param value - Value to analyze.
44
+ * @returns A boolean value indicating whether given object is numeric
45
+ * like.
46
+ */var isNumeric=function isNumeric(value){var type=determineType(value);/*
47
+ NOTE: "parseFloat" "NaNs" numeric-cast false positives ("") but
48
+ misinterprets leading-number strings, particularly hex literals
49
+ ("0x...") subtraction forces infinities to NaN.
50
+ */return["number","string"].includes(type)&&!isNaN(value-parseFloat(value))};/**
51
+ * Determine whether the argument is a window.
52
+ * @param value - Value to check for.
53
+ * @returns Boolean value indicating the result.
54
+ */var isWindow=function isWindow(value){return![null,undefined].includes(value)&&_typeof(value)==="object"&&value===(value===null||value===void 0?void 0:value.window)};/**
55
+ * Checks if given object is similar to an array and can be handled like an
56
+ * array.
57
+ * @param object - Object to check behavior for.
58
+ * @returns A boolean value indicating whether given object is array like.
59
+ */var isArrayLike=function isArrayLike(object){var length;try{length=Boolean(object)&&object.length}catch(_unused){return false}var type=determineType(object);if(type==="function"||isWindow(object))return false;if(type==="array"||length===0)return true;if(typeof length==="number"&&length>0)try{var _dump=object[length-1];return true}catch(_unused2){// Continue regardless of an error.
60
+ }return false};/**
61
+ * Checks whether one of the given pattern matches given string.
62
+ * @param target - Target to check in pattern for.
63
+ * @param pattern - List of pattern to check for.
64
+ * @returns Value "true" if given object is matches by at leas one of the
65
+ * given pattern and "false" otherwise.
66
+ */var isAnyMatching=function isAnyMatching(target,pattern){var _iterator=_createForOfIteratorHelper(pattern),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var currentPattern=_step.value;if(typeof currentPattern==="string"){if(currentPattern===target)return true}else if(currentPattern.test(target))return true}}catch(err){_iterator.e(err)}finally{_iterator.f()}return false};/**
67
+ * Checks whether given object is a native object but not null.
68
+ * @param value - Value to check.
69
+ * @returns Value "true" if given object is a plain javaScript object and
70
+ * "false" otherwise.
71
+ */var isObject=function isObject(value){return value!==null&&_typeof(value)==="object"};/**
72
+ * Checks whether given object is a plain native object.
73
+ * @param value - Value to check.
74
+ * @returns Value "true" if given object is a plain javaScript object and
75
+ * "false" otherwise.
76
+ */var isPlainObject=function isPlainObject(value){return isObject(value)&&PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(value))};/**
77
+ * Checks whether given object is a set.
78
+ * @param value - Value to check.
79
+ * @returns Value "true" if given object is a set and "false" otherwise.
80
+ */var isSet=function isSet(value){return determineType(value)==="set"};/**
81
+ * Checks whether given object is a map.
82
+ * @param value - Value to check.
83
+ * @returns Value "true" if given object is a map and "false" otherwise.
84
+ */var isMap=function isMap(value){return determineType(value)==="map"};/**
85
+ * Checks whether given object is a proxy.
86
+ * @param value - Value to check.
87
+ * @returns Value "true" if given object is a proxy and "false" otherwise.
88
+ */var isProxy=function isProxy(value){return Boolean(value.__target__)};/**
89
+ * Checks whether given object is a function.
90
+ * @param value - Value to check.
91
+ * @returns Value "true" if given object is a function and "false"
92
+ * otherwise.
93
+ */var isFunction=function isFunction(value){return Boolean(value)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(value))};
94
+ __webpack_async_result__();
95
+ } catch(e) { __webpack_async_result__(e); } });
96
+
97
+ /***/ }),
98
+ /* 4 */
99
+ /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
100
+
101
+ __webpack_require__.a(__webpack_module__, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {
102
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
103
+ /* harmony export */ tE: function() { return /* binding */ NOOP; }
104
+ /* harmony export */ });
105
+ /* unused harmony exports globalContext, setGlobalContext, MAXIMAL_NUMBER_OF_ITERATIONS, mockConsole */
106
+ /* unused harmony import specifier */ var CONSOLE_METHODS;
107
+ /* harmony import */ var _module_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5);
108
+ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_module_js__WEBPACK_IMPORTED_MODULE_0__]);
109
+ var __webpack_async_dependencies_result__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
110
+ _module_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_async_dependencies_result__[0];
111
+ // #!/usr/bin/env babel-node
112
+ // -*- coding: utf-8 -*-
113
+ /** @module context *//* !
114
+ region header
115
+ [Project page](https://torben.website/clientnode)
116
+
117
+ Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
118
+
119
+ License
120
+ -------
121
+
122
+ This library written by Torben Sickert stands under a creative commons
123
+ naming 3.0 unported license.
124
+ See https://creativecommons.org/licenses/by/3.0/deed.de
125
+ endregion
126
+ */var _optionalRequire$defa,_optionalRequire;function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]}},e:function e(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,u=!1;return{s:function s(){t=t.call(r)},n:function n(){var r=t.next();return a=r.done,r},e:function e(r){u=!0,o=r},f:function f(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}var globalContext=(0,_module_js__WEBPACK_IMPORTED_MODULE_0__/* .determineGlobalContext */ .a8)();var setGlobalContext=function setGlobalContext(context){globalContext=context};globalContext.fetch=globalContext.fetch?globalContext.fetch.bind(globalContext):(_optionalRequire$defa=(_optionalRequire=(0,_module_js__WEBPACK_IMPORTED_MODULE_0__/* .optionalRequire */ .I5)("node-fetch"))===null||_optionalRequire===void 0?void 0:_optionalRequire.default)!==null&&_optionalRequire$defa!==void 0?_optionalRequire$defa:function(){for(var _len=arguments.length,parameters=new Array(_len),_key=0;_key<_len;_key++){parameters[_key]=arguments[_key]}return (0,_module_js__WEBPACK_IMPORTED_MODULE_0__/* .optionalImport */ .Sw)(/* webpackIgnore: true */"node-fetch").then(function(module){var _ref;return(_ref=module).default.apply(_ref,parameters)})};var MAXIMAL_NUMBER_OF_ITERATIONS=(/* unused pure expression or super */ null && ({value:100}));// A no-op dummy function.
127
+ var NOOP=function NOOP(){// Do nothing.
128
+ };var mockConsole=function mockConsole(){// Avoid errors in browsers that lack a console.
129
+ if(!Object.prototype.hasOwnProperty.call(globalContext,"console"))globalContext.console={};if(!globalContext.console)globalContext.console={};var _iterator=_createForOfIteratorHelper(CONSOLE_METHODS),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var methodName=_step.value;if(!(methodName in globalContext.console))globalContext.console[methodName]=NOOP}}catch(err){_iterator.e(err)}finally{_iterator.f()}};
130
+ __webpack_async_result__();
131
+ } catch(e) { __webpack_async_result__(e); } });
132
+
133
+ /***/ }),
134
+ /* 5 */
135
+ /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
5
136
 
6
- /* !
137
+ __webpack_require__.a(__webpack_module__, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {
138
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
139
+ /* harmony export */ I5: function() { return /* binding */ optionalRequire; },
140
+ /* harmony export */ Sw: function() { return /* binding */ optionalImport; },
141
+ /* harmony export */ a8: function() { return /* binding */ determineGlobalContext; }
142
+ /* harmony export */ });
143
+ /* unused harmony exports isImportSyntaxSupported, currentRequire, clearRequireCache, isolatedRequire */
144
+ // #!/usr/bin/env babel-node
145
+ // -*- coding: utf-8 -*-
146
+ /** @module module *//* !
7
147
  region header
8
148
  [Project page](https://torben.website/clientnode)
9
149
 
@@ -16,11 +156,64 @@
16
156
  naming 3.0 unported license.
17
157
  See https://creativecommons.org/licenses/by/3.0/deed.de
18
158
  endregion
19
- */
20
- import { NOOP } from "./context.js";
21
- import { isFunction } from "./indicators.js";
159
+ */function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]"}),(_regenerator=function _regenerator(){return{w:i,m:f}})()}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},_regeneratorDefine2(e,r,n,t)}function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}function _arrayWithHoles(r){if(Array.isArray(r))return r}var determineGlobalContext=function determineGlobalContext(){if(typeof globalThis==="undefined"){if(typeof window==="undefined"){if(typeof __webpack_require__.g==="undefined")return typeof module==="undefined"?{}:module;if(Object.prototype.hasOwnProperty.call(__webpack_require__.g,"window"))return __webpack_require__.g.window;return __webpack_require__.g}return window}return globalThis};var globalContext=determineGlobalContext();// Make preprocessed import function available at runtime.
160
+ var isImportSyntaxSupported=function isImportSyntaxSupported(){try{// eslint-disable-next-line @typescript-eslint/no-implied-eval
161
+ new Function("import(\"data:text/javascript,\")");return true}catch(_unused){return false}};// Make preprocessed require function available at runtime.
162
+ var customRequire=typeof globalContext.require==="undefined"?null:globalContext.require;if(!customRequire&&isImportSyntaxSupported())try{var _await$Function=/*
163
+ eslint-disable
164
+ @typescript-eslint/no-implied-eval,
165
+ @typescript-eslint/no-unsafe-call
166
+ */await new Function("return import(\"node:module\")")(),createRequire=_await$Function.createRequire;/*
167
+ eslint-enable
168
+ @typescript-eslint/no-implied-eval,
169
+ @typescript-eslint/no-unsafe-call
170
+ */// eslint-disable-next-line @typescript-eslint/no-unsafe-call
171
+ customRequire=createRequire("file:///__w/clientnode/clientnode/src/module.ts")}catch(_unused2){// Ignore error.
172
+ }var currentRequire=customRequire;var optionalRequire=function optionalRequire(id){try{return currentRequire?currentRequire(id):null}catch(_unused3){return null}};var clearRequireCache=function clearRequireCache(cache){if(cache===void 0){cache=(currentRequire===null||currentRequire===void 0?void 0:currentRequire.cache)||require.cache}var backup={};for(var _i=0,_Object$entries=Object.entries(cache);_i<_Object$entries.length;_i++){var _Object$entries$_i=_slicedToArray(_Object$entries[_i],2),key=_Object$entries$_i[0],_module=_Object$entries$_i[1];backup[key]=_module;delete cache[key]}return backup};var restoreRequireCache=function restoreRequireCache(cache,backup){if(cache===void 0){cache=(currentRequire===null||currentRequire===void 0?void 0:currentRequire.cache)||require.cache}clearRequireCache();for(var _i2=0,_Object$entries2=Object.entries(backup);_i2<_Object$entries2.length;_i2++){var _Object$entries2$_i=_slicedToArray(_Object$entries2[_i2],2),key=_Object$entries2$_i[0],_module2=_Object$entries2$_i[1];cache[key]=_module2}};var isolatedRequire=function isolatedRequire(path,requireFunction){if(requireFunction===void 0){requireFunction=currentRequire||require}var backup=clearRequireCache(requireFunction.cache);try{return requireFunction(path);// eslint-disable-next-line no-useless-catch
173
+ }catch(error){throw error}finally{restoreRequireCache(requireFunction.cache,backup)}};var optionalImport=/*#__PURE__*/function(){var _optionalImport=_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(id,options){var _t,_t2;return _regenerator().w(function(_context){while(1)switch(_context.p=_context.n){case 0:if(options===void 0){options={}}_context.p=1;if(!isImportSyntaxSupported()){_context.n=3;break}_context.n=2;return new Function("options","return import('".concat(id,"', options)"))(options);case 2:_t=_context.v;_context.n=5;break;case 3:_context.n=4;return Promise.resolve(null);case 4:_t=_context.v;case 5:return _context.a(2,_t);case 6:_context.p=6;_t2=_context.v;_context.n=7;return Promise.resolve(null);case 7:return _context.a(2,_context.v)}},_callee,null,[[1,6]])}));function optionalImport(_x,_x2){return _optionalImport.apply(this,arguments)}return optionalImport}();
174
+ __webpack_async_result__();
175
+ } catch(e) { __webpack_async_result__(e); } }, 1);
176
+
177
+ /***/ }),
178
+ /* 6 */,
179
+ /* 7 */,
180
+ /* 8 */,
181
+ /* 9 */,
182
+ /* 10 */,
183
+ /* 11 */,
184
+ /* 12 */
185
+ /***/ (function(__webpack_module__, __webpack_exports__, __webpack_require__) {
22
186
 
23
- /**
187
+ __webpack_require__.a(__webpack_module__, async function (__webpack_handle_async_dependencies__, __webpack_async_result__) { try {
188
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
189
+ /* harmony export */ dG: function() { return /* binding */ stopPropagation; },
190
+ /* harmony export */ p0: function() { return /* binding */ trailingThrottle; },
191
+ /* harmony export */ sg: function() { return /* binding */ debounce; },
192
+ /* harmony export */ wR: function() { return /* binding */ timeout; },
193
+ /* harmony export */ wo: function() { return /* binding */ preventDefault; }
194
+ /* harmony export */ });
195
+ /* harmony import */ var _context_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
196
+ /* harmony import */ var _indicators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
197
+ var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_context_js__WEBPACK_IMPORTED_MODULE_0__, _indicators_js__WEBPACK_IMPORTED_MODULE_1__]);
198
+ var __webpack_async_dependencies_result__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
199
+ _context_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_async_dependencies_result__[0];
200
+ _indicators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_async_dependencies_result__[1];
201
+ // #!/usr/bin/env babel-node
202
+ // -*- coding: utf-8 -*-
203
+ /** @module utility *//* !
204
+ region header
205
+ [Project page](https://torben.website/clientnode)
206
+
207
+ Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
208
+
209
+ License
210
+ -------
211
+
212
+ This library written by Torben Sickert stands under a creative commons
213
+ naming 3.0 unported license.
214
+ See https://creativecommons.org/licenses/by/3.0/deed.de
215
+ endregion
216
+ */function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}/**
24
217
  * Prevents event functions from triggering too often by defining a minimal
25
218
  * span between each function call. Additional arguments given to this function
26
219
  * will be forwarded to the given event function call.
@@ -30,23 +223,8 @@ import { isFunction } from "./indicators.js";
30
223
  * @param additionalArguments - Additional arguments to forward to given
31
224
  * function.
32
225
  * @returns Returns the wrapped method.
33
- */
34
- export const trailingThrottle = (callback, thresholdInMilliseconds = 600, ...additionalArguments) => {
35
- let timeoutID = null;
36
- let recentParameters = [];
37
- return (...parameters) => {
38
- recentParameters = parameters;
39
- if (timeoutID) return;
40
- timeoutID = setTimeout(() => {
41
- callback(...recentParameters, ...additionalArguments);
42
-
43
- // Reset for next cycle.
44
- timeoutID = null;
45
- recentParameters = [];
46
- }, thresholdInMilliseconds);
47
- };
48
- };
49
- /**
226
+ */var trailingThrottle=function trailingThrottle(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len=arguments.length,additionalArguments=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++){additionalArguments[_key-2]=arguments[_key]}var timeoutID=null;var recentParameters=[];return function(){for(var _len2=arguments.length,parameters=new Array(_len2),_key2=0;_key2<_len2;_key2++){parameters[_key2]=arguments[_key2]}recentParameters=parameters;if(timeoutID)return;timeoutID=setTimeout(function(){callback.apply(void 0,_toConsumableArray(recentParameters).concat(additionalArguments));// Reset for next cycle.
227
+ timeoutID=null;recentParameters=[]},thresholdInMilliseconds)}};/**
50
228
  * Prevents event functions from triggering too close after each trigger by
51
229
  * defining a minimal span between each function call. Additional arguments
52
230
  * given to this function will be forwarded to the given event function call.
@@ -56,26 +234,7 @@ export const trailingThrottle = (callback, thresholdInMilliseconds = 600, ...add
56
234
  * @param additionalArguments - Additional arguments to forward to given
57
235
  * function.
58
236
  * @returns Returns the wrapped method.
59
- */
60
- export const debounce = (callback, thresholdInMilliseconds = 600, ...additionalArguments) => {
61
- let timeoutPromise;
62
- let nextResultPromiseResolver;
63
- let nextResultPromise = new Promise(resolve => {
64
- nextResultPromiseResolver = resolve;
65
- });
66
- return (...parameters) => {
67
- parameters = parameters.concat(additionalArguments);
68
- timeoutPromise?.clear();
69
- timeoutPromise = timeout(() => {
70
- nextResultPromiseResolver(callback(...parameters));
71
- nextResultPromise = new Promise(resolve => {
72
- nextResultPromiseResolver = resolve;
73
- });
74
- }, thresholdInMilliseconds);
75
- return nextResultPromise;
76
- };
77
- };
78
- /**
237
+ */var debounce=function debounce(callback,thresholdInMilliseconds){if(thresholdInMilliseconds===void 0){thresholdInMilliseconds=600}for(var _len3=arguments.length,additionalArguments=new Array(_len3>2?_len3-2:0),_key3=2;_key3<_len3;_key3++){additionalArguments[_key3-2]=arguments[_key3]}var timeoutPromise;var nextResultPromiseResolver;var nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve});return function(){var _timeoutPromise;for(var _len4=arguments.length,parameters=new Array(_len4),_key4=0;_key4<_len4;_key4++){parameters[_key4]=arguments[_key4]}parameters=parameters.concat(additionalArguments);(_timeoutPromise=timeoutPromise)===null||_timeoutPromise===void 0||_timeoutPromise.clear();timeoutPromise=timeout(function(){nextResultPromiseResolver(callback.apply(void 0,_toConsumableArray(parameters)));nextResultPromise=new Promise(function(resolve){nextResultPromiseResolver=resolve})},thresholdInMilliseconds);return nextResultPromise}};/**
79
238
  * Triggers given callback after given duration. Supports unlimited
80
239
  * duration length and returns a promise which will be resolved after given
81
240
  * duration has been passed.
@@ -90,50 +249,172 @@ export const debounce = (callback, thresholdInMilliseconds = 600, ...additionalA
90
249
  * value "true" is within one of the first three parameters. The promise
91
250
  * holds a boolean indicating whether timeout has been canceled or
92
251
  * resolved.
93
- */
94
- export const timeout = (...parameters) => {
95
- let callback = NOOP;
96
- let delayInMilliseconds = 0;
97
- let throwOnTimeoutClear = false;
98
- for (const value of parameters) if (typeof value === 'number' && !isNaN(value)) delayInMilliseconds = value;else if (typeof value === 'boolean') throwOnTimeoutClear = value;else if (isFunction(value)) callback = value;
99
- let rejectCallback;
100
- let resolveCallback;
101
- const result = new Promise((resolve, reject) => {
102
- rejectCallback = reject;
103
- resolveCallback = resolve;
104
- });
105
- const wrappedCallback = () => {
106
- callback.call(result, ...parameters);
107
- resolveCallback(false);
108
- };
109
- const maximumTimeoutDelayInMilliseconds = 2147483647;
110
- if (delayInMilliseconds <= maximumTimeoutDelayInMilliseconds) result.timeoutID = setTimeout(wrappedCallback, delayInMilliseconds);else {
111
- /*
112
- Determine the number of times we need to delay by maximum
113
- possible timeout duration.
114
- */
115
- let numberOfRemainingTimeouts = Math.floor(delayInMilliseconds / maximumTimeoutDelayInMilliseconds);
116
- const finalTimeoutDuration = delayInMilliseconds % maximumTimeoutDelayInMilliseconds;
117
- const delay = () => {
118
- if (numberOfRemainingTimeouts > 0) {
119
- numberOfRemainingTimeouts -= 1;
120
- result.timeoutID = setTimeout(delay, maximumTimeoutDelayInMilliseconds);
121
- } else result.timeoutID = setTimeout(wrappedCallback, finalTimeoutDuration);
122
- };
123
- delay();
124
- }
125
- result.clear = () => {
126
- if (Object.prototype.hasOwnProperty.call(result, 'timeoutID')) {
127
- clearTimeout(result.timeoutID);
128
- (throwOnTimeoutClear ? rejectCallback : resolveCallback)(true);
129
- }
130
- };
131
- return result;
132
- };
133
- export const preventDefault = event => {
134
- event.preventDefault();
135
- };
136
- export const stopPropagation = event => {
137
- event.stopPropagation();
138
- };
139
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vc3JjL3V0aWxpdHkudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gIyEvdXNyL2Jpbi9lbnYgYmFiZWwtbm9kZVxuLy8gLSotIGNvZGluZzogdXRmLTggLSotXG4vKiogQG1vZHVsZSB1dGlsaXR5ICovXG4ndXNlIHN0cmljdCdcbi8qICFcbiAgICByZWdpb24gaGVhZGVyXG4gICAgW1Byb2plY3QgcGFnZV0oaHR0cHM6Ly90b3JiZW4ud2Vic2l0ZS9jbGllbnRub2RlKVxuXG4gICAgQ29weXJpZ2h0IFRvcmJlbiBTaWNrZXJ0IChpbmZvW1wifmF0flwiXXRvcmJlbi53ZWJzaXRlKSAxNi4xMi4yMDEyXG5cbiAgICBMaWNlbnNlXG4gICAgLS0tLS0tLVxuXG4gICAgVGhpcyBsaWJyYXJ5IHdyaXR0ZW4gYnkgVG9yYmVuIFNpY2tlcnQgc3RhbmRzIHVuZGVyIGEgY3JlYXRpdmUgY29tbW9uc1xuICAgIG5hbWluZyAzLjAgdW5wb3J0ZWQgbGljZW5zZS5cbiAgICBTZWUgaHR0cHM6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LzMuMC9kZWVkLmRlXG4gICAgZW5kcmVnaW9uXG4qL1xuaW1wb3J0IHR5cGUge0FueUZ1bmN0aW9uLCBQcm9jZWR1cmVGdW5jdGlvbiwgVGltZW91dFByb21pc2V9IGZyb20gJy4vdHlwZSdcblxuaW1wb3J0IHtOT09QfSBmcm9tICc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vIGRlbGF5IGJ5IG1heGltdW1cbiAgICAgICAgICAgIHBvc3NpYmxlIHRpbWVvdXQgZHVyYXRpb24uXG4gICAgICAgICovXG4gICAgICAgIGxldCBudW1iZXJPZlJlbWFpbmluZ1RpbWVvdXRzOiBudW1iZXIgPSBNYXRoLmZsb29yKFxuICAgICAgICAgICAgZGVsYXlJbk1pbGxpc2Vjb25kcyAvIG1heGltdW1UaW1lb3V0RGVsYXlJbk1pbGxpc2Vjb25kc1xuICAgICAgICApXG4gICAgICAgIGNvbnN0IGZpbmFsVGltZW91dER1cmF0aW9uOiBudW1iZXIgPVxuICAgICAgICAgICAgZGVsYXlJbk1pbGxpc2Vjb25kcyAlIG1heGltdW1UaW1lb3V0RGVsYXlJbk1pbGxpc2Vjb25kc1xuXG4gICAgICAgIGNvbnN0IGRlbGF5ID0gKCkgPT4ge1xuICAgICAgICAgICAgaWYgKG51bWJlck9mUmVtYWluaW5nVGltZW91dHMgPiAwKSB7XG4gICAgICAgICAgICAgICAgbnVtYmVyT2ZSZW1haW5pbmdUaW1lb3V0cyAtPSAxXG5cbiAgICAgICAgICAgICAgICByZXN1bHQudGltZW91dElEID1cbiAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChkZWxheSwgbWF4aW11bVRpbWVvdXREZWxheUluTWlsbGlzZWNvbmRzKVxuICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICAgICAgcmVzdWx0LnRpbWVvdXRJRCA9XG4gICAgICAgICAgICAgICAgICAgIHNldFRpbWVvdXQod3JhcHBlZENhbGxiYWNrLCBmaW5hbFRpbWVvdXREdXJhdGlvbilcbiAgICAgICAgfVxuICAgICAgICBkZWxheSgpXG4gICAgfVxuXG4gICAgcmVzdWx0LmNsZWFyID0gKCkgPT4ge1xuICAgICAgICBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHJlc3VsdCwgJ3RpbWVvdXRJRCcpKSB7XG4gICAgICAgICAgICBjbGVh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<_len5;_key5++){parameters[_key5]=arguments[_key5]}var callback=_context_js__WEBPACK_IMPORTED_MODULE_0__/* .NOOP */ .tE;var delayInMilliseconds=0;var throwOnTimeoutClear=false;for(var _i=0,_parameters=parameters;_i<_parameters.length;_i++){var value=_parameters[_i];if(typeof value==="number"&&!isNaN(value))delayInMilliseconds=value;else if(typeof value==="boolean")throwOnTimeoutClear=value;else if((0,_indicators_js__WEBPACK_IMPORTED_MODULE_1__/* .isFunction */ .Tn)(value))callback=value}var rejectCallback;var resolveCallback;var result=new Promise(function(resolve,reject){rejectCallback=reject;resolveCallback=resolve});var wrappedCallback=function wrappedCallback(){var _callback;(_callback=callback).call.apply(_callback,[result].concat(parameters));resolveCallback(false)};var maximumTimeoutDelayInMilliseconds=2147483647;if(delayInMilliseconds<=maximumTimeoutDelayInMilliseconds)result.timeoutID=setTimeout(wrappedCallback,delayInMilliseconds);else{/*
253
+ Determine the number of times we need to delay by maximum
254
+ possible timeout duration.
255
+ */var numberOfRemainingTimeouts=Math.floor(delayInMilliseconds/maximumTimeoutDelayInMilliseconds);var finalTimeoutDuration=delayInMilliseconds%maximumTimeoutDelayInMilliseconds;var _delay=function delay(){if(numberOfRemainingTimeouts>0){numberOfRemainingTimeouts-=1;result.timeoutID=setTimeout(_delay,maximumTimeoutDelayInMilliseconds)}else result.timeoutID=setTimeout(wrappedCallback,finalTimeoutDuration)};_delay()}result.clear=function(){if(Object.prototype.hasOwnProperty.call(result,"timeoutID")){clearTimeout(result.timeoutID);(throwOnTimeoutClear?rejectCallback:resolveCallback)(true)}};return result};var preventDefault=function preventDefault(event){event.preventDefault()};var stopPropagation=function stopPropagation(event){event.stopPropagation()};
256
+ __webpack_async_result__();
257
+ } catch(e) { __webpack_async_result__(e); } });
258
+
259
+ /***/ })
260
+ /******/ ]);
261
+ /************************************************************************/
262
+ /******/ // The module cache
263
+ /******/ var __webpack_module_cache__ = {};
264
+ /******/
265
+ /******/ // The require function
266
+ /******/ function __webpack_require__(moduleId) {
267
+ /******/ // Check if module is in cache
268
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
269
+ /******/ if (cachedModule !== undefined) {
270
+ /******/ return cachedModule.exports;
271
+ /******/ }
272
+ /******/ // Create a new module (and put it into the cache)
273
+ /******/ var module = __webpack_module_cache__[moduleId] = {
274
+ /******/ // no module.id needed
275
+ /******/ // no module.loaded needed
276
+ /******/ exports: {}
277
+ /******/ };
278
+ /******/
279
+ /******/ // Execute the module function
280
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
281
+ /******/
282
+ /******/ // Return the exports of the module
283
+ /******/ return module.exports;
284
+ /******/ }
285
+ /******/
286
+ /************************************************************************/
287
+ /******/ /* webpack/runtime/async module */
288
+ /******/ !function() {
289
+ /******/ var hasSymbol = typeof Symbol === "function";
290
+ /******/ var webpackQueues = hasSymbol ? Symbol("webpack queues") : "__webpack_queues__";
291
+ /******/ var webpackExports = hasSymbol ? Symbol("webpack exports") : "__webpack_exports__";
292
+ /******/ var webpackError = hasSymbol ? Symbol("webpack error") : "__webpack_error__";
293
+ /******/
294
+ /******/ var resolveQueue = function(queue) {
295
+ /******/ if(queue && queue.d < 1) {
296
+ /******/ queue.d = 1;
297
+ /******/ queue.forEach(function(fn) { fn.r--; });
298
+ /******/ queue.forEach(function(fn) { fn.r-- ? fn.r++ : fn(); });
299
+ /******/ }
300
+ /******/ }
301
+ /******/ var wrapDeps = function(deps) { return deps.map(function(dep) {
302
+ /******/ if(dep !== null && typeof dep === "object") {
303
+ /******/
304
+ /******/ if(dep[webpackQueues]) return dep;
305
+ /******/ if(dep.then) {
306
+ /******/ var queue = [];
307
+ /******/ queue.d = 0;
308
+ /******/ dep.then(function(r) {
309
+ /******/ obj[webpackExports] = r;
310
+ /******/ resolveQueue(queue);
311
+ /******/ }, function(e) {
312
+ /******/ obj[webpackError] = e;
313
+ /******/ resolveQueue(queue);
314
+ /******/ });
315
+ /******/ var obj = {};
316
+ /******/
317
+ /******/ obj[webpackQueues] = function(fn) { fn(queue); };
318
+ /******/ return obj;
319
+ /******/ }
320
+ /******/ }
321
+ /******/ var ret = {};
322
+ /******/ ret[webpackQueues] = function() {};
323
+ /******/ ret[webpackExports] = dep;
324
+ /******/ return ret;
325
+ /******/ }); };
326
+ /******/ __webpack_require__.a = function(module, body, hasAwait) {
327
+ /******/ var queue;
328
+ /******/ hasAwait && ((queue = []).d = -1);
329
+ /******/ var depQueues = new Set();
330
+ /******/ var exports = module.exports;
331
+ /******/ var currentDeps;
332
+ /******/ var outerResolve;
333
+ /******/ var reject;
334
+ /******/ var promise = new Promise(function(resolve, rej) {
335
+ /******/ reject = rej;
336
+ /******/ outerResolve = resolve;
337
+ /******/ });
338
+ /******/ promise[webpackExports] = exports;
339
+ /******/ promise[webpackQueues] = function(fn) { queue && fn(queue), depQueues.forEach(fn), promise["catch"](function() {}); };
340
+ /******/ module.exports = promise;
341
+ /******/ var handle = function(deps) {
342
+ /******/ currentDeps = wrapDeps(deps);
343
+ /******/ var fn;
344
+ /******/ var getResult = function() { return currentDeps.map(function(d) {
345
+ /******/
346
+ /******/ if(d[webpackError]) throw d[webpackError];
347
+ /******/ return d[webpackExports];
348
+ /******/ }); }
349
+ /******/ var promise = new Promise(function(resolve) {
350
+ /******/ fn = function() { resolve(getResult); };
351
+ /******/ fn.r = 0;
352
+ /******/ var fnQueue = function(q) { q !== queue && !depQueues.has(q) && (depQueues.add(q), q && !q.d && (fn.r++, q.push(fn))); };
353
+ /******/ currentDeps.map(function(dep) { dep[webpackQueues](fnQueue); });
354
+ /******/ });
355
+ /******/ return fn.r ? promise : getResult();
356
+ /******/ }
357
+ /******/ var done = function(err) { (err ? reject(promise[webpackError] = err) : outerResolve(exports)), resolveQueue(queue); }
358
+ /******/ body(handle, done);
359
+ /******/ queue && queue.d < 0 && (queue.d = 0);
360
+ /******/ };
361
+ /******/ }();
362
+ /******/
363
+ /******/ /* webpack/runtime/define property getters */
364
+ /******/ !function() {
365
+ /******/ // define getter/value functions for harmony exports
366
+ /******/ __webpack_require__.d = function(exports, definition) {
367
+ /******/ if(Array.isArray(definition)) {
368
+ /******/ var i = 0;
369
+ /******/ while(i < definition.length) {
370
+ /******/ var key = definition[i++];
371
+ /******/ var binding = definition[i++];
372
+ /******/ if(!__webpack_require__.o(exports, key)) {
373
+ /******/ if(binding === 0) {
374
+ /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
375
+ /******/ } else {
376
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
377
+ /******/ }
378
+ /******/ } else if(binding === 0) { i++; }
379
+ /******/ }
380
+ /******/ } else {
381
+ /******/ for(var key in definition) {
382
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
383
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
384
+ /******/ }
385
+ /******/ }
386
+ /******/ }
387
+ /******/ };
388
+ /******/ }();
389
+ /******/
390
+ /******/ /* webpack/runtime/global */
391
+ /******/ !function() {
392
+ /******/ __webpack_require__.g = (function() {
393
+ /******/ if (typeof globalThis === 'object') return globalThis;
394
+ /******/ try {
395
+ /******/ return this || new Function('return this')();
396
+ /******/ } catch (e) {
397
+ /******/ if (typeof window === 'object') return window;
398
+ /******/ }
399
+ /******/ })();
400
+ /******/ }();
401
+ /******/
402
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
403
+ /******/ !function() {
404
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
405
+ /******/ }();
406
+ /******/
407
+ /************************************************************************/
408
+ /******/
409
+ /******/ // startup
410
+ /******/ // Load entry module and return exports
411
+ /******/ // This entry module used 'module' so it can't be inlined
412
+ /******/ var __webpack_exports__ = __webpack_require__(12);
413
+ /******/ __webpack_exports__ = await __webpack_exports__;
414
+ /******/ var __webpack_exports__debounce = __webpack_exports__.sg;
415
+ /******/ var __webpack_exports__preventDefault = __webpack_exports__.wo;
416
+ /******/ var __webpack_exports__stopPropagation = __webpack_exports__.dG;
417
+ /******/ var __webpack_exports__timeout = __webpack_exports__.wR;
418
+ /******/ var __webpack_exports__trailingThrottle = __webpack_exports__.p0;
419
+ /******/ export { __webpack_exports__debounce as debounce, __webpack_exports__preventDefault as preventDefault, __webpack_exports__stopPropagation as stopPropagation, __webpack_exports__timeout as timeout, __webpack_exports__trailingThrottle as trailingThrottle };
420
+ /******/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clientnode",
3
- "version": "4.0.1441",
3
+ "version": "4.0.1443",
4
4
  "description": "Handy utilities for any JavaScript environments.",
5
5
  "keywords": [
6
6
  "client",
@@ -102,7 +102,7 @@
102
102
  "rimraf": "^6.1.3",
103
103
  "typescript-eslint": "^8.63.0",
104
104
  "web-documentation": "^1.0.42",
105
- "weboptimizer": "^4.0.16",
105
+ "weboptimizer": "^4.0.17",
106
106
  "webpack-dev-server": "^6.0.0"
107
107
  },
108
108
  "peerDependencies": {
@@ -127,7 +127,7 @@
127
127
  "yarn": ">=4"
128
128
  },
129
129
  "resolutions": {
130
- "weboptimizer/clientnode": "4.0.1435",
130
+ "weboptimizer/clientnode": "4.0.1440",
131
131
  "colors": "1.4.0",
132
132
  "globals@npm:^14.0.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",
133
133
  "globals@npm:^11.1.0": "patch:globals@npm%3A11.12.0#~/.yarn/patches/globals-npm-11.12.0-1fa7f41a6c.patch",