@dxtmisha/functional-basic 0.11.3 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/library.d.ts CHANGED
@@ -3321,6 +3321,17 @@ export declare function goScrollSmooth<E extends HTMLElement>(element: E, option
3321
3321
  */
3322
3322
  export declare function goScrollTo(element?: HTMLElement, elementTo?: HTMLElement, behavior?: ScrollBehavior): void;
3323
3323
 
3324
+ /**
3325
+ * The method invokes the native sharing mechanism of the device as part of the Web Share API.
3326
+ * If the Web Share API is not supported by the browser or the data cannot be shared, the method returns false.
3327
+ *
3328
+ * Метод вызывает встроенный механизм обмена данными мобильного устройства или операционной системы.
3329
+ * Если Web Share API не поддерживается браузером или данные не могут быть переданы, метод возвращает false.
3330
+ * @param data an object containing data to share/ объект, содержащий данные для обмена
3331
+ * @returns true if the data was shared successfully/ true, если данные были успешно переданы
3332
+ */
3333
+ export declare function handleShare(data: ShareData): Promise<boolean>;
3334
+
3324
3335
  /**
3325
3336
  * Working with data stored in hash.
3326
3337
  *
@@ -3557,6 +3568,17 @@ export declare function isDomData(): boolean;
3557
3568
  */
3558
3569
  export declare function isDomRuntime(): boolean;
3559
3570
 
3571
+ /**
3572
+ * Checks if an element is visible (not hidden by CSS and is in the DOM).
3573
+ * An element can be off-screen and still be considered visible.
3574
+ *
3575
+ * Проверяет, является ли элемент видимым (не скрыт через CSS и находится в DOM).
3576
+ * Элемент может находиться за пределами экрана и при этом считаться видимым.
3577
+ * @param elementSelectors selectors for matching or an Element/ селекторов для сопоставления или Element
3578
+ * @returns true if the element is visible, otherwise false/ true, если элемент является видимым, иначе false
3579
+ */
3580
+ export declare function isElementVisible<E extends ElementOrWindow>(elementSelectors?: ElementOrString<E>): boolean;
3581
+
3560
3582
  /**
3561
3583
  * Checks if the pressed key is Enter or Space.
3562
3584
  *
@@ -3666,6 +3688,14 @@ export declare function isSelected<T, S>(value: T, selected: T | T[] | S): boole
3666
3688
  */
3667
3689
  export declare function isSelectedByList<T>(values: T | T[], selected: T | T[]): boolean;
3668
3690
 
3691
+ /**
3692
+ * Checks if the Web Share API is supported in the current environment.
3693
+ *
3694
+ * Проверяет, поддерживается ли Web Share API в текущей среде.
3695
+ * @returns true if the Web Share API is supported/ true, если Web Share API поддерживается
3696
+ */
3697
+ export declare function isShare(): boolean;
3698
+
3669
3699
  /**
3670
3700
  * Checks if the value is of type string.
3671
3701
  *
package/dist/library.js CHANGED
@@ -155,15 +155,15 @@ function y(e, t, n) {
155
155
  }
156
156
  //#endregion
157
157
  //#region src/classes/DataStorage.ts
158
- var ne = {}, re = "ui-storage", b = class {
158
+ var b = {}, ne = "ui-storage", x = class {
159
159
  static setPrefix(e) {
160
- re = e;
160
+ ne = e;
161
161
  }
162
162
  constructor(e, t = !1) {
163
163
  y(this, "value", void 0), y(this, "age", void 0), this.name = e, this.isSession = t;
164
164
  let n = `${t ? "session" : "storage"}#${e}`;
165
- if (n in ne) return ne[n];
166
- this.make(), ne[n] = this;
165
+ if (n in b) return b[n];
166
+ this.make(), b[n] = this;
167
167
  }
168
168
  get(e, t) {
169
169
  if (this.value !== null && this.value !== void 0 && this.isCache(t)) return this.value;
@@ -198,7 +198,7 @@ var ne = {}, re = "ui-storage", b = class {
198
198
  }
199
199
  }
200
200
  getIndex() {
201
- return `${re}__${this.name}`;
201
+ return `${ne}__${this.name}`;
202
202
  }
203
203
  getValue() {
204
204
  var e;
@@ -213,7 +213,7 @@ var ne = {}, re = "ui-storage", b = class {
213
213
  let e = this.getValue();
214
214
  return e ? (this.value = e.value, this.age = e.age) : (this.value = void 0, this.age = void 0), this;
215
215
  }
216
- }, x, ie = "geo-code", S = class {
216
+ }, S, re = "geo-code", C = class {
217
217
  static get() {
218
218
  return this.item;
219
219
  }
@@ -297,17 +297,17 @@ var ne = {}, re = "ui-storage", b = class {
297
297
  });
298
298
  }
299
299
  };
300
- x = S, y(S, "storage", new b(ie)), y(S, "location", void 0), y(S, "item", void 0), y(S, "language", void 0), y(S, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), x.location = x.findLocation(), x.language = x.findLanguage(x.location), x.item = x.getByCode(x.location);
300
+ S = C, y(C, "storage", new x(re)), y(C, "location", void 0), y(C, "item", void 0), y(C, "language", void 0), y(C, "timezone", (/* @__PURE__ */ new Date()).getTimezoneOffset()), S.location = S.findLocation(), S.language = S.findLanguage(S.location), S.item = S.getByCode(S.location);
301
301
  //#endregion
302
302
  //#region src/functions/isWindow.ts
