clientnode 3.0.1144 → 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.
- package/dist/Lock.d.ts +38 -0
- package/dist/Lock.js +1 -0
- package/dist/Semaphore.d.ts +29 -0
- package/dist/Semaphore.js +1 -0
- package/dist/Tools.d.ts +301 -0
- package/dist/Tools.js +1 -0
- package/dist/array.d.ts +150 -0
- package/dist/array.js +1 -0
- package/dist/constants.d.ts +63 -0
- package/dist/constants.js +1 -0
- package/dist/context.d.ts +11 -0
- package/dist/context.js +1 -0
- package/dist/cookie.d.ts +31 -0
- package/dist/cookie.js +1 -0
- package/dist/data-transfer.d.ts +64 -0
- package/dist/data-transfer.js +1 -0
- package/dist/datetime.d.ts +37 -0
- package/dist/datetime.js +1 -0
- package/dist/filesystem.d.ts +127 -0
- package/dist/filesystem.js +1 -0
- package/dist/function.d.ts +20 -0
- package/dist/function.js +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +1 -0
- package/dist/indicators.d.ts +68 -0
- package/dist/indicators.js +1 -0
- package/dist/number.d.ts +35 -0
- package/dist/number.js +1 -0
- package/dist/object.d.ts +221 -0
- package/dist/object.js +1 -0
- package/dist/process.d.ts +22 -0
- package/dist/process.js +1 -0
- package/dist/property-types.js +1 -0
- package/dist/require.d.ts +4 -0
- package/dist/require.js +1 -0
- package/dist/scope.d.ts +18 -0
- package/dist/scope.js +1 -0
- package/dist/string.d.ts +289 -0
- package/dist/string.js +1 -0
- package/dist/test/Lock.d.ts +1 -0
- package/dist/test/Semaphore.d.ts +1 -0
- package/dist/test/Tools.d.ts +1 -0
- package/dist/test/array.d.ts +1 -0
- package/dist/test/cookie.d.ts +1 -0
- package/dist/test/data-transfer.d.ts +1 -0
- package/dist/test/datetime.d.ts +1 -0
- package/dist/test/filesystem.d.ts +1 -0
- package/dist/test/function.d.ts +1 -0
- package/dist/test/indicators.d.ts +1 -0
- package/dist/test/number.d.ts +1 -0
- package/dist/test/object.d.ts +1 -0
- package/dist/test/process.d.ts +1 -0
- package/dist/test/property-types.d.ts +1 -0
- package/dist/test/scope.d.ts +1 -0
- package/dist/test/string.d.ts +1 -0
- package/dist/test/utility.d.ts +1 -0
- package/{testHelper.d.ts → dist/test-helper.d.ts} +5 -24
- package/dist/test-helper.js +1 -0
- package/{type.d.ts → dist/type.d.ts} +3 -7
- package/dist/type.js +1 -0
- package/dist/utility.d.ts +30 -0
- package/dist/utility.js +1 -0
- package/package.json +36 -24
- package/index.d.ts +0 -1694
- package/index.js +0 -1
- package/property-types.js +0 -1
- package/testHelper.js +0 -1
- /package/{property-types.d.ts → dist/property-types.d.ts} +0 -0
package/dist/scope.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Mapping } from './type';
|
|
2
|
+
/**
|
|
3
|
+
* Overwrites all inherited variables from parent scope with "undefined".
|
|
4
|
+
* @param scope - A scope where inherited names will be removed.
|
|
5
|
+
* @param prefixesToIgnore - Name prefixes to ignore during deleting names in
|
|
6
|
+
* given scope.
|
|
7
|
+
* @returns The isolated scope.
|
|
8
|
+
*/
|
|
9
|
+
export declare const isolateScope: <T extends Mapping<unknown>>(scope: T, prefixesToIgnore?: Array<string>) => T;
|
|
10
|
+
/**
|
|
11
|
+
* Generates a unique name in given scope (useful for jsonp requests).
|
|
12
|
+
* @param prefix - A prefix which will be prepended to unique name.
|
|
13
|
+
* @param suffix - A suffix which will be prepended to unique name.
|
|
14
|
+
* @param scope - A scope where the name should be unique.
|
|
15
|
+
* @param initialUniqueName - An initial scope name to use if not exists.
|
|
16
|
+
* @returns The function name.
|
|
17
|
+
*/
|
|
18
|
+
export declare const determineUniqueScopeName: (prefix?: string, suffix?: string, scope?: Mapping<unknown>, initialUniqueName?: string) => string;
|
package/dist/scope.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/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/construct"),function(){try{return require("jquery")}catch(e){}}());else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/createClass","@babel/runtime/helpers/construct","jquery"],r);else{var t="object"==typeof exports?r(require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/construct"),function(){try{return require("jquery")}catch(e){}}()):r(e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/createClass"],e["@babel/runtime/helpers/construct"],e.jQuery);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__12__){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],x=P[1];r[N]=e(x,t,n,o,i)}if(t||n)for(var j,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(j=L())return j.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 x=P.value,j=escapeRegularExpressions(x);if(new RegExp("^"+j+"[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,$=L[I],M=$[0],T=$[1],D=!1,R=_createForOfIteratorHelperLoose(n);!(S=R()).done;){var C=S.value,k=escapeRegularExpressions(C);if(new RegExp("^"+k+"[0-9]*$").test(M)){delete r[M],D=!0;break}}D||(r[M]=e(T,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(7);var n=t(11),o=t.n(n),i=t(8),a=t(1),l=t(0),s=t(2),u=t(4),c=t(5);function f(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 _(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)?_(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 _(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 p=!1,d=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,l.$)(e[0]);if("object"===(0,u.determineType)(e[1])&&!r){for(var a=0,s=Object.entries(e[1]);a<s.length;a++){var c=s[a],f=c[0],_=c[1];t[n](o,f,_)}return o}return 0===(e=(0,i.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,l.$.global.console||(l.$.global.console={});for(var n,o=f(a.CONSOLE_METHODS);!(n=o()).done;){var s=n.value;s in l.$.global.console||(l.$.global.console[s]=l.NOOP)}}var r=e.prototype;return r.destructor=function(){var e;return null!=(e=l.$.fn)&&e.off&&this.off("*"),this},r.initialize=function(r){return void 0===r&&(r={}),this.options=(0,u.extend)(!0,{},e._defaultOptions,r),this.options.domNodeSelectorPrefix=(0,c.format)(this.options.domNodeSelectorPrefix,(0,c.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,u.extend)(!0,new e,r)));var o,a=(0,i.makeArray)(t);if(a.length&&"string"==typeof a[0]&&a[0]in r)return(0,s.isFunction)(r[a[0]])?(o=r)[a[0]].apply(o,a.slice(1)):r[a[0]];if(0===a.length||"object"==typeof a[0]){var l,c,f=(l=r).initialize.apply(l,a),_=r.options.name||r.constructor.name;return null!=(c=n)&&c.data&&!n.data(_)&&n.data(_,r),f}if(a.length&&"string"==typeof a[0])throw new Error('Method "'+a[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),u=4;u<i;u++)a[u-4]=arguments[u];if(t?o=e:"string"==typeof e?o=this.options.name+" ("+n+"): "+c.format.apply(void 0,[e].concat(a)):(0,s.isNumeric)(e)||"boolean"==typeof e?o=this.options.name+" ("+n+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,r,!0),this.log("'--------------------------------------------'")),o)if(l.$.global.console&&n in l.$.global.console&&l.$.global.console[n]!==l.NOOP)l.$.global.console[n](o);else{var f;null!=(f=l.$.global.window)&&f.alert&&l.$.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,u.determineType)(r)){for(var i=0,a=Object.entries(r);i<a.length;i++){var l=a[i],s=l[0],c=l[1];o+=s.toString()+": ",o+=n<=t?e.show(c,t,n+1):""+c,o+="\n"}return o.trim()}return(o=(""+r).trim())+' (Type: "'+(0,u.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,l.$)("<dummy>"),second:(0,l.$)("<dummy>")},a=0,s=Object.entries(o);a<s.length;a++){var u=s[a],c=u[0],f=u[1];if("string"==typeof f&&(t||f.startsWith("<")&&f.endsWith(">")&&f.length>=3||n.test(f)))i[c]=(0,l.$)("<div>"+f+"</div>");else try{var _=(0,l.$)(f).clone();if(!_.length)return!1;i[c]=(0,l.$)("<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,u.extend)({bottom:0,left:0,right:0,top:0},e),t=this.$domNode;if(l.$.global.window&&null!=t&&t.length&&t[0]&&"getBoundingClientRect"in t[0]){var n=(0,l.$)(l.$.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,c.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,c.camelCaseToDelimited)(e);return this.$domNode.removeClass(r).removeAttr(r).removeAttr("data-"+r).removeAttr("x-"+r).removeAttr(r.replace("-",":")).removeAttr(r.replace("-","_"))},r.renderJavaScriptDependentVisibility=function(){!p&&l.$.document&&"filter"in l.$&&"hide"in l.$&&"show"in l.$&&((0,l.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,r){return!(0,l.$)(r).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),(0,l.$)(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,r){return!(0,l.$)(r).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),p=!0)},e.getNormalizedDirectiveName=function(e){for(var r,t=f(["-",":","_"]);!(r=t()).done;){for(var n,o=r.value,i=!1,a=f(["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=f(["-",":","_"]);!(s=u()).done;){var _=s.value;e=(0,c.delimitedToCamelCase)(e,_)}return e},r.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var r=(0,c.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,l.$)(r),i=0,a=Object.entries(e);i<a.length;i++){var s=a[i],u=s[0],f=s[1];n[u]=o.find(f)}else for(var _=0,p=Object.entries(e);_<p.length;_++){var d=p[_],v=d[0],g=d[1],m=/, */.exec(g);m&&(e[v]+=g.split(m[0]).map((function(e){return", "+(0,c.normalizeDomNodeSelector)(e,t.options.domNodeSelectorPrefix)})).join("")),n[v]=(0,l.$)((0,c.normalizeDomNodeSelector)(e[v],this.options.domNodeSelectorPrefix))}return this.options.domNodeSelectorPrefix&&(n.parent=(0,l.$)(this.options.domNodeSelectorPrefix)),l.$.global.window&&(n.window=(0,l.$)(l.$.global.window),l.$.document&&(n.document=(0,l.$)(l.$.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,c.capitalize)(e),i=t,a=arguments.length,s=new Array(a>3?a-3:0),u=3;u<a;u++)s[u-3]=arguments[u];return r||(o in i?i[o].apply(i,s):"_"+o in i&&i["_"+o].apply(i,s)),!i.options||!(o in i.options)||i.options[o]===l.NOOP||(n=i.options[o]).call.apply(n,[this].concat(s))},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)},o()(e,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(r,t){var n=(0,l.$)(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,l.$)(t),o=n.attr(e);o?n.attr(e,(0,c.compressStyleValue)(((0,c.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=l.$.global.window)&&t.getComputedStyle&&(n=l.$.global.window.getComputedStyle(r[0],null))){if("length"in n)for(var o=0;o<n.length;o+=1)e[(0,c.delimitedToCamelCase)(n[o])]=n.getPropertyValue(n[o]);else for(var i=0,a=Object.entries(n);i<a.length;i++){var s=a[i],u=s[0],f=s[1];e[(0,c.delimitedToCamelCase)(u)]=f||n.getPropertyValue(u)}return e}if(n=r[0].style)for(var _ in n)"function"!=typeof n[_]&&(e[_]=n[_])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}])}();d._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"};r.default=d},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__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{determineUniqueScopeName:function(){return determineUniqueScopeName},isolateScope:function(){return isolateScope}});var _context__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),isolateScope=function(e,r){for(var t in void 0===r&&(r=[]),e)r.includes(t.charAt(0))||["constructor","prototype","this"].includes(t)||Object.prototype.hasOwnProperty.call(e,t)||(e[t]=void 0);return e},determineUniqueScopeName=function(e,r,t,n){if(void 0===e&&(e="callback"),void 0===r&&(r=""),void 0===t&&(t=_context__WEBPACK_IMPORTED_MODULE_0__.$.global),void 0===n&&(n=""),n.length&&!(n in t))return n;for(var o=e+r;(o=e+""+Math.round(Math.random()*Math.pow(10,10))+r)in t;);return o};return __webpack_exports__}()}));
|
package/dist/string.d.ts
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { CompilationResult, EvaluationResult, Mapping, PlainObject, StringMarkOptions, QueryParameters } from './type';
|
|
2
|
+
/**
|
|
3
|
+
* Translates given string into the regular expression validated
|
|
4
|
+
* representation.
|
|
5
|
+
* @param value - String to convert.
|
|
6
|
+
* @param excludeSymbols - Symbols not to escape.
|
|
7
|
+
* @returns Converted string.
|
|
8
|
+
*/
|
|
9
|
+
export declare const escapeRegularExpressions: (value: string, excludeSymbols?: Array<string>) => string;
|
|
10
|
+
/**
|
|
11
|
+
* Translates given name into a valid javaScript one.
|
|
12
|
+
* @param name - Name to convert.
|
|
13
|
+
* @param allowedSymbols - String of symbols which should be allowed within a
|
|
14
|
+
* variable name (not the first character).
|
|
15
|
+
* @returns Converted name is returned.
|
|
16
|
+
*/
|
|
17
|
+
export declare const convertToValidVariableName: (name: string, allowedSymbols?: string) => string;
|
|
18
|
+
/**
|
|
19
|
+
* This method is intended for encoding *key* or *value* parts of query
|
|
20
|
+
* component. We need a custom method because "encodeURIComponent()" is too
|
|
21
|
+
* aggressive and encodes stuff that doesn't have to be encoded per
|
|
22
|
+
* "http://tools.ietf.org/html/rfc3986:".
|
|
23
|
+
* @param url - URL to encode.
|
|
24
|
+
* @param encodeSpaces - Indicates whether given url should encode
|
|
25
|
+
* whitespaces as "+" or "%20".
|
|
26
|
+
* @returns Encoded given url.
|
|
27
|
+
*/
|
|
28
|
+
export declare const encodeURIComponentExtended: (url: string, encodeSpaces?: boolean) => string;
|
|
29
|
+
/**
|
|
30
|
+
* Appends a path selector to the given path if there isn't one yet.
|
|
31
|
+
* @param path - The path for appending a selector.
|
|
32
|
+
* @param pathSeparator - The selector for appending to path.
|
|
33
|
+
* @returns The appended path.
|
|
34
|
+
*/
|
|
35
|
+
export declare const addSeparatorToPath: (path: string, pathSeparator?: string) => string;
|
|
36
|
+
/**
|
|
37
|
+
* Checks if given path has given path prefix.
|
|
38
|
+
* @param prefix - Path prefix to search for.
|
|
39
|
+
* @param path - Path to search in.
|
|
40
|
+
* @param separator - Delimiter to use in path (default is the posix
|
|
41
|
+
* conform slash).
|
|
42
|
+
* @returns Value "true" if given prefix occur and "false" otherwise.
|
|
43
|
+
*/
|
|
44
|
+
export declare const hasPathPrefix: (prefix?: unknown, path?: string, separator?: string) => boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Extracts domain name from given url. If no explicit domain name given
|
|
47
|
+
* current domain name will be assumed. If no parameter given current
|
|
48
|
+
* domain name will be determined.
|
|
49
|
+
* @param url - The url to extract domain from.
|
|
50
|
+
* @param fallback - The fallback host name if no one exits in given url
|
|
51
|
+
* (default is current hostname).
|
|
52
|
+
* @returns Extracted domain.
|
|
53
|
+
*/
|
|
54
|
+
export declare const getDomainName: (url?: string, fallback?: string) => string;
|
|
55
|
+
/**
|
|
56
|
+
* Extracts port number from given url. If no explicit port number given
|
|
57
|
+
* and no fallback is defined current port number will be assumed for local
|
|
58
|
+
* links. For external links 80 will be assumed for http protocols and 443
|
|
59
|
+
* for https protocols.
|
|
60
|
+
* @param url - The url to extract port from.
|
|
61
|
+
* @param fallback - Fallback port number if no explicit one was found.
|
|
62
|
+
* Default is derived from current protocol name.
|
|
63
|
+
* @returns Extracted port number.
|
|
64
|
+
*/
|
|
65
|
+
export declare const getPortNumber: (url?: string, fallback?: null | number) => null | number;
|
|
66
|
+
/**
|
|
67
|
+
* Extracts protocol name from given url. If no explicit url is given,
|
|
68
|
+
* current protocol will be assumed. If no parameter given current protocol
|
|
69
|
+
* number will be determined.
|
|
70
|
+
* @param url - The url to extract protocol from.
|
|
71
|
+
* @param fallback - Fallback port to use if no protocol exists in given
|
|
72
|
+
* url (default is current protocol).
|
|
73
|
+
* @returns Extracted protocol.
|
|
74
|
+
*/
|
|
75
|
+
export declare const getProtocolName: (url?: string, fallback?: string) => string;
|
|
76
|
+
/**
|
|
77
|
+
* Read a page's GET URL variables and return them as an associative array
|
|
78
|
+
* and preserves ordering.
|
|
79
|
+
* @param keyToGet - If provided the corresponding value for given key is
|
|
80
|
+
* returned or full object otherwise.
|
|
81
|
+
* @param allowDuplicates - Indicates whether to return arrays of values or
|
|
82
|
+
* single values. If set to "false" (default) last values will overwrite
|
|
83
|
+
* preceding values.
|
|
84
|
+
* @param givenInput - An alternative input to the url search parameter. If
|
|
85
|
+
* "#" is given the complete current hash tag will be interpreted as url
|
|
86
|
+
* and search parameter will be extracted from there. If "&" is given
|
|
87
|
+
* classical search parameter and hash parameter will be taken in account.
|
|
88
|
+
* If a search string is given this will be analyzed. The default is to
|
|
89
|
+
* take given search part into account.
|
|
90
|
+
* @param subDelimiter - Defines which sequence indicates the start of
|
|
91
|
+
* parameter in a hash part of the url.
|
|
92
|
+
* @param hashedPathIndicator - If defined and given hash starts with this
|
|
93
|
+
* indicator given hash will be interpreted as path containing search and
|
|
94
|
+
* hash parts.
|
|
95
|
+
* @param givenSearch - Search part to take into account defaults to
|
|
96
|
+
* current url search part.
|
|
97
|
+
* @param givenHash - Hash part to take into account defaults to current
|
|
98
|
+
* url hash part.
|
|
99
|
+
* @returns Returns the current get array or requested value. If requested
|
|
100
|
+
* key doesn't exist "undefined" is returned.
|
|
101
|
+
*/
|
|
102
|
+
export declare const getURLParameter: (keyToGet?: null | string, allowDuplicates?: boolean, givenInput?: null | string, subDelimiter?: string, hashedPathIndicator?: string, givenSearch?: null | string, givenHash?: string) => Array<string> | null | QueryParameters | string;
|
|
103
|
+
/**
|
|
104
|
+
* Checks if given url points to another "service" than second given url.
|
|
105
|
+
* If no second given url provided current url will be assumed.
|
|
106
|
+
* @param url - URL to check against second url.
|
|
107
|
+
* @param referenceURL - URL to check against first url.
|
|
108
|
+
* @returns Returns "true" if given first url has same domain as given
|
|
109
|
+
* second (or current).
|
|
110
|
+
*/
|
|
111
|
+
export declare const serviceURLEquals: (url: string, referenceURL?: string) => boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Normalized given website url.
|
|
114
|
+
* @param url - Uniform resource locator to normalize.
|
|
115
|
+
* @returns Normalized result.
|
|
116
|
+
*/
|
|
117
|
+
export declare const normalizeURL: (url: string) => string;
|
|
118
|
+
/**
|
|
119
|
+
* Represents given website url.
|
|
120
|
+
* @param url - Uniform resource locator to represent.
|
|
121
|
+
* @returns Represented result.
|
|
122
|
+
*/
|
|
123
|
+
export declare const representURL: (url: unknown) => string;
|
|
124
|
+
/**
|
|
125
|
+
* Converts a camel cased string to its delimited string version.
|
|
126
|
+
* @param value - The string to format.
|
|
127
|
+
* @param delimiter - Delimiter string
|
|
128
|
+
* @param abbreviations - Collection of shortcut words to represent upper
|
|
129
|
+
* cased.
|
|
130
|
+
* @returns The formatted string.
|
|
131
|
+
*/
|
|
132
|
+
export declare const camelCaseToDelimited: (value: string, delimiter?: string, abbreviations?: Array<string> | null) => string;
|
|
133
|
+
/**
|
|
134
|
+
* Converts a string to its capitalize representation.
|
|
135
|
+
* @param string - The string to format.
|
|
136
|
+
* @returns The formatted string.
|
|
137
|
+
*/
|
|
138
|
+
export declare const capitalize: (string: string) => string;
|
|
139
|
+
/**
|
|
140
|
+
* Compresses given style attribute value.
|
|
141
|
+
* @param styleValue - Style value to compress.
|
|
142
|
+
* @returns The compressed value.
|
|
143
|
+
*/
|
|
144
|
+
export declare const compressStyleValue: (styleValue: string) => string;
|
|
145
|
+
/**
|
|
146
|
+
* Decodes all html symbols in text nodes in given html string.
|
|
147
|
+
* @param htmlString - HTML string to decode.
|
|
148
|
+
* @returns Decoded html string.
|
|
149
|
+
*/
|
|
150
|
+
export declare const decodeHTMLEntities: (htmlString: string) => null | string;
|
|
151
|
+
/**
|
|
152
|
+
* Converts a delimited string to its camel case representation.
|
|
153
|
+
* @param value - The string to format.
|
|
154
|
+
* @param delimiter - Delimiter string to use.
|
|
155
|
+
* @param abbreviations - Collection of shortcut words to represent upper
|
|
156
|
+
* cased.
|
|
157
|
+
* @param preserveWrongFormattedAbbreviations - If set to "True" wrong
|
|
158
|
+
* formatted camel case abbreviations will be ignored.
|
|
159
|
+
* @param removeMultipleDelimiter - Indicates whether a series of delimiter
|
|
160
|
+
* should be consolidated.
|
|
161
|
+
* @returns The formatted string.
|
|
162
|
+
*/
|
|
163
|
+
export declare const delimitedToCamelCase: (value: string, delimiter?: string, abbreviations?: Array<string> | null, preserveWrongFormattedAbbreviations?: boolean, removeMultipleDelimiter?: boolean) => string;
|
|
164
|
+
/**
|
|
165
|
+
* Compiles a given string as expression with given scope names.
|
|
166
|
+
* @param expression - The string to interpret.
|
|
167
|
+
* @param scope - Scope to extract names from.
|
|
168
|
+
* @param execute - Indicates whether to execute or evaluate.
|
|
169
|
+
* @param removeGlobalScope - Indicates whether to shadow global variables
|
|
170
|
+
* via "undefined".
|
|
171
|
+
* @returns Object of prepared scope name mappings and compiled function or
|
|
172
|
+
* error string message if given expression couldn't be compiled.
|
|
173
|
+
*/
|
|
174
|
+
export declare const compile: <T = string, N extends Array<string> = string[]>(expression: string, scope?: N | Mapping<unknown, N[number]> | N[number], execute?: boolean, removeGlobalScope?: boolean) => CompilationResult<T, N>;
|
|
175
|
+
/**
|
|
176
|
+
* Evaluates a given string as expression against given scope.
|
|
177
|
+
* @param expression - The string to interpret.
|
|
178
|
+
* @param scope - Scope to render against.
|
|
179
|
+
* @param execute - Indicates whether to execute or evaluate.
|
|
180
|
+
* @param removeGlobalScope - Indicates whether to shadow global variables
|
|
181
|
+
* via "undefined".
|
|
182
|
+
* @param binding - Object to apply as "this" in evaluation scope.
|
|
183
|
+
* @returns Object with error message during parsing / running or result.
|
|
184
|
+
*/
|
|
185
|
+
export declare const evaluate: <T = string, S extends object = object>(expression: string, scope?: S, execute?: boolean, removeGlobalScope?: boolean, binding?: unknown) => EvaluationResult<T>;
|
|
186
|
+
/**
|
|
187
|
+
* Finds the string match of given query in given target text by applying
|
|
188
|
+
* given normalisation function to target and query.
|
|
189
|
+
* @param target - Target to search in.
|
|
190
|
+
* @param query - Search string to search for.
|
|
191
|
+
* @param normalizer - Function to use as normalisation for queries and
|
|
192
|
+
* search targets.
|
|
193
|
+
* @param skipTagDelimitedParts - Indicates whether to for example ignore
|
|
194
|
+
* html tags via "['<', '>']" (the default).
|
|
195
|
+
* @returns Start and end index of matching range.
|
|
196
|
+
*/
|
|
197
|
+
export declare const findNormalizedMatchRange: (target: unknown, query: unknown, normalizer?: (value: unknown) => string, skipTagDelimitedParts?: null | [string, string]) => Array<number> | null;
|
|
198
|
+
/**
|
|
199
|
+
* Fixes known encoding problems in given data.
|
|
200
|
+
* @param data - To process.
|
|
201
|
+
* @returns Processed data.
|
|
202
|
+
*/
|
|
203
|
+
export declare const fixKnownEncodingErrors: (data: string) => string;
|
|
204
|
+
/**
|
|
205
|
+
* Performs a string formation. Replaces every placeholder "{i}" with the i'th
|
|
206
|
+
* argument.
|
|
207
|
+
* @param string - The string to format.
|
|
208
|
+
* @param additionalArguments - Additional arguments are interpreted as
|
|
209
|
+
* replacements for string formatting.
|
|
210
|
+
* @returns The formatted string.
|
|
211
|
+
*/
|
|
212
|
+
export declare const format: (string: string, ...additionalArguments: Array<unknown>) => string;
|
|
213
|
+
/**
|
|
214
|
+
* Calculates the edit (levenstein) distance between two given strings.
|
|
215
|
+
* @param first - First string to compare.
|
|
216
|
+
* @param second - Second string to compare.
|
|
217
|
+
* @returns The distance as number.
|
|
218
|
+
*/
|
|
219
|
+
export declare const getEditDistance: (first: string, second: string) => number;
|
|
220
|
+
/**
|
|
221
|
+
* Validates the current string for using in a regular expression pattern.
|
|
222
|
+
* Special regular expression chars will be escaped.
|
|
223
|
+
* @param value - The string to format.
|
|
224
|
+
* @returns The formatted string.
|
|
225
|
+
*/
|
|
226
|
+
export declare const maskForRegularExpression: (value: string) => string;
|
|
227
|
+
/**
|
|
228
|
+
* Converts a string to its lower case representation.
|
|
229
|
+
* @param string - The string to format.
|
|
230
|
+
* @returns The formatted string.
|
|
231
|
+
*/
|
|
232
|
+
export declare const lowerCase: (string: string) => string;
|
|
233
|
+
/**
|
|
234
|
+
* Wraps given mark strings in given target with given marker.
|
|
235
|
+
* @param target - String to search for marker.
|
|
236
|
+
* @param givenWords - String or array of strings to search in target for.
|
|
237
|
+
* @param options - Defines highlighting behavior.
|
|
238
|
+
* @param options.marker - HTML template string to mark.
|
|
239
|
+
* @param options.normalizer - Pure normalisation function to use before
|
|
240
|
+
* searching for matches.
|
|
241
|
+
* @param options.skipTagDelimitedParts - Indicates whether to for example
|
|
242
|
+
* ignore html tags via "['<', '>']" (the default).
|
|
243
|
+
* @returns Processed result.
|
|
244
|
+
*/
|
|
245
|
+
export declare const mark: (target: unknown, givenWords?: Array<string> | string, options?: Partial<StringMarkOptions>) => unknown;
|
|
246
|
+
/**
|
|
247
|
+
* Normalizes given phone number for automatic dialing or comparison.
|
|
248
|
+
* @param value - Number to normalize.
|
|
249
|
+
* @param dialable - Indicates whether the result should be dialed or
|
|
250
|
+
* represented as lossless data.
|
|
251
|
+
* @returns Normalized number.
|
|
252
|
+
*/
|
|
253
|
+
export declare const normalizePhoneNumber: (value: unknown, dialable?: boolean) => string;
|
|
254
|
+
/**
|
|
255
|
+
* Normalizes given zip code for automatic address processing.
|
|
256
|
+
* @param value - Number to normalize.
|
|
257
|
+
* @returns Normalized number.
|
|
258
|
+
*/
|
|
259
|
+
export declare const normalizeZipCode: (value: unknown) => string;
|
|
260
|
+
/**
|
|
261
|
+
* Converts given serialized, base64 encoded or file path given object into a
|
|
262
|
+
* native javaScript one if possible.
|
|
263
|
+
* @param serializedObject - Object as string.
|
|
264
|
+
* @param scope - An optional scope which will be used to evaluate given object
|
|
265
|
+
* in.
|
|
266
|
+
* @param name - The name under given scope will be available.
|
|
267
|
+
* @returns The parsed object if possible and null otherwise.
|
|
268
|
+
*/
|
|
269
|
+
export declare const parseEncodedObject: <T = PlainObject>(serializedObject: string, scope?: Mapping<unknown>, name?: string) => null | T;
|
|
270
|
+
/**
|
|
271
|
+
* Represents given phone number. NOTE: Currently only support german phone
|
|
272
|
+
* numbers.
|
|
273
|
+
* @param value - Number to format.
|
|
274
|
+
* @returns Formatted number.
|
|
275
|
+
*/
|
|
276
|
+
export declare const representPhoneNumber: (value: unknown) => string;
|
|
277
|
+
/**
|
|
278
|
+
* Slices all none numbers but preserves last separator.
|
|
279
|
+
* @param value - String to process.
|
|
280
|
+
* @returns - Sliced given value.
|
|
281
|
+
*/
|
|
282
|
+
export declare const sliceAllExceptNumberAndLastSeperator: (value: string) => string;
|
|
283
|
+
/**
|
|
284
|
+
* Converts a dom selector to a prefixed dom selector string.
|
|
285
|
+
* @param selector - A dom node selector.
|
|
286
|
+
* @param selectorPrefix - A dom node selector prefix to take into account.
|
|
287
|
+
* @returns Returns given selector prefixed.
|
|
288
|
+
*/
|
|
289
|
+
export declare const normalizeDomNodeSelector: (selector: string, selectorPrefix?: string) => string;
|