clientnode 3.0.1143 → 3.0.1145

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 (68) hide show
  1. package/dist/Lock.d.ts +38 -0
  2. package/dist/Lock.js +1 -0
  3. package/dist/Semaphore.d.ts +29 -0
  4. package/dist/Semaphore.js +1 -0
  5. package/dist/Tools.d.ts +301 -0
  6. package/dist/Tools.js +1 -0
  7. package/dist/array.d.ts +150 -0
  8. package/dist/array.js +1 -0
  9. package/dist/constants.d.ts +63 -0
  10. package/dist/constants.js +1 -0
  11. package/dist/context.d.ts +11 -0
  12. package/dist/context.js +1 -0
  13. package/dist/cookie.d.ts +31 -0
  14. package/dist/cookie.js +1 -0
  15. package/dist/data-transfer.d.ts +64 -0
  16. package/dist/data-transfer.js +1 -0
  17. package/dist/datetime.d.ts +37 -0
  18. package/dist/datetime.js +1 -0
  19. package/dist/filesystem.d.ts +127 -0
  20. package/dist/filesystem.js +1 -0
  21. package/dist/function.d.ts +20 -0
  22. package/dist/function.js +1 -0
  23. package/dist/index.d.ts +21 -0
  24. package/dist/index.js +1 -0
  25. package/dist/indicators.d.ts +68 -0
  26. package/dist/indicators.js +1 -0
  27. package/dist/number.d.ts +35 -0
  28. package/dist/number.js +1 -0
  29. package/dist/object.d.ts +221 -0
  30. package/dist/object.js +1 -0
  31. package/dist/process.d.ts +22 -0
  32. package/dist/process.js +1 -0
  33. package/dist/property-types.js +1 -0
  34. package/dist/require.d.ts +4 -0
  35. package/dist/require.js +1 -0
  36. package/dist/scope.d.ts +18 -0
  37. package/dist/scope.js +1 -0
  38. package/dist/string.d.ts +289 -0
  39. package/dist/string.js +1 -0
  40. package/dist/test/Lock.d.ts +1 -0
  41. package/dist/test/Semaphore.d.ts +1 -0
  42. package/dist/test/Tools.d.ts +1 -0
  43. package/dist/test/array.d.ts +1 -0
  44. package/dist/test/cookie.d.ts +1 -0
  45. package/dist/test/data-transfer.d.ts +1 -0
  46. package/dist/test/datetime.d.ts +1 -0
  47. package/dist/test/filesystem.d.ts +1 -0
  48. package/dist/test/function.d.ts +1 -0
  49. package/dist/test/indicators.d.ts +1 -0
  50. package/dist/test/number.d.ts +1 -0
  51. package/dist/test/object.d.ts +1 -0
  52. package/dist/test/process.d.ts +1 -0
  53. package/dist/test/property-types.d.ts +1 -0
  54. package/dist/test/scope.d.ts +1 -0
  55. package/dist/test/string.d.ts +1 -0
  56. package/dist/test/utility.d.ts +1 -0
  57. package/{testHelper.d.ts → dist/test-helper.d.ts} +5 -24
  58. package/dist/test-helper.js +1 -0
  59. package/{type.d.ts → dist/type.d.ts} +3 -7
  60. package/dist/type.js +1 -0
  61. package/dist/utility.d.ts +30 -0
  62. package/dist/utility.js +1 -0
  63. package/package.json +46 -34
  64. package/index.d.ts +0 -1694
  65. package/index.js +0 -1
  66. package/property-types.js +0 -1
  67. package/testHelper.js +0 -1
  68. /package/{property-types.d.ts → dist/property-types.d.ts} +0 -0
