@bbn/bbn 1.0.90 → 1.0.91

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 (150) hide show
  1. package/dist/_.js +1 -1
  2. package/dist/bundle.js +770 -770
  3. package/dist/db.js +4 -4
  4. package/dist/fn/ajax/_addLoader.js +1 -1
  5. package/dist/fn/ajax/_deleteLoader.js +3 -3
  6. package/dist/fn/ajax/abort.js +1 -1
  7. package/dist/fn/ajax/abortURL.js +2 -2
  8. package/dist/fn/ajax/ajax.js +9 -9
  9. package/dist/fn/ajax/callback.js +3 -3
  10. package/dist/fn/ajax/download.js +6 -6
  11. package/dist/fn/ajax/downloadContent.js +4 -4
  12. package/dist/fn/ajax/getLoader.js +1 -1
  13. package/dist/fn/ajax/getRequestId.js +2 -2
  14. package/dist/fn/ajax/link.js +8 -8
  15. package/dist/fn/ajax/post.js +3 -3
  16. package/dist/fn/ajax/postOut.js +3 -3
  17. package/dist/fn/ajax/setNavigationVars.js +4 -4
  18. package/dist/fn/ajax/treatAjaxArguments.js +4 -4
  19. package/dist/fn/ajax/upload.js +2 -2
  20. package/dist/fn/browser/copy.js +2 -2
  21. package/dist/fn/browser/error.js +1 -1
  22. package/dist/fn/browser/getEventData.js +2 -2
  23. package/dist/fn/browser/happy.js +1 -1
  24. package/dist/fn/browser/info.js +1 -1
  25. package/dist/fn/browser/isDesktopDevice.js +1 -1
  26. package/dist/fn/browser/isMobile.js +2 -2
  27. package/dist/fn/browser/isMobileDevice.js +1 -1
  28. package/dist/fn/browser/isTabletDevice.js +1 -1
  29. package/dist/fn/browser/log.js +1 -1
  30. package/dist/fn/browser/toggleFullScreen.js +1 -1
  31. package/dist/fn/browser/warning.js +1 -1
  32. package/dist/fn/convert/imgToBase64.js +1 -1
  33. package/dist/fn/convert/toCSV.js +3 -3
  34. package/dist/fn/datetime/calendar.js +4 -4
  35. package/dist/fn/datetime/chrono.js +1 -1
  36. package/dist/fn/datetime/date.js +3 -3
  37. package/dist/fn/datetime/dateSQL.js +1 -1
  38. package/dist/fn/datetime/daysInMonth.js +1 -1
  39. package/dist/fn/datetime/fdate.js +4 -4
  40. package/dist/fn/datetime/fdatetime.js +3 -3
  41. package/dist/fn/datetime/ftime.js +3 -3
  42. package/dist/fn/datetime/getDay.js +1 -1
  43. package/dist/fn/default/defaultAjaxAbortFunction.js +1 -1
  44. package/dist/fn/default/defaultAjaxErrorFunction.js +1 -1
  45. package/dist/fn/default/defaultConfirmFunction.js +1 -1
  46. package/dist/fn/default/defaultErrorFunction.js +1 -1
  47. package/dist/fn/default/defaultPreLinkFunction.js +1 -1
  48. package/dist/fn/form/addInputs.js +1 -1
  49. package/dist/fn/form/formdata.js +4 -4
  50. package/dist/fn/form/objectToFormData.js +5 -5
  51. package/dist/fn/form/submit.js +2 -2
  52. package/dist/fn/html/adjustHeight.js +2 -2
  53. package/dist/fn/html/adjustSize.js +1 -1
  54. package/dist/fn/html/adjustWidth.js +2 -2
  55. package/dist/fn/html/getAllTags.js +1 -1
  56. package/dist/fn/html/getAttributes.js +1 -1
  57. package/dist/fn/html/getHTMLOfSelection.js +1 -1
  58. package/dist/fn/html/getHtml.js +1 -1
  59. package/dist/fn/html/getPath.js +1 -1
  60. package/dist/fn/html/isInside.js +3 -3
  61. package/dist/fn/html/makeReactive.js +8 -8
  62. package/dist/fn/init.js +11 -11
  63. package/dist/fn/loop/each.js +3 -3
  64. package/dist/fn/loop/fori.js +2 -2
  65. package/dist/fn/loop/forir.js +2 -2
  66. package/dist/fn/loop/iterate.js +1 -1
  67. package/dist/fn/loop/riterate.js +1 -1
  68. package/dist/fn/misc/analyzeFunction.js +1 -1
  69. package/dist/fn/misc/money.js +1 -1
  70. package/dist/fn/misc/translate.js +1 -1
  71. package/dist/fn/object/_compareValues.js +4 -4
  72. package/dist/fn/object/arrayFromProp.js +2 -2
  73. package/dist/fn/object/autoExtend.js +1 -1
  74. package/dist/fn/object/checkProps.js +1 -1
  75. package/dist/fn/object/checkPropsDetails.js +4 -4
  76. package/dist/fn/object/checkPropsOrDie.js +1 -1
  77. package/dist/fn/object/circularReplacer.js +3 -3
  78. package/dist/fn/object/clone.js +3 -3
  79. package/dist/fn/object/compare.js +5 -5
  80. package/dist/fn/object/compareConditions.js +4 -4
  81. package/dist/fn/object/count.js +1 -1
  82. package/dist/fn/object/createObject.js +1 -1
  83. package/dist/fn/object/deepPath.js +3 -3
  84. package/dist/fn/object/deleteProp.js +1 -1
  85. package/dist/fn/object/diffObj.js +6 -6
  86. package/dist/fn/object/extend.js +4 -4
  87. package/dist/fn/object/extendOut.js +1 -1
  88. package/dist/fn/object/filter.js +3 -3
  89. package/dist/fn/object/filterToConditions.js +3 -3
  90. package/dist/fn/object/findAll.js +3 -3
  91. package/dist/fn/object/getField.js +1 -1
  92. package/dist/fn/object/getFieldValues.js +3 -3
  93. package/dist/fn/object/getProp.js +1 -1
  94. package/dist/fn/object/getRow.js +1 -1
  95. package/dist/fn/object/map.js +1 -1
  96. package/dist/fn/object/multiorder.js +1 -1
  97. package/dist/fn/object/order.js +1 -1
  98. package/dist/fn/object/removeEmpty.js +3 -3
  99. package/dist/fn/object/removePrivateProp.js +1 -1
  100. package/dist/fn/object/search.js +5 -5
  101. package/dist/fn/object/setProperty.js +1 -1
  102. package/dist/fn/object/shortenObj.js +4 -4
  103. package/dist/fn/object/sum.js +2 -2
  104. package/dist/fn/string/baseName.js +2 -2
  105. package/dist/fn/string/br2nl.js +1 -1
  106. package/dist/fn/string/dirName.js +2 -2
  107. package/dist/fn/string/escapeDquotes.js +1 -1
  108. package/dist/fn/string/escapeSquotes.js +1 -1
  109. package/dist/fn/string/escapeTicks.js +1 -1
  110. package/dist/fn/string/escapeUrl.js +4 -4
  111. package/dist/fn/string/fileExt.js +1 -1
  112. package/dist/fn/string/format.js +1 -1
  113. package/dist/fn/string/formatSize.js +2 -2
  114. package/dist/fn/string/hash.js +5 -5
  115. package/dist/fn/string/nl2br.js +1 -1
  116. package/dist/fn/string/quotes2html.js +1 -1
  117. package/dist/fn/string/randomString.js +1 -1
  118. package/dist/fn/string/removeAccents.js +2 -2
  119. package/dist/fn/string/removeHtmlComments.js +1 -1
  120. package/dist/fn/string/removeTrailingChars.js +1 -1
  121. package/dist/fn/string/replaceAll.js +2 -2
  122. package/dist/fn/string/sanitize.js +2 -2
  123. package/dist/fn/string/shorten.js +2 -2
  124. package/dist/fn/string/simpleHash.js +2 -2
  125. package/dist/fn/string/substr.js +3 -3
  126. package/dist/fn/string/trim.js +1 -1
  127. package/dist/fn/string/uniqString.js +3 -3
  128. package/dist/fn/style/addColors.js +2 -2
  129. package/dist/fn/style/addStyle.js +2 -2
  130. package/dist/fn/style/cssExists.js +2 -2
  131. package/dist/fn/style/outerHeight.js +1 -1
  132. package/dist/fn/style/outerWidth.js +1 -1
  133. package/dist/fn/style/resize.js +2 -2
  134. package/dist/fn/type/checkType.js +7 -7
  135. package/dist/fn/type/isColor.js +1 -1
  136. package/dist/fn/type/isCp.js +1 -1
  137. package/dist/fn/type/isDimension.js +1 -1
  138. package/dist/fn/type/isEmail.js +1 -1
  139. package/dist/fn/type/isEmpty.js +2 -2
  140. package/dist/fn/type/isHostname.js +2 -2
  141. package/dist/fn/type/isIP.js +1 -1
  142. package/dist/fn/type/isPropSize.js +1 -1
  143. package/dist/fn/type/isSame.js +2 -2
  144. package/dist/fn/type/isValidDimension.js +2 -2
  145. package/dist/fn/type/isValidName.js +1 -1
  146. package/dist/fn/type/isValue.js +1 -1
  147. package/dist/fn.d.ts +3 -3
  148. package/dist/fn.js +226 -226
  149. package/dist/index.js +6 -6
  150. package/package.json +1 -1
package/dist/bundle.js CHANGED
@@ -206,7 +206,7 @@
206
206
  };
207
207
  exports.isFunction = isFunction;
208
208
  });
