@webitel/ui-sdk 25.12.8 → 25.12.9

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 (36) hide show
  1. package/dist/{install-C6GgMArq.js → install-Del5dljh.js} +321 -319
  2. package/dist/ui-sdk.js +1 -1
  3. package/dist/ui-sdk.umd.cjs +5 -5
  4. package/dist/{vidstack-Bq6c3Bam-DfBkeKnD.js → vidstack-Bq6c3Bam-Bp5KShrn.js} +2 -2
  5. package/dist/{vidstack-D2pY00kU-BorFHKCo.js → vidstack-D2pY00kU-Bxz2ak0x.js} +2 -2
  6. package/dist/{vidstack-DDXt6fpN-D6TbwvC6.js → vidstack-DDXt6fpN-DAnNQpWz.js} +1 -1
  7. package/dist/{vidstack-D_-9AA6_-DtZ20VFs.js → vidstack-D_-9AA6_-BbhomSRW.js} +1 -1
  8. package/dist/{vidstack-DqAw8m9J-Dk3XVDGL.js → vidstack-DqAw8m9J-CqRk91yd.js} +1 -1
  9. package/dist/{vidstack-audio-EXZc7ueP.js → vidstack-audio-Ck_jHWve.js} +2 -2
  10. package/dist/{vidstack-dash-CVUVfXgT.js → vidstack-dash-tBgxlbtk.js} +3 -3
  11. package/dist/{vidstack-google-cast-CwI-qa3O.js → vidstack-google-cast-CKCnNRm8.js} +3 -3
  12. package/dist/{vidstack-hls-BhoTh4j3.js → vidstack-hls-CLJGBRHC.js} +3 -3
  13. package/dist/{vidstack-video-BqsgiLMJ.js → vidstack-video-DrDl3ZAI.js} +2 -2
  14. package/dist/{vidstack-vimeo-SrsP-ALw.js → vidstack-vimeo-Bf6apfXM.js} +3 -3
  15. package/dist/{vidstack-youtube-BBy2AE7B.js → vidstack-youtube-Dfy2RI0l.js} +2 -2
  16. package/package.json +1 -1
  17. package/src/locale/en/en.js +20 -0
  18. package/src/locale/es/es.js +20 -0
  19. package/src/locale/kz/kz.js +20 -0
  20. package/src/locale/pl/pl.js +20 -0
  21. package/src/locale/ro/ro.js +20 -0
  22. package/src/locale/ru/ru.js +20 -0
  23. package/src/locale/uk/uk.js +20 -0
  24. package/src/locale/uz/uz.js +20 -1
  25. package/src/locale/vi/vi.js +20 -0
  26. package/types/locale/en/en.d.ts +20 -0
  27. package/types/locale/es/es.d.ts +25 -0
  28. package/types/locale/i18n.d.ts +180 -0
  29. package/types/locale/index.d.ts +180 -0
  30. package/types/locale/kz/kz.d.ts +25 -0
  31. package/types/locale/pl/pl.d.ts +25 -0
  32. package/types/locale/ro/ro.d.ts +25 -0
  33. package/types/locale/ru/ru.d.ts +25 -0
  34. package/types/locale/uk/uk.d.ts +25 -0
  35. package/types/locale/uz/uz.d.ts +25 -0
  36. package/types/locale/vi/vi.d.ts +25 -0
@@ -13,7 +13,7 @@ var TC = (o, i, n, a) => ({
13
13
  return v(o, i, a);
14
14
  }
15
15
  });
16
- import { ref as Pe, onBeforeUnmount as zf, resolveComponent as he, resolveDirective as no, withDirectives as st, createElementBlock as L, openBlock as k, createVNode as ke, createCommentVNode as N, nextTick as _a, defineComponent as Lt, computed as ge, renderSlot as Q, toDisplayString as Ie, createTextVNode as Ke, unref as se, withCtx as ce, Fragment as Be, renderList as tt, createElementVNode as U, normalizeClass as Ae, vShow as Ii, getCurrentInstance as cu, inject as Ou, shallowRef as gd, watch as to, onMounted as Vo, onUnmounted as cs, h as X_, Text as UV, createBlock as oe, mergeProps as B, Transition as Si, normalizeProps as ut, guardReactiveProps as St, withModifiers as Mt, normalizeStyle as Bo, effectScope as VV, reactive as yp, useAttrs as Q3, useTemplateRef as hd, mergeModels as pu, useModel as uu, useSlots as pl, toRef as fu, isRef as Xd, createSlots as Lo, resolveDynamicComponent as et, Teleport as Q_, withKeys as xt, getCurrentScope as Q7, onScopeDispose as J7, onBeforeUpdate as HV, readonly as J_, customRef as KV, toValue as Tn, isReactive as GV, toRefs as J3, TransitionGroup as eO, toHandlers as tr, shallowReadonly as qp, provide as WV, useId as ZV } from "vue";
16
+ import { ref as Pe, onBeforeUnmount as zf, resolveComponent as he, resolveDirective as no, withDirectives as st, createElementBlock as L, openBlock as k, createVNode as ke, createCommentVNode as N, nextTick as _a, defineComponent as Lt, computed as ge, renderSlot as Q, toDisplayString as Ie, createTextVNode as Ke, unref as se, withCtx as ce, Fragment as Be, renderList as tt, createElementVNode as U, normalizeClass as Ae, vShow as Ii, getCurrentInstance as cu, inject as Ou, shallowRef as gd, watch as to, onMounted as Ho, onUnmounted as cs, h as X_, Text as UV, createBlock as oe, mergeProps as B, Transition as Si, normalizeProps as ut, guardReactiveProps as St, withModifiers as Mt, normalizeStyle as Bo, effectScope as VV, reactive as yp, useAttrs as Q3, useTemplateRef as hd, mergeModels as pu, useModel as uu, useSlots as pl, toRef as fu, isRef as Xd, createSlots as Lo, resolveDynamicComponent as et, Teleport as Q_, withKeys as xt, getCurrentScope as Q7, onScopeDispose as J7, onBeforeUpdate as HV, readonly as J_, customRef as KV, toValue as Tn, isReactive as GV, toRefs as J3, TransitionGroup as eO, toHandlers as tr, shallowReadonly as qp, provide as WV, useId as ZV } from "vue";
17
17
  import "@aliasedDeps/api-services/axios";