package/dist/Lock.d.ts ADDED
@@ -0,0 +1,38 @@
1
+ import { LockCallbackFunction, Mapping } from './type';
2
+ /**
3
+ * Represents the lock state.
4
+ * @property locks - Mapping of lock descriptions to there corresponding
5
+ * callbacks.
6
+ */
7
+ export declare class Lock<Type = string | void> {
8
+ locks: Mapping<Array<LockCallbackFunction<Type>>>;
9
+ /**
10
+ * Initializes locks.
11
+ * @param locks - Mapping of a lock description to callbacks for calling
12
+ * when given lock should be released.
13
+ */
14
+ constructor(locks?: Mapping<Array<LockCallbackFunction<Type>>>);
15
+ /**
16
+ * Calling this method introduces a starting point for a critical area with
17
+ * potential race conditions. The area will be binded to given description
18
+ * string. So don't use same names for different areas.
19
+ * @param description - A short string describing the critical areas
20
+ * properties.
21
+ * @param callback - A procedure which should only be executed if the
22
+ * interpreter isn't in the given critical area. The lock description
23
+ * string will be given to the callback function.
24
+ * @param autoRelease - Release the lock after execution of given callback.
25
+ * @returns Returns a promise which will be resolved after releasing lock.
26
+ */
27
+ acquire(description: string, callback?: LockCallbackFunction<Type>, autoRelease?: boolean): Promise<Type>;
28
+ /**
29
+ * Calling this method causes the given critical area to be finished and
30
+ * all functions given to "acquire()" will be executed in right order.
31
+ * @param description - A short string describing the critical areas
32
+ * properties.
33
+ * @returns Returns the return (maybe promise resolved) value of the
34
+ * callback given to the "acquire" method.
35
+ */
36
+ release(description: string): Promise<Type | void>;
37
+ }
38
+ export default Lock;
package/dist/Lock.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/regenerator"],r);else{var n="object"==typeof exports?r(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/regenerator")):r(e["@babel/runtime/helpers/asyncToGenerator"],e["@babel/runtime/regenerator"]);for(var t in n)("object"==typeof exports?exports:e)[t]=n[t]}}(this,(function(e,r){return function(){var n={18:function(r){r.exports=e},19:function(e){e.exports=r}},t={};function o(e){var r=t[e];if(void 0!==r)return r.exports;var i=t[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var n in r)o.o(r,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{Lock:function(){return f}});var u=o(18),a=o.n(u),l=o(19),s=o.n(l),f=function(){function e(e){void 0===e&&(e={}),this.locks=e}var r=e.prototype;return r.acquire=function(e,r,n){var t=this;return void 0===n&&(n=!1),new Promise((function(o){var i=function(e){var i,u;r&&(u=r(e));var a=function(r){return n&&t.release(e),o(r),r};return null!=(i=u)&&i.then?u.then(a):(a(e),u)};Object.prototype.hasOwnProperty.call(t.locks,e)?t.locks[e].push(i):(t.locks[e]=[],i(e))}))},r.release=function(){var e=a()(s().mark((function e(r){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object.prototype.hasOwnProperty.call(this.locks,r)){e.next=9;break}if(void 0!==(n=this.locks[r].shift())){e.next=6;break}delete this.locks[r],e.next=9;break;case 6:return e.next=8,n(r);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e,this)})));return function(r){return e.apply(this,arguments)}}(),e}();return i.default=f,i}()}));
@@ -0,0 +1,29 @@
1
+ import { AnyFunction } from './type';
2
+ /**
3
+ * Represents the semaphore state.
4
+ * @property queue - List of waiting resource requests.
5
+ * @property numberOfFreeResources - Number free allowed concurrent resource
6
+ * uses.
7
+ * @property numberOfResources - Number of allowed concurrent resource uses.
8
+ */
9
+ export declare class Semaphore {
10
+ queue: Array<AnyFunction>;
11
+ numberOfResources: number;
12
+ numberOfFreeResources: number;
13
+ /**
14
+ * Initializes number of resources.
15
+ * @param numberOfResources - Number of resources to manage.
16
+ */
17
+ constructor(numberOfResources?: number);
18
+ /**
19
+ * Acquires a new resource and runs given callback if available.
20
+ * @returns A promise which will be resolved if requested resource is
21
+ * available.
22
+ */
23
+ acquire(): Promise<number>;
24
+ /**
25
+ * Releases a resource and runs a waiting resolver if there exists some.
26
+ */
27
+ release(): void;
28
+ }
29
+ export default Semaphore;
@@ -0,0 +1 @@
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var u in n)("object"==typeof exports?exports:e)[u]=n[u]}}(this,(function(){return function(){var e={d:function(r,n){for(var u in n)e.o(n,u)&&!e.o(r,u)&&Object.defineProperty(r,u,{enumerable:!0,get:n[u]})},o:function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};e.r(r),e.d(r,{Semaphore:function(){return n}});var n=function(){function e(e){void 0===e&&(e=2),this.queue=[],this.numberOfResources=e,this.numberOfFreeResources=e}var r=e.prototype;return r.acquire=function(){var e=this;return new Promise((function(r){e.numberOfFreeResources<=0?e.queue.push(r):(e.numberOfFreeResources-=1,r(e.numberOfFreeResources))}))},r.release=function(){var e=this.queue.pop();void 0===e?this.numberOfFreeResources+=1:e(this.numberOfFreeResources)},e}();return r.default=n,r}()}));
@@ -0,0 +1,301 @@
1
+ import { $DomNodes, $T, Mapping, Options, ParametersExceptFirst, RecursivePartial, RelativePosition } from './type';
2
+ export declare let JAVASCRIPT_DEPENDENT_CONTENT_HANDLED: boolean;
3
+ /**
4
+ * This plugin provides such interface logic like generic controller logic for
5
+ * integrating plugins into $, mutual exclusion for dependent gui elements,
6
+ * logging additional string, array or function handling. A set of helper
7
+ * functions to parse option objects dom trees or handle events is also
8
+ * provided.
9
+ * @property _defaultOptions - Static fallback options if not overwritten by
10
+ * the options given to the constructor method.
11
+ * @property _defaultOptions.logging {boolean} - Static indicator whether
12
+ * logging should be active.
13
+ * @property _defaultOptions.domNodeSelectorInfix {string} - Static selector
14
+ * infix for all needed dom nodes.
15
+ * @property _defaultOptions.domNodeSelectorPrefix {string} - Static selector
16
+ * prefix for all needed dom nodes.
17
+ * @property _defaultOptions.domNodes {Object.<string, string>} - Static
18
+ * mapping of names to needed dom nodes referenced by their selector.
19
+ * @property _defaultOptions.domNodes.hideJavaScriptEnabled {string} - Static
20
+ * selector to dom nodes which should be hidden if javaScript is available.
21
+ * @property _defaultOptions.domNodes.showJavaScriptEnabled {string} - Static
22
+ * selector to dom nodes which should be visible if javaScript is available.
23
+ * @property $domNode - $-extended dom node if one was given to the constructor
24
+ * method.
25
+ * @property options - Options given to the constructor.
26
+ */
27
+ export declare class Tools<TElement = HTMLElement> {
28
+ static _defaultOptions: Partial<Options>;
29
+ $domNode: null | $T<TElement>;
30
+ options: Options;
31
+ /**
32
+ * Triggered if current object is created via the "new" keyword. The dom
33
+ * node selector prefix enforces to not globally select any dom nodes which
34
+ * aren't in the expected scope of this plugin. "{1}" will be automatically
35
+ * replaced with this plugin name suffix ("tools"). You don't have to use
36
+ * "{1}" but it can help you to write code which is more reconcilable with
37
+ * the dry concept.
38
+ * @param $domNode - $-extended dom node to use as reference in various
39
+ * methods.
40
+ */
41
+ constructor($domNode?: $T<TElement>);
42
+ /**
43
+ * This method could be overwritten normally. It acts like a destructor.
44
+ * @returns Returns the current instance.
45
+ */
46
+ destructor(): this;
47
+ /**
48
+ * This method should be overwritten normally. It is triggered if current
49
+ * object was created via the "new" keyword and is called now.
50
+ * @param options - An options object.
51
+ * @returns Returns the current instance.
52
+ */
53
+ initialize<R = this>(options?: RecursivePartial<Options>): R;
54
+ /**
55
+ * Defines a generic controller for dom node aware plugins.
56
+ * @param object - The object or class to control. If "object" is a class
57
+ * an instance will be generated.
58
+ * @param parameters - The initially given arguments object.
59
+ * @param $domNode - Optionally a $-extended dom node to use as reference.
60
+ * @returns Returns whatever the initializer method returns.
61
+ */
62
+ static controller<TElement = HTMLElement>(this: void, object: unknown, parameters: unknown, $domNode?: null | $T<TElement>): unknown;
63
+ /**
64
+ * Shows the given object's representation in the browsers console if
65
+ * possible or in a standalone alert-window as fallback.
66
+ * @param object - Any object to print.
67
+ * @param force - If set to "true" given input will be shown independently
68
+ * of current logging configuration or interpreter's console
69
+ * implementation.
70
+ * @param avoidAnnotation - If set to "true" given input has no module or
71
+ * log level specific annotations.
72
+ * @param level - Description of log messages importance.
73
+ * @param additionalArguments - Additional arguments are used for string
74
+ * formatting.
75
+ */
76
+ log(object: unknown, force?: boolean, avoidAnnotation?: boolean, level?: keyof Console, ...additionalArguments: Array<unknown>): void;
77
+ /**
78
+ * Wrapper method for the native console method usually provided by
79
+ * interpreter.
80
+ * @param object - Any object to print.
81
+ * @param additionalArguments - Additional arguments are used for string
82
+ * formatting.
83
+ */
84
+ info(object: unknown, ...additionalArguments: Array<unknown>): void;
85
+ /**
86
+ * Wrapper method for the native console method usually provided by
87
+ * interpreter.
88
+ * @param object - Any object to print.
89
+ * @param additionalArguments - Additional arguments are used for string
90
+ * formatting.
91
+ */
92
+ debug(object: unknown, ...additionalArguments: Array<unknown>): void;
93
+ /**
94
+ * Wrapper method for the native console method usually provided by
95
+ * interpreter.
96
+ * @param object - Any object to print.
97
+ * @param additionalArguments - Additional arguments are used for string
98
+ * formatting.
99
+ */
100
+ error(object: unknown, ...additionalArguments: Array<unknown>): void;
101
+ /**
102
+ * Wrapper method for the native console method usually provided by
103
+ * interpreter.
104
+ * @param object - Any object to print.
105
+ * @param additionalArguments - Additional arguments are used for string
106
+ * formatting.
107
+ */
108
+ critical(object: unknown, ...additionalArguments: Array<unknown>): void;
109
+ /**
110
+ * Wrapper method for the native console method usually provided by
111
+ * interpreter.
112
+ * @param object - Any object to print.
113
+ * @param additionalArguments - Additional arguments are used for string
114
+ * formatting.
115
+ */
116
+ warn(object: unknown, ...additionalArguments: Array<unknown>): void;
117
+ /**
118
+ * Dumps a given object in a human readable format.
119
+ * @param object - Any object to show.
120
+ * @param level - Number of levels to dig into given object recursively.
121
+ * @param currentLevel - Maximal number of recursive function calls to
122
+ * represent given object.
123
+ * @returns Returns the serialized version of given object.
124
+ */
125
+ static show(this: void, object: unknown, level?: number, currentLevel?: number): string;
126
+ /**
127
+ * Normalizes class name order of current dom node.
128
+ * @returns Current instance.
129
+ */
130
+ get normalizedClassNames(): this;
131
+ /**
132
+ * Normalizes style attributes order of current dom node.
133
+ * @returns Returns current instance.
134
+ */
135
+ get normalizedStyles(): this;
136
+ /**
137
+ * Retrieves a mapping of computed style attributes to their corresponding
138
+ * values.
139
+ * @returns The computed style mapping.
140
+ */
141
+ get style(): Mapping<number | string>;
142
+ /**
143
+ * Get text content of current element without it children's text contents.
144
+ * @returns The text string.
145
+ */
146
+ get text(): string;
147
+ /**
148
+ * Checks whether given html or text strings are equal.
149
+ * @param first - First html, selector to dom node or text to compare.
150
+ * @param second - Second html, selector to dom node or text to compare.
151
+ * @param forceHTMLString - Indicates whether given contents are
152
+ * interpreted as html string (otherwise an automatic detection will be
153
+ * triggered).
154
+ * @returns Returns true if both dom representations are equivalent.
155
+ */
156
+ static isEquivalentDOM(this: void, first: Node | string | $T<HTMLElement> | $T<Node>, second: Node | string | $T<HTMLElement> | $T<Node>, forceHTMLString?: boolean): boolean;
157
+ /**
158
+ * Determines where current dom node is relative to current view port
159
+ * position.
160
+ * @param givenDelta - Allows deltas for "top", "left", "bottom" and
161
+ * "right" for determining positions.
162
+ * @param givenDelta.bottom - Bottom delta.
163
+ * @param givenDelta.left - Left delta.
164
+ * @param givenDelta.right - Right delta.
165
+ * @param givenDelta.top - Top delta.
166
+ * @returns Returns one of "above", "left", "below", "right" or "in".
167
+ */
168
+ getPositionRelativeToViewport(givenDelta?: {
169
+ bottom?: number;
170
+ left?: number;
171
+ right?: number;
172
+ top?: number;
173
+ }): RelativePosition;
174
+ /**
175
+ * Generates a directive name corresponding selector string.
176
+ * @param directiveName - The directive name.
177
+ * @returns Returns generated selector.
178
+ */
179
+ static generateDirectiveSelector(this: void, directiveName: string): string;
180
+ /**
181
+ * Removes a directive name corresponding class or attribute.
182
+ * @param directiveName - The directive name.
183
+ * @returns Returns current dom node.
184
+ */
185
+ removeDirective(directiveName: string): null | $T<TElement>;
186
+ /**
187
+ * Hide or show all marked nodes which should be displayed depending on
188
+ * javascript availability.
189
+ */
190
+ renderJavaScriptDependentVisibility(): void;
191
+ /**
192
+ * Determines a normalized camel case directive name representation.
193
+ * @param directiveName - The directive name.
194
+ * @returns Returns the corresponding name.
195
+ */
196
+ static getNormalizedDirectiveName(this: void, directiveName: string): string;
197
+ /**
198
+ * Determines a directive attribute value.
199
+ * @param directiveName - The directive name.
200
+ * @returns Returns the corresponding attribute value or "null" if no
201
+ * attribute value exists.
202
+ */
203
+ getDirectiveValue(directiveName: string): null | string;
204
+ /**
205
+ * Removes a selector prefix from a given selector. This methods searches
206
+ * in the options object for a given "domNodeSelectorPrefix".
207
+ * @param domNodeSelector - The dom node selector to slice.
208
+ * @returns Returns the sliced selector.
209
+ */
210
+ sliceDomNodeSelectorPrefix(domNodeSelector: string): string;
211
+ /**
212
+ * Determines the dom node name of a given dom node string.
213
+ * @param domNodeSelector - A given to dom node selector to determine its
214
+ * name.
215
+ * @returns Returns The dom node name.
216
+ * @example
217
+ * // returns 'div'
218
+ * $.Tools.getDomNodeName('&lt;div&gt;')
219
+ * @example
220
+ * // returns 'div'
221
+ * $.Tools.getDomNodeName('&lt;div&gt;&lt;/div&gt;')
222
+ * @example
223
+ * // returns 'br'
224
+ * $.Tools.getDomNodeName('&lt;br/&gt;')
225
+ */
226
+ static getDomNodeName(this: void, domNodeSelector: string): null | string;
227
+ /**
228
+ * Converts an object of dom selectors to an array of $ wrapped dom nodes.
229
+ * Note if selector description as one of "class" or "id" as suffix element
230
+ * will be ignored.
231
+ * @param domNodeSelectors - An object with dom node selectors.
232
+ * @param wrapperDomNode - A dom node to be the parent or wrapper of all
233
+ * retrieved dom nodes.
234
+ * @returns Returns All $ wrapped dom nodes corresponding to given
235
+ * selectors.
236
+ */
237
+ grabDomNodes(domNodeSelectors: Mapping, wrapperDomNode?: Node | null | string | $T<Node>): $DomNodes;
238
+ /**
239
+ * Searches for internal event handler methods and runs them by default. In
240
+ * addition, this method searches for a given event method by the options
241
+ * object. Additional arguments are forwarded to respective event
242
+ * functions.
243
+ * @param eventName - An event name.
244
+ * @param callOnlyOptionsMethod - Prevents from trying to call an internal
245
+ * event handler.
246
+ * @param scope - The scope from where the given event handler should be
247
+ * called.
248
+ * @param additionalArguments - Additional arguments to forward to
249
+ * corresponding event handlers.
250
+ * @returns - Returns result of an options event handler (when called) and
251
+ * "true" otherwise.
252
+ */
253
+ fireEvent(eventName: string, callOnlyOptionsMethod?: boolean, scope?: unknown, ...additionalArguments: Array<unknown>): unknown;
254
+ /**
255
+ * A wrapper method for "$.on()". It sets current plugin name as event
256
+ * scope if no scope is given. Given arguments are modified and passed
257
+ * through "$.on()".
258
+ * @param parameters - Parameter to forward.
259
+ * @returns Returns $'s grabbed dom node.
260
+ */
261
+ on<TElement = HTMLElement>(...parameters: Array<unknown>): $T<TElement>;
262
+ /**
263
+ * A wrapper method fo "$.off()". It sets current plugin name as event
264
+ * scope if no scope is given. Given arguments are modified and passed
265
+ * through "$.off()".
266
+ * @param parameters - Parameter to forward.
267
+ * @returns Returns $'s grabbed dom node.
268
+ */
269
+ off<TElement = HTMLElement>(...parameters: Array<unknown>): $T<TElement>;
270
+ /**
271
+ * Helper method for attach/remove event handler methods.
272
+ * @param parameters - Arguments object given to methods like "on()" or
273
+ * "off()".
274
+ * @param removeEvent - Indicates if handler should be attached or removed.
275
+ * @param eventFunctionName - Name of function to wrap.
276
+ * @returns Returns $'s wrapped dom node.
277
+ */
278
+ _bindEventHelper: <TElement_1 = HTMLElement>(parameters: Array<unknown>, removeEvent?: boolean, eventFunctionName?: string) => $T<TElement_1>;
279
+ }
280
+ /**
281
+ * Dom bound version of Tools class.
282
+ */
283
+ export declare class BoundTools<TElement = HTMLElement> extends Tools<TElement> {
284
+ $domNode: $T<TElement>;
285
+ readonly self: typeof BoundTools;
286
+ /**
287
+ * This method should be overwritten normally. It is triggered if current
288
+ * object is created via the "new" keyword. The dom node selector prefix
289
+ * enforces to not globally select any dom nodes which aren't in the
290
+ * expected scope of this plugin. "{1}" will be automatically replaced with
291
+ * this plugin name suffix ("tools"). You don't have to use "{1}" but it
292
+ * can help you to write code which is more reconcilable with the dry
293
+ * concept.
294
+ * @param $domNode - $-extended dom node to use as reference in various
295
+ * methods.
296
+ * @param additionalParameters - Additional parameters to call super method
297
+ * with.
298
+ */
299
+ constructor($domNode: $T<TElement>, ...additionalParameters: ParametersExceptFirst<Tools['constructor']>);
300
+ }
301
+ export default Tools;
package/dist/Tools.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";if("undefined"!=typeof module&&null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&"undefined"!=typeof __dirname&&null!==__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window="undefined"==typeof global||null===global?{}:global;!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/extends"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/construct"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/createClass","@babel/runtime/helpers/extends","jquery","@babel/runtime/helpers/construct"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/extends"),function(){try{return require("jquery")}catch(e){}}(),require("@babel/runtime/helpers/construct")):r(e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/createClass"],e["@babel/runtime/helpers/extends"],e.jQuery,e["@babel/runtime/helpers/construct"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__9__){return function(){var __webpack_modules__=[function(e,r,t){t.d(r,{$:function(){return c},NOOP:function(){return f}});var n,o,i,a=t(2),l=t(6),s=t(10);e=t.hmd(e);var u="undefined"==typeof globalThis?void 0===window?void 0===t.g?e:t.g.window?t.g.window:t.g:window:globalThis;u.fetch=null!==(n=null!==(o=u.fetch)&&void 0!==o?o:null==(i=(0,l.optionalRequire)("node-fetch"))?void 0:i.default)&&void 0!==n?n:function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,l.currentImport)("node-fetch").then((function(e){var t;return null==e?void 0:(t=e).default.apply(t,r)}))};var c=function(){var e=function(){};if(u.$&&null!==u.$)e=u.$;else{if(!u.$&&u.document)try{e=t(12)}catch(e){}if(null==e||"object"==typeof e&&0===Object.keys(e).length){var r,n=null!=(r=u.document)&&r.querySelectorAll?u.document.querySelectorAll.bind(u.document):function(){return null};(e=function(r){var t=null;if("string"==typeof r?t=n(r):Array.isArray(r)?t=r:("object"==typeof HTMLElement&&r instanceof HTMLElement||1===(null==r?void 0:r.nodeType)&&"string"==typeof(null==r?void 0:r.nodeName))&&(t=[r]),t){if(e.fn)for(var o=0,i=Object.entries(e.fn);o<i.length;o++){var l=i[o],s=l[0],c=l[1];t[s]=c.bind(t)}return t.jquery="clientnode",t}return(0,a.isFunction)(r)&&u.document&&u.document.addEventListener("DOMContentLoaded",r),r}).fn={}}}return e.global||(e.global=u),e.global.window&&(!e.document&&e.global.window.document&&(e.document=e.global.window.document),!e.location&&e.global.window.location&&(e.location=e.global.window.location)),e}(),f=(function(){if(!c.document)return 0;var e,r=c.document.createElement("div");for(e=0;e<10&&(r.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e",0!==r.getElementsByTagName("i").length);e++);if(0===e&&c.global.window.navigator){if(-1!==c.global.window.navigator.appVersion.indexOf("MSIE 10"))return 10;if(![c.global.window.navigator.userAgent.indexOf("Trident"),c.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}}(),c.noop?c.noop:function(){});!function(e){if((c=e).global||(c.global=u),c.global.window&&(!c.document&&c.global.window.document&&(c.document=c.global.window.document),!c.location&&c.global.window.location&&(c.location=c.global.window.location)),c.fn&&(c.fn.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return s.default.controller(s.default,r,this)}),c.Tools=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return s.default.controller(s.default,r)},c.Tools.class=s.default,c.fn){var r=c.fn.prop;c.fn.prop=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];if(n.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===n.length)return this[0][e];if(1===n.length)return this[0][e]=n[0],this}return r.call.apply(r,[this,e].concat(n))}}}(c),c.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},function(e,r,t){t.d(r,{ABBREVIATIONS:function(){return i},CLASS_TO_TYPE_MAPPING:function(){return a},CONSOLE_METHODS:function(){return n},IGNORE_NULL_AND_UNDEFINED_SYMBOL:function(){return o},PLAIN_OBJECT_PROTOTYPES:function(){return l}});var n=["debug","error","info","log","warn"],o=(Symbol.for("clientnodeValue"),Symbol.for("clientnodeIgnoreNullAndUndefined")),i=["html","id","url","us","de","api","href"],a={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},l=[Object.prototype]},function(e,r,t){t.d(r,{isArrayLike:function(){return a},isFunction:function(){return u},isMap:function(){return s},isNumeric:function(){return i},isPlainObject:function(){return l}});var n=t(1),o=t(4);var i=function(e){var r=(0,o.determineType)(e);return["number","string"].includes(r)&&!isNaN(e-parseFloat(e))},a=function(e){var r;try{r=Boolean(e)&&e.length}catch(e){return!1}var t,n=(0,o.determineType)(e);if("function"===n||![null,void 0].includes(t=e)&&"object"==typeof t&&t===(null==t?void 0:t.window))return!1;if("array"===n||0===r)return!0;if("number"==typeof r&&r>0)try{return e[r-1],!0}catch(e){}return!1},l=function(e){return null!==e&&"object"==typeof e&&n.PLAIN_OBJECT_PROTOTYPES.includes(Object.getPrototypeOf(e))},s=function(e){return"map"===(0,o.determineType)(e)},u=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{determineType:function(){return determineType},extend:function(){return extend}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_constants__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1),_indicators__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(2);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var addDynamicGetterAndSetter=function e(r,t,n,o,i,a){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===o&&(o={}),void 0===i&&(i=!0),void 0===a&&(a=[Object]),i&&"object"==typeof r)if(Array.isArray(r))for(var l,s=0,u=_createForOfIteratorHelperLoose(r);!(l=u()).done;){var c=l.value;r[s]=e(c,t,n,o,i),s+=1}else if(isMap(r))for(var f,_=_createForOfIteratorHelperLoose(r);!(f=_()).done;){var p=f.value,d=p[0],v=p[1];r.set(d,e(v,t,n,o,i))}else if(isSet(r)){for(var g,m=[],b=_createForOfIteratorHelperLoose(r);!(g=b()).done;){var h=g.value;r.delete(h),m.push(e(h,t,n,o,i))}for(var y=0,O=m;y<O.length;y++){var E=O[y];r.add(E)}}else if(null!==r)for(var A=0,w=Object.entries(r);A<w.length;A++){var P=w[A],N=P[0],j=P[1];r[N]=e(j,t,n,o,i)}if(t||n)for(var x,I,L=function(){var e=I.value;if(null!==r&&"object"==typeof r&&r instanceof e){var i=getProxyHandler(r,o),a=getProxyHandler(r,o);t&&(a.get=function(e,n){return"__target__"===n?r:"__revoke__"===n?function(){return u(),r}:"function"==typeof r[n]?r[n]:t(i.get(s,n),n,r)}),n&&(a.set=function(e,t,o){return i.set(s,t,n(t,o,r))});var l=Proxy.revocable({},a),s=l.proxy,u=l.revoke;return{v:s}}},S=_createForOfIteratorHelperLoose(a);!(I=S()).done;)if(x=L())return x.v;return r},convertCircularObjectToJSON=function(e,r,t){void 0===r&&(r=function(e){return null!=e?e:"__circularReference__"}),void 0===t&&(t=0);var n=new Map;return function(e){return JSON.stringify(e,(function e(t,o){if(null!==o&&"object"==typeof o){var i,a;if(n.has(o))return r(null!==(i=n.get(o))&&void 0!==i?i:null,t,o,n);if(n.set(o,null),Array.isArray(o)){a=[];for(var l,s=_createForOfIteratorHelperLoose(o);!(l=s()).done;){var u=l.value;a.push(e(null,u))}}else{a={};for(var c=0,f=Object.entries(o);c<f.length;c++){var _=f[c],p=_[0],d=_[1];a[p]=e(p,d)}}return n.set(o,a),a}return o}),t)}(e)},convertMapToPlainObject=function e(r,t){if(void 0===t&&(t=!0),"object"==typeof r){if(isMap(r)){for(var n,o={},i=_createForOfIteratorHelperLoose(r);!(n=i()).done;){var a=n.value,l=a[0],s=a[1];t&&(s=e(s,t)),["number","string"].includes(typeof l)&&(o[""+l]=s)}return o}if(t)if(isPlainObject(r))for(var u=0,c=Object.entries(r);u<c.length;u++){var f=c[u],_=f[0],p=f[1];r[_]=e(p,t)}else if(Array.isArray(r))for(var d=0,v=0,g=r;v<g.length;v++){var m=g[v];r[d]=e(m,t),d+=1}else if(isSet(r)){for(var b,h=[],y=_createForOfIteratorHelperLoose(r);!(b=y()).done;){var O=b.value;r.delete(O),h.push(e(O,t))}for(var E=0,A=h;E<A.length;E++){var w=A[E];r.add(w)}}}return r},convertPlainObjectToMap=function e(r,t){if(void 0===t&&(t=!0),"object"==typeof r){if(isPlainObject(r)){for(var n=new Map,o=0,i=Object.entries(r);o<i.length;o++){var a=i[o],l=a[0],s=a[1];t&&(r[l]=e(s,t)),n.set(l,r[l])}return n}if(t)if(Array.isArray(r))for(var u=0,c=0,f=r;c<f.length;c++){var _=f[c];r[u]=e(_,t),u+=1}else if(isMap(r))for(var p,d=_createForOfIteratorHelperLoose(r);!(p=d()).done;){var v=p.value,g=v[0],m=v[1];r.set(g,e(m,t))}else if(isSet(r)){for(var b,h=[],y=_createForOfIteratorHelperLoose(r);!(b=y()).done;){var O=b.value;r.delete(O),h.push(e(O,t))}for(var E=0,A=h;E<A.length;E++){var w=A[E];r.add(w)}}}return r},convertSubstringInPlainObject=function e(r,t,n){for(var o=0,i=Object.entries(r);o<i.length;o++){var a=i[o],l=a[0],s=a[1];isPlainObject(s)?r[l]=e(s,t,n):"string"==typeof s&&(r[l]=s.replace(t,n))}return r},copy=function e(r,t,n,o,i,a,l){if(void 0===t&&(t=-1),void 0===n&&(n=VALUE_COPY_SYMBOL),void 0===o&&(o=null),void 0===i&&(i=!1),void 0===a&&(a=[]),void 0===l&&(l=0),null!==r&&"object"==typeof r)if(o){if(r===o)throw new Error("Can't copy because source and destination are identical.");if(!i&&![void 0,null].includes(r)){var s=a.indexOf(r);if(-1!==s)return a[s];a.push(r)}var u=function(r){if(-1!==t&&t<l+1)return n===VALUE_COPY_SYMBOL?r:n;var o=e(r,t,n,null,i,a,l+1);return i||[void 0,null].includes(r)||"object"!=typeof r||a.push(r),o};if(Array.isArray(r))for(var c,f=_createForOfIteratorHelperLoose(r);!(c=f()).done;){var _=c.value;o.push(u(_))}else if(r instanceof Map)for(var p,d=_createForOfIteratorHelperLoose(r);!(p=d()).done;){var v=p.value,g=v[0],m=v[1];o.set(g,u(m))}else if(r instanceof Set)for(var b,h=_createForOfIteratorHelperLoose(r);!(b=h()).done;){var y=b.value;o.add(u(y))}else for(var O=0,E=Object.entries(r);O<E.length;O++){var A=E[O],w=A[0],P=A[1];try{o[w]=u(P)}catch(e){throw new Error('Failed to copy property value object "'+w+'": '+represent(e))}}}else if(r){if(Array.isArray(r))return e(r,t,n,[],i,a,l);if(r instanceof Map)return e(r,t,n,new Map,i,a,l);if(r instanceof Set)return e(r,t,n,new Set,i,a,l);if(r instanceof Date)return new Date(r.getTime());if(r instanceof RegExp){var N=/[^/]*$/.exec(r.toString());return(o=new RegExp(r.source,N?N[0]:void 0)).lastIndex=r.lastIndex,o}return"undefined"!=typeof Blob&&r instanceof Blob?r.slice(0,r.size,r.type):e(r,t,n,{},i,a,l)}return o||r},determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return""+e;var r=typeof e;if(["function","object"].includes(r)&&e.toString){var t=_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING.toString.call(e);if(Object.prototype.hasOwnProperty.call(_constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING,t))return _constants__WEBPACK_IMPORTED_MODULE_1__.CLASS_TO_TYPE_MAPPING[t]}return r},equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_extends({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&isFunction(firstValue)&&isFunction(secondValue)||firstValue===secondValue||isNotANumber(firstValue)&&isNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&eval("Buffer").isBuffer&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var r=[],t=0,n=[firstValue,secondValue];t<n.length;t++){var o=n[t],i=new FileReader;i.onload=function(t){null===t.target?r.push(null):r.push(t.target.result),2===r.length&&(r[0]===r[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+represent(r[0])+") !== Blob("+represent(r[1])+")"))},i.readAsDataURL(o)}}));if(isPlainObject(firstValue)&&isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||determineType(firstValue)===determineType(secondValue)&&["map","set"].includes(determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i13=0,_arr4=[[firstValue,secondValue],[secondValue,firstValue]];_i13<_arr4.length;_i13++){var _arr4$_i=_arr4[_i13],first=_arr4$_i[0],second=_arr4$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=isMap(first);if(firstIsMap&&(!isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=isSet(first);if(firstIsSet&&(!isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr5[_i14];if(0!==options.deep){var r=equals(e,second[index],_extends({},options,{deep:options.deep-1}));if(!r)return{v:!1};var t=index,n=function(e){var r;return"string"==typeof e?"["+t+"]"+(null!==(r={"[":"",">":" "}[e[0]])&&void 0!==r?r:".")+e:e};if(null!=r&&r.then&&promises.push(r.then(n)),"string"==typeof r)return{v:n(r)}}index+=1},_ret2,_i14=0,_arr5=first;_i14<_arr5.length;_i14++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step13.value,r=e[0],t=e[1];if(0!==options.deep){var n=equals(t,second.get(r),_extends({},options,{deep:options.deep-1}));if(!n)return{v:!1};var o=function(e){var t;return"string"==typeof e?"get("+represent(r)+")"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=n&&n.then&&promises.push(n.then(o)),"string"==typeof n)return{v:o(n)}}},_ret3,_iterator13=_createForOfIteratorHelperLoose(first),_step13;!(_step13=_iterator13()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step14.value;if(0!==options.deep){for(var r,t=!1,n=[],o=_createForOfIteratorHelperLoose(second);!(r=o()).done;){var i=r.value,a=equals(e,i,_extends({},options,{deep:options.deep-1}));if("boolean"==typeof a){if(a){t=!0;break}}else n.push(a)}var l=function(r){return!!r||!!options.returnReasonIfNotEqual&&">>> {-> "+represent(e)+" not found}"};return t?0:(n.length&&promises.push(new Promise((function(e){Promise.all(n).then((function(r){return e(l(r.some(identity)))}),NOOP)}))),{v:l(!1)})}},_ret4,_iterator14=_createForOfIteratorHelperLoose(first),_step14;!(_step14=_iterator14()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries7[_i15],r=e[0],t=e[1];if(options.properties&&!options.properties.includes(r))return 0;for(var n,o=!1,i=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(n=i()).done;){var a=n.value;if(r.toString().startsWith(a)){o=!0;break}}if(o)return 0;if(0!==options.deep){var l=equals(t,second[r],_extends({},options,{deep:options.deep-1}));if(!l)return{v:!1};var s=function(e){var t;return"string"==typeof e?r+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=l&&l.then&&promises.push(l.then(s)),"string"==typeof l)return{v:s(l)}}},_ret5,_i15=0,_Object$entries7=Object.entries(first);_i15<_Object$entries7.length&&(_ret5=_loop5(),0!==_ret5);_i15++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(r){for(var t,n=_createForOfIteratorHelperLoose(r);!(t=n()).done;){var o=t.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),NOOP)}))}return!!options.returnReasonIfNotEqual&&">>> "+represent(firstValue)+" !== "+represent(secondValue)},evaluateDynamicData=function(e,r,t,n,o){if(void 0===r&&(r={}),void 0===t&&(t="self"),void 0===n&&(n="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;t in r||(r[t]=e);var i=function(e,t){void 0===t&&(t=n);var i=evaluate(e,r,t===o);if(i.error)throw new Error(i.error);return i.result},a=function e(r){if(null!==r&&"object"==typeof r){if(isProxy(r)){for(var t=0,a=[n,o];t<a.length;t++){var l=a[t];if(Object.prototype.hasOwnProperty.call(r,l))return r[l]}r=r.__target__}for(var s=0,u=Object.entries(r);s<u.length;s++){var c=u[s],f=c[0],_=c[1];if([n,o].includes(f))return"undefined"==typeof Proxy?e(i(_)):_;r[f]=e(_)}}return r};r.resolve=a;if(null!==e&&"object"==typeof e){if(Object.prototype.hasOwnProperty.call(e,n))return i(e[n]);if(Object.prototype.hasOwnProperty.call(e,o))return i(e[o],o)}return function e(r){if(null!==r&&"object"==typeof r)for(var t=0,n=Object.entries(r);t<n.length;t++){var o=n[t],i=o[0],a=o[1];if("__target__"!==i&&null!==a&&["function","undefined"].includes(typeof a)){var l=a.__target__;void 0!==l&&(r[i]=l),e(a)}}return r}(a(function e(r){if("object"!=typeof r||null===r||"undefined"==typeof Proxy)return r;for(var t=0,l=Object.entries(r);t<l.length;t++){var s=l[t],u=s[0],c=s[1];if("__target__"!==u&&null!==c&&"object"==typeof c){var f=c;if(e(f),Object.prototype.hasOwnProperty.call(f,n)||Object.prototype.hasOwnProperty.call(f,o)){var _=f;r[u]=new Proxy(f,{get:function(e,r){if("__target__"===r)return e;if("hasOwnProperty"===r)return e[r];for(var t=0,l=[n,o];t<l.length;t++){var s=l[t];if(r===s&&"string"==typeof e[r])return a(i(e[r],s))}var u=a(e);if("toString"===r){var c=i(u);return c[r].bind(c)}if("string"!=typeof r){var f,_=i(u);return null!=(f=_[r])&&f.bind?_[r].bind(_):_[r]}for(var p=0,d=[n,o];p<d.length;p++){var v=d[p];if(Object.prototype.hasOwnProperty.call(e,v))return i(u,v)[r]}return u[r]},ownKeys:function(e){for(var r=0,t=[n,o];r<t.length;r++){var l=t[r];if(Object.prototype.hasOwnProperty.call(e,l))return Object.getOwnPropertyNames(a(i(e[l],l)))}return Object.getOwnPropertyNames(e)}}),r[u].__target__||(r[u].__target__=_)}}}return r}(e)))},removeKeysInEvaluation=function e(r,t){void 0===t&&(t=["__evaluate__","__execute__"]);for(var n=0,o=Object.entries(r);n<o.length;n++){var i=o[n],a=i[0],l=i[1];!t.includes(a)&&t.some((function(e){return Object.prototype.hasOwnProperty.call(r,e)}))?delete r[a]:isPlainObject(l)&&e(l,t)}return r},extend=function e(r,t){for(var n=!1,o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];var l,s=i;r===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL||"boolean"==typeof r?(n=r,l=t):(l=r,null!==t&&"object"==typeof t?s=[t].concat(s):void 0!==t&&(l=t));for(var u,c=function(r,t){return t===r?r:n&&t&&((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(t)||(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(t))?(o=(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(t)?r&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(r)?r:new Map:r&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(r)?r:{},e(n,o,t)):t;var o},f=_createForOfIteratorHelperLoose(s);!(u=f()).done;){var _=u.value,p=typeof l,d=typeof _;if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(l)&&(p+=" Map"),(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(_)&&(d+=" Map"),p===d&&l!==_)if((0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(l)&&(0,_indicators__WEBPACK_IMPORTED_MODULE_2__.isMap)(_))for(var v,g=_createForOfIteratorHelperLoose(_);!(v=g()).done;){var m=v.value,b=m[0],h=m[1];l.set(b,c(l.get(b),h))}else if(null===l||Array.isArray(l)||"object"!=typeof l||null===_||Array.isArray(_)||"object"!=typeof _)l=_;else for(var y=0,O=Object.entries(_);y<O.length;y++){var E=O[y],A=E[0],w=E[1];n===_constants__WEBPACK_IMPORTED_MODULE_1__.IGNORE_NULL_AND_UNDEFINED_SYMBOL&&[null,void 0].includes(w)||(l[A]=c(l[A],w))}else l=_}return l},getSubstructure=function(e,r,t,n){void 0===t&&(t=!0),void 0===n&&(n=".");for(var o,i=[],a=_createForOfIteratorHelperLoose([].concat(r));!(o=a()).done;){var l=o.value;if("string"==typeof l)for(var s,u=_createForOfIteratorHelperLoose(l.split(n));!(s=u()).done;){var c=s.value;if(c){var f=c.match(/(.*?)(\[[0-9]+\])/g);if(f)for(var _,p=_createForOfIteratorHelperLoose(f);!(_=p()).done;){var d=_.value,v=/(.*?)(\[[0-9]+\])/.exec(d),g=v[1],m=v[2];g&&i.push(g),i.push(m.substring(1,m.length-1))}else i.push(c)}}else i=i.concat(l)}for(var b,h=e,y=_createForOfIteratorHelperLoose(i);!(b=y()).done;){var O=b.value;if(null!==h&&"object"==typeof h){if("string"==typeof O&&Object.prototype.hasOwnProperty.call(h,O))h=h[O];else if(isFunction(O))h=O(h);else if(!t)return}else if(!t)return}return h},getProxyHandler=function(e,r){return void 0===r&&(r={}),r=_extends({delete:"[]",get:"[]",has:"[]",set:"[]"},r),{deleteProperty:function(t,n){return"[]"!==r.delete||"string"!=typeof n?e[r.delete](n):(delete e[n],!0)},get:function(t,n){return"[]"===r.get&&"string"==typeof n?e[n]:e[r.get](n)},has:function(t,n){return"[]"===r.has?n in e:e[r.has](n)},set:function(t,n,o){return"[]"!==r.set||"string"!=typeof n?e[r.set](n,o):(e[n]=o,!0)}}},mask=function e(r,t){if(!0===(t=_extends({exclude:!1,include:!0},t)).exclude||Array.isArray(t.exclude)&&0===t.exclude.length||!1===t.include||"object"!=typeof r)return{};var n=Array.isArray(t.exclude)?t.exclude.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):t.exclude,o=Array.isArray(t.include)?t.include.reduce((function(e,r){var t;return _extends({},e,((t={})[r]=!0,t))}),{}):t.include,i={};if(isPlainObject(o))for(var a=0,l=Object.entries(o);a<l.length;a++){var s=l[a],u=s[0],c=s[1];Object.prototype.hasOwnProperty.call(r,u)&&(!0===c?i[u]=r[u]:(isPlainObject(c)||Array.isArray(c)&&c.length)&&"object"==typeof r[u]&&(i[u]=e(r[u],{include:c})))}else i=r;if(isPlainObject(n)){for(var f=!1,_=_extends({},i),p=0,d=Object.entries(n);p<d.length;p++){var v=d[p],g=v[0],m=v[1];if(Object.prototype.hasOwnProperty.call(_,g))if(!0===m)f=!0,delete _[g];else if((isPlainObject(m)||Array.isArray(m)&&m.length)&&"object"==typeof _[g]){var b=_[g];_[g]=e(_[g],{exclude:m}),_[g]!==b&&(f=!0)}}f&&(i=_)}return i},modifyObject=function e(r,t,n,o,i,a,l,s,u){if(void 0===n&&(n="__remove__"),void 0===o&&(o="__prepend__"),void 0===i&&(i="__append__"),void 0===a&&(a="__"),void 0===l&&(l="__"),void 0===s&&(s=null),void 0===u&&(u=null),isMap(t)&&isMap(r))for(var c,f=_createForOfIteratorHelperLoose(t);!(c=f()).done;){var _=c.value,p=_[0],d=_[1];r.has(p)&&e(r.get(p),d,n,o,i,a,l,t,p)}else if(null!==t&&"object"==typeof t&&null!==r&&"object"==typeof r)for(var v=0,g=Object.entries(t);v<g.length;v++){var m=g[v],b=m[0],h=m[1],y=NaN;if(Array.isArray(r)&&b.startsWith(a)&&b.endsWith(l)&&((y=parseInt(b.substring(a.length,b.length-l.length),10))<0||y>=r.length)&&(y=NaN),[n,o,i].includes(b)||!isNaN(y)){if(Array.isArray(r))if(b===n)for(var O,E=_createForOfIteratorHelperLoose([].concat(h));!(O=E()).done;){var A=O.value;"string"==typeof A&&A.startsWith(a)&&A.endsWith(l)?r.splice(parseInt(A.substring(a.length,A.length-l.length),10),1):r.includes(A)?r.splice(r.indexOf(A),1):"number"==typeof A&&A<r.length&&r.splice(A,1)}else b===i?r=r.concat(h):b===o?r=[].concat(h).concat(r):null!==r[y]&&"object"==typeof r[y]&&null!==h&&"object"==typeof h?extend(!0,e(r[y],h,n,o,i,a,l),r[y],h):r[y]=h;else if(b===n)for(var w,P=_createForOfIteratorHelperLoose([].concat(h));!(w=P()).done;){var N=w.value;"string"==typeof N&&Object.prototype.hasOwnProperty.call(r,N)&&delete r[N]}delete t[b],s&&"string"==typeof u&&delete s[u]}else null!==r&&Object.prototype.hasOwnProperty.call(r,b)&&(r[b]=e(r[b],h,n,o,i,a,l,t,b))}return r},removeKeyPrefixes=function e(r,t){void 0===t&&(t="#");var n=[].concat(t);if(Array.isArray(r))for(var o,i=0,a=_createForOfIteratorHelperLoose(r.slice());!(o=a()).done;){var l=o.value,s=!1;if("string"==typeof l){for(var u,c=_createForOfIteratorHelperLoose(n);!(u=c()).done;){var f=u.value;if(l.startsWith(f+":")){r.splice(i,1),s=!0;break}}if(s)continue}r[i]=e(l,n),i+=1}else if(isSet(r))for(var _,p=_createForOfIteratorHelperLoose(new Set(r));!(_=p()).done;){var d=_.value,v=!1;if("string"==typeof d){for(var g,m=_createForOfIteratorHelperLoose(n);!(g=m()).done;){var b=g.value;if(d.startsWith(b+":")){r.delete(d),v=!0;break}}if(v)continue}e(d,n)}else if(isMap(r))for(var h,y=_createForOfIteratorHelperLoose(new Map(r));!(h=y()).done;){var O=h.value,E=O[0],A=O[1],w=!1;if("string"==typeof E){for(var P,N=_createForOfIteratorHelperLoose(n);!(P=N()).done;){var j=P.value,x=escapeRegularExpressions(j);if(new RegExp("^"+x+"[0-9]*$").test(E)){r.delete(E),w=!0;break}}if(w)continue}r.set(E,e(A,n))}else if(null!==r&&"object"==typeof r)for(var I=0,L=Object.entries(Object.assign({},r));I<L.length;I++){for(var S,T=L[I],$=T[0],M=T[1],D=!1,C=_createForOfIteratorHelperLoose(n);!(S=C()).done;){var R=S.value,k=escapeRegularExpressions(R);if(new RegExp("^"+k+"[0-9]*$").test($)){delete r[$],D=!0;break}}D||(r[$]=e(M,n))}return r},represent=function e(r,t,n,o,i){if(void 0===t&&(t=" "),void 0===n&&(n=""),void 0===o&&(o="__maximum_number_of_levels_reached__"),void 0===i&&(i=8),0===i)return""+o;if(null===r)return"null";if(void 0===r)return"undefined";if("string"==typeof r)return'"'+r.replace(/\n/g,"\n"+n)+'"';if(isNumeric(r)||"boolean"==typeof r)return""+r;if(Array.isArray(r)){for(var a,l="[",s=!1,u=_createForOfIteratorHelperLoose(r);!(a=u()).done;){s&&(l+=","),l+="\n"+n+t+e(a.value,t,""+n+t,o,i-1),s=!0}return s&&(l+="\n"+n),l+="]"}if(isMap(r)){for(var c,f="",_=!1,p=_createForOfIteratorHelperLoose(r);!(c=p()).done;){var d=c.value,v=d[0],g=d[1];_&&(f+=",\n"+n+t),f+=e(v,t,""+n+t,o,i-1)+" -> "+e(g,t,""+n+t,o,i-1),_=!0}return _||(f="EmptyMap"),f}if(isSet(r)){for(var m,b="{",h=!1,y=_createForOfIteratorHelperLoose(r);!(m=y()).done;){h&&(b+=","),b+="\n"+n+t+e(m.value,t,""+n+t,o,i-1),h=!0}return h?b+="\n"+n+"}":b="EmptySet",b}if(isFunction(r))return"__function__";for(var O,E="{",A=!1,w=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(r).sort());!(O=w()).done;){var P=O.value;A&&(E+=","),E+="\n"+n+t+P+": "+e(r[P],t,""+n+t,o,i-1),A=!0}return A&&(E+="\n"+n),E+="}"},sort=function(e){var r=[];if(Array.isArray(e))for(var t=0;t<e.length;t++)r.push(t);else if("object"==typeof e)if(isMap(e))for(var n,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var i=n.value;r.push(i[0])}else if(null!==e)for(var a=0,l=Object.keys(e);a<l.length;a++){var s=l[a];r.push(s)}return r.sort()},unwrapProxy=function e(r,t){if(void 0===t&&(t=new Set),null!==r&&"object"==typeof r){if(t.has(r))return r;try{isFunction(r.__revoke__)&&(isProxy(r)&&(r=r.__target__),r.__revoke__())}catch(e){return r}finally{t.add(r)}if(Array.isArray(r))for(var n,o=0,i=_createForOfIteratorHelperLoose(r);!(n=i()).done;){var a=n.value;r[o]=e(a,t),o+=1}else if(isMap(r))for(var l,s=_createForOfIteratorHelperLoose(r);!(l=s()).done;){var u=l.value,c=u[0],f=u[1];r.set(c,e(f,t))}else if(isSet(r)){for(var _,p=[],d=_createForOfIteratorHelperLoose(r);!(_=d()).done;){var v=_.value;r.delete(v),p.push(e(v,t))}for(var g=0,m=p;g<m.length;g++){var b=m[g];r.add(b)}}else for(var h=0,y=Object.entries(r);h<y.length;h++){var O=y[h],E=O[0],A=O[1];r[E]=e(A,t)}}return r}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{camelCaseToDelimited:function(){return camelCaseToDelimited},capitalize:function(){return capitalize},compressStyleValue:function(){return compressStyleValue},delimitedToCamelCase:function(){return delimitedToCamelCase},format:function(){return format},normalizeDomNodeSelector:function(){return normalizeDomNodeSelector}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1);function _createForOfIteratorHelperLoose(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=_unsupportedIterableToArray(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var escapeRegularExpressions=function(e,r){if(void 0===r&&(r=[]),1===e.length&&!SPECIAL_REGEX_SEQUENCES.includes(e))return e;r.includes("\\")||e.replace(/\\/g,"\\\\");for(var t,n=_createForOfIteratorHelperLoose(SPECIAL_REGEX_SEQUENCES);!(t=n()).done;){var o=t.value;r.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},convertToValidVariableName=function(e,r){return void 0===r&&(r="0-9a-zA-Z_$"),["class","default"].includes(e)?"_"+e:e.toString().replace(/^[^a-zA-Z_$]+/,"").replace(new RegExp("[^"+r+"]+([a-zA-Z0-9])","g"),(function(e,r){return r.toUpperCase()}))},encodeURIComponentExtended=function(e,r){return void 0===r&&(r=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,r?"%20":"+")},addSeparatorToPath=function(e,r){return void 0===r&&(r="/"),(e=e.trim()).substring(e.length-1)!==r&&e.length?e+r:e},hasPathPrefix=function(e,r,t){var n;(void 0===e&&(e="/admin"),void 0===r)&&(r=(null==(n=$.location)?void 0:n.pathname)||"");return void 0===t&&(t="/"),"string"==typeof e&&(e.endsWith(t)||(e+=t),r===e.substring(0,e.length-t.length)||r.startsWith(e))},getDomainName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.hostname)||"");var o=/^([a-z]*:?\/\/)?([^/]+?)(?::[0-9]+)?(?:\/.*|$)/i.exec(e);return o&&o.length>2&&o[1]&&o[2]?o[2]:r},getPortNumber=function(e,r){var t,n,o;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||"");void 0===r&&(r=null!=(o=$.location)&&o.port?parseInt($.location.port):null);var i=/^(?:[a-z]*:?\/\/[^/]+?)?(?:[^/]+?):([0-9]+)/i.exec(e);return i&&i.length>1?parseInt(i[1],10):null!==r?r:null!=(t=$.location)&&t.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===getProtocolName(e)?443:80},getProtocolName=function(e,r){var t,n;void 0===e&&(e=(null==(t=$.location)?void 0:t.href)||"");void 0===r&&(r=(null==(n=$.location)?void 0:n.protocol)&&$.location.protocol.substring(0,$.location.protocol.length-1)||"");var o=/^([a-z]+):\/\//i.exec(e);return o&&o.length>1&&o[1]?o[1]:r},getURLParameter=function(e,r,t,n,o,i,a){var l,s,u;(void 0===e&&(e=null),void 0===r&&(r=!1),void 0===t&&(t=null),void 0===n&&(n="$"),void 0===o&&(o="!"),void 0===i&&(i=null),void 0===a)&&(a=null!==(s=null==(u=$.location)?void 0:u.hash)&&void 0!==s?s:"");var c=null!==(l=a)&&void 0!==l?l:"#",f="";if(i)f=i;else if(o&&c.startsWith(o)){var _,p=c.indexOf("#");-1===p?(_=c.substring(o.length),c=""):(_=c.substring(o.length,p),c=c.substring(p));var d=_.indexOf("?");-1!==d&&(f=_.substring(d))}else $.location&&(f=$.location.search||"");var v=t||f,g="&"===v;if(g||"#"===v){var m="";try{m=decodeURIComponent(c)}catch(e){}var b=m.indexOf(n);-1===b?v="":(v=m.substring(b)).startsWith(n)&&(v=v.substring(n.length))}else v.startsWith("?")&&(v=v.substring(1));var h=v?v.split("&"):[];f=f.substring(1),g&&f&&(h=h.concat(f.split("&")));for(var y,O=[],E=_createForOfIteratorHelperLoose(h);!(y=E()).done;){var A=y.value,w=A.split("="),P=void 0;try{P=decodeURIComponent(w[0])}catch(e){P=""}try{A=decodeURIComponent(w[1])}catch(e){A=""}O.push(P),r?Object.prototype.hasOwnProperty.call(O,P)&&Array.isArray(O[P])?O[P].push(A):O[P]=[A]:O[P]=A}return e?Object.prototype.hasOwnProperty.call(O,e)?O[e]:null:O},serviceURLEquals=function(e,r){var t;void 0===r&&(r=(null==(t=$.location)?void 0:t.href)||"");var n=getDomainName(e,""),o=getProtocolName(e,""),i=getPortNumber(e);return!(""!==n&&n!==getDomainName(r)||""!==o&&o!==getProtocolName(r)||null!==i&&i!==getPortNumber(r))},normalizeURL=function(e){return"string"==typeof e?(e=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim()).startsWith("http")?e:"http://"+e:""},representURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},camelCaseToDelimited=function(e,r,t){void 0===r&&(r="-"),void 0===t&&(t=null),t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS);var n=maskForRegularExpression(r);if(_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS.length){for(var o,i="",a=_createForOfIteratorHelperLoose(_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS);!(o=a()).done;){i&&(i+="|"),i+=o.value.toUpperCase()}e=e.replace(new RegExp("("+i+")("+i+")","g"),"$1"+r+"$2")}return(e=e.replace(new RegExp("([^"+n+"])([A-Z][a-z]+)","g"),"$1"+r+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+r+"$2").toLowerCase()},capitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},compressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},decodeHTMLEntities=function(e){if($.document){var r=$.document.createElement("textarea");return r.innerHTML=e,r.value}return null},delimitedToCamelCase=function(e,r,t,n,o){void 0===r&&(r="-"),void 0===t&&(t=null),void 0===n&&(n=!1),void 0===o&&(o=!1);var i,a=maskForRegularExpression(r);if(t||(t=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS),n)i=_constants__WEBPACK_IMPORTED_MODULE_2__.ABBREVIATIONS.join("|");else{i="";for(var l,s=_createForOfIteratorHelperLoose(t);!(l=s()).done;){var u=l.value;i&&(i+="|"),i+=capitalize(u)+"|"+u}}var c=e.startsWith(r);return c&&(e=e.substring(r.length)),e=e.replace(new RegExp("("+a+")("+i+")("+a+"|$)","g"),(function(e,r,t,n){return r+t.toUpperCase()+n})),o&&(a="(?:"+a+")+"),e=e.replace(new RegExp(a+"([a-zA-Z0-9])","g"),(function(e,r){return r.toUpperCase()})),c&&(e=r+e),e},compile=function(e,r,t,n){var o,i;void 0===r&&(r=[]),void 0===t&&(t=!1),void 0===n&&(n=!0);for(var a,l,s=Object.keys(globalThis),u={error:null,globalNames:s,globalNamesUndefinedList:s.map((function(){})),originalScopeNames:Array.isArray(r)?r:"string"==typeof r?[r]:Object.keys(r),scopeNameMapping:{},scopeNames:[],templateFunction:function(){return null}},c=_createForOfIteratorHelperLoose(u.originalScopeNames);!(a=c()).done;){var f=a.value,_=convertToValidVariableName(f);u.scopeNameMapping[f]=_,u.scopeNames.push(_)}if(0!==MAXIMAL_SUPPORTED_INTERNET_EXPLORER_VERSION.value)if(null!=(o=$.global.Babel)&&o.transform)e=null==(i=$.global.Babel)?void 0:i.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var p="####",d="`"===(e=e.replace(/\\\$/g,p).replace(/^`\$\{([\s\S]+)\}`$/,"String($1)").replace(/^`([^']+)`$/,"'$1'").replace(/^`([^"]+)`$/,'"$1"')).charAt(0)?"'":e.charAt(0);e=e.replace(/\$\{((([^{]*{[^}]*}[^}]*})|[^{}]+)+)\}/g,d+"+($1)+"+d).replace(/^`([\s\S]+)`$/,d+"$1"+d).replace(/\n+/g,"").replace(new RegExp(p,"g"),"\\$")}try{l=_construct(Function,(n?u.globalNames:[]).concat(u.scopeNames,[(t?"":"return ")+e]))}catch(r){u.error='Given expression "'+e+'" could not be compiled width given scope names "'+u.scopeNames.join('", "')+'": '+represent(r)}return l&&(u.templateFunction=n?function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return l.apply(void 0,u.globalNames.concat(r))}:l),u},evaluate=function(e,r,t,n,o){void 0===r&&(r={}),void 0===t&&(t=!1),void 0===n&&(n=!0);var i=compile(e,r,t,n),a=i.error,l=i.originalScopeNames,s=i.scopeNames,u=i.templateFunction,c={compileError:null,error:null,result:null,runtimeError:null};if(a)return c.compileError=c.error=a,c;try{c.result=(o?u.bind(o):u).apply(void 0,l.map((function(e){return r[e]})))}catch(a){c.error=c.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+s.join('", "')+'": '+represent(a)}return c},findNormalizedMatchRange=function(e,r,t,n){void 0===t&&(t=function(e){return(""+e).toLowerCase()}),void 0===n&&(n=["<",">"]);var o=t(r),i=t(e),a="string"==typeof e?e:i;if(i&&o)for(var l=!1,s=0;s<a.length;s+=1)if(l)a.charAt(s)===n[1]&&(l=!1);else if(Array.isArray(n)&&a.charAt(s)===n[0])l=!0;else if(t(a.substring(s)).startsWith(o)){if(1===o.length)return[s,s+1];for(var u=a.length;u>s;u-=1)if(!t(a.substring(s,u)).startsWith(o))return[s,u+1]}return null},fixKnownEncodingErrors=function(e){for(var r=0,t=Object.entries({"Ã\\x84":"Ä","Ã\\x96":"Ö","Ã\\x9c":"Ü","ä":"ä","ö":"ö","ü":"ü","Ã\\x9f":"ß","\\x96":"-"});r<t.length;r++){var n=t[r],o=n[0],i=n[1];e=e.replace(new RegExp(o,"g"),i)}return e},format=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];t.unshift(e);for(var o=0,i=0,a=t;i<a.length;i++){var l=a[i];e=e.replace(new RegExp("\\{"+o+"\\}","gm"),""+l),o+=1}return e},getEditDistance=function(e,r){for(var t=Array(r.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),n=0;n<=e.length;n++)t[0][n]=n;for(var o=0;o<=r.length;o++)t[o][0]=o;for(var i=1;i<=r.length;i++)for(var a=1;a<=e.length;a++){var l=e[a-1]===r[i-1]?0:1;t[i][a]=Math.min(t[i][a-1]+1,t[i-1][a]+1,t[i-1][a-1]+l)}return t[r.length][e.length]},maskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},lowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},mark=function(e,r,t){if(void 0===t&&(t={}),"string"==typeof e&&null!=r&&r.length){t=_extends({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:["<",">"]},t),e=e.trim();for(var n,o=[],i=[].concat(r),a=0,l=_createForOfIteratorHelperLoose(i);!(n=l()).done;){var s=n.value;i[a]=t.normalizer(s).trim(),a+=1}for(var u=e,c=0;;){for(var f,_=null,p=null,d=_createForOfIteratorHelperLoose(i);!(f=d()).done;){var v=f.value;(p=findNormalizedMatchRange(u,v,t.normalizer,t.skipTagDelimitedParts))&&(!_||p[0]<_[0])&&(_=p)}if(!_){u.length&&o.push(u);break}_[0]>0&&o.push(e.substring(c,c+_[0])),o.push("string"==typeof t.marker?format(t.marker,e.substring(c+_[0],c+_[1])):t.marker(e.substring(c+_[0],c+_[1]),o)),c+=_[1],u=e.substring(c)}return"string"==typeof t.marker?o.join(""):o}return e},normalizePhoneNumber=function(e,r){if(void 0===r&&(r=!0),"string"==typeof e||"number"==typeof e){var t=(""+e).trim();if(t=t.replace(/^[^0-9]*\+/,"00"),r)return t.replace(/[^0-9]+/g,"");var n="(?:[ /\\-]+)";t=(t=t.replace(new RegExp("^(.+?)"+n+"?\\(0\\)"+n+"?(.+)$"),"$1-$2")).replace(new RegExp("^(.+?)"+n+"?\\((.+)\\)"+n+"?(.+)$"),"$1-$2-$3");var o=new RegExp("^(00[0-9]+)"+n+"([0-9]+)"+n+"(.+)$");if(o.test(t))t=t.replace(o,(function(e,r,t,n){return r+"-"+t+"-"+sliceAllExceptNumberAndLastSeperator(n)}));else{var i=function(e,r,t){return r.replace(/ +/,"")+"-"+sliceAllExceptNumberAndLastSeperator(t)};t=(o=/^([0-9 ]+)[/-](.+)$/).test(t)?t.replace(o,i):t.replace(new RegExp("^([0-9]+)"+n+"(.+)$"),i)}return t.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},normalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?(""+e).trim().replace(/[^0-9]+/g,""):""},parseEncodedObject=function parseEncodedObject(serializedObject,scope,name){var _evaluate;void 0===scope&&(scope={}),void 0===name&&(name="scope"),serializedObject.endsWith(".json")&&isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=evaluate(serializedObject,(_evaluate={},_evaluate[name]=scope,_evaluate));return"object"==typeof result.result?result.result:null},representPhoneNumber=function(e){if(["number","string"].includes(determineType(e))&&e){var r=(""+e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(r=(r=r.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,r,t,n){return r+(t.length%2==0?t.replace(/([0-9]{2})/g,"$1 "):t.replace(/^([0-9]{3})([0-9]+)$/,(function(e,r,t){return r+" "+t.replace(/([0-9]{2})/g,"$1 ").trim()}))+n).trim()})).trim()}return""},sliceAllExceptNumberAndLastSeperator=function(e){var r=/^(.*[0-9].*)-([0-9]+)$/;return r.test(e)?e.replace(r,(function(e,r,t){return r.replace(/[^0-9]+/g,"")+"-"+t})):e.replace(/[^0-9]+/g,"")},normalizeDomNodeSelector=function(e,r){void 0===r&&(r="");var t="";return r&&(t=r+" "),e.startsWith(t)||e.trim().startsWith("<")||(e=t+e),e.trim()}},function(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.d(__webpack_exports__,{currentImport:function(){return currentImport},optionalRequire:function(){return optionalRequire}});var currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e,r,t){t.d(r,{makeArray:function(){return a}});t(3);var n=t(2);function o(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return i(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var a=function(e){var r=[];return[null,void 0].includes(e)||((0,n.isArrayLike)(Object(e))?l(r,"string"==typeof e?[e]:e):r.push(e)),r},l=function(e,r){Array.isArray(r)||(r=Array.prototype.slice.call(r));for(var t,n=o(r);!(t=n()).done;){var i=t.value;e.push(i)}return e}},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e,r,t){t.r(r),t.d(r,{BoundTools:function(){return m},JAVASCRIPT_DEPENDENT_CONTENT_HANDLED:function(){return v},Tools:function(){return g}});var n=t(7),o=t.n(n),i=t(11),a=t.n(i),l=t(8),s=t(1),u=t(0),c=t(2),f=t(4),_=t(5);function p(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return d(e,r);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?d(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}var v=!1,g=function(){function e(r){var t=this;this.$domNode=null,this._bindEventHelper=function(e,r,n){void 0===r&&(r=!1),n||(n=r?"off":"on");var o=(0,u.$)(e[0]);if("object"===(0,f.determineType)(e[1])&&!r){for(var i=0,a=Object.entries(e[1]);i<a.length;i++){var s=a[i],c=s[0],_=s[1];t[n](o,c,_)}return o}return 0===(e=(0,l.makeArray)(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[n].apply(o,e)},r&&(this.$domNode=r),this.options=e._defaultOptions,u.$.global.console||(u.$.global.console={});for(var n,o=p(s.CONSOLE_METHODS);!(n=o()).done;){var i=n.value;i in u.$.global.console||(u.$.global.console[i]=u.NOOP)}}var r=e.prototype;return r.destructor=function(){var e;return null!=(e=u.$.fn)&&e.off&&this.off("*"),this},r.initialize=function(r){return void 0===r&&(r={}),this.options=(0,f.extend)(!0,{},e._defaultOptions,r),this.options.domNodeSelectorPrefix=(0,_.format)(this.options.domNodeSelectorPrefix,(0,_.camelCaseToDelimited)(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},e.controller=function(r,t,n){void 0===n&&(n=null),"function"==typeof r&&((r=new r(n))instanceof e||(r=(0,f.extend)(!0,new e,r)));var o,i=(0,l.makeArray)(t);if(i.length&&"string"==typeof i[0]&&i[0]in r)return(0,c.isFunction)(r[i[0]])?(o=r)[i[0]].apply(o,i.slice(1)):r[i[0]];if(0===i.length||"object"==typeof i[0]){var a,s,u=(a=r).initialize.apply(a,i),_=r.options.name||r.constructor.name;return null!=(s=n)&&s.data&&!n.data(_)&&n.data(_,r),u}if(i.length&&"string"==typeof i[0])throw new Error('Method "'+i[0]+'" does not exist on $-extended dom node "'+r+'".')},r.log=function(e,r,t,n){if(void 0===r&&(r=!1),void 0===t&&(t=!1),void 0===n&&(n="info"),this.options.logging||r||["error","critical"].includes(n)){for(var o,i=arguments.length,a=new Array(i>4?i-4:0),l=4;l<i;l++)a[l-4]=arguments[l];if(t?o=e:"string"==typeof e?o=this.options.name+" ("+n+"): "+_.format.apply(void 0,[e].concat(a)):(0,c.isNumeric)(e)||"boolean"==typeof e?o=this.options.name+" ("+n+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,r,!0),this.log("'--------------------------------------------'")),o)if(u.$.global.console&&n in u.$.global.console&&u.$.global.console[n]!==u.NOOP)u.$.global.console[n](o);else{var s;null!=(s=u.$.global.window)&&s.alert&&u.$.global.window.alert(o)}}},r.info=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"info"].concat(t))},r.debug=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"debug"].concat(t))},r.error=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"error"].concat(t))},r.critical=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!0,!1,"warn"].concat(t))},r.warn=function(e){for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];this.log.apply(this,[e,!1,!1,"warn"].concat(t))},e.show=function(r,t,n){void 0===t&&(t=3),void 0===n&&(n=0);var o="";if("object"===(0,f.determineType)(r)){for(var i=0,a=Object.entries(r);i<a.length;i++){var l=a[i],s=l[0],u=l[1];o+=s.toString()+": ",o+=n<=t?e.show(u,t,n+1):""+u,o+="\n"}return o.trim()}return(o=(""+r).trim())+' (Type: "'+(0,f.determineType)(r)+'")'},e.isEquivalentDOM=function(e,r,t){if(void 0===t&&(t=!1),e===r)return!0;if(e&&r){for(var n=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,o={first:e,second:r},i={first:(0,u.$)("<dummy>"),second:(0,u.$)("<dummy>")},a=0,l=Object.entries(o);a<l.length;a++){var s=l[a],c=s[0],f=s[1];if("string"==typeof f&&(t||f.startsWith("<")&&f.endsWith(">")&&f.length>=3||n.test(f)))i[c]=(0,u.$)("<div>"+f+"</div>");else try{var _=(0,u.$)(f).clone();if(!_.length)return!1;i[c]=(0,u.$)("<div>").append(_)}catch(e){return!1}}if(i.first.length&&i.first.length===i.second.length){i.first=i.first.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode,i.second=i.second.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode;for(var p=0,d=0,v=i.first;d<v.length;d++){if(!v[d].isEqualNode(i.second[p]))return!1;p+=1}return!0}}return!1},r.getPositionRelativeToViewport=function(e){void 0===e&&(e={});var r=(0,f.extend)({bottom:0,left:0,right:0,top:0},e),t=this.$domNode;if(u.$.global.window&&null!=t&&t.length&&t[0]&&"getBoundingClientRect"in t[0]){var n=(0,u.$)(u.$.global.window),o=t[0].getBoundingClientRect();if(o){if(o.top&&o.top+r.top<0)return"above";if(o.left+r.left<0)return"left";var i=n.height();if("number"==typeof i&&i<o.bottom+r.bottom)return"below";var a=n.width();if("number"==typeof a&&a<o.right+r.right)return"right"}}return"in"},e.generateDirectiveSelector=function(e){var r=(0,_.camelCaseToDelimited)(e);return r+", ."+r+", ["+r+"], [data-"+r+"], [x-"+r+"]"+(r.includes("-")?", ["+r.replace(/-/g,"\\:")+"], ["+r.replace(/-/g,"_")+"]":"")},r.removeDirective=function(e){if(null===this.$domNode)return null;var r=(0,_.camelCaseToDelimited)(e);return this.$domNode.removeClass(r).removeAttr(r).removeAttr("data-"+r).removeAttr("x-"+r).removeAttr(r.replace("-",":")).removeAttr(r.replace("-","_"))},r.renderJavaScriptDependentVisibility=function(){!v&&u.$.document&&"filter"in u.$&&"hide"in u.$&&"show"in u.$&&((0,u.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,r){return!(0,u.$)(r).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),(0,u.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,r){return!(0,u.$)(r).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),v=!0)},e.getNormalizedDirectiveName=function(e){for(var r,t=p(["-",":","_"]);!(r=t()).done;){for(var n,o=r.value,i=!1,a=p(["data"+o,"x"+o]);!(n=a()).done;){var l=n.value;if(e.startsWith(l)){e=e.substring(l.length),i=!0;break}}if(i)break}for(var s,u=p(["-",":","_"]);!(s=u()).done;){var c=s.value;e=(0,_.delimitedToCamelCase)(e,c)}return e},r.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var r=(0,_.camelCaseToDelimited)(e),t=0,n=[r,"data-"+r,"x-"+r,r.replace("-","\\:")];t<n.length;t++){var o=n[t],i=this.$domNode.attr(o);if("string"==typeof i)return i}return null},r.sliceDomNodeSelectorPrefix=function(e){return this.options.domNodeSelectorPrefix&&e.startsWith(this.options.domNodeSelectorPrefix)?e.substring(this.options.domNodeSelectorPrefix.length).trim():e},e.getDomNodeName=function(e){var r=/^<?([a-zA-Z]+).*>?.*/.exec(e);return r?r[1]:null},r.grabDomNodes=function(e,r){var t=this,n={};if(e)if(r)for(var o=(0,u.$)(r),i=0,a=Object.entries(e);i<a.length;i++){var l=a[i],s=l[0],c=l[1];n[s]=o.find(c)}else for(var f=0,p=Object.entries(e);f<p.length;f++){var d=p[f],v=d[0],g=d[1],m=/, */.exec(g);m&&(e[v]+=g.split(m[0]).map((function(e){return", "+(0,_.normalizeDomNodeSelector)(e,t.options.domNodeSelectorPrefix)})).join("")),n[v]=(0,u.$)((0,_.normalizeDomNodeSelector)(e[v],this.options.domNodeSelectorPrefix))}return this.options.domNodeSelectorPrefix&&(n.parent=(0,u.$)(this.options.domNodeSelectorPrefix)),u.$.global.window&&(n.window=(0,u.$)(u.$.global.window),u.$.document&&(n.document=(0,u.$)(u.$.document))),n},r.fireEvent=function(e,r,t){var n;void 0===r&&(r=!1),void 0===t&&(t=this);for(var o="on"+(0,_.capitalize)(e),i=t,a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];return r||(o in i?i[o].apply(i,l):"_"+o in i&&i["_"+o].apply(i,l)),!i.options||!(o in i.options)||i.options[o]===u.NOOP||(n=i.options[o]).call.apply(n,[this].concat(l))},r.on=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return this._bindEventHelper(r,!1)},r.off=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return this._bindEventHelper(r,!0)},a()(e,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(r,t){var n=(0,u.$)(t),o=n.attr(e);o?n.attr(e,(o.split(" ").sort()||[]).join(" ")):n.is("[class]")&&n.removeAttr(e)}))}return this}},{key:"normalizedStyles",get:function(){if(this.$domNode){var e="style";this.$domNode.find("*").addBack().each((function(r,t){var n=(0,u.$)(t),o=n.attr(e);o?n.attr(e,(0,_.compressStyleValue)(((0,_.compressStyleValue)(o).split(";").sort()||[]).map((function(e){return e.trim()})).join(";"))):n.is("[style]")&&n.removeAttr(e)}))}return this}},{key:"style",get:function(){var e={},r=this.$domNode;if(null!=r&&r.length){var t,n;if(null!=(t=u.$.global.window)&&t.getComputedStyle&&(n=u.$.global.window.getComputedStyle(r[0],null))){if("length"in n)for(var o=0;o<n.length;o+=1)e[(0,_.delimitedToCamelCase)(n[o])]=n.getPropertyValue(n[o]);else for(var i=0,a=Object.entries(n);i<a.length;i++){var l=a[i],s=l[0],c=l[1];e[(0,_.delimitedToCamelCase)(s)]=c||n.getPropertyValue(s)}return e}if(n=r[0].style)for(var f in n)"function"!=typeof n[f]&&(e[f]=n[f])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}])}();g._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"};var m=function(e){function r(t){for(var n,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(n=e.call.apply(e,[this,t].concat(i))||this).self=r,n.$domNode=t,n}return o()(r,e),r}(g);r.default=g},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){if(void 0===__WEBPACK_EXTERNAL_MODULE__12__){var r=new Error("Cannot find module 'undefined'");throw r.code="MODULE_NOT_FOUND",r}e.exports=__WEBPACK_EXTERNAL_MODULE__12__}],__webpack_module_cache__={};function __webpack_require__(e){var r=__webpack_module_cache__[e];if(void 0!==r)return r.exports;var t=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e](t,t.exports,__webpack_require__),t.loaded=!0,t.exports}__webpack_require__.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(e,r){for(var t in r)__webpack_require__.o(r,t)&&!__webpack_require__.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__webpack_require__.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__=__webpack_require__(10);return __webpack_exports__}()}));