303
- function ae(e) {
303
+ function ie(e) {
304
304
  return d() && e === window;
305
305
  }
306
306
  //#endregion
307
307
  //#region src/functions/getElement.ts
308
- function C(e) {
308
+ function w(e) {
309
309
  if (d()) {
310
- if (ae(e)) return document.body;
310
+ if (ie(e)) return document.body;
311
311
  if (l(e)) {
312
312
  var t;
313
313
  return (t = document.querySelector(e)) == null ? void 0 : t;
@@ -317,30 +317,30 @@ function C(e) {
317
317
  }
318
318
  //#endregion
319
319
  //#region src/functions/getElementOrWindow.ts
320
- function oe(e) {
321
- return ae(e) ? e : C(e);
320
+ function T(e) {
321
+ return ie(e) ? e : w(e);
322
322
  }
323
323
  //#endregion
324
324
  //#region src/functions/isInDom.ts
325
- function se(e) {
325
+ function ae(e) {
326
326
  var t;
327
- return !!((t = C(e)) != null && t.closest("html"));
327
+ return !!((t = w(e)) != null && t.closest("html"));
328
328
  }
329
329
  //#endregion
330
330
  //#region src/functions/toArray.ts
331
- function w(e) {
331
+ function E(e) {
332
332
  return Array.isArray(e) ? e : [e];
333
333
  }
334
334
  //#endregion
335
335
  //#region src/classes/EventItem.ts
336
- var T = class {
336
+ var oe = class {
337
337
  constructor(e, t = ["click"], r, i, a) {
338
338
  y(this, "element", void 0), y(this, "elementControl", void 0), y(this, "elementControlEdit", void 0), y(this, "type", void 0), y(this, "listenerRecent", (e) => {
339
- if (se(this.elementControl)) {
339
+ if (ae(this.elementControl)) {
340
340
  var t, r;
341
341
  (t = this.listener) == null || t.call(this.element, e, this.detail), n(this.options) && (r = this.options) != null && r.once && this.stop();
342
342
  } else this.stop();
343
- }), y(this, "activity", !1), y(this, "activityItems", []), this.listener = r, this.options = i, this.detail = a, this.element = oe(e), this.elementControl = C(e), this.type = w(t);
343
+ }), y(this, "activity", !1), y(this, "activityItems", []), this.listener = r, this.options = i, this.detail = a, this.element = T(e), this.elementControl = w(e), this.type = E(t);
344
344
  }
345
345
  isActive() {
346
346
  return this.activity;
@@ -349,14 +349,14 @@ var T = class {
349
349
  return this.element;
350
350
  }
351
351
  setElement(e) {
352
- let t = oe(e);
353
- return this.elementControlEdit || (this.elementControl = C(e)), this.element = t, this.reset(), this;
352
+ let t = T(e);
353
+ return this.elementControlEdit || (this.elementControl = w(e)), this.element = t, this.reset(), this;
354
354
  }
355
355
  setElementControl(e) {
356
- return this.elementControl = C(e), this.elementControlEdit = !o(this.elementControl), this.elementControlEdit || (this.elementControl = C(this.element)), this;
356
+ return this.elementControl = w(e), this.elementControlEdit = !o(this.elementControl), this.elementControlEdit || (this.elementControl = w(this.element)), this;
357
357
  }
358
358
  setType(e) {
359
- return this.type = w(e), this.reset(), this;
359
+ return this.type = E(e), this.reset(), this;
360
360
  }
361
361
  setListener(e) {
362
362
  return this.listener = e, this;
@@ -425,7 +425,7 @@ var T = class {
425
425
  }
426
426
  return !1;
427
427
  }
428
- }, ce, le = "ui-loading", E = class {
428
+ }, se, ce = "ui-loading", D = class {
429
429
  static is() {
430
430
  return this.value > 0;
431
431
  }
@@ -440,7 +440,7 @@ var T = class {
440
440
  }
441
441
  static registrationEvent(e, t) {
442
442
  if (d()) {
443
- let n = new T(window, le, e).setElementControl(t).start();
443
+ let n = new oe(window, ce, e).setElementControl(t).start();
444
444
  this.registrationList.push({
445
445
  item: n,
446
446
  listener: e,
@@ -456,10 +456,10 @@ var T = class {
456
456
  (e = this.event) == null || e.dispatch({ loading: this.is() });
457
457
  }
458
458
  };
459
- ce = E, y(E, "value", 0), y(E, "event", void 0), y(E, "registrationList", []), d() && (ce.event = new T(window, le));
459
+ se = D, y(D, "value", 0), y(D, "event", void 0), y(D, "registrationList", []), d() && (se.event = new oe(window, ce));
460
460
  //#endregion
461
461
  //#region src/classes/ApiHeaders.ts
462
- var ue = class {
462
+ var le = class {
463
463
  constructor() {
464
464
  y(this, "headers", {});
465
465
  }
@@ -472,9 +472,9 @@ var ue = class {
472
472
  set(e) {
473
473
  return c(e) && (this.headers = e), this;
474
474
  }
475
- }, D = /* @__PURE__ */ function(e) {
475
+ }, O = /* @__PURE__ */ function(e) {
476
476
  return e.get = "GET", e.post = "POST", e.put = "PUT", e.delete = "DELETE", e;
477
- }({}), de = class {
477
+ }({}), ue = class {
478
478
  constructor() {
479
479
  y(this, "value", void 0);
480
480
  }
@@ -498,7 +498,7 @@ var ue = class {
498
498
  addByFormData(e, t) {
499
499
  for (let n in t) e.has(n) || e.set(n, t[n]);
500
500
  }
501
- }, O = class {
501
+ }, k = class {
502
502
  constructor() {
503
503
  y(this, "value", void 0);
504
504
  }
@@ -556,18 +556,18 @@ var ue = class {
556
556
  };
557
557
  //#endregion
558
558
  //#region src/functions/executePromise.ts
559
- async function fe(e) {
559
+ async function de(e) {
560
560
  let t = g(e);
561
561
  return t instanceof Promise ? await t : t;
562
562
  }
563
563
  //#endregion
564
564
  //#region src/functions/random.ts
565
- function k(e, t) {
565
+ function A(e, t) {
566
566
  return Math.floor(Math.random() * (t - e + 1) + e);
567
567
  }
568
568
  //#endregion
569
569
  //#region src/classes/ApiResponse.ts
570
- var pe = "d-response-loading", me = class {
570
+ var fe = "d-response-loading", pe = class {
571
571
  constructor(e) {
572
572
  y(this, "first", []), y(this, "response", []), y(this, "loading", void 0), y(this, "devMode", !1), this.requestDefault = e;
573
573
  }
@@ -578,13 +578,13 @@ var pe = "d-response-loading", me = class {
578
578
  return this.response.filter((e) => e.isForGlobal !== !0);
579
579
  }
580
580
  add(e) {
581
- return this.response.push(...w(e)), this;
581
+ return this.response.push(...E(e)), this;
582
582
  }
583
583
  setDevMode(e) {
584
584
  return this.devMode = e, this;
585
585
  }
586
586
  async emulator(e) {
587
- let { path: t = "", method: n = D.get, global: r = n === D.get, devMode: i = !1 } = e;
587
+ let { path: t = "", method: n = O.get, global: r = n === O.get, devMode: i = !1 } = e;
588
588
  if (r || this.isDevMode(i)) {
589
589
  let r = this.requestDefault.request(e.request), a = this.get(t, n, r, i);
590
590
  if (a) {
@@ -611,22 +611,22 @@ var pe = "d-response-loading", me = class {
611
611
  }
612
612
  fetch(e, t) {
613
613
  return this.startResponseLoading(), new Promise((n) => {
614
- fe(h(e.response) ? e.response(t) : e.response).then((t) => {
615
- e != null && e.lag ? (E.show(), setTimeout(() => {
616
- this.stopResponseLoading(), n(t), E.hide();
617
- }, k(0, 2e3))) : (this.stopResponseLoading(), n(t));
614
+ de(h(e.response) ? e.response(t) : e.response).then((t) => {
615
+ e != null && e.lag ? (D.show(), setTimeout(() => {
616
+ this.stopResponseLoading(), n(t), D.hide();
617
+ }, A(0, 2e3))) : (this.stopResponseLoading(), n(t));
618
618
  });
619
619
  });
620
620
  }
621
621
  startResponseLoading() {
622
- this.loading && clearTimeout(this.loading), d() && document.body.classList.add(pe);
622
+ this.loading && clearTimeout(this.loading), d() && document.body.classList.add(fe);
623
623
  }
624
624
  stopResponseLoading() {
625
625
  this.loading = setTimeout(() => {
626
- this.loading = void 0, d() && document.body.classList.remove(pe);
626
+ this.loading = void 0, d() && document.body.classList.remove(fe);
627
627
  }, 1200);
628
628
  }
629
- }, he = class {
629
+ }, me = class {
630
630
  constructor() {
631
631
  y(this, "callback", void 0), y(this, "callbackEnd", void 0), y(this, "loading", !1);
632
632
  }
@@ -654,7 +654,7 @@ var pe = "d-response-loading", me = class {
654
654
  let n = {};
655
655
  return this.callbackEnd && (n = await this.callbackEnd(e, t)), n;
656
656
  }
657
- }, ge, A = class e {
657
+ }, he, j = class e {
658
658
  static isLocalhost() {
659
659
  return typeof location > "u" || location.hostname === "localhost";
660
660
  }
@@ -665,14 +665,14 @@ var pe = "d-response-loading", me = class {
665
665
  return this.response;
666
666
  }
667
667
  static getUrl(e, t = !0) {
668
- return `${t ? this.url : ""}${e}`.replace("{locale}", S.getLocation()).replace("{country}", S.getCountry()).replace("{language}", S.getLanguage());
668
+ return `${t ? this.url : ""}${e}`.replace("{locale}", C.getLocation()).replace("{country}", C.getCountry()).replace("{language}", C.getLanguage());
669
669
  }
670
- static getBody(e = {}, t = D.get) {
670
+ static getBody(e = {}, t = O.get) {
671
671
  if (e instanceof FormData) return e;
672
- if (t !== D.get && s(e)) return l(e) ? e : JSON.stringify(e);
672
+ if (t !== O.get && s(e)) return l(e) ? e : JSON.stringify(e);
673
673
  }
674
- static getBodyForGet(e, t = "", n = D.get) {
675
- if (n === D.get) {
674
+ static getBodyForGet(e, t = "", n = O.get) {
675
+ if (n === O.get) {
676
676
  let n = t.match(/\?/) ? "&" : "?", r = typeof e == "object" ? i(e) : e;
677
677
  if (s(r)) return `${n}${r}`;
678
678
  }
@@ -697,38 +697,38 @@ var pe = "d-response-loading", me = class {
697
697
  return l(e) ? await this.fetch({ path: e }) : await this.fetch(e);
698
698
  }
699
699
  static get(e) {
700
- return this.request(t(e, { method: D.get }));
700
+ return this.request(t(e, { method: O.get }));
701
701
  }
702
702
  static post(e) {
703
- return this.request(t(e, { method: D.post }));
703
+ return this.request(t(e, { method: O.post }));
704
704
  }
705
705
  static put(e) {
706
- return this.request(t(e, { method: D.put }));
706
+ return this.request(t(e, { method: O.put }));
707
707
  }
708
708
  static delete(e) {
709
- return this.request(t(e, { method: D.delete }));
709
+ return this.request(t(e, { method: O.delete }));
710
710
  }
711
711
  static async fetch(e) {
712
712
  let { toData: t = !0, hideError: n = !1, queryReturn: r = void 0, globalPreparation: i = !0, globalEnd: a = !0 } = e, o = await this.response.emulator(e);
713
713
  if (o) return o;
714
- let s = new O(), c;
715
- E.show();
714
+ let s = new k(), c;
715
+ D.show();
716
716
  try {
717
717
  await this.preparation.make(i, e);
718
718
  let t = await this.makeQuery(e), n = await this.preparation.makeEnd(a, t, e);
719
- if (s.setStatus(t.status, t.statusText), this.status.setStatus(t.status, t.statusText), n != null && n.reset) return E.hide(), await this.fetch(e);
719
+ if (s.setStatus(t.status, t.statusText), this.status.setStatus(t.status, t.statusText), n != null && n.reset) return D.hide(), await this.fetch(e);
720
720
  c = await this.readData(t, r, n);
721
721
  } catch (e) {
722
- throw n || console.error("Api: ", e), s.setError(String(e)), this.status.setError(String(e)), E.hide(), e;
722
+ throw n || console.error("Api: ", e), s.setError(String(e)), this.status.setError(String(e)), D.hide(), e;
723
723
  }
724
- return E.hide(), s.setLastResponse(c), this.status.setLastResponse(c), this.makeStatus(this.makeData(c, t), s);
724
+ return D.hide(), s.setLastResponse(c), this.status.setLastResponse(c), this.makeStatus(this.makeData(c, t), s);
725
725
  }
726
726
  static async readData(e, t, n) {
727
727
  var r;
728
728
  return t ? await t(e) : "data" in n ? n.data : ((r = e.headers.get("Content-Type")) == null ? "" : r).match("application/json") ? await e.json() : { data: await e.text() };
729
729
  }
730
730
  static async makeQuery(e) {
731
- let n = this.requestDefault.request(e.request), { api: r = !0, path: i = "", pathFull: a = void 0, method: o = D.get, headers: s = {}, type: c = "application/json;charset=UTF-8", init: l = {}, controller: u = void 0 } = e, d = a == null ? this.getUrl(i, r) : a, f = `${d}${this.getBodyForGet(n, d, o)}`, p = this.headers.get(s, c), m = t(l, {
731
+ let n = this.requestDefault.request(e.request), { api: r = !0, path: i = "", pathFull: a = void 0, method: o = O.get, headers: s = {}, type: c = "application/json;charset=UTF-8", init: l = {}, controller: u = void 0 } = e, d = a == null ? this.getUrl(i, r) : a, f = `${d}${this.getBodyForGet(n, d, o)}`, p = this.headers.get(s, c), m = t(l, {
732
732
  method: o,
733
733
  body: this.getBody(n, o)
734
734
  });
@@ -747,10 +747,10 @@ var pe = "d-response-loading", me = class {
747
747
  } : e;
748
748
  }
749
749
  };
750
- ge = A, y(A, "url", "/api/"), y(A, "headers", new ue()), y(A, "requestDefault", new de()), y(A, "status", new O()), y(A, "response", new me(ge.requestDefault)), y(A, "preparation", new he());
750
+ he = j, y(j, "url", "/api/"), y(j, "headers", new le()), y(j, "requestDefault", new ue()), y(j, "status", new k()), y(j, "response", new pe(he.requestDefault)), y(j, "preparation", new me());
751
751
  //#endregion
752
752
  //#region src/classes/BroadcastMessage.ts
753
- var _e = class {
753
+ var ge = class {
754
754
  constructor(e, t, n) {
755
755
  if (y(this, "channel", void 0), y(this, "update", (e) => {
756
756
  var t;
@@ -759,7 +759,7 @@ var _e = class {
759
759
  var t;
760
760
  return (t = this.callbackError) == null || t.call(this, e), this;
761
761
  }), this.callback = t, this.callbackError = n, d()) try {
762
- this.channel = new BroadcastChannel(`${ve()}__${e}`), this.channel.onmessage = this.update, this.channel.onmessageerror = this.updateError;
762
+ this.channel = new BroadcastChannel(`${_e()}__${e}`), this.channel.onmessage = this.update, this.channel.onmessageerror = this.updateError;
763
763
  } catch (t) {
764
764
  console.error(`BroadcastMessage ${e}:`, t);
765
765
  }
@@ -777,7 +777,7 @@ var _e = class {
777
777
  setCallbackError(e) {
778
778
  return this.callbackError = e, this;
779
779
  }
780
- }, ve = () => new b("__broadcast-name").get(() => `name_${k(1e6, 9999999)}`), ye = class {
780
+ }, _e = () => new x("__broadcast-name").get(() => `name_${A(1e6, 9999999)}`), ve = class {
781
781
  constructor(e) {
782
782
  y(this, "cache", void 0), y(this, "cacheOld", void 0), y(this, "comparisons", []), this.callback = e;
783
783
  }
@@ -799,7 +799,7 @@ var _e = class {
799
799
  isUpdate(e) {
800
800
  return this.cache === void 0 || this.comparisons.length !== e.length || this.comparisons.findIndex((t, n) => t !== e[n]) >= 0 ? (this.comparisons = [...e], !0) : !1;
801
801
  }
802
- }, be = class {
802
+ }, ye = class {
803
803
  constructor() {
804
804
  y(this, "cache", {});
805
805
  }
@@ -810,17 +810,17 @@ var _e = class {
810
810
  return await this.getCacheItem(e, t).getCacheAsync(n == null ? [] : n);
811
811
  }
812
812
  getCacheItem(e, t) {
813
- return e in this.cache || (this.cache[e] = new ye(t)), this.cache[e];
813
+ return e in this.cache || (this.cache[e] = new ve(t)), this.cache[e];
814
814
  }
815
- }, xe, Se = class {
815
+ }, be, xe = class {
816
816
  static get(e, t, n) {
817
817
  return this.cache.get(e, t, n);
818
818
  }
819
819
  };
820
- xe = Se, y(Se, "cache", void 0), xe.cache = new be();
820
+ be = xe, y(xe, "cache", void 0), be.cache = new ye();
821
821
  //#endregion
822
822
  //#region src/functions/transformation.ts
823
- function Ce(e, t = !1) {
823
+ function Se(e, t = !1) {
824
824
  if (typeof e == "string") {
825
825
  let r = e.trim();
826
826
  switch (r) {
@@ -844,7 +844,7 @@ function Ce(e, t = !1) {
844
844
  }
845
845
  //#endregion
846
846
  //#region src/classes/CookieBlock.ts
847
- var we = "cookie-block", j = class {
847
+ var Ce = "cookie-block", we = class {
848
848
  static get() {
849
849
  var e;
850
850
  return (e = this.storage.get()) == null ? !1 : e;
@@ -853,13 +853,13 @@ var we = "cookie-block", j = class {
853
853
  this.storage.set(e);
854
854
  }
855
855
  };
856
- y(j, "storage", new b(we));
856
+ y(we, "storage", new x(Ce));
857
857
  //#endregion
858
858
  //#region src/classes/Cookie.ts
859
859
  var Te, M = {}, Ee = class {
860
860
  constructor(e) {
861
- if (y(this, "value", void 0), y(this, "options", {}), this.name = e, e in De) return De[e];
862
- this.value = M == null ? void 0 : M[e], De[e] = this;
861
+ if (y(this, "value", void 0), y(this, "options", {}), this.name = e, e in N) return N[e];
862
+ this.value = M == null ? void 0 : M[e], N[e] = this;
863
863
  }
864
864
  get(e, t) {
865
865
  return this.value === void 0 && e && this.set(e, t), this.value;
@@ -875,7 +875,7 @@ var Te, M = {}, Ee = class {
875
875
  return (e = (t = this.options) == null ? void 0 : t.age) == null ? 10080 * 60 : e;
876
876
  }
877
877
  update() {
878
- if (d() && !_() && !j.get()) {
878
+ if (d() && !_() && !we.get()) {
879
879
  var e, t, n, r, i;
880
880
  let a = String((e = this.value) == null ? "" : e);
881
881
  document.cookie = [
@@ -889,40 +889,40 @@ var Te, M = {}, Ee = class {
889
889
  static updateData() {
890
890
  for (let e of document.cookie.split(";")) {
891
891
  let [t, n] = e.trim().split("=");
892
- t && s(n) && (M[t] = Ce(n));
892
+ t && s(n) && (M[t] = Se(n));
893
893
  }
894
894
  }
895
895
  };
896
896
  Te = Ee, d() && !_() && Te.updateData();
897
- var De = {};
897
+ var N = {};
898
898
  //#endregion
899
899
  //#region src/functions/toDate.ts
900
- function N(e) {
900
+ function P(e) {
901
901
  var t, n, r, i, a, s, c, l;
902
902
  if (e instanceof Date) return e;
903
903
  if (o(e)) return /* @__PURE__ */ new Date();
904
904
  if (typeof e == "number") return new Date(e);
905
- let u = e, d = S.getTimezoneFormat().trim();
905
+ let u = e, d = C.getTimezoneFormat().trim();
906
906
  e.replace(/^([\s\S]+)([-+]\d{2}:?\d{2})$/, (e, t, n) => (u = t, d = n.trim(), e));
907
907
  let f = (t = (n = (r = (i = (a = (s = (c = (l = /^\d{4}\d{2}\d{2}$/.exec(u) && `${u.replace(/^(\d{4})(\d{2})(\d{2})$/, "$1-$2-$3")}T00:00:00`) == null ? /^\d{4}\d{2}$/.exec(u) && `${u.replace(/^(\d{4})(\d{2})$/, "$1-$2")}-01T00:00:00` : l) == null ? /^\d{4}\d{2}\d{2} \d{2}:\d{2}:\d{2}$/.exec(u) && u.replace(/^(\d{4})(\d{2})(\d{2}) (\d{2}):(\d{2}):(\d{2})$/, "$1-$2-$3T$4:$5:$6") : c) == null ? /^\d{4}-\d{2}-\d{2}$/.exec(u) && `${u}T00:00:00` : s) == null ? /^\d{4}-\d{2}$/.exec(u) && `${u}-01T00:00:00` : a) == null ? /^\d{4}$/.exec(u) && `${u}-01-01T00:00:00` : i) == null ? /^\d{2}:\d{2}$/.exec(u) && `2000-01-01T${u}:00` : r) == null ? /^\d{2}:\d{2}:\d{2}$/.exec(u) && `2000-01-01T${u}` : n) == null ? u.replace(" ", "T") : t;
908
908
  return /* @__PURE__ */ new Date(`${f.trim()}${d}`);
909
909
  }
910
910
  //#endregion
911
911
  //#region src/functions/getColumn.ts
912
- function Oe(e, t) {
912
+ function De(e, t) {
913
913
  return r(e, (e) => e == null ? void 0 : e[t], !0);
914
914
  }
915
915
  //#endregion
916
916
  //#region src/classes/GeoIntl.ts
917
- var P = class e {
918
- static getInstance(t = S.getLocation()) {
917
+ var F = class e {
918
+ static getInstance(t = C.getLocation()) {
919
919
  return new e(t);
920
920
  }
921
- constructor(e = S.getLocation()) {
922
- y(this, "geo", void 0), this.geo = S.find(e);
921
+ constructor(e = C.getLocation()) {
922
+ y(this, "geo", void 0), this.geo = C.find(e);
923
923
  let t = this.getLocation();
924
- if (t in ke) return ke[t];
925
- ke[t] = this;
924
+ if (t in I) return I[t];
925
+ I[t] = this;
926
926
  }
927
927
  getLocation() {
928
928
  return this.geo.standard;
@@ -949,7 +949,7 @@ var P = class e {
949
949
  type: "language",
950
950
  style: t
951
951
  };
952
- return this.display(S.getByCode(e).language, n);
952
+ return this.display(C.getByCode(e).language, n);
953
953
  }
954
954
  countryName(e, t) {
955
955
  let n = {
@@ -993,7 +993,7 @@ var P = class e {
993
993
  }, i = e.toString().replace(/^([\S\s]+[\d ])([a-zA-Z]{3})$/i, (...e) => (r.currency = String(e[2]).toUpperCase(), String(e[1])));
994
994
  if (n) {
995
995
  let t = this.numberObject(r);
996
- return t ? Oe(t.formatToParts(p(e)).filter((e) => ["literal", "currency"].indexOf(e.type) === -1), "value").join("") : e.toString();
996
+ return t ? De(t.formatToParts(p(e)).filter((e) => ["literal", "currency"].indexOf(e.type) === -1), "value").join("") : e.toString();
997
997
  } else if ("currency" in r) return this.number(typeof e == "number" ? e : i, r);
998
998
  else return this.number(typeof e == "number" ? e : i, {
999
999
  ...r,
@@ -1070,18 +1070,18 @@ var P = class e {
1070
1070
  return `${this.number(a, r)} ${(i = o == null ? void 0 : o[0]) == null ? "" : i}`.trim();
1071
1071
  }
1072
1072
  date(e, t, n, r) {
1073
- let i = N(e), a = typeof n == "string", o = this.dateOptions(t, a ? n : "short");
1073
+ let i = P(e), a = typeof n == "string", o = this.dateOptions(t, a ? n : "short");
1074
1074
  return r && (o.hour12 = !1), a || Object.assign(o, n), i.toLocaleString(this.getLocation(), o);
1075
1075
  }
1076
1076
  relative(e, t, n) {
1077
- let r = N(e), i = n || /* @__PURE__ */ new Date(), a = {
1077
+ let r = P(e), i = n || /* @__PURE__ */ new Date(), a = {
1078
1078
  numeric: "auto",
1079
1079
  ...typeof t == "string" ? { style: t } : t || {}
1080
1080
  }, o = "second", s = (r.getTime() - i.getTime()) / 1e3;
1081
1081
  return Math.abs(s) >= 60 && (o = "minute", s /= 60, Math.abs(s) >= 60 && (o = "hour", s /= 60, Math.abs(s) >= 24 && (o = "day", s /= 24, Math.abs(s) >= 30 && (o = "month", s /= 30, Math.abs(s) >= 12 && (o = "year", s /= 12))))), this.relativeByValue(s, o, a);
1082
1082
  }
1083
1083
  relativeLimit(e, t, n, r, i, a, o) {
1084
- let s = N(e), c = n || /* @__PURE__ */ new Date(), l = new Date(c), u = new Date(c);
1084
+ let s = P(e), c = n || /* @__PURE__ */ new Date(), l = new Date(c), u = new Date(c);
1085
1085
  return l.setDate(c.getDate() - t), u.setDate(c.getDate() + t), s >= l && s <= u ? this.relative(s, r, c) : this.date(s, a, i, o);
1086
1086
  }
1087
1087
  relativeByValue(e, t, n) {
@@ -1098,7 +1098,7 @@ var P = class e {
1098
1098
  }
1099
1099
  month(e, t) {
1100
1100
  try {
1101
- if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { month: t || "long" }).format(N(e));
1101
+ if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { month: t || "long" }).format(P(e));
1102
1102
  } catch (e) {
1103
1103
  console.error("month: ", e);
1104
1104
  }
@@ -1124,7 +1124,7 @@ var P = class e {
1124
1124
  }
1125
1125
  weekday(e, t) {
1126
1126
  try {
1127
- if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }).format(N(e));
1127
+ if (this.hasIntlDateTimeFormat()) return Intl.DateTimeFormat(this.getLocation(), { weekday: t || "long" }).format(P(e));
1128
1128
  } catch (e) {
1129
1129
  console.error("weekday: ", e);
1130
1130
  }
@@ -1214,12 +1214,12 @@ var P = class e {
1214
1214
  "second"
1215
1215
  ].indexOf(e) !== -1 && (n.second = "2-digit")), n;
1216
1216
  }
1217
- }, ke = {}, Ae = class e {
1218
- constructor(e, t = "date", n = S.getLocation()) {
1219
- y(this, "date", void 0), y(this, "hour24", !1), y(this, "watch", void 0), this.type = t, this.code = n, this.date = N(e);
1217
+ }, I = {}, Oe = class e {
1218
+ constructor(e, t = "date", n = C.getLocation()) {
1219
+ y(this, "date", void 0), y(this, "hour24", !1), y(this, "watch", void 0), this.type = t, this.code = n, this.date = P(e);
1220
1220
  }
1221
1221
  getIntl() {
1222
- return new P(this.code);
1222
+ return new F(this.code);
1223
1223
  }
1224
1224
  getDate() {
1225
1225
  return this.date;
@@ -1322,7 +1322,7 @@ var P = class e {
1322
1322
  ].indexOf(this.type) !== -1 && (i = n.locale("time"))), `${r.join("-")}${i ? `T${i}${t ? n.getTimeZone() : ""}` : ""}`;
1323
1323
  }
1324
1324
  setDate(e) {
1325
- return this.date = N(e), this.update(), this;
1325
+ return this.date = P(e), this.update(), this;
1326
1326
  }
1327
1327
  setType(e) {
1328
1328
  return this.type = e, this.update(), this;
@@ -1478,36 +1478,36 @@ var P = class e {
1478
1478
  };
1479
1479
  //#endregion
1480
1480
  //#region src/functions/anyToString.ts
1481
- function F(e, t = !0) {
1481
+ function L(e, t = !0) {
1482
1482
  var r;
1483
1483
  return l(e) ? e.trim() : a(e) && e.findIndex((e) => n(e)) === -1 && t ? e.join(",") : n(e) ? JSON.stringify(e) : e === !0 ? "1" : e === !1 ? "0" : (r = e == null ? void 0 : e.toString()) == null ? "" : r;
1484
1484
  }
1485
1485
  //#endregion
1486
1486
  //#region src/functions/strSplit.ts
1487
- function je(e, t, n) {
1488
- let r = F(e);
1487
+ function ke(e, t, n) {
1488
+ let r = L(e);
1489
1489
  if (!n || n <= 0) return r.split(t);
1490
1490
  let i = r.split(t, n), a = r.split(t);
1491
1491
  return i.length === a.length ? i : (i.pop(), [...i, a.slice(n - 1).join(t)]);
1492
1492
  }
1493
1493
  //#endregion
1494
1494
  //#region src/functions/getItemByPath.ts
1495
- function I(e, t) {
1495
+ function R(e, t) {
1496
1496
  var r;
1497
1497
  if (!s(t)) return;
1498
- let i = je(t, ".", 2), a = i[0];
1499
- return a && e != null && e[a] && n(e[a]) && i != null && i[1] ? I(e[a], i[1]) : (r = s(a) && (e == null ? void 0 : e[a])) == null ? void 0 : r;
1498
+ let i = ke(t, ".", 2), a = i[0];
1499
+ return a && e != null && e[a] && n(e[a]) && i != null && i[1] ? R(e[a], i[1]) : (r = s(a) && (e == null ? void 0 : e[a])) == null ? void 0 : r;
1500
1500
  }
1501
1501
  //#endregion
1502
1502
  //#region src/functions/toCamelCase.ts
1503
- function Me(e) {
1503
+ function Ae(e) {
1504
1504
  return e.toString().trim().replace(/[^\w-. ]+/g, "").replace(/[ .]+/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (e) => `${e.toLowerCase()}`).replace(/-+([a-zA-Z0-9])/g, (...e) => `${String(e[1]).toUpperCase()}`).replace(/^([A-Z])/, (e) => `${e.toLowerCase()}`);
1505
1505
  }
1506
1506
  //#endregion
1507
1507
  //#region src/types/formattersTypes.ts
1508
- var L = /* @__PURE__ */ function(e) {
1508
+ var z = /* @__PURE__ */ function(e) {
1509
1509
  return e.currency = "currency", e.date = "date", e.name = "name", e.number = "number", e.plural = "plural", e.unit = "unit", e;
1510
- }({}), Ne = class {
1510
+ }({}), je = class {
1511
1511
  constructor(e, t) {
1512
1512
  this.options = e, this.list = t;
1513
1513
  }
@@ -1521,7 +1521,7 @@ var L = /* @__PURE__ */ function(e) {
1521
1521
  return this.list ? this.isArray() ? this.list.length : 1 : 0;
1522
1522
  }
1523
1523
  getList() {
1524
- return this.list ? w(this.list) : [];
1524
+ return this.list ? E(this.list) : [];
1525
1525
  }
1526
1526
  getOptions() {
1527
1527
  return this.options;
@@ -1539,50 +1539,50 @@ var L = /* @__PURE__ */ function(e) {
1539
1539
  getFormatData(e) {
1540
1540
  let t = {};
1541
1541
  return r(this.options, (n, r) => {
1542
- let i = `${Me(r)}Format`, a = I(e, r);
1542
+ let i = `${Ae(r)}Format`, a = R(e, r);
1543
1543
  n != null && n.transformation ? s(a) ? t[i] = n.transformation(a, e, n.options) : t[i] = "" : t[i] = this.transformation(a, e, n.type, n.options);
1544
1544
  }), t;
1545
1545
  }
1546
1546
  transformation(e, t, n, r) {
1547
- if (s(e) || n === L.name) switch (n) {
1548
- case L.currency: return this.formatCurrency(e, t, r);
1549
- case L.date: return this.formatDate(e, r);
1550
- case L.name: return this.formatName(t, r);
1551
- case L.number: return this.formatNumber(e, r);
1552
- case L.plural: return this.formatPlural(e, r);
1553
- case L.unit: return this.formatUnit(e, r);
1547
+ if (s(e) || n === z.name) switch (n) {
1548
+ case z.currency: return this.formatCurrency(e, t, r);
1549
+ case z.date: return this.formatDate(e, r);
1550
+ case z.name: return this.formatName(t, r);
1551
+ case z.number: return this.formatNumber(e, r);
1552
+ case z.plural: return this.formatPlural(e, r);
1553
+ case z.unit: return this.formatUnit(e, r);
1554
1554
  default: return String(e);
1555
1555
  }
1556
1556
  return "";
1557
1557
  }
1558
1558
  formatCurrency(e, t, n) {
1559
1559
  var r;
1560
- let i = n != null && n.currencyPropName ? I(t, n.currencyPropName) : t == null ? void 0 : t.currency;
1561
- return P.getInstance().currency(e, (r = n == null ? void 0 : n.options) == null ? i : r, n == null ? void 0 : n.numberOnly);
1560
+ let i = n != null && n.currencyPropName ? R(t, n.currencyPropName) : t == null ? void 0 : t.currency;
1561
+ return F.getInstance().currency(e, (r = n == null ? void 0 : n.options) == null ? i : r, n == null ? void 0 : n.numberOnly);
1562
1562
  }
1563
1563
  formatDate(e, t) {
1564
- return P.getInstance().date(e, t == null ? void 0 : t.type, t == null ? void 0 : t.options, t == null ? void 0 : t.hour24);
1564
+ return F.getInstance().date(e, t == null ? void 0 : t.type, t == null ? void 0 : t.options, t == null ? void 0 : t.hour24);
1565
1565
  }
1566
1566
  formatName(e, t) {
1567
1567
  var n, r, i;
1568
- let a = I(e, (n = t == null ? void 0 : t.lastPropName) == null ? "lastName" : n), o = I(e, (r = t == null ? void 0 : t.firstPropName) == null ? "firstName" : r), s = I(e, (i = t == null ? void 0 : t.surname) == null ? "surname" : i);
1569
- return a && o ? P.getInstance().fullName(a, o, s, t == null ? void 0 : t.short) : "";
1568
+ let a = R(e, (n = t == null ? void 0 : t.lastPropName) == null ? "lastName" : n), o = R(e, (r = t == null ? void 0 : t.firstPropName) == null ? "firstName" : r), s = R(e, (i = t == null ? void 0 : t.surname) == null ? "surname" : i);
1569
+ return a && o ? F.getInstance().fullName(a, o, s, t == null ? void 0 : t.short) : "";
1570
1570
  }
1571
1571
  formatNumber(e, t) {
1572
- return P.getInstance().number(e, t == null ? void 0 : t.options);
1572
+ return F.getInstance().number(e, t == null ? void 0 : t.options);
1573
1573
  }
1574
1574
  formatPlural(e, t) {
1575
- return t && t.words ? P.getInstance().plural(e, t == null ? void 0 : t.words, t == null ? void 0 : t.options, t == null ? void 0 : t.optionsNumber) : e;
1575
+ return t && t.words ? F.getInstance().plural(e, t == null ? void 0 : t.words, t == null ? void 0 : t.options, t == null ? void 0 : t.optionsNumber) : e;
1576
1576
  }
1577
1577
  formatUnit(e, t) {
1578
- return t && t.unit ? P.getInstance().unit(e, t.unit) : e;
1578
+ return t && t.unit ? F.getInstance().unit(e, t.unit) : e;
1579
1579
  }
1580
- }, Pe = "f", Fe = class e {
1581
- constructor(e = S.getLocation()) {
1580
+ }, Me = "f", Ne = class e {
1581
+ constructor(e = C.getLocation()) {
1582
1582
  this.code = e;
1583
1583
  }
1584
1584
  get(t = this.code) {
1585
- let n = S.find(t);
1585
+ let n = C.find(t);
1586
1586
  if (n) {
1587
1587
  var r;
1588
1588
  let t = this.getCountry(n);
@@ -1618,7 +1618,7 @@ var L = /* @__PURE__ */ function(e) {
1618
1618
  return this.code = e, this;
1619
1619
  }
1620
1620
  getLocation() {
1621
- return new P(this.code);
1621
+ return new F(this.code);
1622
1622
  }
1623
1623
  getCodes(t) {
1624
1624
  return t == null ? Object.keys(e.flags) : t;
@@ -1630,7 +1630,7 @@ var L = /* @__PURE__ */ function(e) {
1630
1630
  return this.getLocation().countryName(e.country);
1631
1631
  }
1632
1632
  };
1633
- y(Fe, "flags", {
1633
+ y(Ne, "flags", {
1634
1634
  AD: "f-ad",
1635
1635
  AE: "f-ae",
1636
1636
  AF: "f-af",
@@ -1875,7 +1875,7 @@ y(Fe, "flags", {
1875
1875
  });
1876
1876
  //#endregion
1877
1877
  //#region src/classes/GeoPhone.ts
1878
- var R, z = class {
1878
+ var Pe, B = class {
1879
1879
  static get(e) {
1880
1880
  return this.list.find((t) => e === t.value);
1881
1881
  }
@@ -1929,11 +1929,11 @@ var R, z = class {
1929
1929
  return (t = (n = e.match(/\*/g)) == null ? void 0 : n.length) == null ? 0 : t;
1930
1930
  }
1931
1931
  static makeList() {
1932
- this.list = r(S.getList(), (e) => {
1932
+ this.list = r(C.getList(), (e) => {
1933
1933
  if (e != null && e.phoneMask) return {
1934
1934
  phone: (e == null ? void 0 : e.phoneCode) && Number(e.phoneCode.replace(/[^0-9]+/, "")) || void 0,
1935
1935
  within: (e == null ? void 0 : e.phoneWithin) || 0,
1936
- mask: w(e.phoneMask),
1936
+ mask: E(e.phoneMask),
1937
1937
  value: e.country
1938
1938
  };
1939
1939
  }).sort((e, t) => e.phone - t.phone);
@@ -1971,17 +1971,17 @@ var R, z = class {
1971
1971
  return e.replace(/\*/, this.getWithinSymbol(t));
1972
1972
  }
1973
1973
  };
1974
- R = z, y(z, "list", []), y(z, "map", {}), R.makeList(), R.makeMap();
1974
+ Pe = B, y(B, "list", []), y(B, "map", {}), Pe.makeList(), Pe.makeMap();
1975
1975
  //#endregion
1976
1976
  //#region src/classes/Global.ts
1977
- var B, Ie = class {
1977
+ var V, Fe = class {
1978
1978
  static get(e) {
1979
- return B && (B == null ? void 0 : B[e]);
1979
+ return V && (V == null ? void 0 : V[e]);
1980
1980
  }
1981
1981
  static add(e) {
1982
- B === void 0 && (B = t(e));
1982
+ V === void 0 && (V = t(e));
1983
1983
  }
1984
- }, V, H = class {
1984
+ }, Ie, H = class {
1985
1985
  static get(e, t) {
1986
1986
  return !(e in this.hash) && t && this.set(e, t), this.hash[e];
1987
1987
  }
@@ -2009,7 +2009,7 @@ var B, Ie = class {
2009
2009
  }
2010
2010
  static getLocation() {
2011
2011
  let e = {};
2012
- return location.hash.replace(/([\w-]+)[:=]([^;]+)/gi, (...t) => (e[String(t[1])] = Ce(t[2]), "")), e;
2012
+ return location.hash.replace(/([\w-]+)[:=]([^;]+)/gi, (...t) => (e[String(t[1])] = Se(t[2]), "")), e;
2013
2013
  }
2014
2014
  static update() {
2015
2015
  this.block = !0, history.replaceState(null, "", `#${i(this.hash, "=", ";")}`), requestAnimationFrame(() => {
@@ -2023,7 +2023,7 @@ var B, Ie = class {
2023
2023
  });
2024
2024
  }
2025
2025
  };
2026
- V = H, y(H, "hash", {}), y(H, "watch", {}), y(H, "block", !1), d() && (V.reload(), addEventListener("hashchange", () => V.reload()));
2026
+ Ie = H, y(H, "hash", {}), y(H, "watch", {}), y(H, "block", !1), d() && (Ie.reload(), addEventListener("hashchange", () => Ie.reload()));
2027
2027
  //#endregion
2028
2028
  //#region src/classes/Icons.ts
2029
2029
  var Le, Re = "__UI_ICON", ze = 320, Be = "--LOAD--", U = class {
@@ -2039,7 +2039,7 @@ var Le, Re = "__UI_ICON", ze = 320, Be = "--LOAD--", U = class {
2039
2039
  return r(this.icons, (e, t) => t.replace(/^@/, ""));
2040
2040
  }
2041
2041
  static getUrlGlobal() {
2042
- return `${A.isLocalhost(), ""}${this.url}`;
2042
+ return `${j.isLocalhost(), ""}${this.url}`;
2043
2043
  }
2044
2044
  static add(e, t) {
2045
2045
  this.icons[this.getName(e)] = t;
@@ -2068,12 +2068,12 @@ Le = U, y(U, "icons", {}), y(U, "url", "/icons/"), d() && (Re in window || (wind
2068
2068
  //#region src/functions/getElementItem.ts
2069
2069
  function Ve(e, t, n) {
2070
2070
  var r, i;
2071
- return (r = (i = C(e)) == null ? void 0 : i[t]) == null ? n : r;
2071
+ return (r = (i = w(e)) == null ? void 0 : i[t]) == null ? n : r;
2072
2072
  }
2073
2073
  //#endregion
2074
2074
  //#region src/functions/setElementItem.ts
2075
2075
  function He(e, t, i) {
2076
- let a = C(e);
2076
+ let a = w(e);
2077
2077
  if (a) {
2078
2078
  let e = Ve(a, t);
2079
2079
  if (n(e) && n(i)) r(i, (t, n) => {
@@ -2314,7 +2314,7 @@ var G = class {
2314
2314
  return this;
2315
2315
  }
2316
2316
  setKeywords(e) {
2317
- return this.set(K.keywords, w(e).join(", ")), this;
2317
+ return this.set(K.keywords, E(e).join(", ")), this;
2318
2318
  }
2319
2319
  setDescription(e) {
2320
2320
  return this.set(K.description, e), this;
@@ -2383,7 +2383,7 @@ var G = class {
2383
2383
  });
2384
2384
  }
2385
2385
  };
2386
- y(Y, "storage", new b("scrollbar", !0)), y(Y, "calculate", !1);
2386
+ y(Y, "storage", new x("scrollbar", !0)), y(Y, "calculate", !1);
2387
2387
  //#endregion
2388
2388
  //#region src/functions/escapeExp.ts
2389
2389
  function X(e) {
@@ -2441,8 +2441,8 @@ var nt = class {
2441
2441
  toFormatItem(e, t) {
2442
2442
  let n = {};
2443
2443
  return this.columns && this.columns.forEach((r) => {
2444
- let i = this.getColumnName(r), a = I(e, r);
2445
- n[i] = s(a) && t ? this.addTag(a) : F(a);
2444
+ let i = this.getColumnName(r), a = R(e, r);
2445
+ n[i] = s(a) && t ? this.addTag(a) : L(a);
2446
2446
  }), {
2447
2447
  ...e,
2448
2448
  ...n,
@@ -2453,7 +2453,7 @@ var nt = class {
2453
2453
  return e.replace(/\.([a-z0-9])/gi, (e, t) => t.toUpperCase()) + "Search";
2454
2454
  }
2455
2455
  addTag(e) {
2456
- return tt(F(e), this.item.get(), this.options.getClassName());
2456
+ return tt(L(e), this.item.get(), this.options.getClassName());
2457
2457
  }
2458
2458
  generateCache() {
2459
2459
  if (!this.isList()) return [];
@@ -2461,8 +2461,8 @@ var nt = class {
2461
2461
  for (let t of this.list) {
2462
2462
  let n = "";
2463
2463
  if (this.columns) for (let e of this.columns) {
2464
- let r = I(t, e);
2465
- s(r) && (n += ` ${F(r)}`);
2464
+ let r = R(t, e);
2465
+ s(r) && (n += ` ${L(r)}`);
2466
2466
  }
2467
2467
  e.push({
2468
2468
  item: t,
@@ -2656,8 +2656,8 @@ var st = class {
2656
2656
  });
2657
2657
  }
2658
2658
  static getIndex() {
2659
- if (S.getLocation() in this.files) return S.getLocation();
2660
- if (S.getLanguage() in this.files) return S.getLanguage();
2659
+ if (C.getLocation() in this.files) return C.getLocation();
2660
+ if (C.getLanguage() in this.files) return C.getLanguage();
2661
2661
  if ("global" in this.files) return ft;
2662
2662
  }
2663
2663
  static getByData(e) {
@@ -2677,7 +2677,7 @@ var Q = class e {
2677
2677
  static async get(e, t) {
2678
2678
  var n;
2679
2679
  let r = this.getText(e);
2680
- return r ? this.replacement(r, t) : (A.isLocalhost() || await this.add(e), this.replacement((n = this.getText(e)) == null ? e : n));
2680
+ return r ? this.replacement(r, t) : (j.isLocalhost() || await this.add(e), this.replacement((n = this.getText(e)) == null ? e : n));
2681
2681
  }
2682
2682
  static getSync(e, t = !1, n) {
2683
2683
  let r = this.getText(e);
@@ -2717,7 +2717,7 @@ var Q = class e {
2717
2717
  });
2718
2718
  }
2719
2719
  static async addNormalOrSync(e) {
2720
- if (s(e)) if (A.isLocalhost()) this.addSync(e);
2720
+ if (s(e)) if (j.isLocalhost()) this.addSync(e);
2721
2721
  else {
2722
2722
  let t = Object.keys(e);
2723
2723
  t.length > 0 && await this.add(t);
@@ -2753,22 +2753,22 @@ var Q = class e {
2753
2753
  if (r in this.data) return this.data[r];
2754
2754
  }
2755
2755
  static getName(e) {
2756
- return `${S.getLocation()}-${e}`;
2756
+ return `${C.getLocation()}-${e}`;
2757
2757
  }
2758
2758
  static getNameByLanguage(e) {
2759
- return `${S.getLanguage()}-${e}`;
2759
+ return `${C.getLanguage()}-${e}`;
2760
2760
  }
2761
2761
  static getNameByGlobal(e) {
2762
2762
  return `${ft}-${e}`;
2763
2763
  }
2764
2764
  static getNamesNone(e) {
2765
2765
  let t = [];
2766
- return w(e).forEach((e) => {
2766
+ return E(e).forEach((e) => {
2767
2767
  e !== "__TRANSLATE_START__" && e !== "__TRANSLATE_END__" && !(this.getName(e) in this.data) && t.push(e);
2768
2768
  }), t;
2769
2769
  }
2770
2770
  static async getResponse() {
2771
- let e = await A.get({
2771
+ let e = await j.get({
2772
2772
  api: !1,
2773
2773
  path: this.url,
2774
2774
  request: { [this.propsName]: this.cache },
@@ -2867,7 +2867,7 @@ function Ct(e, t, n) {
2867
2867
  //#endregion
2868
2868
  //#region src/functions/getAttributes.ts
2869
2869
  function wt(e) {
2870
- let t = {}, n = C(e);
2870
+ let t = {}, n = w(e);
2871
2871
  if (n) for (let e of n.attributes) {
2872
2872
  var r;
2873
2873
  t[e.name] = (r = (e == null ? void 0 : e.value) || (e == null ? void 0 : e.textContent)) == null ? void 0 : r;
@@ -2883,13 +2883,13 @@ async function Tt(e) {
2883
2883
  //#endregion
2884
2884
  //#region src/functions/getCurrentDate.ts
2885
2885
  function Et(e = "datetime") {
2886
- return new Ae(void 0, e).standard();
2886
+ return new Oe(void 0, e).standard();
2887
2887
  }
2888
2888
  //#endregion
2889
2889
  //#region src/functions/getElementId.ts
2890
- var Dt = k(1e5, 9e5);
2890
+ var Dt = A(1e5, 9e5);
2891
2891
  function Ot(e, t) {
2892
- let n = C(e);
2892
+ let n = w(e);
2893
2893
  return n ? (s(n.id) || n.setAttribute("id", `id-${Dt++}`), t ? `#${n.id}${t}`.trim() : n.id) : `id-${Dt++}`;
2894
2894
  }
2895
2895
  //#endregion
@@ -2962,8 +2962,8 @@ function zt(e, t) {
2962
2962
  //#endregion
2963
2963
  //#region src/functions/getRandomText.ts
2964
2964
  function Bt(e, t, n = "#", r = 2, i = 12) {
2965
- let a = k(e, t), o = [];
2966
- for (let e = 0; e < a; e++) o.push(zt(n, k(r, i)));
2965
+ let a = A(e, t), o = [];
2966
+ for (let e = 0; e < a; e++) o.push(zt(n, A(r, i)));
2967
2967
  return o.join(" ");
2968
2968
  }
2969
2969
  //#endregion
@@ -3025,13 +3025,28 @@ function Kt(e, t, n = "smooth") {
3025
3025
  });
3026
3026
  }
3027
3027
  //#endregion
3028
+ //#region src/functions/isShare.ts
3029
+ function qt() {
3030
+ return d() && typeof navigator < "u" && !!navigator.share;
3031
+ }
3032
+ //#endregion
3033
+ //#region src/functions/handleShare.ts
3034
+ async function Jt(e) {
3035
+ if (qt() && navigator.canShare && navigator.canShare(e)) try {
3036
+ return await navigator.share(e), !0;
3037
+ } catch (e) {
3038
+ console.error("handleShare error:", e);
3039
+ }
3040
+ return !1;
3041
+ }
3042
+ //#endregion
3028
3043
  //#region src/functions/inArray.ts
3029
- function qt(e, t) {
3044
+ function Yt(e, t) {
3030
3045
  return e.indexOf(t) !== -1;
3031
3046
  }
3032
3047
  //#endregion
3033
3048
  //#region src/functions/initScrollbarOffset.ts
3034
- async function Jt() {
3049
+ async function Xt() {
3035
3050
  if (d()) {
3036
3051
  let e = await Y.get();
3037
3052
  document.body.style.setProperty("--sys-scrollbar-offset", `${e}px`);
@@ -3039,7 +3054,7 @@ async function Jt() {
3039
3054
  }
3040
3055
  //#endregion
3041
3056
  //#region src/functions/intersectKey.ts
3042
- function Yt(e, t) {
3057
+ function Zt(e, t) {
3043
3058
  let i = {};
3044
3059
  return n(e) && n(t) && r(e, (e, n) => {
3045
3060
  n in t && (i[n] = e);
@@ -3047,30 +3062,39 @@ function Yt(e, t) {
3047
3062
  }
3048
3063
  //#endregion
3049
3064
  //#region src/functions/isApiSuccess.ts
3050
- var Xt = (e) => {
3065
+ var Qt = (e) => {
3051
3066
  var t;
3052
- return a(e) ? !0 : !!(e && c(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || !(e == null || (t = e.statusObject) == null) && t.status && String(e.statusObject.status).match(/^2/) || !("status" in e) && !("success" in e) && !("statusObject" in e) && String(A.getStatus().getStatus()).match(/^2/)));
3067
+ return a(e) ? !0 : !!(e && c(e) && ((e == null ? void 0 : e.status) === "success" || e != null && e.success || !(e == null || (t = e.statusObject) == null) && t.status && String(e.statusObject.status).match(/^2/) || !("status" in e) && !("success" in e) && !("statusObject" in e) && String(j.getStatus().getStatus()).match(/^2/)));
3053
3068
  };
3054
3069
  //#endregion
3055
3070
  //#region src/functions/isDifferent.ts
3056
- function Zt(e, t) {
3071
+ function $t(e, t) {
3057
3072
  let n = Object.keys(e).length !== Object.keys(t).length;
3058
3073
  return n || r(e, (e, r) => {
3059
3074
  e !== (t == null ? void 0 : t[r]) && (n = !0);
3060
3075
  }), n;
3061
3076
  }
3062
3077
  //#endregion
3078
+ //#region src/functions/isElementVisible.ts
3079
+ function en(e) {
3080
+ if (!d()) return !1;
3081
+ let t = w(e);
3082
+ if (!t || "isConnected" in t && t.isConnected === !1) return !1;
3083
+ let n = window.getComputedStyle(t);
3084
+ return n.display !== "none" && n.visibility !== "hidden" && n.opacity !== "0" && t.offsetWidth !== 0 && t.offsetHeight !== 0;
3085
+ }
3086
+ //#endregion
3063
3087
  //#region src/functions/isInput.ts
3064
- var Qt = (e) => {
3088
+ var tn = (e) => {
3065
3089
  if (e instanceof HTMLElement) {
3066
3090
  let t = e.tagName.toLowerCase();
3067
3091
  return !!(t === "input" || t === "textarea" || t === "select" || e.isContentEditable || e.getAttribute("contenteditable") === "true");
3068
3092
  }
3069
3093
  return !1;
3070
- }, $t = (e, t) => e.code === "Space" || e.code === "Enter" || e.key === " " || e.key === "Spacebar" || e.key === "Enter" || e.keyCode === 13 || e.keyCode === 32 ? t === void 0 ? !Qt(e.target) : !t : !1;
3094
+ }, nn = (e, t) => e.code === "Space" || e.code === "Enter" || e.key === " " || e.key === "Spacebar" || e.key === "Enter" || e.keyCode === 13 || e.keyCode === 32 ? t === void 0 ? !tn(e.target) : !t : !1;
3071
3095
  //#endregion
3072
3096
  //#region src/functions/isFloat.ts
3073
- function en(e) {
3097
+ function rn(e) {
3074
3098
  switch (typeof e) {
3075
3099
  case "number": return !0;
3076
3100
  case "string": return !!e.match(/^([0-9]+|[0-9]+\.[0-9]+)$/);
@@ -3079,18 +3103,18 @@ function en(e) {
3079
3103
  }
3080
3104
  //#endregion
3081
3105
  //#region src/functions/isIntegerBetween.ts
3082
- function tn(e, t) {
3106
+ function an(e, t) {
3083
3107
  let n = Math.floor(t);
3084
3108
  return e >= n && e < n + 1;
3085
3109
  }
3086
3110
  //#endregion
3087
3111
  //#region src/functions/isSelectedByList.ts
3088
- function nn(e, t) {
3112
+ function on(e, t) {
3089
3113
  return Array.isArray(e) ? e.every((e) => m(e, t)) : m(e, t);
3090
3114
  }
3091
3115
  //#endregion
3092
3116
  //#region src/functions/removeCommonPrefix.ts
3093
- function rn(e, t) {
3117
+ function sn(e, t) {
3094
3118
  if (e.startsWith(t)) return e.slice(t.length).trim();
3095
3119
  let n = 0;
3096
3120
  for (; e[n] === t[n] && n < e.length && n < t.length;) n++;
@@ -3098,13 +3122,13 @@ function rn(e, t) {
3098
3122
  }
3099
3123
  //#endregion
3100
3124
  //#region src/functions/replaceComponentName.ts
3101
- var an = (e, t, n) => {
3125
+ var cn = (e, t, n) => {
3102
3126
  var r;
3103
3127
  return e == null || (r = e.replace(RegExp(`<${t}`, "ig"), `<${n}`)) == null || (r = r.replace(RegExp(`</${t}`, "ig"), `</${n}`)) == null ? void 0 : r.trim();
3104
3128
  };
3105
3129
  //#endregion
3106
3130
  //#region src/functions/uniqueArray.ts
3107
- function on(e) {
3131
+ function ln(e) {
3108
3132
  return [...new Set(e)];
3109
3133
  }
3110
3134
  //#endregion
@@ -3113,12 +3137,12 @@ function $(e, t, i = !0) {
3113
3137
  let a = u(e);
3114
3138
  return n(e) && n(t) && r(t, (t, r) => {
3115
3139
  let o = e == null ? void 0 : e[r];
3116
- n(o) && n(t) ? i && Array.isArray(o) && Array.isArray(t) ? a[r] = u(on([...o, ...t])) : a[r] = $(Array.isArray(o) ? { ...o } : o, t, i) : a[r] = n(t) ? u(t) : t;
3140
+ n(o) && n(t) ? i && Array.isArray(o) && Array.isArray(t) ? a[r] = u(ln([...o, ...t])) : a[r] = $(Array.isArray(o) ? { ...o } : o, t, i) : a[r] = n(t) ? u(t) : t;
3117
3141
  }), a;
3118
3142
  }
3119
3143
  //#endregion
3120
3144
  //#region src/functions/replaceTemplate.ts
3121
- function sn(e, t) {
3145
+ function un(e, t) {
3122
3146
  let n = e;
3123
3147
  return r(t, (e, t) => {
3124
3148
  n = n.replace(it(`[${t}]`), g(e));
@@ -3126,13 +3150,13 @@ function sn(e, t) {
3126
3150
  }
3127
3151
  //#endregion
3128
3152
  //#region src/functions/secondToTime.ts
3129
- function cn(e) {
3153
+ function dn(e) {
3130
3154
  let t = p(e);
3131
3155
  return t > 0 ? `${String(Math.floor(t / 60)).padStart(2, "0")}:${String(t % 60).padStart(2, "0")}` : "00:00";
3132
3156
  }
3133
3157
  //#endregion
3134
3158
  //#region src/functions/setValues.ts
3135
- function ln(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: i = !0, notEmpty: o = !1 }) {
3159
+ function fn(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: i = !0, notEmpty: o = !1 }) {
3136
3160
  if (n) {
3137
3161
  if (a(e)) {
3138
3162
  let n = e.indexOf(t), i = [...e];
@@ -3144,7 +3168,7 @@ function ln(e, t, { multiple: n = !1, maxlength: r = 0, alwaysChange: i = !0, no
3144
3168
  }
3145
3169
  //#endregion
3146
3170
  //#region src/functions/splice.ts
3147
- function un(e, t, i) {
3171
+ function pn(e, t, i) {
3148
3172
  if (n(e) && n(t)) {
3149
3173
  if (i) {
3150
3174
  let a = {}, o = !1;
@@ -3158,34 +3182,34 @@ function un(e, t, i) {
3158
3182
  }
3159
3183
  //#endregion
3160
3184
  //#region src/functions/toCamelCaseFirst.ts
3161
- function dn(e) {
3162
- return Me(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
3185
+ function mn(e) {
3186
+ return Ae(e).replace(/^([a-z])/, (e) => `${e.toUpperCase()}`);
3163
3187
  }
3164
3188
  //#endregion
3165
3189
  //#region src/functions/toKebabCase.ts
3166
- function fn(e) {
3190
+ function hn(e) {
3167
3191
  return e.toString().trim().replace(/[^\w-. ]+/g, "").replace(/[ .]+/g, "-").replace(/(?<=[A-Z])([A-Z])/g, (e) => `${e.toLowerCase()}`).replace(/^[A-Z]/, (e) => e.toLowerCase()).replace(/(?<=[\w ])[A-Z]/g, (e) => `-${e.toLowerCase()}`).replace(/[A-Z]/g, (e) => e.toLowerCase());
3168
3192
  }
3169
3193
  //#endregion
3170
3194
  //#region src/functions/toNumberByMax.ts
3171
- function pn(e, t, n, r) {
3195
+ function gn(e, t, n, r) {
3172
3196
  let i = p(e), a = p(t);
3173
- return t && a < i ? `${mn(a, n, r)}+` : mn(i, n, r);
3197
+ return t && a < i ? `${_n(a, n, r)}+` : _n(i, n, r);
3174
3198
  }
3175
- var mn = (e, t, n) => t ? new P(n).number(e) : e;
3199
+ var _n = (e, t, n) => t ? new F(n).number(e) : e;
3176
3200
  //#endregion
3177
3201
  //#region src/functions/toPercent.ts
3178
- function hn(e, t) {
3202
+ function vn(e, t) {
3179
3203
  return 1 / e * t;
3180
3204
  }
3181
3205
  //#endregion
3182
3206
  //#region src/functions/toPercentBy100.ts
3183
- function gn(e, t) {
3184
- return hn(e, t) * 100;
3207
+ function yn(e, t) {
3208
+ return vn(e, t) * 100;
3185
3209
  }
3186
3210
  //#endregion
3187
3211
  //#region src/functions/uint8ArrayToBase64.ts
3188
- function _n(e) {
3212
+ function bn(e) {
3189
3213
  let t = "";
3190
3214
  for (let n of e) t += String.fromCharCode(n);
3191
3215
  if (d()) return window.btoa(t);
@@ -3197,7 +3221,7 @@ function _n(e) {
3197
3221
  }
3198
3222
  //#endregion
3199
3223
  //#region src/functions/writeClipboardData.ts
3200
- async function vn(e) {
3224
+ async function xn(e) {
3201
3225
  if (d()) try {
3202
3226
  await navigator.clipboard.writeText(e);
3203
3227
  } catch (n) {
@@ -3206,4 +3230,4 @@ async function vn(e) {
3206
3230
  }
3207
3231
  }
3208
3232
  //#endregion
3209
- export { A as Api, de as ApiDefault, ue as ApiHeaders, D as ApiMethodItem, he as ApiPreparation, me as ApiResponse, O as ApiStatus, _e as BroadcastMessage, be as Cache, ye as CacheItem, Se as CacheStatic, Ee as Cookie, j as CookieBlock, b as DataStorage, Ae as Datetime, T as EventItem, Ne as Formatters, L as FormattersType, Pe as GEO_FLAG_ICON_NAME, S as Geo, Fe as GeoFlag, P as GeoIntl, z as GeoPhone, Ie as Global, H as Hash, U as Icons, E as Loading, $e as Meta, G as MetaManager, Ze as MetaOg, Je as MetaOpenGraphAge, Ke as MetaOpenGraphAvailability, qe as MetaOpenGraphCondition, Ye as MetaOpenGraphGender, q as MetaOpenGraphTag, Ge as MetaOpenGraphType, We as MetaRobots, K as MetaTag, Qe as MetaTwitter, Xe as MetaTwitterCard, J as MetaTwitterTag, Y as ScrollbarWidth, lt as SearchList, nt as SearchListData, rt as SearchListItem, st as SearchListMatcher, ct as SearchListOptions, ft as TRANSLATE_GLOBAL_PREFIX, pt as TRANSLATE_TIME_OUT, Q as Translate, Z as TranslateFile, tt as addTagHighlightMatch, F as anyToString, dt as applyTemplate, mt as arrFill, ht as blobToBase64, u as copyObject, t as copyObjectLite, W as createElement, gt as domQuerySelector, _t as domQuerySelectorAll, Ue as encodeAttribute, xt as ensureMaxSize, X as escapeExp, St as eventStopPropagation, g as executeFunction, fe as executePromise, r as forEach, Ct as frame, wt as getAttributes, Tt as getClipboardData, Oe as getColumn, Et as getCurrentDate, C as getElement, Ot as getElementId, vt as getElementImage, Ve as getElementItem, oe as getElementOrWindow, at as getExactSearchExp, it as getExp, I as getItemByPath, kt as getKey, At as getLengthOfAllArray, jt as getMaxLengthAllArray, Mt as getMinLengthAllArray, Ft as getMouseClient, Nt as getMouseClientX, Pt as getMouseClientY, It as getObjectByKeys, Lt as getObjectNoUndefined, Rt as getObjectOrNone, Bt as getRandomText, i as getRequestString, ot as getSearchExp, et as getSeparatingSearchExp, Vt as getStepPercent, Ht as getStepValue, Wt as goScroll, Gt as goScrollSmooth, Kt as goScrollTo, qt as inArray, Jt as initScrollbarOffset, Yt as intersectKey, Xt as isApiSuccess, a as isArray, Zt as isDifferent, _ as isDomData, d as isDomRuntime, $t as isEnter, s as isFilled, en as isFloat, h as isFunction, se as isInDom, Qt as isInput, tn as isIntegerBetween, o as isNull, f as isNumber, n as isObject, c as isObjectNotArray, m as isSelected, nn as isSelectedByList, l as isString, ae as isWindow, k as random, rn as removeCommonPrefix, an as replaceComponentName, $ as replaceRecursive, sn as replaceTemplate, bt as resizeImageByMax, cn as secondToTime, He as setElementItem, ln as setValues, un as splice, zt as strFill, je as strSplit, w as toArray, Me as toCamelCase, dn as toCamelCaseFirst, N as toDate, fn as toKebabCase, p as toNumber, pn as toNumberByMax, hn as toPercent, gn as toPercentBy100, Ce as transformation, _n as uint8ArrayToBase64, on as uniqueArray, vn as writeClipboardData };
3233
+ export { j as Api, ue as ApiDefault, le as ApiHeaders, O as ApiMethodItem, me as ApiPreparation, pe as ApiResponse, k as ApiStatus, ge as BroadcastMessage, ye as Cache, ve as CacheItem, xe as CacheStatic, Ee as Cookie, we as CookieBlock, x as DataStorage, Oe as Datetime, oe as EventItem, je as Formatters, z as FormattersType, Me as GEO_FLAG_ICON_NAME, C as Geo, Ne as GeoFlag, F as GeoIntl, B as GeoPhone, Fe as Global, H as Hash, U as Icons, D as Loading, $e as Meta, G as MetaManager, Ze as MetaOg, Je as MetaOpenGraphAge, Ke as MetaOpenGraphAvailability, qe as MetaOpenGraphCondition, Ye as MetaOpenGraphGender, q as MetaOpenGraphTag, Ge as MetaOpenGraphType, We as MetaRobots, K as MetaTag, Qe as MetaTwitter, Xe as MetaTwitterCard, J as MetaTwitterTag, Y as ScrollbarWidth, lt as SearchList, nt as SearchListData, rt as SearchListItem, st as SearchListMatcher, ct as SearchListOptions, ft as TRANSLATE_GLOBAL_PREFIX, pt as TRANSLATE_TIME_OUT, Q as Translate, Z as TranslateFile, tt as addTagHighlightMatch, L as anyToString, dt as applyTemplate, mt as arrFill, ht as blobToBase64, u as copyObject, t as copyObjectLite, W as createElement, gt as domQuerySelector, _t as domQuerySelectorAll, Ue as encodeAttribute, xt as ensureMaxSize, X as escapeExp, St as eventStopPropagation, g as executeFunction, de as executePromise, r as forEach, Ct as frame, wt as getAttributes, Tt as getClipboardData, De as getColumn, Et as getCurrentDate, w as getElement, Ot as getElementId, vt as getElementImage, Ve as getElementItem, T as getElementOrWindow, at as getExactSearchExp, it as getExp, R as getItemByPath, kt as getKey, At as getLengthOfAllArray, jt as getMaxLengthAllArray, Mt as getMinLengthAllArray, Ft as getMouseClient, Nt as getMouseClientX, Pt as getMouseClientY, It as getObjectByKeys, Lt as getObjectNoUndefined, Rt as getObjectOrNone, Bt as getRandomText, i as getRequestString, ot as getSearchExp, et as getSeparatingSearchExp, Vt as getStepPercent, Ht as getStepValue, Wt as goScroll, Gt as goScrollSmooth, Kt as goScrollTo, Jt as handleShare, Yt as inArray, Xt as initScrollbarOffset, Zt as intersectKey, Qt as isApiSuccess, a as isArray, $t as isDifferent, _ as isDomData, d as isDomRuntime, en as isElementVisible, nn as isEnter, s as isFilled, rn as isFloat, h as isFunction, ae as isInDom, tn as isInput, an as isIntegerBetween, o as isNull, f as isNumber, n as isObject, c as isObjectNotArray, m as isSelected, on as isSelectedByList, qt as isShare, l as isString, ie as isWindow, A as random, sn as removeCommonPrefix, cn as replaceComponentName, $ as replaceRecursive, un as replaceTemplate, bt as resizeImageByMax, dn as secondToTime, He as setElementItem, fn as setValues, pn as splice, zt as strFill, ke as strSplit, E as toArray, Ae as toCamelCase, mn as toCamelCaseFirst, P as toDate, hn as toKebabCase, p as toNumber, gn as toNumberByMax, vn as toPercent, yn as toPercentBy100, Se as transformation, bn as uint8ArrayToBase64, ln as uniqueArray, xn as writeClipboardData };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/functional-basic",
3
3
  "private": false,
4
- "version": "0.11.3",
4
+ "version": "0.12.0",
5
5
  "type": "module",
6
6
  "description": "Foundational utility library for modern web development — HTTP client, geolocation, i18n, SEO meta tags, caching, storage, DOM utilities, and more. Framework-agnostic, zero dependencies, TypeScript-first.",
7
7
  "keywords": [