18
18
  const YV = (o) => o.replace(
19
19
  /([a-z])([_])([a-z])/g,
@@ -10740,7 +10740,7 @@ function mae(o, i = !1) {
10740
10740
  }
10741
10741
  function bae(o, i, n) {
10742
10742
  let a = null;
10743
- Vo(() => {
10743
+ Ho(() => {
10744
10744
  if (Xe.env.NODE_ENV !== "production" && i.vnode.el) {
10745
10745
  i.vnode.el.__VUE_I18N__ = n, a = kie();
10746
10746
  const s = n;
@@ -11250,7 +11250,7 @@ const Jae = [
11250
11250
  ], ere = [
11251
11251
  (o) => o,
11252
11252
  (o) => (o.response && o.response.status === 401 && (console.warn("intercepted 401"), localStorage.removeItem("access-token")), Promise.reject(o))
11253
- ], Co = () => {
11253
+ ], go = () => {
11254
11254
  const o = {
11255
11255
  arrayFormat: "repeat"
11256
11256
  };
@@ -12329,7 +12329,7 @@ class kre {
12329
12329
  this.apiKey = i.apiKey, this.username = i.username, this.password = i.password, this.accessToken = i.accessToken, this.basePath = i.basePath, this.baseOptions = i.baseOptions;
12330
12330
  }
12331
12331
  }
12332
- const Ho = () => new kre({
12332
+ const Mo = () => new kre({
12333
12333
  basePath: "/api",
12334
12334
  apiKey: localStorage.getItem("access-key") || "",
12335
12335
  accessToken: localStorage.getItem("access-key") || ""
@@ -12813,7 +12813,7 @@ const tse = (o = "search") => (i) => {
12813
12813
  }
12814
12814
  }
12815
12815
  })), CR = (o) => {
12816
- const i = Co();
12816
+ const i = go();
12817
12817
  return {
12818
12818
  getPermissionsList: async ({ parentId: s, ...l }) => {
12819
12819
  const d = ["page", "size", "q", "sort", "fields", "id"], p = {
@@ -57116,74 +57116,76 @@ r({
57116
57116
  }).optional()
57117
57117
  }).optional()
57118
57118
  });
57119
- Co();
57120
- Ho();
57121
- Co();
57122
- Ho();
57123
- Co();
57124
- Ho();
57125
- Co();
57126
- Ho();
57127
- Co();
57128
- Ho();
57129
- Co();
57130
- Ho();
57131
- Co();
57132
- Ho();
57133
- Co();
57134
- Ho();
57135
- Co();
57136
- Ho();
57137
- Co();
57138
- Co();
57139
- Ho();
57140
- Co();
57141
- Ho();
57142
- Co();
57143
- Ho();
57119
+ go();
57120
+ Mo();
57121
+ go();
57122
+ Mo();
57123
+ go();
57124
+ Mo();
57125
+ go();
57126
+ Mo();
57127
+ go();
57128
+ Mo();
57129
+ go();
57130
+ Mo();
57131
+ go();
57132
+ Mo();
57133
+ go();
57134
+ Mo();
57135
+ go();
57136
+ Mo();
57137
+ go();
57138
+ go();
57139
+ Mo();
57140
+ go();
57141
+ Mo();
57142
+ go();
57143
+ Mo();
57144
57144
  const due = "/contacts/groups";
57145
57145
  ({
57146
57146
  ...CR(due)
57147
57147
  });
57148
- Co();
57149
- Ho();
57150
- Co();
57151
- Co();
57152
- Ho();
57153
- Co();
57154
- Ho();
57155
- Co();
57156
- Ho();
57157
- Co();
57158
- Ho();
57148
+ go();
57149
+ Mo();
57150
+ go();
57151
+ go();
57152
+ Mo();
57153
+ go();
57154
+ Mo();
57155
+ go();
57156
+ Mo();
57157
+ go();
57158
+ Mo();
57159
57159
  localStorage.getItem("access-token");
57160
57160
  ci.create({
57161
57161
  headers: {
57162
57162
  "content-type": "multipart/form-data"
57163
57163
  }
57164
57164
  });
57165
- Co();
57166
- Ho();
57167
- Co();
57168
- Ho();
57169
- Co();
57170
- Ho();
57171
- Co();
57172
- Ho();
57173
- Co();
57174
- Ho();
57175
- Co();
57165
+ go();
57166
+ Mo();
57167
+ go();
57168
+ Mo();
57169
+ go();
57170
+ Mo();
57171
+ go();
57172
+ Mo();
57173
+ go();
57174
+ Mo();
57175
+ go();
57176
+ Mo();
57177
+ go();
57176
57178
  const cue = "/users";
57177
57179
  ({
57178
57180
  ...CR(cue)
57179
57181
  });
57180
- Co();
57181
- Co();
57182
- Ho();
57183
- Co();
57184
- Ho();
57185
- Co();
57186
- Ho();
57182
+ go();
57183
+ go();
57184
+ Mo();
57185
+ go();
57186
+ Mo();
57187
+ go();
57188
+ Mo();
57187
57189
  const pue = {
57188
57190
  __name: "wt-transition",
57189
57191
  props: {
@@ -60474,13 +60476,13 @@ function ffe(o, i) {
60474
60476
  function Kl(o, i) {
60475
60477
  return Rt(o, i == null ? void 0 : i.in).getMinutes();
60476
60478
  }
60477
- function Fo(o, i) {
60479
+ function No(o, i) {
60478
60480
  return Rt(o, i == null ? void 0 : i.in).getMonth();
60479
60481
  }
60480
60482
  function yu(o) {
60481
60483
  return Rt(o).getSeconds();
60482
60484
  }
60483
- function No(o, i) {
60485
+ function zo(o, i) {
60484
60486
  return Rt(o, i == null ? void 0 : i.in).getFullYear();
60485
60487
  }
60486
60488
  function Wv(o, i) {
@@ -60536,7 +60538,7 @@ class yfe extends YR {
60536
60538
  return a.timestampIsSet ? n : Eo(n, hfe(n, this.context));
60537
60539
  }
60538
60540
  }
60539
- class go {
60541
+ class yo {
60540
60542
  run(i, n, a, s) {
60541
60543
  const l = this.parse(i, n, a, s);
60542
60544
  return l ? {
@@ -60554,7 +60556,7 @@ class go {
60554
60556
  return !0;
60555
60557
  }
60556
60558
  }
60557
- class vfe extends go {
60559
+ class vfe extends yo {
60558
60560
  constructor() {
60559
60561
  super(...arguments);
60560
60562
  ee(this, "priority", 140);
@@ -60715,7 +60717,7 @@ function QR(o, i) {
60715
60717
  function JR(o) {
60716
60718
  return o % 400 === 0 || o % 4 === 0 && o % 100 !== 0;
60717
60719
  }
60718
- class wfe extends go {
60720
+ class wfe extends yo {
60719
60721
  constructor() {
60720
60722
  super(...arguments);
60721
60723
  ee(this, "priority", 130);
@@ -60756,7 +60758,7 @@ class wfe extends go {
60756
60758
  return n.setFullYear(d, 0, 1), n.setHours(0, 0, 0, 0), n;
60757
60759
  }
60758
60760
  }
60759
- class Cfe extends go {
60761
+ class Cfe extends yo {
60760
60762
  constructor() {
60761
60763
  super(...arguments);
60762
60764
  ee(this, "priority", 130);
@@ -60815,7 +60817,7 @@ class Cfe extends go {
60815
60817
  return n.setFullYear(p, 0, l.firstWeekContainsDate), n.setHours(0, 0, 0, 0), Xr(n, l);
60816
60818
  }
60817
60819
  }
60818
- class kfe extends go {
60820
+ class kfe extends yo {
60819
60821
  constructor() {
60820
60822
  super(...arguments);
60821
60823
  ee(this, "priority", 130);
@@ -60845,7 +60847,7 @@ class kfe extends go {
60845
60847
  return l.setFullYear(s, 0, 4), l.setHours(0, 0, 0, 0), gu(l);
60846
60848
  }
60847
60849
  }
60848
- class xfe extends go {
60850
+ class xfe extends yo {
60849
60851
  constructor() {
60850
60852
  super(...arguments);
60851
60853
  ee(this, "priority", 130);
@@ -60858,7 +60860,7 @@ class xfe extends go {
60858
60860
  return n.setFullYear(s, 0, 1), n.setHours(0, 0, 0, 0), n;
60859
60861
  }
60860
60862
  }
60861
- class Ife extends go {
60863
+ class Ife extends yo {
60862
60864
  constructor() {
60863
60865
  super(...arguments);
60864
60866
  ee(this, "priority", 120);
@@ -60925,7 +60927,7 @@ class Ife extends go {
60925
60927
  return n.setMonth((s - 1) * 3, 1), n.setHours(0, 0, 0, 0), n;
60926
60928
  }
60927
60929
  }
60928
- class Sfe extends go {
60930
+ class Sfe extends yo {
60929
60931
  constructor() {
60930
60932
  super(...arguments);
60931
60933
  ee(this, "priority", 120);
@@ -60992,7 +60994,7 @@ class Sfe extends go {
60992
60994
  return n.setMonth((s - 1) * 3, 1), n.setHours(0, 0, 0, 0), n;
60993
60995
  }
60994
60996
  }
60995
- class Afe extends go {
60997
+ class Afe extends yo {
60996
60998
  constructor() {
60997
60999
  super(...arguments);
60998
61000
  ee(this, "incompatibleTokens", [
@@ -61060,7 +61062,7 @@ class Afe extends go {
61060
61062
  return n.setMonth(s, 1), n.setHours(0, 0, 0, 0), n;
61061
61063
  }
61062
61064
  }
61063
- class Tfe extends go {
61065
+ class Tfe extends yo {
61064
61066
  constructor() {
61065
61067
  super(...arguments);
61066
61068
  ee(this, "priority", 110);
@@ -61132,7 +61134,7 @@ function Efe(o, i, n) {
61132
61134
  const a = Rt(o, n == null ? void 0 : n.in), s = Gv(a, n) - i;
61133
61135
  return a.setDate(a.getDate() - s * 7), Rt(a, n == null ? void 0 : n.in);
61134
61136
  }
61135
- class _fe extends go {
61137
+ class _fe extends yo {
61136
61138
  constructor() {
61137
61139
  super(...arguments);
61138
61140
  ee(this, "priority", 100);
@@ -61173,7 +61175,7 @@ function Ofe(o, i, n) {
61173
61175
  const a = Rt(o, n == null ? void 0 : n.in), s = Hv(a, n) - i;
61174
61176
  return a.setDate(a.getDate() - s * 7), a;
61175
61177
  }
61176
- class Dfe extends go {
61178
+ class Dfe extends yo {
61177
61179
  constructor() {
61178
61180
  super(...arguments);
61179
61181
  ee(this, "priority", 100);
@@ -61225,7 +61227,7 @@ const Rfe = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Lfe = [
61225
61227
  30,
61226
61228
  31
61227
61229
  ];
61228
- class Pfe extends go {
61230
+ class Pfe extends yo {
61229
61231
  constructor() {
61230
61232
  super(...arguments);
61231
61233
  ee(this, "priority", 90);
@@ -61263,7 +61265,7 @@ class Pfe extends go {
61263
61265
  return n.setDate(s), n.setHours(0, 0, 0, 0), n;
61264
61266
  }
61265
61267
  }
61266
- class Bfe extends go {
61268
+ class Bfe extends yo {
61267
61269
  constructor() {
61268
61270
  super(...arguments);
61269
61271
  ee(this, "priority", 90);
@@ -61310,7 +61312,7 @@ function Xv(o, i, n) {
61310
61312
  const a = Ap(), s = (n == null ? void 0 : n.weekStartsOn) ?? ((y = (g = n == null ? void 0 : n.locale) == null ? void 0 : g.options) == null ? void 0 : y.weekStartsOn) ?? a.weekStartsOn ?? ((A = (w = a.locale) == null ? void 0 : w.options) == null ? void 0 : A.weekStartsOn) ?? 0, l = Rt(o, n == null ? void 0 : n.in), d = l.getDay(), u = (i % 7 + 7) % 7, h = 7 - s, b = i < 0 || i > 6 ? i - (d + h) % 7 : (u + h) % 7 - (d + h) % 7;
61311
61313
  return Kr(l, b, n);
61312
61314
  }
61313
- class $fe extends go {
61315
+ class $fe extends yo {
61314
61316
  constructor() {
61315
61317
  super(...arguments);
61316
61318
  ee(this, "priority", 90);
@@ -61351,7 +61353,7 @@ class $fe extends go {
61351
61353
  return n = Xv(n, s, l), n.setHours(0, 0, 0, 0), n;
61352
61354
  }
61353
61355
  }
61354
- class Mfe extends go {
61356
+ class Mfe extends yo {
61355
61357
  constructor() {
61356
61358
  super(...arguments);
61357
61359
  ee(this, "priority", 90);
@@ -61422,7 +61424,7 @@ class Mfe extends go {
61422
61424
  return n = Xv(n, s, l), n.setHours(0, 0, 0, 0), n;
61423
61425
  }
61424
61426
  }
61425
- class jfe extends go {
61427
+ class jfe extends yo {
61426
61428
  constructor() {
61427
61429
  super(...arguments);
61428
61430
  ee(this, "priority", 90);
@@ -61497,7 +61499,7 @@ function qfe(o, i, n) {
61497
61499
  const a = Rt(o, n == null ? void 0 : n.in), s = ffe(a, n), l = i - s;
61498
61500
  return Kr(a, l, n);
61499
61501
  }
61500
- class Ffe extends go {
61502
+ class Ffe extends yo {
61501
61503
  constructor() {
61502
61504
  super(...arguments);
61503
61505
  ee(this, "priority", 90);
@@ -61593,7 +61595,7 @@ class Ffe extends go {
61593
61595
  return n = qfe(n, s), n.setHours(0, 0, 0, 0), n;
61594
61596
  }
61595
61597
  }
61596
- class Nfe extends go {
61598
+ class Nfe extends yo {
61597
61599
  constructor() {
61598
61600
  super(...arguments);
61599
61601
  ee(this, "priority", 80);
@@ -61634,7 +61636,7 @@ class Nfe extends go {
61634
61636
  return n.setHours(Yv(s), 0, 0, 0), n;
61635
61637
  }
61636
61638
  }
61637
- class zfe extends go {
61639
+ class zfe extends yo {
61638
61640
  constructor() {
61639
61641
  super(...arguments);
61640
61642
  ee(this, "priority", 80);
@@ -61675,7 +61677,7 @@ class zfe extends go {
61675
61677
  return n.setHours(Yv(s), 0, 0, 0), n;
61676
61678
  }
61677
61679
  }
61678
- class Ufe extends go {
61680
+ class Ufe extends yo {
61679
61681
  constructor() {
61680
61682
  super(...arguments);
61681
61683
  ee(this, "priority", 80);
@@ -61716,7 +61718,7 @@ class Ufe extends go {
61716
61718
  return n.setHours(Yv(s), 0, 0, 0), n;
61717
61719
  }
61718
61720
  }
61719
- class Vfe extends go {
61721
+ class Vfe extends yo {
61720
61722
  constructor() {
61721
61723
  super(...arguments);
61722
61724
  ee(this, "priority", 70);
@@ -61740,7 +61742,7 @@ class Vfe extends go {
61740
61742
  return l && s < 12 ? n.setHours(s + 12, 0, 0, 0) : !l && s === 12 ? n.setHours(0, 0, 0, 0) : n.setHours(s, 0, 0, 0), n;
61741
61743
  }
61742
61744
  }
61743
- class Hfe extends go {
61745
+ class Hfe extends yo {
61744
61746
  constructor() {
61745
61747
  super(...arguments);
61746
61748
  ee(this, "priority", 70);
@@ -61763,7 +61765,7 @@ class Hfe extends go {
61763
61765
  return n.setHours(s, 0, 0, 0), n;
61764
61766
  }
61765
61767
  }
61766
- class Kfe extends go {
61768
+ class Kfe extends yo {
61767
61769
  constructor() {
61768
61770
  super(...arguments);
61769
61771
  ee(this, "priority", 70);
@@ -61786,7 +61788,7 @@ class Kfe extends go {
61786
61788
  return n.getHours() >= 12 && s < 12 ? n.setHours(s + 12, 0, 0, 0) : n.setHours(s, 0, 0, 0), n;
61787
61789
  }
61788
61790
  }
61789
- class Gfe extends go {
61791
+ class Gfe extends yo {
61790
61792
  constructor() {
61791
61793
  super(...arguments);
61792
61794
  ee(this, "priority", 70);
@@ -61810,7 +61812,7 @@ class Gfe extends go {
61810
61812
  return n.setHours(l, 0, 0, 0), n;
61811
61813
  }
61812
61814
  }
61813
- class Wfe extends go {
61815
+ class Wfe extends yo {
61814
61816
  constructor() {
61815
61817
  super(...arguments);
61816
61818
  ee(this, "priority", 60);
@@ -61833,7 +61835,7 @@ class Wfe extends go {
61833
61835
  return n.setMinutes(s, 0, 0), n;
61834
61836
  }
61835
61837
  }
61836
- class Zfe extends go {
61838
+ class Zfe extends yo {
61837
61839
  constructor() {
61838
61840
  super(...arguments);
61839
61841
  ee(this, "priority", 50);
@@ -61856,7 +61858,7 @@ class Zfe extends go {
61856
61858
  return n.setSeconds(s, 0), n;
61857
61859
  }
61858
61860
  }
61859
- class Yfe extends go {
61861
+ class Yfe extends yo {
61860
61862
  constructor() {
61861
61863
  super(...arguments);
61862
61864
  ee(this, "priority", 30);
@@ -61870,7 +61872,7 @@ class Yfe extends go {
61870
61872
  return n.setMilliseconds(s), n;
61871
61873
  }
61872
61874
  }
61873
- class Xfe extends go {
61875
+ class Xfe extends yo {
61874
61876
  constructor() {
61875
61877
  super(...arguments);
61876
61878
  ee(this, "priority", 10);
@@ -61907,7 +61909,7 @@ class Xfe extends go {
61907
61909
  );
61908
61910
  }
61909
61911
  }
61910
- class Qfe extends go {
61912
+ class Qfe extends yo {
61911
61913
  constructor() {
61912
61914
  super(...arguments);
61913
61915
  ee(this, "priority", 10);
@@ -61944,7 +61946,7 @@ class Qfe extends go {
61944
61946
  );
61945
61947
  }
61946
61948
  }
61947
- class Jfe extends go {
61949
+ class Jfe extends yo {
61948
61950
  constructor() {
61949
61951
  super(...arguments);
61950
61952
  ee(this, "priority", 40);
@@ -61957,7 +61959,7 @@ class Jfe extends go {
61957
61959
  return [Eo(n, s * 1e3), { timestampIsSet: !0 }];
61958
61960
  }
61959
61961
  }
61960
- class ehe extends go {
61962
+ class ehe extends yo {
61961
61963
  constructor() {
61962
61964
  super(...arguments);
61963
61965
  ee(this, "priority", 20);
@@ -62938,7 +62940,7 @@ const ime = (o, i = 3) => {
62938
62940
  var de;
62939
62941
  return (de = o.hideNavigation) == null ? void 0 : de.includes(P);
62940
62942
  }), b = (P) => {
62941
- const de = o.maxDate ? An(p(P), p(qe(o.maxDate))) : !1, K = o.minDate ? cn(p(P), p(qe(o.minDate))) : !1, le = T(P, o.disabledDates), Se = n.value.filters.months.map((Fe) => +Fe).includes(Fo(P)), Me = o.disabledWeekDays.length ? o.disabledWeekDays.some((Fe) => +Fe === cfe(P)) : !1, Le = o.allowedDates.length ? !o.allowedDates.some((Fe) => So(p(qe(Fe)), p(P))) : !1, $ = No(P), pe = $ < +o.yearRange[0] || $ > +o.yearRange[1];
62943
+ const de = o.maxDate ? An(p(P), p(qe(o.maxDate))) : !1, K = o.minDate ? cn(p(P), p(qe(o.minDate))) : !1, le = T(P, o.disabledDates), Se = n.value.filters.months.map((Fe) => +Fe).includes(No(P)), Me = o.disabledWeekDays.length ? o.disabledWeekDays.some((Fe) => +Fe === cfe(P)) : !1, Le = o.allowedDates.length ? !o.allowedDates.some((Fe) => So(p(qe(Fe)), p(P))) : !1, $ = zo(P), pe = $ < +o.yearRange[0] || $ > +o.yearRange[1];
62942
62944
  return !(de || K || le || Se || pe || Me || Le);
62943
62945
  }, g = (P) => {
62944
62946
  const de = {
@@ -62980,7 +62982,7 @@ const ime = (o, i = 3) => {
62980
62982
  }, q = (P, de) => {
62981
62983
  const K = qe(JSON.parse(JSON.stringify(P))), le = [];
62982
62984
  for (let Se = 0; Se < 7; Se++) {
62983
- const Me = Kr(K, Se), Le = Fo(Me) !== de;
62985
+ const Me = Kr(K, Se), Le = No(Me) !== de;
62984
62986
  le.push({
62985
62987
  text: o.hideOffsetDates && Le ? "" : Me.getDate(),
62986
62988
  value: Me,
@@ -63002,7 +63004,7 @@ const ime = (o, i = 3) => {
63002
63004
  if (Le(Me), o.sixWeeks && K.length < 6) {
63003
63005
  const $ = 6 - K.length;
63004
63006
  for (let pe = 1; pe <= $; pe++) {
63005
- const Fe = K[K.length - 1], ze = Fe.days[Fe.days.length - 1], He = q(Kr(ze.value, 1), Fo(le));
63007
+ const Fe = K[K.length - 1], ze = Fe.days[Fe.days.length - 1], He = q(Kr(ze.value, 1), No(le));
63006
63008
  K.push({ days: He });
63007
63009
  }
63008
63010
  }
@@ -63038,7 +63040,7 @@ const ime = (o, i = 3) => {
63038
63040
  defaults: n,
63039
63041
  hideNavigationButtons: h
63040
63042
  };
63041
- }, Mo = yp({
63043
+ }, jo = yp({
63042
63044
  monthYear: [],
63043
63045
  calendar: [],
63044
63046
  time: [],
@@ -63050,12 +63052,12 @@ const ime = (o, i = 3) => {
63050
63052
  },
63051
63053
  monthPicker: []
63052
63054
  }), K5 = Pe(null), Ch = Pe(!1), G5 = Pe(!1), W5 = Pe(!1), Z5 = Pe(!1), yn = Pe(0), Gi = Pe(0), _d = () => {
63053
- const o = ge(() => Ch.value ? [...Mo.selectionGrid, Mo.actionRow].filter((g) => g.length) : G5.value ? [
63054
- ...Mo.timePicker[0],
63055
- ...Mo.timePicker[1],
63055
+ const o = ge(() => Ch.value ? [...jo.selectionGrid, jo.actionRow].filter((g) => g.length) : G5.value ? [
63056
+ ...jo.timePicker[0],
63057
+ ...jo.timePicker[1],
63056
63058
  Z5.value ? [] : [K5.value],
63057
- Mo.actionRow
63058
- ].filter((g) => g.length) : W5.value ? [...Mo.monthPicker, Mo.actionRow] : [Mo.monthYear, ...Mo.calendar, Mo.time, Mo.actionRow].filter((g) => g.length)), i = (g) => {
63059
+ jo.actionRow
63060
+ ].filter((g) => g.length) : W5.value ? [...jo.monthPicker, jo.actionRow] : [jo.monthYear, ...jo.calendar, jo.time, jo.actionRow].filter((g) => g.length)), i = (g) => {
63059
63061
  yn.value = g ? yn.value + 1 : yn.value - 1;
63060
63062
  let y = null;
63061
63063
  o.value[Gi.value] && (y = o.value[Gi.value][yn.value]), y || (yn.value = g ? yn.value - 1 : yn.value + 1);
@@ -63073,9 +63075,9 @@ const ime = (o, i = 3) => {
63073
63075
  }, p = () => {
63074
63076
  n(!0), a(!0);
63075
63077
  }, u = (g, y) => {
63076
- Mo[y] = g;
63078
+ jo[y] = g;
63077
63079
  }, h = (g, y) => {
63078
- Mo[y] = g;
63080
+ jo[y] = g;
63079
63081
  }, b = () => {
63080
63082
  yn.value = 0, Gi.value = 0;
63081
63083
  };
@@ -63086,25 +63088,25 @@ const ime = (o, i = 3) => {
63086
63088
  K5.value = g;
63087
63089
  },
63088
63090
  setSelectionGrid: (g) => {
63089
- Ch.value = g, b(), g || (Mo.selectionGrid = []);
63091
+ Ch.value = g, b(), g || (jo.selectionGrid = []);
63090
63092
  },
63091
63093
  setTimePicker: (g, y = !1) => {
63092
- G5.value = g, Z5.value = y, b(), g || (Mo.timePicker[0] = [], Mo.timePicker[1] = []);
63094
+ G5.value = g, Z5.value = y, b(), g || (jo.timePicker[0] = [], jo.timePicker[1] = []);
63093
63095
  },
63094
63096
  setTimePickerElements: (g, y = 0) => {
63095
- Mo.timePicker[y] = g;
63097
+ jo.timePicker[y] = g;
63096
63098
  },
63097
63099
  arrowRight: s,
63098
63100
  arrowLeft: l,
63099
63101
  arrowUp: d,
63100
63102
  arrowDown: p,
63101
63103
  clearArrowNav: () => {
63102
- Mo.monthYear = [], Mo.calendar = [], Mo.time = [], Mo.actionRow = [], Mo.selectionGrid = [], Mo.timePicker[0] = [], Mo.timePicker[1] = [], Ch.value = !1, G5.value = !1, Z5.value = !1, W5.value = !1, b(), K5.value = null;
63104
+ jo.monthYear = [], jo.calendar = [], jo.time = [], jo.actionRow = [], jo.selectionGrid = [], jo.timePicker[0] = [], jo.timePicker[1] = [], Ch.value = !1, G5.value = !1, Z5.value = !1, W5.value = !1, b(), K5.value = null;
63103
63105
  },
63104
63106
  setMonthPicker: (g) => {
63105
63107
  W5.value = g, b();
63106
63108
  },
63107
- refSets: Mo
63109
+ refSets: jo
63108
63110
  // exposed for testing
63109
63111
  };
63110
63112
  }, zI = (o) => Array.isArray(o), qd = (o) => Array.isArray(o), UI = (o) => Array.isArray(o) && o.length === 2, mme = (o, i, n, a, s) => {
@@ -63129,7 +63131,7 @@ const ime = (o, i = 3) => {
63129
63131
  to(A, () => {
63130
63132
  fe(0);
63131
63133
  });
63132
- const E = Pe([{ month: Fo(qe()), year: No(qe()) }]), _ = yp({
63134
+ const E = Pe([{ month: No(qe()), year: zo(qe()) }]), _ = yp({
63133
63135
  hours: o.range ? [Hl(qe()), Hl(qe())] : Hl(qe()),
63134
63136
  minutes: o.range ? [Kl(qe()), Kl(qe())] : Kl(qe()),
63135
63137
  seconds: o.range ? [0, 0] : 0
@@ -63143,8 +63145,8 @@ const ime = (o, i = 3) => {
63143
63145
  }, M = (C, I) => {
63144
63146
  _[C] = I;
63145
63147
  };
63146
- Vo(() => {
63147
- y.value || (o.startDate && (O(0, Fo(qe(o.startDate)), No(qe(o.startDate))), g.value.multiCalendars && fe(0)), g.value.startTime && ye()), Z(!0);
63148
+ Ho(() => {
63149
+ y.value || (o.startDate && (O(0, No(qe(o.startDate)), zo(qe(o.startDate))), g.value.multiCalendars && fe(0)), g.value.startTime && ye()), Z(!0);
63148
63150
  });
63149
63151
  const Z = (C = !1) => {
63150
63152
  if (y.value)
@@ -63158,10 +63160,10 @@ const ime = (o, i = 3) => {
63158
63160
  if (g.value.multiCalendars && C && !o.startDate)
63159
63161
  return V(qe(), C);
63160
63162
  }, V = (C, I = !1) => {
63161
- if ((!g.value.multiCalendars || !o.multiStatic || I) && O(0, Fo(C), No(C)), g.value.multiCalendars)
63163
+ if ((!g.value.multiCalendars || !o.multiStatic || I) && O(0, No(C), zo(C)), g.value.multiCalendars)
63162
63164
  for (let z = 1; z < g.value.multiCalendars; z++) {
63163
63165
  const re = on(qe(), { month: T.value(z - 1), year: S.value(z - 1) }), we = qR(re, { months: 1 });
63164
- E.value[z] = { month: Fo(we), year: No(we) };
63166
+ E.value[z] = { month: No(we), year: zo(we) };
63165
63167
  }
63166
63168
  }, W = (C) => {
63167
63169
  V(C), M("hours", Hl(C)), M("minutes", Kl(C)), M("seconds", yu(C));
@@ -63206,14 +63208,14 @@ const ime = (o, i = 3) => {
63206
63208
  if (Array.isArray(y.value) && y.value.length === 2) {
63207
63209
  const C = qe(
63208
63210
  qe(y.value[1] ? y.value[1] : Hr(y.value[0], 1))
63209
- ), [I, z] = [Fo(y.value[0]), No(y.value[0])], [re, we] = [Fo(y.value[1]), No(y.value[1])];
63210
- (I !== re || I === re && z !== we) && o.multiCalendarsSolo && O(1, Fo(C), No(C));
63211
+ ), [I, z] = [No(y.value[0]), zo(y.value[0])], [re, we] = [No(y.value[1]), zo(y.value[1])];
63212
+ (I !== re || I === re && z !== we) && o.multiCalendarsSolo && O(1, No(C), zo(C));
63211
63213
  }
63212
63214
  }, K = (C) => {
63213
63215
  const I = Hr(C, 1);
63214
- return { month: Fo(I), year: No(I) };
63216
+ return { month: No(I), year: zo(I) };
63215
63217
  }, le = (C) => {
63216
- const I = Fo(qe(C)), z = No(qe(C));
63218
+ const I = No(qe(C)), z = zo(qe(C));
63217
63219
  if (O(0, I, z), g.value.multiCalendars > 0)
63218
63220
  for (let re = 1; re < g.value.multiCalendars; re++) {
63219
63221
  const we = K(
@@ -63287,11 +63289,11 @@ const ime = (o, i = 3) => {
63287
63289
  }, fe = (C) => {
63288
63290
  for (let I = C - 1; I >= 0; I--) {
63289
63291
  const z = a0(on(qe(), { month: T.value(I + 1), year: S.value(I + 1) }), 1);
63290
- O(I, Fo(z), No(z));
63292
+ O(I, No(z), zo(z));
63291
63293
  }
63292
63294
  for (let I = C + 1; I <= g.value.multiCalendars - 1; I++) {
63293
63295
  const z = Hr(on(qe(), { month: T.value(I - 1), year: S.value(I - 1) }), 1);
63294
- O(I, Fo(z), No(z));
63296
+ O(I, No(z), zo(z));
63295
63297
  }
63296
63298
  }, _e = (C) => h(qe(), T.value(C), S.value(C)), Ye = (C) => Ca(C, _.hours, _.minutes, xe()), Wt = (C) => {
63297
63299
  Se(_e(C));
@@ -63317,7 +63319,7 @@ const ime = (o, i = 3) => {
63317
63319
  n();
63318
63320
  }, Te = (C, I) => {
63319
63321
  const z = on(qe(), { month: T.value(I), year: S.value(I) }), re = C < 0 ? Hr(z, 1) : a0(z, 1);
63320
- b(Fo(re), No(re), C < 0, o.preventMinMaxNavigation) && (O(I, Fo(re), No(re)), g.value.multiCalendars && !o.multiCalendarsSolo && fe(I), i("update-month-year", { instance: I, month: Fo(re), year: No(re) }), a());
63322
+ b(No(re), zo(re), C < 0, o.preventMinMaxNavigation) && (O(I, No(re), zo(re)), g.value.multiCalendars && !o.multiCalendarsSolo && fe(I), i("update-month-year", { instance: I, month: No(re), year: zo(re) }), a());
63321
63323
  }, $e = (C) => {
63322
63324
  zI(C) && zI(y.value) && qd(_.hours) && qd(_.minutes) ? (C[0] && y.value[0] && (y.value[0] = Ca(C[0], _.hours[0], _.minutes[0], xe())), C[1] && y.value[1] && (y.value[1] = Ca(C[1], _.hours[1], _.minutes[1], xe(!1)))) : o.multiDates && Array.isArray(y.value) ? y.value[y.value.length - 1] = Ye(C) : !o.range && !UI(C) && (y.value = Ye(C)), i("time-update");
63323
63325
  }, Bt = (C, I = !0, z = !1) => {
@@ -63390,7 +63392,7 @@ const ime = (o, i = 3) => {
63390
63392
  minutes: Kl(pe),
63391
63393
  seconds: i.enableSeconds ? yu(pe) : 0
63392
63394
  };
63393
- }, _ = ($) => i.modelType ? le($) : { month: Fo($), year: No($) }, T = ($) => Array.isArray($) ? u(() => [
63395
+ }, _ = ($) => i.modelType ? le($) : { month: No($), year: zo($) }, T = ($) => Array.isArray($) ? u(() => [
63394
63396
  ep(qe(), $[0]),
63395
63397
  $[1] ? ep(qe(), $[1]) : h()
63396
63398
  ]) : ep(qe(), +$), S = ($, pe) => (typeof $ == "string" || typeof $ == "number") && i.modelType ? K($) : pe, D = ($) => Array.isArray($) ? [
@@ -63463,25 +63465,25 @@ const ime = (o, i = 3) => {
63463
63465
  checkBeforeEmit: () => a.value ? i.range ? i.partialRange ? a.value.length >= 1 : a.value.length === 2 : !!a.value : !1,
63464
63466
  parseExternalModelValue: be,
63465
63467
  formatInputValue: de,
63466
- emitModelValue: () => (de(), i.monthPicker ? Le(_) : i.timePicker ? Le(E) : i.yearPicker ? Le(No) : i.weekPicker ? Se(a.value) : Se(H()))
63468
+ emitModelValue: () => (de(), i.monthPicker ? Le(_) : i.timePicker ? Le(E) : i.yearPicker ? Le(zo) : i.weekPicker ? Se(a.value) : Se(H()))
63467
63469
  };
63468
63470
  }, gme = (o, i) => {
63469
63471
  const { validateMonthYearInRange: n, validateMaxDate: a, validateMinDate: s, defaults: l } = ga(o), d = (g, y) => {
63470
63472
  let w = g;
63471
- return l.value.filters.months.includes(Fo(w)) ? (w = y ? Hr(g, 1) : a0(g, 1), d(w, y)) : w;
63473
+ return l.value.filters.months.includes(No(w)) ? (w = y ? Hr(g, 1) : a0(g, 1), d(w, y)) : w;
63472
63474
  }, p = (g, y) => {
63473
63475
  let w = g;
63474
- return l.value.filters.years.includes(No(w)) ? (w = y ? UR(g, 1) : The(g), p(w, y)) : w;
63476
+ return l.value.filters.years.includes(zo(w)) ? (w = y ? UR(g, 1) : The(g), p(w, y)) : w;
63475
63477
  }, u = (g) => {
63476
63478
  const y = on(/* @__PURE__ */ new Date(), { month: o.month, year: o.year });
63477
- let w = g ? Hr(y, 1) : a0(y, 1), A = Fo(w), E = No(w);
63478
- l.value.filters.months.includes(A) && (w = d(w, g), A = Fo(w), E = No(w)), l.value.filters.years.includes(E) && (w = p(w, g), E = No(w)), n(A, E, g, o.preventMinMaxNavigation) && h(A, E);
63479
+ let w = g ? Hr(y, 1) : a0(y, 1), A = No(w), E = zo(w);
63480
+ l.value.filters.months.includes(A) && (w = d(w, g), A = No(w), E = zo(w)), l.value.filters.years.includes(E) && (w = p(w, g), E = zo(w)), n(A, E, g, o.preventMinMaxNavigation) && h(A, E);
63479
63481
  }, h = (g, y) => {
63480
63482
  i("update-month-year", { month: g, year: y });
63481
63483
  }, b = ge(() => (g) => {
63482
63484
  if (!o.preventMinMaxNavigation || g && !o.maxDate || !g && !o.minDate)
63483
63485
  return !1;
63484
- const y = on(/* @__PURE__ */ new Date(), { month: o.month, year: o.year }), w = g ? Hr(y, 1) : a0(y, 1), A = [Fo(w), No(w)];
63486
+ const y = on(/* @__PURE__ */ new Date(), { month: o.month, year: o.year }), w = g ? Hr(y, 1) : a0(y, 1), A = [No(w), zo(w)];
63485
63487
  return g ? !a(...A) : !s(...A);
63486
63488
  });
63487
63489
  return { handleMonthYearChange: u, isDisabled: b, updateMonthYear: h };
@@ -63927,7 +63929,7 @@ const yme = (o, i, n, a) => {
63927
63929
  emits: ["close-picker", "select-date", "invalid-select"],
63928
63930
  setup(o, { emit: i }) {
63929
63931
  const n = o, { formatDate: a, isValidTime: s, defaults: l } = ga(n), { buildMatrix: d } = _d(), p = Pe(null), u = Pe(null);
63930
- Vo(() => {
63932
+ Ho(() => {
63931
63933
  n.arrowNavigation && d([_i(p), _i(u)], "actionRow");
63932
63934
  });
63933
63935
  const h = ge(() => n.range && !n.partialRange && n.internalModelValue ? n.internalModelValue.length === 2 : !0), b = ge(() => !g.value || !y.value || !h.value), g = ge(() => !n.enableTimePicker || n.ignoreTimeValidation ? !0 : s(n.internalModelValue)), y = ge(() => n.monthPicker ? n.range && Array.isArray(n.internalModelValue) ? !n.internalModelValue.filter((S) => !_(S)).length : _(n.internalModelValue) : !0), w = () => {
@@ -64057,7 +64059,7 @@ const yme = (o, i, n, a) => {
64057
64059
  left: "",
64058
64060
  transform: ""
64059
64061
  }), h = Pe([]), b = Pe(null), g = Pe(!0), y = Pe(""), w = Pe({ startX: 0, endX: 0, startY: 0, endY: 0 }), A = Pe([]), E = Pe({ left: "50%" }), _ = ge(() => a.dayNames ? Array.isArray(a.dayNames) ? a.dayNames : a.dayNames(a.locale, +a.weekStart) : nme(a.locale, +a.weekStart));
64060
- Vo(() => {
64062
+ Ho(() => {
64061
64063
  n("mount", { cmp: "calendar", refs: h }), a.noSwipe || b.value && (b.value.addEventListener("touchstart", q, { passive: !1 }), b.value.addEventListener("touchend", H, { passive: !1 }), b.value.addEventListener("touchmove", ne, { passive: !1 })), a.monthChangeOnScroll && b.value && b.value.addEventListener("wheel", ye, { passive: !1 });
64062
64064
  });
64063
64065
  const T = (P) => P ? a.vertical ? "vNext" : "next" : a.vertical ? "vPrevious" : "previous", S = (P, de) => {
@@ -64269,7 +64271,7 @@ const yme = (o, i, n, a) => {
64269
64271
  emits: ["activate", "set-ref"],
64270
64272
  setup(o, { emit: i }) {
64271
64273
  const n = Pe(null);
64272
- return Vo(() => i("set-ref", n)), (a, s) => (k(), L("div", {
64274
+ return Ho(() => i("set-ref", n)), (a, s) => (k(), L("div", {
64273
64275
  class: "dp__month_year_col_nav",
64274
64276
  onClick: s[0] || (s[0] = (l) => a.$emit("activate")),
64275
64277
  onKeydown: [
@@ -64318,7 +64320,7 @@ const yme = (o, i, n, a) => {
64318
64320
  const a = o, { setSelectionGrid: s, buildMultiLevelMatrix: l, setMonthPicker: d } = _d(), { hideNavigationButtons: p } = ga(a), u = Pe(!1), h = Pe(null), b = Pe(null), g = Pe([]), y = Pe(), w = Pe(null), A = Pe(0), E = Pe(null);
64319
64321
  HV(() => {
64320
64322
  h.value = null;
64321
- }), Vo(() => {
64323
+ }), Ho(() => {
64322
64324
  _a().then(() => J()), T(), _(!0);
64323
64325
  }), cs(() => _(!1));
64324
64326
  const _ = (ye) => {
@@ -64497,7 +64499,7 @@ const yme = (o, i, n, a) => {
64497
64499
  emits: ["update:model-value", "toggle", "set-ref"],
64498
64500
  setup(o, { emit: i }) {
64499
64501
  const n = o, { transitionName: a, showTransition: s } = Ib(n.transitions), l = Pe(null);
64500
- return Vo(() => i("set-ref", l)), (d, p) => (k(), L(Be, null, [
64502
+ return Ho(() => i("set-ref", l)), (d, p) => (k(), L(Be, null, [
64501
64503
  U("div", {
64502
64504
  class: "dp__month_year_select",
64503
64505
  onClick: p[0] || (p[0] = (u) => d.$emit("toggle")),
@@ -64583,7 +64585,7 @@ const yme = (o, i, n, a) => {
64583
64585
  emits: ["update-month-year", "month-year-select", "mount", "reset-flow", "overlay-closed"],
64584
64586
  setup(o, { expose: i, emit: n }) {
64585
64587
  const a = o, { defaults: s } = ga(a), { transitionName: l, showTransition: d } = Ib(s.value.transitions), { buildMatrix: p } = _d(), { handleMonthYearChange: u, isDisabled: h, updateMonthYear: b } = gme(a, n), g = Pe(!1), y = Pe(!1), w = Pe([null, null, null, null]), A = Pe(null), E = Pe(null), _ = Pe(null);
64586
- Vo(() => {
64588
+ Ho(() => {
64587
64589
  n("mount");
64588
64590
  });
64589
64591
  const T = ($) => ({
@@ -64593,9 +64595,9 @@ const yme = (o, i, n, a) => {
64593
64595
  n("update-month-year", { [$]: pe, [Fe]: a[Fe] }), n("month-year-select", $ === "year"), $ === "month" ? K(!0) : le(!0);
64594
64596
  }
64595
64597
  }), S = ge(T("month")), D = ge(T("year")), O = ($) => {
64596
- const pe = No(qe($));
64598
+ const pe = zo(qe($));
64597
64599
  return a.year === pe;
64598
- }, M = ge(() => a.monthPicker ? Array.isArray(a.disabledDates) ? a.disabledDates.map(($) => qe($)).filter(($) => O($)).map(($) => Fo($)) : [] : []), Z = ge(() => ($) => {
64600
+ }, M = ge(() => a.monthPicker ? Array.isArray(a.disabledDates) ? a.disabledDates.map(($) => qe($)).filter(($) => O($)).map(($) => No($)) : [] : []), Z = ge(() => ($) => {
64599
64601
  const pe = $ === "month";
64600
64602
  return {
64601
64603
  showSelectionGrid: (pe ? g : y).value,
@@ -64619,15 +64621,15 @@ const yme = (o, i, n, a) => {
64619
64621
  instance: a.instance,
64620
64622
  updateMonthYear: b,
64621
64623
  toggle: $ === "month" ? K : le
64622
- })), W = ge(() => a.minDate ? No(qe(a.minDate)) : null), J = ge(() => a.maxDate ? No(qe(a.maxDate)) : null), te = ge(() => {
64624
+ })), W = ge(() => a.minDate ? zo(qe(a.minDate)) : null), J = ge(() => a.maxDate ? zo(qe(a.maxDate)) : null), te = ge(() => {
64623
64625
  if (a.minDate && W.value) {
64624
64626
  if (W.value > a.year)
64625
64627
  return 12;
64626
64628
  if (W.value === a.year)
64627
- return Fo(qe(a.minDate));
64629
+ return No(qe(a.minDate));
64628
64630
  }
64629
64631
  return null;
64630
- }), q = ge(() => a.maxDate && J.value ? J.value < a.year ? -1 : J.value === a.year ? Fo(qe(a.maxDate)) : null : null), H = ge(() => (a.range || a.multiDates) && a.internalModelValue && (a.monthPicker || a.yearPicker) ? a.internalModelValue : []), ne = ($) => {
64632
+ }), q = ge(() => a.maxDate && J.value ? J.value < a.year ? -1 : J.value === a.year ? No(qe(a.maxDate)) : null : null), H = ge(() => (a.range || a.multiDates) && a.internalModelValue && (a.monthPicker || a.yearPicker) ? a.internalModelValue : []), ne = ($) => {
64631
64633
  const pe = [], Fe = (ze) => ze;
64632
64634
  for (let ze = 0; ze < $.length; ze += 3) {
64633
64635
  const He = [$[ze], $[ze + 1], $[ze + 2]];
@@ -64972,7 +64974,7 @@ const yme = (o, i, n, a) => {
64972
64974
  minutes: !1,
64973
64975
  seconds: !1
64974
64976
  }), b = Pe("AM"), g = Pe(null), y = Pe([]);
64975
- Vo(() => {
64977
+ Ho(() => {
64976
64978
  n("mounted");
64977
64979
  });
64978
64980
  const w = ge(() => (P) => !!(a.maxTime && a.maxTime[P] && +a.maxTime[P] < +a[P] + +a[`${P}Increment`])), A = ge(() => (P) => !!(a.minTime && a.minTime[P] && +a.minTime[P] > +a[P] - +a[`${P}Increment`])), E = (P, de) => qR(on(qe(), P), de), _ = (P, de) => Ahe(on(qe(), P), de), T = ge(
@@ -65187,7 +65189,7 @@ const yme = (o, i, n, a) => {
65187
65189
  ],
65188
65190
  setup(o, { expose: i, emit: n }) {
65189
65191
  const a = o, { buildMatrix: s, setTimePicker: l } = _d(), d = pl(), { hideNavigationButtons: p, defaults: u } = ga(a), { transitionName: h, showTransition: b } = Ib(u.value.transitions), g = Pe(null), y = Pe(null), w = Pe([]), A = Pe(null);
65190
- Vo(() => {
65192
+ Ho(() => {
65191
65193
  n("mount"), !a.timePicker && a.arrowNavigation ? s([_i(g.value)], "time") : l(!0, a.timePicker);
65192
65194
  });
65193
65195
  const E = ge(() => a.range && a.modelAuto ? pL(a.internalModelValue) : !0), _ = Pe(!1), T = (q) => ({
@@ -65457,7 +65459,7 @@ const yme = (o, i, n, a) => {
65457
65459
  monthYearInput: !!a.timePicker,
65458
65460
  calendar: !1
65459
65461
  }), y = Pe([]), w = Pe([]), A = Pe(null), E = Pe(null), _ = Pe(0), T = Pe(!1), S = Pe(0);
65460
- Vo(() => {
65462
+ Ho(() => {
65461
65463
  var G;
65462
65464
  T.value = !0, !((G = a.presetRanges) != null && G.length) && !h["left-sidebar"] && !h["right-sidebar"] && (dt(), window.addEventListener("resize", dt));
65463
65465
  const Re = _i(E);
@@ -65833,7 +65835,7 @@ const yme = (o, i, n, a) => {
65833
65835
  ],
65834
65836
  setup(o, { expose: i, emit: n }) {
65835
65837
  const a = o, s = pl(), l = Pe(!1), d = fu(a, "modelValue"), p = fu(a, "timezone"), u = Pe(null), h = Pe(null), b = Pe(!1), g = Pe(null), { setMenuFocused: y, setShiftKey: w } = sL(), { clearArrowNav: A } = _d(), { validateDate: E, isValidTime: _ } = ga(a);
65836
- Vo(() => {
65838
+ Ho(() => {
65837
65839
  te(a.modelValue), a.inline || (V(g.value).addEventListener("scroll", P), window.addEventListener("resize", de)), a.inline && (l.value = !0);
65838
65840
  }), cs(() => {
65839
65841
  if (!a.inline) {
@@ -66086,7 +66088,7 @@ function HI(...o) {
66086
66088
  }
66087
66089
  function _3e() {
66088
66090
  const o = gd(!1), i = cu();
66089
- return i && Vo(() => {
66091
+ return i && Ho(() => {
66090
66092
  o.value = !0;
66091
66093
  }, i), o;
66092
66094
  }
@@ -68740,7 +68742,7 @@ const G4e = () => {
68740
68742
  }, d = () => {
68741
68743
  document.removeEventListener("fullscreenchange", n), document.removeEventListener("mozfullscreenchange", n), document.removeEventListener("webkitfullscreenchange", n), document.removeEventListener("msfullscreenchange", n);
68742
68744
  };
68743
- return Vo(() => {
68745
+ return Ho(() => {
68744
68746
  l();
68745
68747
  }), cs(() => {
68746
68748
  d();
@@ -68940,7 +68942,7 @@ const G4e = () => {
68940
68942
  }) : (l.value = 0, y());
68941
68943
  }), to(() => n.value, () => {
68942
68944
  n.value.length || (s.value = !1);
68943
- }), Vo(() => {
68945
+ }), Ho(() => {
68944
68946
  s.value && g();
68945
68947
  }), cs(() => {
68946
68948
  y();
@@ -69244,7 +69246,7 @@ const C5e = /* @__PURE__ */ Ze(y5e, [["render", w5e], ["__scopeId", "data-v-ad16
69244
69246
  function W() {
69245
69247
  A.value.focus();
69246
69248
  }
69247
- return Vo(() => {
69249
+ return Ho(() => {
69248
69250
  V();
69249
69251
  }), i({
69250
69252
  focus: W
@@ -69332,7 +69334,7 @@ const C5e = /* @__PURE__ */ Ze(y5e, [["render", w5e], ["__scopeId", "data-v-ad16
69332
69334
  setup(o, { emit: i }) {
69333
69335
  const n = o, a = i, s = Pe(null);
69334
69336
  let l;
69335
- return Vo(() => {
69337
+ return Ho(() => {
69336
69338
  const { stop: d } = D3e(
69337
69339
  s.value,
69338
69340
  ([{ isIntersecting: p }]) => {
@@ -73200,7 +73202,7 @@ const j6e = /* @__PURE__ */ Ze($6e, [["render", M6e], ["__scopeId", "data-v-03d2
73200
73202
  // Number of items to pre-render outside visible area
73201
73203
  };
73202
73204
  });
73203
- return Vo(() => {
73205
+ return Ho(() => {
73204
73206
  h();
73205
73207
  }), cs(() => {
73206
73208
  b();
@@ -76876,7 +76878,7 @@ const rT = {
76876
76878
  });
76877
76879
  })(o.value, i);
76878
76880
  };
76879
- Vo(() => s()), zf(() => l());
76881
+ Ho(() => s()), zf(() => l());
76880
76882
  }, Q8e = {
76881
76883
  __name: "wt-tooltip-floating",
76882
76884
  props: {
@@ -76975,7 +76977,7 @@ const rT = {
76975
76977
  (E) => {
76976
76978
  E ? h() : b();
76977
76979
  }
76978
- ), Vo(() => {
76980
+ ), Ho(() => {
76979
76981
  n.visible && h();
76980
76982
  }), zf(() => {
76981
76983
  w();
@@ -77113,7 +77115,7 @@ const rT = {
77113
77115
  }, _ = () => {
77114
77116
  A.value = !1, E();
77115
77117
  };
77116
- return Vo(() => {
77118
+ return Ho(() => {
77117
77119
  p.value && E(), n.data[n.searchedProp] && E();
77118
77120
  }), to(
77119
77121
  () => n.modelValue,
@@ -77287,7 +77289,7 @@ const rT = {
77287
77289
  }
77288
77290
  return !1;
77289
77291
  };
77290
- return Vo(() => {
77292
+ return Ho(() => {
77291
77293
  n.searchedProp && h(n.data) && u();
77292
77294
  }), (b, g) => {
77293
77295
  const y = he("wt-tree-table-row", !0);
@@ -77964,7 +77966,7 @@ function pa(o, i, n = Mb()) {
77964
77966
  const a = !ar(i);
77965
77967
  R7e(o.id, a ? i : (s = o.provide) == null ? void 0 : s.call(o), n);
77966
77968
  }
77967
- function zo(o) {
77969
+ function Uo(o) {
77968
77970
  return TP(o.id);
77969
77971
  }
77970
77972
  function ua(o) {
@@ -78220,7 +78222,7 @@ class Rd {
78220
78222
  }
78221
78223
  m0 = new WeakMap();
78222
78224
  function ju(o) {
78223
- return zo(o);
78225
+ return Uo(o);
78224
78226
  }
78225
78227
  function X7e(o, i) {
78226
78228
  for (const n of o) n(i);
@@ -78641,7 +78643,7 @@ function vt(o, i = !1) {
78641
78643
  var IVe = '<path fill-rule="evenodd" clip-rule="evenodd" d="M6 7C5.63181 7 5.33333 7.29848 5.33333 7.66667V14.8667C5.33333 14.9403 5.39361 14.9999 5.46724 15.0009C10.8844 15.0719 15.2614 19.449 15.3325 24.8661C15.3334 24.9397 15.393 25 15.4667 25H26C26.3682 25 26.6667 24.7015 26.6667 24.3333V7.66667C26.6667 7.29848 26.3682 7 26 7H6ZM17.0119 22.2294C17.0263 22.29 17.0802 22.3333 17.1425 22.3333H23.3333C23.7015 22.3333 24 22.0349 24 21.6667V10.3333C24 9.96514 23.7015 9.66667 23.3333 9.66667H8.66667C8.29848 9.66667 8 9.96514 8 10.3333V13.1909C8 13.2531 8.04332 13.3071 8.10392 13.3214C12.5063 14.3618 15.9715 17.827 17.0119 22.2294Z" fill="currentColor"/> <path d="M13.2 25C13.2736 25 13.3334 24.9398 13.3322 24.8661C13.2615 20.5544 9.77889 17.0718 5.46718 17.0011C5.39356 16.9999 5.33333 17.0597 5.33333 17.1333V18.8667C5.33333 18.9403 5.39348 18.9999 5.4671 19.0015C8.67465 19.0716 11.2617 21.6587 11.3319 24.8662C11.3335 24.9399 11.393 25 11.4667 25H13.2Z" fill="currentColor"/> <path d="M5.33333 21.1333C5.33333 21.0597 5.39332 20.9998 5.46692 21.0022C7.57033 21.0712 9.26217 22.763 9.33114 24.8664C9.33356 24.94 9.27364 25 9.2 25H6C5.63181 25 5.33333 24.7015 5.33333 24.3333V21.1333Z" fill="currentColor"/>';
78642
78644
  const HP = Dd();
78643
78645
  function Ut() {
78644
- return zo(HP);
78646
+ return Uo(HP);
78645
78647
  }
78646
78648
  const gve = (navigator == null ? void 0 : navigator.userAgent.toLowerCase()) || "", KP = /iphone|ipad|ipod|ios|crios|fxios/i.test(gve), GP = /(iphone|ipod)/gi.test((navigator == null ? void 0 : navigator.platform) || ""), yve = !!window.chrome, SVe = !!window.safari || KP;
78647
78649
  function WP() {
@@ -79678,7 +79680,7 @@ function mB(o, i) {
79678
79680
  const n = o + i.clipStartTime(), a = Math.floor(o) === Math.floor(i.seekableStart()), s = Math.floor(n) === Math.floor(i.seekableEnd());
79679
79681
  return a ? i.seekableStart() : s ? i.seekableEnd() : i.isLiveDVR() && i.liveDVRWindow() > 0 && n < i.seekableEnd() - i.liveDVRWindow() ? i.bufferedStart() : Math.min(Math.max(i.seekableStart() + 0.1, n), i.seekableEnd() - 0.1);
79680
79682
  }
79681
- var gc, ia, g0, S3, po, yo, hwe;
79683
+ var gc, ia, g0, S3, po, vo, hwe;
79682
79684
  class fwe {
79683
79685
  constructor(i = void 0) {
79684
79686
  F(this, po);
@@ -79734,7 +79736,7 @@ class fwe {
79734
79736
  * @docs {@link https://www.vidstack.io/docs/player/core-concepts/loading#load-strategies}
79735
79737
  */
79736
79738
  startLoading(i) {
79737
- x(this, po, yo).call(this, "media-start-loading", i);
79739
+ x(this, po, vo).call(this, "media-start-loading", i);
79738
79740
  }
79739
79741
  /**
79740
79742
  * Dispatch a request to start the poster loading process. This will only work if the media
@@ -79743,7 +79745,7 @@ class fwe {
79743
79745
  * @docs {@link https://www.vidstack.io/docs/player/core-concepts/loading#load-strategies}
79744
79746
  */
79745
79747
  startLoadingPoster(i) {
79746
- x(this, po, yo).call(this, "media-poster-start-loading", i);
79748
+ x(this, po, vo).call(this, "media-poster-start-loading", i);
79747
79749
  }
79748
79750
  /**
79749
79751
  * Dispatch a request to connect to AirPlay.
@@ -79751,7 +79753,7 @@ class fwe {
79751
79753
  * @see {@link https://www.apple.com/au/airplay}
79752
79754
  */
79753
79755
  requestAirPlay(i) {
79754
- x(this, po, yo).call(this, "media-airplay-request", i);
79756
+ x(this, po, vo).call(this, "media-airplay-request", i);
79755
79757
  }
79756
79758
  /**
79757
79759
  * Dispatch a request to connect to Google Cast.
@@ -79759,31 +79761,31 @@ class fwe {
79759
79761
  * @see {@link https://developers.google.com/cast/docs/overview}
79760
79762
  */
79761
79763
  requestGoogleCast(i) {
79762
- x(this, po, yo).call(this, "media-google-cast-request", i);
79764
+ x(this, po, vo).call(this, "media-google-cast-request", i);
79763
79765
  }
79764
79766
  /**
79765
79767
  * Dispatch a request to begin/resume media playback.
79766
79768
  */
79767
79769
  play(i) {
79768
- x(this, po, yo).call(this, "media-play-request", i);
79770
+ x(this, po, vo).call(this, "media-play-request", i);
79769
79771
  }
79770
79772
  /**
79771
79773
  * Dispatch a request to pause media playback.
79772
79774
  */
79773
79775
  pause(i) {
79774
- x(this, po, yo).call(this, "media-pause-request", i);
79776
+ x(this, po, vo).call(this, "media-pause-request", i);
79775
79777
  }
79776
79778
  /**
79777
79779
  * Dispatch a request to set the media volume to mute (0).
79778
79780
  */
79779
79781
  mute(i) {
79780
- x(this, po, yo).call(this, "media-mute-request", i);
79782
+ x(this, po, vo).call(this, "media-mute-request", i);
79781
79783
  }
79782
79784
  /**
79783
79785
  * Dispatch a request to unmute the media volume and set it back to it's previous state.
79784
79786
  */
79785
79787
  unmute(i) {
79786
- x(this, po, yo).call(this, "media-unmute-request", i);
79788
+ x(this, po, vo).call(this, "media-unmute-request", i);
79787
79789
  }
79788
79790
  /**
79789
79791
  * Dispatch a request to enter fullscreen.
@@ -79791,7 +79793,7 @@ class fwe {
79791
79793
  * @docs {@link https://www.vidstack.io/docs/player/api/fullscreen#remote-control}
79792
79794
  */
79793
79795
  enterFullscreen(i, n) {
79794
- x(this, po, yo).call(this, "media-enter-fullscreen-request", n, i);
79796
+ x(this, po, vo).call(this, "media-enter-fullscreen-request", n, i);
79795
79797
  }
79796
79798
  /**
79797
79799
  * Dispatch a request to exit fullscreen.
@@ -79799,7 +79801,7 @@ class fwe {
79799
79801
  * @docs {@link https://www.vidstack.io/docs/player/api/fullscreen#remote-control}
79800
79802
  */
79801
79803
  exitFullscreen(i, n) {
79802
- x(this, po, yo).call(this, "media-exit-fullscreen-request", n, i);
79804
+ x(this, po, vo).call(this, "media-exit-fullscreen-request", n, i);
79803
79805
  }
79804
79806
  /**
79805
79807
  * Dispatch a request to lock the screen orientation.
@@ -79807,7 +79809,7 @@ class fwe {
79807
79809
  * @docs {@link https://www.vidstack.io/docs/player/screen-orientation#remote-control}
79808
79810
  */
79809
79811
  lockScreenOrientation(i, n) {
79810
- x(this, po, yo).call(this, "media-orientation-lock-request", n, i);
79812
+ x(this, po, vo).call(this, "media-orientation-lock-request", n, i);
79811
79813
  }
79812
79814
  /**
79813
79815
  * Dispatch a request to unlock the screen orientation.
@@ -79815,7 +79817,7 @@ class fwe {
79815
79817
  * @docs {@link https://www.vidstack.io/docs/player/api/screen-orientation#remote-control}
79816
79818
  */
79817
79819
  unlockScreenOrientation(i) {
79818
- x(this, po, yo).call(this, "media-orientation-unlock-request", i);
79820
+ x(this, po, vo).call(this, "media-orientation-unlock-request", i);
79819
79821
  }
79820
79822
  /**
79821
79823
  * Dispatch a request to enter picture-in-picture mode.
@@ -79823,7 +79825,7 @@ class fwe {
79823
79825
  * @docs {@link https://www.vidstack.io/docs/player/api/picture-in-picture#remote-control}
79824
79826
  */
79825
79827
  enterPictureInPicture(i) {
79826
- x(this, po, yo).call(this, "media-enter-pip-request", i);
79828
+ x(this, po, vo).call(this, "media-enter-pip-request", i);
79827
79829
  }
79828
79830
  /**
79829
79831
  * Dispatch a request to exit picture-in-picture mode.
@@ -79831,23 +79833,23 @@ class fwe {
79831
79833
  * @docs {@link https://www.vidstack.io/docs/player/api/picture-in-picture#remote-control}
79832
79834
  */
79833
79835
  exitPictureInPicture(i) {
79834
- x(this, po, yo).call(this, "media-exit-pip-request", i);
79836
+ x(this, po, vo).call(this, "media-exit-pip-request", i);
79835
79837
  }
79836
79838
  /**
79837
79839
  * Notify the media player that a seeking process is happening and to seek to the given `time`.
79838
79840
  */
79839
79841
  seeking(i, n) {
79840
- x(this, po, yo).call(this, "media-seeking-request", n, i);
79842
+ x(this, po, vo).call(this, "media-seeking-request", n, i);
79841
79843
  }
79842
79844
  /**
79843
79845
  * Notify the media player that a seeking operation has completed and to seek to the given `time`.
79844
79846
  * This is generally called after a series of `remote.seeking()` calls.
79845
79847
  */
79846
79848
  seek(i, n) {
79847
- x(this, po, yo).call(this, "media-seek-request", n, i);
79849
+ x(this, po, vo).call(this, "media-seek-request", n, i);
79848
79850
  }
79849
79851
  seekToLiveEdge(i) {
79850
- x(this, po, yo).call(this, "media-live-edge-request", i);
79852
+ x(this, po, vo).call(this, "media-live-edge-request", i);
79851
79853
  }
79852
79854
  /**
79853
79855
  * Dispatch a request to update the length of the media in seconds.
@@ -79858,7 +79860,7 @@ class fwe {
79858
79860
  * ```
79859
79861
  */
79860
79862
  changeDuration(i, n) {
79861
- x(this, po, yo).call(this, "media-duration-change-request", n, i);
79863
+ x(this, po, vo).call(this, "media-duration-change-request", n, i);
79862
79864
  }
79863
79865
  /**
79864
79866
  * Dispatch a request to update the clip start time. This is the time at which media playback
@@ -79870,7 +79872,7 @@ class fwe {
79870
79872
  * ```
79871
79873
  */
79872
79874
  changeClipStart(i, n) {
79873
- x(this, po, yo).call(this, "media-clip-start-change-request", n, i);
79875
+ x(this, po, vo).call(this, "media-clip-start-change-request", n, i);
79874
79876
  }
79875
79877
  /**
79876
79878
  * Dispatch a request to update the clip end time. This is the time at which media playback
@@ -79882,7 +79884,7 @@ class fwe {
79882
79884
  * ```
79883
79885
  */
79884
79886
  changeClipEnd(i, n) {
79885
- x(this, po, yo).call(this, "media-clip-end-change-request", n, i);
79887
+ x(this, po, vo).call(this, "media-clip-end-change-request", n, i);
79886
79888
  }
79887
79889
  /**
79888
79890
  * Dispatch a request to update the media volume to the given `volume` level which is a value
@@ -79899,7 +79901,7 @@ class fwe {
79899
79901
  * ```
79900
79902
  */
79901
79903
  changeVolume(i, n) {
79902
- x(this, po, yo).call(this, "media-volume-change-request", n, Math.max(0, Math.min(1, i)));
79904
+ x(this, po, vo).call(this, "media-volume-change-request", n, Math.max(0, Math.min(1, i)));
79903
79905
  }
79904
79906
  /**
79905
79907
  * Dispatch a request to change the current audio track.
@@ -79910,7 +79912,7 @@ class fwe {
79910
79912
  * ```
79911
79913
  */
79912
79914
  changeAudioTrack(i, n) {
79913
- x(this, po, yo).call(this, "media-audio-track-change-request", n, i);
79915
+ x(this, po, vo).call(this, "media-audio-track-change-request", n, i);
79914
79916
  }
79915
79917
  /**
79916
79918
  * Dispatch a request to change the video quality. The special value `-1` represents auto quality
@@ -79923,7 +79925,7 @@ class fwe {
79923
79925
  * ```
79924
79926
  */
79925
79927
  changeQuality(i, n) {
79926
- x(this, po, yo).call(this, "media-quality-change-request", n, i);
79928
+ x(this, po, vo).call(this, "media-quality-change-request", n, i);
79927
79929
  }
79928
79930
  /**
79929
79931
  * Request auto quality selection.
@@ -79940,7 +79942,7 @@ class fwe {
79940
79942
  * ```
79941
79943
  */
79942
79944
  changeTextTrackMode(i, n, a) {
79943
- x(this, po, yo).call(this, "media-text-track-change-request", a, {
79945
+ x(this, po, vo).call(this, "media-text-track-change-request", a, {
79944
79946
  index: i,
79945
79947
  mode: n
79946
79948
  });
@@ -79957,7 +79959,7 @@ class fwe {
79957
79959
  * ```
79958
79960
  */
79959
79961
  changePlaybackRate(i, n) {
79960
- x(this, po, yo).call(this, "media-rate-change-request", n, i);
79962
+ x(this, po, vo).call(this, "media-rate-change-request", n, i);
79961
79963
  }
79962
79964
  /**
79963
79965
  * Dispatch a request to change the media audio gain.
@@ -79970,13 +79972,13 @@ class fwe {
79970
79972
  * ```
79971
79973
  */
79972
79974
  changeAudioGain(i, n) {
79973
- x(this, po, yo).call(this, "media-audio-gain-change-request", n, i);
79975
+ x(this, po, vo).call(this, "media-audio-gain-change-request", n, i);
79974
79976
  }
79975
79977
  /**
79976
79978
  * Dispatch a request to resume idle tracking on controls.
79977
79979
  */
79978
79980
  resumeControls(i) {
79979
- x(this, po, yo).call(this, "media-resume-controls-request", i);
79981
+ x(this, po, vo).call(this, "media-resume-controls-request", i);
79980
79982
  }
79981
79983
  /**
79982
79984
  * Dispatch a request to pause controls idle tracking. Pausing tracking will result in the
@@ -79997,7 +79999,7 @@ class fwe {
79997
79999
  * ```
79998
80000
  */
79999
80001
  pauseControls(i) {
80000
- x(this, po, yo).call(this, "media-pause-controls-request", i);
80002
+ x(this, po, vo).call(this, "media-pause-controls-request", i);
80001
80003
  }
80002
80004
  /**
80003
80005
  * Dispatch a request to toggle the media playback state.
@@ -80069,10 +80071,10 @@ class fwe {
80069
80071
  n && (n.state.textTrack ? this.disableCaptions() : this.showCaptions());
80070
80072
  }
80071
80073
  userPrefersLoopChange(i, n) {
80072
- x(this, po, yo).call(this, "media-user-loop-change-request", n, i);
80074
+ x(this, po, vo).call(this, "media-user-loop-change-request", n, i);
80073
80075
  }
80074
80076
  }
80075
- gc = new WeakMap(), ia = new WeakMap(), g0 = new WeakMap(), S3 = new WeakMap(), po = new WeakSet(), yo = function(i, n, a) {
80077
+ gc = new WeakMap(), ia = new WeakMap(), g0 = new WeakMap(), S3 = new WeakMap(), po = new WeakSet(), vo = function(i, n, a) {
80076
80078
  var p, u;
80077
80079
  const s = new Po(i, {
80078
80080
  bubbles: !0,
@@ -80836,7 +80838,7 @@ class Dwe {
80836
80838
  return "audio";
80837
80839
  }
80838
80840
  async load(i) {
80839
- return new (await import("./vidstack-audio-EXZc7ueP.js")).AudioProvider(this.target, i);
80841
+ return new (await import("./vidstack-audio-Ck_jHWve.js")).AudioProvider(this.target, i);
80840
80842
  }
80841
80843
  }
80842
80844
  class Pw {
@@ -80851,7 +80853,7 @@ class Pw {
80851
80853
  return "video";
80852
80854
  }
80853
80855
  async load(i) {
80854
- return new (await import("./vidstack-video-BqsgiLMJ.js")).VideoProvider(this.target, i);
80856
+ return new (await import("./vidstack-video-DrDl3ZAI.js")).VideoProvider(this.target, i);
80855
80857
  }
80856
80858
  }
80857
80859
  const A3 = class A3 extends Pw {
@@ -80863,7 +80865,7 @@ const A3 = class A3 extends Pw {
80863
80865
  return A3.supported && Jf(n);
80864
80866
  }
80865
80867
  async load(n) {
80866
- return new (await import("./vidstack-hls-BhoTh4j3.js")).HLSProvider(this.target, n);
80868
+ return new (await import("./vidstack-hls-CLJGBRHC.js")).HLSProvider(this.target, n);
80867
80869
  }
80868
80870
  };
80869
80871
  ee(A3, "supported", _w());
@@ -80877,7 +80879,7 @@ const T3 = class T3 extends Pw {
80877
80879
  return T3.supported && Ow(n);
80878
80880
  }
80879
80881
  async load(n) {
80880
- return new (await import("./vidstack-dash-CVUVfXgT.js")).DASHProvider(this.target, n);
80882
+ return new (await import("./vidstack-dash-tBgxlbtk.js")).DASHProvider(this.target, n);
80881
80883
  }
80882
80884
  };
80883
80885
  ee(T3, "supported", Ave());
@@ -80903,7 +80905,7 @@ class Rwe {
80903
80905
  return "video";
80904
80906
  }
80905
80907
  async load(i) {
80906
- return new (await import("./vidstack-vimeo-SrsP-ALw.js")).VimeoProvider(this.target, i);
80908
+ return new (await import("./vidstack-vimeo-Bf6apfXM.js")).VimeoProvider(this.target, i);
80907
80909
  }
80908
80910
  async loadPoster(i, n, a) {
80909
80911
  const { resolveVimeoVideoId: s, getVimeoVideoInfo: l } = await import("./vidstack-krOAtKMi-B4IZWKdc.js");
@@ -80937,7 +80939,7 @@ class Lwe {
80937
80939
  return "video";
80938
80940
  }
80939
80941
  async load(i) {
80940
- return new (await import("./vidstack-youtube-BBy2AE7B.js")).YouTubeProvider(this.target, i);
80942
+ return new (await import("./vidstack-youtube-Dfy2RI0l.js")).YouTubeProvider(this.target, i);
80941
80943
  }
80942
80944
  async loadPoster(i, n, a) {
80943
80945
  const { findYouTubePoster: s, resolveYouTubeVideoId: l } = await import("./vidstack-Dm1xEU9Q-qSXq3AI-.js"), d = jt(i.src) && l(i.src);
@@ -81221,7 +81223,7 @@ js = new WeakMap(), x0 = new WeakMap(), Ua = new WeakMap(), xd = new WeakSet(),
81221
81223
  }, jy = function() {
81222
81224
  v(this, x0).resolve(), Y(this, x0, my());
81223
81225
  };
81224
- var Il, Dt, Sl, Ic, Al, jo, qs, Xt, NB, zB, UB, qy, I0, Fy, Ny, VB, HB, KB, GB, WB, ZB, Sc, YB, zy, Uy, qwe;
81226
+ var Il, Dt, Sl, Ic, Al, qo, qs, Xt, NB, zB, UB, qy, I0, Fy, Ny, VB, HB, KB, GB, WB, ZB, Sc, YB, zy, Uy, qwe;
81225
81227
  class jwe extends Rp {
81226
81228
  constructor(n, a, s) {
81227
81229
  super();
@@ -81232,11 +81234,11 @@ class jwe extends Rp {
81232
81234
  ee(this, "controls");
81233
81235
  F(this, Ic);
81234
81236
  F(this, Al);
81235
- F(this, jo);
81237
+ F(this, qo);
81236
81238
  F(this, qs, new FB());
81237
81239
  F(this, I0, !1);
81238
81240
  F(this, Sc);
81239
- Y(this, Il, n), Y(this, Dt, a), Y(this, Sl, s), Y(this, jo, s.$provider), this.controls = new Owe(), Y(this, Ic, new pwe()), Y(this, Al, new d3());
81241
+ Y(this, Il, n), Y(this, Dt, a), Y(this, Sl, s), Y(this, qo, s.$provider), this.controls = new Owe(), Y(this, Ic, new pwe()), Y(this, Al, new d3());
81240
81242
  }
81241
81243
  onAttach() {
81242
81244
  this.listen("fullscreen-change", x(this, Xt, YB).bind(this));
@@ -81261,7 +81263,7 @@ class jwe extends Rp {
81261
81263
  n && v(this, Dt).queue.enqueue("media-play-request", n);
81262
81264
  const d = We(l);
81263
81265
  try {
81264
- const p = We(v(this, jo));
81266
+ const p = We(v(this, qo));
81265
81267
  return a6(p, We(a)), Fwe(d), await p.play();
81266
81268
  } catch (p) {
81267
81269
  const u = this.createEvent("play-fail", {
@@ -81276,7 +81278,7 @@ class jwe extends Rp {
81276
81278
  if (!We(s)) {
81277
81279
  n && v(this, Dt).queue.enqueue("media-pause-request", n);
81278
81280
  try {
81279
- const l = We(v(this, jo));
81281
+ const l = We(v(this, qo));
81280
81282
  return a6(l, We(a)), await l.pause();
81281
81283
  } catch (l) {
81282
81284
  throw v(this, Dt).queue.delete("media-pause-request"), l;
@@ -81286,7 +81288,7 @@ class jwe extends Rp {
81286
81288
  setAudioGain(n, a) {
81287
81289
  const { audioGain: s, canSetAudioGain: l } = this.$state;
81288
81290
  if (s() === n) return;
81289
- const d = v(this, jo).call(this);
81291
+ const d = v(this, qo).call(this);
81290
81292
  if (!(d != null && d.audioGain) || !l())
81291
81293
  throw Error("[vidstack] audio gain api not available");
81292
81294
  a && v(this, Dt).queue.enqueue("media-audio-gain-change-request", a), d.audioGain.setGain(n);
@@ -81294,7 +81296,7 @@ class jwe extends Rp {
81294
81296
  seekToLiveEdge(n) {
81295
81297
  const { canPlay: a, live: s, liveEdge: l, canSeek: d, liveSyncPosition: p, seekableEnd: u, userBehindLiveEdge: h } = this.$state;
81296
81298
  if (h.set(!1), We(() => !s() || l() || !d())) return;
81297
- const b = We(v(this, jo));
81299
+ const b = We(v(this, qo));
81298
81300
  a6(b, We(a)), n && v(this, Dt).queue.enqueue("media-seek-request", n);
81299
81301
  const g = u() - 2;
81300
81302
  b.setCurrentTime(Math.min(g, p() ?? g));
@@ -81318,11 +81320,11 @@ class jwe extends Rp {
81318
81320
  }
81319
81321
  async enterPictureInPicture(n) {
81320
81322
  if (x(this, Xt, Ny).call(this), !this.$state.pictureInPicture())
81321
- return n && v(this, Dt).queue.enqueue("media-enter-pip-request", n), await v(this, jo).call(this).pictureInPicture.enter();
81323
+ return n && v(this, Dt).queue.enqueue("media-enter-pip-request", n), await v(this, qo).call(this).pictureInPicture.enter();
81322
81324
  }
81323
81325
  async exitPictureInPicture(n) {
81324
81326
  if (x(this, Xt, Ny).call(this), !!this.$state.pictureInPicture())
81325
- return n && v(this, Dt).queue.enqueue("media-exit-pip-request", n), await v(this, jo).call(this).pictureInPicture.exit();
81327
+ return n && v(this, Dt).queue.enqueue("media-exit-pip-request", n), await v(this, qo).call(this).pictureInPicture.exit();
81326
81328
  }
81327
81329
  async "media-airplay-request"(n) {
81328
81330
  try {
@@ -81333,7 +81335,7 @@ class jwe extends Rp {
81333
81335
  async requestAirPlay(n) {
81334
81336
  var a;
81335
81337
  try {
81336
- const s = (a = v(this, jo).call(this)) == null ? void 0 : a.airPlay;
81338
+ const s = (a = v(this, qo).call(this)) == null ? void 0 : a.airPlay;
81337
81339
  if (!(s != null && s.supported))
81338
81340
  throw Error("No AirPlay adapter.");
81339
81341
  return n && v(this, Dt).queue.enqueue("media-airplay-request", n), await s.prompt();
@@ -81357,7 +81359,7 @@ class jwe extends Rp {
81357
81359
  throw l.code = "CAST_NOT_AVAILABLE", l;
81358
81360
  }
81359
81361
  if (eh("https://www.gstatic.com"), !v(this, Sc)) {
81360
- const l = await import("./vidstack-D2pY00kU-BorFHKCo.js").then((d) => d.v);
81362
+ const l = await import("./vidstack-D2pY00kU-Bxz2ak0x.js").then((d) => d.v);
81361
81363
  Y(this, Sc, new l.GoogleCastLoader());
81362
81364
  }
81363
81365
  await v(this, Sc).prompt(v(this, Sl)), n && v(this, Dt).queue.enqueue("media-google-cast-request", n);
@@ -81480,7 +81482,7 @@ class jwe extends Rp {
81480
81482
  "media-rate-change-request"(n) {
81481
81483
  const { playbackRate: a, canSetPlaybackRate: s } = this.$state;
81482
81484
  if (a() === n.detail || !s()) return;
81483
- const l = v(this, jo).call(this);
81485
+ const l = v(this, qo).call(this);
81484
81486
  l != null && l.setPlaybackRate && (v(this, Dt).queue.enqueue("media-rate-change-request", n), l.setPlaybackRate(n.detail));
81485
81487
  }
81486
81488
  "media-audio-gain-change-request"(n) {
@@ -81522,7 +81524,7 @@ class jwe extends Rp {
81522
81524
  const h = n.type;
81523
81525
  v(this, Dt).seeking = !1, v(this, Dt).queue.delete(h);
81524
81526
  const b = mB(u, this.$state);
81525
- !Number.isFinite(b) || !a() || (v(this, Dt).queue.enqueue(h, n), v(this, jo).call(this).setCurrentTime(b), l() && n.isOriginTrusted && Math.abs(d() - b) >= 2 && p.set(!0));
81527
+ !Number.isFinite(b) || !a() || (v(this, Dt).queue.enqueue(h, n), v(this, qo).call(this).setCurrentTime(b), l() && n.isOriginTrusted && Math.abs(d() - b) >= 2 && p.set(!0));
81526
81528
  }
81527
81529
  "media-seeking-request"(n) {
81528
81530
  const a = n.type;
@@ -81548,35 +81550,35 @@ class jwe extends Rp {
81548
81550
  "media-mute-request"(n) {
81549
81551
  if (this.$state.muted()) return;
81550
81552
  const a = n.type;
81551
- v(this, Dt).queue.enqueue(a, n), v(this, jo).call(this).setMuted(!0);
81553
+ v(this, Dt).queue.enqueue(a, n), v(this, qo).call(this).setMuted(!0);
81552
81554
  }
81553
81555
  "media-unmute-request"(n) {
81554
81556
  const { muted: a, volume: s } = this.$state;
81555
81557
  if (!a()) return;
81556
81558
  const l = n.type;
81557
- v(this, Dt).queue.enqueue(l, n), v(this, Sl).$provider().setMuted(!1), s() === 0 && (v(this, Dt).queue.enqueue(l, n), v(this, jo).call(this).setVolume(0.25));
81559
+ v(this, Dt).queue.enqueue(l, n), v(this, Sl).$provider().setMuted(!1), s() === 0 && (v(this, Dt).queue.enqueue(l, n), v(this, qo).call(this).setVolume(0.25));
81558
81560
  }
81559
81561
  "media-volume-change-request"(n) {
81560
81562
  const { muted: a, volume: s } = this.$state, l = n.detail;
81561
81563
  if (s() === l) return;
81562
81564
  const d = n.type;
81563
- v(this, Dt).queue.enqueue(d, n), v(this, jo).call(this).setVolume(l), l > 0 && a() && (v(this, Dt).queue.enqueue(d, n), v(this, jo).call(this).setMuted(!1));
81565
+ v(this, Dt).queue.enqueue(d, n), v(this, qo).call(this).setVolume(l), l > 0 && a() && (v(this, Dt).queue.enqueue(d, n), v(this, qo).call(this).setMuted(!1));
81564
81566
  }
81565
81567
  }
81566
- Il = new WeakMap(), Dt = new WeakMap(), Sl = new WeakMap(), Ic = new WeakMap(), Al = new WeakMap(), jo = new WeakMap(), qs = new WeakMap(), Xt = new WeakSet(), NB = function() {
81568
+ Il = new WeakMap(), Dt = new WeakMap(), Sl = new WeakMap(), Ic = new WeakMap(), Al = new WeakMap(), qo = new WeakMap(), qs = new WeakMap(), Xt = new WeakSet(), NB = function() {
81567
81569
  const { load: n } = this.$props, { canLoad: a } = this.$state;
81568
81570
  if (n() !== "play" || a()) return;
81569
81571
  const s = this.listen("media-play-request", (l) => {
81570
81572
  x(this, Xt, qy).call(this, l), s();
81571
81573
  });
81572
81574
  }, zB = function() {
81573
- const n = v(this, jo).call(this), a = this.$state.canPlay();
81575
+ const n = v(this, qo).call(this), a = this.$state.canPlay();
81574
81576
  return n && a && v(this, qs).start(), () => {
81575
81577
  v(this, qs).stop();
81576
81578
  };
81577
81579
  }, UB = function(n) {
81578
- n.stopPropagation(), !n.defaultPrevented && this[n.type] && (We(v(this, jo)) ? this[n.type](n) : v(this, qs).enqueue(n.type, () => {
81579
- We(v(this, jo)) && this[n.type](n);
81580
+ n.stopPropagation(), !n.defaultPrevented && this[n.type] && (We(v(this, qo)) ? this[n.type](n) : v(this, qs).enqueue(n.type, () => {
81581
+ We(v(this, qo)) && this[n.type](n);
81580
81582
  }));
81581
81583
  }, qy = function(n) {
81582
81584
  const { load: a } = this.$props, { canLoad: s } = this.$state;
@@ -81591,7 +81593,7 @@ Il = new WeakMap(), Dt = new WeakMap(), Sl = new WeakMap(), Ic = new WeakMap(),
81591
81593
  }
81592
81594
  return !1;
81593
81595
  }, I0 = new WeakMap(), Fy = function(n) {
81594
- const a = We(v(this, jo));
81596
+ const a = We(v(this, qo));
81595
81597
  return n === "prefer-media" && v(this, Ic).supported || n === "media" ? v(this, Ic) : a == null ? void 0 : a.fullscreen;
81596
81598
  }, Ny = function() {
81597
81599
  if (!this.$state.canPictureInPicture())
@@ -81602,22 +81604,22 @@ Il = new WeakMap(), Dt = new WeakMap(), Sl = new WeakMap(), Ic = new WeakMap(),
81602
81604
  this.controls.defaultDelay = this.$props.controlsDelay();
81603
81605
  }, HB = function() {
81604
81606
  var s, l;
81605
- const { canSetAudioGain: n } = this.$state, a = !!((l = (s = v(this, jo).call(this)) == null ? void 0 : s.audioGain) != null && l.supported);
81607
+ const { canSetAudioGain: n } = this.$state, a = !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.audioGain) != null && l.supported);
81606
81608
  n.set(a);
81607
81609
  }, KB = function() {
81608
81610
  var s, l;
81609
- const { canAirPlay: n } = this.$state, a = !!((l = (s = v(this, jo).call(this)) == null ? void 0 : s.airPlay) != null && l.supported);
81611
+ const { canAirPlay: n } = this.$state, a = !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.airPlay) != null && l.supported);
81610
81612
  n.set(a);
81611
81613
  }, GB = function() {
81612
81614
  const { canGoogleCast: n, source: a } = this.$state, s = yve && !KP && Bve(a());
81613
81615
  n.set(s);
81614
81616
  }, WB = function() {
81615
81617
  var s, l;
81616
- const { canFullscreen: n } = this.$state, a = v(this, Ic).supported || !!((l = (s = v(this, jo).call(this)) == null ? void 0 : s.fullscreen) != null && l.supported);
81618
+ const { canFullscreen: n } = this.$state, a = v(this, Ic).supported || !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.fullscreen) != null && l.supported);
81617
81619
  n.set(a);
81618
81620
  }, ZB = function() {
81619
81621
  var s, l;
81620
- const { canPictureInPicture: n } = this.$state, a = !!((l = (s = v(this, jo).call(this)) == null ? void 0 : s.pictureInPicture) != null && l.supported);
81622
+ const { canPictureInPicture: n } = this.$state, a = !!((l = (s = v(this, qo).call(this)) == null ? void 0 : s.pictureInPicture) != null && l.supported);
81621
81623
  n.set(a);
81622
81624
  }, Sc = new WeakMap(), YB = async function(n) {
81623
81625
  const a = We(this.$props.fullscreenOrientation), s = n.detail;
@@ -83078,7 +83080,7 @@ _l = new WeakMap(), Qi = new WeakMap(), Pn = new WeakMap(), al = new WeakSet(),
83078
83080
  if ((a = v(this, Qi)) != null && a.classList.contains("vds-google-cast"))
83079
83081
  return v(this, Qi);
83080
83082
  const n = document.createElement("div");
83081
- return n.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-DtZ20VFs.js").then(({ insertContent: s }) => {
83083
+ return n.classList.add("vds-google-cast"), import("./vidstack-D_-9AA6_-BbhomSRW.js").then(({ insertContent: s }) => {
83082
83084
  s(n, v(this, _l).$state);
83083
83085
  }), n;
83084
83086
  }, ee(J$, "tagName", "media-provider");
@@ -83619,7 +83621,7 @@ class aCe extends Ma {
83619
83621
  Y(this, Ji, n), Y(this, Ks, a);
83620
83622
  }
83621
83623
  onSetup() {
83622
- ua(U2) && Y(this, P0, zo(U2));
83624
+ ua(U2) && Y(this, P0, Uo(U2));
83623
83625
  }
83624
83626
  onConnect(n) {
83625
83627
  Ce(x(this, ft, FM).bind(this, n)), Ce(x(this, ft, NM).bind(this, n)), v(this, Ji).swipeGesture && Ce(x(this, ft, MM).bind(this));
@@ -84139,7 +84141,7 @@ class $w extends wt {
84139
84141
  F(this, bf);
84140
84142
  }
84141
84143
  onSetup() {
84142
- Y(this, bf, ju(hp.state)), Y(this, Ws, zo(xu)), Y(this, P3, pr(this.getValueText.bind(this)));
84144
+ Y(this, bf, ju(hp.state)), Y(this, Ws, Uo(xu)), Y(this, P3, pr(this.getValueText.bind(this)));
84143
84145
  }
84144
84146
  /**
84145
84147
  * Returns the current value formatted as text based on prop settings.
@@ -84194,7 +84196,7 @@ class wj extends wt {
84194
84196
  }));
84195
84197
  }
84196
84198
  onSetup() {
84197
- Y(this, q0, zo(Bw));
84199
+ Y(this, q0, Uo(Bw));
84198
84200
  const { active: n } = ju(hp.state);
84199
84201
  this.setAttributes({
84200
84202
  "data-visible": n
@@ -84319,12 +84321,12 @@ xa = new WeakMap(), Hi = new WeakSet(), Cj = function() {
84319
84321
  keyStep: 5,
84320
84322
  shiftKeyMultiplier: 2
84321
84323
  }), ee(O8, "state", Lp);
84322
- var qo, F0, vf, bt, _j, Oj, Dj, Rj, Lj, D8, Pj, N0, Bj, $j, R8, Mj, L8, jj, qj, Fj, Nj, zj, Uj, Gd, Vj, Hj, Kj;
84324
+ var Fo, F0, vf, bt, _j, Oj, Dj, Rj, Lj, D8, Pj, N0, Bj, $j, R8, Mj, L8, jj, qj, Fj, Nj, zj, Uj, Gd, Vj, Hj, Kj;
84323
84325
  class f3 extends wt {
84324
84326
  constructor() {
84325
84327
  super();
84326
84328
  F(this, bt);
84327
- F(this, qo);
84329
+ F(this, Fo);
84328
84330
  F(this, F0);
84329
84331
  F(this, vf, qt(null));
84330
84332
  F(this, N0, !1);
@@ -84347,7 +84349,7 @@ class f3 extends wt {
84347
84349
  });
84348
84350
  }
84349
84351
  onSetup() {
84350
- Y(this, qo, Ut()), pa(xu, {
84352
+ Y(this, Fo, Ut()), pa(xu, {
84351
84353
  default: "time",
84352
84354
  value: x(this, bt, Hj).bind(this),
84353
84355
  time: x(this, bt, Kj).bind(this)
@@ -84361,15 +84363,15 @@ class f3 extends wt {
84361
84363
  n.setAttribute("data-media-time-slider", ""), bo(n, "aria-label", "Seek");
84362
84364
  }
84363
84365
  onConnect(n) {
84364
- Ce(x(this, bt, Lj).bind(this)), Fb(v(this, qo).textTracks, "chapters", v(this, vf).set);
84366
+ Ce(x(this, bt, Lj).bind(this)), Fb(v(this, Fo).textTracks, "chapters", v(this, vf).set);
84365
84367
  }
84366
84368
  }
84367
- qo = new WeakMap(), F0 = new WeakMap(), vf = new WeakMap(), bt = new WeakSet(), _j = function() {
84368
- const { bufferedEnd: n, duration: a } = v(this, qo).$state;
84369
+ Fo = new WeakMap(), F0 = new WeakMap(), vf = new WeakMap(), bt = new WeakSet(), _j = function() {
84370
+ const { bufferedEnd: n, duration: a } = v(this, Fo).$state;
84369
84371
  return Ri(Math.min(n() / Math.max(a(), 1), 1) * 100, 3) + "%";
84370
84372
  }, Oj = function() {
84371
84373
  var a;
84372
- const { duration: n } = v(this, qo).$state;
84374
+ const { duration: n } = v(this, Fo).$state;
84373
84375
  return ((a = v(this, vf).call(this)) == null ? void 0 : a.cues.length) && Number.isFinite(n()) && n() > 0;
84374
84376
  }, Dj = function() {
84375
84377
  Y(this, F0, Dp(
@@ -84381,33 +84383,33 @@ qo = new WeakMap(), F0 = new WeakMap(), vf = new WeakMap(), bt = new WeakSet(),
84381
84383
  const { value: n, dragging: a } = this.$state, s = x(this, bt, L8).call(this);
84382
84384
  We(a) || (n.set(s), this.dispatch("value-change", { detail: s }));
84383
84385
  }, Lj = function() {
84384
- const n = v(this, qo).player.el, { preview: a } = zo(Bw);
84386
+ const n = v(this, Fo).player.el, { preview: a } = Uo(Bw);
84385
84387
  n && a() && rt(n, "data-preview", this.$state.active());
84386
84388
  }, D8 = function(n, a) {
84387
- v(this, qo).remote.seeking(n, a);
84389
+ v(this, Fo).remote.seeking(n, a);
84388
84390
  }, Pj = function(n, a, s) {
84389
84391
  v(this, F0).cancel();
84390
- const { live: l } = v(this, qo).$state;
84392
+ const { live: l } = v(this, Fo).$state;
84391
84393
  if (l() && a >= 99) {
84392
- v(this, qo).remote.seekToLiveEdge(s);
84394
+ v(this, Fo).remote.seekToLiveEdge(s);
84393
84395
  return;
84394
84396
  }
84395
- v(this, qo).remote.seek(n, s);
84397
+ v(this, Fo).remote.seek(n, s);
84396
84398
  }, N0 = new WeakMap(), Bj = function(n) {
84397
84399
  const { pauseWhileDragging: a } = this.$props;
84398
84400
  if (a()) {
84399
- const { paused: s } = v(this, qo).$state;
84400
- Y(this, N0, !s()), v(this, qo).remote.pause(n);
84401
+ const { paused: s } = v(this, Fo).$state;
84402
+ Y(this, N0, !s()), v(this, Fo).remote.pause(n);
84401
84403
  }
84402
84404
  }, $j = function(n) {
84403
84405
  v(this, F0).call(this, x(this, bt, Gd).call(this, n.detail), n);
84404
84406
  }, R8 = function(n) {
84405
- const { seeking: a } = v(this, qo).$state;
84407
+ const { seeking: a } = v(this, Fo).$state;
84406
84408
  We(a) || x(this, bt, D8).call(this, x(this, bt, Gd).call(this, n.detail), n);
84407
84409
  const s = n.detail;
84408
84410
  x(this, bt, Pj).call(this, x(this, bt, Gd).call(this, s), s, n);
84409
84411
  const { pauseWhileDragging: l } = this.$props;
84410
- l() && v(this, N0) && (v(this, qo).remote.play(n), Y(this, N0, !1));
84412
+ l() && v(this, N0) && (v(this, Fo).remote.play(n), Y(this, N0, !1));
84411
84413
  }, Mj = function(n) {
84412
84414
  const { dragging: a } = this.$state;
84413
84415
  a() || !n.trigger || x(this, bt, R8).call(this, n);
@@ -84415,18 +84417,18 @@ qo = new WeakMap(), F0 = new WeakMap(), vf = new WeakMap(), bt = new WeakSet(),
84415
84417
  // Props
84416
84418
  // -------------------------------------------------------------------------------------------
84417
84419
  L8 = function() {
84418
- const { currentTime: n } = v(this, qo).$state;
84420
+ const { currentTime: n } = v(this, Fo).$state;
84419
84421
  return x(this, bt, Vj).call(this, n());
84420
84422
  }, jj = function() {
84421
- const n = this.$props.step() / v(this, qo).$state.duration() * 100;
84423
+ const n = this.$props.step() / v(this, Fo).$state.duration() * 100;
84422
84424
  return Number.isFinite(n) ? n : 1;
84423
84425
  }, qj = function() {
84424
- const n = this.$props.keyStep() / v(this, qo).$state.duration() * 100;
84426
+ const n = this.$props.keyStep() / v(this, Fo).$state.duration() * 100;
84425
84427
  return Number.isFinite(n) ? n : 1;
84426
84428
  }, Fj = function(n) {
84427
84429
  return Ri(n, 3);
84428
84430
  }, Nj = function() {
84429
- const { disabled: n } = this.$props, { canSeek: a } = v(this, qo).$state;
84431
+ const { disabled: n } = this.$props, { canSeek: a } = v(this, Fo).$state;
84430
84432
  return n() || !a();
84431
84433
  }, // -------------------------------------------------------------------------------------------
84432
84434
  // ARIA
@@ -84435,22 +84437,22 @@ zj = function() {
84435
84437
  const { value: n } = this.$state;
84436
84438
  return Math.round(n());
84437
84439
  }, Uj = function() {
84438
- const n = x(this, bt, Gd).call(this, this.$state.value()), { duration: a } = v(this, qo).$state;
84440
+ const n = x(this, bt, Gd).call(this, this.$state.value()), { duration: a } = v(this, Fo).$state;
84439
84441
  return Number.isFinite(n) ? `${u3(n)} out of ${u3(a())}` : "live";
84440
84442
  }, // -------------------------------------------------------------------------------------------
84441
84443
  // Format
84442
84444
  // -------------------------------------------------------------------------------------------
84443
84445
  Gd = function(n) {
84444
- const { duration: a } = v(this, qo).$state;
84446
+ const { duration: a } = v(this, Fo).$state;
84445
84447
  return Ri(n / 100 * a(), 5);
84446
84448
  }, Vj = function(n) {
84447
- const { liveEdge: a, duration: s } = v(this, qo).$state, l = Math.max(0, Math.min(1, a() ? 1 : Math.min(n, s()) / s()));
84449
+ const { liveEdge: a, duration: s } = v(this, Fo).$state, l = Math.max(0, Math.min(1, a() ? 1 : Math.min(n, s()) / s()));
84448
84450
  return Number.isNaN(l) ? 0 : Number.isFinite(l) ? l * 100 : 100;
84449
84451
  }, Hj = function(n) {
84450
- const a = x(this, bt, Gd).call(this, n), { live: s, duration: l } = v(this, qo).$state;
84452
+ const a = x(this, bt, Gd).call(this, n), { live: s, duration: l } = v(this, Fo).$state;
84451
84453
  return Number.isFinite(a) ? (s() ? a - l() : a).toFixed(0) : "LIVE";
84452
84454
  }, Kj = function(n, a) {
84453
- const s = x(this, bt, Gd).call(this, n), { live: l, duration: d } = v(this, qo).$state, p = l() ? s - d() : s;
84455
+ const s = x(this, bt, Gd).call(this, n), { live: l, duration: d } = v(this, Fo).$state, p = l() ? s - d() : s;
84454
84456
  return Number.isFinite(s) ? `${p < 0 ? "-" : ""}${Nb(Math.abs(p), a)}` : "LIVE";
84455
84457
  }, ee(f3, "props", {
84456
84458
  ...fa.props,
@@ -84673,7 +84675,7 @@ class Pp extends wt {
84673
84675
  const n = ++mCe;
84674
84676
  Y(this, z0, `media-menu-${n}`), Y(this, U0, `media-menu-button-${n}`), Y(this, Pl, new uCe({
84675
84677
  closeMenu: this.close.bind(this)
84676
- })), ua(Li) && Y(this, Ys, zo(Li)), x(this, Tt, Xj).call(this), this.setAttributes({
84678
+ })), ua(Li) && Y(this, Ys, Uo(Li)), x(this, Tt, Xj).call(this), this.setAttributes({
84677
84679
  "data-open": v(this, kn),
84678
84680
  "data-root": !this.isSubmenu,
84679
84681
  "data-submenu": this.isSubmenu,
@@ -84715,7 +84717,7 @@ class Pp extends wt {
84715
84717
  }
84716
84718
  }
84717
84719
  Wa = new WeakMap(), z0 = new WeakMap(), U0 = new WeakMap(), kn = new WeakMap(), Cf = new WeakMap(), Dr = new WeakMap(), ji = new WeakMap(), Ys = new WeakMap(), Xs = new WeakMap(), Mc = new WeakMap(), jc = new WeakMap(), Pl = new WeakMap(), qc = new WeakMap(), kf = new WeakMap(), Fc = new WeakMap(), Tt = new WeakSet(), Xj = function() {
84718
- let n = -1, a = ua(U2) ? zo(U2) : null;
84720
+ let n = -1, a = ua(U2) ? Uo(U2) : null;
84719
84721
  pa(U2, {
84720
84722
  onDragStart: () => {
84721
84723
  var s;
@@ -84872,7 +84874,7 @@ class zb extends wt {
84872
84874
  return ((n = v(this, Qs)) == null ? void 0 : n.expanded()) ?? !1;
84873
84875
  }
84874
84876
  onSetup() {
84875
- Y(this, Qs, zo(Li));
84877
+ Y(this, Qs, Uo(Li));
84876
84878
  }
84877
84879
  onAttach(n) {
84878
84880
  v(this, Qs).attachMenuButton(this), Ce(x(this, ls, mq).bind(this)), bo(n, "type", "button");
@@ -84964,8 +84966,8 @@ class Cq extends wt {
84964
84966
  });
84965
84967
  }
84966
84968
  onAttach(n) {
84967
- if (Y(this, Nc, zo(Li)), v(this, Nc).attachMenuItems(this), ua(gm)) {
84968
- const a = zo(gm);
84969
+ if (Y(this, Nc, Uo(Li)), v(this, Nc).attachMenuItems(this), ua(gm)) {
84970
+ const a = Uo(gm);
84969
84971
  a && (pa(gm, null), a.attach(n), Yt(() => a.attach(null)));
84970
84972
  }
84971
84973
  }
@@ -85086,10 +85088,10 @@ class Mw extends wt {
85086
85088
  }
85087
85089
  Rr = new WeakMap(), zc = new WeakMap(), an = new WeakSet(), Tq = function() {
85088
85090
  Un(() => {
85089
- zo(F8).remove(v(this, zc));
85091
+ Uo(F8).remove(v(this, zc));
85090
85092
  }, this.connectScope);
85091
85093
  }, Eq = function() {
85092
- zo(F8).add(v(this, zc));
85094
+ Uo(F8).add(v(this, zc));
85093
85095
  }, _q = function() {
85094
85096
  var s, l;
85095
85097
  const { value: n } = this.$props, a = n();
@@ -85126,7 +85128,7 @@ class jw extends wt {
85126
85128
  return n().length <= 1;
85127
85129
  }
85128
85130
  onSetup() {
85129
- Y(this, Za, Ut()), ua(Li) && Y(this, W0, zo(Li));
85131
+ Y(this, Za, Ut()), ua(Li) && Y(this, W0, Uo(Li));
85130
85132
  }
85131
85133
  onConnect(n) {
85132
85134
  Ce(x(this, Ra, Lq).bind(this)), Ce(x(this, Ra, Bq).bind(this)), Ce(x(this, Ra, Pq).bind(this));
@@ -85184,7 +85186,7 @@ class Fw extends wt {
85184
85186
  return !n();
85185
85187
  }
85186
85188
  onSetup() {
85187
- Y(this, jn, Ut()), ua(Li) && Y(this, Z0, zo(Li));
85189
+ Y(this, jn, Ut()), ua(Li) && Y(this, Z0, Uo(Li));
85188
85190
  }
85189
85191
  onConnect(n) {
85190
85192
  var a;
@@ -85259,7 +85261,7 @@ class zw extends wt {
85259
85261
  return !a() || n().length === 0;
85260
85262
  }
85261
85263
  onSetup() {
85262
- Y(this, ed, Ut()), ua(Li) && Y(this, Y0, zo(Li));
85264
+ Y(this, ed, Ut()), ua(Li) && Y(this, Y0, Uo(Li));
85263
85265
  }
85264
85266
  onConnect(n) {
85265
85267
  Ce(x(this, La, Uq).bind(this)), Ce(x(this, La, Vq).bind(this)), Ce(x(this, La, Hq).bind(this));
@@ -85318,7 +85320,7 @@ class Vw extends wt {
85318
85320
  return !n() || a().length <= 1;
85319
85321
  }
85320
85322
  onSetup() {
85321
- Y(this, Ya, Ut()), ua(Li) && Y(this, X0, zo(Li));
85323
+ Y(this, Ya, Ut()), ua(Li) && Y(this, X0, Uo(Li));
85322
85324
  }
85323
85325
  onConnect(n) {
85324
85326
  Ce(x(this, mn, Wq).bind(this)), Ce(x(this, mn, Yq).bind(this)), Ce(x(this, mn, Zq).bind(this));
@@ -85647,7 +85649,7 @@ class xCe extends wt {
85647
85649
  ns(() => {
85648
85650
  if (!this.connectScope) return;
85649
85651
  x(this, gp, wF).call(this);
85650
- const a = zo(pc);
85652
+ const a = Uo(pc);
85651
85653
  Yt(() => {
85652
85654
  const s = x(this, gp, Z8).call(this);
85653
85655
  s && a.detachTrigger(s);
@@ -85657,7 +85659,7 @@ class xCe extends wt {
85657
85659
  }
85658
85660
  }
85659
85661
  gp = new WeakSet(), wF = function() {
85660
- const n = x(this, gp, Z8).call(this), a = zo(pc);
85662
+ const n = x(this, gp, Z8).call(this), a = Uo(pc);
85661
85663
  n && a.attachTrigger(n);
85662
85664
  }, Z8 = function() {
85663
85665
  const n = this.el.firstElementChild;
@@ -85684,7 +85686,7 @@ class CF extends wt {
85684
85686
  }
85685
85687
  onConnect(n) {
85686
85688
  x(this, ds, Y8).call(this, n);
85687
- const a = zo(pc);
85689
+ const a = Uo(pc);
85688
85690
  Yt(() => a.detachContent(n)), Yt(
85689
85691
  ns(() => {
85690
85692
  this.connectScope && Ce(x(this, ds, kF).bind(this));
@@ -85693,9 +85695,9 @@ class CF extends wt {
85693
85695
  }
85694
85696
  }
85695
85697
  ds = new WeakSet(), Y8 = function(n) {
85696
- zo(pc).attachContent(n);
85698
+ Uo(pc).attachContent(n);
85697
85699
  }, kF = function() {
85698
- const { showing: n } = zo(pc);
85700
+ const { showing: n } = Uo(pc);
85699
85701
  if (!n()) return;
85700
85702
  const { placement: a, offset: s, alignOffset: l } = this.$props;
85701
85703
  return iB(this.el, x(this, ds, xF).call(this), a(), {
@@ -85704,7 +85706,7 @@ ds = new WeakSet(), Y8 = function(n) {
85704
85706
  yOffset: s()
85705
85707
  });
85706
85708
  }, xF = function() {
85707
- return zo(pc).trigger();
85709
+ return Uo(pc).trigger();
85708
85710
  }, ee(CF, "props", {
85709
85711
  placement: "top center",
85710
85712
  offset: 0,
@@ -85768,11 +85770,11 @@ Ml = new WeakMap(), cl = new WeakSet(), AF = function(n) {
85768
85770
  const { remotePlaybackState: n } = v(this, Ml).$state;
85769
85771
  return `Google Cast ${n()}`;
85770
85772
  }, ee(SF, "props", bn.props);
85771
- var ad, _f, Uo, OF, DF, X8, RF, Q8, LF, PF, J8, BF, $F;
85773
+ var ad, _f, Vo, OF, DF, X8, RF, Q8, LF, PF, J8, BF, $F;
85772
85774
  class h3 extends wt {
85773
85775
  constructor() {
85774
85776
  super(...arguments);
85775
- F(this, Uo);
85777
+ F(this, Vo);
85776
85778
  F(this, ad);
85777
85779
  F(this, _f);
85778
85780
  }
@@ -85780,20 +85782,20 @@ class h3 extends wt {
85780
85782
  return this.$state.video();
85781
85783
  }
85782
85784
  onSetup() {
85783
- Y(this, ad, Ut()), Y(this, _f, ju(hp.state)), x(this, Uo, X8).call(this), this.setAttributes({
85784
- "data-loading": x(this, Uo, RF).bind(this),
85785
+ Y(this, ad, Ut()), Y(this, _f, ju(hp.state)), x(this, Vo, X8).call(this), this.setAttributes({
85786
+ "data-loading": x(this, Vo, RF).bind(this),
85785
85787
  "data-hidden": this.$state.hidden,
85786
- "data-error": x(this, Uo, Q8).bind(this),
85788
+ "data-error": x(this, Vo, Q8).bind(this),
85787
85789
  "aria-hidden": nn(this.$state.hidden)
85788
85790
  });
85789
85791
  }
85790
85792
  onAttach(n) {
85791
- Ce(x(this, Uo, OF).bind(this)), Ce(x(this, Uo, DF).bind(this)), Ce(x(this, Uo, X8).bind(this)), Ce(x(this, Uo, LF).bind(this)), Ce(x(this, Uo, PF).bind(this)), Ce(x(this, Uo, $F).bind(this));
85793
+ Ce(x(this, Vo, OF).bind(this)), Ce(x(this, Vo, DF).bind(this)), Ce(x(this, Vo, X8).bind(this)), Ce(x(this, Vo, LF).bind(this)), Ce(x(this, Vo, PF).bind(this)), Ce(x(this, Vo, $F).bind(this));
85792
85794
  }
85793
85795
  }
85794
- ad = new WeakMap(), _f = new WeakMap(), Uo = new WeakSet(), OF = function() {
85796
+ ad = new WeakMap(), _f = new WeakMap(), Vo = new WeakSet(), OF = function() {
85795
85797
  const n = this.$state.video();
85796
- n && (n.readyState >= 2 && x(this, Uo, J8).call(this), new $o(n).add("canplay", x(this, Uo, J8).bind(this)).add("error", x(this, Uo, BF).bind(this)));
85798
+ n && (n.readyState >= 2 && x(this, Vo, J8).call(this), new $o(n).add("canplay", x(this, Vo, J8).bind(this)).add("error", x(this, Vo, BF).bind(this)));
85797
85799
  }, DF = function() {
85798
85800
  const { src: n } = this.$state, { canLoad: a } = v(this, ad).$state;
85799
85801
  n.set(a() ? this.$props.src() : null);
@@ -85808,7 +85810,7 @@ ad = new WeakMap(), _f = new WeakMap(), Uo = new WeakSet(), OF = function() {
85808
85810
  return !Zr(n);
85809
85811
  }, LF = function() {
85810
85812
  const { src: n, hidden: a } = this.$state, { canLoad: s, duration: l } = v(this, ad).$state;
85811
- a.set(s() && (!n() || x(this, Uo, Q8).call(this) || !Number.isFinite(l())));
85813
+ a.set(s() && (!n() || x(this, Vo, Q8).call(this) || !Number.isFinite(l())));
85812
85814
  }, PF = function() {
85813
85815
  const { src: n, canPlay: a, error: s } = this.$state;
85814
85816
  n(), a.set(!1), s.set(null);
@@ -86274,7 +86276,7 @@ class oh extends wt {
86274
86276
  return !((n = v(this, $r).call(this)) != null && n.length);
86275
86277
  }
86276
86278
  onSetup() {
86277
- Y(this, Br, Ut()), ua(Li) && Y(this, Yc, zo(Li));
86279
+ Y(this, Br, Ut()), ua(Li) && Y(this, Yc, Uo(Li));
86278
86280
  const { thumbnails: n } = this.$props;
86279
86281
  this.setAttributes({
86280
86282
  "data-thumbnails": () => !!n()
@@ -86367,7 +86369,7 @@ class Zw extends wt {
86367
86369
  return !a() || n().length === 0;
86368
86370
  }
86369
86371
  onSetup() {
86370
- Y(this, dd, Ut()), ua(Li) && Y(this, au, zo(Li));
86372
+ Y(this, dd, Ut()), ua(Li) && Y(this, au, Uo(Li));
86371
86373
  }
86372
86374
  onConnect(n) {
86373
86375
  Ce(x(this, Ba, _N).bind(this)), Ce(x(this, Ba, ON).bind(this)), Ce(x(this, Ba, DN).bind(this));
@@ -87297,32 +87299,32 @@ Qc = new WeakMap(), X3 = new WeakSet(), oU = function() {
87297
87299
  const { min: n, max: a, step: s } = ju(Lp), l = (a() - n()) / s();
87298
87300
  Rw(v(this, Qc), Math.floor(l) + 1);
87299
87301
  }, ee(tU, "tagName", "media-slider-steps");
87300
- var Ia, wo, C7, iU, k7, nU, aU, Nf, x7, I7, S7, rU, A7, lU;
87302
+ var Ia, Co, C7, iU, k7, nU, aU, Nf, x7, I7, S7, rU, A7, lU;
87301
87303
  class w7 extends wt {
87302
87304
  constructor() {
87303
87305
  super(...arguments);
87304
- F(this, wo);
87306
+ F(this, Co);
87305
87307
  F(this, Ia);
87306
87308
  F(this, Nf, "");
87307
87309
  }
87308
87310
  onSetup() {
87309
- Y(this, Ia, Ut()), x(this, wo, x7).call(this), x(this, wo, I7).call(this), x(this, wo, S7).call(this), x(this, wo, k7).call(this);
87311
+ Y(this, Ia, Ut()), x(this, Co, x7).call(this), x(this, Co, I7).call(this), x(this, Co, S7).call(this), x(this, Co, k7).call(this);
87310
87312
  }
87311
87313
  onAttach(n) {
87312
- n.style.setProperty("pointer-events", "none"), Ce(x(this, wo, aU).bind(this)), Ce(x(this, wo, x7).bind(this)), Ce(x(this, wo, I7).bind(this)), Ce(x(this, wo, S7).bind(this)), Ce(x(this, wo, k7).bind(this));
87314
+ n.style.setProperty("pointer-events", "none"), Ce(x(this, Co, aU).bind(this)), Ce(x(this, Co, x7).bind(this)), Ce(x(this, Co, I7).bind(this)), Ce(x(this, Co, S7).bind(this)), Ce(x(this, Co, k7).bind(this));
87313
87315
  const { started: a } = v(this, Ia).$state;
87314
87316
  this.setAttributes({
87315
87317
  "data-visible": () => !a() && !this.$state.hidden(),
87316
- "data-loading": x(this, wo, nU).bind(this),
87317
- "data-error": x(this, wo, C7).bind(this),
87318
+ "data-loading": x(this, Co, nU).bind(this),
87319
+ "data-error": x(this, Co, C7).bind(this),
87318
87320
  "data-hidden": this.$state.hidden
87319
87321
  });
87320
87322
  }
87321
87323
  onConnect(n) {
87322
- Ce(x(this, wo, iU).bind(this)), Ce(x(this, wo, rU).bind(this));
87324
+ Ce(x(this, Co, iU).bind(this)), Ce(x(this, Co, rU).bind(this));
87323
87325
  }
87324
87326
  }
87325
- Ia = new WeakMap(), wo = new WeakSet(), C7 = function() {
87327
+ Ia = new WeakMap(), Co = new WeakSet(), C7 = function() {
87326
87328
  const { error: n } = this.$state;
87327
87329
  return !Zr(n());
87328
87330
  }, iU = function() {
@@ -87330,13 +87332,13 @@ Ia = new WeakMap(), wo = new WeakSet(), C7 = function() {
87330
87332
  !n() && a() && eh(a(), "preconnect");
87331
87333
  }, k7 = function() {
87332
87334
  const { src: n } = this.$props, { poster: a, nativeControls: s } = v(this, Ia).$state;
87333
- this.el && rt(this.el, "display", s() ? "none" : null), this.$state.hidden.set(x(this, wo, C7).call(this) || !(n() || a()) || s());
87335
+ this.el && rt(this.el, "display", s() ? "none" : null), this.$state.hidden.set(x(this, Co, C7).call(this) || !(n() || a()) || s());
87334
87336
  }, nU = function() {
87335
87337
  const { loading: n, hidden: a } = this.$state;
87336
87338
  return !a() && n();
87337
87339
  }, aU = function() {
87338
87340
  const n = this.$state.img();
87339
- n && (new $o(n).add("load", x(this, wo, A7).bind(this)).add("error", x(this, wo, lU).bind(this)), n.complete && x(this, wo, A7).call(this));
87341
+ n && (new $o(n).add("load", x(this, Co, A7).bind(this)).add("error", x(this, Co, lU).bind(this)), n.complete && x(this, Co, A7).call(this));
87340
87342
  }, Nf = new WeakMap(), x7 = function() {
87341
87343
  const { poster: n } = v(this, Ia).$props, { canLoadPoster: a, providedPoster: s, inferredPoster: l } = v(this, Ia).$state, d = this.$props.src() || "", p = d || n() || l();
87342
87344
  v(this, Nf) === s() && s.set(d), this.$state.src.set(a() && p.length ? p : null), Y(this, Nf, d);
@@ -87601,7 +87603,7 @@ const KCe = { class: "screen-sharing-control-panel__actions" }, GCe = {
87601
87603
  }, h = (b) => {
87602
87604
  b.key === "Escape" && d(!1);
87603
87605
  };
87604
- return Vo(() => {
87606
+ return Ho(() => {
87605
87607
  document.addEventListener("fullscreenchange", () => {
87606
87608
  document.fullscreenElement || d(!1);
87607
87609
  }), zf(() => {
@@ -87704,7 +87706,7 @@ const KCe = { class: "screen-sharing-control-panel__actions" }, GCe = {
87704
87706
  type: ((b = n.src) == null ? void 0 : b.type) || p.value
87705
87707
  };
87706
87708
  });
87707
- return Vo(() => {
87709
+ return Ho(() => {
87708
87710
  if (s.value && n.mode === "stream" && n.stream) {
87709
87711
  const h = s.value.querySelector("video");
87710
87712
  h.addEventListener("loadedmetadata", async () => {
@@ -88199,7 +88201,7 @@ function pn(o, i) {
88199
88201
  function Ni(o, i) {
88200
88202
  return Pd(o) ? o.matches(i) ? o : o.querySelector(i) : null;
88201
88203
  }
88202
- function vo(o, i) {
88204
+ function wo(o, i) {
88203
88205
  o && document.activeElement !== o && o.focus(i);
88204
88206
  }
88205
88207
  function Ao(o, i) {
@@ -89489,7 +89491,7 @@ function uxe(o, i) {
89489
89491
  }
89490
89492
  function fxe(o) {
89491
89493
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
89492
- cu() && cu().components ? Vo(o) : i ? o() : _a(o);
89494
+ cu() && cu().components ? Ho(o) : i ? o() : _a(o);
89493
89495
  }
89494
89496
  var hxe = 0;
89495
89497
  function mxe(o) {
@@ -92750,12 +92752,12 @@ var DU = {
92750
92752
  }).length : i) + 1;
92751
92753
  },
92752
92754
  show: function(i) {
92753
- this.$emit("before-show"), this.dirty = !0, this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1, i && vo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
92755
+ this.$emit("before-show"), this.dirty = !0, this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : -1, i && wo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
92754
92756
  },
92755
92757
  hide: function(i) {
92756
92758
  var n = this, a = function() {
92757
92759
  var l;
92758
- n.$emit("before-hide"), n.dirty = i, n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, i && vo(n.multiple ? n.$refs.focusInput : (l = n.$refs.focusInput) === null || l === void 0 ? void 0 : l.$el);
92760
+ n.$emit("before-hide"), n.dirty = i, n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, i && wo(n.multiple ? n.$refs.focusInput : (l = n.$refs.focusInput) === null || l === void 0 ? void 0 : l.$el);
92759
92761
  };
92760
92762
  setTimeout(function() {
92761
92763
  a();
@@ -92876,7 +92878,7 @@ var DU = {
92876
92878
  }
92877
92879
  },
92878
92880
  onContainerClick: function(i) {
92879
- this.clicked = !0, !(this.disabled || this.searching || this.loading || this.isDropdownClicked(i)) && (!this.overlay || !this.overlay.contains(i.target)) && vo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
92881
+ this.clicked = !0, !(this.disabled || this.searching || this.loading || this.isDropdownClicked(i)) && (!this.overlay || !this.overlay.contains(i.target)) && wo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
92880
92882
  },
92881
92883
  onDropdownClick: function(i) {
92882
92884
  var n = void 0;
@@ -92884,7 +92886,7 @@ var DU = {
92884
92886
  this.hide(!0);
92885
92887
  else {
92886
92888
  var a = this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el;
92887
- vo(a), n = a.value, this.dropdownMode === "blank" ? this.search(i, "", "dropdown") : this.dropdownMode === "current" && this.search(i, n, "dropdown");
92889
+ wo(a), n = a.value, this.dropdownMode === "blank" ? this.search(i, "", "dropdown") : this.dropdownMode === "current" && this.search(i, n, "dropdown");
92888
92890
  }
92889
92891
  this.$emit("dropdown-click", {
92890
92892
  originalEvent: i,
@@ -92945,7 +92947,7 @@ var DU = {
92945
92947
  },
92946
92948
  onArrowLeftKey: function(i) {
92947
92949
  var n = i.currentTarget;
92948
- this.focusedOptionIndex = -1, this.multiple && (Di(n.value) && this.$filled ? (vo(this.$refs.multiContainer), this.focusedMultipleOptionIndex = this.d_value.length) : i.stopPropagation());
92950
+ this.focusedOptionIndex = -1, this.multiple && (Di(n.value) && this.$filled ? (wo(this.$refs.multiContainer), this.focusedMultipleOptionIndex = this.d_value.length) : i.stopPropagation());
92949
92951
  },
92950
92952
  onArrowRightKey: function(i) {
92951
92953
  this.focusedOptionIndex = -1, this.multiple && i.stopPropagation();
@@ -92998,7 +93000,7 @@ var DU = {
92998
93000
  this.focusedMultipleOptionIndex = this.focusedMultipleOptionIndex < 1 ? 0 : this.focusedMultipleOptionIndex - 1;
92999
93001
  },
93000
93002
  onArrowRightKeyOnMultiple: function() {
93001
- this.focusedMultipleOptionIndex++, this.focusedMultipleOptionIndex > this.d_value.length - 1 && (this.focusedMultipleOptionIndex = -1, vo(this.$refs.focusInput));
93003
+ this.focusedMultipleOptionIndex++, this.focusedMultipleOptionIndex > this.d_value.length - 1 && (this.focusedMultipleOptionIndex = -1, wo(this.$refs.focusInput));
93002
93004
  },
93003
93005
  onBackspaceKeyOnMultiple: function(i) {
93004
93006
  this.focusedMultipleOptionIndex !== -1 && this.removeOption(i, this.focusedMultipleOptionIndex);
@@ -93133,7 +93135,7 @@ var DU = {
93133
93135
  }), this.$emit("option-unselect", {
93134
93136
  originalEvent: i,
93135
93137
  value: s
93136
- }), this.dirty = !0, vo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
93138
+ }), this.dirty = !0, wo(this.multiple ? this.$refs.focusInput : this.$refs.focusInput.$el);
93137
93139
  },
93138
93140
  changeFocusedOptionIndex: function(i, n) {
93139
93141
  this.focusedOptionIndex !== n && (this.focusedOptionIndex = n, this.scrollInView(), this.selectOnFocus && this.onOptionSelect(i, this.visibleOptions[n], !1));
@@ -97342,11 +97344,11 @@ var Jb = {
97342
97344
  }).length : i) + 1;
97343
97345
  },
97344
97346
  show: function(i) {
97345
- this.$emit("before-show"), this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex(), i && vo(this.$refs.focusInput);
97347
+ this.$emit("before-show"), this.overlayVisible = !0, this.focusedOptionIndex = this.focusedOptionIndex !== -1 ? this.focusedOptionIndex : this.autoOptionFocus ? this.findFirstFocusedOptionIndex() : this.editable ? -1 : this.findSelectedOptionIndex(), i && wo(this.$refs.focusInput);
97346
97348
  },
97347
97349
  hide: function(i) {
97348
97350
  var n = this, a = function() {
97349
- n.$emit("before-hide"), n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, n.searchValue = "", n.resetFilterOnHide && (n.filterValue = null), i && vo(n.$refs.focusInput);
97351
+ n.$emit("before-hide"), n.overlayVisible = !1, n.clicked = !1, n.focusedOptionIndex = -1, n.searchValue = "", n.resetFilterOnHide && (n.filterValue = null), i && wo(n.$refs.focusInput);
97350
97352
  };
97351
97353
  setTimeout(function() {
97352
97354
  a();
@@ -97443,11 +97445,11 @@ var Jb = {
97443
97445
  },
97444
97446
  onFirstHiddenFocus: function(i) {
97445
97447
  var n = i.relatedTarget === this.$refs.focusInput ? Jd(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
97446
- vo(n);
97448
+ wo(n);
97447
97449
  },
97448
97450
  onLastHiddenFocus: function(i) {
97449
97451
  var n = i.relatedTarget === this.$refs.focusInput ? hU(this.overlay, ':not([data-p-hidden-focusable="true"])') : this.$refs.focusInput;
97450
- vo(n);
97452
+ wo(n);
97451
97453
  },
97452
97454
  onOptionSelect: function(i, n) {
97453
97455
  var a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, s = this.getOptionValue(n);
@@ -97576,7 +97578,7 @@ var Jb = {
97576
97578
  },
97577
97579
  onTabKey: function(i) {
97578
97580
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
97579
- n || (this.overlayVisible && this.hasFocusableElements() ? (vo(this.$refs.firstHiddenFocusableElementOnOverlay), i.preventDefault()) : (this.focusedOptionIndex !== -1 && this.onOptionSelect(i, this.visibleOptions[this.focusedOptionIndex]), this.overlayVisible && this.hide(this.filter)));
97581
+ n || (this.overlayVisible && this.hasFocusableElements() ? (wo(this.$refs.firstHiddenFocusableElementOnOverlay), i.preventDefault()) : (this.focusedOptionIndex !== -1 && this.onOptionSelect(i, this.visibleOptions[this.focusedOptionIndex]), this.overlayVisible && this.hide(this.filter)));
97580
97582
  },
97581
97583
  onBackspaceKey: function(i) {
97582
97584
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
@@ -97588,7 +97590,7 @@ var Jb = {
97588
97590
  position: "absolute",
97589
97591
  top: "0"
97590
97592
  }), this.alignOverlay(), this.scrollInView(), this.$attrSelector && i.setAttribute(this.$attrSelector, ""), setTimeout(function() {
97591
- n.autoFilterFocus && n.filter && vo(n.$refs.filterInput.$el), n.autoUpdateModel();
97593
+ n.autoFilterFocus && n.filter && wo(n.$refs.filterInput.$el), n.autoUpdateModel();
97592
97594
  }, 1);
97593
97595
  },
97594
97596
  onOverlayAfterEnter: function() {
@@ -97597,7 +97599,7 @@ var Jb = {
97597
97599
  onOverlayLeave: function() {
97598
97600
  var i = this;
97599
97601
  this.unbindOutsideClickListener(), this.unbindScrollListener(), this.unbindResizeListener(), this.autoFilterFocus && this.filter && !this.editable && this.$nextTick(function() {
97600
- i.$refs.filterInput && vo(i.$refs.filterInput.$el);
97602
+ i.$refs.filterInput && wo(i.$refs.filterInput.$el);
97601
97603
  }), this.$emit("hide"), this.overlay = null;
97602
97604
  },
97603
97605
  onOverlayAfterLeave: function(i) {
@@ -97639,7 +97641,7 @@ var Jb = {
97639
97641
  if (!this.editable && !this.labelClickListener) {
97640
97642
  var n = document.querySelector('label[for="'.concat(this.labelId, '"]'));
97641
97643
  n && v3(n) && (this.labelClickListener = function() {
97642
- vo(i.$refs.focusInput);
97644
+ wo(i.$refs.focusInput);
97643
97645
  }, n.addEventListener("click", this.labelClickListener));
97644
97646
  }
97645
97647
  },
@@ -101571,7 +101573,7 @@ var e4 = sEe.extend("focustrap", {
101571
101573
  var y = zT(g) ? zT(g, a.getComputedSelector(i.$_pfocustrap_focusableselector)) ? g : Jd(i, a.getComputedSelector(i.$_pfocustrap_focusableselector)) : Jd(g);
101572
101574
  return mt(y) ? y : g.nextSibling && h(g.nextSibling);
101573
101575
  };
101574
- vo(h(u.nextSibling));
101576
+ wo(h(u.nextSibling));
101575
101577
  }
101576
101578
  });
101577
101579
  }), i.$_pfocustrap_mutationobserver.disconnect(), i.$_pfocustrap_mutationobserver.observe(i, {
@@ -101594,15 +101596,15 @@ var e4 = sEe.extend("focustrap", {
101594
101596
  },
101595
101597
  autoElementFocus: function(i, n) {
101596
101598
  var a = n.value || {}, s = a.autoFocusSelector, l = s === void 0 ? "" : s, d = a.firstFocusableSelector, p = d === void 0 ? "" : d, u = a.autoFocus, h = u === void 0 ? !1 : u, b = Jd(i, "[autofocus]".concat(this.getComputedSelector(l)));
101597
- h && !b && (b = Jd(i, this.getComputedSelector(p))), vo(b);
101599
+ h && !b && (b = Jd(i, this.getComputedSelector(p))), wo(b);
101598
101600
  },
101599
101601
  onFirstHiddenElementFocus: function(i) {
101600
101602
  var n, a = i.currentTarget, s = i.relatedTarget, l = s === a.$_pfocustrap_lasthiddenfocusableelement || !((n = this.$el) !== null && n !== void 0 && n.contains(s)) ? Jd(a.parentElement, this.getComputedSelector(a.$_pfocustrap_focusableselector)) : a.$_pfocustrap_lasthiddenfocusableelement;
101601
- vo(l);
101603
+ wo(l);
101602
101604
  },
101603
101605
  onLastHiddenElementFocus: function(i) {
101604
101606
  var n, a = i.currentTarget, s = i.relatedTarget, l = s === a.$_pfocustrap_firsthiddenfocusableelement || !((n = this.$el) !== null && n !== void 0 && n.contains(s)) ? hU(a.parentElement, this.getComputedSelector(a.$_pfocustrap_focusableselector)) : a.$_pfocustrap_firsthiddenfocusableelement;
101605
- vo(l);
101607
+ wo(l);
101606
101608
  },
101607
101609
  createHiddenFocusableElements: function(i, n) {
101608
101610
  var a = this, s = n.value || {}, l = s.tabIndex, d = l === void 0 ? 0 : l, p = s.firstFocusableSelector, u = p === void 0 ? "" : p, h = s.lastFocusableSelector, b = h === void 0 ? "" : h, g = function(E) {
@@ -104807,7 +104809,7 @@ var fC = {
104807
104809
  return n ? Ao(n, "data-pc-section") === "filterconstraintseparator" ? this.findPrevItem(n) : n : i.parentElement.lastElementChild;
104808
104810
  },
104809
104811
  hide: function() {
104810
- this.overlayVisible = !1, this.showMenuButton && vo(this.$refs.icon.$el);
104812
+ this.overlayVisible = !1, this.showMenuButton && wo(this.$refs.icon.$el);
104811
104813
  },
104812
104814
  onContentClick: function(i) {
104813
104815
  this.selfClick = !0, da.emit("overlay-click", {
@@ -107028,7 +107030,7 @@ var vV = {
107028
107030
  return i ? i[i.length - 1] : null;
107029
107031
  },
107030
107032
  focusRowChange: function(i, n) {
107031
- i.tabIndex = "-1", n.tabIndex = "0", vo(n);
107033
+ i.tabIndex = "-1", n.tabIndex = "0", wo(n);
107032
107034
  },
107033
107035
  toggleRowWithRadio: function(i) {
107034
107036
  var n = i.data;
@@ -110160,7 +110162,7 @@ var AV = {
110160
110162
  !this.isUnstyled && Ea(this.mask, "p-overlay-mask-leave");
110161
110163
  },
110162
110164
  onLeave: function() {
110163
- vo(this.target), this.target = null;
110165
+ wo(this.target), this.target = null;
110164
110166
  },
110165
110167
  onAfterLeave: function(i) {
110166
110168
  oi.clear(i), this.containerVisible = !1, x3(), this.unbindGlobalListeners();
@@ -110594,7 +110596,7 @@ var UOe = _o`
110594
110596
  switch (i.code) {
110595
110597
  case "Escape":
110596
110598
  this.hidePreview(), setTimeout(function() {
110597
- vo(n.$refs.previewButton);
110599
+ wo(n.$refs.previewButton);
110598
110600
  }, 200), i.preventDefault();
110599
110601
  break;
110600
110602
  }
@@ -111544,17 +111546,17 @@ var PV = {
111544
111546
  }, 1)), this.bindOutsideClickListener(), i.preventDefault();
111545
111547
  },
111546
111548
  show: function() {
111547
- vo(this.menubar);
111549
+ wo(this.menubar);
111548
111550
  },
111549
111551
  hide: function(i, n) {
111550
111552
  var a = this;
111551
111553
  this.mobileActive && (this.mobileActive = !1, setTimeout(function() {
111552
- vo(a.$refs.menubutton);
111554
+ wo(a.$refs.menubutton);
111553
111555
  }, 0)), this.activeItemPath = [], this.focusedItemInfo = {
111554
111556
  index: -1,
111555
111557
  level: 0,
111556
111558
  parentKey: ""
111557
- }, n && vo(this.menubar), this.dirty = !1;
111559
+ }, n && wo(this.menubar), this.dirty = !1;
111558
111560
  },
111559
111561
  onFocus: function(i) {
111560
111562
  this.focused = !0, this.focusedItemInfo = this.focusedItemInfo.index !== -1 ? this.focusedItemInfo : {
@@ -111625,7 +111627,7 @@ var PV = {
111625
111627
  index: l,
111626
111628
  level: p,
111627
111629
  parentKey: u
111628
- }, b && (this.dirty = !0), s && vo(this.menubar), !(n === "hover" && this.queryMatches) && (this.activeItemPath = g);
111630
+ }, b && (this.dirty = !0), s && wo(this.menubar), !(n === "hover" && this.queryMatches) && (this.activeItemPath = g);
111629
111631
  }
111630
111632
  },
111631
111633
  onItemClick: function(i) {
@@ -111638,14 +111640,14 @@ var PV = {
111638
111640
  index: p,
111639
111641
  level: h,
111640
111642
  parentKey: b
111641
- }, this.dirty = !l, vo(this.menubar);
111643
+ }, this.dirty = !l, wo(this.menubar);
111642
111644
  } else if (s)
111643
111645
  this.onItemChange(i);
111644
111646
  else {
111645
111647
  var g = l ? a : this.activeItemPath.find(function(y) {
111646
111648
  return y.parentKey === "";
111647
111649
  });
111648
- this.hide(n), this.changeFocusedItemIndex(n, g ? g.index : -1), this.mobileActive = !1, vo(this.menubar);
111650
+ this.hide(n), this.changeFocusedItemIndex(n, g ? g.index : -1), this.mobileActive = !1, wo(this.menubar);
111649
111651
  }
111650
111652
  },
111651
111653
  onItemMouseEnter: function(i) {
@@ -112234,7 +112236,7 @@ var CDe = _o`
112234
112236
  i.left < n.left && (a = n.left - i.left), this.container.style.setProperty(aC("popover.arrow.left").name, "".concat(a, "px")), i.top < n.top && (this.container.setAttribute("data-p-popover-flipped", "true"), !this.isUnstyled && Ea(this.container, "p-popover-flipped"));
112235
112237
  },
112236
112238
  onContentKeydown: function(i) {
112237
- i.code === "Escape" && this.closeOnEscape && (this.hide(), vo(this.target));
112239
+ i.code === "Escape" && this.closeOnEscape && (this.hide(), wo(this.target));
112238
112240
  },
112239
112241
  onButtonKeydown: function(i) {
112240
112242
  switch (i.code) {