209
- define("fn/browser/log", ["require", "exports", "fn/type/isFunction"], function (require, exports, isFunction_1) {
209
+ define("fn/browser/log", ["require", "exports", "fn/type/isFunction"], function (require, exports, isFunction_js_1) {
210
210
  "use strict";
211
211
  Object.defineProperty(exports, "__esModule", { value: true });
212
212
  exports.log = void 0;
@@ -229,7 +229,7 @@
229
229
  let level = 5;
230
230
  let fn = 'log';
231
231
  if (args[0] && typeof args[0] === 'object' && args[0]._bbn_console_style) {
232
- if (args[0]._bbn_console_mode && (0, isFunction_1.isFunction)(console[args[0]._bbn_console_mode])) {
232
+ if (args[0]._bbn_console_mode && (0, isFunction_js_1.isFunction)(console[args[0]._bbn_console_mode])) {
233
233
  fn = args[0]._bbn_console_mode;
234
234
  }
235
235
  else {
@@ -256,7 +256,7 @@
256
256
  };
257
257
  exports.log = log;
258
258
  });
259
- define("fn/string/substr", ["require", "exports", "fn/type/isString", "fn/type/isInt", "fn/browser/log"], function (require, exports, isString_1, isInt_1, log_1) {
259
+ define("fn/string/substr", ["require", "exports", "fn/type/isString", "fn/type/isInt", "fn/browser/log"], function (require, exports, isString_js_1, isInt_js_1, log_js_1) {
260
260
  "use strict";
261
261
  Object.defineProperty(exports, "__esModule", { value: true });
262
262
  exports.substr = void 0;
@@ -282,21 +282,21 @@
282
282
  * @returns {String} Result substring
283
283
  */
284
284
  const substr = function (str, from, length) {
285
- if (!(0, isString_1.isString)(str) || !(0, isInt_1.isInt)(from)) {
286
- (0, log_1.log)(arguments);
285
+ if (!(0, isString_js_1.isString)(str) || !(0, isInt_js_1.isInt)(from)) {
286
+ (0, log_js_1.log)(arguments);
287
287
  throw new Error(bbn._("The substr function should be applied to a string and at least a `from` argument should be given"));
288
288
  }
289
289
  if (from < 0) {
290
290
  from = str.length + from;
291
291
  }
292
- if (!(0, isInt_1.isInt)(length)) {
292
+ if (!(0, isInt_js_1.isInt)(length)) {
293
293
  return str.substring(from);
294
294
  }
295
295
  return str.substring(from, (length < 0 ? str.length : from) + length);
296
296
  };
297
297
  exports.substr = substr;
298
298
  });
299
- define("fn/object/removePrivateProp", ["require", "exports", "fn/string/substr"], function (require, exports, substr_1) {
299
+ define("fn/object/removePrivateProp", ["require", "exports", "fn/string/substr"], function (require, exports, substr_js_1) {
300
300
  "use strict";
301
301
  Object.defineProperty(exports, "__esModule", { value: true });
302
302
  exports.removePrivateProp = void 0;
@@ -327,7 +327,7 @@
327
327
  if (typeof obj === 'object') {
328
328
  r = {};
329
329
  for (var n in obj) {
330
- if ((0, substr_1.substr)(n, 0, 1).match(/^[A-z0-9]$/) && (n in obj)) {
330
+ if ((0, substr_js_1.substr)(n, 0, 1).match(/^[A-z0-9]$/) && (n in obj)) {
331
331
  if (deep && typeof obj[n] === 'object') {
332
332
  r[n] = removePrivateProp(obj[n], true);
333
333
  }
@@ -341,7 +341,7 @@
341
341
  };
342
342
  exports.removePrivateProp = removePrivateProp;
343
343
  });
344
- define("fn/loop/iterate", ["require", "exports", "fn/object/removePrivateProp"], function (require, exports, removePrivateProp_1) {
344
+ define("fn/loop/iterate", ["require", "exports", "fn/object/removePrivateProp"], function (require, exports, removePrivateProp_js_1) {
345
345
  "use strict";
346
346
  Object.defineProperty(exports, "__esModule", { value: true });
347
347
  exports.iterate = void 0;
@@ -367,7 +367,7 @@
367
367
  */
368
368
  const iterate = function (obj, fn, noPrivate = false, reverse = false) {
369
369
  if (obj !== null && typeof obj === "object") {
370
- let iter = Object.keys(noPrivate ? (0, removePrivateProp_1.removePrivateProp)(obj) : obj);
370
+ let iter = Object.keys(noPrivate ? (0, removePrivateProp_js_1.removePrivateProp)(obj) : obj);
371
371
  if (reverse) {
372
372
  iter.reverse();
373
373
  }
@@ -381,7 +381,7 @@
381
381
  };
382
382
  exports.iterate = iterate;
383
383
  });
384
- define("fn/loop/each", ["require", "exports", "fn/type/isNumber", "fn/type/isIterable", "fn/loop/iterate"], function (require, exports, isNumber_1, isIterable_1, iterate_1) {
384
+ define("fn/loop/each", ["require", "exports", "fn/type/isNumber", "fn/type/isIterable", "fn/loop/iterate"], function (require, exports, isNumber_js_1, isIterable_js_1, iterate_js_1) {
385
385
  "use strict";
386
386
  Object.defineProperty(exports, "__esModule", { value: true });
387
387
  exports.each = void 0;
@@ -417,7 +417,7 @@
417
417
  * @returns {[Array, Object, void]}
418
418
  */
419
419
  const each = function (arr, fn) {
420
- if ((0, isNumber_1.isNumber)(arr) && arr > 0) {
420
+ if ((0, isNumber_js_1.isNumber)(arr) && arr > 0) {
421
421
  for (let i = 0; i < arr; i++) {
422
422
  if (fn(i, i) === false) {
423
423
  return;
@@ -425,7 +425,7 @@
425
425
  }
426
426
  return;
427
427
  }
428
- if ((0, isIterable_1.isIterable)(arr)) {
428
+ if ((0, isIterable_js_1.isIterable)(arr)) {
429
429
  for (let i = 0; i < arr.length; i++) {
430
430
  if (fn(arr[i], i) === false) {
431
431
  return;
@@ -433,7 +433,7 @@
433
433
  }
434
434
  return arr;
435
435
  }
436
- return (0, iterate_1.iterate)(arr, fn);
436
+ return (0, iterate_js_1.iterate)(arr, fn);
437
437
  };
438
438
  exports.each = each;
439
439
  });
@@ -462,7 +462,7 @@
462
462
  };
463
463
  exports.correctCase = correctCase;
464
464
  });
465
- define("fn/browser/error", ["require", "exports", "fn/browser/log"], function (require, exports, log_2) {
465
+ define("fn/browser/error", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_2) {
466
466
  "use strict";
467
467
  Object.defineProperty(exports, "__esModule", { value: true });
468
468
  exports.error = void 0;
@@ -489,23 +489,23 @@
489
489
  _bbn_console_level: 1,
490
490
  _bbn_console_style: 'color: #E64141; background: #F7E195; font-size: 14px',
491
491
  });
492
- log_2.log.apply(this, args);
492
+ log_js_2.log.apply(this, args);
493
493
  }
494
494
  throw new Error(errorMsg);
495
495
  };
496
496
  exports.error = error;
497
497
  });
498
- define("fn/type/checkType", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/type/isFunction", "fn/type/isString", "fn/string/correctCase", "fn/browser/error", "fn/browser/log"], function (require, exports, isArray_1, each_1, isFunction_2, isString_2, correctCase_1, error_1, log_3) {
498
+ define("fn/type/checkType", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/type/isFunction", "fn/type/isString", "fn/string/correctCase", "fn/browser/error", "fn/browser/log"], function (require, exports, isArray_js_1, each_js_1, isFunction_js_2, isString_js_2, correctCase_js_1, error_js_1, log_js_3) {
499
499
  "use strict";
500
500
  Object.defineProperty(exports, "__esModule", { value: true });
501
501
  exports.checkType = void 0;
502
502
  const checkType = function (value, type, msg, ...logs) {
503
503
  let ok = false;
504
- if (!(0, isArray_1.isArray)(type)) {
504
+ if (!(0, isArray_js_1.isArray)(type)) {
505
505
  type = [type];
506
506
  }
507
507
  const typesList = [];
508
- (0, each_1.each)(type, (t) => {
508
+ (0, each_js_1.each)(type, (t) => {
509
509
  var _a;
510
510
  if (t === String) {
511
511
  t = 'string';
@@ -525,17 +525,17 @@
525
525
  else if (t === Function) {
526
526
  t = 'function';
527
527
  }
528
- if ((0, isFunction_2.isFunction)(t)) {
528
+ if ((0, isFunction_js_2.isFunction)(t)) {
529
529
  typesList.push(t.name || ((_a = t.constructor) === null || _a === void 0 ? void 0 : _a.name) || t.toString());
530
530
  if (value instanceof t) {
531
531
  ok = true;
532
532
  return false;
533
533
  }
534
534
  }
535
- else if (!(0, isString_2.isString)(t) || !(0, isFunction_2.isFunction)(bbn.fn['is' + (0, correctCase_1.correctCase)(t)])) {
536
- (0, error_1.error)(`The type ${t} is not recognized`);
535
+ else if (!(0, isString_js_2.isString)(t) || !(0, isFunction_js_2.isFunction)(bbn.fn['is' + (0, correctCase_js_1.correctCase)(t)])) {
536
+ (0, error_js_1.error)(`The type ${t} is not recognized`);
537
537
  }
538
- else if (bbn.fn['is' + (0, correctCase_1.correctCase)(t)](value)) {
538
+ else if (bbn.fn['is' + (0, correctCase_js_1.correctCase)(t)](value)) {
539
539
  ok = true;
540
540
  return false;
541
541
  }
@@ -544,16 +544,16 @@
544
544
  }
545
545
  });
546
546
  if (!ok) {
547
- (0, log_3.log)(['Value given', value, 'type', typeof value, 'expected', typesList.join(' or ')]);
547
+ (0, log_js_3.log)(['Value given', value, 'type', typeof value, 'expected', typesList.join(' or ')]);
548
548
  if (logs.length) {
549
- (0, log_3.log)(logs);
549
+ (0, log_js_3.log)(logs);
550
550
  }
551
551
  throw new Error((msg ? msg + ' - ' : '') + bbn._('The value should be a %s', typesList.join(' ' + bbn._('or a') + ' ')));
552
552
  }
553
553
  };
554
554
  exports.checkType = checkType;
555
555
  });
556
- define("_", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_1) {
556
+ define("_", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_js_1) {
557
557
  "use strict";
558
558
  Object.defineProperty(exports, "__esModule", { value: true });
559
559
  exports._ = void 0;
@@ -573,7 +573,7 @@
573
573
  if (!tmp) {
574
574
  tmp = type === 'd' ? 0 : '';
575
575
  }
576
- (0, checkType_1.checkType)(tmp, type === 'd' ? 'number' : 'string', bbn._("The value you gave did not correspond, check the loggg"));
576
+ (0, checkType_js_1.checkType)(tmp, type === 'd' ? 'number' : 'string', bbn._("The value you gave did not correspond, check the loggg"));
577
577
  return tmp;
578
578
  });
579
579
  }
@@ -741,7 +741,7 @@
741
741
  };
742
742
  exports.env = env;
743
743
  });
744
- define("db", ["require", "exports", "_", "fn/loop/each", "fn/loop/iterate", "fn/browser/log"], function (require, exports, _1, each_2, iterate_2, log_4) {
744
+ define("db", ["require", "exports", "_", "fn/loop/each", "fn/loop/iterate", "fn/browser/log"], function (require, exports, __js_1, each_js_2, iterate_js_2, log_js_4) {
745
745
  "use strict";
746
746
  Object.defineProperty(exports, "__esModule", { value: true });
747
747
  exports.db = void 0;
@@ -757,10 +757,10 @@
757
757
  const tx = conn.transaction(table, "readwrite");
758
758
  const store = tx.objectStore(table);
759
759
  let res = data.length;
760
- (0, each_2.each)(data, a => {
760
+ (0, each_js_2.each)(data, a => {
761
761
  const request = store.put(a);
762
762
  request.onerror = () => {
763
- (0, log_4.log)(request.error);
763
+ (0, log_js_4.log)(request.error);
764
764
  res--;
765
765
  };
766
766
  });
@@ -779,12 +779,12 @@
779
779
  const arch = structure[table];
780
780
  const primary = arch.keys.PRIMARY.columns.length > 1 ? arch.keys.PRIMARY.columns : arch.keys.PRIMARY.columns[0];
781
781
  if (!where[primary]) {
782
- throw new Error((0, _1._)("No "));
782
+ throw new Error((0, __js_1._)("No "));
783
783
  }
784
784
  let res = 1;
785
785
  const request = store.put(data, where[primary]);
786
786
  request.onerror = () => {
787
- (0, log_4.log)(request.error);
787
+ (0, log_js_4.log)(request.error);
788
788
  res--;
789
789
  };
790
790
  tx.onabort = () => {
@@ -802,12 +802,12 @@
802
802
  const arch = structure[table];
803
803
  const primary = arch.keys.PRIMARY.columns.length > 1 ? arch.keys.PRIMARY.columns : arch.keys.PRIMARY.columns[0];
804
804
  if (!where[primary]) {
805
- throw new Error((0, _1._)("No "));
805
+ throw new Error((0, __js_1._)("No "));
806
806
  }
807
807
  let res = 1;
808
808
  const request = store.delete(where[primary]);
809
809
  request.onerror = () => {
810
- (0, log_4.log)(request.error);
810
+ (0, log_js_4.log)(request.error);
811
811
  res--;
812
812
  };
813
813
  tx.onabort = () => {
@@ -832,7 +832,7 @@
832
832
  const arch = structure[table];
833
833
  const primary = arch.keys.PRIMARY.columns.length > 1 ? arch.keys.PRIMARY.columns : arch.keys.PRIMARY.columns[0];
834
834
  if (!where[primary]) {
835
- throw new Error((0, _1._)("No "));
835
+ throw new Error((0, __js_1._)("No "));
836
836
  }
837
837
  return new Promise(resolve => {
838
838
  const req = store.get(where[primary]);
@@ -840,7 +840,7 @@
840
840
  let obj = req.result;
841
841
  if (fields.length) {
842
842
  let res = {};
843
- (0, iterate_2.iterate)(obj, (v, n) => {
843
+ (0, iterate_js_2.iterate)(obj, (v, n) => {
844
844
  if (fields.indexOf(n) > -1) {
845
845
  res[n] = v;
846
846
  }
@@ -859,7 +859,7 @@
859
859
  const arch = structure[table];
860
860
  const primary = arch.keys.PRIMARY.columns.length > 1 ? arch.keys.PRIMARY.columns : arch.keys.PRIMARY.columns[0];
861
861
  if (!where[primary]) {
862
- throw new Error((0, _1._)("No "));
862
+ throw new Error((0, __js_1._)("No "));
863
863
  }
864
864
  return new Promise(resolve => {
865
865
  const req = store.get(structure.keys.PRIMARY);
@@ -883,16 +883,16 @@
883
883
  return new Promise((resolve) => {
884
884
  if (!db._connections[name]) {
885
885
  if (!db._structures[name]) {
886
- throw new Error((0, _1._)("Impossible to find a structure for the database %s", name));
886
+ throw new Error((0, __js_1._)("Impossible to find a structure for the database %s", name));
887
887
  }
888
888
  const conn = idb.open(name);
889
889
  conn.onupgradeneeded = () => {
890
- (0, log_4.log)("UPGRADE NEEDED");
890
+ (0, log_js_4.log)("UPGRADE NEEDED");
891
891
  const res = conn.result;
892
- (0, iterate_2.iterate)(db._structures[name], (structure, storeName) => {
892
+ (0, iterate_js_2.iterate)(db._structures[name], (structure, storeName) => {
893
893
  const primary = structure.keys.PRIMARY.columns.length > 1 ? structure.keys.PRIMARY.columns : structure.keys.PRIMARY.columns[0];
894
894
  const store = res.createObjectStore(storeName, { keyPath: primary });
895
- (0, iterate_2.iterate)(structure.keys, (a, n) => {
895
+ (0, iterate_js_2.iterate)(structure.keys, (a, n) => {
896
896
  if (n !== 'PRIMARY') {
897
897
  store.createIndex(n, a.columns.length > 1 ? a.columns : a.columns[0], {
898
898
  unique: !!a.unique
@@ -920,13 +920,13 @@
920
920
  db._structures[database][name] = structure;
921
921
  }
922
922
  else {
923
- throw new Error((0, _1._)("The database structure for %s is not valid (are there keys and field? Is there a primary?", name));
923
+ throw new Error((0, __js_1._)("The database structure for %s is not valid (are there keys and field? Is there a primary?", name));
924
924
  }
925
925
  }
926
926
  };
927
927
  exports.db = db;
928
928
  });
929
- define("fn/ajax/_addLoader", ["require", "exports", "fn/string/substr"], function (require, exports, substr_2) {
929
+ define("fn/ajax/_addLoader", ["require", "exports", "fn/string/substr"], function (require, exports, substr_js_2) {
930
930
  "use strict";
931
931
  Object.defineProperty(exports, "__esModule", { value: true });
932
932
  exports._addLoader = void 0;
@@ -948,7 +948,7 @@
948
948
  /** @var {Number} tst Current timestamp */
949
949
  let tst = new Date().getTime();
950
950
  /** @var {String} url The original URL (part of requestId before : and md5) */
951
- let url = (0, substr_2.substr)(requestId, 0, requestId.length - 33);
951
+ let url = (0, substr_js_2.substr)(requestId, 0, requestId.length - 33);
952
952
  /** @var {Object} loader The loader object */
953
953
  let loader = {
954
954
  key: requestId,
@@ -1025,7 +1025,7 @@
1025
1025
  };
1026
1026
  exports.getProperty = getProperty;
1027
1027
  });
1028
- define("fn/string/removeAccents", ["require", "exports", "fn/type/isString", "fn/browser/log"], function (require, exports, isString_3, log_5) {
1028
+ define("fn/string/removeAccents", ["require", "exports", "fn/type/isString", "fn/browser/log"], function (require, exports, isString_js_3, log_js_5) {
1029
1029
  "use strict";
1030
1030
  Object.defineProperty(exports, "__esModule", { value: true });
1031
1031
  exports.removeAccents = void 0;
@@ -1045,12 +1045,12 @@
1045
1045
  * @returns {String}
1046
1046
  */
1047
1047
  const removeAccents = function (st) {
1048
- if (!(0, isString_3.isString)(st)) {
1048
+ if (!(0, isString_js_3.isString)(st)) {
1049
1049
  if (st.toString) {
1050
1050
  st = st.toString();
1051
1051
  }
1052
1052
  else {
1053
- (0, log_5.log)(st);
1053
+ (0, log_js_5.log)(st);
1054
1054
  throw new Error(bbn._("removeAccent expects a string"));
1055
1055
  }
1056
1056
  }
@@ -1092,7 +1092,7 @@
1092
1092
  };
1093
1093
  exports.isDate = isDate;
1094
1094
  });
1095
- define("fn/object/_compareValues", ["require", "exports", "fn/object/getProperty", "fn/type/isString", "fn/string/removeAccents", "fn/type/isDate"], function (require, exports, getProperty_1, isString_4, removeAccents_1, isDate_1) {
1095
+ define("fn/object/_compareValues", ["require", "exports", "fn/object/getProperty", "fn/type/isString", "fn/string/removeAccents", "fn/type/isDate"], function (require, exports, getProperty_js_1, isString_js_4, removeAccents_js_1, isDate_js_1) {
1096
1096
  "use strict";
1097
1097
  Object.defineProperty(exports, "__esModule", { value: true });
1098
1098
  exports._compareValues = void 0;
@@ -1135,8 +1135,8 @@
1135
1135
  * @returns {Number} Always either -1, 1, or 0
1136
1136
  */
1137
1137
  const _compareValues = function (a, b, prop, dir = "asc") {
1138
- let va = (0, getProperty_1.getProperty)(a, prop), vb = (0, getProperty_1.getProperty)(b, prop), ta = (typeof va).toLowerCase(), tb = (typeof vb).toLowerCase();
1139
- if (dir !== "asc" && (0, isString_4.isString)(dir) && dir.toLowerCase() === "desc") {
1138
+ let va = (0, getProperty_js_1.getProperty)(a, prop), vb = (0, getProperty_js_1.getProperty)(b, prop), ta = (typeof va).toLowerCase(), tb = (typeof vb).toLowerCase();
1139
+ if (dir !== "asc" && (0, isString_js_4.isString)(dir) && dir.toLowerCase() === "desc") {
1140
1140
  dir = "desc";
1141
1141
  }
1142
1142
  if (ta !== tb) {
@@ -1146,17 +1146,17 @@
1146
1146
  else {
1147
1147
  switch (ta) {
1148
1148
  case "string":
1149
- va = (0, removeAccents_1.removeAccents)(va).toLowerCase();
1150
- vb = (0, removeAccents_1.removeAccents)(vb).toLowerCase();
1149
+ va = (0, removeAccents_js_1.removeAccents)(va).toLowerCase();
1150
+ vb = (0, removeAccents_js_1.removeAccents)(vb).toLowerCase();
1151
1151
  break;
1152
1152
  case "boolean":
1153
1153
  va = va ? 1 : 0;
1154
1154
  vb = vb ? 1 : 0;
1155
1155
  break;
1156
1156
  case "object":
1157
- if ((0, isDate_1.isDate)(va)) {
1157
+ if ((0, isDate_js_1.isDate)(va)) {
1158
1158
  va = va.getTime();
1159
- vb = (0, isDate_1.isDate)(vb) ? vb.getTime() : 0;
1159
+ vb = (0, isDate_js_1.isDate)(vb) ? vb.getTime() : 0;
1160
1160
  }
1161
1161
  break;
1162
1162
  }
@@ -1212,7 +1212,7 @@
1212
1212
  };
1213
1213
  exports.numProperties = numProperties;
1214
1214
  });
1215
- define("fn/type/isEmpty", ["require", "exports", "fn/type/isArray", "fn/object/numProperties"], function (require, exports, isArray_2, numProperties_1) {
1215
+ define("fn/type/isEmpty", ["require", "exports", "fn/type/isArray", "fn/object/numProperties"], function (require, exports, isArray_js_2, numProperties_js_1) {
1216
1216
  "use strict";
1217
1217
  Object.defineProperty(exports, "__esModule", { value: true });
1218
1218
  exports.isEmpty = void 0;
@@ -1259,11 +1259,11 @@
1259
1259
  if (!obj) {
1260
1260
  return true;
1261
1261
  }
1262
- if ((0, isArray_2.isArray)(obj)) {
1262
+ if ((0, isArray_js_2.isArray)(obj)) {
1263
1263
  return obj.length ? false : true;
1264
1264
  }
1265
1265
  if (typeof obj === "object") {
1266
- if ((0, numProperties_1.numProperties)(obj)) {
1266
+ if ((0, numProperties_js_1.numProperties)(obj)) {
1267
1267
  return false;
1268
1268
  }
1269
1269
  return true;
@@ -1361,7 +1361,7 @@
1361
1361
  };
1362
1362
  exports.isDom = isDom;
1363
1363
  });
1364
- define("fn/type/isCp", ["require", "exports", "fn/type/isDom"], function (require, exports, isDom_1) {
1364
+ define("fn/type/isCp", ["require", "exports", "fn/type/isDom"], function (require, exports, isDom_js_1) {
1365
1365
  "use strict";
1366
1366
  Object.defineProperty(exports, "__esModule", { value: true });
1367
1367
  exports.isCp = void 0;
@@ -1375,7 +1375,7 @@
1375
1375
  }
1376
1376
  for (let a of args) {
1377
1377
  let res = bbn.cp.isComponent(a);
1378
- if (!res || (0, isDom_1.isDom)(a) || !((_a = a.$el) === null || _a === void 0 ? void 0 : _a.bbnCid)) {
1378
+ if (!res || (0, isDom_js_1.isDom)(a) || !((_a = a.$el) === null || _a === void 0 ? void 0 : _a.bbnCid)) {
1379
1379
  return false;
1380
1380
  }
1381
1381
  }
@@ -1383,7 +1383,7 @@
1383
1383
  };
1384
1384
  exports.isCp = isCp;
1385
1385
  });
1386
- define("fn/object/circularReplacer", ["require", "exports", "fn/type/isDom", "fn/type/isCp", "fn/browser/log"], function (require, exports, isDom_2, isCp_1, log_6) {
1386
+ define("fn/object/circularReplacer", ["require", "exports", "fn/type/isDom", "fn/type/isCp", "fn/browser/log"], function (require, exports, isDom_js_2, isCp_js_1, log_js_6) {
1387
1387
  "use strict";
1388
1388
  Object.defineProperty(exports, "__esModule", { value: true });
1389
1389
  exports.circularReplacer = void 0;
@@ -1401,7 +1401,7 @@
1401
1401
  }
1402
1402
  visited.add(value);
1403
1403
  if (![undefined, Object, Array, null].includes(value.constructor)) {
1404
- if ((0, isDom_2.isDom)(value)) {
1404
+ if ((0, isDom_js_2.isDom)(value)) {
1405
1405
  if (value.bbnId) {
1406
1406
  value =
1407
1407
  "__BBN_DOM__" + value.tagName + "/" + value.bbnId + value.bbnHash;
@@ -1410,8 +1410,8 @@
1410
1410
  value = "__BBN_DOM__" + value.tagName + "/" + value.className;
1411
1411
  }
1412
1412
  }
1413
- else if ((0, isCp_1.isCp)(value)) {
1414
- (0, log_6.log)("IS CP");
1413
+ else if ((0, isCp_js_1.isCp)(value)) {
1414
+ (0, log_js_6.log)("IS CP");
1415
1415
  value = "__BBN_CP__" + value.$options.name + "/" + value.$cid;
1416
1416
  }
1417
1417
  else {
@@ -1454,18 +1454,18 @@
1454
1454
  };
1455
1455
  exports.simpleHash2 = simpleHash2;
1456
1456
  });
1457
- define("fn/string/simpleHash", ["require", "exports", "fn/string/simpleHash1", "fn/string/simpleHash2"], function (require, exports, simpleHash1_1, simpleHash2_1) {
1457
+ define("fn/string/simpleHash", ["require", "exports", "fn/string/simpleHash1", "fn/string/simpleHash2"], function (require, exports, simpleHash1_js_1, simpleHash2_js_1) {
1458
1458
  "use strict";
1459
1459
  Object.defineProperty(exports, "__esModule", { value: true });
1460
1460
  exports.simpleHash = void 0;
1461
1461
  const simpleHash = function (str) {
1462
- const part1 = (0, simpleHash1_1.simpleHash1)(str).toString(16).padStart(8, '0');
1463
- const part2 = (0, simpleHash2_1.simpleHash2)(str).toString(16).padStart(8, '0');
1462
+ const part1 = (0, simpleHash1_js_1.simpleHash1)(str).toString(16).padStart(8, '0');
1463
+ const part2 = (0, simpleHash2_js_1.simpleHash2)(str).toString(16).padStart(8, '0');
1464
1464
  return part1 + part2;
1465
1465
  };
1466
1466
  exports.simpleHash = simpleHash;
1467
1467
  });
1468
- define("fn/string/hash", ["require", "exports", "fn/browser/log", "fn/type/isDom", "fn/type/isCp", "fn/object/circularReplacer", "fn/string/simpleHash"], function (require, exports, log_7, isDom_3, isCp_2, circularReplacer_1, simpleHash_1) {
1468
+ define("fn/string/hash", ["require", "exports", "fn/browser/log", "fn/type/isDom", "fn/type/isCp", "fn/object/circularReplacer", "fn/string/simpleHash"], function (require, exports, log_js_7, isDom_js_3, isCp_js_2, circularReplacer_js_1, simpleHash_js_1) {
1469
1469
  "use strict";
1470
1470
  Object.defineProperty(exports, "__esModule", { value: true });
1471
1471
  exports.hash = void 0;
@@ -1480,7 +1480,7 @@
1480
1480
  for (let i in arguments) {
1481
1481
  if (arguments[i]) {
1482
1482
  let value = arguments[i];
1483
- if ((0, isDom_3.isDom)(value)) {
1483
+ if ((0, isDom_js_3.isDom)(value)) {
1484
1484
  if (value.bbnId) {
1485
1485
  st +=
1486
1486
  "__BBN_DOM__" + value.tagName + "/" + value.bbnId + value.bbnHash;
@@ -1489,13 +1489,13 @@
1489
1489
  st += "__BBN_DOM__" + value.tagName + "/" + value.className;
1490
1490
  }
1491
1491
  }
1492
- else if ((0, isCp_2.isCp)(value)) {
1493
- (0, log_7.log)("IS CP");
1492
+ else if ((0, isCp_js_2.isCp)(value)) {
1493
+ (0, log_js_7.log)("IS CP");
1494
1494
  st += "__BBN_CP__" + value.$options.name + "/" + value.$cid;
1495
1495
  }
1496
1496
  else {
1497
1497
  try {
1498
- st += JSON.stringify(arguments[i], (0, circularReplacer_1.circularReplacer)());
1498
+ st += JSON.stringify(arguments[i], (0, circularReplacer_js_1.circularReplacer)());
1499
1499
  }
1500
1500
  catch (e) {
1501
1501
  st += ".";
@@ -1503,11 +1503,11 @@
1503
1503
  }
1504
1504
  }
1505
1505
  }
1506
- return (0, simpleHash_1.simpleHash)(st);
1506
+ return (0, simpleHash_js_1.simpleHash)(st);
1507
1507
  };
1508
1508
  exports.hash = hash;
1509
1509
  });
1510
- define("fn/type/isSame", ["require", "exports", "fn/string/hash", "fn/loop/each"], function (require, exports, hash_1, each_3) {
1510
+ define("fn/type/isSame", ["require", "exports", "fn/string/hash", "fn/loop/each"], function (require, exports, hash_js_1, each_js_3) {
1511
1511
  "use strict";
1512
1512
  Object.defineProperty(exports, "__esModule", { value: true });
1513
1513
  exports.isSame = void 0;
@@ -1560,7 +1560,7 @@
1560
1560
  if (obj1 && obj2 && typeof obj1 === 'object' && typeof obj2 === 'object') {
1561
1561
  let tmp1 = Object.keys(obj1).sort(), tmp2 = Object.keys(obj2).sort();
1562
1562
  // Case where the keys are different
1563
- if ((0, hash_1.hash)(tmp1) !== (0, hash_1.hash)(tmp2)) {
1563
+ if ((0, hash_js_1.hash)(tmp1) !== (0, hash_js_1.hash)(tmp2)) {
1564
1564
  return false;
1565
1565
  }
1566
1566
  let ok = true;
@@ -1570,7 +1570,7 @@
1570
1570
  }
1571
1571
  done.push(obj1);
1572
1572
  }
1573
- (0, each_3.each)(tmp1, (a) => {
1573
+ (0, each_js_3.each)(tmp1, (a) => {
1574
1574
  if (!isSame(obj1[a], obj2[a])) {
1575
1575
  ok = false;
1576
1576
  return false;
@@ -1582,7 +1582,7 @@
1582
1582
  };
1583
1583
  exports.isSame = isSame;
1584
1584
  });
1585
- define("fn/object/compare", ["require", "exports", "fn/type/isEmpty", "fn/string/removeAccents", "fn/type/isNull", "fn/type/isObject", "fn/type/isSame"], function (require, exports, isEmpty_1, removeAccents_2, isNull_1, isObject_1, isSame_1) {
1585
+ define("fn/object/compare", ["require", "exports", "fn/type/isEmpty", "fn/string/removeAccents", "fn/type/isNull", "fn/type/isObject", "fn/type/isSame"], function (require, exports, isEmpty_js_1, removeAccents_js_2, isNull_js_1, isObject_js_1, isSame_js_1) {
1586
1586
  "use strict";
1587
1587
  Object.defineProperty(exports, "__esModule", { value: true });
1588
1588
  exports.compare = void 0;
@@ -1657,19 +1657,19 @@
1657
1657
  case 'contain':
1658
1658
  case 'icontains':
1659
1659
  case 'icontain':
1660
- if ((0, isEmpty_1.isEmpty)(v1) || (0, isEmpty_1.isEmpty)(v2)) {
1660
+ if ((0, isEmpty_js_1.isEmpty)(v1) || (0, isEmpty_js_1.isEmpty)(v2)) {
1661
1661
  return false;
1662
1662
  }
1663
- return (0, removeAccents_2.removeAccents)(v1).toLowerCase().indexOf((0, removeAccents_2.removeAccents)(v2).toLowerCase()) !== -1;
1663
+ return (0, removeAccents_js_2.removeAccents)(v1).toLowerCase().indexOf((0, removeAccents_js_2.removeAccents)(v2).toLowerCase()) !== -1;
1664
1664
  case 'doesnotcontain':
1665
1665
  case 'donotcontain':
1666
- if ((0, isNull_1.isNull)(v1) || (0, isNull_1.isNull)(v2)) {
1666
+ if ((0, isNull_js_1.isNull)(v1) || (0, isNull_js_1.isNull)(v2)) {
1667
1667
  return true;
1668
1668
  }
1669
- return (0, removeAccents_2.removeAccents)(v1.toLowerCase()).indexOf((0, removeAccents_2.removeAccents)(v2.toLowerCase())) === -1;
1669
+ return (0, removeAccents_js_2.removeAccents)(v1.toLowerCase()).indexOf((0, removeAccents_js_2.removeAccents)(v2.toLowerCase())) === -1;
1670
1670
  case 'starts':
1671
1671
  case 'start':
1672
- if ((0, isNull_1.isNull)(v1) || (0, isNull_1.isNull)(v2)) {
1672
+ if ((0, isNull_js_1.isNull)(v1) || (0, isNull_js_1.isNull)(v2)) {
1673
1673
  return false;
1674
1674
  }
1675
1675
  if (typeof v1 !== 'string') {
@@ -1684,24 +1684,24 @@
1684
1684
  case 'starti':
1685
1685
  case 'istarts':
1686
1686
  case 'istart':
1687
- if ((0, isNull_1.isNull)(v1) || (0, isNull_1.isNull)(v2)) {
1687
+ if ((0, isNull_js_1.isNull)(v1) || (0, isNull_js_1.isNull)(v2)) {
1688
1688
  return false;
1689
1689
  }
1690
- return (0, removeAccents_2.removeAccents)(v1).toLowerCase().indexOf((0, removeAccents_2.removeAccents)(v2).toLowerCase()) === 0;
1690
+ return (0, removeAccents_js_2.removeAccents)(v1).toLowerCase().indexOf((0, removeAccents_js_2.removeAccents)(v2).toLowerCase()) === 0;
1691
1691
  case 'endswith':
1692
1692
  case 'endsi':
1693
1693
  case 'endi':
1694
1694
  case 'iends':
1695
1695
  case 'iend':
1696
- if ((0, isNull_1.isNull)(v1) || (0, isNull_1.isNull)(v2)) {
1696
+ if ((0, isNull_js_1.isNull)(v1) || (0, isNull_js_1.isNull)(v2)) {
1697
1697
  return false;
1698
1698
  }
1699
1699
  return v1.lastIndexOf(v2) === v1.length - v2.length;
1700
1700
  case 'like':
1701
- if ((0, isNull_1.isNull)(v1) || (0, isNull_1.isNull)(v2)) {
1701
+ if ((0, isNull_js_1.isNull)(v1) || (0, isNull_js_1.isNull)(v2)) {
1702
1702
  return false;
1703
1703
  }
1704
- return (0, removeAccents_2.removeAccents)(v1).toLowerCase() === (0, removeAccents_2.removeAccents)(v2).toLowerCase();
1704
+ return (0, removeAccents_js_2.removeAccents)(v1).toLowerCase() === (0, removeAccents_js_2.removeAccents)(v2).toLowerCase();
1705
1705
  case 'gt':
1706
1706
  case '>':
1707
1707
  return v1 > v2;
@@ -1723,8 +1723,8 @@
1723
1723
  case 'isnotempty':
1724
1724
  return v1 !== '';
1725
1725
  case '==':
1726
- if ((0, isObject_1.isObject)(v1, v2)) {
1727
- return (0, isSame_1.isSame)(v1, v2);
1726
+ if ((0, isObject_js_1.isObject)(v1, v2)) {
1727
+ return (0, isSame_js_1.isSame)(v1, v2);
1728
1728
  }
1729
1729
  default:
1730
1730
  return v1 == v2;
@@ -1732,7 +1732,7 @@
1732
1732
  };
1733
1733
  exports.compare = compare;
1734
1734
  });
1735
- define("fn/object/compareConditions", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/object/compare", "fn/object/getProperty"], function (require, exports, isArray_3, each_4, compare_1, getProperty_2) {
1735
+ define("fn/object/compareConditions", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/object/compare", "fn/object/getProperty"], function (require, exports, isArray_js_3, each_js_4, compare_js_1, getProperty_js_2) {
1736
1736
  "use strict";
1737
1737
  Object.defineProperty(exports, "__esModule", { value: true });
1738
1738
  exports.compareConditions = void 0;
@@ -1781,25 +1781,25 @@
1781
1781
  * @returns {Boolean}
1782
1782
  */
1783
1783
  const compareConditions = function (data, filter) {
1784
- if (!filter.conditions || !filter.logic || !(0, isArray_3.isArray)(filter.conditions)) {
1784
+ if (!filter.conditions || !filter.logic || !(0, isArray_js_3.isArray)(filter.conditions)) {
1785
1785
  throw new Error("Error in compareConditions: the filter should an abject with conditions and logic properties and conditions should be an array of objects");
1786
1786
  }
1787
1787
  let ok = filter.logic === "AND" ? true : false;
1788
- (0, each_4.each)(filter.conditions, (a) => {
1788
+ (0, each_js_4.each)(filter.conditions, (a) => {
1789
1789
  let comparator;
1790
- if (a.conditions && (0, isArray_3.isArray)(a.conditions)) {
1790
+ if (a.conditions && (0, isArray_js_3.isArray)(a.conditions)) {
1791
1791
  comparator = compareConditions(data, a);
1792
1792
  }
1793
1793
  else {
1794
- comparator = (0, compare_1.compare)((0, getProperty_2.getProperty)(data, a.field), a.value, a.operator);
1794
+ comparator = (0, compare_js_1.compare)((0, getProperty_js_2.getProperty)(data, a.field), a.value, a.operator);
1795
1795
  if (comparator) {
1796
1796
  let bits = a.field.split(".");
1797
1797
  let prop = bits.pop();
1798
1798
  if (bits.length) {
1799
- (0, each_4.each)(bits, (b) => (data = data[b]));
1799
+ (0, each_js_4.each)(bits, (b) => (data = data[b]));
1800
1800
  }
1801
1801
  // Case where both are undefined: value and prop which doesn't exist; they are not the same!
1802
- if ((0, getProperty_2.getProperty)(data, prop) === undefined && a.value !== undefined) {
1802
+ if ((0, getProperty_js_2.getProperty)(data, prop) === undefined && a.value !== undefined) {
1803
1803
  comparator = false;
1804
1804
  }
1805
1805
  }
@@ -1819,7 +1819,7 @@
1819
1819
  };
1820
1820
  exports.compareConditions = compareConditions;
1821
1821
  });
1822
- define("fn/object/filterToConditions", ["require", "exports", "fn/type/isObject", "fn/type/isArray", "fn/loop/iterate"], function (require, exports, isObject_2, isArray_4, iterate_3) {
1822
+ define("fn/object/filterToConditions", ["require", "exports", "fn/type/isObject", "fn/type/isArray", "fn/loop/iterate"], function (require, exports, isObject_js_2, isArray_js_4, iterate_js_3) {
1823
1823
  "use strict";
1824
1824
  Object.defineProperty(exports, "__esModule", { value: true });
1825
1825
  exports.filterToConditions = void 0;
@@ -1861,13 +1861,13 @@
1861
1861
  * @returns {Object}
1862
1862
  */
1863
1863
  const filterToConditions = function (filter, operator = "=") {
1864
- if (!(0, isObject_2.isObject)(filter)) {
1864
+ if (!(0, isObject_js_2.isObject)(filter)) {
1865
1865
  throw new Error("Error in filterToCondition: filter must be an object");
1866
1866
  }
1867
- if (!filter.conditions || !(0, isArray_4.isArray)(filter.conditions)) {
1867
+ if (!filter.conditions || !(0, isArray_js_4.isArray)(filter.conditions)) {
1868
1868
  let tmp = [];
1869
- (0, iterate_3.iterate)(filter, (a, n) => {
1870
- if ((0, isObject_2.isObject)(a) && typeof a.conditions === "object") {
1869
+ (0, iterate_js_3.iterate)(filter, (a, n) => {
1870
+ if ((0, isObject_js_2.isObject)(a) && typeof a.conditions === "object") {
1871
1871
  tmp.push(filterToConditions(a));
1872
1872
  }
1873
1873
  else {
@@ -1889,7 +1889,7 @@
1889
1889
  };
1890
1890
  exports.filterToConditions = filterToConditions;
1891
1891
  });
1892
- define("fn/object/search", ["require", "exports", "fn/type/isIterable", "fn/object/compareConditions", "fn/object/filterToConditions", "fn/type/isObject", "fn/object/numProperties", "fn/type/isNumber"], function (require, exports, isIterable_2, compareConditions_1, filterToConditions_1, isObject_3, numProperties_2, isNumber_2) {
1892
+ define("fn/object/search", ["require", "exports", "fn/type/isIterable", "fn/object/compareConditions", "fn/object/filterToConditions", "fn/type/isObject", "fn/object/numProperties", "fn/type/isNumber"], function (require, exports, isIterable_js_2, compareConditions_js_1, filterToConditions_1, isObject_js_3, numProperties_js_2, isNumber_js_2) {
1893
1893
  "use strict";
1894
1894
  Object.defineProperty(exports, "__esModule", { value: true });
1895
1895
  exports.search = void 0;
@@ -1992,7 +1992,7 @@
1992
1992
  * @returns {Number} The index if found, otherwise -1
1993
1993
  */
1994
1994
  const search = function (arr, prop, val = null, operator = '=', startFrom = 0) {
1995
- if (!(0, isIterable_2.isIterable)(arr)) {
1995
+ if (!(0, isIterable_js_2.isIterable)(arr)) {
1996
1996
  throw new Error(bbn._('The first argument for a search should be iterable') + ' ' + typeof arr + ' ' + bbn._('given'));
1997
1997
  }
1998
1998
  if (!arr.length) {
@@ -2014,7 +2014,7 @@
2014
2014
  else if (!prop) {
2015
2015
  isFn = true;
2016
2016
  filter = a => {
2017
- return (0, compareConditions_1.compareConditions)({ value: a }, (0, filterToConditions_1.filterToConditions)({
2017
+ return (0, compareConditions_js_1.compareConditions)({ value: a }, (0, filterToConditions_1.filterToConditions)({
2018
2018
  logic: 'AND',
2019
2019
  conditions: [
2020
2020
  {
@@ -2029,7 +2029,7 @@
2029
2029
  else {
2030
2030
  startFrom = typeof (operator) === 'number' ? operator : 0;
2031
2031
  operator = val;
2032
- if ((0, isObject_3.isObject)(prop)) {
2032
+ if ((0, isObject_js_3.isObject)(prop)) {
2033
2033
  filter = prop;
2034
2034
  }
2035
2035
  else if (typeof (prop) === 'function') {
@@ -2037,12 +2037,12 @@
2037
2037
  filter = prop;
2038
2038
  }
2039
2039
  }
2040
- if (isFn || ((0, isObject_3.isObject)(filter) && (0, numProperties_2.numProperties)(filter))) {
2041
- if ((0, isNumber_2.isNumber)(operator)) {
2040
+ if (isFn || ((0, isObject_js_3.isObject)(filter) && (0, numProperties_js_2.numProperties)(filter))) {
2041
+ if ((0, isNumber_js_2.isNumber)(operator)) {
2042
2042
  startFrom = typeof (operator) === 'number' ? operator : 0;
2043
2043
  operator = undefined;
2044
2044
  }
2045
- if (!(0, isNumber_2.isNumber)(startFrom)) {
2045
+ if (!(0, isNumber_js_2.isNumber)(startFrom)) {
2046
2046
  startFrom = 0;
2047
2047
  }
2048
2048
  if (typeof filter === 'function') {
@@ -2055,7 +2055,7 @@
2055
2055
  else {
2056
2056
  filter = (0, filterToConditions_1.filterToConditions)(filter);
2057
2057
  for (let i = startFrom; i < arr.length; i++) {
2058
- if ((0, compareConditions_1.compareConditions)(arr[i], filter)) {
2058
+ if ((0, compareConditions_js_1.compareConditions)(arr[i], filter)) {
2059
2059
  return i;
2060
2060
  }
2061
2061
  }
@@ -2065,7 +2065,7 @@
2065
2065
  };
2066
2066
  exports.search = search;
2067
2067
  });
2068
- define("fn/object/getRow", ["require", "exports", "fn/object/search"], function (require, exports, search_1) {
2068
+ define("fn/object/getRow", ["require", "exports", "fn/object/search"], function (require, exports, search_js_1) {
2069
2069
  "use strict";
2070
2070
  Object.defineProperty(exports, "__esModule", { value: true });
2071
2071
  exports.getRow = void 0;
@@ -2110,7 +2110,7 @@
2110
2110
  * @returns {Object|Boolean} The item if found, false otherwise
2111
2111
  */
2112
2112
  const getRow = function (arr, prop, val = null, operator = '=') {
2113
- var idx = (0, search_1.search)(arr, prop, val, operator);
2113
+ var idx = (0, search_js_1.search)(arr, prop, val, operator);
2114
2114
  if (idx > -1) {
2115
2115
  return arr[idx];
2116
2116
  }
@@ -2118,7 +2118,7 @@
2118
2118
  };
2119
2119
  exports.getRow = getRow;
2120
2120
  });
2121
- define("fn/ajax/_deleteLoader", ["require", "exports", "fn/object/search", "fn/object/getRow", "fn/type/isObject"], function (require, exports, search_2, getRow_1, isObject_4) {
2121
+ define("fn/ajax/_deleteLoader", ["require", "exports", "fn/object/search", "fn/object/getRow", "fn/type/isObject"], function (require, exports, search_js_2, getRow_js_1, isObject_js_4) {
2122
2122
  "use strict";
2123
2123
  Object.defineProperty(exports, "__esModule", { value: true });
2124
2124
  exports._deleteLoader = void 0;
@@ -2137,10 +2137,10 @@
2137
2137
  * @returns {Boolean} True if the loader was found
2138
2138
  */
2139
2139
  const _deleteLoader = function (requestId, res = null, isAbort = false) {
2140
- let idx = (0, search_2.search)(bbn.env.loaders, { key: requestId });
2140
+ let idx = (0, search_js_2.search)(bbn.env.loaders, { key: requestId });
2141
2141
  if (idx > -1) {
2142
2142
  let loader = bbn.env.loaders.splice(idx, 1)[0];
2143
- let history = (0, getRow_1.getRow)(bbn.env.loadersHistory, { key: requestId, start: loader.start });
2143
+ let history = (0, getRow_js_1.getRow)(bbn.env.loadersHistory, { key: requestId, start: loader.start });
2144
2144
  if (history) {
2145
2145
  history.loading = false;
2146
2146
  history.duration = new Date().getTime() - loader.start;
@@ -2149,7 +2149,7 @@
2149
2149
  history.error = !isAbort;
2150
2150
  history.abort = isAbort;
2151
2151
  }
2152
- else if ((0, isObject_4.isObject)(res)) {
2152
+ else if ((0, isObject_js_4.isObject)(res)) {
2153
2153
  history.success = true;
2154
2154
  }
2155
2155
  }
@@ -2159,7 +2159,7 @@
2159
2159
  };
2160
2160
  exports._deleteLoader = _deleteLoader;
2161
2161
  });
2162
- define("fn/ajax/getLoader", ["require", "exports", "fn/object/search"], function (require, exports, search_3) {
2162
+ define("fn/ajax/getLoader", ["require", "exports", "fn/object/search"], function (require, exports, search_js_3) {
2163
2163
  "use strict";
2164
2164
  Object.defineProperty(exports, "__esModule", { value: true });
2165
2165
  exports.getLoader = void 0;
@@ -2199,7 +2199,7 @@
2199
2199
  * @returns {null|Object} The corresponding loader Object if it exists, false otherwise
2200
2200
  */
2201
2201
  const getLoader = function (requestId) {
2202
- let idx = (0, search_3.search)(bbn.env.loaders, { key: requestId });
2202
+ let idx = (0, search_js_3.search)(bbn.env.loaders, { key: requestId });
2203
2203
  if (idx > -1) {
2204
2204
  return bbn.env.loaders[idx];
2205
2205
  }
@@ -2207,7 +2207,7 @@
2207
2207
  };
2208
2208
  exports.getLoader = getLoader;
2209
2209
  });
2210
- define("fn/ajax/abort", ["require", "exports", "fn/ajax/getLoader"], function (require, exports, getLoader_1) {
2210
+ define("fn/ajax/abort", ["require", "exports", "fn/ajax/getLoader"], function (require, exports, getLoader_js_1) {
2211
2211
  "use strict";
2212
2212
  Object.defineProperty(exports, "__esModule", { value: true });
2213
2213
  exports.abort = void 0;
@@ -2234,7 +2234,7 @@
2234
2234
  * @returns {undefined}
2235
2235
  */
2236
2236
  const abort = function (requestId) {
2237
- let loader = (0, getLoader_1.getLoader)(requestId);
2237
+ let loader = (0, getLoader_js_1.getLoader)(requestId);
2238
2238
  if (loader && loader.source) {
2239
2239
  //_deleteLoader(requestId);
2240
2240
  loader.source.cancel('Operation canceled by the user.');
@@ -2247,7 +2247,7 @@
2247
2247
  };
2248
2248
  exports.abort = abort;
2249
2249
  });
2250
- define("fn/object/filter", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/object/filterToConditions", "fn/object/compareConditions"], function (require, exports, isArray_5, each_5, filterToConditions_2, compareConditions_2) {
2250
+ define("fn/object/filter", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/object/filterToConditions", "fn/object/compareConditions"], function (require, exports, isArray_js_5, each_js_5, filterToConditions_2, compareConditions_js_2) {
2251
2251
  "use strict";
2252
2252
  Object.defineProperty(exports, "__esModule", { value: true });
2253
2253
  exports.filter = void 0;
@@ -2299,7 +2299,7 @@
2299
2299
  * @returns {Array} A new filtered array
2300
2300
  */
2301
2301
  const filter = function (arr, prop, val = null, operator = '=') {
2302
- if (!(0, isArray_5.isArray)(arr)) {
2302
+ if (!(0, isArray_js_5.isArray)(arr)) {
2303
2303
  bbn.fn.log("NOT ARRAY", arr);
2304
2304
  throw new Error('Error in filter: The first argument must be an array');
2305
2305
  }
@@ -2321,7 +2321,7 @@
2321
2321
  throw new Error('Search function error: The prop argument should be a string or an object');
2322
2322
  }
2323
2323
  if (typeof (prop) === 'function') {
2324
- (0, each_5.each)(arr, (a, i) => {
2324
+ (0, each_js_5.each)(arr, (a, i) => {
2325
2325
  if (prop(a, i)) {
2326
2326
  res.push(a);
2327
2327
  }
@@ -2330,8 +2330,8 @@
2330
2330
  else {
2331
2331
  cfg = (0, filterToConditions_2.filterToConditions)(cfg, operator);
2332
2332
  if (cfg.conditions && cfg.logic) {
2333
- (0, each_5.each)(arr, (a) => {
2334
- if ((0, compareConditions_2.compareConditions)(a, cfg)) {
2333
+ (0, each_js_5.each)(arr, (a) => {
2334
+ if ((0, compareConditions_js_2.compareConditions)(a, cfg)) {
2335
2335
  res.push(a);
2336
2336
  }
2337
2337
  });
@@ -2342,7 +2342,7 @@
2342
2342
  };
2343
2343
  exports.filter = filter;
2344
2344
  });
2345
- define("fn/ajax/abortURL", ["require", "exports", "fn/loop/each", "fn/object/filter"], function (require, exports, each_6, filter_1) {
2345
+ define("fn/ajax/abortURL", ["require", "exports", "fn/loop/each", "fn/object/filter"], function (require, exports, each_js_6, filter_js_1) {
2346
2346
  "use strict";
2347
2347
  Object.defineProperty(exports, "__esModule", { value: true });
2348
2348
  exports.abortURL = void 0;
@@ -2367,7 +2367,7 @@
2367
2367
  * @returns {undefined}
2368
2368
  */
2369
2369
  const abortURL = function (url) {
2370
- (0, each_6.each)((0, filter_1.filter)(bbn.env.loaders, { url: url }), (a) => {
2370
+ (0, each_js_6.each)((0, filter_js_1.filter)(bbn.env.loaders, { url: url }), (a) => {
2371
2371
  if (a && a.source) {
2372
2372
  a.source.cancel('Operation canceled by the user.');
2373
2373
  }
@@ -2378,7 +2378,7 @@
2378
2378
  };
2379
2379
  exports.abortURL = abortURL;
2380
2380
  });
2381
- define("fn/style/addColors", ["require", "exports", "fn/object/numProperties", "fn/loop/iterate"], function (require, exports, numProperties_3, iterate_4) {
2381
+ define("fn/style/addColors", ["require", "exports", "fn/object/numProperties", "fn/loop/iterate"], function (require, exports, numProperties_js_3, iterate_js_4) {
2382
2382
  "use strict";
2383
2383
  Object.defineProperty(exports, "__esModule", { value: true });
2384
2384
  exports.addColors = void 0;
@@ -2398,7 +2398,7 @@
2398
2398
  * @returns
2399
2399
  */
2400
2400
  const addColors = function (colors) {
2401
- if ((0, numProperties_3.numProperties)(colors)) {
2401
+ if ((0, numProperties_js_3.numProperties)(colors)) {
2402
2402
  if (!bbn.var.colors) {
2403
2403
  bbn.var.colors = {};
2404
2404
  }
@@ -2407,7 +2407,7 @@
2407
2407
  let sheet = element.sheet;
2408
2408
  // Append style element to head
2409
2409
  let i = 0;
2410
- (0, iterate_4.iterate)(colors, (v, n) => {
2410
+ (0, iterate_js_4.iterate)(colors, (v, n) => {
2411
2411
  bbn.var.colors[n] = v;
2412
2412
  sheet.insertRule(".bbn-" +
2413
2413
  n +
@@ -2457,7 +2457,7 @@
2457
2457
  };
2458
2458
  exports.addColors = addColors;
2459
2459
  });
2460
- define("fn/form/addInputs", ["require", "exports", "fn/loop/iterate"], function (require, exports, iterate_5) {
2460
+ define("fn/form/addInputs", ["require", "exports", "fn/loop/iterate"], function (require, exports, iterate_js_5) {
2461
2461
  "use strict";
2462
2462
  Object.defineProperty(exports, "__esModule", { value: true });
2463
2463
  exports.addInputs = void 0;
@@ -2514,7 +2514,7 @@
2514
2514
  params = JSON.parse(JSON.stringify(params || {}));
2515
2515
  prefix = prefix || '';
2516
2516
  if (params) {
2517
- (0, iterate_5.iterate)(params, (param, key) => {
2517
+ (0, iterate_js_5.iterate)(params, (param, key) => {
2518
2518
  let name = prefix ? `${prefix}[${key}]` : key;
2519
2519
  if (param instanceof Date) {
2520
2520
  appendToForm(name, param.toISOString());
@@ -2542,7 +2542,7 @@
2542
2542
  };
2543
2543
  exports.addInputs = addInputs;
2544
2544
  });
2545
- define("fn/style/addStyle", ["require", "exports", "fn/type/isObject", "fn/loop/iterate"], function (require, exports, isObject_5, iterate_6) {
2545
+ define("fn/style/addStyle", ["require", "exports", "fn/type/isObject", "fn/loop/iterate"], function (require, exports, isObject_js_5, iterate_js_6) {
2546
2546
  "use strict";
2547
2547
  Object.defineProperty(exports, "__esModule", { value: true });
2548
2548
  exports.addStyle = void 0;
@@ -2557,24 +2557,24 @@
2557
2557
  * @returns {*}
2558
2558
  */
2559
2559
  const addStyle = function (ele, o) {
2560
- if ((0, isObject_5.isObject)(o)) {
2561
- (0, iterate_6.iterate)(o, (v, k) => {
2560
+ if ((0, isObject_js_5.isObject)(o)) {
2561
+ (0, iterate_js_6.iterate)(o, (v, k) => {
2562
2562
  ele.style[k] = v;
2563
2563
  });
2564
2564
  }
2565
2565
  };
2566
2566
  exports.addStyle = addStyle;
2567
2567
  });
2568
- define("fn/html/adjustSize", ["require", "exports", "fn/loop/each"], function (require, exports, each_7) {
2568
+ define("fn/html/adjustSize", ["require", "exports", "fn/loop/each"], function (require, exports, each_js_7) {
2569
2569
  "use strict";
2570
2570
  Object.defineProperty(exports, "__esModule", { value: true });
2571
2571
  exports.adjustSize = void 0;
2572
2572
  const adjustSize = function (type, eles) {
2573
2573
  let max = 0, idx;
2574
- (0, each_7.each)(eles, (el) => {
2574
+ (0, each_js_7.each)(eles, (el) => {
2575
2575
  el.style[type] = 'auto';
2576
2576
  });
2577
- (0, each_7.each)(eles, (el, i) => {
2577
+ (0, each_js_7.each)(eles, (el, i) => {
2578
2578
  let rect = el.getBoundingClientRect(), s = rect[type] % 1 ? rect[type] - (rect[type] % 1) + 1 : rect[type];
2579
2579
  //s = rect[type];
2580
2580
  if (s > max) {
@@ -2582,7 +2582,7 @@
2582
2582
  idx = i;
2583
2583
  }
2584
2584
  });
2585
- (0, each_7.each)(eles, (el, i) => {
2585
+ (0, each_js_7.each)(eles, (el, i) => {
2586
2586
  if (max) {
2587
2587
  el.style[type] = max + 'px';
2588
2588
  }
@@ -2590,29 +2590,29 @@
2590
2590
  };
2591
2591
  exports.adjustSize = adjustSize;
2592
2592
  });
2593
- define("fn/html/adjustHeight", ["require", "exports", "fn/type/isIterable", "fn/html/adjustSize"], function (require, exports, isIterable_3, adjustSize_1) {
2593
+ define("fn/html/adjustHeight", ["require", "exports", "fn/type/isIterable", "fn/html/adjustSize"], function (require, exports, isIterable_js_3, adjustSize_js_1) {
2594
2594
  "use strict";
2595
2595
  Object.defineProperty(exports, "__esModule", { value: true });
2596
2596
  exports.adjustHeight = void 0;
2597
2597
  const adjustHeight = function () {
2598
2598
  let args = arguments;
2599
- if (args.length === 1 && (0, isIterable_3.isIterable)(args[0])) {
2599
+ if (args.length === 1 && (0, isIterable_js_3.isIterable)(args[0])) {
2600
2600
  args = args[0];
2601
2601
  }
2602
- return (0, adjustSize_1.adjustSize)('height', args);
2602
+ return (0, adjustSize_js_1.adjustSize)('height', args);
2603
2603
  };
2604
2604
  exports.adjustHeight = adjustHeight;
2605
2605
  });
2606
- define("fn/html/adjustWidth", ["require", "exports", "fn/type/isIterable", "fn/html/adjustSize"], function (require, exports, isIterable_4, adjustSize_2) {
2606
+ define("fn/html/adjustWidth", ["require", "exports", "fn/type/isIterable", "fn/html/adjustSize"], function (require, exports, isIterable_js_4, adjustSize_js_2) {
2607
2607
  "use strict";
2608
2608
  Object.defineProperty(exports, "__esModule", { value: true });
2609
2609
  exports.adjustWidth = void 0;
2610
2610
  const adjustWidth = function () {
2611
2611
  let args = arguments;
2612
- if (args.length === 1 && (0, isIterable_4.isIterable)(args[0])) {
2612
+ if (args.length === 1 && (0, isIterable_js_4.isIterable)(args[0])) {
2613
2613
  args = args[0];
2614
2614
  }
2615
- return (0, adjustSize_2.adjustSize)('width', args);
2615
+ return (0, adjustSize_js_2.adjustSize)('width', args);
2616
2616
  };
2617
2617
  exports.adjustWidth = adjustWidth;
2618
2618
  });
@@ -2642,7 +2642,7 @@
2642
2642
  };
2643
2643
  exports.escapeRegExp = escapeRegExp;
2644
2644
  });
2645
- define("fn/string/replaceAll", ["require", "exports", "fn/type/isObject", "fn/string/escapeRegExp"], function (require, exports, isObject_6, escapeRegExp_1) {
2645
+ define("fn/string/replaceAll", ["require", "exports", "fn/type/isObject", "fn/string/escapeRegExp"], function (require, exports, isObject_js_6, escapeRegExp_js_1) {
2646
2646
  "use strict";
2647
2647
  Object.defineProperty(exports, "__esModule", { value: true });
2648
2648
  exports.replaceAll = void 0;
@@ -2670,7 +2670,7 @@
2670
2670
  const replaceAll = function (find, replace, str, flags = "") {
2671
2671
  return str
2672
2672
  .toString()
2673
- .replace((0, isObject_6.isObject)(find) ? find : new RegExp((0, escapeRegExp_1.escapeRegExp)(find), "g" + flags), replace);
2673
+ .replace((0, isObject_js_6.isObject)(find) ? find : new RegExp((0, escapeRegExp_js_1.escapeRegExp)(find), "g" + flags), replace);
2674
2674
  };
2675
2675
  exports.replaceAll = replaceAll;
2676
2676
  });
@@ -2821,7 +2821,7 @@
2821
2821
  };
2822
2822
  exports.md5 = md5;
2823
2823
  });
2824
- define("fn/ajax/getRequestId", ["require", "exports", "fn/loop/iterate", "fn/string/md5"], function (require, exports, iterate_7, md5_1) {
2824
+ define("fn/ajax/getRequestId", ["require", "exports", "fn/loop/iterate", "fn/string/md5"], function (require, exports, iterate_js_7, md5_js_1) {
2825
2825
  "use strict";
2826
2826
  Object.defineProperty(exports, "__esModule", { value: true });
2827
2827
  exports.getRequestId = void 0;
@@ -2876,17 +2876,17 @@
2876
2876
  const getRequestId = function (url, data, datatype) {
2877
2877
  let d = {};
2878
2878
  if (data) {
2879
- (0, iterate_7.iterate)(data, (a, n) => {
2879
+ (0, iterate_js_7.iterate)(data, (a, n) => {
2880
2880
  if (n.indexOf('_bbn') === -1) {
2881
2881
  d[n] = a;
2882
2882
  }
2883
2883
  });
2884
2884
  }
2885
- return url + ':' + (0, md5_1.md5)((datatype || 'json') + JSON.stringify(d));
2885
+ return url + ':' + (0, md5_js_1.md5)((datatype || 'json') + JSON.stringify(d));
2886
2886
  };
2887
2887
  exports.getRequestId = getRequestId;
2888
2888
  });
2889
- define("fn/object/extend", ["require", "exports", "fn/loop/iterate", "fn/type/isArray", "fn/loop/each", "fn/type/isObject"], function (require, exports, iterate_8, isArray_6, each_8, isObject_7) {
2889
+ define("fn/object/extend", ["require", "exports", "fn/loop/iterate", "fn/type/isArray", "fn/loop/each", "fn/type/isObject"], function (require, exports, iterate_js_8, isArray_js_6, each_js_8, isObject_js_7) {
2890
2890
  "use strict";
2891
2891
  Object.defineProperty(exports, "__esModule", { value: true });
2892
2892
  exports.extend = void 0;
@@ -2997,19 +2997,19 @@
2997
2997
  }
2998
2998
  let out = args[0];
2999
2999
  for (let i = 1; i < args.length; i++) {
3000
- (0, iterate_8.iterate)(args[i], (a, key) => {
3000
+ (0, iterate_js_8.iterate)(args[i], (a, key) => {
3001
3001
  if (deep) {
3002
- if ((0, isArray_6.isArray)(a)) {
3003
- out[key] = (0, isArray_6.isArray)(out[key]) ? out[key] : [];
3004
- (0, each_8.each)(a, (b, i) => {
3002
+ if ((0, isArray_js_6.isArray)(a)) {
3003
+ out[key] = (0, isArray_js_6.isArray)(out[key]) ? out[key] : [];
3004
+ (0, each_js_8.each)(a, (b, i) => {
3005
3005
  if (b && typeof b === "object") {
3006
3006
  let tmp = out[key][i];
3007
- if ((0, isArray_6.isArray)(b)) {
3008
- if (!(0, isArray_6.isArray)(tmp)) {
3007
+ if ((0, isArray_js_6.isArray)(b)) {
3008
+ if (!(0, isArray_js_6.isArray)(tmp)) {
3009
3009
  tmp = [];
3010
3010
  }
3011
3011
  }
3012
- else if (!(0, isObject_7.isObject)(tmp)) {
3012
+ else if (!(0, isObject_js_7.isObject)(tmp)) {
3013
3013
  tmp = {};
3014
3014
  }
3015
3015
  out[key][i] = extend(true, tmp, b);
@@ -3019,7 +3019,7 @@
3019
3019
  }
3020
3020
  });
3021
3021
  }
3022
- else if ((0, isObject_7.isObject)(a)) {
3022
+ else if ((0, isObject_js_7.isObject)(a)) {
3023
3023
  out[key] = extend(true, out[key] && typeof out[key] === "object"
3024
3024
  ? out[key]
3025
3025
  : Object.create(Object.getPrototypeOf(a)), a);
@@ -3045,7 +3045,7 @@
3045
3045
  };
3046
3046
  exports.extend = extend;
3047
3047
  });
3048
- define("fn/ajax/ajax", ["require", "exports", "fn/type/isObject", "fn/string/replaceAll", "fn/ajax/getRequestId", "fn/ajax/getLoader", "fn/object/extend", "fn/object/numProperties", "fn/ajax/_deleteLoader", "fn/type/isFunction", "fn/ajax/_addLoader"], function (require, exports, isObject_8, replaceAll_1, getRequestId_1, getLoader_2, extend_1, numProperties_4, _deleteLoader_1, isFunction_3, _addLoader_1) {
3048
+ define("fn/ajax/ajax", ["require", "exports", "fn/type/isObject", "fn/string/replaceAll", "fn/ajax/getRequestId", "fn/ajax/getLoader", "fn/object/extend", "fn/object/numProperties", "fn/ajax/_deleteLoader", "fn/type/isFunction", "fn/ajax/_addLoader"], function (require, exports, isObject_js_8, replaceAll_js_1, getRequestId_js_1, getLoader_js_2, extend_js_1, numProperties_js_4, _deleteLoader_js_1, isFunction_js_3, _addLoader_js_1) {
3049
3049
  "use strict";
3050
3050
  Object.defineProperty(exports, "__esModule", { value: true });
3051
3051
  exports.ajax = void 0;
@@ -3130,19 +3130,19 @@
3130
3130
  if (url && typeof url === "string") {
3131
3131
  if (url.indexOf("://") === -1) {
3132
3132
  // Prevent protocol mismatch by Axios
3133
- url = (0, replaceAll_1.replaceAll)("//", "/", url);
3133
+ url = (0, replaceAll_js_1.replaceAll)("//", "/", url);
3134
3134
  }
3135
3135
  if (!datatype) {
3136
3136
  datatype = "json";
3137
3137
  }
3138
- let requestId = (0, getRequestId_1.getRequestId)(url, data, datatype);
3139
- let loaderObj = (0, getLoader_2.getLoader)(requestId);
3138
+ let requestId = (0, getRequestId_js_1.getRequestId)(url, data, datatype);
3139
+ let loaderObj = (0, getLoader_js_2.getLoader)(requestId);
3140
3140
  //log("IN AJAX", loaderObj? loaderObj.loader : "NO LOADER")
3141
3141
  if (loaderObj === null || loaderObj === void 0 ? void 0 : loaderObj.loader) {
3142
3142
  return loaderObj.loader;
3143
3143
  }
3144
3144
  if (bbn.env.token) {
3145
- (0, extend_1.extend)(data || {}, { _bbn_token: bbn.env.token });
3145
+ (0, extend_js_1.extend)(data || {}, { _bbn_token: bbn.env.token });
3146
3146
  }
3147
3147
  let cancelToken = axios.CancelToken;
3148
3148
  let source = cancelToken.source();
@@ -3157,7 +3157,7 @@
3157
3157
  };
3158
3158
  }
3159
3159
  let args = [url];
3160
- if ((0, isObject_8.isObject)(data) && (0, numProperties_4.numProperties)(data) > 0) {
3160
+ if ((0, isObject_js_8.isObject)(data) && (0, numProperties_js_4.numProperties)(data) > 0) {
3161
3161
  args.push(data);
3162
3162
  }
3163
3163
  args.push(options);
@@ -3165,11 +3165,11 @@
3165
3165
  let loader = axios[axiosMethod]
3166
3166
  .apply(null, args)
3167
3167
  .then((res) => {
3168
- (0, _deleteLoader_1._deleteLoader)(requestId, res);
3168
+ (0, _deleteLoader_js_1._deleteLoader)(requestId, res);
3169
3169
  bbn.fn.defaultEndLoadingFunction(url, tst, data, res);
3170
3170
  switch (res.status) {
3171
3171
  case 200:
3172
- if ((0, isFunction_3.isFunction)(success)) {
3172
+ if ((0, isFunction_js_3.isFunction)(success)) {
3173
3173
  success(res.data, res.headers);
3174
3174
  }
3175
3175
  break;
@@ -3180,11 +3180,11 @@
3180
3180
  })
3181
3181
  .catch((err) => {
3182
3182
  let isAbort = axios.isCancel(err);
3183
- (0, _deleteLoader_1._deleteLoader)(requestId, err.message || err.response.data, isAbort);
3183
+ (0, _deleteLoader_js_1._deleteLoader)(requestId, err.message || err.response.data, isAbort);
3184
3184
  bbn.fn.defaultEndLoadingFunction(url, tst, data, err);
3185
3185
  if (isAbort) {
3186
3186
  let ok = 1;
3187
- if ((0, isFunction_3.isFunction)(abort)) {
3187
+ if ((0, isFunction_js_3.isFunction)(abort)) {
3188
3188
  ok = abort(err.message, url);
3189
3189
  }
3190
3190
  if (ok) {
@@ -3193,7 +3193,7 @@
3193
3193
  }
3194
3194
  else {
3195
3195
  let ok = 1;
3196
- if ((0, isFunction_3.isFunction)(failure)) {
3196
+ if ((0, isFunction_js_3.isFunction)(failure)) {
3197
3197
  ok = failure(err.request, err);
3198
3198
  }
3199
3199
  if (ok) {
@@ -3201,14 +3201,14 @@
3201
3201
  }
3202
3202
  }
3203
3203
  });
3204
- let tst = (0, _addLoader_1._addLoader)(requestId, loader, source);
3204
+ let tst = (0, _addLoader_js_1._addLoader)(requestId, loader, source);
3205
3205
  bbn.fn.defaultStartLoadingFunction(url, tst, data, requestId);
3206
3206
  return loader;
3207
3207
  }
3208
3208
  };
3209
3209
  exports.ajax = ajax;
3210
3210
  });
3211
- define("fn/misc/analyzeFunction", ["require", "exports", "fn/string/md5"], function (require, exports, md5_2) {
3211
+ define("fn/misc/analyzeFunction", ["require", "exports", "fn/string/md5"], function (require, exports, md5_js_2) {
3212
3212
  "use strict";
3213
3213
  Object.defineProperty(exports, "__esModule", { value: true });
3214
3214
  exports.analyzeFunction = void 0;
@@ -3365,7 +3365,7 @@
3365
3365
  }
3366
3366
  }
3367
3367
  const argString = args.map((arg) => arg.name + (arg.default ? ' = ' + arg.default : '')).join(', ');
3368
- const hash = (0, md5_2.md5)(body + (name ? '-' + name : '') + (argString ? '-' + argString : ''));
3368
+ const hash = (0, md5_js_2.md5)(body + (name ? '-' + name : '') + (argString ? '-' + argString : ''));
3369
3369
  return {
3370
3370
  body,
3371
3371
  args,
@@ -3424,7 +3424,7 @@
3424
3424
  };
3425
3425
  exports.arrayBuffer2String = arrayBuffer2String;
3426
3426
  });
3427
- define("fn/object/arrayFromProp", ["require", "exports", "fn/loop/each", "fn/object/getProperty"], function (require, exports, each_9, getProperty_3) {
3427
+ define("fn/object/arrayFromProp", ["require", "exports", "fn/loop/each", "fn/object/getProperty"], function (require, exports, each_js_9, getProperty_js_3) {
3428
3428
  "use strict";
3429
3429
  Object.defineProperty(exports, "__esModule", { value: true });
3430
3430
  exports.arrayFromProp = void 0;
@@ -3461,14 +3461,14 @@
3461
3461
  */
3462
3462
  const arrayFromProp = function (arr, prop) {
3463
3463
  let r = [];
3464
- (0, each_9.each)(arr, (a, i) => {
3465
- r.push((0, getProperty_3.getProperty)(a, prop));
3464
+ (0, each_js_9.each)(arr, (a, i) => {
3465
+ r.push((0, getProperty_js_3.getProperty)(a, prop));
3466
3466
  });
3467
3467
  return r;
3468
3468
  };
3469
3469
  exports.arrayFromProp = arrayFromProp;
3470
3470
  });
3471
- define("fn/object/autoExtend", ["require", "exports", "fn/object/extend"], function (require, exports, extend_2) {
3471
+ define("fn/object/autoExtend", ["require", "exports", "fn/object/extend"], function (require, exports, extend_js_2) {
3472
3472
  "use strict";
3473
3473
  Object.defineProperty(exports, "__esModule", { value: true });
3474
3474
  exports.autoExtend = void 0;
@@ -3507,16 +3507,16 @@
3507
3507
  if (!bbn[namespace]) {
3508
3508
  bbn[namespace] = {};
3509
3509
  //$.extend(true, bbn[namespace], obj);
3510
- (0, extend_2.extend)(bbn[namespace], obj);
3510
+ (0, extend_js_2.extend)(bbn[namespace], obj);
3511
3511
  }
3512
3512
  else {
3513
3513
  // $.extend(true, bbn[namespace], obj);
3514
- (0, extend_2.extend)(bbn[namespace], obj);
3514
+ (0, extend_js_2.extend)(bbn[namespace], obj);
3515
3515
  }
3516
3516
  };
3517
3517
  exports.autoExtend = autoExtend;
3518
3518
  });
3519
- define("fn/string/baseName", ["require", "exports", "fn/type/isString", "fn/string/substr"], function (require, exports, isString_5, substr_3) {
3519
+ define("fn/string/baseName", ["require", "exports", "fn/type/isString", "fn/string/substr"], function (require, exports, isString_js_5, substr_js_3) {
3520
3520
  "use strict";
3521
3521
  Object.defineProperty(exports, "__esModule", { value: true });
3522
3522
  exports.baseName = void 0;
@@ -3543,22 +3543,22 @@
3543
3543
  * @returns {String} The basename of path
3544
3544
  */
3545
3545
  const baseName = function (path, suffix) {
3546
- if (path && (0, isString_5.isString)(path)) {
3546
+ if (path && (0, isString_js_5.isString)(path)) {
3547
3547
  let bits = path.split("/");
3548
3548
  let res = bits.pop();
3549
3549
  if (!suffix) {
3550
3550
  return res;
3551
3551
  }
3552
3552
  let len = suffix.length;
3553
- if (res && (0, substr_3.substr)(res, -len) === suffix) {
3554
- return (0, substr_3.substr)(res, 0, res.length - len);
3553
+ if (res && (0, substr_js_3.substr)(res, -len) === suffix) {
3554
+ return (0, substr_js_3.substr)(res, 0, res.length - len);
3555
3555
  }
3556
3556
  }
3557
3557
  return "";
3558
3558
  };
3559
3559
  exports.baseName = baseName;
3560
3560
  });
3561
- define("fn/string/br2nl", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_2) {
3561
+ define("fn/string/br2nl", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_js_2) {
3562
3562
  "use strict";
3563
3563
  Object.defineProperty(exports, "__esModule", { value: true });
3564
3564
  exports.br2nl = void 0;
@@ -3580,11 +3580,11 @@
3580
3580
  * @returns {String}
3581
3581
  */
3582
3582
  const br2nl = function (st) {
3583
- return (0, replaceAll_2.replaceAll)("<br />", "\n", (0, replaceAll_2.replaceAll)("<br/>", "\n", (0, replaceAll_2.replaceAll)("<br>", "\n", st)));
3583
+ return (0, replaceAll_js_2.replaceAll)("<br />", "\n", (0, replaceAll_js_2.replaceAll)("<br/>", "\n", (0, replaceAll_js_2.replaceAll)("<br>", "\n", st)));
3584
3584
  };
3585
3585
  exports.br2nl = br2nl;
3586
3586
  });
3587
- define("fn/datetime/date", ["require", "exports", "fn/type/isNumber", "fn/string/substr", "fn/type/isDate"], function (require, exports, isNumber_3, substr_4, isDate_2) {
3587
+ define("fn/datetime/date", ["require", "exports", "fn/type/isNumber", "fn/string/substr", "fn/type/isDate"], function (require, exports, isNumber_js_3, substr_js_4, isDate_js_2) {
3588
3588
  "use strict";
3589
3589
  Object.defineProperty(exports, "__esModule", { value: true });
3590
3590
  exports.date = void 0;
@@ -3609,7 +3609,7 @@
3609
3609
  if (v === undefined) {
3610
3610
  return new Date();
3611
3611
  }
3612
- if (t === 'number' || ((0, isNumber_3.isNumber)(v) && v !== '')) {
3612
+ if (t === 'number' || ((0, isNumber_js_3.isNumber)(v) && v !== '')) {
3613
3613
  if (v < 10000000000) {
3614
3614
  v = v * 1000;
3615
3615
  }
@@ -3617,20 +3617,20 @@
3617
3617
  }
3618
3618
  if (t === 'string') {
3619
3619
  if (v.length === 10) {
3620
- return new Date(parseInt((0, substr_4.substr)(v, 0, 4)), parseInt((0, substr_4.substr)(v, 5, 2)) - 1, parseInt((0, substr_4.substr)(v, 8, 2)), 12);
3620
+ return new Date(parseInt((0, substr_js_4.substr)(v, 0, 4)), parseInt((0, substr_js_4.substr)(v, 5, 2)) - 1, parseInt((0, substr_js_4.substr)(v, 8, 2)), 12);
3621
3621
  }
3622
3622
  else if (v.length === 19) {
3623
- return new Date(parseInt((0, substr_4.substr)(v, 0, 4)), parseInt((0, substr_4.substr)(v, 5, 2)) - 1, parseInt((0, substr_4.substr)(v, 8, 2)), parseInt((0, substr_4.substr)(v, 11, 2)), parseInt((0, substr_4.substr)(v, 14, 2)), parseInt((0, substr_4.substr)(v, 17, 2)));
3623
+ return new Date(parseInt((0, substr_js_4.substr)(v, 0, 4)), parseInt((0, substr_js_4.substr)(v, 5, 2)) - 1, parseInt((0, substr_js_4.substr)(v, 8, 2)), parseInt((0, substr_js_4.substr)(v, 11, 2)), parseInt((0, substr_js_4.substr)(v, 14, 2)), parseInt((0, substr_js_4.substr)(v, 17, 2)));
3624
3624
  }
3625
3625
  }
3626
- else if ((0, isDate_2.isDate)(v)) {
3626
+ else if ((0, isDate_js_2.isDate)(v)) {
3627
3627
  return v;
3628
3628
  }
3629
3629
  return d;
3630
3630
  };
3631
3631
  exports.date = date;
3632
3632
  });
3633
- define("fn/datetime/fdatetime", ["require", "exports", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, date_1, isDate_3, isString_6) {
3633
+ define("fn/datetime/fdatetime", ["require", "exports", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, date_js_1, isDate_js_3, isString_js_6) {
3634
3634
  "use strict";
3635
3635
  Object.defineProperty(exports, "__esModule", { value: true });
3636
3636
  exports.fdatetime = void 0;
@@ -3642,9 +3642,9 @@
3642
3642
  * @returns {*}
3643
3643
  */
3644
3644
  const fdatetime = function (d, wrong_result = false) {
3645
- let r = (0, date_1.date)(d);
3646
- if (!(0, isDate_3.isDate)(r)) {
3647
- return wrong_result && (0, isString_6.isString)(wrong_result) ? wrong_result : '';
3645
+ let r = (0, date_js_1.date)(d);
3646
+ if (!(0, isDate_js_3.isDate)(r)) {
3647
+ return wrong_result && (0, isString_js_6.isString)(wrong_result) ? wrong_result : '';
3648
3648
  }
3649
3649
  if (undefined !== dayjs) {
3650
3650
  //return dayjs(r).format('lll');
@@ -3662,7 +3662,7 @@
3662
3662
  };
3663
3663
  exports.fdatetime = fdatetime;
3664
3664
  });
3665
- define("fn/datetime/fdate", ["require", "exports", "fn/datetime/fdatetime", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, fdatetime_1, date_2, isDate_4, isString_7) {
3665
+ define("fn/datetime/fdate", ["require", "exports", "fn/datetime/fdatetime", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, fdatetime_js_1, date_js_2, isDate_js_4, isString_js_7) {
3666
3666
  "use strict";
3667
3667
  Object.defineProperty(exports, "__esModule", { value: true });
3668
3668
  exports.fdate = void 0;
@@ -3678,11 +3678,11 @@
3678
3678
  const fdate = function (d, wrong_result = false) {
3679
3679
  // Retro compatibility
3680
3680
  if (wrong_result === true) {
3681
- return (0, fdatetime_1.fdatetime)(d);
3681
+ return (0, fdatetime_js_1.fdatetime)(d);
3682
3682
  }
3683
- let r = (0, date_2.date)(d);
3684
- if (!(0, isDate_4.isDate)(r)) {
3685
- return wrong_result && (0, isString_7.isString)(wrong_result) ? wrong_result : '';
3683
+ let r = (0, date_js_2.date)(d);
3684
+ if (!(0, isDate_js_4.isDate)(r)) {
3685
+ return wrong_result && (0, isString_js_7.isString)(wrong_result) ? wrong_result : '';
3686
3686
  }
3687
3687
  if (undefined !== dayjs) {
3688
3688
  return dayjs(r).format('L');
@@ -3691,18 +3691,18 @@
3691
3691
  };
3692
3692
  exports.fdate = fdate;
3693
3693
  });
3694
- define("fn/datetime/calendar", ["require", "exports", "fn/datetime/fdate", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, fdate_1, date_3, isDate_5, isString_8) {
3694
+ define("fn/datetime/calendar", ["require", "exports", "fn/datetime/fdate", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, fdate_js_1, date_js_3, isDate_js_5, isString_js_8) {
3695
3695
  "use strict";
3696
3696
  Object.defineProperty(exports, "__esModule", { value: true });
3697
3697
  exports.calendar = void 0;
3698
3698
  dayjs.extend(window['dayjs_plugin_calendar']);
3699
3699
  const calendar = function (d, wrong_result = false) {
3700
3700
  if (undefined === dayjs) {
3701
- return (0, fdate_1.fdate)(d, wrong_result);
3701
+ return (0, fdate_js_1.fdate)(d, wrong_result);
3702
3702
  }
3703
- let r = (0, date_3.date)(d);
3704
- if (!(0, isDate_5.isDate)(r)) {
3705
- return wrong_result && (0, isString_8.isString)(wrong_result) ? wrong_result : '';
3703
+ let r = (0, date_js_3.date)(d);
3704
+ if (!(0, isDate_js_5.isDate)(r)) {
3705
+ return wrong_result && (0, isString_js_8.isString)(wrong_result) ? wrong_result : '';
3706
3706
  }
3707
3707
  return dayjs(r).calendar(null, {
3708
3708
  sameDay: '[' + bbn._('Today') + ']',
@@ -3715,7 +3715,7 @@
3715
3715
  };
3716
3716
  exports.calendar = calendar;
3717
3717
  });
3718
- define("fn/ajax/callback", ["require", "exports", "fn/browser/error", "fn/type/isFunction", "fn/browser/log"], function (require, exports, error_2, isFunction_4, log_8) {
3718
+ define("fn/ajax/callback", ["require", "exports", "fn/browser/error", "fn/type/isFunction", "fn/browser/log"], function (require, exports, error_js_2, isFunction_js_4, log_js_8) {
3719
3719
  "use strict";
3720
3720
  Object.defineProperty(exports, "__esModule", { value: true });
3721
3721
  exports.callback = void 0;
@@ -3767,14 +3767,14 @@
3767
3767
  eval(res.prescript);
3768
3768
  }
3769
3769
  catch (e) {
3770
- (0, error_2.error)(e.message || '');
3770
+ (0, error_js_2.error)(e.message || '');
3771
3771
  }
3772
3772
  }
3773
3773
  if (isObj && res.url === undefined) {
3774
3774
  res.url = url;
3775
3775
  }
3776
3776
  /* Case where a callback is defined */
3777
- if (fn && (0, isFunction_4.isFunction)(fn)) {
3777
+ if (fn && (0, isFunction_js_4.isFunction)(fn)) {
3778
3778
  tmp = fn(res, ele);
3779
3779
  }
3780
3780
  else {
@@ -3797,20 +3797,20 @@
3797
3797
  let r = null;
3798
3798
  try {
3799
3799
  r = eval(res.script);
3800
- if ((0, isFunction_4.isFunction)(r)) {
3800
+ if ((0, isFunction_js_4.isFunction)(r)) {
3801
3801
  r = r(data, ele);
3802
3802
  }
3803
3803
  }
3804
3804
  catch (e) {
3805
- (0, log_8.log)(e, res);
3806
- (0, error_2.error)((0, isFunction_4.isFunction)(e.getMessage) ? e.getMessage() : null);
3805
+ (0, log_js_8.log)(e, res);
3806
+ (0, error_js_2.error)((0, isFunction_js_4.isFunction)(e.getMessage) ? e.getMessage() : null);
3807
3807
  }
3808
3808
  return r;
3809
3809
  })(res.data ? res.data : {}, ele ? ele : false);
3810
3810
  }
3811
3811
  }
3812
3812
  /* Case where a callback is defined */
3813
- if (tmp && fn2 && (0, isFunction_4.isFunction)(fn2)) {
3813
+ if (tmp && fn2 && (0, isFunction_js_4.isFunction)(fn2)) {
3814
3814
  fn2(res);
3815
3815
  }
3816
3816
  else if (isObj && bbn.fn.defaultPostLinkFunction) {
@@ -3964,7 +3964,7 @@
3964
3964
  };
3965
3965
  exports.center = center;
3966
3966
  });
3967
- define("fn/object/checkPropsDetails", ["require", "exports", "fn/type/isArray", "fn/type/isObject", "fn/loop/each", "fn/string/substr"], function (require, exports, isArray_7, isObject_9, each_10, substr_5) {
3967
+ define("fn/object/checkPropsDetails", ["require", "exports", "fn/type/isArray", "fn/type/isObject", "fn/loop/each", "fn/string/substr"], function (require, exports, isArray_js_7, isObject_js_9, each_js_10, substr_js_5) {
3968
3968
  "use strict";
3969
3969
  Object.defineProperty(exports, "__esModule", { value: true });
3970
3970
  exports.checkPropsDetails = void 0;
@@ -3976,15 +3976,15 @@
3976
3976
  if (typeof props === "string") {
3977
3977
  props = [props];
3978
3978
  }
3979
- if (!(0, isArray_7.isArray)(props)) {
3979
+ if (!(0, isArray_js_7.isArray)(props)) {
3980
3980
  res.error = bbn._("checkProps must receive a string or an array as props argument");
3981
3981
  }
3982
- if (!(0, isObject_9.isObject)(obj)) {
3982
+ if (!(0, isObject_js_9.isObject)(obj)) {
3983
3983
  res.error = bbn._("checkProps must receive an object as obj argument");
3984
3984
  }
3985
3985
  if (!res.error) {
3986
3986
  let check;
3987
- (0, each_10.each)(props, (varName) => {
3987
+ (0, each_js_10.each)(props, (varName) => {
3988
3988
  varName = varName.trim().split(":");
3989
3989
  let type = varName[1] || false;
3990
3990
  varName = varName[0];
@@ -3994,8 +3994,8 @@
3994
3994
  else if (type) {
3995
3995
  check =
3996
3996
  "is" +
3997
- (0, substr_5.substr)(type, 0, 1).toUpperCase() +
3998
- (0, substr_5.substr)(type, 1).toLowerCase();
3997
+ (0, substr_js_5.substr)(type, 0, 1).toUpperCase() +
3998
+ (0, substr_js_5.substr)(type, 1).toLowerCase();
3999
3999
  if (bbn.fn[check] === undefined) {
4000
4000
  res.error = type + " " + bbn._("is not a valid type");
4001
4001
  }
@@ -4018,21 +4018,21 @@
4018
4018
  };
4019
4019
  exports.checkPropsDetails = checkPropsDetails;
4020
4020
  });
4021
- define("fn/object/checkProps", ["require", "exports", "fn/object/checkPropsDetails"], function (require, exports, checkPropsDetails_1) {
4021
+ define("fn/object/checkProps", ["require", "exports", "fn/object/checkPropsDetails"], function (require, exports, checkPropsDetails_js_1) {
4022
4022
  "use strict";
4023
4023
  Object.defineProperty(exports, "__esModule", { value: true });
4024
4024
  exports.checkProps = void 0;
4025
4025
  const checkProps = function (obj, props, checkEmpty = false) {
4026
- return (0, checkPropsDetails_1.checkPropsDetails)(obj, props, checkEmpty).result;
4026
+ return (0, checkPropsDetails_js_1.checkPropsDetails)(obj, props, checkEmpty).result;
4027
4027
  };
4028
4028
  exports.checkProps = checkProps;
4029
4029
  });
4030
- define("fn/object/checkPropsOrDie", ["require", "exports", "fn/object/checkPropsDetails"], function (require, exports, checkPropsDetails_2) {
4030
+ define("fn/object/checkPropsOrDie", ["require", "exports", "fn/object/checkPropsDetails"], function (require, exports, checkPropsDetails_js_2) {
4031
4031
  "use strict";
4032
4032
  Object.defineProperty(exports, "__esModule", { value: true });
4033
4033
  exports.checkPropsOrDie = void 0;
4034
4034
  const checkPropsOrDie = function (obj, props, checkEmpty = false) {
4035
- let res = (0, checkPropsDetails_2.checkPropsDetails)(obj, props, checkEmpty);
4035
+ let res = (0, checkPropsDetails_js_2.checkPropsDetails)(obj, props, checkEmpty);
4036
4036
  if (res.error) {
4037
4037
  throw new Error(res.error);
4038
4038
  }
@@ -4040,7 +4040,7 @@
4040
4040
  };
4041
4041
  exports.checkPropsOrDie = checkPropsOrDie;
4042
4042
  });
4043
- define("fn/object/clone", ["require", "exports", "fn/type/isArray", "fn/type/isObject", "fn/object/extend"], function (require, exports, isArray_8, isObject_10, extend_3) {
4043
+ define("fn/object/clone", ["require", "exports", "fn/type/isArray", "fn/type/isObject", "fn/object/extend"], function (require, exports, isArray_js_8, isObject_js_10, extend_js_3) {
4044
4044
  "use strict";
4045
4045
  Object.defineProperty(exports, "__esModule", { value: true });
4046
4046
  exports.clone = void 0;
@@ -4062,14 +4062,14 @@
4062
4062
  * @returns {Object} A new object
4063
4063
  */
4064
4064
  const clone = function (obj) {
4065
- if ((0, isArray_8.isArray)(obj)) {
4065
+ if ((0, isArray_js_8.isArray)(obj)) {
4066
4066
  return obj.slice().map((a) => {
4067
4067
  return typeof a === "object" ? clone(a) : a;
4068
4068
  });
4069
4069
  }
4070
- if ((0, isObject_10.isObject)(obj)) {
4070
+ if ((0, isObject_js_10.isObject)(obj)) {
4071
4071
  const o = Object.create(Object.getPrototypeOf(obj));
4072
- return (0, extend_3.extend)(true, o, obj);
4072
+ return (0, extend_js_3.extend)(true, o, obj);
4073
4073
  }
4074
4074
  return obj;
4075
4075
  };
@@ -4104,7 +4104,7 @@
4104
4104
  };
4105
4105
  exports.colorToHex = colorToHex;
4106
4106
  });
4107
- define("fn/browser/copy", ["require", "exports", "fn/type/isObject", "fn/type/isFunction"], function (require, exports, isObject_11, isFunction_5) {
4107
+ define("fn/browser/copy", ["require", "exports", "fn/type/isObject", "fn/type/isFunction"], function (require, exports, isObject_js_11, isFunction_js_5) {
4108
4108
  "use strict";
4109
4109
  Object.defineProperty(exports, "__esModule", { value: true });
4110
4110
  exports.copy = void 0;
@@ -4130,7 +4130,7 @@
4130
4130
  resolve(true);
4131
4131
  });
4132
4132
  }
4133
- else if ((0, isObject_11.isObject)(st) && (0, isFunction_5.isFunction)(st.toBlob)) {
4133
+ else if ((0, isObject_js_11.isObject)(st) && (0, isFunction_js_5.isFunction)(st.toBlob)) {
4134
4134
  st.toBlob((blob) => {
4135
4135
  navigator.clipboard.write([new ClipboardItem({ [blob.type.toString()]: blob })]).then(() => {
4136
4136
  resolve(true);
@@ -4157,7 +4157,7 @@
4157
4157
  };
4158
4158
  exports.copy = copy;
4159
4159
  });
4160
- define("fn/object/count", ["require", "exports", "fn/object/filter"], function (require, exports, filter_2) {
4160
+ define("fn/object/count", ["require", "exports", "fn/object/filter"], function (require, exports, filter_js_2) {
4161
4161
  "use strict";
4162
4162
  Object.defineProperty(exports, "__esModule", { value: true });
4163
4163
  exports.count = void 0;
@@ -4216,7 +4216,7 @@
4216
4216
  * @returns {Number} The number of items
4217
4217
  */
4218
4218
  const count = function (arr, prop, val = null, operator = '=') {
4219
- return (0, filter_2.filter)(arr, prop, val, operator).length || 0;
4219
+ return (0, filter_js_2.filter)(arr, prop, val, operator).length || 0;
4220
4220
  };
4221
4221
  exports.count = count;
4222
4222
  });
@@ -4245,20 +4245,20 @@
4245
4245
  };
4246
4246
  exports.crc32 = crc32;
4247
4247
  });
4248
- define("fn/object/createObject", ["require", "exports", "fn/object/extend"], function (require, exports, extend_4) {
4248
+ define("fn/object/createObject", ["require", "exports", "fn/object/extend"], function (require, exports, extend_js_4) {
4249
4249
  "use strict";
4250
4250
  Object.defineProperty(exports, "__esModule", { value: true });
4251
4251
  exports.createObject = void 0;
4252
4252
  const createObject = function (...args) {
4253
4253
  const obj = Object.create(null);
4254
4254
  if (args.length) {
4255
- (0, extend_4.extend)(obj, ...args);
4255
+ (0, extend_js_4.extend)(obj, ...args);
4256
4256
  }
4257
4257
  return obj;
4258
4258
  };
4259
4259
  exports.createObject = createObject;
4260
4260
  });
4261
- define("fn/style/cssExists", ["require", "exports", "fn/string/escapeRegExp"], function (require, exports, escapeRegExp_2) {
4261
+ define("fn/style/cssExists", ["require", "exports", "fn/string/escapeRegExp"], function (require, exports, escapeRegExp_js_2) {
4262
4262
  "use strict";
4263
4263
  Object.defineProperty(exports, "__esModule", { value: true });
4264
4264
  exports.cssExists = void 0;
@@ -4291,7 +4291,7 @@
4291
4291
  //log(rules);
4292
4292
  for (let cx = 0; cx < rules.length; cx++) {
4293
4293
  //log(rules[cx].selectorText);
4294
- if (new RegExp("(^|\\s)" + (0, escapeRegExp_2.escapeRegExp)(f) + "(\\{|\\s)", "g").test(rules[cx].selectorText)) {
4294
+ if (new RegExp("(^|\\s)" + (0, escapeRegExp_js_2.escapeRegExp)(f) + "(\\{|\\s)", "g").test(rules[cx].selectorText)) {
4295
4295
  return true;
4296
4296
  }
4297
4297
  }
@@ -4301,7 +4301,7 @@
4301
4301
  };
4302
4302
  exports.cssExists = cssExists;
4303
4303
  });
4304
- define("fn/datetime/dateSQL", ["require", "exports", "fn/datetime/date"], function (require, exports, date_4) {
4304
+ define("fn/datetime/dateSQL", ["require", "exports", "fn/datetime/date"], function (require, exports, date_js_4) {
4305
4305
  "use strict";
4306
4306
  Object.defineProperty(exports, "__esModule", { value: true });
4307
4307
  exports.dateSQL = void 0;
@@ -4324,14 +4324,14 @@
4324
4324
  * @returns {String}
4325
4325
  */
4326
4326
  const dateSQL = function (v, dayOnly) {
4327
- let value = (0, date_4.date)(v);
4327
+ let value = (0, date_js_4.date)(v);
4328
4328
  if (value) {
4329
4329
  return dayjs(value).format('YYYY-MM-DD' + (dayOnly ? '' : ' HH:mm:ss'));
4330
4330
  }
4331
4331
  };
4332
4332
  exports.dateSQL = dateSQL;
4333
4333
  });
4334
- define("fn/datetime/daysInMonth", ["require", "exports", "fn/datetime/date"], function (require, exports, date_5) {
4334
+ define("fn/datetime/daysInMonth", ["require", "exports", "fn/datetime/date"], function (require, exports, date_js_5) {
4335
4335
  "use strict";
4336
4336
  Object.defineProperty(exports, "__esModule", { value: true });
4337
4337
  exports.daysInMonth = void 0;
@@ -4351,7 +4351,7 @@
4351
4351
  * @returns {Number}
4352
4352
  */
4353
4353
  const daysInMonth = function (v) {
4354
- let d = (0, date_5.date)(v);
4354
+ let d = (0, date_js_5.date)(v);
4355
4355
  if (d) {
4356
4356
  return dayjs(d).daysInMonth();
4357
4357
  }
@@ -4359,7 +4359,7 @@
4359
4359
  };
4360
4360
  exports.daysInMonth = daysInMonth;
4361
4361
  });
4362
- define("fn/object/deepPath", ["require", "exports", "fn/object/search", "fn/loop/each", "fn/type/isArray"], function (require, exports, search_4, each_11, isArray_9) {
4362
+ define("fn/object/deepPath", ["require", "exports", "fn/object/search", "fn/loop/each", "fn/type/isArray"], function (require, exports, search_js_4, each_js_11, isArray_js_9) {
4363
4363
  "use strict";
4364
4364
  Object.defineProperty(exports, "__esModule", { value: true });
4365
4365
  exports.deepPath = void 0;
@@ -4421,12 +4421,12 @@
4421
4421
  const deepPath = function (arr, filter, deepProperty, res = []) {
4422
4422
  let idx;
4423
4423
  let start = 0;
4424
- if ((idx = (0, search_4.search)(arr, filter, start)) > -1) {
4424
+ if ((idx = (0, search_js_4.search)(arr, filter, start)) > -1) {
4425
4425
  res.push(idx);
4426
4426
  return res;
4427
4427
  }
4428
- (0, each_11.each)(arr, (it, i) => {
4429
- if ((0, isArray_9.isArray)(it[deepProperty])) {
4428
+ (0, each_js_11.each)(arr, (it, i) => {
4429
+ if ((0, isArray_js_9.isArray)(it[deepProperty])) {
4430
4430
  let r = res.slice();
4431
4431
  r.push(i);
4432
4432
  let tmp = deepPath(it[deepProperty], filter, deepProperty, r);
@@ -4439,21 +4439,21 @@
4439
4439
  };
4440
4440
  exports.deepPath = deepPath;
4441
4441
  });
4442
- define("fn/default/defaultAjaxAbortFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_9) {
4442
+ define("fn/default/defaultAjaxAbortFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_9) {
4443
4443
  "use strict";
4444
4444
  Object.defineProperty(exports, "__esModule", { value: true });
4445
4445
  exports.defaultAjaxAbortFunction = void 0;
4446
4446
  const defaultAjaxAbortFunction = function (message, url = "") {
4447
- (0, log_9.log)(message);
4447
+ (0, log_js_9.log)(message);
4448
4448
  };
4449
4449
  exports.defaultAjaxAbortFunction = defaultAjaxAbortFunction;
4450
4450
  });
4451
- define("fn/default/defaultAjaxErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_10) {
4451
+ define("fn/default/defaultAjaxErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_10) {
4452
4452
  "use strict";
4453
4453
  Object.defineProperty(exports, "__esModule", { value: true });
4454
4454
  exports.defaultAjaxErrorFunction = void 0;
4455
4455
  const defaultAjaxErrorFunction = function (jqXHR, textStatus = null, errorThrown = null) {
4456
- (0, log_10.log)(textStatus, errorThrown);
4456
+ (0, log_js_10.log)(textStatus, errorThrown);
4457
4457
  };
4458
4458
  exports.defaultAjaxErrorFunction = defaultAjaxErrorFunction;
4459
4459
  });
@@ -4467,19 +4467,19 @@
4467
4467
  };
4468
4468
  exports.defaultAlertFunction = defaultAlertFunction;
4469
4469
  });
4470
- define("fn/default/defaultConfirmFunction", ["require", "exports", "fn/type/isFunction"], function (require, exports, isFunction_6) {
4470
+ define("fn/default/defaultConfirmFunction", ["require", "exports", "fn/type/isFunction"], function (require, exports, isFunction_js_6) {
4471
4471
  "use strict";
4472
4472
  Object.defineProperty(exports, "__esModule", { value: true });
4473
4473
  exports.defaultConfirmFunction = void 0;
4474
4474
  const defaultConfirmFunction = function (text, yesFn, noFn = null) {
4475
4475
  let ok = 0;
4476
4476
  if (confirm(text)) {
4477
- if ((0, isFunction_6.isFunction)(yesFn)) {
4477
+ if ((0, isFunction_js_6.isFunction)(yesFn)) {
4478
4478
  yesFn();
4479
4479
  ok = 1;
4480
4480
  }
4481
4481
  }
4482
- if (!ok && (0, isFunction_6.isFunction)(noFn)) {
4482
+ if (!ok && (0, isFunction_js_6.isFunction)(noFn)) {
4483
4483
  noFn();
4484
4484
  }
4485
4485
  };
@@ -4494,12 +4494,12 @@
4494
4494
  };
4495
4495
  exports.defaultEndLoadingFunction = defaultEndLoadingFunction;
4496
4496
  });
4497
- define("fn/default/defaultErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_11) {
4497
+ define("fn/default/defaultErrorFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_11) {
4498
4498
  "use strict";
4499
4499
  Object.defineProperty(exports, "__esModule", { value: true });
4500
4500
  exports.defaultErrorFunction = void 0;
4501
4501
  const defaultErrorFunction = function (message) {
4502
- (0, log_11.log)(message);
4502
+ (0, log_js_11.log)(message);
4503
4503
  };
4504
4504
  exports.defaultErrorFunction = defaultErrorFunction;
4505
4505
  });
@@ -4530,12 +4530,12 @@
4530
4530
  };
4531
4531
  exports.defaultPostLinkFunction = defaultPostLinkFunction;
4532
4532
  });
4533
- define("fn/default/defaultPreLinkFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_12) {
4533
+ define("fn/default/defaultPreLinkFunction", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_12) {
4534
4534
  "use strict";
4535
4535
  Object.defineProperty(exports, "__esModule", { value: true });
4536
4536
  exports.defaultPreLinkFunction = void 0;
4537
4537
  const defaultPreLinkFunction = function (url, force = false, ele = null) {
4538
- (0, log_12.log)("defaultPreLinkFunction", url, force, ele);
4538
+ (0, log_js_12.log)("defaultPreLinkFunction", url, force, ele);
4539
4539
  return true;
4540
4540
  };
4541
4541
  exports.defaultPreLinkFunction = defaultPreLinkFunction;
@@ -4558,7 +4558,7 @@
4558
4558
  };
4559
4559
  exports.defaultStartLoadingFunction = defaultStartLoadingFunction;
4560
4560
  });
4561
- define("fn/object/deleteProp", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_2) {
4561
+ define("fn/object/deleteProp", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_js_2) {
4562
4562
  "use strict";
4563
4563
  Object.defineProperty(exports, "__esModule", { value: true });
4564
4564
  exports.deleteProp = void 0;
@@ -4569,13 +4569,13 @@
4569
4569
  * @returns
4570
4570
  */
4571
4571
  const deleteProp = function (obj, prop) {
4572
- (0, checkType_2.checkType)(obj, "object", bbn._("The obj must be an object in setProp"));
4573
- (0, checkType_2.checkType)(prop, "string", bbn._("The prop must be a string in setProp"));
4572
+ (0, checkType_js_2.checkType)(obj, "object", bbn._("The obj must be an object in setProp"));
4573
+ (0, checkType_js_2.checkType)(prop, "string", bbn._("The prop must be a string in setProp"));
4574
4574
  delete obj[prop];
4575
4575
  };
4576
4576
  exports.deleteProp = deleteProp;
4577
4577
  });
4578
- define("fn/type/isValue", ["require", "exports", "fn/type/isNull"], function (require, exports, isNull_2) {
4578
+ define("fn/type/isValue", ["require", "exports", "fn/type/isNull"], function (require, exports, isNull_js_2) {
4579
4579
  "use strict";
4580
4580
  Object.defineProperty(exports, "__esModule", { value: true });
4581
4581
  exports.isValue = void 0;
@@ -4607,7 +4607,7 @@
4607
4607
  if (!args.length)
4608
4608
  return false;
4609
4609
  for (let a of args) {
4610
- if (typeof a === "object" && !(0, isNull_2.isNull)(a)) {
4610
+ if (typeof a === "object" && !(0, isNull_js_2.isNull)(a)) {
4611
4611
  return false;
4612
4612
  }
4613
4613
  }
@@ -4615,7 +4615,7 @@
4615
4615
  };
4616
4616
  exports.isValue = isValue;
4617
4617
  });
4618
- define("fn/object/diffObj", ["require", "exports", "fn/type/isDate", "fn/object/createObject", "fn/type/isFunction", "fn/type/isValue", "fn/type/isDom", "fn/object/numProperties"], function (require, exports, isDate_6, createObject_1, isFunction_7, isValue_1, isDom_4, numProperties_5) {
4618
+ define("fn/object/diffObj", ["require", "exports", "fn/type/isDate", "fn/object/createObject", "fn/type/isFunction", "fn/type/isValue", "fn/type/isDom", "fn/object/numProperties"], function (require, exports, isDate_js_6, createObject_js_1, isFunction_js_7, isValue_js_1, isDom_js_4, numProperties_js_5) {
4619
4619
  "use strict";
4620
4620
  Object.defineProperty(exports, "__esModule", { value: true });
4621
4621
  exports.diffObj = void 0;
@@ -4705,7 +4705,7 @@
4705
4705
  if (value1 === value2) {
4706
4706
  return VALUE_UNCHANGED;
4707
4707
  }
4708
- if ((0, isDate_6.isDate)(value1) && (0, isDate_6.isDate)(value2) && value1.getTime() === value2.getTime()) {
4708
+ if ((0, isDate_js_6.isDate)(value1) && (0, isDate_js_6.isDate)(value2) && value1.getTime() === value2.getTime()) {
4709
4709
  return VALUE_UNCHANGED;
4710
4710
  }
4711
4711
  if ('undefined' == typeof value1) {
@@ -4719,12 +4719,12 @@
4719
4719
  if (notRoot === undefined) {
4720
4720
  notRoot = false;
4721
4721
  }
4722
- let diff = (0, createObject_1.createObject)();
4723
- if (!(0, isFunction_7.isFunction)(obj1) && !(0, isFunction_7.isFunction)(obj2)) {
4724
- if ((0, isValue_1.isValue)(obj1) || (0, isValue_1.isValue)(obj2)) {
4722
+ let diff = (0, createObject_js_1.createObject)();
4723
+ if (!(0, isFunction_js_7.isFunction)(obj1) && !(0, isFunction_js_7.isFunction)(obj2)) {
4724
+ if ((0, isValue_js_1.isValue)(obj1) || (0, isValue_js_1.isValue)(obj2)) {
4725
4725
  let res = _compareValues(obj1, obj2);
4726
4726
  if (unchanged || res !== VALUE_UNCHANGED) {
4727
- let ret = (0, createObject_1.createObject)();
4727
+ let ret = (0, createObject_js_1.createObject)();
4728
4728
  Object.defineProperty(ret, 'type', {
4729
4729
  value: res,
4730
4730
  enumerable: false,
@@ -4747,7 +4747,7 @@
4747
4747
  }
4748
4748
  return false;
4749
4749
  }
4750
- if ((0, isDom_4.isDom)(obj1) || (0, isDom_4.isDom)(obj2)) {
4750
+ if ((0, isDom_js_4.isDom)(obj1) || (0, isDom_js_4.isDom)(obj2)) {
4751
4751
  return false;
4752
4752
  }
4753
4753
  if (diffObjProcessed.includes(obj1) || diffObjProcessed.includes(obj2)) {
@@ -4756,7 +4756,7 @@
4756
4756
  }
4757
4757
  diffObjProcessed.push(obj1, obj2);
4758
4758
  for (let key in obj1) {
4759
- if ((0, isFunction_7.isFunction)(obj1[key])) {
4759
+ if ((0, isFunction_js_7.isFunction)(obj1[key])) {
4760
4760
  continue;
4761
4761
  }
4762
4762
  let value2 = undefined;
@@ -4769,7 +4769,7 @@
4769
4769
  }
4770
4770
  }
4771
4771
  for (let key in obj2) {
4772
- if ((0, isFunction_7.isFunction)(obj2[key]) || 'undefined' != typeof obj1[key]) {
4772
+ if ((0, isFunction_js_7.isFunction)(obj2[key]) || 'undefined' != typeof obj1[key]) {
4773
4773
  continue;
4774
4774
  }
4775
4775
  let res = diffObj(undefined, obj2[key], unchanged, true);
@@ -4778,11 +4778,11 @@
4778
4778
  }
4779
4779
  }
4780
4780
  }
4781
- return !notRoot || unchanged || (0, numProperties_5.numProperties)(diff) ? diff : false;
4781
+ return !notRoot || unchanged || (0, numProperties_js_5.numProperties)(diff) ? diff : false;
4782
4782
  };
4783
4783
  exports.diffObj = diffObj;
4784
4784
  });
4785
- define("fn/string/dirName", ["require", "exports", "fn/type/isString", "fn/string/substr"], function (require, exports, isString_9, substr_6) {
4785
+ define("fn/string/dirName", ["require", "exports", "fn/type/isString", "fn/string/substr"], function (require, exports, isString_js_9, substr_js_6) {
4786
4786
  "use strict";
4787
4787
  Object.defineProperty(exports, "__esModule", { value: true });
4788
4788
  exports.dirName = void 0;
@@ -4802,13 +4802,13 @@
4802
4802
  * @returns {String} path of the folder
4803
4803
  */
4804
4804
  const dirName = function (path) {
4805
- if ((0, isString_9.isString)(path) && path) {
4806
- while ((0, substr_6.substr)(path, path.length - 1) === "/") {
4807
- path = (0, substr_6.substr)(path, 0, path.length - 1);
4805
+ if ((0, isString_js_9.isString)(path) && path) {
4806
+ while ((0, substr_js_6.substr)(path, path.length - 1) === "/") {
4807
+ path = (0, substr_js_6.substr)(path, 0, path.length - 1);
4808
4808
  }
4809
4809
  let pos = path.lastIndexOf("/");
4810
4810
  if (pos > 0) {
4811
- return (0, substr_6.substr)(path, 0, pos);
4811
+ return (0, substr_js_6.substr)(path, 0, pos);
4812
4812
  }
4813
4813
  if (pos === 0) {
4814
4814
  return "/";
@@ -4841,7 +4841,7 @@
4841
4841
  };
4842
4842
  exports.isBlob = isBlob;
4843
4843
  });
4844
- define("fn/string/fileExt", ["require", "exports", "fn/type/isString"], function (require, exports, isString_10) {
4844
+ define("fn/string/fileExt", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_10) {
4845
4845
  "use strict";
4846
4846
  Object.defineProperty(exports, "__esModule", { value: true });
4847
4847
  exports.fileExt = void 0;
@@ -4882,7 +4882,7 @@
4882
4882
  * @returns {String} The file's extension
4883
4883
  */
4884
4884
  const fileExt = function (filename) {
4885
- if (filename && (0, isString_10.isString)(filename)) {
4885
+ if (filename && (0, isString_js_10.isString)(filename)) {
4886
4886
  let bits = filename.split(".");
4887
4887
  if (bits[0] && bits.length > 1) {
4888
4888
  return bits[bits.length - 1].toLowerCase();
@@ -4922,7 +4922,7 @@
4922
4922
  };
4923
4923
  exports.isCanvas = isCanvas;
4924
4924
  });
4925
- define("fn/ajax/downloadContent", ["require", "exports", "fn/type/isCanvas", "fn/type/isObject", "fn/type/isString", "fn/browser/log"], function (require, exports, isCanvas_1, isObject_12, isString_11, log_13) {
4925
+ define("fn/ajax/downloadContent", ["require", "exports", "fn/type/isCanvas", "fn/type/isObject", "fn/type/isString", "fn/browser/log"], function (require, exports, isCanvas_js_1, isObject_js_12, isString_js_11, log_js_13) {
4926
4926
  "use strict";
4927
4927
  Object.defineProperty(exports, "__esModule", { value: true });
4928
4928
  exports.downloadContent = void 0;
@@ -4953,7 +4953,7 @@
4953
4953
  * @returns {undefined}
4954
4954
  */
4955
4955
  const downloadContent = function (filename, content, type = null) {
4956
- if ((0, isCanvas_1.isCanvas)(content)) {
4956
+ if ((0, isCanvas_js_1.isCanvas)(content)) {
4957
4957
  content.toBlob((blob) => {
4958
4958
  // blob ready, download it
4959
4959
  let a = document.createElement('a');
@@ -4967,7 +4967,7 @@
4967
4967
  return;
4968
4968
  }
4969
4969
  if (!type) {
4970
- type = (0, isObject_12.isObject)(content) && content.type ? content.type : 'octet/stream';
4970
+ type = (0, isObject_js_12.isObject)(content) && content.type ? content.type : 'octet/stream';
4971
4971
  }
4972
4972
  else if (type.indexOf('/') === -1) {
4973
4973
  type = 'text/' + type;
@@ -4975,7 +4975,7 @@
4975
4975
  let a = window.document.createElement('a');
4976
4976
  a.className = 'bbn-no';
4977
4977
  let src = null;
4978
- if ((0, isString_11.isString)(content)) {
4978
+ if ((0, isString_js_11.isString)(content)) {
4979
4979
  src = new Blob([content], { type: type });
4980
4980
  }
4981
4981
  else {
@@ -4983,7 +4983,7 @@
4983
4983
  src = content;
4984
4984
  }
4985
4985
  catch (e) {
4986
- (0, log_13.log)(e);
4986
+ (0, log_js_13.log)(e);
4987
4987
  }
4988
4988
  }
4989
4989
  a.href = window.URL.createObjectURL(src);
@@ -4997,7 +4997,7 @@
4997
4997
  };
4998
4998
  exports.downloadContent = downloadContent;
4999
4999
  });
5000
- define("fn/ajax/download", ["require", "exports", "fn/ajax/ajax", "fn/string/substr", "fn/string/baseName", "fn/type/isBlob", "fn/string/fileExt", "fn/ajax/downloadContent"], function (require, exports, ajax_1, substr_7, baseName_1, isBlob_1, fileExt_1, downloadContent_1) {
5000
+ define("fn/ajax/download", ["require", "exports", "fn/ajax/ajax", "fn/string/substr", "fn/string/baseName", "fn/type/isBlob", "fn/string/fileExt", "fn/ajax/downloadContent"], function (require, exports, ajax_js_1, substr_js_7, baseName_js_1, isBlob_js_1, fileExt_js_1, downloadContent_js_1) {
5001
5001
  "use strict";
5002
5002
  Object.defineProperty(exports, "__esModule", { value: true });
5003
5003
  exports.download = void 0;
@@ -5035,24 +5035,24 @@
5035
5035
  params = filename;
5036
5036
  filename = "";
5037
5037
  }
5038
- return (0, ajax_1.ajax)(url, "blob", params || { _bbn_download: 1 }, (d, headers) => {
5038
+ return (0, ajax_js_1.ajax)(url, "blob", params || { _bbn_download: 1 }, (d, headers) => {
5039
5039
  if (!filename) {
5040
5040
  let prop = "content-disposition";
5041
5041
  let cd = "attachment; filename=";
5042
5042
  if ((headers === null || headers === void 0 ? void 0 : headers[prop]) && headers[prop].indexOf(cd) === 0) {
5043
- filename = (0, substr_7.substr)(headers[prop], cd.length + 1, headers[prop].length - cd.length - 2);
5043
+ filename = (0, substr_js_7.substr)(headers[prop], cd.length + 1, headers[prop].length - cd.length - 2);
5044
5044
  }
5045
5045
  else {
5046
- filename = (0, baseName_1.baseName)(url);
5046
+ filename = (0, baseName_js_1.baseName)(url);
5047
5047
  }
5048
5048
  }
5049
- if ((0, isBlob_1.isBlob)(d)) {
5050
- let extension = (0, fileExt_1.fileExt)(filename);
5049
+ if ((0, isBlob_js_1.isBlob)(d)) {
5050
+ let extension = (0, fileExt_js_1.fileExt)(filename);
5051
5051
  let htmlExtensions = ["php", "html"];
5052
5052
  if (typeof filename === "string" &&
5053
5053
  (("type" in d && d.type !== "text/html") ||
5054
5054
  htmlExtensions.includes(extension))) {
5055
- (0, downloadContent_1.downloadContent)(filename, d);
5055
+ (0, downloadContent_js_1.downloadContent)(filename, d);
5056
5056
  return;
5057
5057
  }
5058
5058
  }
@@ -5084,43 +5084,43 @@
5084
5084
  };
5085
5085
  exports.eraseCookie = eraseCookie;
5086
5086
  });
5087
- define("fn/string/escapeDquotes", ["require", "exports", "fn/type/isString"], function (require, exports, isString_12) {
5087
+ define("fn/string/escapeDquotes", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_12) {
5088
5088
  "use strict";
5089
5089
  Object.defineProperty(exports, "__esModule", { value: true });
5090
5090
  exports.escapeDquotes = void 0;
5091
5091
  const escapeDquotes = function (str) {
5092
- if (!(0, isString_12.isString)(str)) {
5092
+ if (!(0, isString_js_12.isString)(str)) {
5093
5093
  return str;
5094
5094
  }
5095
5095
  return str.replace(/"/g, '\\"');
5096
5096
  };
5097
5097
  exports.escapeDquotes = escapeDquotes;
5098
5098
  });
5099
- define("fn/string/escapeSquotes", ["require", "exports", "fn/type/isString"], function (require, exports, isString_13) {
5099
+ define("fn/string/escapeSquotes", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_13) {
5100
5100
  "use strict";
5101
5101
  Object.defineProperty(exports, "__esModule", { value: true });
5102
5102
  exports.escapeSquotes = void 0;
5103
5103
  const escapeSquotes = function (str) {
5104
- if (!(0, isString_13.isString)(str)) {
5104
+ if (!(0, isString_js_13.isString)(str)) {
5105
5105
  return str;
5106
5106
  }
5107
5107
  return str.replace(/'/g, "\\'");
5108
5108
  };
5109
5109
  exports.escapeSquotes = escapeSquotes;
5110
5110
  });
5111
- define("fn/string/escapeTicks", ["require", "exports", "fn/type/isString"], function (require, exports, isString_14) {
5111
+ define("fn/string/escapeTicks", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_14) {
5112
5112
  "use strict";
5113
5113
  Object.defineProperty(exports, "__esModule", { value: true });
5114
5114
  exports.escapeTicks = void 0;
5115
5115
  const escapeTicks = function (str) {
5116
- if (!(0, isString_14.isString)(str)) {
5116
+ if (!(0, isString_js_14.isString)(str)) {
5117
5117
  return str;
5118
5118
  }
5119
5119
  return str.replace(/`/g, '\\`');
5120
5120
  };
5121
5121
  exports.escapeTicks = escapeTicks;
5122
5122
  });
5123
- define("fn/string/escapeUrl", ["require", "exports", "fn/loop/each", "fn/string/dirName", "fn/string/baseName", "fn/type/isString"], function (require, exports, each_12, dirName_1, baseName_2, isString_15) {
5123
+ define("fn/string/escapeUrl", ["require", "exports", "fn/loop/each", "fn/string/dirName", "fn/string/baseName", "fn/type/isString"], function (require, exports, each_js_12, dirName_js_1, baseName_js_2, isString_js_15) {
5124
5124
  "use strict";
5125
5125
  Object.defineProperty(exports, "__esModule", { value: true });
5126
5126
  exports.escapeUrl = void 0;
@@ -5143,10 +5143,10 @@
5143
5143
  st += "://";
5144
5144
  url = url.substring(3);
5145
5145
  }
5146
- (0, each_12.each)((0, dirName_1.dirName)(url).split("/"), (a) => {
5146
+ (0, each_js_12.each)((0, dirName_js_1.dirName)(url).split("/"), (a) => {
5147
5147
  st += encodeURIComponent(a) + "/";
5148
5148
  });
5149
- let base = (0, baseName_2.baseName)(url);
5149
+ let base = (0, baseName_js_2.baseName)(url);
5150
5150
  let sep = "?";
5151
5151
  let existingParams = "";
5152
5152
  if (base.indexOf(sep)) {
@@ -5155,7 +5155,7 @@
5155
5155
  existingParams = "?" + tmp[1];
5156
5156
  base = tmp[0];
5157
5157
  }
5158
- if (params && (0, isString_15.isString)(params)) {
5158
+ if (params && (0, isString_js_15.isString)(params)) {
5159
5159
  if (params.match("^(\\&|\\?)")) {
5160
5160
  params = params.substring(1);
5161
5161
  }
@@ -5168,7 +5168,7 @@
5168
5168
  };
5169
5169
  exports.escapeUrl = escapeUrl;
5170
5170
  });
5171
- define("fn/object/extendOut", ["require", "exports", "fn/type/isObject"], function (require, exports, isObject_13) {
5171
+ define("fn/object/extendOut", ["require", "exports", "fn/type/isObject"], function (require, exports, isObject_js_13) {
5172
5172
  "use strict";
5173
5173
  Object.defineProperty(exports, "__esModule", { value: true });
5174
5174
  exports.extendOut = void 0;
@@ -5191,7 +5191,7 @@
5191
5191
  const extendOut = function (...args) {
5192
5192
  let r = null;
5193
5193
  for (let a of args) {
5194
- if (!(0, isObject_13.isObject)(a)) {
5194
+ if (!(0, isObject_js_13.isObject)(a)) {
5195
5195
  throw new Error("Each argument for extendOut must be an object, " + typeof a + " given");
5196
5196
  }
5197
5197
  if (r === null) {
@@ -5199,7 +5199,7 @@
5199
5199
  }
5200
5200
  else {
5201
5201
  for (let n in a) {
5202
- if ((0, isObject_13.isObject)(r[n], a[n])) {
5202
+ if ((0, isObject_js_13.isObject)(r[n], a[n])) {
5203
5203
  extendOut(r[n], a[n]);
5204
5204
  }
5205
5205
  else if (r[n] === undefined) {
@@ -5251,7 +5251,7 @@
5251
5251
  };
5252
5252
  exports.fieldValue = fieldValue;
5253
5253
  });
5254
- define("fn/object/findAll", ["require", "exports", "fn/object/search", "fn/loop/each", "fn/type/isArray"], function (require, exports, search_5, each_13, isArray_10) {
5254
+ define("fn/object/findAll", ["require", "exports", "fn/object/search", "fn/loop/each", "fn/type/isArray"], function (require, exports, search_js_5, each_js_13, isArray_js_10) {
5255
5255
  "use strict";
5256
5256
  Object.defineProperty(exports, "__esModule", { value: true });
5257
5257
  exports.findAll = void 0;
@@ -5313,12 +5313,12 @@
5313
5313
  const findAll = function (arr, filter, deepProperty, res = []) {
5314
5314
  let idx;
5315
5315
  let start = 0;
5316
- while ((idx = (0, search_5.search)(arr, filter, start)) > -1) {
5316
+ while ((idx = (0, search_js_5.search)(arr, filter, start)) > -1) {
5317
5317
  res.push(arr[idx]);
5318
5318
  start = idx + 1;
5319
5319
  }
5320
- (0, each_13.each)(arr, (it) => {
5321
- if ((0, isArray_10.isArray)(it[deepProperty])) {
5320
+ (0, each_js_13.each)(arr, (it) => {
5321
+ if ((0, isArray_js_10.isArray)(it[deepProperty])) {
5322
5322
  findAll(it[deepProperty], filter, deepProperty, res);
5323
5323
  }
5324
5324
  });
@@ -5326,7 +5326,7 @@
5326
5326
  };
5327
5327
  exports.findAll = findAll;
5328
5328
  });
5329
- define("fn/loop/fori", ["require", "exports", "fn/type/isArray", "fn/type/isNumber"], function (require, exports, isArray_11, isNumber_4) {
5329
+ define("fn/loop/fori", ["require", "exports", "fn/type/isArray", "fn/type/isNumber"], function (require, exports, isArray_js_11, isNumber_js_4) {
5330
5330
  "use strict";
5331
5331
  Object.defineProperty(exports, "__esModule", { value: true });
5332
5332
  exports.fori = void 0;
@@ -5365,12 +5365,12 @@
5365
5365
  * @returns {undefined}
5366
5366
  */
5367
5367
  const fori = function (arr, fn, max = arr.length - 1, min = 0) {
5368
- if ((0, isArray_11.isArray)(arr)) {
5368
+ if ((0, isArray_js_11.isArray)(arr)) {
5369
5369
  let realMax = arr.length - 1;
5370
- if (!(0, isNumber_4.isNumber)(max) || !(0 < max && max <= realMax)) {
5370
+ if (!(0, isNumber_js_4.isNumber)(max) || !(0 < max && max <= realMax)) {
5371
5371
  max = realMax;
5372
5372
  }
5373
- if (!(0, isNumber_4.isNumber)(min) || !(0 <= min && min < realMax) || min > max) {
5373
+ if (!(0, isNumber_js_4.isNumber)(min) || !(0 <= min && min < realMax) || min > max) {
5374
5374
  min = 0;
5375
5375
  }
5376
5376
  for (let i = min; i <= max; i++) {
@@ -5382,7 +5382,7 @@
5382
5382
  };
5383
5383
  exports.fori = fori;
5384
5384
  });
5385
- define("fn/loop/forir", ["require", "exports", "fn/type/isArray", "fn/type/isNumber"], function (require, exports, isArray_12, isNumber_5) {
5385
+ define("fn/loop/forir", ["require", "exports", "fn/type/isArray", "fn/type/isNumber"], function (require, exports, isArray_js_12, isNumber_js_5) {
5386
5386
  "use strict";
5387
5387
  Object.defineProperty(exports, "__esModule", { value: true });
5388
5388
  exports.forir = void 0;
@@ -5421,12 +5421,12 @@
5421
5421
  * @returns {undefined}
5422
5422
  */
5423
5423
  const forir = function (arr, fn, max = arr.length - 1, min = 0) {
5424
- if ((0, isArray_12.isArray)(arr)) {
5424
+ if ((0, isArray_js_12.isArray)(arr)) {
5425
5425
  let realMax = arr.length - 1;
5426
- if (!(0, isNumber_5.isNumber)(max) || !(0 < max && max <= realMax)) {
5426
+ if (!(0, isNumber_js_5.isNumber)(max) || !(0 < max && max <= realMax)) {
5427
5427
  max = realMax;
5428
5428
  }
5429
- if (!(0, isNumber_5.isNumber)(min) || !(0 <= min && min < realMax) || min > max) {
5429
+ if (!(0, isNumber_js_5.isNumber)(min) || !(0 <= min && min < realMax) || min > max) {
5430
5430
  min = 0;
5431
5431
  }
5432
5432
  for (let i = max; i >= min; i--) {
@@ -5438,7 +5438,7 @@
5438
5438
  };
5439
5439
  exports.forir = forir;
5440
5440
  });
5441
- define("fn/string/format", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_3) {
5441
+ define("fn/string/format", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_js_3) {
5442
5442
  "use strict";
5443
5443
  Object.defineProperty(exports, "__esModule", { value: true });
5444
5444
  exports.format = void 0;
@@ -5448,7 +5448,7 @@
5448
5448
  let i = 0;
5449
5449
  return str.replace(/\%([d|s])/g, (match, type) => {
5450
5450
  let tmp = args[i++];
5451
- (0, checkType_3.checkType)(tmp, type === 'd' ? 'number' : 'string', bbn._("The value doesn't correspond to the format"));
5451
+ (0, checkType_js_3.checkType)(tmp, type === 'd' ? 'number' : 'string', bbn._("The value doesn't correspond to the format"));
5452
5452
  return tmp;
5453
5453
  });
5454
5454
  }
@@ -5490,22 +5490,22 @@
5490
5490
  };
5491
5491
  exports.formatDate = formatDate;
5492
5492
  });
5493
- define("fn/string/formatSize", ["require", "exports", "fn/type/isNumber", "fn/type/isString"], function (require, exports, isNumber_6, isString_16) {
5493
+ define("fn/string/formatSize", ["require", "exports", "fn/type/isNumber", "fn/type/isString"], function (require, exports, isNumber_js_6, isString_js_16) {
5494
5494
  "use strict";
5495
5495
  Object.defineProperty(exports, "__esModule", { value: true });
5496
5496
  exports.formatSize = void 0;
5497
5497
  const formatSize = function (st, noValid) {
5498
- if ((0, isNumber_6.isNumber)(st)) {
5498
+ if ((0, isNumber_js_6.isNumber)(st)) {
5499
5499
  return st + 'px';
5500
5500
  }
5501
- if ((0, isString_16.isString)(st)) {
5501
+ if ((0, isString_js_16.isString)(st)) {
5502
5502
  return st;
5503
5503
  }
5504
5504
  return noValid ? false : 'auto';
5505
5505
  };
5506
5506
  exports.formatSize = formatSize;
5507
5507
  });
5508
- define("fn/form/formdata", ["require", "exports", "fn/loop/each", "fn/form/fieldValue", "fn/string/replaceAll", "fn/string/substr"], function (require, exports, each_14, fieldValue_1, replaceAll_3, substr_8) {
5508
+ define("fn/form/formdata", ["require", "exports", "fn/loop/each", "fn/form/fieldValue", "fn/string/replaceAll", "fn/string/substr"], function (require, exports, each_js_14, fieldValue_js_1, replaceAll_js_3, substr_js_8) {
5509
5509
  "use strict";
5510
5510
  Object.defineProperty(exports, "__esModule", { value: true });
5511
5511
  exports.formdata = void 0;
@@ -5557,20 +5557,20 @@
5557
5557
  let res = {};
5558
5558
  let n;
5559
5559
  let v;
5560
- (0, each_14.each)($inputs, (input, i) => {
5561
- v = (0, fieldValue_1.fieldValue)(input);
5560
+ (0, each_js_14.each)($inputs, (input, i) => {
5561
+ v = (0, fieldValue_js_1.fieldValue)(input);
5562
5562
  if (v !== undefined && !input.disabled) {
5563
5563
  let name = input.name;
5564
5564
  if (name.indexOf('[]') === -1 &&
5565
5565
  name.indexOf('[') > -1 &&
5566
5566
  name.indexOf(']') > -1 &&
5567
5567
  name.lastIndexOf(']') === name.length - 1) {
5568
- name = (0, replaceAll_3.replaceAll)('][', '.', name);
5569
- name = (0, replaceAll_3.replaceAll)('[', '.', name);
5570
- name = (0, replaceAll_3.replaceAll)(']', '', name);
5568
+ name = (0, replaceAll_js_3.replaceAll)('][', '.', name);
5569
+ name = (0, replaceAll_js_3.replaceAll)('[', '.', name);
5570
+ name = (0, replaceAll_js_3.replaceAll)(']', '', name);
5571
5571
  }
5572
5572
  if (name.length > 2 && name.indexOf('[]') === name.length - 2) {
5573
- n = (0, substr_8.substr)(name, 0, name.length - 2);
5573
+ n = (0, substr_js_8.substr)(name, 0, name.length - 2);
5574
5574
  if (res[n] === undefined) {
5575
5575
  res[n] = [];
5576
5576
  }
@@ -5660,7 +5660,7 @@
5660
5660
  };
5661
5661
  exports.fromXml = fromXml;
5662
5662
  });
5663
- define("fn/datetime/ftime", ["require", "exports", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, date_6, isDate_7, isString_17) {
5663
+ define("fn/datetime/ftime", ["require", "exports", "fn/datetime/date", "fn/type/isDate", "fn/type/isString"], function (require, exports, date_js_6, isDate_js_7, isString_js_17) {
5664
5664
  "use strict";
5665
5665
  Object.defineProperty(exports, "__esModule", { value: true });
5666
5666
  exports.ftime = void 0;
@@ -5672,9 +5672,9 @@
5672
5672
  * @returns {*}
5673
5673
  */
5674
5674
  const ftime = function (d, wrong_result) {
5675
- let r = (0, date_6.date)(d);
5676
- if (!(0, isDate_7.isDate)(r)) {
5677
- return wrong_result && (0, isString_17.isString)(wrong_result) ? wrong_result : '';
5675
+ let r = (0, date_js_6.date)(d);
5676
+ if (!(0, isDate_js_7.isDate)(r)) {
5677
+ return wrong_result && (0, isString_js_17.isString)(wrong_result) ? wrong_result : '';
5678
5678
  }
5679
5679
  if (undefined !== dayjs) {
5680
5680
  return dayjs(r).calendar();
@@ -5710,7 +5710,7 @@
5710
5710
  };
5711
5711
  exports.unique = unique;
5712
5712
  });
5713
- define("fn/html/getAllTags", ["require", "exports", "fn/object/unique"], function (require, exports, unique_1) {
5713
+ define("fn/html/getAllTags", ["require", "exports", "fn/object/unique"], function (require, exports, unique_js_1) {
5714
5714
  "use strict";
5715
5715
  Object.defineProperty(exports, "__esModule", { value: true });
5716
5716
  exports.getAllTags = void 0;
@@ -5719,7 +5719,7 @@
5719
5719
  * @returns array
5720
5720
  */
5721
5721
  const getAllTags = function () {
5722
- return (0, unique_1.unique)(Array.prototype.map.apply(document.all, [(a) => a.tagName.toLowerCase()]));
5722
+ return (0, unique_js_1.unique)(Array.prototype.map.apply(document.all, [(a) => a.tagName.toLowerCase()]));
5723
5723
  };
5724
5724
  exports.getAllTags = getAllTags;
5725
5725
  });
@@ -5753,7 +5753,7 @@
5753
5753
  };
5754
5754
  exports.getAncestors = getAncestors;
5755
5755
  });
5756
- define("fn/html/getAttributes", ["require", "exports", "fn/browser/error"], function (require, exports, error_3) {
5756
+ define("fn/html/getAttributes", ["require", "exports", "fn/browser/error"], function (require, exports, error_js_3) {
5757
5757
  "use strict";
5758
5758
  Object.defineProperty(exports, "__esModule", { value: true });
5759
5759
  exports.getAttributes = void 0;
@@ -5763,7 +5763,7 @@
5763
5763
  */
5764
5764
  const getAttributes = function (ele) {
5765
5765
  if (!ele.getAttributeNames) {
5766
- (0, error_3.error)('The element is not a proper HTML Element');
5766
+ (0, error_js_3.error)('The element is not a proper HTML Element');
5767
5767
  }
5768
5768
  let res = Object.create(null);
5769
5769
  ele.getAttributeNames().forEach((name) => {
@@ -5894,7 +5894,7 @@
5894
5894
  };
5895
5895
  exports.getCssVar = getCssVar;
5896
5896
  });
5897
- define("fn/datetime/getDay", ["require", "exports", "fn/datetime/date"], function (require, exports, date_7) {
5897
+ define("fn/datetime/getDay", ["require", "exports", "fn/datetime/date"], function (require, exports, date_js_7) {
5898
5898
  "use strict";
5899
5899
  Object.defineProperty(exports, "__esModule", { value: true });
5900
5900
  exports.getDay = void 0;
@@ -5909,7 +5909,7 @@
5909
5909
  */
5910
5910
  const getDay = function (v) {
5911
5911
  const biss = 1972;
5912
- let d = (0, date_7.date)(v);
5912
+ let d = (0, date_js_7.date)(v);
5913
5913
  if (d) {
5914
5914
  let t = d.getTime(), y = d.getYear(), m = d.getMonth(), days = (y - 1970) * 365;
5915
5915
  if (m < 2) {
@@ -5952,7 +5952,7 @@
5952
5952
  };
5953
5953
  exports.getDeviceType = getDeviceType;
5954
5954
  });
5955
- define("fn/html/getHTMLOfSelection", ["require", "exports", "fn/browser/log"], function (require, exports, log_14) {
5955
+ define("fn/html/getHTMLOfSelection", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_14) {
5956
5956
  "use strict";
5957
5957
  Object.defineProperty(exports, "__esModule", { value: true });
5958
5958
  exports.getHTMLOfSelection = void 0;
@@ -5961,9 +5961,9 @@
5961
5961
  let selection = window.getSelection();
5962
5962
  if (selection.rangeCount > 0) {
5963
5963
  range = selection.getRangeAt(0);
5964
- (0, log_14.log)('RANGE', range);
5964
+ (0, log_js_14.log)('RANGE', range);
5965
5965
  let clonedSelection = range.cloneContents();
5966
- (0, log_14.log)('clonedSelection', clonedSelection);
5966
+ (0, log_js_14.log)('clonedSelection', clonedSelection);
5967
5967
  let div = document.createElement('div');
5968
5968
  div.appendChild(clonedSelection);
5969
5969
  return div.innerHTML;
@@ -5974,7 +5974,7 @@
5974
5974
  };
5975
5975
  exports.getHTMLOfSelection = getHTMLOfSelection;
5976
5976
  });
5977
- define("fn/browser/getEventData", ["require", "exports", "fn/html/getHTMLOfSelection", "fn/loop/each"], function (require, exports, getHTMLOfSelection_1, each_15) {
5977
+ define("fn/browser/getEventData", ["require", "exports", "fn/html/getHTMLOfSelection", "fn/loop/each"], function (require, exports, getHTMLOfSelection_js_1, each_js_15) {
5978
5978
  "use strict";
5979
5979
  Object.defineProperty(exports, "__esModule", { value: true });
5980
5980
  exports.getEventData = void 0;
@@ -6001,7 +6001,7 @@
6001
6001
  if (!t && e.type === 'copy') {
6002
6002
  let sel = window.getSelection();
6003
6003
  res.raw = sel.toString();
6004
- let html = (0, getHTMLOfSelection_1.getHTMLOfSelection)();
6004
+ let html = (0, getHTMLOfSelection_js_1.getHTMLOfSelection)();
6005
6005
  res.str.push({
6006
6006
  type: 'text/plain',
6007
6007
  data: res.raw,
@@ -6026,7 +6026,7 @@
6026
6026
  if (!done) {
6027
6027
  let strings = [];
6028
6028
  let num = dt.items.length;
6029
- (0, each_15.each)(dt.items, (item, idx) => {
6029
+ (0, each_js_15.each)(dt.items, (item, idx) => {
6030
6030
  let kind = item.kind;
6031
6031
  let type = item.type;
6032
6032
  if (kind === 'file') {
@@ -6092,7 +6092,7 @@
6092
6092
  };
6093
6093
  exports.getEventData = getEventData;
6094
6094
  });
6095
- define("fn/object/getField", ["require", "exports", "fn/object/getRow"], function (require, exports, getRow_2) {
6095
+ define("fn/object/getField", ["require", "exports", "fn/object/getRow"], function (require, exports, getRow_js_2) {
6096
6096
  "use strict";
6097
6097
  Object.defineProperty(exports, "__esModule", { value: true });
6098
6098
  exports.getField = void 0;
@@ -6126,14 +6126,14 @@
6126
6126
  */
6127
6127
  const getField = function (arr, field, prop = '', val = null, operator = '=') {
6128
6128
  let r;
6129
- if (field && (r = (0, getRow_2.getRow)(arr, prop, val, operator))) {
6129
+ if (field && (r = (0, getRow_js_2.getRow)(arr, prop, val, operator))) {
6130
6130
  return r[field];
6131
6131
  }
6132
6132
  return undefined;
6133
6133
  };
6134
6134
  exports.getField = getField;
6135
6135
  });
6136
- define("fn/object/getFieldValues", ["require", "exports", "fn/type/checkType", "fn/object/filter", "fn/loop/each"], function (require, exports, checkType_4, filter_3, each_16) {
6136
+ define("fn/object/getFieldValues", ["require", "exports", "fn/type/checkType", "fn/object/filter", "fn/loop/each"], function (require, exports, checkType_js_4, filter_js_3, each_js_16) {
6137
6137
  "use strict";
6138
6138
  Object.defineProperty(exports, "__esModule", { value: true });
6139
6139
  exports.getFieldValues = void 0;
@@ -6166,42 +6166,42 @@
6166
6166
  * @returns {*}
6167
6167
  */
6168
6168
  const getFieldValues = function (arr, field, prop, val, operator) {
6169
- (0, checkType_4.checkType)(field, 'string');
6169
+ (0, checkType_js_4.checkType)(field, 'string');
6170
6170
  if (prop) {
6171
- arr = (0, filter_3.filter)(arr, prop, val, operator);
6171
+ arr = (0, filter_js_3.filter)(arr, prop, val, operator);
6172
6172
  }
6173
6173
  let res = [];
6174
- (0, each_16.each)(arr, (a) => (res.indexOf(a[field]) === -1 ? res.push(a[field]) : null));
6174
+ (0, each_js_16.each)(arr, (a) => (res.indexOf(a[field]) === -1 ? res.push(a[field]) : null));
6175
6175
  return res;
6176
6176
  };
6177
6177
  exports.getFieldValues = getFieldValues;
6178
6178
  });
6179
- define("fn/string/removeHtmlComments", ["require", "exports", "fn/type/isString"], function (require, exports, isString_18) {
6179
+ define("fn/string/removeHtmlComments", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_18) {
6180
6180
  "use strict";
6181
6181
  Object.defineProperty(exports, "__esModule", { value: true });
6182
6182
  exports.removeHtmlComments = void 0;
6183
6183
  const removeHtmlComments = function (str) {
6184
- if (!(0, isString_18.isString)(str)) {
6184
+ if (!(0, isString_js_18.isString)(str)) {
6185
6185
  return str;
6186
6186
  }
6187
6187
  return str.replace(/<!--[\s\S]*?-->/g, '');
6188
6188
  };
6189
6189
  exports.removeHtmlComments = removeHtmlComments;
6190
6190
  });
6191
- define("fn/html/getHtml", ["require", "exports", "fn/string/removeHtmlComments"], function (require, exports, removeHtmlComments_1) {
6191
+ define("fn/html/getHtml", ["require", "exports", "fn/string/removeHtmlComments"], function (require, exports, removeHtmlComments_js_1) {
6192
6192
  "use strict";
6193
6193
  Object.defineProperty(exports, "__esModule", { value: true });
6194
6194
  exports.getHtml = void 0;
6195
6195
  const getHtml = function (ele, stripComments = false) {
6196
6196
  let st = ele.innerHTML();
6197
6197
  if (stripComments) {
6198
- st = (0, removeHtmlComments_1.removeHtmlComments)(st);
6198
+ st = (0, removeHtmlComments_js_1.removeHtmlComments)(st);
6199
6199
  }
6200
6200
  return st.trim();
6201
6201
  };
6202
6202
  exports.getHtml = getHtml;
6203
6203
  });
6204
- define("fn/html/getPath", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_4) {
6204
+ define("fn/html/getPath", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_js_4) {
6205
6205
  "use strict";
6206
6206
  Object.defineProperty(exports, "__esModule", { value: true });
6207
6207
  exports.getPath = void 0;
@@ -6229,7 +6229,7 @@
6229
6229
  }
6230
6230
  if (!done) {
6231
6231
  if (realNode.className && realNode.className !== ' ') {
6232
- name += '.' + (0, replaceAll_4.replaceAll)(' ', '.', (0, replaceAll_4.replaceAll)(' ', ' ', realNode.className));
6232
+ name += '.' + (0, replaceAll_js_4.replaceAll)(' ', '.', (0, replaceAll_js_4.replaceAll)(' ', ' ', realNode.className));
6233
6233
  }
6234
6234
  done = 1;
6235
6235
  }
@@ -6255,7 +6255,7 @@
6255
6255
  };
6256
6256
  exports.getPath = getPath;
6257
6257
  });
6258
- define("fn/object/getProp", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_5) {
6258
+ define("fn/object/getProp", ["require", "exports", "fn/type/checkType"], function (require, exports, checkType_js_5) {
6259
6259
  "use strict";
6260
6260
  Object.defineProperty(exports, "__esModule", { value: true });
6261
6261
  exports.getProp = void 0;
@@ -6266,8 +6266,8 @@
6266
6266
  * @returns
6267
6267
  */
6268
6268
  const getProp = function (obj, prop) {
6269
- (0, checkType_5.checkType)(obj, "object", bbn._("The obj must be an object in setProp"));
6270
- (0, checkType_5.checkType)(prop, "string", bbn._("The prop must be a string in setProp"));
6269
+ (0, checkType_js_5.checkType)(obj, "object", bbn._("The obj must be an object in setProp"));
6270
+ (0, checkType_js_5.checkType)(prop, "string", bbn._("The prop must be a string in setProp"));
6271
6271
  return obj[prop];
6272
6272
  };
6273
6273
  exports.getProp = getProp;
@@ -6335,7 +6335,7 @@
6335
6335
  };
6336
6336
  exports.getTimeoff = getTimeoff;
6337
6337
  });
6338
- define("fn/browser/happy", ["require", "exports", "fn/browser/log"], function (require, exports, log_15) {
6338
+ define("fn/browser/happy", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_15) {
6339
6339
  "use strict";
6340
6340
  Object.defineProperty(exports, "__esModule", { value: true });
6341
6341
  exports.happy = void 0;
@@ -6356,7 +6356,7 @@
6356
6356
  _bbn_console_level: 3,
6357
6357
  _bbn_console_style: 'color: white; background: green; font-size: 18px;',
6358
6358
  });
6359
- log_15.log.apply(this, args);
6359
+ log_js_15.log.apply(this, args);
6360
6360
  return this;
6361
6361
  };
6362
6362
  exports.happy = happy;
@@ -6457,17 +6457,17 @@
6457
6457
  };
6458
6458
  exports.imageToCanvas = imageToCanvas;
6459
6459
  });
6460
- define("fn/convert/imgToBase64", ["require", "exports", "fn/convert/imageToCanvas"], function (require, exports, imageToCanvas_1) {
6460
+ define("fn/convert/imgToBase64", ["require", "exports", "fn/convert/imageToCanvas"], function (require, exports, imageToCanvas_js_1) {
6461
6461
  "use strict";
6462
6462
  Object.defineProperty(exports, "__esModule", { value: true });
6463
6463
  exports.imgToBase64 = void 0;
6464
6464
  const imgToBase64 = function (img, type = 'image/png') {
6465
- let canvas = (0, imageToCanvas_1.imageToCanvas)(img);
6465
+ let canvas = (0, imageToCanvas_js_1.imageToCanvas)(img);
6466
6466
  return canvas.toDataURL(type);
6467
6467
  };
6468
6468
  exports.imgToBase64 = imgToBase64;
6469
6469
  });
6470
- define("fn/browser/info", ["require", "exports", "fn/browser/log"], function (require, exports, log_16) {
6470
+ define("fn/browser/info", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_16) {
6471
6471
  "use strict";
6472
6472
  Object.defineProperty(exports, "__esModule", { value: true });
6473
6473
  exports.info = void 0;
@@ -6485,12 +6485,12 @@
6485
6485
  _bbn_console_level: 4,
6486
6486
  _bbn_console_style: 'color: #EEE; background: blue; font-size: 12px;',
6487
6487
  });
6488
- log_16.log.apply(this, args);
6488
+ log_js_16.log.apply(this, args);
6489
6489
  return this;
6490
6490
  };
6491
6491
  exports.info = info;
6492
6492
  });
6493
- define("fn/ajax/treatAjaxArguments", ["require", "exports", "fn/type/isObject", "fn/type/isFunction", "fn/string/substr", "fn/object/numProperties"], function (require, exports, isObject_14, isFunction_8, substr_9, numProperties_6) {
6493
+ define("fn/ajax/treatAjaxArguments", ["require", "exports", "fn/type/isObject", "fn/type/isFunction", "fn/string/substr", "fn/object/numProperties"], function (require, exports, isObject_js_14, isFunction_js_8, substr_js_9, numProperties_js_6) {
6494
6494
  "use strict";
6495
6495
  Object.defineProperty(exports, "__esModule", { value: true });
6496
6496
  exports.treatAjaxArguments = void 0;
@@ -6549,14 +6549,14 @@
6549
6549
  let cfg = {};
6550
6550
  let t;
6551
6551
  let i;
6552
- if ((0, isObject_14.isObject)(args[0]) && args.length === 1) {
6552
+ if ((0, isObject_js_14.isObject)(args[0]) && args.length === 1) {
6553
6553
  return args[0];
6554
6554
  }
6555
6555
  for (i = 0; i < args.length; i++) {
6556
6556
  t = typeof args[i];
6557
6557
  t = t.toLowerCase();
6558
6558
  /* Callbacks */
6559
- if ((0, isFunction_8.isFunction)(args[i])) {
6559
+ if ((0, isFunction_js_8.isFunction)(args[i])) {
6560
6560
  if (cfg["errorFn"] && !cfg["abortFn"]) {
6561
6561
  cfg["abortFn"] = args[i];
6562
6562
  }
@@ -6576,13 +6576,13 @@
6576
6576
  /* Hash */
6577
6577
  if (args[i].indexOf("#") === 0 ||
6578
6578
  args[i].indexOf(bbn.env.root + "#") === 0) {
6579
- cfg["url"] = (0, substr_9.substr)(args[i], bbn.env.root.length);
6579
+ cfg["url"] = (0, substr_js_9.substr)(args[i], bbn.env.root.length);
6580
6580
  }
6581
6581
  else {
6582
6582
  /* Link */
6583
6583
  cfg["url"] = args[i];
6584
6584
  if (cfg["url"].indexOf(bbn.env.root) === 0) {
6585
- cfg["url"] = (0, substr_9.substr)(cfg["url"], bbn.env.root.length);
6585
+ cfg["url"] = (0, substr_js_9.substr)(cfg["url"], bbn.env.root.length);
6586
6586
  }
6587
6587
  }
6588
6588
  }
@@ -6606,7 +6606,7 @@
6606
6606
  }
6607
6607
  }
6608
6608
  }
6609
- if (!cfg["url"] && (0, numProperties_6.numProperties)(cfg)) {
6609
+ if (!cfg["url"] && (0, numProperties_js_6.numProperties)(cfg)) {
6610
6610
  cfg["url"] = bbn.env.path;
6611
6611
  }
6612
6612
  if (cfg["obj"] === undefined) {
@@ -6619,7 +6619,7 @@
6619
6619
  };
6620
6620
  exports.treatAjaxArguments = treatAjaxArguments;
6621
6621
  });
6622
- define("fn/ajax/setNavigationVars", ["require", "exports", "fn/string/substr", "fn/object/filter", "fn/object/extend", "fn/html/html2text"], function (require, exports, substr_10, filter_4, extend_5, html2text_1) {
6622
+ define("fn/ajax/setNavigationVars", ["require", "exports", "fn/string/substr", "fn/object/filter", "fn/object/extend", "fn/html/html2text"], function (require, exports, substr_js_10, filter_js_4, extend_js_5, html2text_js_1) {
6623
6623
  "use strict";
6624
6624
  Object.defineProperty(exports, "__esModule", { value: true });
6625
6625
  exports.setNavigationVars = void 0;
@@ -6650,11 +6650,11 @@
6650
6650
  // Current path becomes old path
6651
6651
  bbn.env.old_path = bbn.env.path;
6652
6652
  // URL includes the domain
6653
- bbn.env.url = ['https:/', 'http://'].includes((0, substr_10.substr)(url, 0, 7)) ? url : bbn.env.root + url;
6653
+ bbn.env.url = ['https:/', 'http://'].includes((0, substr_js_10.substr)(url, 0, 7)) ? url : bbn.env.root + url;
6654
6654
  // Path does not
6655
- bbn.env.path = (0, substr_10.substr)(bbn.env.url, bbn.env.root.length);
6655
+ bbn.env.path = (0, substr_js_10.substr)(bbn.env.url, bbn.env.root.length);
6656
6656
  // Params will include each part of the URL
6657
- bbn.env.params = (0, filter_4.filter)(bbn.env.path.split('/'), (v) => {
6657
+ bbn.env.params = (0, filter_js_4.filter)(bbn.env.path.split('/'), (v) => {
6658
6658
  return v !== '';
6659
6659
  });
6660
6660
  // Managing history
@@ -6672,7 +6672,7 @@
6672
6672
  // If same URL we replace
6673
6673
  if (state && state.url === bbn.env.path) {
6674
6674
  if (state.data) {
6675
- (0, extend_5.extend)(obj.data, state.data);
6675
+ (0, extend_js_5.extend)(obj.data, state.data);
6676
6676
  }
6677
6677
  if (state.title && !title) {
6678
6678
  title = state.title;
@@ -6685,7 +6685,7 @@
6685
6685
  }
6686
6686
  // Otherwise we add the global title at the end
6687
6687
  else {
6688
- title = (0, html2text_1.html2text)(title);
6688
+ title = (0, html2text_js_1.html2text)(title);
6689
6689
  }
6690
6690
  // Replacing state
6691
6691
  if (repl) {
@@ -6700,7 +6700,7 @@
6700
6700
  };
6701
6701
  exports.setNavigationVars = setNavigationVars;
6702
6702
  });
6703
- define("fn/ajax/link", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/getLoader", "fn/ajax/ajax", "fn/browser/log", "fn/object/extend", "fn/type/isObject", "fn/ajax/callback", "fn/ajax/setNavigationVars"], function (require, exports, treatAjaxArguments_1, getLoader_3, ajax_2, log_17, extend_6, isObject_15, callback_1, setNavigationVars_1) {
6703
+ define("fn/ajax/link", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/getLoader", "fn/ajax/ajax", "fn/browser/log", "fn/object/extend", "fn/type/isObject", "fn/ajax/callback", "fn/ajax/setNavigationVars"], function (require, exports, treatAjaxArguments_js_1, getLoader_js_3, ajax_js_2, log_js_17, extend_js_6, isObject_js_15, callback_js_1, setNavigationVars_js_1) {
6704
6704
  "use strict";
6705
6705
  Object.defineProperty(exports, "__esModule", { value: true });
6706
6706
  exports.link = void 0;
@@ -6729,7 +6729,7 @@
6729
6729
  * @returns
6730
6730
  */
6731
6731
  const link = function (...args) {
6732
- let cfg = (0, treatAjaxArguments_1.treatAjaxArguments)(args);
6732
+ let cfg = (0, treatAjaxArguments_js_1.treatAjaxArguments)(args);
6733
6733
  let ok = 1;
6734
6734
  /* If we can't find a correct link we load the current URL */
6735
6735
  if (!cfg) {
@@ -6763,7 +6763,7 @@
6763
6763
  }, 0);
6764
6764
  return false;
6765
6765
  }
6766
- if ((0, getLoader_3.getLoader)(cfg.url)) {
6766
+ if ((0, getLoader_js_3.getLoader)(cfg.url)) {
6767
6767
  return false;
6768
6768
  }
6769
6769
  /* Opens an external page in a new window */
@@ -6784,7 +6784,7 @@
6784
6784
  else if (bbn.fn.defaultPreLinkFunction) {
6785
6785
  let tmp = bbn.fn.defaultPreLinkFunction(cfg.url, cfg.force, cfg.ele);
6786
6786
  if (tmp.data !== undefined) {
6787
- (0, extend_6.extend)(cfg.obj, tmp.data);
6787
+ (0, extend_js_6.extend)(cfg.obj, tmp.data);
6788
6788
  ok = 1;
6789
6789
  }
6790
6790
  }
@@ -6794,14 +6794,14 @@
6794
6794
  }
6795
6795
  /** todo Do we keep obj in the unique string or do we make that only one concurrent connection to the same address can occur at the same time? */
6796
6796
  let errSt = bbn._('The Ajax call to') + ' ' + cfg.url + ' ';
6797
- return (0, ajax_2.ajax)(cfg.url, cfg.datatype, cfg.obj, function (res) {
6797
+ return (0, ajax_js_2.ajax)(cfg.url, cfg.datatype, cfg.obj, function (res) {
6798
6798
  if (!res) {
6799
- (0, log_17.log)(errSt + bbn._('returned no answer'));
6799
+ (0, log_js_17.log)(errSt + bbn._('returned no answer'));
6800
6800
  }
6801
- if ((0, isObject_15.isObject)(res)) {
6801
+ if ((0, isObject_js_15.isObject)(res)) {
6802
6802
  // If there's nothing in the result, just an empty object, the callback stops here and the URL is not changed
6803
6803
  if (Object.keys(res).length === 0) {
6804
- (0, log_17.log)(errSt + bbn._('returned an empty object'));
6804
+ (0, log_js_17.log)(errSt + bbn._('returned an empty object'));
6805
6805
  }
6806
6806
  if (res.new_url) {
6807
6807
  res.old_path = cfg.url;
@@ -6811,10 +6811,10 @@
6811
6811
  res.old_path = cfg.url;
6812
6812
  }
6813
6813
  }
6814
- if ((0, callback_1.callback)(cfg.url, res, cfg.successFn, null, cfg.ele) && res.noNav === undefined) {
6814
+ if ((0, callback_js_1.callback)(cfg.url, res, cfg.successFn, null, cfg.ele) && res.noNav === undefined) {
6815
6815
  // This solution is not very clean (we can't shorten a URL)
6816
6816
  if (bbn.env.path.indexOf(cfg.url) !== 0) {
6817
- (0, setNavigationVars_1.setNavigationVars)(cfg.url, (res.title ? res.title + ' - ' : '') + bbn.env.siteTitle);
6817
+ (0, setNavigationVars_js_1.setNavigationVars)(cfg.url, (res.title ? res.title + ' - ' : '') + bbn.env.siteTitle);
6818
6818
  }
6819
6819
  }
6820
6820
  }, cfg.errorFn || null);
@@ -6824,7 +6824,7 @@
6824
6824
  };
6825
6825
  exports.link = link;
6826
6826
  });
6827
- define("fn/ajax/post", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/ajax", "fn/ajax/callback"], function (require, exports, treatAjaxArguments_2, ajax_3, callback_2) {
6827
+ define("fn/ajax/post", ["require", "exports", "fn/ajax/treatAjaxArguments", "fn/ajax/ajax", "fn/ajax/callback"], function (require, exports, treatAjaxArguments_js_2, ajax_js_3, callback_js_2) {
6828
6828
  "use strict";
6829
6829
  Object.defineProperty(exports, "__esModule", { value: true });
6830
6830
  exports.post = void 0;
@@ -6862,16 +6862,16 @@
6862
6862
  * @returns {undefined|Promise}
6863
6863
  */
6864
6864
  const post = function (...args) {
6865
- let cfg = (0, treatAjaxArguments_2.treatAjaxArguments)(args);
6865
+ let cfg = (0, treatAjaxArguments_js_2.treatAjaxArguments)(args);
6866
6866
  if (cfg.url) {
6867
- return (0, ajax_3.ajax)(cfg.url, cfg.datatype, cfg.obj, (res) => {
6868
- (0, callback_2.callback)(cfg.url, res, cfg.successFn, null, cfg.ele);
6867
+ return (0, ajax_js_3.ajax)(cfg.url, cfg.datatype, cfg.obj, (res) => {
6868
+ (0, callback_js_2.callback)(cfg.url, res, cfg.successFn, null, cfg.ele);
6869
6869
  }, cfg.errorFn, cfg.abortFn);
6870
6870
  }
6871
6871
  };
6872
6872
  exports.post = post;
6873
6873
  });
6874
- define("fn/form/submit", ["require", "exports", "fn/form/formdata", "fn/ajax/post"], function (require, exports, formdata_1, post_1) {
6874
+ define("fn/form/submit", ["require", "exports", "fn/form/formdata", "fn/ajax/post"], function (require, exports, formdata_js_1, post_js_1) {
6875
6875
  "use strict";
6876
6876
  Object.defineProperty(exports, "__esModule", { value: true });
6877
6877
  exports.submit = void 0;
@@ -6906,7 +6906,7 @@
6906
6906
  if (e) {
6907
6907
  e.preventDefault();
6908
6908
  }
6909
- data = (0, formdata_1.formdata)(form);
6909
+ data = (0, formdata_js_1.formdata)(form);
6910
6910
  if (data) {
6911
6911
  //$form.attr("action", null);
6912
6912
  form.setAttribute('action', null);
@@ -6915,17 +6915,17 @@
6915
6915
  fn = form.getAttribute('data-script') ? eval(form.getAttribute('data-script')) : null;
6916
6916
  }
6917
6917
  if (fn) {
6918
- (0, post_1.post)(url, data, fn);
6918
+ (0, post_js_1.post)(url, data, fn);
6919
6919
  }
6920
6920
  else {
6921
- (0, post_1.post)(url, data);
6921
+ (0, post_js_1.post)(url, data);
6922
6922
  }
6923
6923
  }
6924
6924
  }
6925
6925
  };
6926
6926
  exports.submit = submit;
6927
6927
  });
6928
- define("fn/style/resize", ["require", "exports", "fn/style/getCssVar", "fn/loop/each"], function (require, exports, getCssVar_1, each_17) {
6928
+ define("fn/style/resize", ["require", "exports", "fn/style/getCssVar", "fn/loop/each"], function (require, exports, getCssVar_js_1, each_js_17) {
6929
6929
  "use strict";
6930
6930
  Object.defineProperty(exports, "__esModule", { value: true });
6931
6931
  exports.resize = void 0;
@@ -6943,11 +6943,11 @@
6943
6943
  window.innerHeight || window.document.documentElement.clientHeight || window.document.body.clientHeight;
6944
6944
  document.documentElement.style.setProperty('--vh', bbn.env.height * 0.01 + 'px');
6945
6945
  }
6946
- let smallWidth = parseInt((0, getCssVar_1.getCssVar)('mobile-limit')) || 650;
6946
+ let smallWidth = parseInt((0, getCssVar_js_1.getCssVar)('mobile-limit')) || 650;
6947
6947
  let newCls = 'bbn-screen-' + (bbn.env.width < smallWidth ? 'small' : 'regular');
6948
6948
  let classes = (document.body.className || '').split(' ');
6949
6949
  let done = false;
6950
- (0, each_17.each)(classes, (cls, idx) => {
6950
+ (0, each_js_17.each)(classes, (cls, idx) => {
6951
6951
  let bits = cls.split('-');
6952
6952
  if (bits.length === 3 && cls.indexOf('bbn-screen-') === 0) {
6953
6953
  done = true;
@@ -6966,16 +6966,16 @@
6966
6966
  };
6967
6967
  exports.resize = resize;
6968
6968
  });
6969
- define("fn/browser/isMobileDevice", ["require", "exports", "fn/browser/getDeviceType"], function (require, exports, getDeviceType_1) {
6969
+ define("fn/browser/isMobileDevice", ["require", "exports", "fn/browser/getDeviceType"], function (require, exports, getDeviceType_js_1) {
6970
6970
  "use strict";
6971
6971
  Object.defineProperty(exports, "__esModule", { value: true });
6972
6972
  exports.isMobileDevice = void 0;
6973
6973
  const isMobileDevice = function () {
6974
- return (0, getDeviceType_1.getDeviceType)() === 'mobile';
6974
+ return (0, getDeviceType_js_1.getDeviceType)() === 'mobile';
6975
6975
  };
6976
6976
  exports.isMobileDevice = isMobileDevice;
6977
6977
  });
6978
- define("fn/browser/isTabletDevice", ["require", "exports", "fn/browser/getDeviceType"], function (require, exports, getDeviceType_2) {
6978
+ define("fn/browser/isTabletDevice", ["require", "exports", "fn/browser/getDeviceType"], function (require, exports, getDeviceType_js_2) {
6979
6979
  "use strict";
6980
6980
  Object.defineProperty(exports, "__esModule", { value: true });
6981
6981
  exports.isTabletDevice = void 0;
@@ -6992,11 +6992,11 @@
6992
6992
  * @returns {Boolean}
6993
6993
  */
6994
6994
  const isTabletDevice = function () {
6995
- return (0, getDeviceType_2.getDeviceType)() === 'tablet';
6995
+ return (0, getDeviceType_js_2.getDeviceType)() === 'tablet';
6996
6996
  };
6997
6997
  exports.isTabletDevice = isTabletDevice;
6998
6998
  });
6999
- define("fn/browser/isMobile", ["require", "exports", "fn/browser/isMobileDevice", "fn/browser/isTabletDevice"], function (require, exports, isMobileDevice_1, isTabletDevice_1) {
6999
+ define("fn/browser/isMobile", ["require", "exports", "fn/browser/isMobileDevice", "fn/browser/isTabletDevice"], function (require, exports, isMobileDevice_js_1, isTabletDevice_js_1) {
7000
7000
  "use strict";
7001
7001
  Object.defineProperty(exports, "__esModule", { value: true });
7002
7002
  exports.isMobile = void 0;
@@ -7013,11 +7013,11 @@
7013
7013
  * @returns {Boolean}
7014
7014
  */
7015
7015
  const isMobile = function () {
7016
- return (0, isMobileDevice_1.isMobileDevice)() || (0, isTabletDevice_1.isTabletDevice)();
7016
+ return (0, isMobileDevice_js_1.isMobileDevice)() || (0, isTabletDevice_js_1.isTabletDevice)();
7017
7017
  };
7018
7018
  exports.isMobile = isMobile;
7019
7019
  });
7020
- define("fn/init", ["require", "exports", "fn/string/substr", "fn/loop/each", "fn/object/extend", "fn/style/addColors", "fn/ajax/link", "fn/form/submit", "fn/style/resize", "fn/browser/isMobile", "fn/browser/isTabletDevice", "fn/type/isFunction", "fn/browser/log"], function (require, exports, substr_11, each_18, extend_7, addColors_1, link_1, submit_1, resize_1, isMobile_1, isTabletDevice_2, isFunction_9, log_18) {
7020
+ define("fn/init", ["require", "exports", "fn/string/substr", "fn/loop/each", "fn/object/extend", "fn/style/addColors", "fn/ajax/link", "fn/form/submit", "fn/style/resize", "fn/browser/isMobile", "fn/browser/isTabletDevice", "fn/type/isFunction", "fn/browser/log"], function (require, exports, substr_js_11, each_js_18, extend_js_7, addColors_js_1, link_js_1, submit_js_1, resize_js_1, isMobile_js_1, isTabletDevice_js_2, isFunction_js_9, log_js_18) {
7021
7021
  "use strict";
7022
7022
  Object.defineProperty(exports, "__esModule", { value: true });
7023
7023
  exports.init = void 0;
@@ -7039,11 +7039,11 @@
7039
7039
  if (!bbn.env.isInit || force) {
7040
7040
  bbn.env.root =
7041
7041
  document.baseURI.length > 0 ? document.baseURI : bbn.env.host;
7042
- if (bbn.env.root.length && (0, substr_11.substr)(bbn.env.root, -1) !== "/") {
7042
+ if (bbn.env.root.length && (0, substr_js_11.substr)(bbn.env.root, -1) !== "/") {
7043
7043
  bbn.env.root += "/";
7044
7044
  }
7045
7045
  if (!bbn.env.isInit && typeof dayjs !== "undefined") {
7046
- (0, each_18.each)([
7046
+ (0, each_js_18.each)([
7047
7047
  "advancedFormat",
7048
7048
  "arraySupport",
7049
7049
  "badMutable",
@@ -7085,19 +7085,19 @@
7085
7085
  }
7086
7086
  /* The server's path (difference between the host and the current dir */
7087
7087
  if (typeof cfg === "object") {
7088
- (0, extend_7.extend)(true, bbn, cfg);
7088
+ (0, extend_js_7.extend)(true, bbn, cfg);
7089
7089
  }
7090
- bbn.env.path = (0, substr_11.substr)(bbn.env.url, bbn.env.root.length);
7090
+ bbn.env.path = (0, substr_js_11.substr)(bbn.env.url, bbn.env.root.length);
7091
7091
  parts = bbn.env.path.split("/");
7092
7092
  //$.each(parts, function(i, v){
7093
- (0, each_18.each)(parts, (v, i) => {
7093
+ (0, each_js_18.each)(parts, (v, i) => {
7094
7094
  v = decodeURI(v.trim());
7095
7095
  if (v !== "") {
7096
7096
  bbn.env.params.push(v);
7097
7097
  }
7098
7098
  });
7099
7099
  if (bbn.var.colors) {
7100
- (0, addColors_1.addColors)(bbn.var.colors);
7100
+ (0, addColors_js_1.addColors)(bbn.var.colors);
7101
7101
  }
7102
7102
  if (bbn.env.lang && undefined !== dayjs) {
7103
7103
  dayjs.locale(bbn.env.lang);
@@ -7143,28 +7143,28 @@
7143
7143
  !target.classList.contains("bbn-no")) {
7144
7144
  e.preventDefault();
7145
7145
  e.stopPropagation();
7146
- (0, link_1.link)(target.getAttribute("href"));
7146
+ (0, link_js_1.link)(target.getAttribute("href"));
7147
7147
  return false;
7148
7148
  }
7149
7149
  });
7150
- (0, each_18.each)(document.querySelectorAll("form:not(.bbn-no), form:not(.bbn-form)"), (ele) => {
7150
+ (0, each_js_18.each)(document.querySelectorAll("form:not(.bbn-no), form:not(.bbn-form)"), (ele) => {
7151
7151
  ele.addEventListener("submit", (e) => {
7152
- (0, submit_1.submit)(ele, e);
7152
+ (0, submit_js_1.submit)(ele, e);
7153
7153
  });
7154
7154
  });
7155
7155
  window.addEventListener("hashchange", () => {
7156
7156
  bbn.env.hashChanged = new Date().getTime();
7157
7157
  }, false);
7158
7158
  window.addEventListener("resize", () => {
7159
- (0, resize_1.resize)();
7159
+ (0, resize_js_1.resize)();
7160
7160
  });
7161
7161
  window.addEventListener("orientationchange", () => {
7162
- (0, resize_1.resize)();
7162
+ (0, resize_js_1.resize)();
7163
7163
  });
7164
- (0, resize_1.resize)();
7165
- if ((0, isMobile_1.isMobile)()) {
7164
+ (0, resize_js_1.resize)();
7165
+ if ((0, isMobile_js_1.isMobile)()) {
7166
7166
  document.body.classList.add("bbn-mobile");
7167
- if ((0, isTabletDevice_2.isTabletDevice)()) {
7167
+ if ((0, isTabletDevice_js_2.isTabletDevice)()) {
7168
7168
  document.body.classList.add("bbn-tablet");
7169
7169
  }
7170
7170
  }
@@ -7177,9 +7177,9 @@
7177
7177
  let state = h.state;
7178
7178
  if (state) {
7179
7179
  //link(substr(state.url, bbn.env.root.length), $.extend({title: state.title}, state.data));
7180
- (0, link_1.link)(state.url, (0, extend_7.extend)({ title: state.title || bbn.env.siteTitle }, state.data || {}));
7180
+ (0, link_js_1.link)(state.url, (0, extend_js_7.extend)({ title: state.title || bbn.env.siteTitle }, state.data || {}));
7181
7181
  }
7182
- else if (state && state.data && (0, isFunction_9.isFunction)(state.data.script)) {
7182
+ else if (state && state.data && (0, isFunction_js_9.isFunction)(state.data.script)) {
7183
7183
  state.data.script();
7184
7184
  }
7185
7185
  }
@@ -7189,7 +7189,7 @@
7189
7189
  bbn.env.isInit = true;
7190
7190
  document.dispatchEvent(new Event("bbninit"));
7191
7191
  if (bbn.env.logging) {
7192
- (0, log_18.log)("Logging in bbn is enabled");
7192
+ (0, log_js_18.log)("Logging in bbn is enabled");
7193
7193
  }
7194
7194
  }
7195
7195
  };
@@ -7250,7 +7250,7 @@
7250
7250
  };
7251
7251
  exports.isBoolean = isBoolean;
7252
7252
  });
7253
- define("fn/type/isColor", ["require", "exports", "fn/type/isString"], function (require, exports, isString_19) {
7253
+ define("fn/type/isColor", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_19) {
7254
7254
  "use strict";
7255
7255
  Object.defineProperty(exports, "__esModule", { value: true });
7256
7256
  exports.isColor = void 0;
@@ -7288,7 +7288,7 @@
7288
7288
  return false;
7289
7289
  var reg = new RegExp("^(#[a-f0-9]{6}|#[a-f0-9]{3}|rgb *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|rgba *( *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *, *[0-9]{1,3}%? *)|black|green|silver|gray|olive|white|yellow|maroon|navy|red|blue|purple|teal|fuchsia|aqua)$", "i");
7290
7290
  for (let st of args) {
7291
- if (!(0, isString_19.isString)(st)) {
7291
+ if (!(0, isString_js_19.isString)(st)) {
7292
7292
  return false;
7293
7293
  }
7294
7294
  if (!reg.test(st)) {
@@ -7327,7 +7327,7 @@
7327
7327
  };
7328
7328
  exports.isComment = isComment;
7329
7329
  });
7330
- define("fn/browser/isDesktopDevice", ["require", "exports", "fn/browser/getDeviceType"], function (require, exports, getDeviceType_3) {
7330
+ define("fn/browser/isDesktopDevice", ["require", "exports", "fn/browser/getDeviceType"], function (require, exports, getDeviceType_js_3) {
7331
7331
  "use strict";
7332
7332
  Object.defineProperty(exports, "__esModule", { value: true });
7333
7333
  exports.isDesktopDevice = void 0;
@@ -7344,11 +7344,11 @@
7344
7344
  * @returns {Boolean}
7345
7345
  */
7346
7346
  const isDesktopDevice = function () {
7347
- return (0, getDeviceType_3.getDeviceType)() === 'desktop';
7347
+ return (0, getDeviceType_js_3.getDeviceType)() === 'desktop';
7348
7348
  };
7349
7349
  exports.isDesktopDevice = isDesktopDevice;
7350
7350
  });
7351
- define("fn/type/isValidDimension", ["require", "exports", "fn/type/isNumber", "fn/string/substr"], function (require, exports, isNumber_7, substr_12) {
7351
+ define("fn/type/isValidDimension", ["require", "exports", "fn/type/isNumber", "fn/string/substr"], function (require, exports, isNumber_js_7, substr_js_12) {
7352
7352
  "use strict";
7353
7353
  Object.defineProperty(exports, "__esModule", { value: true });
7354
7354
  exports.isValidDimension = void 0;
@@ -7364,7 +7364,7 @@
7364
7364
  const isValidDimension = function (st) {
7365
7365
  if (typeof st === "string" &&
7366
7366
  st.length > 0 &&
7367
- (st.indexOf("calc") === 0 || (0, isNumber_7.isNumber)((0, substr_12.substr)(st, 0, 1)))) {
7367
+ (st.indexOf("calc") === 0 || (0, isNumber_js_7.isNumber)((0, substr_js_12.substr)(st, 0, 1)))) {
7368
7368
  let el = document.createElement("div");
7369
7369
  el.style.width = st;
7370
7370
  let res = !!el.style.width.length;
@@ -7375,7 +7375,7 @@
7375
7375
  };
7376
7376
  exports.isValidDimension = isValidDimension;
7377
7377
  });
7378
- define("fn/type/isDimension", ["require", "exports", "fn/type/isValidDimension"], function (require, exports, isValidDimension_1) {
7378
+ define("fn/type/isDimension", ["require", "exports", "fn/type/isValidDimension"], function (require, exports, isValidDimension_js_1) {
7379
7379
  "use strict";
7380
7380
  Object.defineProperty(exports, "__esModule", { value: true });
7381
7381
  exports.isDimension = void 0;
@@ -7395,7 +7395,7 @@
7395
7395
  if (typeof st !== "number" || st < 0) {
7396
7396
  return false;
7397
7397
  }
7398
- if (!(0, isValidDimension_1.isValidDimension)(st)) {
7398
+ if (!(0, isValidDimension_js_1.isValidDimension)(st)) {
7399
7399
  return false;
7400
7400
  }
7401
7401
  }
@@ -7403,7 +7403,7 @@
7403
7403
  };
7404
7404
  exports.isDimension = isDimension;
7405
7405
  });
7406
- define("fn/type/isEmail", ["require", "exports", "fn/type/isString"], function (require, exports, isString_20) {
7406
+ define("fn/type/isEmail", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_20) {
7407
7407
  "use strict";
7408
7408
  Object.defineProperty(exports, "__esModule", { value: true });
7409
7409
  exports.isEmail = void 0;
@@ -7433,7 +7433,7 @@
7433
7433
  return false;
7434
7434
  let regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
7435
7435
  for (let st of args) {
7436
- if (!(0, isString_20.isString)(st)) {
7436
+ if (!(0, isString_js_20.isString)(st)) {
7437
7437
  return false;
7438
7438
  }
7439
7439
  if (!regex.test(st)) {
@@ -7495,7 +7495,7 @@
7495
7495
  };
7496
7496
  exports.isFocused = isFocused;
7497
7497
  });
7498
- define("fn/type/isIP", ["require", "exports", "fn/type/isString"], function (require, exports, isString_21) {
7498
+ define("fn/type/isIP", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_21) {
7499
7499
  "use strict";
7500
7500
  Object.defineProperty(exports, "__esModule", { value: true });
7501
7501
  exports.isIP = void 0;
@@ -7503,7 +7503,7 @@
7503
7503
  if (!args.length)
7504
7504
  return false;
7505
7505
  for (let st of args) {
7506
- if (!(0, isString_21.isString)(st) || !bbn.var.regexp.ip.test(st)) {
7506
+ if (!(0, isString_js_21.isString)(st) || !bbn.var.regexp.ip.test(st)) {
7507
7507
  return false;
7508
7508
  }
7509
7509
  }
@@ -7511,7 +7511,7 @@
7511
7511
  };
7512
7512
  exports.isIP = isIP;
7513
7513
  });
7514
- define("fn/type/isHostname", ["require", "exports", "fn/type/isString", "fn/type/isIP"], function (require, exports, isString_22, isIP_1) {
7514
+ define("fn/type/isHostname", ["require", "exports", "fn/type/isString", "fn/type/isIP"], function (require, exports, isString_js_22, isIP_js_1) {
7515
7515
  "use strict";
7516
7516
  Object.defineProperty(exports, "__esModule", { value: true });
7517
7517
  exports.isHostname = void 0;
@@ -7519,10 +7519,10 @@
7519
7519
  if (!args.length)
7520
7520
  return false;
7521
7521
  for (let st of args) {
7522
- if (!(0, isString_22.isString)(st)) {
7522
+ if (!(0, isString_js_22.isString)(st)) {
7523
7523
  return false;
7524
7524
  }
7525
- if (!(0, isIP_1.isIP)(st) && !bbn.var.regexp.hostname.test(st)) {
7525
+ if (!(0, isIP_js_1.isIP)(st) && !bbn.var.regexp.hostname.test(st)) {
7526
7526
  return false;
7527
7527
  }
7528
7528
  }
@@ -7530,16 +7530,16 @@
7530
7530
  };
7531
7531
  exports.isHostname = isHostname;
7532
7532
  });
7533
- define("fn/html/isInside", ["require", "exports", "fn/html/getAncestors", "fn/type/isString", "fn/loop/each"], function (require, exports, getAncestors_1, isString_23, each_19) {
7533
+ define("fn/html/isInside", ["require", "exports", "fn/html/getAncestors", "fn/type/isString", "fn/loop/each"], function (require, exports, getAncestors_js_1, isString_js_23, each_js_19) {
7534
7534
  "use strict";
7535
7535
  Object.defineProperty(exports, "__esModule", { value: true });
7536
7536
  exports.isInside = void 0;
7537
7537
  const isInside = function (ele, ancestor) {
7538
- let ancestors = (0, getAncestors_1.getAncestors)(ele);
7538
+ let ancestors = (0, getAncestors_js_1.getAncestors)(ele);
7539
7539
  if (ancestors.length) {
7540
- if ((0, isString_23.isString)(ancestor)) {
7540
+ if ((0, isString_js_23.isString)(ancestor)) {
7541
7541
  let ok = false;
7542
- (0, each_19.each)(ancestors, (a) => {
7542
+ (0, each_js_19.each)(ancestors, (a) => {
7543
7543
  if (a.matches && a.matches(ancestor)) {
7544
7544
  ok = true;
7545
7545
  return false;
@@ -7647,13 +7647,13 @@
7647
7647
  };
7648
7648
  exports.isPromise = isPromise;
7649
7649
  });
7650
- define("fn/type/isPropSize", ["require", "exports", "fn/loop/each"], function (require, exports, each_20) {
7650
+ define("fn/type/isPropSize", ["require", "exports", "fn/loop/each"], function (require, exports, each_js_20) {
7651
7651
  "use strict";
7652
7652
  Object.defineProperty(exports, "__esModule", { value: true });
7653
7653
  exports.isPropSize = void 0;
7654
7654
  const isPropSize = function (name) {
7655
7655
  let isTrue = false;
7656
- (0, each_20.each)(['width', 'height', 'gap', 'margin', 'padding', 'top', 'left', 'right', 'bottom'], (a) => {
7656
+ (0, each_js_20.each)(['width', 'height', 'gap', 'margin', 'padding', 'top', 'left', 'right', 'bottom'], (a) => {
7657
7657
  if (name.indexOf(a) !== -1) {
7658
7658
  isTrue = true;
7659
7659
  return false;
@@ -7733,7 +7733,7 @@
7733
7733
  };
7734
7734
  exports.isURL = isURL;
7735
7735
  });
7736
- define("fn/type/isValidName", ["require", "exports", "fn/type/isString"], function (require, exports, isString_24) {
7736
+ define("fn/type/isValidName", ["require", "exports", "fn/type/isString"], function (require, exports, isString_js_24) {
7737
7737
  "use strict";
7738
7738
  Object.defineProperty(exports, "__esModule", { value: true });
7739
7739
  exports.isValidName = void 0;
@@ -7767,7 +7767,7 @@
7767
7767
  return false;
7768
7768
  }
7769
7769
  for (let arg of args) {
7770
- if (!(0, isString_24.isString)(arg) || !/^[$A-Z_][0-9A-Z_$]*$/i.test(arg)) {
7770
+ if (!(0, isString_js_24.isString)(arg) || !/^[$A-Z_][0-9A-Z_$]*$/i.test(arg)) {
7771
7771
  return false;
7772
7772
  }
7773
7773
  }
@@ -7872,7 +7872,7 @@
7872
7872
  };
7873
7873
  exports.lightenDarkenHex = lightenDarkenHex;
7874
7874
  });
7875
- define("fn/browser/warning", ["require", "exports", "fn/browser/log"], function (require, exports, log_19) {
7875
+ define("fn/browser/warning", ["require", "exports", "fn/browser/log"], function (require, exports, log_js_19) {
7876
7876
  "use strict";
7877
7877
  Object.defineProperty(exports, "__esModule", { value: true });
7878
7878
  exports.warning = void 0;
@@ -7896,11 +7896,11 @@
7896
7896
  _bbn_console_style: 'color: #E64141; background: #F7E195; font-size: 14px',
7897
7897
  };
7898
7898
  args.unshift(obj);
7899
- log_19.log.apply(this, args);
7899
+ log_js_19.log.apply(this, args);
7900
7900
  };
7901
7901
  exports.warning = warning;
7902
7902
  });
7903
- define("fn/html/makeReactive", ["require", "exports", "fn/browser/log", "fn/object/createObject", "fn/type/isSymbol", "fn/type/isNumber", "fn/type/isArray", "fn/browser/warning", "fn/type/isFunction", "fn/type/isSame"], function (require, exports, log_20, createObject_2, isSymbol_1, isNumber_8, isArray_13, warning_1, isFunction_10, isSame_2) {
7903
+ define("fn/html/makeReactive", ["require", "exports", "fn/browser/log", "fn/object/createObject", "fn/type/isSymbol", "fn/type/isNumber", "fn/type/isArray", "fn/browser/warning", "fn/type/isFunction", "fn/type/isSame"], function (require, exports, log_js_20, createObject_js_2, isSymbol_js_1, isNumber_js_8, isArray_js_13, warning_js_1, isFunction_js_10, isSame_js_2) {
7904
7904
  "use strict";
7905
7905
  Object.defineProperty(exports, "__esModule", { value: true });
7906
7906
  exports.makeReactive = void 0;
@@ -7912,11 +7912,11 @@
7912
7912
  return obj;
7913
7913
  }
7914
7914
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
7915
- (0, log_20.log)(['MAKING bbn-loadbar', obj]);
7915
+ (0, log_js_20.log)(['MAKING bbn-loadbar', obj]);
7916
7916
  }
7917
7917
  if (!obj.__bbnWatchers) {
7918
7918
  Reflect.defineProperty(obj, '__bbnWatchers', {
7919
- value: (0, createObject_2.createObject)(),
7919
+ value: (0, createObject_js_2.createObject)(),
7920
7920
  writable: true,
7921
7921
  configurable: true,
7922
7922
  enumerable: false,
@@ -7926,22 +7926,22 @@
7926
7926
  get(target, key) {
7927
7927
  const realValue = Reflect.get(target, key);
7928
7928
  const realTarget = target.__bbnRoot || target;
7929
- if ((0, isSymbol_1.isSymbol)(key)) {
7929
+ if ((0, isSymbol_js_1.isSymbol)(key)) {
7930
7930
  return Reflect.get(realTarget, key);
7931
7931
  }
7932
7932
  const propName = parentProp ? parentProp + '.' + key : key;
7933
- const hiddenKey = prefix + ((0, isNumber_8.isNumber)(key) ? key.toString() : key);
7933
+ const hiddenKey = prefix + ((0, isNumber_js_8.isNumber)(key) ? key.toString() : key);
7934
7934
  if (['fill', 'pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'].includes(key) &&
7935
- (0, isArray_13.isArray)(target)) {
7935
+ (0, isArray_js_13.isArray)(target)) {
7936
7936
  return function (...args) {
7937
7937
  let res = realTarget[key](...args);
7938
- (0, warning_1.warning)('DOING ARRAY STUFF');
7939
- (0, log_20.log)(target.__bbnParent);
7938
+ (0, warning_js_1.warning)('DOING ARRAY STUFF');
7939
+ (0, log_js_20.log)(target.__bbnParent);
7940
7940
  onSet(target, 'length', parent);
7941
7941
  return res;
7942
7942
  };
7943
7943
  }
7944
- if ((0, isFunction_10.isFunction)(realValue)) {
7944
+ if ((0, isFunction_js_10.isFunction)(realValue)) {
7945
7945
  return realValue;
7946
7946
  }
7947
7947
  if (key === '__bbnRoot') {
@@ -7966,7 +7966,7 @@
7966
7966
  if (key.indexOf('__bbn_') === 0) {
7967
7967
  return Reflect.get(target, key);
7968
7968
  }
7969
- if (key === 'length' && (0, isArray_13.isArray)(target.__bbnRoot || target)) {
7969
+ if (key === 'length' && (0, isArray_js_13.isArray)(target.__bbnRoot || target)) {
7970
7970
  return realTarget.length;
7971
7971
  }
7972
7972
  if (!(key in target)) {
@@ -7994,18 +7994,18 @@
7994
7994
  return realValue;
7995
7995
  },
7996
7996
  set(target, key, value) {
7997
- if ((0, isSymbol_1.isSymbol)(key)) {
7997
+ if ((0, isSymbol_js_1.isSymbol)(key)) {
7998
7998
  return Reflect.get(target, key, value);
7999
7999
  }
8000
8000
  const realTarget = target.__bbnRoot || target;
8001
8001
  const propName = parentProp ? parentProp + '.' + key : key;
8002
- if ((0, isSymbol_1.isSymbol)(key)) {
8002
+ if ((0, isSymbol_js_1.isSymbol)(key)) {
8003
8003
  return Reflect.get(target, key);
8004
8004
  }
8005
8005
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
8006
- (0, log_20.log)(['Setting proxy prop in ' + parent.$options.name, target, key, value]);
8006
+ (0, log_js_20.log)(['Setting proxy prop in ' + parent.$options.name, target, key, value]);
8007
8007
  }
8008
- if (!(0, isSame_2.isSame)(realTarget[key], value)) {
8008
+ if (!(0, isSame_js_2.isSame)(realTarget[key], value)) {
8009
8009
  if (key.indexOf('__bbn_') === 0) {
8010
8010
  Reflect.defineProperty(realTarget, key, {
8011
8011
  value: makeReactive(value, onSet, parent, propName),
@@ -8018,7 +8018,7 @@
8018
8018
  if (value &&
8019
8019
  typeof value === 'object' &&
8020
8020
  [undefined, Object, Array].includes(value.constructor)) {
8021
- const hiddenKey = prefix + ((0, isNumber_8.isNumber)(key) ? key.toString() : key);
8021
+ const hiddenKey = prefix + ((0, isNumber_js_8.isNumber)(key) ? key.toString() : key);
8022
8022
  Reflect.defineProperty(realTarget, hiddenKey, {
8023
8023
  value: makeReactive(value, onSet, parent, propName),
8024
8024
  writable: true,
@@ -8031,11 +8031,11 @@
8031
8031
  }
8032
8032
  }
8033
8033
  if (parent && parent.$options && parent.$options.name === 'bbn-loadbar') {
8034
- (0, log_20.log)([
8034
+ (0, log_js_20.log)([
8035
8035
  'Setting proxy prop in ' +
8036
8036
  parent.$options.name +
8037
8037
  ' ' +
8038
- ((0, isNumber_8.isNumber)(key) ? key.toString() : key),
8038
+ ((0, isNumber_js_8.isNumber)(key) ? key.toString() : key),
8039
8039
  value,
8040
8040
  target,
8041
8041
  ]);
@@ -8048,11 +8048,11 @@
8048
8048
  defineProperty(target, key, description) {
8049
8049
  const realTarget = target;
8050
8050
  const propName = parentProp ? parentProp + '.' + key : key;
8051
- if (key === '__bbnWatchers' || (0, isSymbol_1.isSymbol)(key) || key.indexOf('__bbn_') === 0) {
8051
+ if (key === '__bbnWatchers' || (0, isSymbol_js_1.isSymbol)(key) || key.indexOf('__bbn_') === 0) {
8052
8052
  Reflect.defineProperty(realTarget, key, description);
8053
8053
  }
8054
8054
  else {
8055
- const hiddenKey = prefix + ((0, isNumber_8.isNumber)(key) ? key.toString() : key);
8055
+ const hiddenKey = prefix + ((0, isNumber_js_8.isNumber)(key) ? key.toString() : key);
8056
8056
  Reflect.defineProperty(realTarget, hiddenKey, {
8057
8057
  value: makeReactive(description.value, onSet, parent, propName),
8058
8058
  writable: true,
@@ -8069,7 +8069,7 @@
8069
8069
  Reflect.deleteProperty(realTarget, key);
8070
8070
  }
8071
8071
  else {
8072
- const hiddenKey = prefix + ((0, isNumber_8.isNumber)(key) ? key.toString() : key);
8072
+ const hiddenKey = prefix + ((0, isNumber_js_8.isNumber)(key) ? key.toString() : key);
8073
8073
  Reflect.deleteProperty(realTarget, hiddenKey);
8074
8074
  Reflect.deleteProperty(target, key);
8075
8075
  }
@@ -8082,7 +8082,7 @@
8082
8082
  };
8083
8083
  exports.makeReactive = makeReactive;
8084
8084
  });
8085
- define("fn/object/map", ["require", "exports", "fn/type/isArray"], function (require, exports, isArray_14) {
8085
+ define("fn/object/map", ["require", "exports", "fn/type/isArray"], function (require, exports, isArray_js_14) {
8086
8086
  "use strict";
8087
8087
  Object.defineProperty(exports, "__esModule", { value: true });
8088
8088
  exports.map = void 0;
@@ -8161,7 +8161,7 @@
8161
8161
  const map = function (arr, fn, deepProp, level = 0) {
8162
8162
  return arr.map((a, i) => {
8163
8163
  a = fn(a, i, level);
8164
- if (deepProp && a[deepProp] && (0, isArray_14.isArray)(a[deepProp])) {
8164
+ if (deepProp && a[deepProp] && (0, isArray_js_14.isArray)(a[deepProp])) {
8165
8165
  a[deepProp] = map(a[deepProp], fn, deepProp, level + 1);
8166
8166
  }
8167
8167
  return a;
@@ -8169,7 +8169,7 @@
8169
8169
  };
8170
8170
  exports.map = map;
8171
8171
  });
8172
- define("fn/misc/money", ["require", "exports", "fn/type/isNumber"], function (require, exports, isNumber_9) {
8172
+ define("fn/misc/money", ["require", "exports", "fn/type/isNumber"], function (require, exports, isNumber_js_9) {
8173
8173
  "use strict";
8174
8174
  Object.defineProperty(exports, "__esModule", { value: true });
8175
8175
  exports.money = void 0;
@@ -8252,7 +8252,7 @@
8252
8252
  ? bbn.env.money.novalue
8253
8253
  : false;
8254
8254
  }
8255
- if (!(0, isNumber_9.isNumber)(precision)) {
8255
+ if (!(0, isNumber_js_9.isNumber)(precision)) {
8256
8256
  precision = kilo ? 3 : 0;
8257
8257
  }
8258
8258
  if ((val === 0) && (typeof precision === 'number') && (precision > 0)) {
@@ -8343,7 +8343,7 @@
8343
8343
  };
8344
8344
  exports.move = move;
8345
8345
  });
8346
- define("fn/object/multiorder", ["require", "exports", "fn/object/_compareValues"], function (require, exports, _compareValues_1) {
8346
+ define("fn/object/multiorder", ["require", "exports", "fn/object/_compareValues"], function (require, exports, _compareValues_js_1) {
8347
8347
  "use strict";
8348
8348
  Object.defineProperty(exports, "__esModule", { value: true });
8349
8349
  exports.multiorder = void 0;
@@ -8406,7 +8406,7 @@
8406
8406
  return r.sort((a, b) => {
8407
8407
  let res;
8408
8408
  for (let order of currentOrders) {
8409
- res = (0, _compareValues_1._compareValues)(a, b, order.field, order.dir);
8409
+ res = (0, _compareValues_js_1._compareValues)(a, b, order.field, order.dir);
8410
8410
  if (res !== 0) {
8411
8411
  return res;
8412
8412
  }
@@ -8416,7 +8416,7 @@
8416
8416
  };
8417
8417
  exports.multiorder = multiorder;
8418
8418
  });
8419
- define("fn/string/nl2br", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_5) {
8419
+ define("fn/string/nl2br", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_js_5) {
8420
8420
  "use strict";
8421
8421
  Object.defineProperty(exports, "__esModule", { value: true });
8422
8422
  exports.nl2br = void 0;
@@ -8436,11 +8436,11 @@
8436
8436
  * @returns {String}
8437
8437
  */
8438
8438
  const nl2br = function (st, keepNl) {
8439
- return (0, replaceAll_5.replaceAll)("\n", "<br>" + (keepNl ? "\n" : ""), st);
8439
+ return (0, replaceAll_js_5.replaceAll)("\n", "<br>" + (keepNl ? "\n" : ""), st);
8440
8440
  };
8441
8441
  exports.nl2br = nl2br;
8442
8442
  });
8443
- define("fn/form/objectToFormData", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/type/isObject", "fn/loop/iterate", "fn/type/isNull"], function (require, exports, isArray_15, each_21, isObject_16, iterate_9, isNull_3) {
8443
+ define("fn/form/objectToFormData", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/type/isObject", "fn/loop/iterate", "fn/type/isNull"], function (require, exports, isArray_js_15, each_js_21, isObject_js_16, iterate_js_9, isNull_js_3) {
8444
8444
  "use strict";
8445
8445
  Object.defineProperty(exports, "__esModule", { value: true });
8446
8446
  exports.objectToFormData = void 0;
@@ -8457,24 +8457,24 @@
8457
8457
  const objectToFormData = function (obj, key = '', ignoreList = null) {
8458
8458
  let formData = new FormData();
8459
8459
  let appendFormData = (data, key = '') => {
8460
- if (!ignoreList || ((0, isArray_15.isArray)(ignoreList) && !ignoreList.includes(key))) {
8460
+ if (!ignoreList || ((0, isArray_js_15.isArray)(ignoreList) && !ignoreList.includes(key))) {
8461
8461
  if (data instanceof File) {
8462
8462
  formData.append(key, data);
8463
8463
  }
8464
- else if ((0, isArray_15.isArray)(data)) {
8465
- (0, each_21.each)(data, (v, i) => {
8464
+ else if ((0, isArray_js_15.isArray)(data)) {
8465
+ (0, each_js_21.each)(data, (v, i) => {
8466
8466
  appendFormData(v, key + '[' + i + ']');
8467
8467
  });
8468
8468
  }
8469
- else if ((0, isObject_16.isObject)(data) && Object.keys(data).length) {
8470
- (0, iterate_9.iterate)(data, (v, i) => {
8469
+ else if ((0, isObject_js_16.isObject)(data) && Object.keys(data).length) {
8470
+ (0, iterate_js_9.iterate)(data, (v, i) => {
8471
8471
  if (i in data) {
8472
8472
  appendFormData(v, !key ? i : key + '[' + i + ']');
8473
8473
  }
8474
8474
  });
8475
8475
  }
8476
8476
  else {
8477
- if (!(0, isNull_3.isNull)(data) && data !== undefined) {
8477
+ if (!(0, isNull_js_3.isNull)(data) && data !== undefined) {
8478
8478
  formData.append(key, data);
8479
8479
  }
8480
8480
  }
@@ -8485,7 +8485,7 @@
8485
8485
  };
8486
8486
  exports.objectToFormData = objectToFormData;
8487
8487
  });
8488
- define("fn/object/order", ["require", "exports", "fn/object/_compareValues"], function (require, exports, _compareValues_2) {
8488
+ define("fn/object/order", ["require", "exports", "fn/object/_compareValues"], function (require, exports, _compareValues_js_2) {
8489
8489
  "use strict";
8490
8490
  Object.defineProperty(exports, "__esModule", { value: true });
8491
8491
  exports.order = void 0;
@@ -8518,7 +8518,7 @@
8518
8518
  const order = function (arr, prop, dir = 'asc') {
8519
8519
  if (arr) {
8520
8520
  return arr.sort(function (a, b) {
8521
- return (0, _compareValues_2._compareValues)(a, b, prop, dir);
8521
+ return (0, _compareValues_js_2._compareValues)(a, b, prop, dir);
8522
8522
  });
8523
8523
  }
8524
8524
  return arr;
@@ -8542,7 +8542,7 @@
8542
8542
  };
8543
8543
  exports.selector = selector;
8544
8544
  });
8545
- define("fn/style/outerHeight", ["require", "exports", "fn/html/selector"], function (require, exports, selector_1) {
8545
+ define("fn/style/outerHeight", ["require", "exports", "fn/html/selector"], function (require, exports, selector_js_1) {
8546
8546
  "use strict";
8547
8547
  Object.defineProperty(exports, "__esModule", { value: true });
8548
8548
  exports.outerHeight = void 0;
@@ -8556,7 +8556,7 @@
8556
8556
  * @returns {*}
8557
8557
  */
8558
8558
  const outerHeight = function (ele) {
8559
- ele = (0, selector_1.selector)(ele);
8559
+ ele = (0, selector_js_1.selector)(ele);
8560
8560
  if (ele && "offsetHeight" in ele) {
8561
8561
  let styles = window.getComputedStyle(ele);
8562
8562
  let margin = parseFloat(styles["marginTop"]) + parseFloat(styles["marginBottom"]);
@@ -8565,7 +8565,7 @@
8565
8565
  };
8566
8566
  exports.outerHeight = outerHeight;
8567
8567
  });
8568
- define("fn/style/outerWidth", ["require", "exports", "fn/html/selector"], function (require, exports, selector_2) {
8568
+ define("fn/style/outerWidth", ["require", "exports", "fn/html/selector"], function (require, exports, selector_js_2) {
8569
8569
  "use strict";
8570
8570
  Object.defineProperty(exports, "__esModule", { value: true });
8571
8571
  exports.outerWidth = void 0;
@@ -8578,7 +8578,7 @@
8578
8578
  * @returns {*}
8579
8579
  */
8580
8580
  const outerWidth = function (ele) {
8581
- ele = (0, selector_2.selector)(ele);
8581
+ ele = (0, selector_js_2.selector)(ele);
8582
8582
  let styles = window.getComputedStyle(ele);
8583
8583
  let margin = parseFloat(styles["marginLeft"]) + parseFloat(styles["marginRight"]);
8584
8584
  return Math.ceil(ele.offsetWidth + margin);
@@ -8626,7 +8626,7 @@
8626
8626
  };
8627
8627
  exports.pickValue = pickValue;
8628
8628
  });
8629
- define("fn/object/setProperty", ["require", "exports", "fn/loop/each"], function (require, exports, each_22) {
8629
+ define("fn/object/setProperty", ["require", "exports", "fn/loop/each"], function (require, exports, each_js_22) {
8630
8630
  "use strict";
8631
8631
  Object.defineProperty(exports, "__esModule", { value: true });
8632
8632
  exports.setProperty = void 0;
@@ -8662,7 +8662,7 @@
8662
8662
  if (typeof obj === 'object' && typeof prop === 'string') {
8663
8663
  let o = obj;
8664
8664
  const bits = prop.split('.');
8665
- (0, each_22.each)(bits, (v, i) => {
8665
+ (0, each_js_22.each)(bits, (v, i) => {
8666
8666
  if (!o) {
8667
8667
  if (!force) {
8668
8668
  throw new Error(bbn._('The object is invalid'));
@@ -8680,7 +8680,7 @@
8680
8680
  };
8681
8681
  exports.setProperty = setProperty;
8682
8682
  });
8683
- define("fn/ajax/postOut", ["require", "exports", "fn/object/createObject", "fn/form/addInputs", "fn/object/setProperty"], function (require, exports, createObject_3, addInputs_1, setProperty_1) {
8683
+ define("fn/ajax/postOut", ["require", "exports", "fn/object/createObject", "fn/form/addInputs", "fn/object/setProperty"], function (require, exports, createObject_js_3, addInputs_js_1, setProperty_js_1) {
8684
8684
  "use strict";
8685
8685
  Object.defineProperty(exports, "__esModule", { value: true });
8686
8686
  exports.postOut = void 0;
@@ -8711,7 +8711,7 @@
8711
8711
  form.setAttribute("id", "bbn-form_out");
8712
8712
  form.setAttribute("method", "post");
8713
8713
  form.setAttribute("enctype", "multipart/form-data-encoded");
8714
- (0, setProperty_1.setProperty)(form, "style.display", "none");
8714
+ (0, setProperty_js_1.setProperty)(form, "style.display", "none");
8715
8715
  document.body.appendChild(form);
8716
8716
  }
8717
8717
  if (form instanceof HTMLFormElement) {
@@ -8721,11 +8721,11 @@
8721
8721
  if (!data) {
8722
8722
  data = {};
8723
8723
  }
8724
- data = (0, createObject_3.createObject)(data);
8724
+ data = (0, createObject_js_3.createObject)(data);
8725
8725
  if (!data.bbn) {
8726
8726
  data.bbn = "public";
8727
8727
  }
8728
- (0, addInputs_1.addInputs)(form, data);
8728
+ (0, addInputs_js_1.addInputs)(form, data);
8729
8729
  form.submit();
8730
8730
  if (success) {
8731
8731
  success();
@@ -8754,7 +8754,7 @@
8754
8754
  };
8755
8755
  exports.printf = printf;
8756
8756
  });
8757
- define("fn/string/quotes2html", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_6) {
8757
+ define("fn/string/quotes2html", ["require", "exports", "fn/string/replaceAll"], function (require, exports, replaceAll_js_6) {
8758
8758
  "use strict";
8759
8759
  Object.defineProperty(exports, "__esModule", { value: true });
8760
8760
  exports.quotes2html = void 0;
@@ -8788,10 +8788,10 @@
8788
8788
  */
8789
8789
  const quotes2html = function (st, type) {
8790
8790
  if (!type || type.toLowerCase().indexOf("s") === 0) {
8791
- st = (0, replaceAll_6.replaceAll)("'", "&#39;", st);
8791
+ st = (0, replaceAll_js_6.replaceAll)("'", "&#39;", st);
8792
8792
  }
8793
8793
  if (!type || type.toLowerCase().indexOf("d") === 0) {
8794
- st = (0, replaceAll_6.replaceAll)('"', "&quot;", st);
8794
+ st = (0, replaceAll_js_6.replaceAll)('"', "&quot;", st);
8795
8795
  }
8796
8796
  return st;
8797
8797
  };
@@ -8826,7 +8826,7 @@
8826
8826
  };
8827
8827
  exports.randomInt = randomInt;
8828
8828
  });
8829
- define("fn/string/randomString", ["require", "exports", "fn/misc/randomInt"], function (require, exports, randomInt_1) {
8829
+ define("fn/string/randomString", ["require", "exports", "fn/misc/randomInt"], function (require, exports, randomInt_js_1) {
8830
8830
  "use strict";
8831
8831
  Object.defineProperty(exports, "__esModule", { value: true });
8832
8832
  exports.randomString = void 0;
@@ -8868,7 +8868,7 @@
8868
8868
  types = "nlu";
8869
8869
  }
8870
8870
  if (!min) {
8871
- length = (0, randomInt_1.randomInt)(8, 14);
8871
+ length = (0, randomInt_js_1.randomInt)(8, 14);
8872
8872
  }
8873
8873
  if (typeof max === "string") {
8874
8874
  types = "n";
@@ -8880,7 +8880,7 @@
8880
8880
  }
8881
8881
  }
8882
8882
  else if (typeof max === "number" && min < max) {
8883
- length = (0, randomInt_1.randomInt)(min, max);
8883
+ length = (0, randomInt_js_1.randomInt)(min, max);
8884
8884
  }
8885
8885
  else if (min) {
8886
8886
  length = min;
@@ -8902,7 +8902,7 @@
8902
8902
  };
8903
8903
  exports.randomString = randomString;
8904
8904
  });
8905
- define("fn/object/removeEmpty", ["require", "exports", "fn/type/isArray", "fn/type/isObject", "fn/object/numProperties"], function (require, exports, isArray_16, isObject_17, numProperties_7) {
8905
+ define("fn/object/removeEmpty", ["require", "exports", "fn/type/isArray", "fn/type/isObject", "fn/object/numProperties"], function (require, exports, isArray_js_16, isObject_js_17, numProperties_js_7) {
8906
8906
  "use strict";
8907
8907
  Object.defineProperty(exports, "__esModule", { value: true });
8908
8908
  exports.removeEmpty = void 0;
@@ -8924,17 +8924,17 @@
8924
8924
  */
8925
8925
  const removeEmpty = function (arr) {
8926
8926
  var tmp = [];
8927
- if ((0, isArray_16.isArray)(arr)) {
8927
+ if ((0, isArray_js_16.isArray)(arr)) {
8928
8928
  for (let i = 0; i < arr.length; i++) {
8929
8929
  let ok = false;
8930
8930
  if (arr[i]) {
8931
- if ((0, isArray_16.isArray)(arr[i])) {
8931
+ if ((0, isArray_js_16.isArray)(arr[i])) {
8932
8932
  if (arr[i].length) {
8933
8933
  ok = true;
8934
8934
  }
8935
8935
  }
8936
- else if ((0, isObject_17.isObject)(arr[i])) {
8937
- if ((0, numProperties_7.numProperties)(arr[i])) {
8936
+ else if ((0, isObject_js_17.isObject)(arr[i])) {
8937
+ if ((0, numProperties_js_7.numProperties)(arr[i])) {
8938
8938
  ok = true;
8939
8939
  }
8940
8940
  }
@@ -8965,7 +8965,7 @@
8965
8965
  };
8966
8966
  exports.removeExtraSpaces = removeExtraSpaces;
8967
8967
  });
8968
- define("fn/string/removeTrailingChars", ["require", "exports", "fn/string/substr"], function (require, exports, substr_13) {
8968
+ define("fn/string/removeTrailingChars", ["require", "exports", "fn/string/substr"], function (require, exports, substr_js_13) {
8969
8969
  "use strict";
8970
8970
  Object.defineProperty(exports, "__esModule", { value: true });
8971
8971
  exports.removeTrailingChars = void 0;
@@ -8983,11 +8983,11 @@
8983
8983
  char = " ";
8984
8984
  }
8985
8985
  if (char.length) {
8986
- while ((0, substr_13.substr)(st, -char.length) === char) {
8987
- st = (0, substr_13.substr)(st, 0, st.length - char.length);
8986
+ while ((0, substr_js_13.substr)(st, -char.length) === char) {
8987
+ st = (0, substr_js_13.substr)(st, 0, st.length - char.length);
8988
8988
  }
8989
- while ((0, substr_13.substr)(st, 0, char.length) === char) {
8990
- st = (0, substr_13.substr)(st, char.length);
8989
+ while ((0, substr_js_13.substr)(st, 0, char.length) === char) {
8990
+ st = (0, substr_js_13.substr)(st, char.length);
8991
8991
  }
8992
8992
  }
8993
8993
  return st;
@@ -9097,7 +9097,7 @@
9097
9097
  };
9098
9098
  exports.rgb2hex = rgb2hex;
9099
9099
  });
9100
- define("fn/loop/riterate", ["require", "exports", "fn/loop/iterate"], function (require, exports, iterate_10) {
9100
+ define("fn/loop/riterate", ["require", "exports", "fn/loop/iterate"], function (require, exports, iterate_js_10) {
9101
9101
  "use strict";
9102
9102
  Object.defineProperty(exports, "__esModule", { value: true });
9103
9103
  exports.riterate = void 0;
@@ -9121,7 +9121,7 @@
9121
9121
  * @returns {Object}
9122
9122
  */
9123
9123
  const riterate = function (obj, fn, noPrivate = false) {
9124
- return (0, iterate_10.iterate)(obj, fn, noPrivate, true);
9124
+ return (0, iterate_js_10.iterate)(obj, fn, noPrivate, true);
9125
9125
  };
9126
9126
  exports.riterate = riterate;
9127
9127
  });
@@ -9143,7 +9143,7 @@
9143
9143
  };
9144
9144
  exports.roundDecimal = roundDecimal;
9145
9145
  });
9146
- define("fn/string/trim", ["require", "exports", "fn/string/substr"], function (require, exports, substr_14) {
9146
+ define("fn/string/trim", ["require", "exports", "fn/string/substr"], function (require, exports, substr_js_14) {
9147
9147
  "use strict";
9148
9148
  Object.defineProperty(exports, "__esModule", { value: true });
9149
9149
  exports.trim = void 0;
@@ -9158,16 +9158,16 @@
9158
9158
  return '';
9159
9159
  }
9160
9160
  while (str.indexOf(hair) === 0) {
9161
- str = (0, substr_14.substr)(str, hair.length);
9161
+ str = (0, substr_js_14.substr)(str, hair.length);
9162
9162
  }
9163
9163
  while (str.lastIndexOf(hair) === str.length - hair.length) {
9164
- str = (0, substr_14.substr)(str, 0, str.length - hair.length);
9164
+ str = (0, substr_js_14.substr)(str, 0, str.length - hair.length);
9165
9165
  }
9166
9166
  return str;
9167
9167
  };
9168
9168
  exports.trim = trim;
9169
9169
  });
9170
- define("fn/string/sanitize", ["require", "exports", "fn/string/removeAccents", "fn/string/trim"], function (require, exports, removeAccents_3, trim_1) {
9170
+ define("fn/string/sanitize", ["require", "exports", "fn/string/removeAccents", "fn/string/trim"], function (require, exports, removeAccents_js_3, trim_js_1) {
9171
9171
  "use strict";
9172
9172
  Object.defineProperty(exports, "__esModule", { value: true });
9173
9173
  exports.sanitize = void 0;
@@ -9197,10 +9197,10 @@
9197
9197
  }
9198
9198
  exp += "]+";
9199
9199
  let re = new RegExp(exp, "g");
9200
- let res = (0, removeAccents_3.removeAccents)(str)
9200
+ let res = (0, removeAccents_js_3.removeAccents)(str)
9201
9201
  .replace(/[^a-z0-9]/gi, separator)
9202
9202
  .replace(re, separator);
9203
- return (0, trim_1.trim)(res, separator);
9203
+ return (0, trim_js_1.trim)(res, separator);
9204
9204
  };
9205
9205
  exports.sanitize = sanitize;
9206
9206
  });
@@ -9322,7 +9322,7 @@
9322
9322
  };
9323
9323
  exports.setProp = setProp;
9324
9324
  });
9325
- define("fn/string/shorten", ["require", "exports", "fn/type/isString", "fn/string/substr"], function (require, exports, isString_25, substr_15) {
9325
+ define("fn/string/shorten", ["require", "exports", "fn/type/isString", "fn/string/substr"], function (require, exports, isString_js_25, substr_js_15) {
9326
9326
  "use strict";
9327
9327
  Object.defineProperty(exports, "__esModule", { value: true });
9328
9328
  exports.shorten = void 0;
@@ -9356,18 +9356,18 @@
9356
9356
  if (!len) {
9357
9357
  len = bbn.var.shortenLen;
9358
9358
  }
9359
- if (adj === undefined || !(0, isString_25.isString)(adj)) {
9359
+ if (adj === undefined || !(0, isString_js_25.isString)(adj)) {
9360
9360
  adj = "...";
9361
9361
  }
9362
9362
  if (st.length > len) {
9363
- st = (0, substr_15.substr)(st, 0, len) + adj;
9363
+ st = (0, substr_js_15.substr)(st, 0, len) + adj;
9364
9364
  }
9365
9365
  }
9366
9366
  return st;
9367
9367
  };
9368
9368
  exports.shorten = shorten;
9369
9369
  });
9370
- define("fn/object/shortenObj", ["require", "exports", "fn/object/clone", "fn/loop/each", "fn/type/isString", "fn/string/shorten"], function (require, exports, clone_1, each_23, isString_26, shorten_1) {
9370
+ define("fn/object/shortenObj", ["require", "exports", "fn/object/clone", "fn/loop/each", "fn/type/isString", "fn/string/shorten"], function (require, exports, clone_js_1, each_js_23, isString_js_26, shorten_js_1) {
9371
9371
  "use strict";
9372
9372
  Object.defineProperty(exports, "__esModule", { value: true });
9373
9373
  exports.shortenObj = void 0;
@@ -9395,10 +9395,10 @@
9395
9395
  * @returns {(Object|Array)} The same object, modified
9396
9396
  */
9397
9397
  const shortenObj = function (obj, max = 100) {
9398
- let o = (0, clone_1.clone)(obj);
9399
- (0, each_23.each)(o, (a, n) => {
9400
- if ((0, isString_26.isString)(a) && a.length > max) {
9401
- o[n] = (0, shorten_1.shorten)(a, max);
9398
+ let o = (0, clone_js_1.clone)(obj);
9399
+ (0, each_js_23.each)(o, (a, n) => {
9400
+ if ((0, isString_js_26.isString)(a) && a.length > max) {
9401
+ o[n] = (0, shorten_js_1.shorten)(a, max);
9402
9402
  }
9403
9403
  else if (a && typeof a === "object") {
9404
9404
  o[n] = shortenObj(a);
@@ -9426,7 +9426,7 @@
9426
9426
  };
9427
9427
  exports.shuffle = shuffle;
9428
9428
  });
9429
- define("fn/datetime/chrono", ["require", "exports", "fn/loop/each"], function (require, exports, each_24) {
9429
+ define("fn/datetime/chrono", ["require", "exports", "fn/loop/each"], function (require, exports, each_js_24) {
9430
9430
  "use strict";
9431
9431
  Object.defineProperty(exports, "__esModule", { value: true });
9432
9432
  exports.stopChrono = exports.startChrono = void 0;
@@ -9445,7 +9445,7 @@
9445
9445
  let now = new Date().getTime();
9446
9446
  let h1 = 3600 * 1000;
9447
9447
  if (_private.length) {
9448
- (0, each_24.each)(_private, (t, n) => {
9448
+ (0, each_js_24.each)(_private, (t, n) => {
9449
9449
  if (now - t > h1) {
9450
9450
  delete _private[n];
9451
9451
  }
@@ -9490,7 +9490,7 @@
9490
9490
  };
9491
9491
  exports.string2ArrayBuffer = string2ArrayBuffer;
9492
9492
  });
9493
- define("fn/object/sum", ["require", "exports", "fn/loop/each", "fn/object/filter"], function (require, exports, each_25, filter_5) {
9493
+ define("fn/object/sum", ["require", "exports", "fn/loop/each", "fn/object/filter"], function (require, exports, each_js_25, filter_js_5) {
9494
9494
  "use strict";
9495
9495
  Object.defineProperty(exports, "__esModule", { value: true });
9496
9496
  exports.sum = void 0;
@@ -9540,7 +9540,7 @@
9540
9540
  */
9541
9541
  const sum = function (arr, numberProp, prop, val, operator) {
9542
9542
  let r = 0;
9543
- (0, each_25.each)((0, filter_5.filter)(arr, prop, val, operator), (a) => {
9543
+ (0, each_js_25.each)((0, filter_js_5.filter)(arr, prop, val, operator), (a) => {
9544
9544
  let tmp = typeof numberProp === 'function' ? numberProp(a) : a[numberProp];
9545
9545
  if (tmp) {
9546
9546
  r += parseFloat(tmp) || 0;
@@ -9573,7 +9573,7 @@
9573
9573
  };
9574
9574
  exports.timestamp = timestamp;
9575
9575
  });
9576
- define("fn/convert/toCSV", ["require", "exports", "fn/loop/each", "fn/type/isArray", "fn/string/replaceAll"], function (require, exports, each_26, isArray_17, replaceAll_7) {
9576
+ define("fn/convert/toCSV", ["require", "exports", "fn/loop/each", "fn/type/isArray", "fn/string/replaceAll"], function (require, exports, each_js_26, isArray_js_17, replaceAll_js_7) {
9577
9577
  "use strict";
9578
9578
  Object.defineProperty(exports, "__esModule", { value: true });
9579
9579
  exports.toCSV = void 0;
@@ -9610,12 +9610,12 @@
9610
9610
  }
9611
9611
  let csvContent = "";
9612
9612
  let total = arr.length;
9613
- (0, each_26.each)(arr, (a, i) => {
9614
- let num = (0, isArray_17.isArray)(a) ? a.length : Object.values(a).length;
9613
+ (0, each_js_26.each)(arr, (a, i) => {
9614
+ let num = (0, isArray_js_17.isArray)(a) ? a.length : Object.values(a).length;
9615
9615
  let j = 0;
9616
- (0, each_26.each)(a, (b) => {
9616
+ (0, each_js_26.each)(a, (b) => {
9617
9617
  if (typeof b === "string") {
9618
- csvContent += valEsc + (0, replaceAll_7.replaceAll)(valEsc, "\\" + valEsc, b) + valEsc;
9618
+ csvContent += valEsc + (0, replaceAll_js_7.replaceAll)(valEsc, "\\" + valEsc, b) + valEsc;
9619
9619
  }
9620
9620
  else if (b === 0) {
9621
9621
  csvContent += "0";
@@ -9639,7 +9639,7 @@
9639
9639
  };
9640
9640
  exports.toCSV = toCSV;
9641
9641
  });
9642
- define("fn/browser/toggleFullScreen", ["require", "exports", "fn/style/resize"], function (require, exports, resize_2) {
9642
+ define("fn/browser/toggleFullScreen", ["require", "exports", "fn/style/resize"], function (require, exports, resize_js_2) {
9643
9643
  "use strict";
9644
9644
  Object.defineProperty(exports, "__esModule", { value: true });
9645
9645
  exports.toggleFullScreen = void 0;
@@ -9677,24 +9677,24 @@
9677
9677
  }
9678
9678
  }
9679
9679
  setTimeout(function () {
9680
- (0, resize_2.resize)();
9680
+ (0, resize_js_2.resize)();
9681
9681
  }, 0);
9682
9682
  };
9683
9683
  exports.toggleFullScreen = toggleFullScreen;
9684
9684
  });
9685
- define("fn/misc/translate", ["require", "exports", "fn/loop/iterate"], function (require, exports, iterate_11) {
9685
+ define("fn/misc/translate", ["require", "exports", "fn/loop/iterate"], function (require, exports, iterate_js_11) {
9686
9686
  "use strict";
9687
9687
  Object.defineProperty(exports, "__esModule", { value: true });
9688
9688
  exports.translate = void 0;
9689
9689
  const translate = function (o, namespace) {
9690
9690
  let lng = namespace ? bbn.lng[namespace.indexOf('_') === 0 ? namespace : '_' + namespace] : bbn.lng;
9691
- (0, iterate_11.iterate)(o, (v, k) => {
9691
+ (0, iterate_js_11.iterate)(o, (v, k) => {
9692
9692
  lng[k] = v;
9693
9693
  });
9694
9694
  };
9695
9695
  exports.translate = translate;
9696
9696
  });
9697
- define("fn/string/uniqString", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/string/md5"], function (require, exports, isArray_18, each_27, md5_3) {
9697
+ define("fn/string/uniqString", ["require", "exports", "fn/type/isArray", "fn/loop/each", "fn/string/md5"], function (require, exports, isArray_js_18, each_js_27, md5_js_3) {
9698
9698
  "use strict";
9699
9699
  Object.defineProperty(exports, "__esModule", { value: true });
9700
9700
  exports.uniqString = void 0;
@@ -9721,14 +9721,14 @@
9721
9721
  st += "__bbn_empty__";
9722
9722
  }
9723
9723
  else if (typeof args[i] === "object") {
9724
- if ((0, isArray_18.isArray)(args[i])) {
9724
+ if ((0, isArray_js_18.isArray)(args[i])) {
9725
9725
  st += JSON.stringify(args[i]);
9726
9726
  }
9727
9727
  else {
9728
9728
  // An object with the same properties, even in different order, should produce the same answer
9729
9729
  let tmp = {};
9730
9730
  let ks = Object.keys(args[i]).sort();
9731
- (0, each_27.each)(ks, (k) => {
9731
+ (0, each_js_27.each)(ks, (k) => {
9732
9732
  tmp[k] = args[i][k];
9733
9733
  });
9734
9734
  st += JSON.stringify(tmp);
@@ -9741,11 +9741,11 @@
9741
9741
  st += args[i];
9742
9742
  }
9743
9743
  }
9744
- return (0, md5_3.md5)(st);
9744
+ return (0, md5_js_3.md5)(st);
9745
9745
  };
9746
9746
  exports.uniqString = uniqString;
9747
9747
  });
9748
- define("fn/ajax/upload", ["require", "exports", "fn/form/objectToFormData", "fn/browser/log"], function (require, exports, objectToFormData_1, log_21) {
9748
+ define("fn/ajax/upload", ["require", "exports", "fn/form/objectToFormData", "fn/browser/log"], function (require, exports, objectToFormData_js_1, log_js_21) {
9749
9749
  "use strict";
9750
9750
  Object.defineProperty(exports, "__esModule", { value: true });
9751
9751
  exports.upload = void 0;
@@ -9767,7 +9767,7 @@
9767
9767
  */
9768
9768
  const upload = function (url, file, success = null, failure = null, progress = null) {
9769
9769
  let fn = () => {
9770
- return axios.post(url || bbn.env.path, (0, objectToFormData_1.objectToFormData)(file), {
9770
+ return axios.post(url || bbn.env.path, (0, objectToFormData_js_1.objectToFormData)(file), {
9771
9771
  headers: {
9772
9772
  'Content-Type': 'multipart/form-data',
9773
9773
  },
@@ -9786,13 +9786,13 @@
9786
9786
  return fn()
9787
9787
  .then((res) => {
9788
9788
  if (success) {
9789
- (0, log_21.log)('SUCCESS', res);
9789
+ (0, log_js_21.log)('SUCCESS', res);
9790
9790
  success(res);
9791
9791
  }
9792
9792
  })
9793
9793
  .catch((err) => {
9794
9794
  if (failure) {
9795
- (0, log_21.log)('ERROR', err);
9795
+ (0, log_js_21.log)('ERROR', err);
9796
9796
  failure(err);
9797
9797
  }
9798
9798
  });
@@ -9800,243 +9800,243 @@
9800
9800
  };
9801
9801
  exports.upload = upload;
9802
9802
  });
9803
- define("fn", ["require", "exports", "fn/ajax/_addLoader", "fn/object/_compareValues", "fn/ajax/_deleteLoader", "fn/ajax/abort", "fn/ajax/abortURL", "fn/style/addColors", "fn/form/addInputs", "fn/style/addStyle", "fn/html/adjustHeight", "fn/html/adjustSize", "fn/html/adjustWidth", "fn/ajax/ajax", "fn/misc/analyzeFunction", "fn/style/animateCss", "fn/convert/arrayBuffer2String", "fn/object/arrayFromProp", "fn/object/autoExtend", "fn/string/baseName", "fn/string/br2nl", "fn/datetime/calendar", "fn/ajax/callback", "fn/string/camelize", "fn/string/camelToCss", "fn/convert/canvasToImage", "fn/style/center", "fn/object/checkProps", "fn/object/checkPropsDetails", "fn/object/checkPropsOrDie", "fn/type/checkType", "fn/object/circularReplacer", "fn/object/clone", "fn/convert/colorToHex", "fn/object/compare", "fn/object/compareConditions", "fn/browser/copy", "fn/string/correctCase", "fn/object/count", "fn/string/crc32", "fn/object/createObject", "fn/style/cssExists", "fn/datetime/date", "fn/datetime/dateSQL", "fn/datetime/daysInMonth", "fn/object/deepPath", "fn/default/defaultAjaxAbortFunction", "fn/default/defaultAjaxErrorFunction", "fn/default/defaultAlertFunction", "fn/default/defaultConfirmFunction", "fn/default/defaultEndLoadingFunction", "fn/default/defaultErrorFunction", "fn/default/defaultHistoryFunction", "fn/default/defaultLinkFunction", "fn/default/defaultPostLinkFunction", "fn/default/defaultPreLinkFunction", "fn/default/defaultResizeFunction", "fn/default/defaultStartLoadingFunction", "fn/object/deleteProp", "fn/object/diffObj", "fn/string/dirName", "fn/ajax/download", "fn/ajax/downloadContent", "fn/loop/each", "fn/browser/eraseCookie", "fn/browser/error", "fn/string/escapeDquotes", "fn/string/escapeRegExp", "fn/string/escapeSquotes", "fn/string/escapeTicks", "fn/string/escapeUrl", "fn/object/extend", "fn/object/extendOut", "fn/datetime/fdate", "fn/datetime/fdatetime", "fn/form/fieldValue", "fn/string/fileExt", "fn/object/filter", "fn/object/filterToConditions", "fn/object/findAll", "fn/loop/fori", "fn/loop/forir", "fn/string/format", "fn/string/formatBytes", "fn/datetime/formatDate", "fn/string/formatSize", "fn/form/formdata", "fn/convert/fromXml", "fn/datetime/ftime", "fn/html/getAllTags", "fn/html/getAncestors", "fn/html/getAttributes", "fn/browser/getBrowserName", "fn/browser/getBrowserVersion", "fn/browser/getCookie", "fn/style/getCssVar", "fn/datetime/getDay", "fn/browser/getDeviceType", "fn/browser/getEventData", "fn/object/getField", "fn/object/getFieldValues", "fn/html/getHtml", "fn/html/getHTMLOfSelection", "fn/ajax/getLoader", "fn/html/getPath", "fn/object/getProp", "fn/object/getProperty", "fn/ajax/getRequestId", "fn/object/getRow", "fn/style/getScrollBarSize", "fn/html/getText", "fn/misc/getTimeoff", "fn/browser/happy", "fn/string/hash", "fn/convert/hex2rgb", "fn/browser/history", "fn/html/html2text", "fn/convert/imageToCanvas", "fn/convert/imgToBase64", "fn/browser/info", "fn/init", "fn/browser/isActiveInterface", "fn/type/isArray", "fn/type/isBlob", "fn/type/isBoolean", "fn/type/isCanvas", "fn/type/isColor", "fn/type/isComment", "fn/type/isCp", "fn/type/isDate", "fn/browser/isDesktopDevice", "fn/type/isDimension", "fn/type/isDom", "fn/type/isEmail", "fn/type/isEmpty", "fn/type/isEvent", "fn/browser/isFocused", "fn/type/isFunction", "fn/type/isHostname", "fn/html/isInside", "fn/type/isInt", "fn/type/isIP", "fn/type/isIterable", "fn/browser/isMobile", "fn/browser/isMobileDevice", "fn/type/isNull", "fn/type/isNumber", "fn/type/isObject", "fn/type/isPercent", "fn/type/isPrimitive", "fn/type/isPromise", "fn/type/isPropSize", "fn/type/isSame", "fn/type/isSQLDate", "fn/type/isString", "fn/type/isSymbol", "fn/browser/isTabletDevice", "fn/type/isURL", "fn/type/isValidDimension", "fn/type/isValidName", "fn/type/isValue", "fn/type/isVue", "fn/loop/iterate", "fn/style/lightenDarkenHex", "fn/ajax/link", "fn/browser/log", "fn/html/makeReactive", "fn/object/map", "fn/string/md5", "fn/misc/money", "fn/object/move", "fn/object/multiorder", "fn/string/nl2br", "fn/object/numProperties", "fn/form/objectToFormData", "fn/object/order", "fn/style/outerHeight", "fn/style/outerWidth", "fn/misc/percent", "fn/object/pickValue", "fn/ajax/post", "fn/ajax/postOut", "fn/string/printf", "fn/string/quotes2html", "fn/misc/randomInt", "fn/string/randomString", "fn/string/removeAccents", "fn/object/removeEmpty", "fn/string/removeExtraSpaces", "fn/string/removeHtmlComments", "fn/object/removePrivateProp", "fn/string/removeTrailingChars", "fn/string/repeat", "fn/string/replaceAll", "fn/browser/replaceSelection", "fn/style/resize", "fn/convert/rgb2hex", "fn/loop/riterate", "fn/misc/roundDecimal", "fn/string/sanitize", "fn/object/search", "fn/browser/selectElementText", "fn/html/selector", "fn/browser/setCookie", "fn/style/setCssVar", "fn/ajax/setNavigationVars", "fn/object/setProp", "fn/object/setProperty", "fn/string/shorten", "fn/object/shortenObj", "fn/object/shuffle", "fn/string/simpleHash", "fn/string/simpleHash1", "fn/string/simpleHash2", "fn/datetime/chrono", "fn/convert/string2ArrayBuffer", "fn/form/submit", "fn/string/substr", "fn/object/sum", "fn/datetime/timestamp", "fn/convert/toCSV", "fn/browser/toggleFullScreen", "fn/misc/translate", "fn/ajax/treatAjaxArguments", "fn/string/trim", "fn/string/uniqString", "fn/object/unique", "fn/ajax/upload", "fn/browser/warning"], function (require, exports, _addLoader_2, _compareValues_3, _deleteLoader_2, abort_1, abortURL_1, addColors_2, addInputs_2, addStyle_1, adjustHeight_1, adjustSize_3, adjustWidth_1, ajax_4, analyzeFunction_1, animateCss_1, arrayBuffer2String_1, arrayFromProp_1, autoExtend_1, baseName_3, br2nl_1, calendar_1, callback_3, camelize_1, camelToCss_1, canvasToImage_1, center_1, checkProps_1, checkPropsDetails_3, checkPropsOrDie_1, checkType_6, circularReplacer_2, clone_2, colorToHex_1, compare_2, compareConditions_3, copy_1, correctCase_2, count_1, crc32_1, createObject_4, cssExists_1, date_8, dateSQL_1, daysInMonth_1, deepPath_1, defaultAjaxAbortFunction_1, defaultAjaxErrorFunction_1, defaultAlertFunction_1, defaultConfirmFunction_1, defaultEndLoadingFunction_1, defaultErrorFunction_1, defaultHistoryFunction_1, defaultLinkFunction_1, defaultPostLinkFunction_1, defaultPreLinkFunction_1, defaultResizeFunction_1, defaultStartLoadingFunction_1, deleteProp_1, diffObj_1, dirName_2, download_1, downloadContent_2, each_28, eraseCookie_1, error_4, escapeDquotes_1, escapeRegExp_3, escapeSquotes_1, escapeTicks_1, escapeUrl_1, extend_8, extendOut_1, fdate_2, fdatetime_2, fieldValue_2, fileExt_2, filter_6, filterToConditions_3, findAll_1, fori_1, forir_1, format_1, formatBytes_1, formatDate_1, formatSize_1, formdata_2, fromXml_1, ftime_1, getAllTags_1, getAncestors_2, getAttributes_1, getBrowserName_1, getBrowserVersion_1, getCookie_1, getCssVar_2, getDay_1, getDeviceType_4, getEventData_1, getField_1, getFieldValues_1, getHtml_1, getHTMLOfSelection_2, getLoader_4, getPath_1, getProp_1, getProperty_4, getRequestId_2, getRow_3, getScrollBarSize_1, getText_1, getTimeoff_1, happy_1, hash_2, hex2rgb_1, history_1, html2text_2, imageToCanvas_2, imgToBase64_1, info_1, init_1, isActiveInterface_1, isArray_19, isBlob_2, isBoolean_1, isCanvas_2, isColor_1, isComment_1, isCp_3, isDate_8, isDesktopDevice_1, isDimension_1, isDom_5, isEmail_1, isEmpty_2, isEvent_1, isFocused_1, isFunction_11, isHostname_1, isInside_1, isInt_2, isIP_2, isIterable_5, isMobile_2, isMobileDevice_2, isNull_4, isNumber_10, isObject_18, isPercent_1, isPrimitive_1, isPromise_1, isPropSize_1, isSame_3, isSQLDate_1, isString_27, isSymbol_2, isTabletDevice_3, isURL_1, isValidDimension_2, isValidName_1, isValue_2, isVue_1, iterate_12, lightenDarkenHex_1, link_2, log_22, makeReactive_1, map_1, md5_4, money_1, move_1, multiorder_1, nl2br_1, numProperties_8, objectToFormData_2, order_1, outerHeight_1, outerWidth_1, percent_1, pickValue_1, post_2, postOut_1, printf_1, quotes2html_1, randomInt_2, randomString_1, removeAccents_4, removeEmpty_1, removeExtraSpaces_1, removeHtmlComments_2, removePrivateProp_2, removeTrailingChars_1, repeat_1, replaceAll_8, replaceSelection_1, resize_3, rgb2hex_1, riterate_1, roundDecimal_1, sanitize_1, search_6, selectElementText_1, selector_3, setCookie_1, setCssVar_1, setNavigationVars_2, setProp_1, setProperty_2, shorten_2, shortenObj_1, shuffle_1, simpleHash_2, simpleHash1_2, simpleHash2_2, chrono_1, string2ArrayBuffer_1, submit_2, substr_16, sum_1, timestamp_1, toCSV_1, toggleFullScreen_1, translate_1, treatAjaxArguments_3, trim_2, uniqString_1, unique_2, upload_1, warning_2) {
9803
+ define("fn", ["require", "exports", "fn/ajax/_addLoader", "fn/object/_compareValues", "fn/ajax/_deleteLoader", "fn/ajax/abort", "fn/ajax/abortURL", "fn/style/addColors", "fn/form/addInputs", "fn/style/addStyle", "fn/html/adjustHeight", "fn/html/adjustSize", "fn/html/adjustWidth", "fn/ajax/ajax", "fn/misc/analyzeFunction", "fn/style/animateCss", "fn/convert/arrayBuffer2String", "fn/object/arrayFromProp", "fn/object/autoExtend", "fn/string/baseName", "fn/string/br2nl", "fn/datetime/calendar", "fn/ajax/callback", "fn/string/camelize", "fn/string/camelToCss", "fn/convert/canvasToImage", "fn/style/center", "fn/object/checkProps", "fn/object/checkPropsDetails", "fn/object/checkPropsOrDie", "fn/type/checkType", "fn/object/circularReplacer", "fn/object/clone", "fn/convert/colorToHex", "fn/object/compare", "fn/object/compareConditions", "fn/browser/copy", "fn/string/correctCase", "fn/object/count", "fn/string/crc32", "fn/object/createObject", "fn/style/cssExists", "fn/datetime/date", "fn/datetime/dateSQL", "fn/datetime/daysInMonth", "fn/object/deepPath", "fn/default/defaultAjaxAbortFunction", "fn/default/defaultAjaxErrorFunction", "fn/default/defaultAlertFunction", "fn/default/defaultConfirmFunction", "fn/default/defaultEndLoadingFunction", "fn/default/defaultErrorFunction", "fn/default/defaultHistoryFunction", "fn/default/defaultLinkFunction", "fn/default/defaultPostLinkFunction", "fn/default/defaultPreLinkFunction", "fn/default/defaultResizeFunction", "fn/default/defaultStartLoadingFunction", "fn/object/deleteProp", "fn/object/diffObj", "fn/string/dirName", "fn/ajax/download", "fn/ajax/downloadContent", "fn/loop/each", "fn/browser/eraseCookie", "fn/browser/error", "fn/string/escapeDquotes", "fn/string/escapeRegExp", "fn/string/escapeSquotes", "fn/string/escapeTicks", "fn/string/escapeUrl", "fn/object/extend", "fn/object/extendOut", "fn/datetime/fdate", "fn/datetime/fdatetime", "fn/form/fieldValue", "fn/string/fileExt", "fn/object/filter", "fn/object/filterToConditions", "fn/object/findAll", "fn/loop/fori", "fn/loop/forir", "fn/string/format", "fn/string/formatBytes", "fn/datetime/formatDate", "fn/string/formatSize", "fn/form/formdata", "fn/convert/fromXml", "fn/datetime/ftime", "fn/html/getAllTags", "fn/html/getAncestors", "fn/html/getAttributes", "fn/browser/getBrowserName", "fn/browser/getBrowserVersion", "fn/browser/getCookie", "fn/style/getCssVar", "fn/datetime/getDay", "fn/browser/getDeviceType", "fn/browser/getEventData", "fn/object/getField", "fn/object/getFieldValues", "fn/html/getHtml", "fn/html/getHTMLOfSelection", "fn/ajax/getLoader", "fn/html/getPath", "fn/object/getProp", "fn/object/getProperty", "fn/ajax/getRequestId", "fn/object/getRow", "fn/style/getScrollBarSize", "fn/html/getText", "fn/misc/getTimeoff", "fn/browser/happy", "fn/string/hash", "fn/convert/hex2rgb", "fn/browser/history", "fn/html/html2text", "fn/convert/imageToCanvas", "fn/convert/imgToBase64", "fn/browser/info", "fn/init", "fn/browser/isActiveInterface", "fn/type/isArray", "fn/type/isBlob", "fn/type/isBoolean", "fn/type/isCanvas", "fn/type/isColor", "fn/type/isComment", "fn/type/isCp", "fn/type/isDate", "fn/browser/isDesktopDevice", "fn/type/isDimension", "fn/type/isDom", "fn/type/isEmail", "fn/type/isEmpty", "fn/type/isEvent", "fn/browser/isFocused", "fn/type/isFunction", "fn/type/isHostname", "fn/html/isInside", "fn/type/isInt", "fn/type/isIP", "fn/type/isIterable", "fn/browser/isMobile", "fn/browser/isMobileDevice", "fn/type/isNull", "fn/type/isNumber", "fn/type/isObject", "fn/type/isPercent", "fn/type/isPrimitive", "fn/type/isPromise", "fn/type/isPropSize", "fn/type/isSame", "fn/type/isSQLDate", "fn/type/isString", "fn/type/isSymbol", "fn/browser/isTabletDevice", "fn/type/isURL", "fn/type/isValidDimension", "fn/type/isValidName", "fn/type/isValue", "fn/type/isVue", "fn/loop/iterate", "fn/style/lightenDarkenHex", "fn/ajax/link", "fn/browser/log", "fn/html/makeReactive", "fn/object/map", "fn/string/md5", "fn/misc/money", "fn/object/move", "fn/object/multiorder", "fn/string/nl2br", "fn/object/numProperties", "fn/form/objectToFormData", "fn/object/order", "fn/style/outerHeight", "fn/style/outerWidth", "fn/misc/percent", "fn/object/pickValue", "fn/ajax/post", "fn/ajax/postOut", "fn/string/printf", "fn/string/quotes2html", "fn/misc/randomInt", "fn/string/randomString", "fn/string/removeAccents", "fn/object/removeEmpty", "fn/string/removeExtraSpaces", "fn/string/removeHtmlComments", "fn/object/removePrivateProp", "fn/string/removeTrailingChars", "fn/string/repeat", "fn/string/replaceAll", "fn/browser/replaceSelection", "fn/style/resize", "fn/convert/rgb2hex", "fn/loop/riterate", "fn/misc/roundDecimal", "fn/string/sanitize", "fn/object/search", "fn/browser/selectElementText", "fn/html/selector", "fn/browser/setCookie", "fn/style/setCssVar", "fn/ajax/setNavigationVars", "fn/object/setProp", "fn/object/setProperty", "fn/string/shorten", "fn/object/shortenObj", "fn/object/shuffle", "fn/string/simpleHash", "fn/string/simpleHash1", "fn/string/simpleHash2", "fn/datetime/chrono", "fn/convert/string2ArrayBuffer", "fn/form/submit", "fn/string/substr", "fn/object/sum", "fn/datetime/timestamp", "fn/convert/toCSV", "fn/browser/toggleFullScreen", "fn/misc/translate", "fn/ajax/treatAjaxArguments", "fn/string/trim", "fn/string/uniqString", "fn/object/unique", "fn/ajax/upload", "fn/browser/warning"], function (require, exports, _addLoader_js_2, _compareValues_js_3, _deleteLoader_js_2, abort_js_1, abortURL_js_1, addColors_js_2, addInputs_js_2, addStyle_js_1, adjustHeight_js_1, adjustSize_js_3, adjustWidth_js_1, ajax_js_4, analyzeFunction_js_1, animateCss_js_1, arrayBuffer2String_js_1, arrayFromProp_js_1, autoExtend_js_1, baseName_js_3, br2nl_js_1, calendar_js_1, callback_js_3, camelize_js_1, camelToCss_js_1, canvasToImage_js_1, center_js_1, checkProps_js_1, checkPropsDetails_js_3, checkPropsOrDie_js_1, checkType_js_6, circularReplacer_js_2, clone_js_2, colorToHex_js_1, compare_js_2, compareConditions_js_3, copy_js_1, correctCase_js_2, count_js_1, crc32_js_1, createObject_js_4, cssExists_js_1, date_js_8, dateSQL_js_1, daysInMonth_js_1, deepPath_js_1, defaultAjaxAbortFunction_js_1, defaultAjaxErrorFunction_js_1, defaultAlertFunction_js_1, defaultConfirmFunction_js_1, defaultEndLoadingFunction_js_1, defaultErrorFunction_js_1, defaultHistoryFunction_js_1, defaultLinkFunction_js_1, defaultPostLinkFunction_js_1, defaultPreLinkFunction_js_1, defaultResizeFunction_js_1, defaultStartLoadingFunction_js_1, deleteProp_js_1, diffObj_js_1, dirName_js_2, download_js_1, downloadContent_js_2, each_js_28, eraseCookie_js_1, error_js_4, escapeDquotes_js_1, escapeRegExp_js_3, escapeSquotes_js_1, escapeTicks_js_1, escapeUrl_js_1, extend_js_8, extendOut_js_1, fdate_js_2, fdatetime_js_2, fieldValue_js_2, fileExt_js_2, filter_js_6, filterToConditions_js_1, findAll_js_1, fori_js_1, forir_js_1, format_js_1, formatBytes_js_1, formatDate_js_1, formatSize_js_1, formdata_js_2, fromXml_js_1, ftime_js_1, getAllTags_js_1, getAncestors_js_2, getAttributes_js_1, getBrowserName_js_1, getBrowserVersion_js_1, getCookie_js_1, getCssVar_js_2, getDay_js_1, getDeviceType_js_4, getEventData_js_1, getField_js_1, getFieldValues_js_1, getHtml_js_1, getHTMLOfSelection_js_2, getLoader_js_4, getPath_js_1, getProp_js_1, getProperty_js_4, getRequestId_js_2, getRow_js_3, getScrollBarSize_js_1, getText_js_1, getTimeoff_js_1, happy_js_1, hash_js_2, hex2rgb_js_1, history_js_1, html2text_js_2, imageToCanvas_js_2, imgToBase64_js_1, info_js_1, init_js_1, isActiveInterface_js_1, isArray_js_19, isBlob_js_2, isBoolean_js_1, isCanvas_js_2, isColor_js_1, isComment_js_1, isCp_js_3, isDate_js_8, isDesktopDevice_js_1, isDimension_js_1, isDom_js_5, isEmail_js_1, isEmpty_js_2, isEvent_js_1, isFocused_js_1, isFunction_js_11, isHostname_js_1, isInside_js_1, isInt_js_2, isIP_js_2, isIterable_js_5, isMobile_js_2, isMobileDevice_js_2, isNull_js_4, isNumber_js_10, isObject_js_18, isPercent_js_1, isPrimitive_js_1, isPromise_js_1, isPropSize_js_1, isSame_js_3, isSQLDate_js_1, isString_js_27, isSymbol_js_2, isTabletDevice_js_3, isURL_js_1, isValidDimension_js_2, isValidName_js_1, isValue_js_2, isVue_js_1, iterate_js_12, lightenDarkenHex_js_1, link_js_2, log_js_22, makeReactive_js_1, map_js_1, md5_js_4, money_js_1, move_js_1, multiorder_js_1, nl2br_js_1, numProperties_js_8, objectToFormData_js_2, order_js_1, outerHeight_js_1, outerWidth_js_1, percent_js_1, pickValue_js_1, post_js_2, postOut_js_1, printf_js_1, quotes2html_js_1, randomInt_js_2, randomString_js_1, removeAccents_js_4, removeEmpty_js_1, removeExtraSpaces_js_1, removeHtmlComments_js_2, removePrivateProp_js_2, removeTrailingChars_js_1, repeat_js_1, replaceAll_js_8, replaceSelection_js_1, resize_js_3, rgb2hex_js_1, riterate_js_1, roundDecimal_js_1, sanitize_js_1, search_js_6, selectElementText_js_1, selector_js_3, setCookie_js_1, setCssVar_js_1, setNavigationVars_js_2, setProp_js_1, setProperty_js_2, shorten_js_2, shortenObj_js_1, shuffle_js_1, simpleHash_js_2, simpleHash1_js_2, simpleHash2_js_2, chrono_1, string2ArrayBuffer_js_1, submit_js_2, substr_js_16, sum_js_1, timestamp_js_1, toCSV_js_1, toggleFullScreen_js_1, translate_js_1, treatAjaxArguments_js_3, trim_js_2, uniqString_js_1, unique_js_2, upload_js_1, warning_js_2) {
9804
9804
  "use strict";
9805
9805
  Object.defineProperty(exports, "__esModule", { value: true });
9806
9806
  exports.fn = void 0;
9807
9807
  const fn = {
9808
- _addLoader: _addLoader_2._addLoader,
9809
- _compareValues: _compareValues_3._compareValues,
9810
- _deleteLoader: _deleteLoader_2._deleteLoader,
9811
- abort: abort_1.abort,
9812
- abortURL: abortURL_1.abortURL,
9813
- addColors: addColors_2.addColors,
9814
- addInputs: addInputs_2.addInputs,
9815
- addStyle: addStyle_1.addStyle,
9816
- adjustHeight: adjustHeight_1.adjustHeight,
9817
- adjustSize: adjustSize_3.adjustSize,
9818
- adjustWidth: adjustWidth_1.adjustWidth,
9819
- ajax: ajax_4.ajax,
9820
- analyzeFunction: analyzeFunction_1.analyzeFunction,
9821
- animateCss: animateCss_1.animateCss,
9822
- arrayBuffer2String: arrayBuffer2String_1.arrayBuffer2String,
9823
- arrayFromProp: arrayFromProp_1.arrayFromProp,
9824
- autoExtend: autoExtend_1.autoExtend,
9825
- baseName: baseName_3.baseName,
9826
- br2nl: br2nl_1.br2nl,
9827
- calendar: calendar_1.calendar,
9828
- callback: callback_3.callback,
9829
- camelize: camelize_1.camelize,
9830
- camelToCss: camelToCss_1.camelToCss,
9831
- canvasToImage: canvasToImage_1.canvasToImage,
9832
- center: center_1.center,
9833
- checkProps: checkProps_1.checkProps,
9834
- checkPropsDetails: checkPropsDetails_3.checkPropsDetails,
9835
- checkPropsOrDie: checkPropsOrDie_1.checkPropsOrDie,
9836
- checkType: checkType_6.checkType,
9837
- circularReplacer: circularReplacer_2.circularReplacer,
9838
- clone: clone_2.clone,
9839
- colorToHex: colorToHex_1.colorToHex,
9840
- compare: compare_2.compare,
9841
- compareConditions: compareConditions_3.compareConditions,
9842
- copy: copy_1.copy,
9843
- correctCase: correctCase_2.correctCase,
9844
- count: count_1.count,
9845
- crc32: crc32_1.crc32,
9846
- createObject: createObject_4.createObject,
9847
- cssExists: cssExists_1.cssExists,
9848
- date: date_8.date,
9849
- dateSQL: dateSQL_1.dateSQL,
9850
- daysInMonth: daysInMonth_1.daysInMonth,
9851
- deepPath: deepPath_1.deepPath,
9852
- defaultAjaxAbortFunction: defaultAjaxAbortFunction_1.defaultAjaxAbortFunction,
9853
- defaultAjaxErrorFunction: defaultAjaxErrorFunction_1.defaultAjaxErrorFunction,
9854
- defaultAlertFunction: defaultAlertFunction_1.defaultAlertFunction,
9855
- defaultConfirmFunction: defaultConfirmFunction_1.defaultConfirmFunction,
9856
- defaultEndLoadingFunction: defaultEndLoadingFunction_1.defaultEndLoadingFunction,
9857
- defaultErrorFunction: defaultErrorFunction_1.defaultErrorFunction,
9858
- defaultHistoryFunction: defaultHistoryFunction_1.defaultHistoryFunction,
9859
- defaultLinkFunction: defaultLinkFunction_1.defaultLinkFunction,
9860
- defaultPostLinkFunction: defaultPostLinkFunction_1.defaultPostLinkFunction,
9861
- defaultPreLinkFunction: defaultPreLinkFunction_1.defaultPreLinkFunction,
9862
- defaultResizeFunction: defaultResizeFunction_1.defaultResizeFunction,
9863
- defaultStartLoadingFunction: defaultStartLoadingFunction_1.defaultStartLoadingFunction,
9864
- deleteProp: deleteProp_1.deleteProp,
9865
- diffObj: diffObj_1.diffObj,
9866
- dirName: dirName_2.dirName,
9867
- download: download_1.download,
9868
- downloadContent: downloadContent_2.downloadContent,
9869
- each: each_28.each,
9870
- eraseCookie: eraseCookie_1.eraseCookie,
9871
- error: error_4.error,
9872
- escapeDquotes: escapeDquotes_1.escapeDquotes,
9873
- escapeRegExp: escapeRegExp_3.escapeRegExp,
9874
- escapeSquotes: escapeSquotes_1.escapeSquotes,
9875
- escapeTicks: escapeTicks_1.escapeTicks,
9876
- escapeUrl: escapeUrl_1.escapeUrl,
9877
- extend: extend_8.extend,
9878
- extendOut: extendOut_1.extendOut,
9879
- fdate: fdate_2.fdate,
9880
- fdatetime: fdatetime_2.fdatetime,
9881
- fieldValue: fieldValue_2.fieldValue,
9882
- fileExt: fileExt_2.fileExt,
9883
- filter: filter_6.filter,
9884
- filterToConditions: filterToConditions_3.filterToConditions,
9885
- findAll: findAll_1.findAll,
9886
- fori: fori_1.fori,
9887
- forir: forir_1.forir,
9888
- format: format_1.format,
9889
- formatBytes: formatBytes_1.formatBytes,
9890
- formatDate: formatDate_1.formatDate,
9891
- formatSize: formatSize_1.formatSize,
9892
- formdata: formdata_2.formdata,
9893
- fromXml: fromXml_1.fromXml,
9894
- ftime: ftime_1.ftime,
9895
- getAllTags: getAllTags_1.getAllTags,
9896
- getAncestors: getAncestors_2.getAncestors,
9897
- getAttributes: getAttributes_1.getAttributes,
9898
- getBrowserName: getBrowserName_1.getBrowserName,
9899
- getBrowserVersion: getBrowserVersion_1.getBrowserVersion,
9900
- getCookie: getCookie_1.getCookie,
9901
- getCssVar: getCssVar_2.getCssVar,
9902
- getDay: getDay_1.getDay,
9903
- getDeviceType: getDeviceType_4.getDeviceType,
9904
- getEventData: getEventData_1.getEventData,
9905
- getField: getField_1.getField,
9906
- getFieldValues: getFieldValues_1.getFieldValues,
9907
- getHtml: getHtml_1.getHtml,
9908
- getHTMLOfSelection: getHTMLOfSelection_2.getHTMLOfSelection,
9909
- getLoader: getLoader_4.getLoader,
9910
- getPath: getPath_1.getPath,
9911
- getProp: getProp_1.getProp,
9912
- getProperty: getProperty_4.getProperty,
9913
- getRequestId: getRequestId_2.getRequestId,
9914
- getRow: getRow_3.getRow,
9915
- getScrollBarSize: getScrollBarSize_1.getScrollBarSize,
9916
- getText: getText_1.getText,
9917
- getTimeoff: getTimeoff_1.getTimeoff,
9918
- happy: happy_1.happy,
9919
- hash: hash_2.hash,
9920
- hex2rgb: hex2rgb_1.hex2rgb,
9921
- history: history_1.history,
9922
- html2text: html2text_2.html2text,
9923
- imageToCanvas: imageToCanvas_2.imageToCanvas,
9924
- imgToBase64: imgToBase64_1.imgToBase64,
9925
- info: info_1.info,
9926
- init: init_1.init,
9927
- isActiveInterface: isActiveInterface_1.isActiveInterface,
9928
- isArray: isArray_19.isArray,
9929
- isBlob: isBlob_2.isBlob,
9930
- isBoolean: isBoolean_1.isBoolean,
9931
- isCanvas: isCanvas_2.isCanvas,
9932
- isColor: isColor_1.isColor,
9933
- isComment: isComment_1.isComment,
9934
- isCp: isCp_3.isCp,
9935
- isDate: isDate_8.isDate,
9936
- isDesktopDevice: isDesktopDevice_1.isDesktopDevice,
9937
- isDimension: isDimension_1.isDimension,
9938
- isDom: isDom_5.isDom,
9939
- isEmail: isEmail_1.isEmail,
9940
- isEmpty: isEmpty_2.isEmpty,
9941
- isEvent: isEvent_1.isEvent,
9942
- isFocused: isFocused_1.isFocused,
9943
- isFunction: isFunction_11.isFunction,
9944
- isHostname: isHostname_1.isHostname,
9945
- isInside: isInside_1.isInside,
9946
- isInt: isInt_2.isInt,
9947
- isIP: isIP_2.isIP,
9948
- isIterable: isIterable_5.isIterable,
9949
- isMobile: isMobile_2.isMobile,
9950
- isMobileDevice: isMobileDevice_2.isMobileDevice,
9951
- isNull: isNull_4.isNull,
9952
- isNumber: isNumber_10.isNumber,
9953
- isObject: isObject_18.isObject,
9954
- isPercent: isPercent_1.isPercent,
9955
- isPrimitive: isPrimitive_1.isPrimitive,
9956
- isPromise: isPromise_1.isPromise,
9957
- isPropSize: isPropSize_1.isPropSize,
9958
- isSame: isSame_3.isSame,
9959
- isSQLDate: isSQLDate_1.isSQLDate,
9960
- isString: isString_27.isString,
9961
- isSymbol: isSymbol_2.isSymbol,
9962
- isTabletDevice: isTabletDevice_3.isTabletDevice,
9963
- isURL: isURL_1.isURL,
9964
- isValidDimension: isValidDimension_2.isValidDimension,
9965
- isValidName: isValidName_1.isValidName,
9966
- isValue: isValue_2.isValue,
9967
- isVue: isVue_1.isVue,
9968
- iterate: iterate_12.iterate,
9969
- lightenDarkenHex: lightenDarkenHex_1.lightenDarkenHex,
9970
- link: link_2.link,
9971
- log: log_22.log,
9972
- makeReactive: makeReactive_1.makeReactive,
9973
- map: map_1.map,
9974
- md5: md5_4.md5,
9975
- money: money_1.money,
9976
- move: move_1.move,
9977
- multiorder: multiorder_1.multiorder,
9978
- nl2br: nl2br_1.nl2br,
9979
- numProperties: numProperties_8.numProperties,
9980
- objectToFormData: objectToFormData_2.objectToFormData,
9981
- order: order_1.order,
9982
- outerHeight: outerHeight_1.outerHeight,
9983
- outerWidth: outerWidth_1.outerWidth,
9984
- percent: percent_1.percent,
9985
- pickValue: pickValue_1.pickValue,
9986
- post: post_2.post,
9987
- postOut: postOut_1.postOut,
9988
- printf: printf_1.printf,
9989
- quotes2html: quotes2html_1.quotes2html,
9990
- randomInt: randomInt_2.randomInt,
9991
- randomString: randomString_1.randomString,
9992
- removeAccents: removeAccents_4.removeAccents,
9993
- removeEmpty: removeEmpty_1.removeEmpty,
9994
- removeExtraSpaces: removeExtraSpaces_1.removeExtraSpaces,
9995
- removeHtmlComments: removeHtmlComments_2.removeHtmlComments,
9996
- removePrivateProp: removePrivateProp_2.removePrivateProp,
9997
- removeTrailingChars: removeTrailingChars_1.removeTrailingChars,
9998
- repeat: repeat_1.repeat,
9999
- replaceAll: replaceAll_8.replaceAll,
10000
- replaceSelection: replaceSelection_1.replaceSelection,
10001
- resize: resize_3.resize,
10002
- rgb2hex: rgb2hex_1.rgb2hex,
10003
- riterate: riterate_1.riterate,
10004
- roundDecimal: roundDecimal_1.roundDecimal,
10005
- sanitize: sanitize_1.sanitize,
10006
- search: search_6.search,
10007
- selectElementText: selectElementText_1.selectElementText,
10008
- selector: selector_3.selector,
10009
- setCookie: setCookie_1.setCookie,
10010
- setCssVar: setCssVar_1.setCssVar,
10011
- setNavigationVars: setNavigationVars_2.setNavigationVars,
10012
- setProp: setProp_1.setProp,
10013
- setProperty: setProperty_2.setProperty,
10014
- shorten: shorten_2.shorten,
10015
- shortenObj: shortenObj_1.shortenObj,
10016
- shuffle: shuffle_1.shuffle,
10017
- simpleHash: simpleHash_2.simpleHash,
10018
- simpleHash1: simpleHash1_2.simpleHash1,
10019
- simpleHash2: simpleHash2_2.simpleHash2,
9808
+ _addLoader: _addLoader_js_2._addLoader,
9809
+ _compareValues: _compareValues_js_3._compareValues,
9810
+ _deleteLoader: _deleteLoader_js_2._deleteLoader,
9811
+ abort: abort_js_1.abort,
9812
+ abortURL: abortURL_js_1.abortURL,
9813
+ addColors: addColors_js_2.addColors,
9814
+ addInputs: addInputs_js_2.addInputs,
9815
+ addStyle: addStyle_js_1.addStyle,
9816
+ adjustHeight: adjustHeight_js_1.adjustHeight,
9817
+ adjustSize: adjustSize_js_3.adjustSize,
9818
+ adjustWidth: adjustWidth_js_1.adjustWidth,
9819
+ ajax: ajax_js_4.ajax,
9820
+ analyzeFunction: analyzeFunction_js_1.analyzeFunction,
9821
+ animateCss: animateCss_js_1.animateCss,
9822
+ arrayBuffer2String: arrayBuffer2String_js_1.arrayBuffer2String,
9823
+ arrayFromProp: arrayFromProp_js_1.arrayFromProp,
9824
+ autoExtend: autoExtend_js_1.autoExtend,
9825
+ baseName: baseName_js_3.baseName,
9826
+ br2nl: br2nl_js_1.br2nl,
9827
+ calendar: calendar_js_1.calendar,
9828
+ callback: callback_js_3.callback,
9829
+ camelize: camelize_js_1.camelize,
9830
+ camelToCss: camelToCss_js_1.camelToCss,
9831
+ canvasToImage: canvasToImage_js_1.canvasToImage,
9832
+ center: center_js_1.center,
9833
+ checkProps: checkProps_js_1.checkProps,
9834
+ checkPropsDetails: checkPropsDetails_js_3.checkPropsDetails,
9835
+ checkPropsOrDie: checkPropsOrDie_js_1.checkPropsOrDie,
9836
+ checkType: checkType_js_6.checkType,
9837
+ circularReplacer: circularReplacer_js_2.circularReplacer,
9838
+ clone: clone_js_2.clone,
9839
+ colorToHex: colorToHex_js_1.colorToHex,
9840
+ compare: compare_js_2.compare,
9841
+ compareConditions: compareConditions_js_3.compareConditions,
9842
+ copy: copy_js_1.copy,
9843
+ correctCase: correctCase_js_2.correctCase,
9844
+ count: count_js_1.count,
9845
+ crc32: crc32_js_1.crc32,
9846
+ createObject: createObject_js_4.createObject,
9847
+ cssExists: cssExists_js_1.cssExists,
9848
+ date: date_js_8.date,
9849
+ dateSQL: dateSQL_js_1.dateSQL,
9850
+ daysInMonth: daysInMonth_js_1.daysInMonth,
9851
+ deepPath: deepPath_js_1.deepPath,
9852
+ defaultAjaxAbortFunction: defaultAjaxAbortFunction_js_1.defaultAjaxAbortFunction,
9853
+ defaultAjaxErrorFunction: defaultAjaxErrorFunction_js_1.defaultAjaxErrorFunction,
9854
+ defaultAlertFunction: defaultAlertFunction_js_1.defaultAlertFunction,
9855
+ defaultConfirmFunction: defaultConfirmFunction_js_1.defaultConfirmFunction,
9856
+ defaultEndLoadingFunction: defaultEndLoadingFunction_js_1.defaultEndLoadingFunction,
9857
+ defaultErrorFunction: defaultErrorFunction_js_1.defaultErrorFunction,
9858
+ defaultHistoryFunction: defaultHistoryFunction_js_1.defaultHistoryFunction,
9859
+ defaultLinkFunction: defaultLinkFunction_js_1.defaultLinkFunction,
9860
+ defaultPostLinkFunction: defaultPostLinkFunction_js_1.defaultPostLinkFunction,
9861
+ defaultPreLinkFunction: defaultPreLinkFunction_js_1.defaultPreLinkFunction,
9862
+ defaultResizeFunction: defaultResizeFunction_js_1.defaultResizeFunction,
9863
+ defaultStartLoadingFunction: defaultStartLoadingFunction_js_1.defaultStartLoadingFunction,
9864
+ deleteProp: deleteProp_js_1.deleteProp,
9865
+ diffObj: diffObj_js_1.diffObj,
9866
+ dirName: dirName_js_2.dirName,
9867
+ download: download_js_1.download,
9868
+ downloadContent: downloadContent_js_2.downloadContent,
9869
+ each: each_js_28.each,
9870
+ eraseCookie: eraseCookie_js_1.eraseCookie,
9871
+ error: error_js_4.error,
9872
+ escapeDquotes: escapeDquotes_js_1.escapeDquotes,
9873
+ escapeRegExp: escapeRegExp_js_3.escapeRegExp,
9874
+ escapeSquotes: escapeSquotes_js_1.escapeSquotes,
9875
+ escapeTicks: escapeTicks_js_1.escapeTicks,
9876
+ escapeUrl: escapeUrl_js_1.escapeUrl,
9877
+ extend: extend_js_8.extend,
9878
+ extendOut: extendOut_js_1.extendOut,
9879
+ fdate: fdate_js_2.fdate,
9880
+ fdatetime: fdatetime_js_2.fdatetime,
9881
+ fieldValue: fieldValue_js_2.fieldValue,
9882
+ fileExt: fileExt_js_2.fileExt,
9883
+ filter: filter_js_6.filter,
9884
+ filterToConditions: filterToConditions_js_1.filterToConditions,
9885
+ findAll: findAll_js_1.findAll,
9886
+ fori: fori_js_1.fori,
9887
+ forir: forir_js_1.forir,
9888
+ format: format_js_1.format,
9889
+ formatBytes: formatBytes_js_1.formatBytes,
9890
+ formatDate: formatDate_js_1.formatDate,
9891
+ formatSize: formatSize_js_1.formatSize,
9892
+ formdata: formdata_js_2.formdata,
9893
+ fromXml: fromXml_js_1.fromXml,
9894
+ ftime: ftime_js_1.ftime,
9895
+ getAllTags: getAllTags_js_1.getAllTags,
9896
+ getAncestors: getAncestors_js_2.getAncestors,
9897
+ getAttributes: getAttributes_js_1.getAttributes,
9898
+ getBrowserName: getBrowserName_js_1.getBrowserName,
9899
+ getBrowserVersion: getBrowserVersion_js_1.getBrowserVersion,
9900
+ getCookie: getCookie_js_1.getCookie,
9901
+ getCssVar: getCssVar_js_2.getCssVar,
9902
+ getDay: getDay_js_1.getDay,
9903
+ getDeviceType: getDeviceType_js_4.getDeviceType,
9904
+ getEventData: getEventData_js_1.getEventData,
9905
+ getField: getField_js_1.getField,
9906
+ getFieldValues: getFieldValues_js_1.getFieldValues,
9907
+ getHtml: getHtml_js_1.getHtml,
9908
+ getHTMLOfSelection: getHTMLOfSelection_js_2.getHTMLOfSelection,
9909
+ getLoader: getLoader_js_4.getLoader,
9910
+ getPath: getPath_js_1.getPath,
9911
+ getProp: getProp_js_1.getProp,
9912
+ getProperty: getProperty_js_4.getProperty,
9913
+ getRequestId: getRequestId_js_2.getRequestId,
9914
+ getRow: getRow_js_3.getRow,
9915
+ getScrollBarSize: getScrollBarSize_js_1.getScrollBarSize,
9916
+ getText: getText_js_1.getText,
9917
+ getTimeoff: getTimeoff_js_1.getTimeoff,
9918
+ happy: happy_js_1.happy,
9919
+ hash: hash_js_2.hash,
9920
+ hex2rgb: hex2rgb_js_1.hex2rgb,
9921
+ history: history_js_1.history,
9922
+ html2text: html2text_js_2.html2text,
9923
+ imageToCanvas: imageToCanvas_js_2.imageToCanvas,
9924
+ imgToBase64: imgToBase64_js_1.imgToBase64,
9925
+ info: info_js_1.info,
9926
+ init: init_js_1.init,
9927
+ isActiveInterface: isActiveInterface_js_1.isActiveInterface,
9928
+ isArray: isArray_js_19.isArray,
9929
+ isBlob: isBlob_js_2.isBlob,
9930
+ isBoolean: isBoolean_js_1.isBoolean,
9931
+ isCanvas: isCanvas_js_2.isCanvas,
9932
+ isColor: isColor_js_1.isColor,
9933
+ isComment: isComment_js_1.isComment,
9934
+ isCp: isCp_js_3.isCp,
9935
+ isDate: isDate_js_8.isDate,
9936
+ isDesktopDevice: isDesktopDevice_js_1.isDesktopDevice,
9937
+ isDimension: isDimension_js_1.isDimension,
9938
+ isDom: isDom_js_5.isDom,
9939
+ isEmail: isEmail_js_1.isEmail,
9940
+ isEmpty: isEmpty_js_2.isEmpty,
9941
+ isEvent: isEvent_js_1.isEvent,
9942
+ isFocused: isFocused_js_1.isFocused,
9943
+ isFunction: isFunction_js_11.isFunction,
9944
+ isHostname: isHostname_js_1.isHostname,
9945
+ isInside: isInside_js_1.isInside,
9946
+ isInt: isInt_js_2.isInt,
9947
+ isIP: isIP_js_2.isIP,
9948
+ isIterable: isIterable_js_5.isIterable,
9949
+ isMobile: isMobile_js_2.isMobile,
9950
+ isMobileDevice: isMobileDevice_js_2.isMobileDevice,
9951
+ isNull: isNull_js_4.isNull,
9952
+ isNumber: isNumber_js_10.isNumber,
9953
+ isObject: isObject_js_18.isObject,
9954
+ isPercent: isPercent_js_1.isPercent,
9955
+ isPrimitive: isPrimitive_js_1.isPrimitive,
9956
+ isPromise: isPromise_js_1.isPromise,
9957
+ isPropSize: isPropSize_js_1.isPropSize,
9958
+ isSame: isSame_js_3.isSame,
9959
+ isSQLDate: isSQLDate_js_1.isSQLDate,
9960
+ isString: isString_js_27.isString,
9961
+ isSymbol: isSymbol_js_2.isSymbol,
9962
+ isTabletDevice: isTabletDevice_js_3.isTabletDevice,
9963
+ isURL: isURL_js_1.isURL,
9964
+ isValidDimension: isValidDimension_js_2.isValidDimension,
9965
+ isValidName: isValidName_js_1.isValidName,
9966
+ isValue: isValue_js_2.isValue,
9967
+ isVue: isVue_js_1.isVue,
9968
+ iterate: iterate_js_12.iterate,
9969
+ lightenDarkenHex: lightenDarkenHex_js_1.lightenDarkenHex,
9970
+ link: link_js_2.link,
9971
+ log: log_js_22.log,
9972
+ makeReactive: makeReactive_js_1.makeReactive,
9973
+ map: map_js_1.map,
9974
+ md5: md5_js_4.md5,
9975
+ money: money_js_1.money,
9976
+ move: move_js_1.move,
9977
+ multiorder: multiorder_js_1.multiorder,
9978
+ nl2br: nl2br_js_1.nl2br,
9979
+ numProperties: numProperties_js_8.numProperties,
9980
+ objectToFormData: objectToFormData_js_2.objectToFormData,
9981
+ order: order_js_1.order,
9982
+ outerHeight: outerHeight_js_1.outerHeight,
9983
+ outerWidth: outerWidth_js_1.outerWidth,
9984
+ percent: percent_js_1.percent,
9985
+ pickValue: pickValue_js_1.pickValue,
9986
+ post: post_js_2.post,
9987
+ postOut: postOut_js_1.postOut,
9988
+ printf: printf_js_1.printf,
9989
+ quotes2html: quotes2html_js_1.quotes2html,
9990
+ randomInt: randomInt_js_2.randomInt,
9991
+ randomString: randomString_js_1.randomString,
9992
+ removeAccents: removeAccents_js_4.removeAccents,
9993
+ removeEmpty: removeEmpty_js_1.removeEmpty,
9994
+ removeExtraSpaces: removeExtraSpaces_js_1.removeExtraSpaces,
9995
+ removeHtmlComments: removeHtmlComments_js_2.removeHtmlComments,
9996
+ removePrivateProp: removePrivateProp_js_2.removePrivateProp,
9997
+ removeTrailingChars: removeTrailingChars_js_1.removeTrailingChars,
9998
+ repeat: repeat_js_1.repeat,
9999
+ replaceAll: replaceAll_js_8.replaceAll,
10000
+ replaceSelection: replaceSelection_js_1.replaceSelection,
10001
+ resize: resize_js_3.resize,
10002
+ rgb2hex: rgb2hex_js_1.rgb2hex,
10003
+ riterate: riterate_js_1.riterate,
10004
+ roundDecimal: roundDecimal_js_1.roundDecimal,
10005
+ sanitize: sanitize_js_1.sanitize,
10006
+ search: search_js_6.search,
10007
+ selectElementText: selectElementText_js_1.selectElementText,
10008
+ selector: selector_js_3.selector,
10009
+ setCookie: setCookie_js_1.setCookie,
10010
+ setCssVar: setCssVar_js_1.setCssVar,
10011
+ setNavigationVars: setNavigationVars_js_2.setNavigationVars,
10012
+ setProp: setProp_js_1.setProp,
10013
+ setProperty: setProperty_js_2.setProperty,
10014
+ shorten: shorten_js_2.shorten,
10015
+ shortenObj: shortenObj_js_1.shortenObj,
10016
+ shuffle: shuffle_js_1.shuffle,
10017
+ simpleHash: simpleHash_js_2.simpleHash,
10018
+ simpleHash1: simpleHash1_js_2.simpleHash1,
10019
+ simpleHash2: simpleHash2_js_2.simpleHash2,
10020
10020
  startChrono: chrono_1.startChrono,
10021
10021
  stopChrono: chrono_1.stopChrono,
10022
- string2ArrayBuffer: string2ArrayBuffer_1.string2ArrayBuffer,
10023
- submit: submit_2.submit,
10024
- substr: substr_16.substr,
10025
- sum: sum_1.sum,
10026
- timestamp: timestamp_1.timestamp,
10027
- toCSV: toCSV_1.toCSV,
10028
- toggleFullScreen: toggleFullScreen_1.toggleFullScreen,
10029
- translate: translate_1.translate,
10030
- treatAjaxArguments: treatAjaxArguments_3.treatAjaxArguments,
10031
- trim: trim_2.trim,
10032
- uniqString: uniqString_1.uniqString,
10033
- unique: unique_2.unique,
10034
- upload: upload_1.upload,
10035
- warning: warning_2.warning,
10022
+ string2ArrayBuffer: string2ArrayBuffer_js_1.string2ArrayBuffer,
10023
+ submit: submit_js_2.submit,
10024
+ substr: substr_js_16.substr,
10025
+ sum: sum_js_1.sum,
10026
+ timestamp: timestamp_js_1.timestamp,
10027
+ toCSV: toCSV_js_1.toCSV,
10028
+ toggleFullScreen: toggleFullScreen_js_1.toggleFullScreen,
10029
+ translate: translate_js_1.translate,
10030
+ treatAjaxArguments: treatAjaxArguments_js_3.treatAjaxArguments,
10031
+ trim: trim_js_2.trim,
10032
+ uniqString: uniqString_js_1.uniqString,
10033
+ unique: unique_js_2.unique,
10034
+ upload: upload_js_1.upload,
10035
+ warning: warning_js_2.warning,
10036
10036
  };
10037
10037
  exports.fn = fn;
10038
10038
  });
10039
- define("index", ["require", "exports", "_", "$", "lng", "vars", "env", "db", "fn"], function (require, exports, __js_1, __js_2, lng_js_1, vars_js_1, env_js_1, db_js_1, fn_js_1) {
10039
+ define("index", ["require", "exports", "_", "$", "lng", "vars", "env", "db", "fn"], function (require, exports, __js_2, __js_3, lng_js_1, vars_js_1, env_js_1, db_js_1, fn_js_1) {
10040
10040
  "use strict";
10041
10041
  Object.defineProperty(exports, "__esModule", { value: true });
10042
10042
  exports.bbn = void 0;
@@ -10046,8 +10046,8 @@
10046
10046
  _cat: {}
10047
10047
  },
10048
10048
  app: {},
10049
- _: __js_1._,
10050
- $: __js_2.$,
10049
+ _: __js_2._,
10050
+ $: __js_3.$,
10051
10051
  lng: lng_js_1.lng,
10052
10052
  var: vars_js_1.vars,
10053
10053
  env: env_js_1.env,