@webitel/ui-sdk 26.6.33 → 26.6.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AgentStatus.enum-C3IGHtvR.js +9 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/caseConverters-DXegZoCt.js +27 -0
- package/dist/chunk-CY3AvKd6.js +20 -0
- package/dist/clients-A6MHYfOX.js +36118 -0
- package/dist/components-B4aAS7wB.js +5391 -0
- package/dist/composables-DnDH-KUv.js +263 -0
- package/dist/convertDuration-1K7fuEpO.js +8 -0
- package/dist/debounce-DrmECuJ2.js +128 -0
- package/dist/deep-copy-CQw5yeEH.js +41 -0
- package/dist/displayText-CtaxzaBz.js +3 -0
- package/dist/dist-05Bf47Wg.js +87 -0
- package/dist/dist-BYiYpK00.js +7 -0
- package/dist/dist-Dz55hlwp.js +1371 -0
- package/dist/engineCallFileType-D7QVFOac.js +11 -0
- package/dist/enums-pbYAJNeb.js +158 -0
- package/dist/errors-SUXKojVW.js +69 -0
- package/dist/floating-ui.dom-n2j9PKCB.js +842 -0
- package/dist/generateInstance-ppTIeLX4.js +2582 -0
- package/dist/isObject-Dgs_L5xI.js +11 -0
- package/dist/logger-hl3ueNok.js +47 -0
- package/dist/prod-Cp0BjuxI.js +775 -0
- package/dist/prod-DSuxcp5t.js +2 -0
- package/dist/side-channel-Cyte-MzW.js +833 -0
- package/dist/sortQueryAdapters-CyYXvnDN.js +14 -0
- package/dist/srt-parser-DdH5U08c.js +21 -0
- package/dist/ssa-parser-Bjs7yDD1.js +184 -0
- package/dist/ui-sdk.css +2 -1
- package/dist/ui-sdk.js +34541 -4
- package/dist/ui-sdk.umd.cjs +7740 -7606
- package/dist/useExpansion-DVdIpoOn.js +24 -0
- package/dist/useValidation-DG0tifBv.js +37 -0
- package/dist/useVidstackSrc-DfNrFbOO.js +155 -0
- package/dist/useWtTable-tqmVOvve.js +12 -0
- package/dist/vidstack-B01xzxC4-DeYSgDZy.js +7 -0
- package/dist/vidstack-BGSTndAW-CyKM_CM4.js +957 -0
- package/dist/vidstack-BQlOPwOu-ChhdffAJ.js +43 -0
- package/dist/vidstack-Bq6c3Bam-3dCf_D36.js +398 -0
- package/dist/vidstack-C2US-gSO-DeIgENrW.js +127 -0
- package/dist/vidstack-C9vIqaYT-C1EgPq17.js +9 -0
- package/dist/vidstack-CTojmhKq-D7sZJxgm.js +30 -0
- package/dist/vidstack-ChQTHmIQ-nTO94M6P.js +51 -0
- package/dist/vidstack-Ci54COQW-CAAXpwzv.js +208 -0
- package/dist/vidstack-D2pY00kU-DoW028io.js +70 -0
- package/dist/vidstack-D5EzK014-DOe01V3H.js +14 -0
- package/dist/vidstack-DDXt6fpN-Don_e6LS.js +42 -0
- package/dist/vidstack-D_-9AA6_-Dq3APB0-.js +19 -0
- package/dist/vidstack-Dihypf8P-ibWMCHK-.js +12 -0
- package/dist/vidstack-Dm1xEU9Q-VlefmrP8.js +31 -0
- package/dist/vidstack-DqAw8m9J-Dk1GT3Oe.js +22 -0
- package/dist/vidstack-audio-B58bvsna.js +23 -0
- package/dist/vidstack-dash-CX-LTHx3.js +332 -0
- package/dist/vidstack-google-cast-Co5Q_rfL.js +361 -0
- package/dist/vidstack-hls-CLzdTFu6.js +269 -0
- package/dist/vidstack-krOAtKMi-DN1WZC3p.js +30 -0
- package/dist/vidstack-video-XtP8iTBc.js +151 -0
- package/dist/vidstack-vimeo-EzzPpggD.js +386 -0
- package/dist/vidstack-youtube-C1_NAfWa.js +205 -0
- package/dist/vue-i18n-B8Px6VcD.js +2201 -0
- package/dist/wt-action-bar-Ba1ZJjE_.js +85 -0
- package/dist/wt-button-DENbrKdy.js +785 -0
- package/dist/wt-button-select-BnRHgJ4i.js +80 -0
- package/dist/wt-call-media-action-Bkyppnsm.js +42 -0
- package/dist/wt-chat-emoji-wdBt1XzD.js +2208 -0
- package/dist/wt-confirm-dialog-DCUitG2v.js +70 -0
- package/dist/wt-context-menu-yW52oF-2.js +89 -0
- package/dist/wt-copy-action-d9gVzAsB.js +38 -0
- package/dist/wt-datepicker-Cnbarx_j.js +5774 -0
- package/dist/wt-display-chip-items-CvMM8WMk.js +34 -0
- package/dist/wt-dual-panel-DAhTYFS_.js +49 -0
- package/dist/wt-dummy-CLjhRWZ6.js +59 -0
- package/dist/wt-error-page-vhu4lIyF.js +62 -0
- package/dist/wt-expand-transition-C2p9bR4j.js +39 -0
- package/dist/wt-expansion-card-qsxvbtZm.js +47 -0
- package/dist/wt-expansion-panel-C_EXvx1d.js +40 -0
- package/dist/wt-filters-panel-wrapper-Cc9b3aci.js +51 -0
- package/dist/wt-galleria-CWXKuZTD.js +224 -0
- package/dist/wt-icon-action-CQlZHMDB.js +100 -0
- package/dist/wt-icon-btn-CjjI4cgE.js +107 -0
- package/dist/wt-icon-pxO7IjwV.js +1026 -0
- package/dist/wt-inline-add-panel-B0E4Vk2l.js +43 -0
- package/dist/wt-navigation-menu-CenQi_-T.js +126 -0
- package/dist/wt-notifications-bar-Ep1QuFZi.js +52 -0
- package/dist/wt-page-header-CDbd4aOh.js +59 -0
- package/dist/wt-pagination-BA_PZPIE.js +94 -0
- package/dist/wt-player-uidPXSTe.js +287 -0
- package/dist/wt-popover-CJZH3wMl.js +98 -0
- package/dist/wt-screen-recordings-action-Dg7Ts2Jt.js +37 -0
- package/dist/wt-search-bar-CWZdvAOf.js +123 -0
- package/dist/wt-selection-popup-B77UY7Yu.js +79 -0
- package/dist/wt-send-message-popup-D0GJMGni.js +77 -0
- package/dist/wt-slider-BS3SoGht.js +68 -0
- package/dist/wt-start-page-eN1PEokc.js +86 -0
- package/dist/wt-status-select-A5t6Vjm4.js +101 -0
- package/dist/wt-stepper-B6zpd1Uh.js +41 -0
- package/dist/wt-table-D0FynxIE.js +364 -0
- package/dist/wt-table-actions-4-peSVkc.js +63 -0
- package/dist/wt-table-column-select-DFF6z3a3.js +100 -0
- package/dist/wt-tabs-DuOgj-lZ.js +60 -0
- package/dist/wt-time-input-CO2cop3y.js +62 -0
- package/dist/wt-timepicker-BltFF1QD.js +145 -0
- package/dist/wt-tree-ZyoPrNOl.js +1206 -0
- package/dist/wt-tree-table-MLET4gIv.js +221 -0
- package/dist/wt-type-extension-value-input-fnNxJLsq.js +104 -0
- package/dist/wt-vidstack-player-DLTA9mBK.js +7440 -0
- package/package.json +5 -5
- package/src/components/wt-table-column-select/__tests__/WtTableColumnSelect.spec.js +3 -3
- package/src/components/wt-vidstack-player/wt-vidstack-player.vue +2 -2
- package/dist/contacts-C-FnP7wP.js +0 -49654
- package/dist/displayText-Cbh4IOfM.js +0 -5
- package/dist/engineCallFileType-yaadA7-2.js +0 -8
- package/dist/errors-CTL-RV3B.js +0 -70
- package/dist/index-BBLSS-t1.js +0 -50
- package/dist/install-DOSuNFtE.js +0 -53489
- package/dist/isObject-CMQJaQIp.js +0 -28
- package/dist/prod-BoQuiIB3.js +0 -973
- package/dist/srt-parser-CsN7bp5E.js +0 -26
- package/dist/ssa-parser-BJOOPeQF.js +0 -200
- package/dist/useExpansion-BrQ40HiR.js +0 -24
- package/dist/useVidstackSrc-MfWBq7Ef.js +0 -1341
- package/dist/vidstack-Bq6c3Bam-C_T8PkmG.js +0 -426
- package/dist/vidstack-D2pY00kU-CphVKcJq.js +0 -136
- package/dist/vidstack-DDXt6fpN-2lNfj8Ca.js +0 -51
- package/dist/vidstack-D_-9AA6_-Cyl8HzDm.js +0 -21
- package/dist/vidstack-Dm1xEU9Q-CXHNvShT.js +0 -30
- package/dist/vidstack-DqAw8m9J-C2p9K7Db.js +0 -22
- package/dist/vidstack-audio-BL-Sa_Ap.js +0 -28
- package/dist/vidstack-dash-mKhgfurw.js +0 -393
- package/dist/vidstack-google-cast-BGqSw2iP.js +0 -383
- package/dist/vidstack-hls-U5fTV3hj.js +0 -310
- package/dist/vidstack-krOAtKMi-C50BTxmn.js +0 -28
- package/dist/vidstack-video-Bxf7KDne.js +0 -164
- package/dist/vidstack-vimeo-MngSXtDR.js +0 -452
- package/dist/vidstack-youtube-Ctg91VeX.js +0 -233
- package/dist/wt-action-bar-DaDcqA4n.js +0 -102
- package/dist/wt-button-select-q_BITVhH.js +0 -105
- package/dist/wt-call-media-action-BkBcZN17.js +0 -60
- package/dist/wt-chat-emoji-BGuSgYi3.js +0 -2909
- package/dist/wt-confirm-dialog-C7-74ROm.js +0 -92
- package/dist/wt-context-menu-CzAHMaOj.js +0 -104
- package/dist/wt-copy-action-BpckAObd.js +0 -60
- package/dist/wt-datepicker-DauMnf2r.js +0 -5660
- package/dist/wt-display-chip-items-zcqxH89_.js +0 -47
- package/dist/wt-dual-panel-Cj79kJpk.js +0 -66
- package/dist/wt-dummy-BUHYAcsk.js +0 -104
- package/dist/wt-error-page-CNSqDA-o.js +0 -89
- package/dist/wt-expansion-card-CtcuXg6f.js +0 -56
- package/dist/wt-expansion-panel-BU2Hb-N2.js +0 -54
- package/dist/wt-filters-panel-wrapper-BlLlAixc.js +0 -75
- package/dist/wt-galleria-BQzGD6-3.js +0 -323
- package/dist/wt-inline-add-panel-fG58a6T3.js +0 -49
- package/dist/wt-navigation-menu-2ggfyrM_.js +0 -159
- package/dist/wt-notifications-bar-Epn_SA_R.js +0 -79
- package/dist/wt-page-header-DdsnoLgd.js +0 -115
- package/dist/wt-pagination-Byg79HfY.js +0 -144
- package/dist/wt-player-kjdJYVi3.js +0 -291
- package/dist/wt-popover-Di-7_rDL.js +0 -4
- package/dist/wt-popover.vue_vue_type_style_index_0_lang-DMDTlCgv.js +0 -81
- package/dist/wt-screen-recordings-action-Z3x-gI0n.js +0 -54
- package/dist/wt-search-bar-CxwSi-Xo.js +0 -144
- package/dist/wt-selection-popup-MdCfrgcd.js +0 -109
- package/dist/wt-send-message-popup-DklTgoGj.js +0 -579
- package/dist/wt-slider-BEkw4KGp.js +0 -4
- package/dist/wt-slider.vue_vue_type_script_setup_true_lang-DlaRDHxo.js +0 -55
- package/dist/wt-start-page-B59KbWqX.js +0 -99
- package/dist/wt-status-select-hOAr_xBg.js +0 -138
- package/dist/wt-stepper-CMeW3d6N.js +0 -65
- package/dist/wt-table-C5CLtnK5.js +0 -426
- package/dist/wt-table-actions-DgAfy-dd.js +0 -79
- package/dist/wt-table-column-select-BK5rozpI.js +0 -128
- package/dist/wt-tabs-Bn6rSg0s.js +0 -74
- package/dist/wt-time-input-DYiW0ijt.js +0 -42
- package/dist/wt-timepicker-CkjoLwXC.js +0 -118
- package/dist/wt-tree-CCvr4TTF.js +0 -2777
- package/dist/wt-tree-table-BWmGF3rE.js +0 -285
- package/dist/wt-type-extension-value-input-q5286OSO.js +0 -121
- package/dist/wt-vidstack-player-CTWna35Q.js +0 -9093
|
@@ -0,0 +1,957 @@
|
|
|
1
|
+
//#region node_modules/vidstack/prod/chunks/vidstack-BGSTndAW.js
|
|
2
|
+
var e = Symbol(0), t = !1, n = !1, r = null, i = null, a = null, o = 0, s = [], c = {}, l = () => {}, u = 0, d = 1, f = 2, p = 3;
|
|
3
|
+
function m() {
|
|
4
|
+
t = !0, queueMicrotask(h);
|
|
5
|
+
}
|
|
6
|
+
function h() {
|
|
7
|
+
if (!s.length) {
|
|
8
|
+
t = !1;
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
n = !0;
|
|
12
|
+
for (let e = 0; e < s.length; e++) s[e].$st !== u && g(s[e]);
|
|
13
|
+
s = [], t = !1, n = !1;
|
|
14
|
+
}
|
|
15
|
+
function g(t) {
|
|
16
|
+
let n = [t];
|
|
17
|
+
for (; t = t[e];) t.$e && t.$st !== u && n.push(t);
|
|
18
|
+
for (let e = n.length - 1; e >= 0; e--) re(n[e]);
|
|
19
|
+
}
|
|
20
|
+
function _(e) {
|
|
21
|
+
let t = F();
|
|
22
|
+
return k(t, e.length ? e.bind(null, E.bind(t)) : e, null);
|
|
23
|
+
}
|
|
24
|
+
function v(e) {
|
|
25
|
+
return k(r, e, null);
|
|
26
|
+
}
|
|
27
|
+
function y(e) {
|
|
28
|
+
return k(null, e, null);
|
|
29
|
+
}
|
|
30
|
+
function b() {
|
|
31
|
+
n || h();
|
|
32
|
+
}
|
|
33
|
+
function x() {
|
|
34
|
+
return r;
|
|
35
|
+
}
|
|
36
|
+
function S(e, t) {
|
|
37
|
+
try {
|
|
38
|
+
return k(t, e, null);
|
|
39
|
+
} catch (e) {
|
|
40
|
+
A(t, e);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
function C(e, t = r) {
|
|
45
|
+
return t?.$cx[e];
|
|
46
|
+
}
|
|
47
|
+
function w(e, t, n = r) {
|
|
48
|
+
n && (n.$cx = {
|
|
49
|
+
...n.$cx,
|
|
50
|
+
[e]: t
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function T(e) {
|
|
54
|
+
if (!e || !r) return e || l;
|
|
55
|
+
let t = r;
|
|
56
|
+
return t.$d ? Array.isArray(t.$d) ? t.$d.push(e) : t.$d = [t.$d, e] : t.$d = e, function() {
|
|
57
|
+
t.$st !== p && (e.call(null), L(t.$d) ? t.$d = null : Array.isArray(t.$d) && t.$d.splice(t.$d.indexOf(e), 1));
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function E(t = !0) {
|
|
61
|
+
if (this.$st !== p) {
|
|
62
|
+
if (this.$h) if (Array.isArray(this.$h)) for (let e = this.$h.length - 1; e >= 0; e--) E.call(this.$h[e]);
|
|
63
|
+
else E.call(this.$h);
|
|
64
|
+
if (t) {
|
|
65
|
+
let t = this[e];
|
|
66
|
+
t && (Array.isArray(t.$h) ? t.$h.splice(t.$h.indexOf(this), 1) : t.$h = null), D(this);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
function D(t) {
|
|
71
|
+
t.$st = p, t.$d && O(t), t.$s && ce(t, 0), t[e] = null, t.$s = null, t.$o = null, t.$h = null, t.$cx = c, t.$eh = null;
|
|
72
|
+
}
|
|
73
|
+
function O(e) {
|
|
74
|
+
try {
|
|
75
|
+
if (Array.isArray(e.$d)) for (let t = e.$d.length - 1; t >= 0; t--) {
|
|
76
|
+
let n = e.$d[t];
|
|
77
|
+
n.call(n);
|
|
78
|
+
}
|
|
79
|
+
else e.$d.call(e.$d);
|
|
80
|
+
e.$d = null;
|
|
81
|
+
} catch (t) {
|
|
82
|
+
A(e, t);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function k(e, t, n) {
|
|
86
|
+
let a = r, o = i;
|
|
87
|
+
r = e, i = n;
|
|
88
|
+
try {
|
|
89
|
+
return t.call(e);
|
|
90
|
+
} finally {
|
|
91
|
+
r = a, i = o;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function A(e, t) {
|
|
95
|
+
if (!e || !e.$eh) throw t;
|
|
96
|
+
let n = 0, r = e.$eh.length, i = t;
|
|
97
|
+
for (n = 0; n < r; n++) try {
|
|
98
|
+
e.$eh[n](i);
|
|
99
|
+
break;
|
|
100
|
+
} catch (e) {
|
|
101
|
+
i = e;
|
|
102
|
+
}
|
|
103
|
+
if (n === r) throw i;
|
|
104
|
+
}
|
|
105
|
+
function j() {
|
|
106
|
+
return this.$st === p ? this.$v : (i && !this.$e && (!a && i.$s && i.$s[o] == this ? o++ : a ? a.push(this) : a = [this]), this.$c && re(this), this.$v);
|
|
107
|
+
}
|
|
108
|
+
function M(e) {
|
|
109
|
+
let t = L(e) ? e(this.$v) : e;
|
|
110
|
+
if (this.$ch(this.$v, t) && (this.$v = t, this.$o)) for (let e = 0; e < this.$o.length; e++) se(this.$o[e], f);
|
|
111
|
+
return this.$v;
|
|
112
|
+
}
|
|
113
|
+
var N = function() {
|
|
114
|
+
this[e] = null, this.$h = null, r && r.append(this);
|
|
115
|
+
}, P = N.prototype;
|
|
116
|
+
P.$cx = c, P.$eh = null, P.$c = null, P.$d = null, P.append = function(t) {
|
|
117
|
+
t[e] = this, this.$h ? Array.isArray(this.$h) ? this.$h.push(t) : this.$h = [this.$h, t] : this.$h = t, t.$cx = t.$cx === c ? this.$cx : {
|
|
118
|
+
...this.$cx,
|
|
119
|
+
...t.$cx
|
|
120
|
+
}, this.$eh && (t.$eh = t.$eh ? [...t.$eh, ...this.$eh] : this.$eh);
|
|
121
|
+
}, P.dispose = function() {
|
|
122
|
+
E.call(this);
|
|
123
|
+
};
|
|
124
|
+
function F() {
|
|
125
|
+
return new N();
|
|
126
|
+
}
|
|
127
|
+
var I = function(e, t, n) {
|
|
128
|
+
N.call(this), this.$st = t ? f : u, this.$i = !1, this.$e = !1, this.$s = null, this.$o = null, this.$v = e, t && (this.$c = t), n && n.dirty && (this.$ch = n.dirty);
|
|
129
|
+
}, ee = I.prototype;
|
|
130
|
+
Object.setPrototypeOf(ee, P), ee.$ch = ne, ee.call = j;
|
|
131
|
+
function te(e, t, n) {
|
|
132
|
+
return new I(e, t, n);
|
|
133
|
+
}
|
|
134
|
+
function ne(e, t) {
|
|
135
|
+
return e !== t;
|
|
136
|
+
}
|
|
137
|
+
function L(e) {
|
|
138
|
+
return typeof e == "function";
|
|
139
|
+
}
|
|
140
|
+
function re(e) {
|
|
141
|
+
if (e.$st === d) for (let t = 0; t < e.$s.length && (re(e.$s[t]), e.$st !== f); t++);
|
|
142
|
+
e.$st === f ? ae(e) : e.$st = u;
|
|
143
|
+
}
|
|
144
|
+
function ie(t) {
|
|
145
|
+
t.$h && E.call(t, !1), t.$d && O(t), t.$eh = t[e] ? t[e].$eh : null;
|
|
146
|
+
}
|
|
147
|
+
function ae(e) {
|
|
148
|
+
let t = a, n = o;
|
|
149
|
+
a = null, o = 0;
|
|
150
|
+
try {
|
|
151
|
+
ie(e);
|
|
152
|
+
let t = k(e, e.$c, e);
|
|
153
|
+
oe(e), !e.$e && e.$i ? M.call(e, t) : (e.$v = t, e.$i = !0);
|
|
154
|
+
} catch (t) {
|
|
155
|
+
oe(e), A(e, t);
|
|
156
|
+
} finally {
|
|
157
|
+
a = t, o = n, e.$st = u;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function oe(e) {
|
|
161
|
+
if (a) {
|
|
162
|
+
if (e.$s && ce(e, o), e.$s && o > 0) {
|
|
163
|
+
e.$s.length = o + a.length;
|
|
164
|
+
for (let t = 0; t < a.length; t++) e.$s[o + t] = a[t];
|
|
165
|
+
} else e.$s = a;
|
|
166
|
+
let t;
|
|
167
|
+
for (let n = o; n < e.$s.length; n++) t = e.$s[n], t.$o ? t.$o.push(e) : t.$o = [e];
|
|
168
|
+
} else e.$s && o < e.$s.length && (ce(e, o), e.$s.length = o);
|
|
169
|
+
}
|
|
170
|
+
function se(e, n) {
|
|
171
|
+
if (!(e.$st >= n) && (e.$e && e.$st === u && (s.push(e), t || m()), e.$st = n, e.$o)) for (let t = 0; t < e.$o.length; t++) se(e.$o[t], d);
|
|
172
|
+
}
|
|
173
|
+
function ce(e, t) {
|
|
174
|
+
let n, r;
|
|
175
|
+
for (let i = t; i < e.$s.length; i++) n = e.$s[i], n.$o && (r = n.$o.indexOf(e), n.$o[r] = n.$o[n.$o.length - 1], n.$o.pop());
|
|
176
|
+
}
|
|
177
|
+
function R(...e) {}
|
|
178
|
+
function le(e) {
|
|
179
|
+
return e === null;
|
|
180
|
+
}
|
|
181
|
+
function z(e) {
|
|
182
|
+
return e === void 0;
|
|
183
|
+
}
|
|
184
|
+
function ue(e) {
|
|
185
|
+
return le(e) || z(e);
|
|
186
|
+
}
|
|
187
|
+
function de(e) {
|
|
188
|
+
return e?.constructor === Object;
|
|
189
|
+
}
|
|
190
|
+
function fe(e) {
|
|
191
|
+
return typeof e == "number" && !Number.isNaN(e);
|
|
192
|
+
}
|
|
193
|
+
function pe(e) {
|
|
194
|
+
return typeof e == "string";
|
|
195
|
+
}
|
|
196
|
+
function me(e) {
|
|
197
|
+
return typeof e == "boolean";
|
|
198
|
+
}
|
|
199
|
+
function he(e) {
|
|
200
|
+
return typeof e == "function";
|
|
201
|
+
}
|
|
202
|
+
function ge(e) {
|
|
203
|
+
return Array.isArray(e);
|
|
204
|
+
}
|
|
205
|
+
var _e = Event, ve = Symbol("DOM_EVENT"), ye = class extends _e {
|
|
206
|
+
[ve] = !0;
|
|
207
|
+
detail;
|
|
208
|
+
triggers = new be();
|
|
209
|
+
get trigger() {
|
|
210
|
+
return this.triggers.source;
|
|
211
|
+
}
|
|
212
|
+
get originEvent() {
|
|
213
|
+
return this.triggers.origin;
|
|
214
|
+
}
|
|
215
|
+
get isOriginTrusted() {
|
|
216
|
+
return this.triggers.origin?.isTrusted ?? !1;
|
|
217
|
+
}
|
|
218
|
+
constructor(e, ...t) {
|
|
219
|
+
super(e, t[0]), this.detail = t[0]?.detail;
|
|
220
|
+
let n = t[0]?.trigger;
|
|
221
|
+
n && this.triggers.add(n);
|
|
222
|
+
}
|
|
223
|
+
}, be = class {
|
|
224
|
+
chain = [];
|
|
225
|
+
get source() {
|
|
226
|
+
return this.chain[0];
|
|
227
|
+
}
|
|
228
|
+
get origin() {
|
|
229
|
+
return this.chain[this.chain.length - 1];
|
|
230
|
+
}
|
|
231
|
+
add(e) {
|
|
232
|
+
this.chain.push(e), xe(e) && this.chain.push(...e.triggers);
|
|
233
|
+
}
|
|
234
|
+
remove(e) {
|
|
235
|
+
return this.chain.splice(this.chain.indexOf(e), 1)[0];
|
|
236
|
+
}
|
|
237
|
+
has(e) {
|
|
238
|
+
return this.chain.some((t) => t === e);
|
|
239
|
+
}
|
|
240
|
+
hasType(e) {
|
|
241
|
+
return !!this.findType(e);
|
|
242
|
+
}
|
|
243
|
+
findType(e) {
|
|
244
|
+
return this.chain.find((t) => t.type === e);
|
|
245
|
+
}
|
|
246
|
+
walk(e) {
|
|
247
|
+
for (let t of this.chain) {
|
|
248
|
+
let n = e(t);
|
|
249
|
+
if (n) return [t, n];
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
[Symbol.iterator]() {
|
|
253
|
+
return this.chain.values();
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
function xe(e) {
|
|
257
|
+
return !!e?.[ve];
|
|
258
|
+
}
|
|
259
|
+
var Se = class extends EventTarget {
|
|
260
|
+
$ts__events;
|
|
261
|
+
addEventListener(e, t, n) {
|
|
262
|
+
return super.addEventListener(e, t, n);
|
|
263
|
+
}
|
|
264
|
+
removeEventListener(e, t, n) {
|
|
265
|
+
return super.removeEventListener(e, t, n);
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
function Ce(e, t, n, r) {
|
|
269
|
+
return e.addEventListener(t, n, r), T(() => e.removeEventListener(t, n, r));
|
|
270
|
+
}
|
|
271
|
+
var we = class {
|
|
272
|
+
#e;
|
|
273
|
+
#t;
|
|
274
|
+
get signal() {
|
|
275
|
+
return this.#t.signal;
|
|
276
|
+
}
|
|
277
|
+
constructor(e) {
|
|
278
|
+
this.#e = e, this.#t = new AbortController(), T(this.abort.bind(this));
|
|
279
|
+
}
|
|
280
|
+
add(e, t, n) {
|
|
281
|
+
if (this.signal.aborted) throw Error("aborted");
|
|
282
|
+
return this.#e.addEventListener(e, t, {
|
|
283
|
+
...n,
|
|
284
|
+
signal: n?.signal ? Te(this.signal, n.signal) : this.signal
|
|
285
|
+
}), this;
|
|
286
|
+
}
|
|
287
|
+
remove(e, t) {
|
|
288
|
+
return this.#e.removeEventListener(e, t), this;
|
|
289
|
+
}
|
|
290
|
+
abort(e) {
|
|
291
|
+
this.#t.abort(e);
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
function Te(...e) {
|
|
295
|
+
let t = new AbortController(), n = { signal: t.signal };
|
|
296
|
+
function r(e) {
|
|
297
|
+
t.abort(e.target.reason);
|
|
298
|
+
}
|
|
299
|
+
for (let i of e) {
|
|
300
|
+
if (i.aborted) {
|
|
301
|
+
t.abort(i.reason);
|
|
302
|
+
break;
|
|
303
|
+
}
|
|
304
|
+
i.addEventListener("abort", r, n);
|
|
305
|
+
}
|
|
306
|
+
return t.signal;
|
|
307
|
+
}
|
|
308
|
+
function Ee(e) {
|
|
309
|
+
return !!e?.type.startsWith("pointer");
|
|
310
|
+
}
|
|
311
|
+
function De(e) {
|
|
312
|
+
return !!e?.type.startsWith("touch");
|
|
313
|
+
}
|
|
314
|
+
function Oe(e) {
|
|
315
|
+
return /^(click|mouse)/.test(e?.type ?? "");
|
|
316
|
+
}
|
|
317
|
+
function ke(e) {
|
|
318
|
+
return !!e?.type.startsWith("key");
|
|
319
|
+
}
|
|
320
|
+
function Ae(e) {
|
|
321
|
+
return ke(e) && e.key === "Enter";
|
|
322
|
+
}
|
|
323
|
+
function je(e) {
|
|
324
|
+
return ke(e) && (e.key === "Enter" || e.key === " ");
|
|
325
|
+
}
|
|
326
|
+
function Me(e) {
|
|
327
|
+
return e instanceof Node;
|
|
328
|
+
}
|
|
329
|
+
function Ne(e, t, n) {
|
|
330
|
+
if (e) if (!n && n !== "" && n !== 0) e.removeAttribute(t);
|
|
331
|
+
else {
|
|
332
|
+
let r = n === !0 ? "" : n + "";
|
|
333
|
+
e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
function Pe(e, t, n) {
|
|
337
|
+
if (e) !n && n !== 0 ? e.style.removeProperty(t) : e.style.setProperty(t, n + "");
|
|
338
|
+
else return;
|
|
339
|
+
}
|
|
340
|
+
function B(t, n) {
|
|
341
|
+
let r = te(t, null, n), i = j.bind(r);
|
|
342
|
+
return i[e] = !0, i.set = M.bind(r), i;
|
|
343
|
+
}
|
|
344
|
+
function Fe(t) {
|
|
345
|
+
return L(t) && e in t;
|
|
346
|
+
}
|
|
347
|
+
function Ie(t, n) {
|
|
348
|
+
let r = te(n?.initial, t, n), i = j.bind(r);
|
|
349
|
+
return i[e] = !0, i;
|
|
350
|
+
}
|
|
351
|
+
function Le(e, t) {
|
|
352
|
+
let n = te(null, function() {
|
|
353
|
+
let t = e();
|
|
354
|
+
return L(t) && T(t), null;
|
|
355
|
+
}, void 0);
|
|
356
|
+
return n.$e = !0, ae(n), E.bind(n, !0);
|
|
357
|
+
}
|
|
358
|
+
function Re(e) {
|
|
359
|
+
return Fe(e) && "set" in e;
|
|
360
|
+
}
|
|
361
|
+
var V = Le;
|
|
362
|
+
function ze(e) {
|
|
363
|
+
return {
|
|
364
|
+
id: Symbol(),
|
|
365
|
+
provide: e
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
function Be(e, t, n = x()) {
|
|
369
|
+
let r = !z(t);
|
|
370
|
+
w(e.id, r ? t : e.provide?.(), n);
|
|
371
|
+
}
|
|
372
|
+
function Ve(e) {
|
|
373
|
+
return C(e.id);
|
|
374
|
+
}
|
|
375
|
+
function He(e) {
|
|
376
|
+
return !z(C(e.id));
|
|
377
|
+
}
|
|
378
|
+
var H = /* @__PURE__ */ Symbol(0), U = /* @__PURE__ */ Symbol(0), Ue = /* @__PURE__ */ Symbol(0), We = {}, Ge = class {
|
|
379
|
+
$ts__events;
|
|
380
|
+
$ts__vars;
|
|
381
|
+
[Ue] = null;
|
|
382
|
+
$el = B(null);
|
|
383
|
+
el = null;
|
|
384
|
+
scope = null;
|
|
385
|
+
attachScope = null;
|
|
386
|
+
connectScope = null;
|
|
387
|
+
component = null;
|
|
388
|
+
destroyed = !1;
|
|
389
|
+
props = We;
|
|
390
|
+
attrs = null;
|
|
391
|
+
styles = null;
|
|
392
|
+
state;
|
|
393
|
+
$state;
|
|
394
|
+
#e = [];
|
|
395
|
+
#t = [];
|
|
396
|
+
#n = [];
|
|
397
|
+
#r = [];
|
|
398
|
+
constructor(e, t, n) {
|
|
399
|
+
this.scope = t, n?.scope && n.scope.append(t);
|
|
400
|
+
let r = e.state, i = e.props;
|
|
401
|
+
if (r && (this.$state = r.create(), this.state = new Proxy(this.$state, { get: (e, t) => this.$state[t]() }), Be(r, this.$state)), i && (this.props = Ke(i), n?.props)) for (let e of Object.keys(n.props)) this.props[e]?.set(n.props[e]);
|
|
402
|
+
T(this.destroy.bind(this));
|
|
403
|
+
}
|
|
404
|
+
setup() {
|
|
405
|
+
S(() => {
|
|
406
|
+
for (let e of this.#e) e();
|
|
407
|
+
}, this.scope);
|
|
408
|
+
}
|
|
409
|
+
attach(e) {
|
|
410
|
+
this.el || (this.el = e, this.$el.set(e), S(() => {
|
|
411
|
+
this.attachScope = F(), S(() => {
|
|
412
|
+
for (let e of this.#t) e(this.el);
|
|
413
|
+
this.#i(), this.#a();
|
|
414
|
+
}, this.attachScope);
|
|
415
|
+
}, this.scope), e.dispatchEvent(new Event("attached")));
|
|
416
|
+
}
|
|
417
|
+
detach() {
|
|
418
|
+
this.attachScope?.dispose(), this.attachScope = null, this.connectScope = null, this.el = null, this.$el.set(null);
|
|
419
|
+
}
|
|
420
|
+
connect() {
|
|
421
|
+
!this.el || !this.attachScope || !this.#n.length || S(() => {
|
|
422
|
+
this.connectScope = F(), S(() => {
|
|
423
|
+
for (let e of this.#n) e(this.el);
|
|
424
|
+
}, this.connectScope);
|
|
425
|
+
}, this.attachScope);
|
|
426
|
+
}
|
|
427
|
+
disconnect() {
|
|
428
|
+
this.connectScope?.dispose(), this.connectScope = null;
|
|
429
|
+
}
|
|
430
|
+
destroy() {
|
|
431
|
+
if (this.destroyed) return;
|
|
432
|
+
this.destroyed = !0, S(() => {
|
|
433
|
+
for (let e of this.#r) e(this.el);
|
|
434
|
+
}, this.scope);
|
|
435
|
+
let e = this.el;
|
|
436
|
+
this.detach(), this.scope.dispose(), this.#e.length = 0, this.#t.length = 0, this.#n.length = 0, this.#r.length = 0, this.component = null, this.attrs = null, this.styles = null, this.props = We, this.scope = null, this.state = We, this.$state = null, e && delete e.$;
|
|
437
|
+
}
|
|
438
|
+
addHooks(e) {
|
|
439
|
+
e.onSetup && this.#e.push(e.onSetup.bind(e)), e.onAttach && this.#t.push(e.onAttach.bind(e)), e.onConnect && this.#n.push(e.onConnect.bind(e)), e.onDestroy && this.#r.push(e.onDestroy.bind(e));
|
|
440
|
+
}
|
|
441
|
+
#i() {
|
|
442
|
+
if (this.attrs) for (let e of Object.keys(this.attrs)) he(this.attrs[e]) ? V(this.#o.bind(this, e)) : Ne(this.el, e, this.attrs[e]);
|
|
443
|
+
}
|
|
444
|
+
#a() {
|
|
445
|
+
if (this.styles) for (let e of Object.keys(this.styles)) he(this.styles[e]) ? V(this.#s.bind(this, e)) : Pe(this.el, e, this.styles[e]);
|
|
446
|
+
}
|
|
447
|
+
#o(e) {
|
|
448
|
+
Ne(this.el, e, this.attrs[e].call(this.component));
|
|
449
|
+
}
|
|
450
|
+
#s(e) {
|
|
451
|
+
Pe(this.el, e, this.styles[e].call(this.component));
|
|
452
|
+
}
|
|
453
|
+
};
|
|
454
|
+
function Ke(e) {
|
|
455
|
+
let t = {};
|
|
456
|
+
for (let n of Object.keys(e)) {
|
|
457
|
+
let r = e[n];
|
|
458
|
+
t[n] = B(r, r);
|
|
459
|
+
}
|
|
460
|
+
return t;
|
|
461
|
+
}
|
|
462
|
+
var W = { $$: null };
|
|
463
|
+
function qe(e, t) {
|
|
464
|
+
return _(() => {
|
|
465
|
+
W.$$ = new Ge(e, x(), t);
|
|
466
|
+
let n = new e();
|
|
467
|
+
return W.$$.component = n, W.$$ = null, n;
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
var Je = class extends EventTarget {
|
|
471
|
+
$$;
|
|
472
|
+
get el() {
|
|
473
|
+
return this.$$.el;
|
|
474
|
+
}
|
|
475
|
+
get $el() {
|
|
476
|
+
return this.$$.$el();
|
|
477
|
+
}
|
|
478
|
+
get scope() {
|
|
479
|
+
return this.$$.scope;
|
|
480
|
+
}
|
|
481
|
+
get attachScope() {
|
|
482
|
+
return this.$$.attachScope;
|
|
483
|
+
}
|
|
484
|
+
get connectScope() {
|
|
485
|
+
return this.$$.connectScope;
|
|
486
|
+
}
|
|
487
|
+
get $props() {
|
|
488
|
+
return this.$$.props;
|
|
489
|
+
}
|
|
490
|
+
get $state() {
|
|
491
|
+
return this.$$.$state;
|
|
492
|
+
}
|
|
493
|
+
get state() {
|
|
494
|
+
return this.$$.state;
|
|
495
|
+
}
|
|
496
|
+
constructor() {
|
|
497
|
+
super(), W.$$ && this.attach(W);
|
|
498
|
+
}
|
|
499
|
+
attach({ $$: e }) {
|
|
500
|
+
return this.$$ = e, e.addHooks(this), this;
|
|
501
|
+
}
|
|
502
|
+
addEventListener(e, t, n) {
|
|
503
|
+
this.listen(e, t, n);
|
|
504
|
+
}
|
|
505
|
+
removeEventListener(e, t, n) {
|
|
506
|
+
this.el?.removeEventListener(e, t, n);
|
|
507
|
+
}
|
|
508
|
+
setAttributes(e) {
|
|
509
|
+
this.$$.attrs || (this.$$.attrs = {}), Object.assign(this.$$.attrs, e);
|
|
510
|
+
}
|
|
511
|
+
setStyles(e) {
|
|
512
|
+
this.$$.styles || (this.$$.styles = {}), Object.assign(this.$$.styles, e);
|
|
513
|
+
}
|
|
514
|
+
setCSSVars(e) {
|
|
515
|
+
this.setStyles(e);
|
|
516
|
+
}
|
|
517
|
+
createEvent(e, ...t) {
|
|
518
|
+
return new ye(e, t[0]);
|
|
519
|
+
}
|
|
520
|
+
dispatch(e, ...t) {
|
|
521
|
+
if (!this.el) return !1;
|
|
522
|
+
let n = e instanceof Event ? e : new ye(e, t[0]);
|
|
523
|
+
return Object.defineProperty(n, "target", { get: () => this.$$.component }), y(() => (this.$$[Ue]?.(n), this.el.dispatchEvent(n)));
|
|
524
|
+
}
|
|
525
|
+
dispatchEvent(e) {
|
|
526
|
+
return this.dispatch(e);
|
|
527
|
+
}
|
|
528
|
+
listen(e, t, n) {
|
|
529
|
+
return this.el ? Ce(this.el, e, t, n) : R;
|
|
530
|
+
}
|
|
531
|
+
}, Ye = class extends Je {
|
|
532
|
+
subscribe(e) {
|
|
533
|
+
return S(() => V(() => e(this.state)), this.$$.scope);
|
|
534
|
+
}
|
|
535
|
+
destroy() {
|
|
536
|
+
this.$$.destroy();
|
|
537
|
+
}
|
|
538
|
+
};
|
|
539
|
+
function Xe(e, t, n) {
|
|
540
|
+
e[H] || (e[H] = /* @__PURE__ */ new Set()), e[H].add(t);
|
|
541
|
+
}
|
|
542
|
+
function Ze(e, t, n) {
|
|
543
|
+
e[U] || (e[U] = /* @__PURE__ */ new Set()), e[U].add(t);
|
|
544
|
+
}
|
|
545
|
+
var Qe = class {
|
|
546
|
+
id = Symbol(0);
|
|
547
|
+
record;
|
|
548
|
+
#e;
|
|
549
|
+
constructor(e) {
|
|
550
|
+
this.record = e, this.#e = Object.getOwnPropertyDescriptors(e);
|
|
551
|
+
}
|
|
552
|
+
create() {
|
|
553
|
+
let e = {}, t = new Proxy(e, { get: (t, n) => e[n]() });
|
|
554
|
+
for (let n of Object.keys(this.record)) {
|
|
555
|
+
let r = this.#e[n].get;
|
|
556
|
+
e[n] = r ? Ie(r.bind(t)) : B(this.record[n]);
|
|
557
|
+
}
|
|
558
|
+
return e;
|
|
559
|
+
}
|
|
560
|
+
reset(e, t) {
|
|
561
|
+
for (let n of Object.keys(e)) !this.#e[n].get && (!t || t(n)) && e[n].set(this.record[n]);
|
|
562
|
+
}
|
|
563
|
+
};
|
|
564
|
+
function $e(e) {
|
|
565
|
+
return Ve(e);
|
|
566
|
+
}
|
|
567
|
+
function et(e, t) {
|
|
568
|
+
for (let n of e) n(t);
|
|
569
|
+
}
|
|
570
|
+
function tt(e) {
|
|
571
|
+
return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
572
|
+
}
|
|
573
|
+
function nt(e) {
|
|
574
|
+
return e.replace(/-./g, (e) => e[1].toUpperCase());
|
|
575
|
+
}
|
|
576
|
+
function rt(e) {
|
|
577
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
578
|
+
}
|
|
579
|
+
function it(e) {
|
|
580
|
+
return e ? "true" : "false";
|
|
581
|
+
}
|
|
582
|
+
function at(e) {
|
|
583
|
+
return Object.keys(e);
|
|
584
|
+
}
|
|
585
|
+
function ot() {
|
|
586
|
+
let e, t;
|
|
587
|
+
return {
|
|
588
|
+
promise: new Promise((n, r) => {
|
|
589
|
+
e = n, t = r;
|
|
590
|
+
}),
|
|
591
|
+
resolve: e,
|
|
592
|
+
reject: t
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
function st(e) {
|
|
596
|
+
return new Promise((t) => setTimeout(t, e));
|
|
597
|
+
}
|
|
598
|
+
function ct(e) {
|
|
599
|
+
let t = -1, n;
|
|
600
|
+
function r(...r) {
|
|
601
|
+
n = r, !(t >= 0) && (t = window.requestAnimationFrame(() => {
|
|
602
|
+
e.apply(this, n), t = -1, n = void 0;
|
|
603
|
+
}));
|
|
604
|
+
}
|
|
605
|
+
return r;
|
|
606
|
+
}
|
|
607
|
+
var lt = typeof window < "u" ? "requestIdleCallback" in window ? window.requestIdleCallback : (e) => window.setTimeout(e, 1) : R;
|
|
608
|
+
function ut(e, t) {
|
|
609
|
+
return new Promise((n) => {
|
|
610
|
+
lt((t) => {
|
|
611
|
+
e?.(t), n();
|
|
612
|
+
}, t);
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
var G = {
|
|
616
|
+
fullscreenEnabled: 0,
|
|
617
|
+
fullscreenElement: 1,
|
|
618
|
+
requestFullscreen: 2,
|
|
619
|
+
exitFullscreen: 3,
|
|
620
|
+
fullscreenchange: 4,
|
|
621
|
+
fullscreenerror: 5,
|
|
622
|
+
fullscreen: 6
|
|
623
|
+
}, dt = [
|
|
624
|
+
"webkitFullscreenEnabled",
|
|
625
|
+
"webkitFullscreenElement",
|
|
626
|
+
"webkitRequestFullscreen",
|
|
627
|
+
"webkitExitFullscreen",
|
|
628
|
+
"webkitfullscreenchange",
|
|
629
|
+
"webkitfullscreenerror",
|
|
630
|
+
"-webkit-full-screen"
|
|
631
|
+
], ft = [
|
|
632
|
+
"mozFullScreenEnabled",
|
|
633
|
+
"mozFullScreenElement",
|
|
634
|
+
"mozRequestFullScreen",
|
|
635
|
+
"mozCancelFullScreen",
|
|
636
|
+
"mozfullscreenchange",
|
|
637
|
+
"mozfullscreenerror",
|
|
638
|
+
"-moz-full-screen"
|
|
639
|
+
], pt = [
|
|
640
|
+
"msFullscreenEnabled",
|
|
641
|
+
"msFullscreenElement",
|
|
642
|
+
"msRequestFullscreen",
|
|
643
|
+
"msExitFullscreen",
|
|
644
|
+
"MSFullscreenChange",
|
|
645
|
+
"MSFullscreenError",
|
|
646
|
+
"-ms-fullscreen"
|
|
647
|
+
], K = typeof window < "u" && window.document !== void 0 ? window.document : {}, q = "fullscreenEnabled" in K && Object.keys(G) || dt[0] in K && dt || ft[0] in K && ft || pt[0] in K && pt || [], mt = {
|
|
648
|
+
requestFullscreen: function(e) {
|
|
649
|
+
return e[q[G.requestFullscreen]]();
|
|
650
|
+
},
|
|
651
|
+
requestFullscreenFunction: function(e) {
|
|
652
|
+
return e[q[G.requestFullscreen]];
|
|
653
|
+
},
|
|
654
|
+
get exitFullscreen() {
|
|
655
|
+
return K[q[G.exitFullscreen]].bind(K);
|
|
656
|
+
},
|
|
657
|
+
get fullscreenPseudoClass() {
|
|
658
|
+
return ":" + q[G.fullscreen];
|
|
659
|
+
},
|
|
660
|
+
addEventListener: function(e, t, n) {
|
|
661
|
+
return K.addEventListener(q[G[e]], t, n);
|
|
662
|
+
},
|
|
663
|
+
removeEventListener: function(e, t, n) {
|
|
664
|
+
return K.removeEventListener(q[G[e]], t, n);
|
|
665
|
+
},
|
|
666
|
+
get fullscreenEnabled() {
|
|
667
|
+
return !!K[q[G.fullscreenEnabled]];
|
|
668
|
+
},
|
|
669
|
+
set fullscreenEnabled(e) {},
|
|
670
|
+
get fullscreenElement() {
|
|
671
|
+
return K[q[G.fullscreenElement]];
|
|
672
|
+
},
|
|
673
|
+
set fullscreenElement(e) {},
|
|
674
|
+
get onfullscreenchange() {
|
|
675
|
+
return K[("on" + q[G.fullscreenchange]).toLowerCase()];
|
|
676
|
+
},
|
|
677
|
+
set onfullscreenchange(e) {
|
|
678
|
+
return K[("on" + q[G.fullscreenchange]).toLowerCase()] = e;
|
|
679
|
+
},
|
|
680
|
+
get onfullscreenerror() {
|
|
681
|
+
return K[("on" + q[G.fullscreenerror]).toLowerCase()];
|
|
682
|
+
},
|
|
683
|
+
set onfullscreenerror(e) {
|
|
684
|
+
return K[("on" + q[G.fullscreenerror]).toLowerCase()] = e;
|
|
685
|
+
}
|
|
686
|
+
}, ht = gt;
|
|
687
|
+
function gt(e, t, n) {
|
|
688
|
+
var r = null, i = null, a = n && n.leading, o = n && n.trailing;
|
|
689
|
+
a ??= !0, o ??= !a, a == 1 && (o = !1);
|
|
690
|
+
var s = function() {
|
|
691
|
+
r &&= (clearTimeout(r), null);
|
|
692
|
+
}, c = function() {
|
|
693
|
+
var e = i;
|
|
694
|
+
s(), e && e();
|
|
695
|
+
}, l = function() {
|
|
696
|
+
var n = a && !r, s = this, c = arguments;
|
|
697
|
+
if (i = function() {
|
|
698
|
+
return e.apply(s, c);
|
|
699
|
+
}, r ||= setTimeout(function() {
|
|
700
|
+
if (r = null, o) return i();
|
|
701
|
+
}, t), n) return n = !1, i();
|
|
702
|
+
};
|
|
703
|
+
return l.cancel = s, l.flush = c, l;
|
|
704
|
+
}
|
|
705
|
+
var _t = vt;
|
|
706
|
+
function vt(e, t, n) {
|
|
707
|
+
var r = null, i = null, a = function() {
|
|
708
|
+
r &&= (clearTimeout(r), i = null, null);
|
|
709
|
+
}, o = function() {
|
|
710
|
+
var e = i;
|
|
711
|
+
a(), e && e();
|
|
712
|
+
}, s = function() {
|
|
713
|
+
if (!t) return e.apply(this, arguments);
|
|
714
|
+
var o = this, s = arguments, c = n && !r;
|
|
715
|
+
if (a(), i = function() {
|
|
716
|
+
e.apply(o, s);
|
|
717
|
+
}, r = setTimeout(function() {
|
|
718
|
+
if (r = null, !c) {
|
|
719
|
+
var e = i;
|
|
720
|
+
return i = null, e();
|
|
721
|
+
}
|
|
722
|
+
}, t), c) return i();
|
|
723
|
+
};
|
|
724
|
+
return s.cancel = a, s.flush = o, s;
|
|
725
|
+
}
|
|
726
|
+
var yt = (e) => typeof e == "object" && !!e && e.nodeType === 1, bt = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", J = (e, t) => {
|
|
727
|
+
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
728
|
+
let n = getComputedStyle(e, null);
|
|
729
|
+
return bt(n.overflowY, t) || bt(n.overflowX, t) || ((e) => {
|
|
730
|
+
let t = ((e) => {
|
|
731
|
+
if (!e.ownerDocument || !e.ownerDocument.defaultView) return null;
|
|
732
|
+
try {
|
|
733
|
+
return e.ownerDocument.defaultView.frameElement;
|
|
734
|
+
} catch {
|
|
735
|
+
return null;
|
|
736
|
+
}
|
|
737
|
+
})(e);
|
|
738
|
+
return !!t && (t.clientHeight < e.scrollHeight || t.clientWidth < e.scrollWidth);
|
|
739
|
+
})(e);
|
|
740
|
+
}
|
|
741
|
+
return !1;
|
|
742
|
+
}, Y = (e, t, n, r, i, a, o, s) => a < e && o > t || a > e && o < t ? 0 : a <= e && s <= n || o >= t && s >= n ? a - e - r : o > t && s < n || a < e && s > n ? o - t + i : 0, xt = (e) => e.parentElement ?? (e.getRootNode().host || null), St = (e, t) => {
|
|
743
|
+
if (typeof document > "u") return [];
|
|
744
|
+
let { scrollMode: n, block: r, inline: i, boundary: a, skipOverflowHiddenElements: o } = t, s = typeof a == "function" ? a : (e) => e !== a;
|
|
745
|
+
if (!yt(e)) throw TypeError("Invalid target");
|
|
746
|
+
let c = document.scrollingElement || document.documentElement, l = [], u = e;
|
|
747
|
+
for (; yt(u) && s(u);) {
|
|
748
|
+
if (u = xt(u), u === c) {
|
|
749
|
+
l.push(u);
|
|
750
|
+
break;
|
|
751
|
+
}
|
|
752
|
+
u != null && u === document.body && J(u) && !J(document.documentElement) || u != null && J(u, o) && l.push(u);
|
|
753
|
+
}
|
|
754
|
+
let d = window.visualViewport?.width ?? innerWidth, f = window.visualViewport?.height ?? innerHeight, { scrollX: p, scrollY: m } = window, { height: h, width: g, top: _, right: v, bottom: y, left: b } = e.getBoundingClientRect(), { top: x, right: S, bottom: C, left: w } = ((e) => {
|
|
755
|
+
let t = window.getComputedStyle(e);
|
|
756
|
+
return {
|
|
757
|
+
top: parseFloat(t.scrollMarginTop) || 0,
|
|
758
|
+
right: parseFloat(t.scrollMarginRight) || 0,
|
|
759
|
+
bottom: parseFloat(t.scrollMarginBottom) || 0,
|
|
760
|
+
left: parseFloat(t.scrollMarginLeft) || 0
|
|
761
|
+
};
|
|
762
|
+
})(e), T = r === "start" || r === "nearest" ? _ - x : r === "end" ? y + C : _ + h / 2 - x + C, E = i === "center" ? b + g / 2 - w + S : i === "end" ? v + S : b - w, D = [];
|
|
763
|
+
for (let e = 0; e < l.length; e++) {
|
|
764
|
+
let t = l[e], { height: a, width: o, top: s, right: u, bottom: x, left: S } = t.getBoundingClientRect();
|
|
765
|
+
if (n === "if-needed" && _ >= 0 && b >= 0 && y <= f && v <= d && (t === c && !J(t) || _ >= s && y <= x && b >= S && v <= u)) return D;
|
|
766
|
+
let C = getComputedStyle(t), w = parseInt(C.borderLeftWidth, 10), O = parseInt(C.borderTopWidth, 10), k = parseInt(C.borderRightWidth, 10), A = parseInt(C.borderBottomWidth, 10), j = 0, M = 0, N = "offsetWidth" in t ? t.offsetWidth - t.clientWidth - w - k : 0, P = "offsetHeight" in t ? t.offsetHeight - t.clientHeight - O - A : 0, F = "offsetWidth" in t ? t.offsetWidth === 0 ? 0 : o / t.offsetWidth : 0, I = "offsetHeight" in t ? t.offsetHeight === 0 ? 0 : a / t.offsetHeight : 0;
|
|
767
|
+
if (c === t) j = r === "start" ? T : r === "end" ? T - f : r === "nearest" ? Y(m, m + f, f, O, A, m + T, m + T + h, h) : T - f / 2, M = i === "start" ? E : i === "center" ? E - d / 2 : i === "end" ? E - d : Y(p, p + d, d, w, k, p + E, p + E + g, g), j = Math.max(0, j + m), M = Math.max(0, M + p);
|
|
768
|
+
else {
|
|
769
|
+
j = r === "start" ? T - s - O : r === "end" ? T - x + A + P : r === "nearest" ? Y(s, x, a, O, A + P, T, T + h, h) : T - (s + a / 2) + P / 2, M = i === "start" ? E - S - w : i === "center" ? E - (S + o / 2) + N / 2 : i === "end" ? E - u + k + N : Y(S, u, o, w, k + N, E, E + g, g);
|
|
770
|
+
let { scrollLeft: e, scrollTop: n } = t;
|
|
771
|
+
j = I === 0 ? 0 : Math.max(0, Math.min(n + j / I, t.scrollHeight - a / I + P)), M = F === 0 ? 0 : Math.max(0, Math.min(e + M / F, t.scrollWidth - o / F + N)), T += n - j, E += e - M;
|
|
772
|
+
}
|
|
773
|
+
D.push({
|
|
774
|
+
el: t,
|
|
775
|
+
top: j,
|
|
776
|
+
left: M
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
return D;
|
|
780
|
+
}, Ct = (e) => e === null ? "" : e + "", wt = (e) => e === null ? null : e + "", Tt = (e) => e === null ? 0 : Number(e), Et = (e) => e !== null, Dt = () => null, Ot = (e) => e === null ? [] : JSON.parse(e), kt = (e) => e === null ? {} : JSON.parse(e);
|
|
781
|
+
function At(e) {
|
|
782
|
+
if (e === null) return wt;
|
|
783
|
+
switch (typeof e) {
|
|
784
|
+
case "undefined": return Ct;
|
|
785
|
+
case "string": return Ct;
|
|
786
|
+
case "boolean": return Et;
|
|
787
|
+
case "number": return Tt;
|
|
788
|
+
case "function": return Dt;
|
|
789
|
+
case "object": return ge(e) ? Ot : kt;
|
|
790
|
+
default: return Ct;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
var X = /* @__PURE__ */ Symbol(0), jt = /* @__PURE__ */ Symbol(0), Z = /* @__PURE__ */ Symbol(0), Q = /* @__PURE__ */ Symbol(0), $;
|
|
794
|
+
(function(e) {
|
|
795
|
+
e[e.Idle = 0] = "Idle", e[e.Pending = 1] = "Pending", e[e.Ready = 2] = "Ready";
|
|
796
|
+
})($ ||= {});
|
|
797
|
+
function Mt(e, t) {
|
|
798
|
+
class n extends e {
|
|
799
|
+
static attrs;
|
|
800
|
+
static [X] = null;
|
|
801
|
+
static get observedAttributes() {
|
|
802
|
+
if (!this[X] && t.props) {
|
|
803
|
+
let e = /* @__PURE__ */ new Map();
|
|
804
|
+
for (let n of Object.keys(t.props)) {
|
|
805
|
+
let r = this.attrs?.[n], i = pe(r) ? r : r && r?.attr;
|
|
806
|
+
i !== !1 && (i ||= tt(n), e.set(i, {
|
|
807
|
+
prop: n,
|
|
808
|
+
converter: r && !pe(r) && r?.converter || At(t.props[n])
|
|
809
|
+
}));
|
|
810
|
+
}
|
|
811
|
+
this[X] = e;
|
|
812
|
+
}
|
|
813
|
+
return this[X] ? Array.from(this[X].keys()) : [];
|
|
814
|
+
}
|
|
815
|
+
$;
|
|
816
|
+
[Z] = $.Idle;
|
|
817
|
+
[Q] = null;
|
|
818
|
+
keepAlive = !1;
|
|
819
|
+
forwardKeepAlive = !0;
|
|
820
|
+
get scope() {
|
|
821
|
+
return this.$.$$.scope;
|
|
822
|
+
}
|
|
823
|
+
get attachScope() {
|
|
824
|
+
return this.$.$$.attachScope;
|
|
825
|
+
}
|
|
826
|
+
get connectScope() {
|
|
827
|
+
return this.$.$$.connectScope;
|
|
828
|
+
}
|
|
829
|
+
get $props() {
|
|
830
|
+
return this.$.$$.props;
|
|
831
|
+
}
|
|
832
|
+
get $state() {
|
|
833
|
+
return this.$.$$.$state;
|
|
834
|
+
}
|
|
835
|
+
get state() {
|
|
836
|
+
return this.$.state;
|
|
837
|
+
}
|
|
838
|
+
constructor(...e) {
|
|
839
|
+
if (super(...e), this.$ = S(() => qe(t), null), this.$.$$.addHooks(this), t.props) {
|
|
840
|
+
let e = this.$props, n = Object.getOwnPropertyDescriptors(this);
|
|
841
|
+
for (let r of Object.keys(n)) r in t.props && (e[r].set(this[r]), delete this[r]);
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
attributeChangedCallback(e, t, n) {
|
|
845
|
+
let r = this.constructor;
|
|
846
|
+
if (!r[X]) {
|
|
847
|
+
super.attributeChangedCallback?.(e, t, n);
|
|
848
|
+
return;
|
|
849
|
+
}
|
|
850
|
+
let i = r[X].get(e);
|
|
851
|
+
i && (this[i.prop] = i.converter(n));
|
|
852
|
+
}
|
|
853
|
+
connectedCallback() {
|
|
854
|
+
let e = this.$?.$$;
|
|
855
|
+
if (!e || e.destroyed) return;
|
|
856
|
+
if (this[Z] !== $.Ready) {
|
|
857
|
+
Pt.call(this);
|
|
858
|
+
return;
|
|
859
|
+
}
|
|
860
|
+
if (!this.isConnected) return;
|
|
861
|
+
this.hasAttribute("keep-alive") && (this.keepAlive = !0), e.connect(), ge(this[Q]) && et(this[Q], this), this[Q] = null;
|
|
862
|
+
let t = super.connectedCallback;
|
|
863
|
+
t && S(() => t.call(this), this.connectScope);
|
|
864
|
+
}
|
|
865
|
+
disconnectedCallback() {
|
|
866
|
+
let e = this.$?.$$;
|
|
867
|
+
if (!e || e.destroyed) return;
|
|
868
|
+
e.disconnect();
|
|
869
|
+
let t = super.disconnectedCallback;
|
|
870
|
+
t && t.call(this), !this.keepAlive && !this.hasAttribute("keep-alive") && setTimeout(() => {
|
|
871
|
+
requestAnimationFrame(() => {
|
|
872
|
+
this.isConnected || e.destroy();
|
|
873
|
+
});
|
|
874
|
+
}, 0);
|
|
875
|
+
}
|
|
876
|
+
[jt]() {
|
|
877
|
+
let e = this.$.$$, t = this.constructor;
|
|
878
|
+
if (e.destroyed) return;
|
|
879
|
+
let n = t[X];
|
|
880
|
+
if (n) for (let t of this.attributes) {
|
|
881
|
+
let r = n.get(t.name);
|
|
882
|
+
r && r.converter && e.props[r.prop].set(r.converter(this.getAttribute(t.name)));
|
|
883
|
+
}
|
|
884
|
+
e.setup(), e.attach(this), this[Z] = $.Ready, this.connectedCallback();
|
|
885
|
+
}
|
|
886
|
+
subscribe(e) {
|
|
887
|
+
return this.$.subscribe(e);
|
|
888
|
+
}
|
|
889
|
+
destroy() {
|
|
890
|
+
this.disconnectedCallback(), this.$.destroy();
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
return Nt(n, t), n;
|
|
894
|
+
}
|
|
895
|
+
function Nt(e, t) {
|
|
896
|
+
let n = e.prototype, r = t.prototype;
|
|
897
|
+
if (t.props) for (let e of Object.keys(t.props)) Object.defineProperty(n, e, {
|
|
898
|
+
enumerable: !0,
|
|
899
|
+
configurable: !0,
|
|
900
|
+
get() {
|
|
901
|
+
return this.$props[e]();
|
|
902
|
+
},
|
|
903
|
+
set(t) {
|
|
904
|
+
this.$props[e].set(t);
|
|
905
|
+
}
|
|
906
|
+
});
|
|
907
|
+
if (r[H]) for (let e of r[H]) Object.defineProperty(n, e, {
|
|
908
|
+
enumerable: !0,
|
|
909
|
+
configurable: !0,
|
|
910
|
+
get() {
|
|
911
|
+
return this.$[e];
|
|
912
|
+
},
|
|
913
|
+
set(t) {
|
|
914
|
+
this.$[e] = t;
|
|
915
|
+
}
|
|
916
|
+
});
|
|
917
|
+
if (r[U]) for (let e of r[U]) n[e] = function(...t) {
|
|
918
|
+
return this.$[e](...t);
|
|
919
|
+
};
|
|
920
|
+
}
|
|
921
|
+
function Pt() {
|
|
922
|
+
if (this[Z] !== $.Idle) return;
|
|
923
|
+
this[Z] = $.Pending;
|
|
924
|
+
let e = Lt(this), t = e && window.customElements.get(e.localName), n = e && e[Z] === $.Ready;
|
|
925
|
+
if (e && (!t || !n)) {
|
|
926
|
+
Ft.call(this, e);
|
|
927
|
+
return;
|
|
928
|
+
}
|
|
929
|
+
It.call(this, e);
|
|
930
|
+
}
|
|
931
|
+
async function Ft(e) {
|
|
932
|
+
await window.customElements.whenDefined(e.localName), e[Z] !== $.Ready && await new Promise((t) => (e[Q] ??= []).push(t)), It.call(this, e);
|
|
933
|
+
}
|
|
934
|
+
function It(e) {
|
|
935
|
+
if (this.isConnected) {
|
|
936
|
+
if (e) {
|
|
937
|
+
e.keepAlive && e.forwardKeepAlive && (this.keepAlive = !0, this.setAttribute("keep-alive", ""));
|
|
938
|
+
let t = this.$.$$.scope;
|
|
939
|
+
t && e.$.$$.attachScope.append(t);
|
|
940
|
+
}
|
|
941
|
+
this[jt]();
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
function Lt(e) {
|
|
945
|
+
let t = e.parentNode, n = e.localName.split("-", 1)[0] + "-";
|
|
946
|
+
for (; t;) {
|
|
947
|
+
if (t.nodeType === 1 && t.localName.startsWith(n)) return t;
|
|
948
|
+
t = t.parentNode;
|
|
949
|
+
}
|
|
950
|
+
return null;
|
|
951
|
+
}
|
|
952
|
+
function Rt(e, t = !1) {
|
|
953
|
+
(t || !window.customElements.get(e.tagName)) && window.customElements.define(e.tagName, e);
|
|
954
|
+
}
|
|
955
|
+
var zt = "<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\"/>";
|
|
956
|
+
//#endregion
|
|
957
|
+
export { B as $, Oe as A, nt as B, He as C, he as D, Me as E, Ee as F, T as G, Ce as H, pe as I, Be as J, v as K, De as L, le as M, fe as N, je as O, de as P, Pe as Q, z as R, x as S, me as T, Ze as U, at as V, R as W, S as X, St as Y, Ne as Z, Rt as _, Se as a, ut as at, _t as b, Qe as c, it as d, b as et, tt as f, ot as g, F as h, we as i, $e as it, ue as j, ke as k, Je as l, ze as m, Ye as n, rt as nt, Mt as o, st as ot, Ie as p, Xe as q, ye as r, Ve as rt, zt as s, Ae as st, Et as t, y as tt, ct as u, V as v, ge as w, ht as x, mt as y, Re as z };
|