@tempots/ui 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.js +733 -1352
- package/package.json +2 -2
- package/renderables/anchor.d.ts +10 -1
- package/renderables/appearance.d.ts +5 -1
- package/renderables/async-result-view.d.ts +44 -3
- package/renderables/autofocus.d.ts +7 -0
- package/renderables/autoselect.d.ts +6 -0
- package/renderables/hidden-when-empty.d.ts +7 -0
- package/renderables/html-title.d.ts +8 -1
- package/renderables/inviewport.d.ts +27 -1
- package/renderables/pop-over.d.ts +47 -9
- package/renderables/result-view.d.ts +31 -3
- package/renderables/router/location.d.ts +83 -13
- package/renderables/router/match.d.ts +35 -3
- package/renderables/router/route-info.d.ts +92 -7
- package/renderables/router/router.d.ts +9 -3
- package/renderables/select-on-focus.d.ts +7 -1
- package/renderables/size.d.ts +15 -4
package/index.js
CHANGED
|
@@ -1,590 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
var qt;
|
|
4
|
-
qt = jt;
|
|
5
|
-
const Me = class F {
|
|
6
|
-
constructor(e, n) {
|
|
7
|
-
d(this, qt, !0), d(this, "_value"), d(this, "_derivatives", []), d(this, "_onValueListeners", []), d(this, "_onDisposeListeners", []), d(this, "get", () => this._value), d(this, "hasListeners", () => this._onValueListeners.length > 0), d(this, "on", (i) => (i(this.get()), this._onValueListeners.push(i), () => {
|
|
8
|
-
this._onValueListeners.splice(this._onValueListeners.indexOf(i), 1);
|
|
9
|
-
})), d(this, "_setAndNotify", (i, o) => {
|
|
10
|
-
const s = this.equals(this._value, i);
|
|
11
|
-
s || (this._value = i), (o || !s) && this._onValueListeners.forEach((r) => r(i));
|
|
12
|
-
}), d(this, "_disposed", !1), d(this, "isDisposed", () => this._disposed), d(this, "onDispose", (i) => {
|
|
13
|
-
this._onDisposeListeners.push(i);
|
|
14
|
-
}), d(this, "dispose", () => {
|
|
15
|
-
this._disposed || (this._disposed = !0, this._onDisposeListeners.forEach((i) => i()), this._onDisposeListeners.length = 0, this._derivatives.length = 0);
|
|
16
|
-
}), d(this, "map", (i, o = (s, r) => s === r) => {
|
|
17
|
-
const s = new ct(() => {
|
|
18
|
-
try {
|
|
19
|
-
return i(this.get());
|
|
20
|
-
} catch (r) {
|
|
21
|
-
throw console.error("Error in Signal.map:", r), r;
|
|
22
|
-
}
|
|
23
|
-
}, o);
|
|
24
|
-
return this.setDerivative(s), s;
|
|
25
|
-
}), d(this, "flatMap", (i, o = (s, r) => s === r) => {
|
|
26
|
-
const s = new ct(() => {
|
|
27
|
-
try {
|
|
28
|
-
return i(this.get()).get();
|
|
29
|
-
} catch (r) {
|
|
30
|
-
throw console.error("Error in Signal.flatMap:", r), r;
|
|
31
|
-
}
|
|
32
|
-
}, o);
|
|
33
|
-
return this.setDerivative(s), s;
|
|
34
|
-
}), d(this, "tap", (i) => this.map((o) => (i(o), o))), d(this, "at", (i) => this.map((o) => o[i])), d(this, "$", new Proxy(this, {
|
|
35
|
-
get: (i, o) => this.at(o)
|
|
36
|
-
})), d(this, "filter", (i, o) => {
|
|
37
|
-
let s = o ?? this.get();
|
|
38
|
-
const r = new ct(() => {
|
|
39
|
-
try {
|
|
40
|
-
const c = this.get();
|
|
41
|
-
return s = i(c) ? c : s;
|
|
42
|
-
} catch (c) {
|
|
43
|
-
throw console.error("Error in Signal.filter:", c), c;
|
|
44
|
-
}
|
|
45
|
-
}, this.equals);
|
|
46
|
-
return this.setDerivative(r), r;
|
|
47
|
-
}), d(this, "filterMap", (i, o, s = (r, c) => r === c) => {
|
|
48
|
-
let r = o;
|
|
49
|
-
const c = new ct(() => {
|
|
50
|
-
try {
|
|
51
|
-
const l = this.get();
|
|
52
|
-
return r = i(l) ?? r;
|
|
53
|
-
} catch (l) {
|
|
54
|
-
throw console.error("Error in Signal.filterMap:", l), l;
|
|
55
|
-
}
|
|
56
|
-
}, s);
|
|
57
|
-
return this.setDerivative(c), c;
|
|
58
|
-
}), d(this, "mapAsync", (i, o, s, r = (c, l) => c === l) => {
|
|
59
|
-
const c = P(o, r);
|
|
60
|
-
let l = 0;
|
|
61
|
-
return c.onDispose(
|
|
62
|
-
this.on((a) => {
|
|
63
|
-
const f = ++l;
|
|
64
|
-
try {
|
|
65
|
-
i(a).then((u) => {
|
|
66
|
-
f === l && c.set(u);
|
|
67
|
-
}).catch((u) => {
|
|
68
|
-
f === l && (s != null ? c.set(s(u)) : console.error(
|
|
69
|
-
"Unhandled promise rejection in Signal.mapAsync:",
|
|
70
|
-
u
|
|
71
|
-
));
|
|
72
|
-
});
|
|
73
|
-
} catch (u) {
|
|
74
|
-
throw console.error("Error in Signal.mapAsync:", u), u;
|
|
75
|
-
}
|
|
76
|
-
})
|
|
77
|
-
), c;
|
|
78
|
-
}), d(this, "mapMaybe", (i, o) => this.map((s) => i(s) ?? o)), d(this, "feedProp", (i, o = !1) => {
|
|
79
|
-
const s = this.on(i.set);
|
|
80
|
-
return i.onDispose(s), o ? this.onDispose(i.dispose) : this.onDispose(s), i;
|
|
81
|
-
}), d(this, "deriveProp", (i = !0) => this.feedProp(P(this.get()), i)), d(this, "count", () => {
|
|
82
|
-
let i = 0;
|
|
83
|
-
return this.map(() => ++i);
|
|
84
|
-
}), d(this, "setDerivative", (i) => {
|
|
85
|
-
this._derivatives.push(i), i.onDispose(() => {
|
|
86
|
-
this._derivatives.splice(
|
|
87
|
-
this._derivatives.indexOf(i),
|
|
88
|
-
1
|
|
89
|
-
);
|
|
90
|
-
}), i.onDispose(this.on(i.setDirty)), this.onDispose(i.dispose);
|
|
91
|
-
}), this.equals = n, this._value = e;
|
|
92
|
-
}
|
|
93
|
-
static ofPromise(e, n, i, o = (s, r) => s === r) {
|
|
94
|
-
const s = new F(n, o);
|
|
95
|
-
return e.then((r) => s._setAndNotify(r, !1)).catch((r) => {
|
|
96
|
-
i != null ? s._setAndNotify(i(r), !1) : console.error(
|
|
97
|
-
"Unhandled promise rejection in Signal.ofPromise:",
|
|
98
|
-
r
|
|
99
|
-
);
|
|
100
|
-
}), s;
|
|
101
|
-
}
|
|
102
|
-
static is(e) {
|
|
103
|
-
return e != null && e[jt] === !0;
|
|
104
|
-
}
|
|
105
|
-
static wrap(e, n = (i, o) => i === o) {
|
|
106
|
-
return F.is(e) ? e : new F(e, n);
|
|
107
|
-
}
|
|
108
|
-
static maybeWrap(e) {
|
|
109
|
-
return e == null ? e : F.wrap(e);
|
|
110
|
-
}
|
|
111
|
-
static unwrap(e) {
|
|
112
|
-
return F.is(e) ? e.get() : e;
|
|
113
|
-
}
|
|
114
|
-
static map(e, n) {
|
|
115
|
-
return F.is(e) ? e.map(n) : n(e);
|
|
116
|
-
}
|
|
117
|
-
get value() {
|
|
118
|
-
return this._value;
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
let S = Me;
|
|
122
|
-
const Ne = typeof queueMicrotask == "function" ? queueMicrotask : (t) => Promise.resolve().then(t);
|
|
123
|
-
var Mt, Nt;
|
|
124
|
-
class ct extends (Nt = S, Mt = kt, Nt) {
|
|
125
|
-
constructor(e, n) {
|
|
126
|
-
super(void 0, n), d(this, Mt, !0), d(this, "_isDirty", !1), d(this, "setDirty", () => {
|
|
127
|
-
this._isDirty || this._disposed || (this._isDirty = !0, this._derivatives.forEach((i) => i.setDirty()), this.scheduleNotify());
|
|
128
|
-
}), d(this, "_scheduleCount", 0), d(this, "scheduleNotify", () => {
|
|
129
|
-
const i = ++this._scheduleCount;
|
|
130
|
-
Ne(() => {
|
|
131
|
-
this._scheduleCount !== i || this._disposed !== !1 || this._isDirty && (this._isDirty = !1, this._setAndNotify(this._fn(), !1));
|
|
132
|
-
});
|
|
133
|
-
}), d(this, "get", () => (this._isDirty && (this._isDirty = !1, this._value = this._fn(), this._setAndNotify(this._value, !0)), this._value)), this._fn = e, this.setDirty();
|
|
134
|
-
}
|
|
135
|
-
static is(e) {
|
|
136
|
-
return e != null && e[kt] === !0;
|
|
137
|
-
}
|
|
138
|
-
/** {@inheritDoc Signal.value} */
|
|
139
|
-
get value() {
|
|
140
|
-
return this.get();
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
var Ft, $t;
|
|
144
|
-
class St extends ($t = S, Ft = Tt, $t) {
|
|
145
|
-
constructor() {
|
|
146
|
-
super(...arguments), d(this, Ft, !0), d(this, "set", (e) => {
|
|
147
|
-
this._setAndNotify(e, !1);
|
|
148
|
-
}), d(this, "update", (e) => {
|
|
149
|
-
this._setAndNotify(e(this.get()), !1);
|
|
150
|
-
}), d(this, "reducer", (e, ...n) => {
|
|
151
|
-
const i = this;
|
|
152
|
-
return function o(s) {
|
|
153
|
-
const r = i.value;
|
|
154
|
-
i.update((c) => e(c, s)), !i.equals(r, i.value) && n.forEach(
|
|
155
|
-
(c) => c({
|
|
156
|
-
previousState: r,
|
|
157
|
-
state: i.value,
|
|
158
|
-
action: s,
|
|
159
|
-
dispatch: o
|
|
160
|
-
})
|
|
161
|
-
);
|
|
162
|
-
};
|
|
163
|
-
}), d(this, "iso", (e, n, i = (o, s) => o === s) => {
|
|
164
|
-
const o = new St(e(this.get()), i);
|
|
165
|
-
return o.onDispose(this.on((s) => o.set(e(s)))), o.on((s) => this._setAndNotify(n(s), !1)), o;
|
|
166
|
-
}), d(this, "atProp", (e) => this.iso(
|
|
167
|
-
(n) => n[e],
|
|
168
|
-
(n) => ({ ...this.value, [e]: n })
|
|
169
|
-
));
|
|
170
|
-
}
|
|
171
|
-
static is(e) {
|
|
172
|
-
return e != null && e[Tt] === !0;
|
|
173
|
-
}
|
|
174
|
-
/** {@inheritDoc Signal.get} */
|
|
175
|
-
get value() {
|
|
176
|
-
return this.get();
|
|
177
|
-
}
|
|
178
|
-
set value(e) {
|
|
179
|
-
this._setAndNotify(e, !1);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
function P(t, e = (n, i) => n === i) {
|
|
183
|
-
return new St(t, e);
|
|
184
|
-
}
|
|
185
|
-
function Fe(t, e = (n, i) => n === i) {
|
|
186
|
-
return new S(t, e);
|
|
187
|
-
}
|
|
188
|
-
const Jt = /* @__PURE__ */ new Set(["checked", "disabled", "hidden", "selected"]), Xt = /* @__PURE__ */ new Set([
|
|
189
|
-
"rowSpan",
|
|
190
|
-
"colSpan",
|
|
191
|
-
"tabIndex",
|
|
192
|
-
"valueAsNumber"
|
|
193
|
-
]), Yt = /* @__PURE__ */ new Set(["valueAsDate"]), Kt = /* @__PURE__ */ new Set([
|
|
194
|
-
"value",
|
|
195
|
-
"textContent",
|
|
196
|
-
"innerText",
|
|
197
|
-
"innerHTML",
|
|
198
|
-
"outerHTML",
|
|
199
|
-
"className",
|
|
200
|
-
"classList"
|
|
201
|
-
]), xt = /* @__PURE__ */ new Map();
|
|
202
|
-
function Z(t, e) {
|
|
203
|
-
if (xt.has(t))
|
|
204
|
-
return xt.get(t);
|
|
205
|
-
{
|
|
206
|
-
const n = e(t);
|
|
207
|
-
return xt.set(t, n), n;
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
function $e(t) {
|
|
211
|
-
return (e, n) => {
|
|
212
|
-
n == null ? e[t] = null : e[t] = !!n;
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
function Ve(t) {
|
|
216
|
-
return (e, n) => {
|
|
217
|
-
n == null ? e[t] = null : e[t] = Number(n);
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
function We(t) {
|
|
221
|
-
return (e, n) => {
|
|
222
|
-
n == null ? e[t] = null : e[t] = n;
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
function He(t) {
|
|
226
|
-
return (e, n) => {
|
|
227
|
-
n == null ? e[t] = null : e[t] = String(n);
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
function ze(t) {
|
|
231
|
-
return (e, n) => {
|
|
232
|
-
n == null ? e.removeAttribute(t) : e.setAttribute(t, n);
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
function Qt(t) {
|
|
236
|
-
return Jt.has(t) ? Z(t, $e) : Xt.has(t) ? Z(t, Ve) : Yt.has(t) ? Z(t, We) : Kt.has(t) ? Z(t, He) : Z(t, ze);
|
|
237
|
-
}
|
|
238
|
-
function Zt(t) {
|
|
239
|
-
return (e) => Jt.has(t) ? !!e[t] : Xt.has(t) ? Number(e[t]) : Yt.has(t) ? e[t] : Kt.has(t) ? String(e[t]) : e.getAttribute(t);
|
|
240
|
-
}
|
|
241
|
-
function q(t) {
|
|
242
|
-
const e = t;
|
|
243
|
-
e && e.onblur && (e.onblur = null), !(!t || t.ownerDocument === void 0) && t.parentElement && t.parentElement.removeChild(t);
|
|
244
|
-
}
|
|
245
|
-
function Be(t, e, n) {
|
|
246
|
-
let i = t.target;
|
|
247
|
-
for (; i != null && !(i instanceof HTMLAnchorElement); )
|
|
248
|
-
i = i.parentElement;
|
|
249
|
-
if (i == null) return !0;
|
|
250
|
-
const o = i;
|
|
251
|
-
if (t.button !== 0 || t.ctrlKey || t.metaKey || o.target !== "_self" && o.target !== "" || o.getAttribute("download") != null)
|
|
252
|
-
return !0;
|
|
253
|
-
if (n) {
|
|
254
|
-
const { pathname: s, search: r, hash: c } = o, l = s + r + c;
|
|
255
|
-
if (o.getAttribute("href") !== l || e && !/\/[^/.]*$/.test(s))
|
|
256
|
-
return !0;
|
|
257
|
-
}
|
|
258
|
-
return !1;
|
|
259
|
-
}
|
|
260
|
-
const Ie = (t, e = {
|
|
261
|
-
checkExtension: !0,
|
|
262
|
-
checkExternalUrl: !0
|
|
263
|
-
}) => (n) => {
|
|
264
|
-
const { checkExtension: i, checkExternalUrl: o } = e;
|
|
265
|
-
Be(
|
|
266
|
-
n,
|
|
267
|
-
i === !0,
|
|
268
|
-
o === !0
|
|
269
|
-
) || t() && n.preventDefault();
|
|
270
|
-
}, Ue = (t) => (e) => {
|
|
271
|
-
se(e);
|
|
272
|
-
const n = e.createText(t);
|
|
273
|
-
return e.appendOrInsert(n), (i) => {
|
|
274
|
-
i && q(n);
|
|
275
|
-
};
|
|
276
|
-
}, je = (t) => (e) => {
|
|
277
|
-
se(e);
|
|
278
|
-
const n = e.createText(t.value);
|
|
279
|
-
e.appendOrInsert(n);
|
|
280
|
-
const i = t.on((o) => n.data = o);
|
|
281
|
-
return (o) => {
|
|
282
|
-
i(), o && q(n);
|
|
283
|
-
};
|
|
284
|
-
}, J = (...t) => (e) => {
|
|
285
|
-
const n = t.map((i) => b(i)(e));
|
|
286
|
-
return (i) => {
|
|
287
|
-
n.forEach((o) => o(i));
|
|
288
|
-
};
|
|
289
|
-
}, tt = () => () => {
|
|
290
|
-
}, qe = (t) => (e) => (ie(e), e.element.classList.add(...t), (n) => {
|
|
291
|
-
n && e.element.classList.remove(...t);
|
|
292
|
-
}), Je = (t) => (e) => {
|
|
293
|
-
ie(e);
|
|
294
|
-
const n = e.element;
|
|
295
|
-
let i = [];
|
|
296
|
-
const o = t.on((s) => {
|
|
297
|
-
i.forEach((r) => n.classList.remove(r)), i = (s ?? "").split(" ").filter((r) => r.length > 0), n.classList.add(...i);
|
|
298
|
-
});
|
|
299
|
-
return (s) => {
|
|
300
|
-
o(), s && i.forEach((r) => n.classList.remove(r)), i.length = 0;
|
|
301
|
-
};
|
|
302
|
-
}, nt = (t, e) => {
|
|
303
|
-
const n = Qt(t), i = Zt(t);
|
|
304
|
-
return (o) => {
|
|
305
|
-
ne(o, t);
|
|
306
|
-
const s = i(o.element);
|
|
307
|
-
return n(o.element, e), (r) => {
|
|
308
|
-
r && n(o.element, s);
|
|
309
|
-
};
|
|
310
|
-
};
|
|
311
|
-
}, it = (t, e) => {
|
|
312
|
-
const n = Qt(t), i = Zt(t);
|
|
313
|
-
return (o) => {
|
|
314
|
-
ne(o, t);
|
|
315
|
-
const s = i(o.element);
|
|
316
|
-
return e.on((r) => n(o.element, r)), (r) => {
|
|
317
|
-
r && n(o.element, s);
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
}, Lt = new Proxy(
|
|
321
|
-
{},
|
|
322
|
-
{
|
|
323
|
-
get: (t, e) => e === "class" ? (n) => S.is(n) ? Je(n) : qe(
|
|
324
|
-
(n ?? "").split(" ").filter((i) => i.length > 0)
|
|
325
|
-
) : (n) => S.is(n) ? it(
|
|
326
|
-
e,
|
|
327
|
-
n
|
|
328
|
-
) : nt(
|
|
329
|
-
e,
|
|
330
|
-
n
|
|
331
|
-
)
|
|
332
|
-
}
|
|
333
|
-
);
|
|
334
|
-
new Proxy(
|
|
335
|
-
{},
|
|
336
|
-
{
|
|
337
|
-
get: (t, e) => (n) => S.is(n) ? it(
|
|
338
|
-
`data-${e}`,
|
|
339
|
-
n
|
|
340
|
-
) : nt(`data-${e}`, n)
|
|
341
|
-
}
|
|
342
|
-
);
|
|
343
|
-
new Proxy(
|
|
344
|
-
{},
|
|
345
|
-
{
|
|
346
|
-
get: (t, e) => (n) => S.is(n) ? it(
|
|
347
|
-
`aria-${e}`,
|
|
348
|
-
n
|
|
349
|
-
) : nt(
|
|
350
|
-
`aria-${e}`,
|
|
351
|
-
n
|
|
352
|
-
)
|
|
353
|
-
}
|
|
354
|
-
);
|
|
355
|
-
new Proxy(
|
|
356
|
-
{},
|
|
357
|
-
{
|
|
358
|
-
get: (t, e) => (n) => S.is(n) ? it(
|
|
359
|
-
e,
|
|
360
|
-
n
|
|
361
|
-
) : nt(
|
|
362
|
-
e,
|
|
363
|
-
n
|
|
364
|
-
)
|
|
365
|
-
}
|
|
366
|
-
);
|
|
367
|
-
new Proxy(
|
|
368
|
-
{},
|
|
369
|
-
{
|
|
370
|
-
get: (t, e) => (n) => S.is(n) ? it(
|
|
371
|
-
e,
|
|
372
|
-
n
|
|
373
|
-
) : nt(
|
|
374
|
-
e,
|
|
375
|
-
n
|
|
376
|
-
)
|
|
377
|
-
}
|
|
378
|
-
);
|
|
379
|
-
function b(t) {
|
|
380
|
-
return t == null ? tt : Array.isArray(t) ? J(...t.map(b)) : typeof t == "string" ? Ue(t) : S.is(t) ? je(t) : t;
|
|
381
|
-
}
|
|
382
|
-
function Gt(t, ...e) {
|
|
383
|
-
return (n) => {
|
|
384
|
-
const i = n.createElement(t, void 0);
|
|
385
|
-
n.isFirstLevel && X.isSSR() && oe(i), n.appendOrInsert(i), n = n.withElement(i);
|
|
386
|
-
const o = e.map((s) => b(s)(n));
|
|
387
|
-
return (s) => {
|
|
388
|
-
o.forEach((r) => r(!1)), s && q(i);
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
function te(t, e, ...n) {
|
|
393
|
-
return (i) => {
|
|
394
|
-
const o = i.createElement(t, e);
|
|
395
|
-
i.isFirstLevel && X.isSSR() && oe(o), i.appendOrInsert(o), i = i.withElement(o);
|
|
396
|
-
const s = n.map((r) => b(r)(i));
|
|
397
|
-
return (r) => {
|
|
398
|
-
s.forEach((c) => c(!1)), r && q(o);
|
|
399
|
-
};
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
const ee = new Proxy(
|
|
403
|
-
{},
|
|
404
|
-
{
|
|
405
|
-
get: (t, e) => (...n) => Gt(e, n.flatMap(b))
|
|
406
|
-
}
|
|
407
|
-
);
|
|
408
|
-
new Proxy(
|
|
409
|
-
{},
|
|
410
|
-
{
|
|
411
|
-
get: (t, e) => (...n) => Gt("input", Lt.type(e), ...n)
|
|
412
|
-
}
|
|
413
|
-
);
|
|
414
|
-
const Xe = "http://www.w3.org/2000/svg";
|
|
415
|
-
new Proxy(
|
|
416
|
-
{},
|
|
417
|
-
{
|
|
418
|
-
get: (t, e) => (...n) => te(e, Xe, n.flatMap(b))
|
|
419
|
-
}
|
|
420
|
-
);
|
|
421
|
-
const Ye = "http://www.w3.org/1998/Math/MathML";
|
|
422
|
-
new Proxy(
|
|
423
|
-
{},
|
|
424
|
-
{
|
|
425
|
-
get: (t, e) => (...n) => te(e, Ye, n.flatMap(b))
|
|
426
|
-
}
|
|
427
|
-
);
|
|
428
|
-
const Vt = "data-tempo-attr", Ke = "data-tempo-class", Qe = "data-tempo-node", Ze = "data-tempo-text";
|
|
429
|
-
function Ge(t, e) {
|
|
430
|
-
const n = t.getAttribute(e);
|
|
431
|
-
if (n != null) {
|
|
432
|
-
const i = t.getAttribute(Vt) ?? "{}", o = { ...JSON.parse(i), name: n };
|
|
433
|
-
t.setAttribute(Vt, JSON.stringify(o));
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
function ne(t, e) {
|
|
437
|
-
X.isSSR() && t.isFirstLevel && Ge(t.element, e);
|
|
438
|
-
}
|
|
439
|
-
function tn(t) {
|
|
440
|
-
t.setAttribute(Ke, t.className);
|
|
441
|
-
}
|
|
442
|
-
function ie(t) {
|
|
443
|
-
X.isSSR() && t.isFirstLevel && tn(t.element);
|
|
444
|
-
}
|
|
445
|
-
function oe(t) {
|
|
446
|
-
t.setAttribute(Qe, "");
|
|
447
|
-
}
|
|
448
|
-
function en(t) {
|
|
449
|
-
t.setAttribute(Ze, t.textContent ?? "");
|
|
450
|
-
}
|
|
451
|
-
function se(t) {
|
|
452
|
-
X.isSSR() && t.isFirstLevel && en(t.element);
|
|
453
|
-
}
|
|
454
|
-
function re() {
|
|
455
|
-
const t = globalThis;
|
|
456
|
-
return t.__tempoSSR__ == null && (t.__tempoSSR__ = {
|
|
457
|
-
isSSR: !1,
|
|
458
|
-
counter: 0
|
|
459
|
-
}), t.__tempoSSR__;
|
|
460
|
-
}
|
|
461
|
-
function ce(t, e) {
|
|
462
|
-
const n = re();
|
|
463
|
-
n[t] = e;
|
|
464
|
-
}
|
|
465
|
-
function le(t) {
|
|
466
|
-
return re()[t];
|
|
467
|
-
}
|
|
468
|
-
function nn() {
|
|
469
|
-
return le("isSSR");
|
|
470
|
-
}
|
|
471
|
-
function ae() {
|
|
472
|
-
return le("counter");
|
|
473
|
-
}
|
|
474
|
-
function on() {
|
|
475
|
-
ce("counter", (ae() ?? 0) + 1);
|
|
476
|
-
}
|
|
477
|
-
function sn() {
|
|
478
|
-
ce("counter", (ae() ?? 0) - 1);
|
|
479
|
-
}
|
|
480
|
-
const X = {
|
|
481
|
-
useDone: (t) => (on(), b(t(sn))),
|
|
482
|
-
isSSR: nn
|
|
483
|
-
}, rn = (t, e) => (n) => (n.element.addEventListener(t, e), (i) => {
|
|
484
|
-
i && n.element.removeEventListener(t, e);
|
|
485
|
-
}), ue = new Proxy(
|
|
486
|
-
{},
|
|
487
|
-
{
|
|
488
|
-
/**
|
|
489
|
-
* @param name - The name of the event handler.
|
|
490
|
-
* @param fn - The function to call when the event is triggered.
|
|
491
|
-
* @returns A `Renderable` function that adds the event listener to the element.
|
|
492
|
-
*/
|
|
493
|
-
get: (t, e) => (n) => rn(e, n)
|
|
494
|
-
}
|
|
495
|
-
), lt = (t, e) => (n) => {
|
|
496
|
-
n = n.makeRef();
|
|
497
|
-
let i, o;
|
|
498
|
-
const s = t.map((l) => Object.keys(l)[0]);
|
|
499
|
-
let r;
|
|
500
|
-
const c = s.on((l) => {
|
|
501
|
-
if (l !== r) {
|
|
502
|
-
o == null || o.dispose(), i == null || i(!0), o = t.map((f) => f[l]);
|
|
503
|
-
const a = e[l](o);
|
|
504
|
-
i = b(a)(n), r = l;
|
|
505
|
-
}
|
|
506
|
-
});
|
|
507
|
-
return (l) => {
|
|
508
|
-
c(), l && n.reference != null && q(n.reference), i == null || i(!0);
|
|
509
|
-
};
|
|
510
|
-
}, I = {
|
|
511
|
-
bool: (t, e) => lt(
|
|
512
|
-
t.map((n) => n ? { true: !0 } : { false: !0 }),
|
|
513
|
-
e
|
|
514
|
-
),
|
|
515
|
-
field: (t, e, n) => lt(
|
|
516
|
-
t.map((i) => ({ [i[e]]: i })),
|
|
517
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
518
|
-
n
|
|
519
|
-
),
|
|
520
|
-
kind: (t, e) => I.field(t, "kind", e),
|
|
521
|
-
tuple: (t, e) => {
|
|
522
|
-
const n = t.map(([i, o]) => ({ [i]: o }));
|
|
523
|
-
return lt(n, e);
|
|
524
|
-
},
|
|
525
|
-
type: (t, e) => I.field(t, "type", e),
|
|
526
|
-
value: (t, e) => lt(
|
|
527
|
-
t.map((n) => ({ [n]: !0 })),
|
|
528
|
-
e
|
|
529
|
-
)
|
|
530
|
-
}, cn = (t, e) => (n) => {
|
|
531
|
-
const i = Object.values(t).reduce((o, s) => {
|
|
532
|
-
const r = n.getProvider(s);
|
|
533
|
-
if (r == null)
|
|
534
|
-
throw new Error(`No provider found for mark: ${s.description}`);
|
|
535
|
-
return o[s] = r, o;
|
|
536
|
-
}, {});
|
|
537
|
-
return b(e(i))(n);
|
|
538
|
-
}, fe = (t, e) => cn([t], (n) => b(e(n[t]))), ln = (t, e, n) => (i) => {
|
|
539
|
-
i = i.makeRef();
|
|
540
|
-
let o = null, s = !1;
|
|
541
|
-
const r = P(null), c = t.on((l) => {
|
|
542
|
-
l == null ? (o == null || o(!0), o = b((n == null ? void 0 : n()) ?? tt)(i), s = !1) : (r.value = l, s || (o == null || o(!0), o = b(e(r))(i), s = !0));
|
|
543
|
-
});
|
|
544
|
-
return (l) => {
|
|
545
|
-
c(), o == null || o(l), l && i.reference && q(i.reference);
|
|
546
|
-
};
|
|
547
|
-
}, ot = (t) => (e) => (n) => t(n, e), an = (t, e, n) => ln(
|
|
548
|
-
t.map((i) => i ? !0 : null),
|
|
549
|
-
() => e,
|
|
550
|
-
n != null ? () => n : void 0
|
|
551
|
-
), he = (t) => (e) => t(e.element) ?? (() => {
|
|
552
|
-
});
|
|
553
|
-
function un(t, e) {
|
|
554
|
-
const n = t(e);
|
|
555
|
-
return () => n(!0);
|
|
556
|
-
}
|
|
557
|
-
const de = (t, e) => (n) => {
|
|
558
|
-
const i = n.document.querySelector(t);
|
|
559
|
-
if (i === null)
|
|
560
|
-
throw new Error(`Cannot find element by selector for portal: ${t}`);
|
|
561
|
-
return un(
|
|
562
|
-
b(e),
|
|
563
|
-
n.withElement(i).withFirstLevel()
|
|
564
|
-
);
|
|
565
|
-
};
|
|
566
|
-
function pe(t) {
|
|
567
|
-
return Symbol(t);
|
|
568
|
-
}
|
|
569
|
-
const fn = (t, e) => (n) => b(e)(n.withProviders(t)), me = (t, e, n) => fn({ [t]: e }, b(n)), hn = (t, e) => (n) => {
|
|
570
|
-
const i = n.element, o = i.style.getPropertyValue(t);
|
|
571
|
-
return i.style.setProperty(t, e), (s) => {
|
|
572
|
-
s && i.style.setProperty(t, o);
|
|
573
|
-
};
|
|
574
|
-
}, dn = (t, e) => (n) => {
|
|
575
|
-
const i = n.element, o = i.style.getPropertyValue(t);
|
|
576
|
-
return e.on((s) => i.style.setProperty(t, s)), (s) => {
|
|
577
|
-
s && i.style.setProperty(t, o);
|
|
578
|
-
};
|
|
579
|
-
};
|
|
580
|
-
new Proxy(
|
|
581
|
-
{},
|
|
582
|
-
{
|
|
583
|
-
get: (t, e) => (n) => S.is(n) ? dn(e, n) : hn(e, n)
|
|
584
|
-
}
|
|
585
|
-
);
|
|
586
|
-
const ge = pe("LocationProvider");
|
|
587
|
-
function pn() {
|
|
1
|
+
import { makeProviderMark as Et, makeProp as B, Fragment as X, OnUnmount as q, WithProvider as Lt, UseProvider as St, renderableOfTNode as nt, html as Tt, on as Ct, handleAnchorClick as Gt, Signal as ot, attr as kt, Empty as ft, OneOfType as Pt, makeSignal as Qt, Portal as Ft, isSSR as Zt, OnMount as Mt, When as Dt, OneOfTuple as te } from "@tempots/dom";
|
|
2
|
+
const Wt = Et("LocationProvider"), ee = () => {
|
|
588
3
|
const t = (window == null ? void 0 : window.location.hash) === "" ? void 0 : (window == null ? void 0 : window.location.hash.substring(1)) ?? void 0;
|
|
589
4
|
return {
|
|
590
5
|
pathname: (window == null ? void 0 : window.location.pathname) ?? "",
|
|
@@ -593,115 +8,98 @@ function pn() {
|
|
|
593
8
|
),
|
|
594
9
|
hash: t
|
|
595
10
|
};
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
function gn(t) {
|
|
601
|
-
const e = new URL(t, (window == null ? void 0 : window.location.toString()) ?? ""), n = Object.fromEntries(e.searchParams.entries());
|
|
602
|
-
let i = e.hash;
|
|
603
|
-
return i.startsWith("#") && (i = i.substring(1)), {
|
|
11
|
+
}, ne = (t, e) => t.pathname === e.pathname && JSON.stringify(t.search) === JSON.stringify(e.search) && t.hash === e.hash, oe = (t) => {
|
|
12
|
+
const e = new URL(t, (window == null ? void 0 : window.location.toString()) ?? ""), o = Object.fromEntries(e.searchParams.entries());
|
|
13
|
+
let n = e.hash;
|
|
14
|
+
return n.startsWith("#") && (n = n.substring(1)), {
|
|
604
15
|
pathname: e.pathname,
|
|
605
|
-
search:
|
|
606
|
-
hash:
|
|
16
|
+
search: o,
|
|
17
|
+
hash: n === "" ? void 0 : n
|
|
607
18
|
};
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
let n = (window == null ? void 0 : window.location.hash) ?? "";
|
|
620
|
-
n.startsWith("#") && (n = n.substring(1));
|
|
621
|
-
const i = {
|
|
19
|
+
}, ie = (t, e) => {
|
|
20
|
+
const o = oe(e);
|
|
21
|
+
return t.set(o), t;
|
|
22
|
+
}, re = (t) => {
|
|
23
|
+
const o = new URLSearchParams(t.search).toString(), n = t.hash;
|
|
24
|
+
return `${t.pathname}${o ? `?${o}` : ""}${n ? `#${n}` : ""}`;
|
|
25
|
+
}, se = () => {
|
|
26
|
+
const t = B(ee(), ne), e = () => {
|
|
27
|
+
let o = (window == null ? void 0 : window.location.hash) ?? "";
|
|
28
|
+
o.startsWith("#") && (o = o.substring(1));
|
|
29
|
+
const n = {
|
|
622
30
|
pathname: (window == null ? void 0 : window.location.pathname) ?? "",
|
|
623
31
|
search: Object.fromEntries(
|
|
624
32
|
new URLSearchParams((window == null ? void 0 : window.location.search) ?? "").entries()
|
|
625
33
|
),
|
|
626
|
-
hash:
|
|
34
|
+
hash: o === "" ? void 0 : o
|
|
627
35
|
};
|
|
628
|
-
t.set(
|
|
36
|
+
t.set(n);
|
|
629
37
|
};
|
|
630
38
|
return window == null || window.addEventListener("popstate", e), t.onDispose(() => {
|
|
631
39
|
window == null || window.removeEventListener("popstate", e);
|
|
632
|
-
}), t.on((
|
|
633
|
-
window == null || window.history.pushState({}, "",
|
|
40
|
+
}), t.on((o) => {
|
|
41
|
+
window == null || window.history.pushState({}, "", re(o));
|
|
634
42
|
}), t;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
me(ge, e, t)
|
|
43
|
+
}, Ke = (t) => {
|
|
44
|
+
const e = se();
|
|
45
|
+
return X(
|
|
46
|
+
q(e.dispose),
|
|
47
|
+
Lt(Wt, e, t)
|
|
641
48
|
);
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
)
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
const ye = pe("Appearance"), hi = (t) => {
|
|
663
|
-
const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, n = P(e ? "dark" : "light"), i = (s) => {
|
|
664
|
-
n.set(s.matches ? "dark" : "light");
|
|
665
|
-
}, o = window.matchMedia != null ? window.matchMedia("(prefers-color-scheme: dark)") : void 0;
|
|
666
|
-
return o == null || o.addEventListener("change", i), J(
|
|
667
|
-
me(ye, n, t),
|
|
668
|
-
ot(() => o == null ? void 0 : o.removeEventListener("change", i))
|
|
49
|
+
}, Nt = (t) => St(Wt, (e) => (o) => {
|
|
50
|
+
const n = B(e.value, e.equals);
|
|
51
|
+
e.feedProp(n), n.on(e.set);
|
|
52
|
+
const i = nt(t(n))(o);
|
|
53
|
+
return (r) => {
|
|
54
|
+
n.dispose(), i(r);
|
|
55
|
+
};
|
|
56
|
+
}), Ge = (t, ...e) => Nt((o) => Tt.a(
|
|
57
|
+
Ct.click(
|
|
58
|
+
Gt(() => (ie(o, ot.unwrap(t)), !0))
|
|
59
|
+
),
|
|
60
|
+
kt.href(t),
|
|
61
|
+
...e
|
|
62
|
+
)), $t = Et("Appearance"), Qe = (t) => {
|
|
63
|
+
const e = window.matchMedia != null && window.matchMedia("(prefers-color-scheme: dark)").matches, o = B(e ? "dark" : "light"), n = (r) => {
|
|
64
|
+
o.set(r.matches ? "dark" : "light");
|
|
65
|
+
}, i = window.matchMedia != null ? window.matchMedia("(prefers-color-scheme: dark)") : void 0;
|
|
66
|
+
return i == null || i.addEventListener("change", n), X(
|
|
67
|
+
Lt($t, o, t),
|
|
68
|
+
q(() => i == null ? void 0 : i.removeEventListener("change", n))
|
|
669
69
|
);
|
|
670
|
-
},
|
|
671
|
-
function xn(t, e) {
|
|
70
|
+
}, Ze = (t) => St($t, t), ce = (t, e) => {
|
|
672
71
|
if (typeof e == "function")
|
|
673
|
-
return
|
|
674
|
-
const
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
)),
|
|
678
|
-
return
|
|
679
|
-
AsyncSuccess: (
|
|
680
|
-
AsyncFailure: (
|
|
681
|
-
Loading: (
|
|
682
|
-
NotAsked:
|
|
72
|
+
return ce(t, { success: e });
|
|
73
|
+
const o = e.failure ?? ((s) => X(
|
|
74
|
+
q(s.on(console.error)),
|
|
75
|
+
s.map((c) => `Error: ${c}`)
|
|
76
|
+
)), n = e.success, i = e.loading ?? (() => ft), r = e.notAsked ?? (() => ft);
|
|
77
|
+
return Pt(ot.wrap(t), {
|
|
78
|
+
AsyncSuccess: (s) => n(s.$.value),
|
|
79
|
+
AsyncFailure: (s) => o(s.$.error),
|
|
80
|
+
Loading: (s) => i(s.$.previousValue ?? Qt(void 0)),
|
|
81
|
+
NotAsked: r
|
|
683
82
|
});
|
|
684
|
-
}
|
|
685
|
-
const
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
(i = e.element) == null || i.focus();
|
|
83
|
+
}, tn = (t = 10) => (e) => {
|
|
84
|
+
const o = setTimeout(() => {
|
|
85
|
+
var n;
|
|
86
|
+
(n = e.element) == null || n.focus();
|
|
689
87
|
}, t);
|
|
690
|
-
return (
|
|
691
|
-
},
|
|
692
|
-
const
|
|
693
|
-
var
|
|
694
|
-
(
|
|
88
|
+
return (n) => clearTimeout(o);
|
|
89
|
+
}, en = (t = 10) => (e) => {
|
|
90
|
+
const o = setTimeout(() => {
|
|
91
|
+
var n;
|
|
92
|
+
(n = e.element) == null || n.select();
|
|
695
93
|
}, t);
|
|
696
|
-
return (
|
|
697
|
-
clearTimeout(
|
|
94
|
+
return (n) => {
|
|
95
|
+
clearTimeout(o);
|
|
698
96
|
};
|
|
699
|
-
},
|
|
700
|
-
const e = t.element,
|
|
701
|
-
return e.style.setProperty(":empty", "display:none"), (
|
|
702
|
-
|
|
97
|
+
}, nn = (t) => {
|
|
98
|
+
const e = t.element, o = e.style.getPropertyValue(":empty");
|
|
99
|
+
return e.style.setProperty(":empty", "display:none"), (n) => {
|
|
100
|
+
n && e.style.setProperty(":empty", o);
|
|
703
101
|
};
|
|
704
|
-
},
|
|
102
|
+
}, on = (t) => Ft("head > title", kt.innerText(t)), le = {
|
|
705
103
|
partial: {
|
|
706
104
|
root: null,
|
|
707
105
|
rootMargin: "0px",
|
|
@@ -712,106 +110,105 @@ const pi = (t = 10) => (e) => {
|
|
|
712
110
|
rootMargin: "0px",
|
|
713
111
|
threshold: 1
|
|
714
112
|
}
|
|
715
|
-
},
|
|
113
|
+
}, G = {
|
|
716
114
|
partial: /* @__PURE__ */ new Map(),
|
|
717
115
|
full: /* @__PURE__ */ new Map()
|
|
718
|
-
},
|
|
116
|
+
}, U = {
|
|
719
117
|
partial: null,
|
|
720
118
|
full: null
|
|
721
119
|
};
|
|
722
|
-
function
|
|
723
|
-
return
|
|
724
|
-
e.forEach((
|
|
725
|
-
const
|
|
726
|
-
|
|
120
|
+
function ae(t) {
|
|
121
|
+
return U[t] == null && (U[t] = new IntersectionObserver((e) => {
|
|
122
|
+
e.forEach((o) => {
|
|
123
|
+
const n = G[t].get(o.target);
|
|
124
|
+
n == null || n.set(o.isIntersecting);
|
|
727
125
|
});
|
|
728
|
-
},
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
const
|
|
732
|
-
return
|
|
733
|
-
|
|
734
|
-
const
|
|
735
|
-
return
|
|
736
|
-
var
|
|
737
|
-
|
|
126
|
+
}, le[t])), U[t];
|
|
127
|
+
}
|
|
128
|
+
const fe = (t, e) => {
|
|
129
|
+
const o = B(Zt());
|
|
130
|
+
return X(
|
|
131
|
+
Mt((n) => {
|
|
132
|
+
const i = typeof IntersectionObserver < "u" ? ae(t) : null;
|
|
133
|
+
return G[t].set(n, o), i == null || i.observe(n), () => {
|
|
134
|
+
var r;
|
|
135
|
+
i == null || i.unobserve(n), G[t].delete(n), G[t].size === 0 && ((r = U[t]) == null || r.disconnect(), U[t] = null);
|
|
738
136
|
};
|
|
739
137
|
}),
|
|
740
|
-
|
|
741
|
-
|
|
138
|
+
q(o.dispose),
|
|
139
|
+
nt(e(o))
|
|
742
140
|
);
|
|
743
|
-
}
|
|
744
|
-
const yi = (t, e, n) => Sn(t, (i) => an(i, e, n ?? tt)), ft = Math.min, $ = Math.max, ht = Math.round, at = Math.floor, k = (t) => ({
|
|
141
|
+
}, rn = (t, e, o) => fe(t, (n) => Dt(n, e, o ?? ft)), Q = Math.min, F = Math.max, Z = Math.round, K = Math.floor, C = (t) => ({
|
|
745
142
|
x: t,
|
|
746
143
|
y: t
|
|
747
|
-
}),
|
|
144
|
+
}), ue = {
|
|
748
145
|
left: "right",
|
|
749
146
|
right: "left",
|
|
750
147
|
bottom: "top",
|
|
751
148
|
top: "bottom"
|
|
752
|
-
},
|
|
149
|
+
}, he = {
|
|
753
150
|
start: "end",
|
|
754
151
|
end: "start"
|
|
755
152
|
};
|
|
756
|
-
function
|
|
757
|
-
return
|
|
153
|
+
function xt(t, e, o) {
|
|
154
|
+
return F(t, Q(e, o));
|
|
758
155
|
}
|
|
759
|
-
function
|
|
156
|
+
function it(t, e) {
|
|
760
157
|
return typeof t == "function" ? t(e) : t;
|
|
761
158
|
}
|
|
762
|
-
function
|
|
159
|
+
function M(t) {
|
|
763
160
|
return t.split("-")[0];
|
|
764
161
|
}
|
|
765
|
-
function
|
|
162
|
+
function rt(t) {
|
|
766
163
|
return t.split("-")[1];
|
|
767
164
|
}
|
|
768
|
-
function
|
|
165
|
+
function Vt(t) {
|
|
769
166
|
return t === "x" ? "y" : "x";
|
|
770
167
|
}
|
|
771
|
-
function
|
|
168
|
+
function zt(t) {
|
|
772
169
|
return t === "y" ? "height" : "width";
|
|
773
170
|
}
|
|
774
|
-
function
|
|
775
|
-
return ["top", "bottom"].includes(
|
|
171
|
+
function V(t) {
|
|
172
|
+
return ["top", "bottom"].includes(M(t)) ? "y" : "x";
|
|
776
173
|
}
|
|
777
|
-
function
|
|
778
|
-
return
|
|
174
|
+
function Bt(t) {
|
|
175
|
+
return Vt(V(t));
|
|
779
176
|
}
|
|
780
|
-
function
|
|
781
|
-
|
|
782
|
-
const
|
|
783
|
-
let
|
|
784
|
-
return e.reference[
|
|
177
|
+
function de(t, e, o) {
|
|
178
|
+
o === void 0 && (o = !1);
|
|
179
|
+
const n = rt(t), i = Bt(t), r = zt(i);
|
|
180
|
+
let s = i === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
181
|
+
return e.reference[r] > e.floating[r] && (s = tt(s)), [s, tt(s)];
|
|
785
182
|
}
|
|
786
|
-
function
|
|
787
|
-
const e =
|
|
788
|
-
return [
|
|
183
|
+
function me(t) {
|
|
184
|
+
const e = tt(t);
|
|
185
|
+
return [ut(t), e, ut(e)];
|
|
789
186
|
}
|
|
790
|
-
function
|
|
791
|
-
return t.replace(/start|end/g, (e) =>
|
|
187
|
+
function ut(t) {
|
|
188
|
+
return t.replace(/start|end/g, (e) => he[e]);
|
|
792
189
|
}
|
|
793
|
-
function
|
|
794
|
-
const
|
|
190
|
+
function pe(t, e, o) {
|
|
191
|
+
const n = ["left", "right"], i = ["right", "left"], r = ["top", "bottom"], s = ["bottom", "top"];
|
|
795
192
|
switch (t) {
|
|
796
193
|
case "top":
|
|
797
194
|
case "bottom":
|
|
798
|
-
return
|
|
195
|
+
return o ? e ? i : n : e ? n : i;
|
|
799
196
|
case "left":
|
|
800
197
|
case "right":
|
|
801
|
-
return e ?
|
|
198
|
+
return e ? r : s;
|
|
802
199
|
default:
|
|
803
200
|
return [];
|
|
804
201
|
}
|
|
805
202
|
}
|
|
806
|
-
function
|
|
807
|
-
const
|
|
808
|
-
let
|
|
809
|
-
return
|
|
203
|
+
function ge(t, e, o, n) {
|
|
204
|
+
const i = rt(t);
|
|
205
|
+
let r = pe(M(t), o === "start", n);
|
|
206
|
+
return i && (r = r.map((s) => s + "-" + i), e && (r = r.concat(r.map(ut)))), r;
|
|
810
207
|
}
|
|
811
|
-
function
|
|
812
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
208
|
+
function tt(t) {
|
|
209
|
+
return t.replace(/left|right|bottom|top/g, (e) => ue[e]);
|
|
813
210
|
}
|
|
814
|
-
function
|
|
211
|
+
function we(t) {
|
|
815
212
|
return {
|
|
816
213
|
top: 0,
|
|
817
214
|
right: 0,
|
|
@@ -820,259 +217,259 @@ function Dn(t) {
|
|
|
820
217
|
...t
|
|
821
218
|
};
|
|
822
219
|
}
|
|
823
|
-
function
|
|
824
|
-
return typeof t != "number" ?
|
|
220
|
+
function ye(t) {
|
|
221
|
+
return typeof t != "number" ? we(t) : {
|
|
825
222
|
top: t,
|
|
826
223
|
right: t,
|
|
827
224
|
bottom: t,
|
|
828
225
|
left: t
|
|
829
226
|
};
|
|
830
227
|
}
|
|
831
|
-
function
|
|
228
|
+
function et(t) {
|
|
832
229
|
const {
|
|
833
230
|
x: e,
|
|
834
|
-
y:
|
|
835
|
-
width:
|
|
836
|
-
height:
|
|
231
|
+
y: o,
|
|
232
|
+
width: n,
|
|
233
|
+
height: i
|
|
837
234
|
} = t;
|
|
838
235
|
return {
|
|
839
|
-
width:
|
|
840
|
-
height:
|
|
841
|
-
top:
|
|
236
|
+
width: n,
|
|
237
|
+
height: i,
|
|
238
|
+
top: o,
|
|
842
239
|
left: e,
|
|
843
|
-
right: e +
|
|
844
|
-
bottom:
|
|
240
|
+
right: e + n,
|
|
241
|
+
bottom: o + i,
|
|
845
242
|
x: e,
|
|
846
|
-
y:
|
|
243
|
+
y: o
|
|
847
244
|
};
|
|
848
245
|
}
|
|
849
|
-
function
|
|
246
|
+
function vt(t, e, o) {
|
|
850
247
|
let {
|
|
851
|
-
reference:
|
|
852
|
-
floating:
|
|
248
|
+
reference: n,
|
|
249
|
+
floating: i
|
|
853
250
|
} = t;
|
|
854
|
-
const
|
|
251
|
+
const r = V(e), s = Bt(e), c = zt(s), a = M(e), l = r === "y", u = n.x + n.width / 2 - i.width / 2, f = n.y + n.height / 2 - i.height / 2, m = n[c] / 2 - i[c] / 2;
|
|
855
252
|
let h;
|
|
856
|
-
switch (
|
|
253
|
+
switch (a) {
|
|
857
254
|
case "top":
|
|
858
255
|
h = {
|
|
859
|
-
x:
|
|
860
|
-
y:
|
|
256
|
+
x: u,
|
|
257
|
+
y: n.y - i.height
|
|
861
258
|
};
|
|
862
259
|
break;
|
|
863
260
|
case "bottom":
|
|
864
261
|
h = {
|
|
865
|
-
x:
|
|
866
|
-
y:
|
|
262
|
+
x: u,
|
|
263
|
+
y: n.y + n.height
|
|
867
264
|
};
|
|
868
265
|
break;
|
|
869
266
|
case "right":
|
|
870
267
|
h = {
|
|
871
|
-
x:
|
|
872
|
-
y:
|
|
268
|
+
x: n.x + n.width,
|
|
269
|
+
y: f
|
|
873
270
|
};
|
|
874
271
|
break;
|
|
875
272
|
case "left":
|
|
876
273
|
h = {
|
|
877
|
-
x:
|
|
878
|
-
y:
|
|
274
|
+
x: n.x - i.width,
|
|
275
|
+
y: f
|
|
879
276
|
};
|
|
880
277
|
break;
|
|
881
278
|
default:
|
|
882
279
|
h = {
|
|
883
|
-
x:
|
|
884
|
-
y:
|
|
280
|
+
x: n.x,
|
|
281
|
+
y: n.y
|
|
885
282
|
};
|
|
886
283
|
}
|
|
887
|
-
switch (
|
|
284
|
+
switch (rt(e)) {
|
|
888
285
|
case "start":
|
|
889
|
-
h[
|
|
286
|
+
h[s] -= m * (o && l ? -1 : 1);
|
|
890
287
|
break;
|
|
891
288
|
case "end":
|
|
892
|
-
h[
|
|
289
|
+
h[s] += m * (o && l ? -1 : 1);
|
|
893
290
|
break;
|
|
894
291
|
}
|
|
895
292
|
return h;
|
|
896
293
|
}
|
|
897
|
-
const
|
|
294
|
+
const xe = async (t, e, o) => {
|
|
898
295
|
const {
|
|
899
|
-
placement:
|
|
900
|
-
strategy:
|
|
901
|
-
middleware:
|
|
902
|
-
platform:
|
|
903
|
-
} =
|
|
904
|
-
let
|
|
296
|
+
placement: n = "bottom",
|
|
297
|
+
strategy: i = "absolute",
|
|
298
|
+
middleware: r = [],
|
|
299
|
+
platform: s
|
|
300
|
+
} = o, c = r.filter(Boolean), a = await (s.isRTL == null ? void 0 : s.isRTL(e));
|
|
301
|
+
let l = await s.getElementRects({
|
|
905
302
|
reference: t,
|
|
906
303
|
floating: e,
|
|
907
|
-
strategy:
|
|
304
|
+
strategy: i
|
|
908
305
|
}), {
|
|
909
|
-
x:
|
|
910
|
-
y:
|
|
911
|
-
} =
|
|
912
|
-
for (let
|
|
306
|
+
x: u,
|
|
307
|
+
y: f
|
|
308
|
+
} = vt(l, n, a), m = n, h = {}, p = 0;
|
|
309
|
+
for (let g = 0; g < c.length; g++) {
|
|
913
310
|
const {
|
|
914
|
-
name:
|
|
915
|
-
fn:
|
|
916
|
-
} = c[
|
|
917
|
-
x:
|
|
311
|
+
name: w,
|
|
312
|
+
fn: d
|
|
313
|
+
} = c[g], {
|
|
314
|
+
x: y,
|
|
918
315
|
y: x,
|
|
919
|
-
data:
|
|
920
|
-
reset:
|
|
921
|
-
} = await
|
|
922
|
-
x:
|
|
923
|
-
y:
|
|
924
|
-
initialPlacement:
|
|
316
|
+
data: b,
|
|
317
|
+
reset: v
|
|
318
|
+
} = await d({
|
|
319
|
+
x: u,
|
|
320
|
+
y: f,
|
|
321
|
+
initialPlacement: n,
|
|
925
322
|
placement: m,
|
|
926
|
-
strategy:
|
|
323
|
+
strategy: i,
|
|
927
324
|
middlewareData: h,
|
|
928
|
-
rects:
|
|
929
|
-
platform:
|
|
325
|
+
rects: l,
|
|
326
|
+
platform: s,
|
|
930
327
|
elements: {
|
|
931
328
|
reference: t,
|
|
932
329
|
floating: e
|
|
933
330
|
}
|
|
934
331
|
});
|
|
935
|
-
|
|
332
|
+
u = y ?? u, f = x ?? f, h = {
|
|
936
333
|
...h,
|
|
937
|
-
[
|
|
938
|
-
...h[
|
|
939
|
-
...
|
|
334
|
+
[w]: {
|
|
335
|
+
...h[w],
|
|
336
|
+
...b
|
|
940
337
|
}
|
|
941
|
-
},
|
|
338
|
+
}, v && p <= 50 && (p++, typeof v == "object" && (v.placement && (m = v.placement), v.rects && (l = v.rects === !0 ? await s.getElementRects({
|
|
942
339
|
reference: t,
|
|
943
340
|
floating: e,
|
|
944
|
-
strategy:
|
|
945
|
-
}) :
|
|
946
|
-
x:
|
|
947
|
-
y:
|
|
948
|
-
} =
|
|
341
|
+
strategy: i
|
|
342
|
+
}) : v.rects), {
|
|
343
|
+
x: u,
|
|
344
|
+
y: f
|
|
345
|
+
} = vt(l, m, a)), g = -1);
|
|
949
346
|
}
|
|
950
347
|
return {
|
|
951
|
-
x:
|
|
952
|
-
y:
|
|
348
|
+
x: u,
|
|
349
|
+
y: f,
|
|
953
350
|
placement: m,
|
|
954
|
-
strategy:
|
|
351
|
+
strategy: i,
|
|
955
352
|
middlewareData: h
|
|
956
353
|
};
|
|
957
354
|
};
|
|
958
|
-
async function
|
|
959
|
-
var
|
|
355
|
+
async function Ht(t, e) {
|
|
356
|
+
var o;
|
|
960
357
|
e === void 0 && (e = {});
|
|
961
358
|
const {
|
|
962
|
-
x:
|
|
963
|
-
y:
|
|
964
|
-
platform:
|
|
965
|
-
rects:
|
|
359
|
+
x: n,
|
|
360
|
+
y: i,
|
|
361
|
+
platform: r,
|
|
362
|
+
rects: s,
|
|
966
363
|
elements: c,
|
|
967
|
-
strategy:
|
|
364
|
+
strategy: a
|
|
968
365
|
} = t, {
|
|
969
|
-
boundary:
|
|
970
|
-
rootBoundary:
|
|
971
|
-
elementContext:
|
|
366
|
+
boundary: l = "clippingAncestors",
|
|
367
|
+
rootBoundary: u = "viewport",
|
|
368
|
+
elementContext: f = "floating",
|
|
972
369
|
altBoundary: m = !1,
|
|
973
370
|
padding: h = 0
|
|
974
|
-
} =
|
|
975
|
-
element: (
|
|
976
|
-
boundary:
|
|
977
|
-
rootBoundary:
|
|
978
|
-
strategy:
|
|
979
|
-
})),
|
|
980
|
-
x:
|
|
981
|
-
y:
|
|
982
|
-
width:
|
|
983
|
-
height:
|
|
984
|
-
} :
|
|
371
|
+
} = it(e, t), p = ye(h), w = c[m ? f === "floating" ? "reference" : "floating" : f], d = et(await r.getClippingRect({
|
|
372
|
+
element: (o = await (r.isElement == null ? void 0 : r.isElement(w))) == null || o ? w : w.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
|
|
373
|
+
boundary: l,
|
|
374
|
+
rootBoundary: u,
|
|
375
|
+
strategy: a
|
|
376
|
+
})), y = f === "floating" ? {
|
|
377
|
+
x: n,
|
|
378
|
+
y: i,
|
|
379
|
+
width: s.floating.width,
|
|
380
|
+
height: s.floating.height
|
|
381
|
+
} : s.reference, x = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), b = await (r.isElement == null ? void 0 : r.isElement(x)) ? await (r.getScale == null ? void 0 : r.getScale(x)) || {
|
|
985
382
|
x: 1,
|
|
986
383
|
y: 1
|
|
987
384
|
} : {
|
|
988
385
|
x: 1,
|
|
989
386
|
y: 1
|
|
990
|
-
},
|
|
387
|
+
}, v = et(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
991
388
|
elements: c,
|
|
992
|
-
rect:
|
|
389
|
+
rect: y,
|
|
993
390
|
offsetParent: x,
|
|
994
|
-
strategy:
|
|
995
|
-
}) :
|
|
391
|
+
strategy: a
|
|
392
|
+
}) : y);
|
|
996
393
|
return {
|
|
997
|
-
top: (
|
|
998
|
-
bottom: (
|
|
999
|
-
left: (
|
|
1000
|
-
right: (
|
|
394
|
+
top: (d.top - v.top + p.top) / b.y,
|
|
395
|
+
bottom: (v.bottom - d.bottom + p.bottom) / b.y,
|
|
396
|
+
left: (d.left - v.left + p.left) / b.x,
|
|
397
|
+
right: (v.right - d.right + p.right) / b.x
|
|
1001
398
|
};
|
|
1002
399
|
}
|
|
1003
|
-
const
|
|
400
|
+
const ve = function(t) {
|
|
1004
401
|
return t === void 0 && (t = {}), {
|
|
1005
402
|
name: "flip",
|
|
1006
403
|
options: t,
|
|
1007
404
|
async fn(e) {
|
|
1008
|
-
var
|
|
405
|
+
var o, n;
|
|
1009
406
|
const {
|
|
1010
|
-
placement:
|
|
1011
|
-
middlewareData:
|
|
1012
|
-
rects:
|
|
407
|
+
placement: i,
|
|
408
|
+
middlewareData: r,
|
|
409
|
+
rects: s,
|
|
1013
410
|
initialPlacement: c,
|
|
1014
|
-
platform:
|
|
1015
|
-
elements:
|
|
411
|
+
platform: a,
|
|
412
|
+
elements: l
|
|
1016
413
|
} = e, {
|
|
1017
|
-
mainAxis:
|
|
1018
|
-
crossAxis:
|
|
414
|
+
mainAxis: u = !0,
|
|
415
|
+
crossAxis: f = !0,
|
|
1019
416
|
fallbackPlacements: m,
|
|
1020
417
|
fallbackStrategy: h = "bestFit",
|
|
1021
|
-
fallbackAxisSideDirection:
|
|
1022
|
-
flipAlignment:
|
|
1023
|
-
...
|
|
1024
|
-
} =
|
|
1025
|
-
if ((
|
|
418
|
+
fallbackAxisSideDirection: p = "none",
|
|
419
|
+
flipAlignment: g = !0,
|
|
420
|
+
...w
|
|
421
|
+
} = it(t, e);
|
|
422
|
+
if ((o = r.arrow) != null && o.alignmentOffset)
|
|
1026
423
|
return {};
|
|
1027
|
-
const
|
|
1028
|
-
!m &&
|
|
1029
|
-
const
|
|
1030
|
-
let
|
|
1031
|
-
if (
|
|
1032
|
-
const
|
|
1033
|
-
|
|
424
|
+
const d = M(i), y = V(c), x = M(c) === c, b = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), v = m || (x || !g ? [tt(c)] : me(c)), W = p !== "none";
|
|
425
|
+
!m && W && v.push(...ge(c, g, p, b));
|
|
426
|
+
const Jt = [c, ...v], lt = await Ht(e, w), J = [];
|
|
427
|
+
let _ = ((n = r.flip) == null ? void 0 : n.overflows) || [];
|
|
428
|
+
if (u && J.push(lt[d]), f) {
|
|
429
|
+
const P = de(i, s, b);
|
|
430
|
+
J.push(lt[P[0]], lt[P[1]]);
|
|
1034
431
|
}
|
|
1035
|
-
if (
|
|
1036
|
-
placement:
|
|
1037
|
-
overflows:
|
|
1038
|
-
}], !
|
|
1039
|
-
var
|
|
1040
|
-
const
|
|
1041
|
-
if (
|
|
432
|
+
if (_ = [..._, {
|
|
433
|
+
placement: i,
|
|
434
|
+
overflows: J
|
|
435
|
+
}], !J.every((P) => P <= 0)) {
|
|
436
|
+
var pt, gt;
|
|
437
|
+
const P = (((pt = r.flip) == null ? void 0 : pt.index) || 0) + 1, yt = Jt[P];
|
|
438
|
+
if (yt)
|
|
1042
439
|
return {
|
|
1043
440
|
data: {
|
|
1044
|
-
index:
|
|
1045
|
-
overflows:
|
|
441
|
+
index: P,
|
|
442
|
+
overflows: _
|
|
1046
443
|
},
|
|
1047
444
|
reset: {
|
|
1048
|
-
placement:
|
|
445
|
+
placement: yt
|
|
1049
446
|
}
|
|
1050
447
|
};
|
|
1051
|
-
let
|
|
1052
|
-
if (!
|
|
448
|
+
let I = (gt = _.filter((N) => N.overflows[0] <= 0).sort((N, S) => N.overflows[1] - S.overflows[1])[0]) == null ? void 0 : gt.placement;
|
|
449
|
+
if (!I)
|
|
1053
450
|
switch (h) {
|
|
1054
451
|
case "bestFit": {
|
|
1055
|
-
var
|
|
1056
|
-
const
|
|
1057
|
-
if (
|
|
1058
|
-
const T =
|
|
1059
|
-
return T ===
|
|
452
|
+
var wt;
|
|
453
|
+
const N = (wt = _.filter((S) => {
|
|
454
|
+
if (W) {
|
|
455
|
+
const T = V(S.placement);
|
|
456
|
+
return T === y || // Create a bias to the `y` side axis due to horizontal
|
|
1060
457
|
// reading directions favoring greater width.
|
|
1061
458
|
T === "y";
|
|
1062
459
|
}
|
|
1063
460
|
return !0;
|
|
1064
|
-
}).map((
|
|
1065
|
-
|
|
461
|
+
}).map((S) => [S.placement, S.overflows.filter((T) => T > 0).reduce((T, Kt) => T + Kt, 0)]).sort((S, T) => S[1] - T[1])[0]) == null ? void 0 : wt[0];
|
|
462
|
+
N && (I = N);
|
|
1066
463
|
break;
|
|
1067
464
|
}
|
|
1068
465
|
case "initialPlacement":
|
|
1069
|
-
|
|
466
|
+
I = c;
|
|
1070
467
|
break;
|
|
1071
468
|
}
|
|
1072
|
-
if (
|
|
469
|
+
if (i !== I)
|
|
1073
470
|
return {
|
|
1074
471
|
reset: {
|
|
1075
|
-
placement:
|
|
472
|
+
placement: I
|
|
1076
473
|
}
|
|
1077
474
|
};
|
|
1078
475
|
}
|
|
@@ -1080,145 +477,145 @@ const kn = function(t) {
|
|
|
1080
477
|
}
|
|
1081
478
|
};
|
|
1082
479
|
};
|
|
1083
|
-
async function
|
|
480
|
+
async function be(t, e) {
|
|
1084
481
|
const {
|
|
1085
|
-
placement:
|
|
1086
|
-
platform:
|
|
1087
|
-
elements:
|
|
1088
|
-
} = t,
|
|
482
|
+
placement: o,
|
|
483
|
+
platform: n,
|
|
484
|
+
elements: i
|
|
485
|
+
} = t, r = await (n.isRTL == null ? void 0 : n.isRTL(i.floating)), s = M(o), c = rt(o), a = V(o) === "y", l = ["left", "top"].includes(s) ? -1 : 1, u = r && a ? -1 : 1, f = it(e, t);
|
|
1089
486
|
let {
|
|
1090
487
|
mainAxis: m,
|
|
1091
488
|
crossAxis: h,
|
|
1092
|
-
alignmentAxis:
|
|
1093
|
-
} = typeof
|
|
1094
|
-
mainAxis:
|
|
489
|
+
alignmentAxis: p
|
|
490
|
+
} = typeof f == "number" ? {
|
|
491
|
+
mainAxis: f,
|
|
1095
492
|
crossAxis: 0,
|
|
1096
493
|
alignmentAxis: null
|
|
1097
494
|
} : {
|
|
1098
495
|
mainAxis: 0,
|
|
1099
496
|
crossAxis: 0,
|
|
1100
497
|
alignmentAxis: null,
|
|
1101
|
-
...
|
|
498
|
+
...f
|
|
1102
499
|
};
|
|
1103
|
-
return c && typeof
|
|
1104
|
-
x: h *
|
|
1105
|
-
y: m *
|
|
500
|
+
return c && typeof p == "number" && (h = c === "end" ? p * -1 : p), a ? {
|
|
501
|
+
x: h * u,
|
|
502
|
+
y: m * l
|
|
1106
503
|
} : {
|
|
1107
|
-
x: m *
|
|
1108
|
-
y: h *
|
|
504
|
+
x: m * l,
|
|
505
|
+
y: h * u
|
|
1109
506
|
};
|
|
1110
507
|
}
|
|
1111
|
-
const
|
|
508
|
+
const Ae = function(t) {
|
|
1112
509
|
return t === void 0 && (t = 0), {
|
|
1113
510
|
name: "offset",
|
|
1114
511
|
options: t,
|
|
1115
512
|
async fn(e) {
|
|
1116
|
-
var
|
|
513
|
+
var o, n;
|
|
1117
514
|
const {
|
|
1118
|
-
x:
|
|
1119
|
-
y:
|
|
1120
|
-
placement:
|
|
515
|
+
x: i,
|
|
516
|
+
y: r,
|
|
517
|
+
placement: s,
|
|
1121
518
|
middlewareData: c
|
|
1122
|
-
} = e,
|
|
1123
|
-
return
|
|
1124
|
-
x:
|
|
1125
|
-
y:
|
|
519
|
+
} = e, a = await be(e, t);
|
|
520
|
+
return s === ((o = c.offset) == null ? void 0 : o.placement) && (n = c.arrow) != null && n.alignmentOffset ? {} : {
|
|
521
|
+
x: i + a.x,
|
|
522
|
+
y: r + a.y,
|
|
1126
523
|
data: {
|
|
1127
|
-
...
|
|
1128
|
-
placement:
|
|
524
|
+
...a,
|
|
525
|
+
placement: s
|
|
1129
526
|
}
|
|
1130
527
|
};
|
|
1131
528
|
}
|
|
1132
529
|
};
|
|
1133
|
-
},
|
|
530
|
+
}, Re = function(t) {
|
|
1134
531
|
return t === void 0 && (t = {}), {
|
|
1135
532
|
name: "shift",
|
|
1136
533
|
options: t,
|
|
1137
534
|
async fn(e) {
|
|
1138
535
|
const {
|
|
1139
|
-
x:
|
|
1140
|
-
y:
|
|
1141
|
-
placement:
|
|
536
|
+
x: o,
|
|
537
|
+
y: n,
|
|
538
|
+
placement: i
|
|
1142
539
|
} = e, {
|
|
1143
|
-
mainAxis:
|
|
1144
|
-
crossAxis:
|
|
540
|
+
mainAxis: r = !0,
|
|
541
|
+
crossAxis: s = !1,
|
|
1145
542
|
limiter: c = {
|
|
1146
|
-
fn: (
|
|
543
|
+
fn: (w) => {
|
|
1147
544
|
let {
|
|
1148
|
-
x:
|
|
1149
|
-
y
|
|
1150
|
-
} =
|
|
545
|
+
x: d,
|
|
546
|
+
y
|
|
547
|
+
} = w;
|
|
1151
548
|
return {
|
|
1152
|
-
x:
|
|
1153
|
-
y
|
|
549
|
+
x: d,
|
|
550
|
+
y
|
|
1154
551
|
};
|
|
1155
552
|
}
|
|
1156
553
|
},
|
|
1157
|
-
...
|
|
1158
|
-
} =
|
|
1159
|
-
x:
|
|
1160
|
-
y:
|
|
1161
|
-
},
|
|
1162
|
-
let h =
|
|
1163
|
-
if (s) {
|
|
1164
|
-
const y = m === "y" ? "top" : "left", p = m === "y" ? "bottom" : "right", v = h + f[y], x = h - f[p];
|
|
1165
|
-
h = Wt(v, h, x);
|
|
1166
|
-
}
|
|
554
|
+
...a
|
|
555
|
+
} = it(t, e), l = {
|
|
556
|
+
x: o,
|
|
557
|
+
y: n
|
|
558
|
+
}, u = await Ht(e, a), f = V(M(i)), m = Vt(f);
|
|
559
|
+
let h = l[m], p = l[f];
|
|
1167
560
|
if (r) {
|
|
1168
|
-
const
|
|
1169
|
-
|
|
561
|
+
const w = m === "y" ? "top" : "left", d = m === "y" ? "bottom" : "right", y = h + u[w], x = h - u[d];
|
|
562
|
+
h = xt(y, h, x);
|
|
563
|
+
}
|
|
564
|
+
if (s) {
|
|
565
|
+
const w = f === "y" ? "top" : "left", d = f === "y" ? "bottom" : "right", y = p + u[w], x = p - u[d];
|
|
566
|
+
p = xt(y, p, x);
|
|
1170
567
|
}
|
|
1171
|
-
const
|
|
568
|
+
const g = c.fn({
|
|
1172
569
|
...e,
|
|
1173
570
|
[m]: h,
|
|
1174
|
-
[
|
|
571
|
+
[f]: p
|
|
1175
572
|
});
|
|
1176
573
|
return {
|
|
1177
|
-
...
|
|
574
|
+
...g,
|
|
1178
575
|
data: {
|
|
1179
|
-
x:
|
|
1180
|
-
y:
|
|
576
|
+
x: g.x - o,
|
|
577
|
+
y: g.y - n
|
|
1181
578
|
}
|
|
1182
579
|
};
|
|
1183
580
|
}
|
|
1184
581
|
};
|
|
1185
582
|
};
|
|
1186
|
-
function
|
|
1187
|
-
return
|
|
583
|
+
function H(t) {
|
|
584
|
+
return _t(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
1188
585
|
}
|
|
1189
|
-
function
|
|
586
|
+
function A(t) {
|
|
1190
587
|
var e;
|
|
1191
588
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
1192
589
|
}
|
|
1193
|
-
function
|
|
590
|
+
function L(t) {
|
|
1194
591
|
var e;
|
|
1195
|
-
return (e = (
|
|
1196
|
-
}
|
|
1197
|
-
function Se(t) {
|
|
1198
|
-
return t instanceof Node || t instanceof E(t).Node;
|
|
592
|
+
return (e = (_t(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
1199
593
|
}
|
|
1200
|
-
function
|
|
1201
|
-
return t instanceof
|
|
594
|
+
function _t(t) {
|
|
595
|
+
return t instanceof Node || t instanceof A(t).Node;
|
|
1202
596
|
}
|
|
1203
597
|
function O(t) {
|
|
1204
|
-
return t instanceof
|
|
598
|
+
return t instanceof Element || t instanceof A(t).Element;
|
|
1205
599
|
}
|
|
1206
|
-
function
|
|
1207
|
-
return
|
|
600
|
+
function E(t) {
|
|
601
|
+
return t instanceof HTMLElement || t instanceof A(t).HTMLElement;
|
|
1208
602
|
}
|
|
1209
|
-
function
|
|
603
|
+
function bt(t) {
|
|
604
|
+
return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof A(t).ShadowRoot;
|
|
605
|
+
}
|
|
606
|
+
function Y(t) {
|
|
1210
607
|
const {
|
|
1211
608
|
overflow: e,
|
|
1212
|
-
overflowX:
|
|
1213
|
-
overflowY:
|
|
1214
|
-
display:
|
|
609
|
+
overflowX: o,
|
|
610
|
+
overflowY: n,
|
|
611
|
+
display: i
|
|
1215
612
|
} = R(t);
|
|
1216
|
-
return /auto|scroll|overlay|hidden|clip/.test(e +
|
|
613
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(i);
|
|
1217
614
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return ["table", "td", "th"].includes(
|
|
615
|
+
function Oe(t) {
|
|
616
|
+
return ["table", "td", "th"].includes(H(t));
|
|
1220
617
|
}
|
|
1221
|
-
function
|
|
618
|
+
function st(t) {
|
|
1222
619
|
return [":popover-open", ":modal"].some((e) => {
|
|
1223
620
|
try {
|
|
1224
621
|
return t.matches(e);
|
|
@@ -1227,32 +624,32 @@ function wt(t) {
|
|
|
1227
624
|
}
|
|
1228
625
|
});
|
|
1229
626
|
}
|
|
1230
|
-
function
|
|
1231
|
-
const e =
|
|
1232
|
-
return
|
|
627
|
+
function ht(t) {
|
|
628
|
+
const e = dt(), o = R(t);
|
|
629
|
+
return o.transform !== "none" || o.perspective !== "none" || (o.containerType ? o.containerType !== "normal" : !1) || !e && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !e && (o.filter ? o.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (o.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (o.contain || "").includes(n));
|
|
1233
630
|
}
|
|
1234
|
-
function
|
|
1235
|
-
let e =
|
|
1236
|
-
for (;
|
|
1237
|
-
if (
|
|
631
|
+
function Ee(t) {
|
|
632
|
+
let e = k(t);
|
|
633
|
+
for (; E(e) && !z(e); ) {
|
|
634
|
+
if (st(e))
|
|
1238
635
|
return null;
|
|
1239
|
-
if (
|
|
636
|
+
if (ht(e))
|
|
1240
637
|
return e;
|
|
1241
|
-
e =
|
|
638
|
+
e = k(e);
|
|
1242
639
|
}
|
|
1243
640
|
return null;
|
|
1244
641
|
}
|
|
1245
|
-
function
|
|
642
|
+
function dt() {
|
|
1246
643
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
1247
644
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return ["html", "body", "#document"].includes(
|
|
645
|
+
function z(t) {
|
|
646
|
+
return ["html", "body", "#document"].includes(H(t));
|
|
1250
647
|
}
|
|
1251
648
|
function R(t) {
|
|
1252
|
-
return
|
|
649
|
+
return A(t).getComputedStyle(t);
|
|
1253
650
|
}
|
|
1254
|
-
function
|
|
1255
|
-
return
|
|
651
|
+
function ct(t) {
|
|
652
|
+
return O(t) ? {
|
|
1256
653
|
scrollLeft: t.scrollLeft,
|
|
1257
654
|
scrollTop: t.scrollTop
|
|
1258
655
|
} : {
|
|
@@ -1260,546 +657,530 @@ function yt(t) {
|
|
|
1260
657
|
scrollTop: t.scrollY
|
|
1261
658
|
};
|
|
1262
659
|
}
|
|
1263
|
-
function
|
|
1264
|
-
if (
|
|
660
|
+
function k(t) {
|
|
661
|
+
if (H(t) === "html")
|
|
1265
662
|
return t;
|
|
1266
663
|
const e = (
|
|
1267
664
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
1268
665
|
t.assignedSlot || // DOM Element detected.
|
|
1269
666
|
t.parentNode || // ShadowRoot detected.
|
|
1270
|
-
|
|
1271
|
-
|
|
667
|
+
bt(t) && t.host || // Fallback.
|
|
668
|
+
L(t)
|
|
1272
669
|
);
|
|
1273
|
-
return
|
|
670
|
+
return bt(e) ? e.host : e;
|
|
1274
671
|
}
|
|
1275
|
-
function
|
|
1276
|
-
const e =
|
|
1277
|
-
return
|
|
672
|
+
function It(t) {
|
|
673
|
+
const e = k(t);
|
|
674
|
+
return z(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : E(e) && Y(e) ? e : It(e);
|
|
1278
675
|
}
|
|
1279
|
-
function
|
|
1280
|
-
var
|
|
1281
|
-
e === void 0 && (e = []),
|
|
1282
|
-
const
|
|
1283
|
-
return
|
|
676
|
+
function j(t, e, o) {
|
|
677
|
+
var n;
|
|
678
|
+
e === void 0 && (e = []), o === void 0 && (o = !0);
|
|
679
|
+
const i = It(t), r = i === ((n = t.ownerDocument) == null ? void 0 : n.body), s = A(i);
|
|
680
|
+
return r ? e.concat(s, s.visualViewport || [], Y(i) ? i : [], s.frameElement && o ? j(s.frameElement) : []) : e.concat(i, j(i, [], o));
|
|
1284
681
|
}
|
|
1285
|
-
function
|
|
682
|
+
function Ut(t) {
|
|
1286
683
|
const e = R(t);
|
|
1287
|
-
let
|
|
1288
|
-
const
|
|
1289
|
-
return c && (
|
|
1290
|
-
width:
|
|
1291
|
-
height:
|
|
684
|
+
let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
685
|
+
const i = E(t), r = i ? t.offsetWidth : o, s = i ? t.offsetHeight : n, c = Z(o) !== r || Z(n) !== s;
|
|
686
|
+
return c && (o = r, n = s), {
|
|
687
|
+
width: o,
|
|
688
|
+
height: n,
|
|
1292
689
|
$: c
|
|
1293
690
|
};
|
|
1294
691
|
}
|
|
1295
|
-
function
|
|
1296
|
-
return
|
|
692
|
+
function mt(t) {
|
|
693
|
+
return O(t) ? t : t.contextElement;
|
|
1297
694
|
}
|
|
1298
|
-
function
|
|
1299
|
-
const e =
|
|
1300
|
-
if (!
|
|
1301
|
-
return
|
|
1302
|
-
const
|
|
1303
|
-
width:
|
|
1304
|
-
height:
|
|
1305
|
-
$:
|
|
1306
|
-
} =
|
|
1307
|
-
let
|
|
1308
|
-
return (!
|
|
1309
|
-
x:
|
|
695
|
+
function $(t) {
|
|
696
|
+
const e = mt(t);
|
|
697
|
+
if (!E(e))
|
|
698
|
+
return C(1);
|
|
699
|
+
const o = e.getBoundingClientRect(), {
|
|
700
|
+
width: n,
|
|
701
|
+
height: i,
|
|
702
|
+
$: r
|
|
703
|
+
} = Ut(e);
|
|
704
|
+
let s = (r ? Z(o.width) : o.width) / n, c = (r ? Z(o.height) : o.height) / i;
|
|
705
|
+
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
706
|
+
x: s,
|
|
1310
707
|
y: c
|
|
1311
708
|
};
|
|
1312
709
|
}
|
|
1313
|
-
const
|
|
1314
|
-
function
|
|
1315
|
-
const e =
|
|
1316
|
-
return !
|
|
710
|
+
const Le = /* @__PURE__ */ C(0);
|
|
711
|
+
function jt(t) {
|
|
712
|
+
const e = A(t);
|
|
713
|
+
return !dt() || !e.visualViewport ? Le : {
|
|
1317
714
|
x: e.visualViewport.offsetLeft,
|
|
1318
715
|
y: e.visualViewport.offsetTop
|
|
1319
716
|
};
|
|
1320
717
|
}
|
|
1321
|
-
function
|
|
1322
|
-
return e === void 0 && (e = !1), !
|
|
1323
|
-
}
|
|
1324
|
-
function
|
|
1325
|
-
e === void 0 && (e = !1),
|
|
1326
|
-
const
|
|
1327
|
-
let
|
|
1328
|
-
e && (
|
|
1329
|
-
const c =
|
|
1330
|
-
let
|
|
1331
|
-
if (
|
|
1332
|
-
const m =
|
|
1333
|
-
let
|
|
1334
|
-
for (;
|
|
1335
|
-
const
|
|
1336
|
-
|
|
718
|
+
function Se(t, e, o) {
|
|
719
|
+
return e === void 0 && (e = !1), !o || e && o !== A(t) ? !1 : e;
|
|
720
|
+
}
|
|
721
|
+
function D(t, e, o, n) {
|
|
722
|
+
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
723
|
+
const i = t.getBoundingClientRect(), r = mt(t);
|
|
724
|
+
let s = C(1);
|
|
725
|
+
e && (n ? O(n) && (s = $(n)) : s = $(t));
|
|
726
|
+
const c = Se(r, o, n) ? jt(r) : C(0);
|
|
727
|
+
let a = (i.left + c.x) / s.x, l = (i.top + c.y) / s.y, u = i.width / s.x, f = i.height / s.y;
|
|
728
|
+
if (r) {
|
|
729
|
+
const m = A(r), h = n && O(n) ? A(n) : n;
|
|
730
|
+
let p = m, g = p.frameElement;
|
|
731
|
+
for (; g && n && h !== p; ) {
|
|
732
|
+
const w = $(g), d = g.getBoundingClientRect(), y = R(g), x = d.left + (g.clientLeft + parseFloat(y.paddingLeft)) * w.x, b = d.top + (g.clientTop + parseFloat(y.paddingTop)) * w.y;
|
|
733
|
+
a *= w.x, l *= w.y, u *= w.x, f *= w.y, a += x, l += b, p = A(g), g = p.frameElement;
|
|
1337
734
|
}
|
|
1338
735
|
}
|
|
1339
|
-
return
|
|
1340
|
-
width:
|
|
1341
|
-
height:
|
|
1342
|
-
x:
|
|
1343
|
-
y:
|
|
736
|
+
return et({
|
|
737
|
+
width: u,
|
|
738
|
+
height: f,
|
|
739
|
+
x: a,
|
|
740
|
+
y: l
|
|
1344
741
|
});
|
|
1345
742
|
}
|
|
1346
|
-
function
|
|
743
|
+
function Te(t) {
|
|
1347
744
|
let {
|
|
1348
745
|
elements: e,
|
|
1349
|
-
rect:
|
|
1350
|
-
offsetParent:
|
|
1351
|
-
strategy:
|
|
746
|
+
rect: o,
|
|
747
|
+
offsetParent: n,
|
|
748
|
+
strategy: i
|
|
1352
749
|
} = t;
|
|
1353
|
-
const
|
|
1354
|
-
if (
|
|
1355
|
-
return
|
|
1356
|
-
let
|
|
750
|
+
const r = i === "fixed", s = L(n), c = e ? st(e.floating) : !1;
|
|
751
|
+
if (n === s || c && r)
|
|
752
|
+
return o;
|
|
753
|
+
let a = {
|
|
1357
754
|
scrollLeft: 0,
|
|
1358
755
|
scrollTop: 0
|
|
1359
|
-
},
|
|
1360
|
-
const
|
|
1361
|
-
if ((
|
|
1362
|
-
const m =
|
|
1363
|
-
|
|
756
|
+
}, l = C(1);
|
|
757
|
+
const u = C(0), f = E(n);
|
|
758
|
+
if ((f || !f && !r) && ((H(n) !== "body" || Y(s)) && (a = ct(n)), E(n))) {
|
|
759
|
+
const m = D(n);
|
|
760
|
+
l = $(n), u.x = m.x + n.clientLeft, u.y = m.y + n.clientTop;
|
|
1364
761
|
}
|
|
1365
762
|
return {
|
|
1366
|
-
width:
|
|
1367
|
-
height:
|
|
1368
|
-
x:
|
|
1369
|
-
y:
|
|
763
|
+
width: o.width * l.x,
|
|
764
|
+
height: o.height * l.y,
|
|
765
|
+
x: o.x * l.x - a.scrollLeft * l.x + u.x,
|
|
766
|
+
y: o.y * l.y - a.scrollTop * l.y + u.y
|
|
1370
767
|
};
|
|
1371
768
|
}
|
|
1372
|
-
function
|
|
769
|
+
function Ce(t) {
|
|
1373
770
|
return Array.from(t.getClientRects());
|
|
1374
771
|
}
|
|
1375
|
-
function
|
|
1376
|
-
return
|
|
772
|
+
function Xt(t) {
|
|
773
|
+
return D(L(t)).left + ct(t).scrollLeft;
|
|
1377
774
|
}
|
|
1378
|
-
function
|
|
1379
|
-
const e =
|
|
1380
|
-
let
|
|
1381
|
-
const c = -
|
|
1382
|
-
return R(
|
|
1383
|
-
width:
|
|
1384
|
-
height:
|
|
1385
|
-
x:
|
|
775
|
+
function ke(t) {
|
|
776
|
+
const e = L(t), o = ct(t), n = t.ownerDocument.body, i = F(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = F(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
777
|
+
let s = -o.scrollLeft + Xt(t);
|
|
778
|
+
const c = -o.scrollTop;
|
|
779
|
+
return R(n).direction === "rtl" && (s += F(e.clientWidth, n.clientWidth) - i), {
|
|
780
|
+
width: i,
|
|
781
|
+
height: r,
|
|
782
|
+
x: s,
|
|
1386
783
|
y: c
|
|
1387
784
|
};
|
|
1388
785
|
}
|
|
1389
|
-
function
|
|
1390
|
-
const
|
|
1391
|
-
let
|
|
1392
|
-
if (
|
|
1393
|
-
|
|
1394
|
-
const
|
|
1395
|
-
(!
|
|
786
|
+
function Pe(t, e) {
|
|
787
|
+
const o = A(t), n = L(t), i = o.visualViewport;
|
|
788
|
+
let r = n.clientWidth, s = n.clientHeight, c = 0, a = 0;
|
|
789
|
+
if (i) {
|
|
790
|
+
r = i.width, s = i.height;
|
|
791
|
+
const l = dt();
|
|
792
|
+
(!l || l && e === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
|
|
1396
793
|
}
|
|
1397
794
|
return {
|
|
1398
|
-
width:
|
|
1399
|
-
height:
|
|
795
|
+
width: r,
|
|
796
|
+
height: s,
|
|
1400
797
|
x: c,
|
|
1401
|
-
y:
|
|
798
|
+
y: a
|
|
1402
799
|
};
|
|
1403
800
|
}
|
|
1404
|
-
function
|
|
1405
|
-
const
|
|
801
|
+
function Fe(t, e) {
|
|
802
|
+
const o = D(t, !0, e === "fixed"), n = o.top + t.clientTop, i = o.left + t.clientLeft, r = E(t) ? $(t) : C(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, a = i * r.x, l = n * r.y;
|
|
1406
803
|
return {
|
|
1407
|
-
width:
|
|
804
|
+
width: s,
|
|
1408
805
|
height: c,
|
|
1409
|
-
x:
|
|
1410
|
-
y:
|
|
806
|
+
x: a,
|
|
807
|
+
y: l
|
|
1411
808
|
};
|
|
1412
809
|
}
|
|
1413
|
-
function
|
|
1414
|
-
let
|
|
810
|
+
function At(t, e, o) {
|
|
811
|
+
let n;
|
|
1415
812
|
if (e === "viewport")
|
|
1416
|
-
|
|
813
|
+
n = Pe(t, o);
|
|
1417
814
|
else if (e === "document")
|
|
1418
|
-
|
|
1419
|
-
else if (
|
|
1420
|
-
|
|
815
|
+
n = ke(L(t));
|
|
816
|
+
else if (O(e))
|
|
817
|
+
n = Fe(e, o);
|
|
1421
818
|
else {
|
|
1422
|
-
const
|
|
1423
|
-
|
|
819
|
+
const i = jt(t);
|
|
820
|
+
n = {
|
|
1424
821
|
...e,
|
|
1425
|
-
x: e.x -
|
|
1426
|
-
y: e.y -
|
|
822
|
+
x: e.x - i.x,
|
|
823
|
+
y: e.y - i.y
|
|
1427
824
|
};
|
|
1428
825
|
}
|
|
1429
|
-
return
|
|
1430
|
-
}
|
|
1431
|
-
function
|
|
1432
|
-
const
|
|
1433
|
-
return
|
|
1434
|
-
}
|
|
1435
|
-
function
|
|
1436
|
-
const
|
|
1437
|
-
if (
|
|
1438
|
-
return
|
|
1439
|
-
let
|
|
1440
|
-
const
|
|
1441
|
-
let
|
|
1442
|
-
for (;
|
|
1443
|
-
const c = R(
|
|
1444
|
-
!
|
|
826
|
+
return et(n);
|
|
827
|
+
}
|
|
828
|
+
function qt(t, e) {
|
|
829
|
+
const o = k(t);
|
|
830
|
+
return o === e || !O(o) || z(o) ? !1 : R(o).position === "fixed" || qt(o, e);
|
|
831
|
+
}
|
|
832
|
+
function Me(t, e) {
|
|
833
|
+
const o = e.get(t);
|
|
834
|
+
if (o)
|
|
835
|
+
return o;
|
|
836
|
+
let n = j(t, [], !1).filter((c) => O(c) && H(c) !== "body"), i = null;
|
|
837
|
+
const r = R(t).position === "fixed";
|
|
838
|
+
let s = r ? k(t) : t;
|
|
839
|
+
for (; O(s) && !z(s); ) {
|
|
840
|
+
const c = R(s), a = ht(s);
|
|
841
|
+
!a && c.position === "fixed" && (i = null), (r ? !a && !i : !a && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || Y(s) && !a && qt(t, s)) ? n = n.filter((u) => u !== s) : i = c, s = k(s);
|
|
1445
842
|
}
|
|
1446
|
-
return e.set(t,
|
|
843
|
+
return e.set(t, n), n;
|
|
1447
844
|
}
|
|
1448
|
-
function
|
|
845
|
+
function De(t) {
|
|
1449
846
|
let {
|
|
1450
847
|
element: e,
|
|
1451
|
-
boundary:
|
|
1452
|
-
rootBoundary:
|
|
1453
|
-
strategy:
|
|
848
|
+
boundary: o,
|
|
849
|
+
rootBoundary: n,
|
|
850
|
+
strategy: i
|
|
1454
851
|
} = t;
|
|
1455
|
-
const
|
|
1456
|
-
const
|
|
1457
|
-
return
|
|
1458
|
-
},
|
|
852
|
+
const s = [...o === "clippingAncestors" ? st(e) ? [] : Me(e, this._c) : [].concat(o), n], c = s[0], a = s.reduce((l, u) => {
|
|
853
|
+
const f = At(e, u, i);
|
|
854
|
+
return l.top = F(f.top, l.top), l.right = Q(f.right, l.right), l.bottom = Q(f.bottom, l.bottom), l.left = F(f.left, l.left), l;
|
|
855
|
+
}, At(e, c, i));
|
|
1459
856
|
return {
|
|
1460
|
-
width:
|
|
1461
|
-
height:
|
|
1462
|
-
x:
|
|
1463
|
-
y:
|
|
857
|
+
width: a.right - a.left,
|
|
858
|
+
height: a.bottom - a.top,
|
|
859
|
+
x: a.left,
|
|
860
|
+
y: a.top
|
|
1464
861
|
};
|
|
1465
862
|
}
|
|
1466
|
-
function
|
|
863
|
+
function We(t) {
|
|
1467
864
|
const {
|
|
1468
865
|
width: e,
|
|
1469
|
-
height:
|
|
1470
|
-
} =
|
|
866
|
+
height: o
|
|
867
|
+
} = Ut(t);
|
|
1471
868
|
return {
|
|
1472
869
|
width: e,
|
|
1473
|
-
height:
|
|
870
|
+
height: o
|
|
1474
871
|
};
|
|
1475
872
|
}
|
|
1476
|
-
function
|
|
1477
|
-
const
|
|
873
|
+
function Ne(t, e, o) {
|
|
874
|
+
const n = E(e), i = L(e), r = o === "fixed", s = D(t, !0, r, e);
|
|
1478
875
|
let c = {
|
|
1479
876
|
scrollLeft: 0,
|
|
1480
877
|
scrollTop: 0
|
|
1481
878
|
};
|
|
1482
|
-
const
|
|
1483
|
-
if (
|
|
1484
|
-
if ((
|
|
1485
|
-
const
|
|
1486
|
-
|
|
1487
|
-
} else
|
|
1488
|
-
const
|
|
879
|
+
const a = C(0);
|
|
880
|
+
if (n || !n && !r)
|
|
881
|
+
if ((H(e) !== "body" || Y(i)) && (c = ct(e)), n) {
|
|
882
|
+
const f = D(e, !0, r, e);
|
|
883
|
+
a.x = f.x + e.clientLeft, a.y = f.y + e.clientTop;
|
|
884
|
+
} else i && (a.x = Xt(i));
|
|
885
|
+
const l = s.left + c.scrollLeft - a.x, u = s.top + c.scrollTop - a.y;
|
|
1489
886
|
return {
|
|
1490
|
-
x:
|
|
1491
|
-
y:
|
|
1492
|
-
width:
|
|
1493
|
-
height:
|
|
887
|
+
x: l,
|
|
888
|
+
y: u,
|
|
889
|
+
width: s.width,
|
|
890
|
+
height: s.height
|
|
1494
891
|
};
|
|
1495
892
|
}
|
|
1496
|
-
function
|
|
893
|
+
function at(t) {
|
|
1497
894
|
return R(t).position === "static";
|
|
1498
895
|
}
|
|
1499
|
-
function
|
|
1500
|
-
return !
|
|
1501
|
-
}
|
|
1502
|
-
function
|
|
1503
|
-
const
|
|
1504
|
-
if (
|
|
1505
|
-
return
|
|
1506
|
-
if (!
|
|
1507
|
-
let
|
|
1508
|
-
for (;
|
|
1509
|
-
if (
|
|
1510
|
-
return
|
|
1511
|
-
|
|
896
|
+
function Rt(t, e) {
|
|
897
|
+
return !E(t) || R(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
|
|
898
|
+
}
|
|
899
|
+
function Yt(t, e) {
|
|
900
|
+
const o = A(t);
|
|
901
|
+
if (st(t))
|
|
902
|
+
return o;
|
|
903
|
+
if (!E(t)) {
|
|
904
|
+
let i = k(t);
|
|
905
|
+
for (; i && !z(i); ) {
|
|
906
|
+
if (O(i) && !at(i))
|
|
907
|
+
return i;
|
|
908
|
+
i = k(i);
|
|
1512
909
|
}
|
|
1513
|
-
return
|
|
910
|
+
return o;
|
|
1514
911
|
}
|
|
1515
|
-
let
|
|
1516
|
-
for (;
|
|
1517
|
-
|
|
1518
|
-
return
|
|
912
|
+
let n = Rt(t, e);
|
|
913
|
+
for (; n && Oe(n) && at(n); )
|
|
914
|
+
n = Rt(n, e);
|
|
915
|
+
return n && z(n) && at(n) && !ht(n) ? o : n || Ee(t) || o;
|
|
1519
916
|
}
|
|
1520
|
-
const
|
|
1521
|
-
const e = this.getOffsetParent ||
|
|
917
|
+
const $e = async function(t) {
|
|
918
|
+
const e = this.getOffsetParent || Yt, o = this.getDimensions, n = await o(t.floating);
|
|
1522
919
|
return {
|
|
1523
|
-
reference:
|
|
920
|
+
reference: Ne(t.reference, await e(t.floating), t.strategy),
|
|
1524
921
|
floating: {
|
|
1525
922
|
x: 0,
|
|
1526
923
|
y: 0,
|
|
1527
|
-
width:
|
|
1528
|
-
height:
|
|
924
|
+
width: n.width,
|
|
925
|
+
height: n.height
|
|
1529
926
|
}
|
|
1530
927
|
};
|
|
1531
928
|
};
|
|
1532
|
-
function
|
|
929
|
+
function Ve(t) {
|
|
1533
930
|
return R(t).direction === "rtl";
|
|
1534
931
|
}
|
|
1535
|
-
const
|
|
1536
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1537
|
-
getDocumentElement:
|
|
1538
|
-
getClippingRect:
|
|
1539
|
-
getOffsetParent:
|
|
1540
|
-
getElementRects:
|
|
1541
|
-
getClientRects:
|
|
1542
|
-
getDimensions:
|
|
1543
|
-
getScale:
|
|
1544
|
-
isElement:
|
|
1545
|
-
isRTL:
|
|
932
|
+
const ze = {
|
|
933
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Te,
|
|
934
|
+
getDocumentElement: L,
|
|
935
|
+
getClippingRect: De,
|
|
936
|
+
getOffsetParent: Yt,
|
|
937
|
+
getElementRects: $e,
|
|
938
|
+
getClientRects: Ce,
|
|
939
|
+
getDimensions: We,
|
|
940
|
+
getScale: $,
|
|
941
|
+
isElement: O,
|
|
942
|
+
isRTL: Ve
|
|
1546
943
|
};
|
|
1547
|
-
function
|
|
1548
|
-
let
|
|
1549
|
-
const
|
|
1550
|
-
function
|
|
944
|
+
function Be(t, e) {
|
|
945
|
+
let o = null, n;
|
|
946
|
+
const i = L(t);
|
|
947
|
+
function r() {
|
|
1551
948
|
var c;
|
|
1552
|
-
clearTimeout(
|
|
949
|
+
clearTimeout(n), (c = o) == null || c.disconnect(), o = null;
|
|
1553
950
|
}
|
|
1554
|
-
function
|
|
1555
|
-
c === void 0 && (c = !1),
|
|
951
|
+
function s(c, a) {
|
|
952
|
+
c === void 0 && (c = !1), a === void 0 && (a = 1), r();
|
|
1556
953
|
const {
|
|
1557
|
-
left:
|
|
1558
|
-
top:
|
|
1559
|
-
width:
|
|
954
|
+
left: l,
|
|
955
|
+
top: u,
|
|
956
|
+
width: f,
|
|
1560
957
|
height: m
|
|
1561
958
|
} = t.getBoundingClientRect();
|
|
1562
|
-
if (c || e(), !
|
|
959
|
+
if (c || e(), !f || !m)
|
|
1563
960
|
return;
|
|
1564
|
-
const h =
|
|
1565
|
-
rootMargin: -h + "px " + -
|
|
1566
|
-
threshold:
|
|
961
|
+
const h = K(u), p = K(i.clientWidth - (l + f)), g = K(i.clientHeight - (u + m)), w = K(l), y = {
|
|
962
|
+
rootMargin: -h + "px " + -p + "px " + -g + "px " + -w + "px",
|
|
963
|
+
threshold: F(0, Q(1, a)) || 1
|
|
1567
964
|
};
|
|
1568
965
|
let x = !0;
|
|
1569
|
-
function
|
|
1570
|
-
const
|
|
1571
|
-
if (
|
|
966
|
+
function b(v) {
|
|
967
|
+
const W = v[0].intersectionRatio;
|
|
968
|
+
if (W !== a) {
|
|
1572
969
|
if (!x)
|
|
1573
|
-
return
|
|
1574
|
-
|
|
1575
|
-
|
|
970
|
+
return s();
|
|
971
|
+
W ? s(!1, W) : n = setTimeout(() => {
|
|
972
|
+
s(!1, 1e-7);
|
|
1576
973
|
}, 1e3);
|
|
1577
974
|
}
|
|
1578
975
|
x = !1;
|
|
1579
976
|
}
|
|
1580
977
|
try {
|
|
1581
|
-
|
|
1582
|
-
...
|
|
978
|
+
o = new IntersectionObserver(b, {
|
|
979
|
+
...y,
|
|
1583
980
|
// Handle <iframe>s
|
|
1584
|
-
root:
|
|
981
|
+
root: i.ownerDocument
|
|
1585
982
|
});
|
|
1586
983
|
} catch {
|
|
1587
|
-
|
|
984
|
+
o = new IntersectionObserver(b, y);
|
|
1588
985
|
}
|
|
1589
|
-
|
|
986
|
+
o.observe(t);
|
|
1590
987
|
}
|
|
1591
|
-
return
|
|
988
|
+
return s(!0), r;
|
|
1592
989
|
}
|
|
1593
|
-
function
|
|
1594
|
-
|
|
990
|
+
function He(t, e, o, n) {
|
|
991
|
+
n === void 0 && (n = {});
|
|
1595
992
|
const {
|
|
1596
|
-
ancestorScroll:
|
|
1597
|
-
ancestorResize:
|
|
1598
|
-
elementResize:
|
|
993
|
+
ancestorScroll: i = !0,
|
|
994
|
+
ancestorResize: r = !0,
|
|
995
|
+
elementResize: s = typeof ResizeObserver == "function",
|
|
1599
996
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1600
|
-
animationFrame:
|
|
1601
|
-
} =
|
|
1602
|
-
|
|
1603
|
-
|
|
997
|
+
animationFrame: a = !1
|
|
998
|
+
} = n, l = mt(t), u = i || r ? [...l ? j(l) : [], ...j(e)] : [];
|
|
999
|
+
u.forEach((d) => {
|
|
1000
|
+
i && d.addEventListener("scroll", o, {
|
|
1604
1001
|
passive: !0
|
|
1605
|
-
}),
|
|
1002
|
+
}), r && d.addEventListener("resize", o);
|
|
1606
1003
|
});
|
|
1607
|
-
const
|
|
1004
|
+
const f = l && c ? Be(l, o) : null;
|
|
1608
1005
|
let m = -1, h = null;
|
|
1609
|
-
|
|
1610
|
-
let [
|
|
1611
|
-
|
|
1006
|
+
s && (h = new ResizeObserver((d) => {
|
|
1007
|
+
let [y] = d;
|
|
1008
|
+
y && y.target === l && h && (h.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1612
1009
|
var x;
|
|
1613
1010
|
(x = h) == null || x.observe(e);
|
|
1614
|
-
})),
|
|
1615
|
-
}),
|
|
1616
|
-
let
|
|
1617
|
-
|
|
1618
|
-
function
|
|
1619
|
-
const
|
|
1620
|
-
|
|
1011
|
+
})), o();
|
|
1012
|
+
}), l && !a && h.observe(l), h.observe(e));
|
|
1013
|
+
let p, g = a ? D(t) : null;
|
|
1014
|
+
a && w();
|
|
1015
|
+
function w() {
|
|
1016
|
+
const d = D(t);
|
|
1017
|
+
g && (d.x !== g.x || d.y !== g.y || d.width !== g.width || d.height !== g.height) && o(), g = d, p = requestAnimationFrame(w);
|
|
1621
1018
|
}
|
|
1622
|
-
return
|
|
1623
|
-
var
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
}),
|
|
1019
|
+
return o(), () => {
|
|
1020
|
+
var d;
|
|
1021
|
+
u.forEach((y) => {
|
|
1022
|
+
i && y.removeEventListener("scroll", o), r && y.removeEventListener("resize", o);
|
|
1023
|
+
}), f == null || f(), (d = h) == null || d.disconnect(), h = null, a && cancelAnimationFrame(p);
|
|
1627
1024
|
};
|
|
1628
1025
|
}
|
|
1629
|
-
const
|
|
1630
|
-
const
|
|
1631
|
-
platform:
|
|
1632
|
-
...
|
|
1633
|
-
},
|
|
1634
|
-
...
|
|
1635
|
-
_c:
|
|
1026
|
+
const _e = Ae, Ie = Re, Ot = ve, Ue = (t, e, o) => {
|
|
1027
|
+
const n = /* @__PURE__ */ new Map(), i = {
|
|
1028
|
+
platform: ze,
|
|
1029
|
+
...o
|
|
1030
|
+
}, r = {
|
|
1031
|
+
...i.platform,
|
|
1032
|
+
_c: n
|
|
1636
1033
|
};
|
|
1637
|
-
return
|
|
1638
|
-
...
|
|
1639
|
-
platform:
|
|
1034
|
+
return xe(t, e, {
|
|
1035
|
+
...i,
|
|
1036
|
+
platform: r
|
|
1640
1037
|
});
|
|
1641
|
-
}
|
|
1642
|
-
function vi({
|
|
1038
|
+
}, sn = ({
|
|
1643
1039
|
content: t,
|
|
1644
1040
|
open: e,
|
|
1645
|
-
placement:
|
|
1646
|
-
offset: { mainAxis:
|
|
1647
|
-
}) {
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
});
|
|
1041
|
+
placement: o,
|
|
1042
|
+
offset: { mainAxis: n, crossAxis: i } = { mainAxis: 0, crossAxis: 0 }
|
|
1043
|
+
}) => (r) => {
|
|
1044
|
+
const s = r.element, c = ot.wrap(e);
|
|
1045
|
+
return Dt(
|
|
1046
|
+
c,
|
|
1047
|
+
Ft(
|
|
1048
|
+
"body",
|
|
1049
|
+
Tt.div(
|
|
1050
|
+
Mt((a) => {
|
|
1051
|
+
const l = a;
|
|
1052
|
+
return l.style.position = "absolute", He(s, l, () => {
|
|
1053
|
+
Ue(s, l, {
|
|
1054
|
+
placement: o,
|
|
1055
|
+
strategy: "absolute",
|
|
1056
|
+
middleware: [
|
|
1057
|
+
Ot(),
|
|
1058
|
+
_e({ mainAxis: n, crossAxis: i }),
|
|
1059
|
+
Ie(),
|
|
1060
|
+
Ot()
|
|
1061
|
+
]
|
|
1062
|
+
}).then(({ x: u, y: f }) => {
|
|
1063
|
+
l.style.top = `${f}px`, l.style.left = `${u}px`;
|
|
1669
1064
|
});
|
|
1670
|
-
})
|
|
1671
|
-
|
|
1672
|
-
)
|
|
1673
|
-
)
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
}
|
|
1678
|
-
function oi(t, e) {
|
|
1065
|
+
});
|
|
1066
|
+
}),
|
|
1067
|
+
t()
|
|
1068
|
+
)
|
|
1069
|
+
)
|
|
1070
|
+
)(r);
|
|
1071
|
+
}, je = (t, e) => {
|
|
1679
1072
|
if (typeof e == "function")
|
|
1680
|
-
return
|
|
1681
|
-
const
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
)),
|
|
1685
|
-
return
|
|
1686
|
-
Success: (
|
|
1687
|
-
Failure: (
|
|
1073
|
+
return je(t, { success: e });
|
|
1074
|
+
const o = e.failure ?? ((i) => X(
|
|
1075
|
+
q(i.on(console.error)),
|
|
1076
|
+
i.map((r) => `Error: ${r}`)
|
|
1077
|
+
)), n = e.success;
|
|
1078
|
+
return Pt(ot.wrap(t), {
|
|
1079
|
+
Success: (i) => n(i.$.value),
|
|
1080
|
+
Failure: (i) => o(i.$.error)
|
|
1688
1081
|
});
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
return
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
}
|
|
1696
|
-
const si = (t) => (e) => {
|
|
1697
|
-
const n = e.element, i = P({ width: n.clientWidth, height: n.clientHeight }), o = b(t(i))(e), s = () => {
|
|
1698
|
-
i.set({ width: n.clientWidth, height: n.clientHeight });
|
|
1082
|
+
}, cn = () => Ct.focus((t) => {
|
|
1083
|
+
var e;
|
|
1084
|
+
return (e = t.target) == null ? void 0 : e.select();
|
|
1085
|
+
}), ln = (t) => (e) => {
|
|
1086
|
+
const o = e.element, n = B({ width: o.clientWidth, height: o.clientHeight }), i = nt(t(n))(e), r = () => {
|
|
1087
|
+
n.set({ width: o.clientWidth, height: o.clientHeight });
|
|
1699
1088
|
};
|
|
1700
|
-
let
|
|
1701
|
-
return typeof ResizeObserver == "function" && (
|
|
1702
|
-
|
|
1089
|
+
let s;
|
|
1090
|
+
return typeof ResizeObserver == "function" && (s = new ResizeObserver(r), s.observe(o)), (c) => {
|
|
1091
|
+
s == null || s.disconnect(), i(c);
|
|
1703
1092
|
};
|
|
1704
|
-
},
|
|
1705
|
-
const
|
|
1093
|
+
}, an = (t) => (e) => {
|
|
1094
|
+
const o = B({
|
|
1706
1095
|
width: (window == null ? void 0 : window.innerWidth) ?? 0,
|
|
1707
1096
|
height: (window == null ? void 0 : window.innerHeight) ?? 0
|
|
1708
|
-
}),
|
|
1709
|
-
|
|
1097
|
+
}), n = nt(t(o))(e), i = () => {
|
|
1098
|
+
o.set({
|
|
1710
1099
|
width: (window == null ? void 0 : window.innerWidth) ?? 0,
|
|
1711
1100
|
height: (window == null ? void 0 : window.innerHeight) ?? 0
|
|
1712
1101
|
});
|
|
1713
1102
|
};
|
|
1714
|
-
return window == null || window.addEventListener("resize",
|
|
1715
|
-
window == null || window.removeEventListener("resize",
|
|
1103
|
+
return window == null || window.addEventListener("resize", i), (r) => {
|
|
1104
|
+
window == null || window.removeEventListener("resize", i), n(r);
|
|
1716
1105
|
};
|
|
1717
|
-
},
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
const n = e.split("/").filter((o) => o !== ""), i = {};
|
|
1723
|
-
for (let o = 0; o < t.length; o++) {
|
|
1724
|
-
const s = t[o], r = n[o];
|
|
1725
|
-
if (!r && s.type !== "catch-all")
|
|
1106
|
+
}, Xe = (t, e) => {
|
|
1107
|
+
const o = e.split("/").filter((i) => i !== ""), n = {};
|
|
1108
|
+
for (let i = 0; i < t.length; i++) {
|
|
1109
|
+
const r = t[i], s = o[i];
|
|
1110
|
+
if (!s && r.type !== "catch-all")
|
|
1726
1111
|
return null;
|
|
1727
|
-
if (
|
|
1728
|
-
if (
|
|
1112
|
+
if (r.type === "literal") {
|
|
1113
|
+
if (r.value !== s)
|
|
1729
1114
|
return null;
|
|
1730
|
-
} else if (
|
|
1731
|
-
|
|
1732
|
-
else if (
|
|
1733
|
-
return { params:
|
|
1115
|
+
} else if (r.type === "param")
|
|
1116
|
+
n[r.name] = s;
|
|
1117
|
+
else if (r.type === "catch-all")
|
|
1118
|
+
return { params: n, path: e };
|
|
1734
1119
|
}
|
|
1735
|
-
return
|
|
1736
|
-
}
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
}
|
|
1740
|
-
function ai(t) {
|
|
1741
|
-
const e = t.map((n) => {
|
|
1742
|
-
const i = li(n);
|
|
1743
|
-
return { route: n, segments: i };
|
|
1120
|
+
return o.length !== t.length ? null : { params: n, path: e };
|
|
1121
|
+
}, qe = (t) => t.split("/").map((e) => e.startsWith(":") ? { type: "param", name: e.slice(1) } : e === "*" ? { type: "catch-all" } : { type: "literal", value: e }).filter((e) => e.type !== "literal" || e.value !== ""), Ye = (t) => {
|
|
1122
|
+
const e = t.map((o) => {
|
|
1123
|
+
const n = qe(o);
|
|
1124
|
+
return { route: o, segments: n };
|
|
1744
1125
|
});
|
|
1745
|
-
return function(
|
|
1746
|
-
for (const { segments:
|
|
1747
|
-
const
|
|
1748
|
-
if (
|
|
1749
|
-
return { ...
|
|
1126
|
+
return function(n) {
|
|
1127
|
+
for (const { segments: i, route: r } of e) {
|
|
1128
|
+
const s = Xe(i, n);
|
|
1129
|
+
if (s)
|
|
1130
|
+
return { ...s, route: r };
|
|
1750
1131
|
}
|
|
1751
1132
|
return null;
|
|
1752
1133
|
};
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
throw console.error("No route found for", o), new Error("No route found");
|
|
1134
|
+
}, fn = (t) => {
|
|
1135
|
+
const e = Ye(Object.keys(t));
|
|
1136
|
+
return Nt((o) => {
|
|
1137
|
+
const n = o.map((i) => {
|
|
1138
|
+
const r = e(i.pathname);
|
|
1139
|
+
if (r == null)
|
|
1140
|
+
throw console.error("No route found for", i), new Error("No route found");
|
|
1761
1141
|
return {
|
|
1762
|
-
params:
|
|
1763
|
-
route:
|
|
1764
|
-
path:
|
|
1765
|
-
search:
|
|
1766
|
-
hash:
|
|
1142
|
+
params: r.params,
|
|
1143
|
+
route: r.route,
|
|
1144
|
+
path: r.path,
|
|
1145
|
+
search: i.search,
|
|
1146
|
+
hash: i.hash
|
|
1767
1147
|
};
|
|
1768
1148
|
});
|
|
1769
|
-
return
|
|
1770
|
-
|
|
1149
|
+
return te(
|
|
1150
|
+
n.map((i) => [i.route, i]),
|
|
1771
1151
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1772
1152
|
t
|
|
1773
1153
|
);
|
|
1774
1154
|
});
|
|
1775
|
-
}
|
|
1155
|
+
};
|
|
1776
1156
|
export {
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1157
|
+
Ge as Anchor,
|
|
1158
|
+
ce as AsyncResultView,
|
|
1159
|
+
tn as AutoFocus,
|
|
1160
|
+
en as AutoSelect,
|
|
1161
|
+
ln as ElementSize,
|
|
1162
|
+
on as HTMLTitle,
|
|
1163
|
+
nn as HiddenWhenEmpty,
|
|
1164
|
+
fe as InViewport,
|
|
1165
|
+
Wt as LocationProviderMarker,
|
|
1166
|
+
sn as PopOver,
|
|
1167
|
+
Qe as ProvideAppearance,
|
|
1168
|
+
Ke as ProvideLocation,
|
|
1169
|
+
je as ResultView,
|
|
1170
|
+
fn as Router,
|
|
1171
|
+
cn as SelectOnFocus,
|
|
1172
|
+
Ze as UseAppearance,
|
|
1173
|
+
Nt as UseLocation,
|
|
1174
|
+
rn as WhenInViewport,
|
|
1175
|
+
an as WindowSize,
|
|
1176
|
+
ee as _makeLocation,
|
|
1177
|
+
se as _makeLocationProp,
|
|
1178
|
+
Ye as _makeRouteMatcher,
|
|
1179
|
+
qe as _parseRouteSegments,
|
|
1180
|
+
$t as appearanceMarker,
|
|
1181
|
+
ne as areLocationsEqual,
|
|
1182
|
+
oe as locationFromURL,
|
|
1183
|
+
Xe as matchesRoute,
|
|
1184
|
+
ie as setLocationFromUrl,
|
|
1185
|
+
re as urlFromLocation
|
|
1805
1186
|
};
|