@eox/itemfilter 0.8.0 → 0.8.1
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/eox-itemfilter.js +583 -545
- package/dist/eox-itemfilter.umd.cjs +80 -56
- package/package.json +1 -1
package/dist/eox-itemfilter.js
CHANGED
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
let
|
|
6
|
+
const Xt = window, ti = Xt.ShadowRoot && (Xt.ShadyCSS === void 0 || Xt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, dn = Symbol(), ji = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
let qs = class {
|
|
8
8
|
constructor(e, t, i) {
|
|
9
|
-
if (this._$cssResult$ = !0, i !==
|
|
9
|
+
if (this._$cssResult$ = !0, i !== dn)
|
|
10
10
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
11
11
|
this.cssText = e, this.t = t;
|
|
12
12
|
}
|
|
13
13
|
get styleSheet() {
|
|
14
14
|
let e = this.o;
|
|
15
15
|
const t = this.t;
|
|
16
|
-
if (
|
|
16
|
+
if (ti && e === void 0) {
|
|
17
17
|
const i = t !== void 0 && t.length === 1;
|
|
18
|
-
i && (e =
|
|
18
|
+
i && (e = ji.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && ji.set(t, e));
|
|
19
19
|
}
|
|
20
20
|
return e;
|
|
21
21
|
}
|
|
@@ -23,27 +23,27 @@ let Gs = class {
|
|
|
23
23
|
return this.cssText;
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
const i = document.createElement("style"), n =
|
|
26
|
+
const Ks = (r) => new qs(typeof r == "string" ? r : r + "", void 0, dn), Js = (r, e) => {
|
|
27
|
+
ti ? r.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
|
|
28
|
+
const i = document.createElement("style"), n = Xt.litNonce;
|
|
29
29
|
n !== void 0 && i.setAttribute("nonce", n), i.textContent = t.cssText, r.appendChild(i);
|
|
30
30
|
});
|
|
31
|
-
},
|
|
31
|
+
}, Ni = ti ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
|
|
32
32
|
let t = "";
|
|
33
33
|
for (const i of e.cssRules)
|
|
34
34
|
t += i.cssText;
|
|
35
|
-
return
|
|
35
|
+
return Ks(t);
|
|
36
36
|
})(r) : r;
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
var
|
|
43
|
-
const
|
|
42
|
+
var Sr;
|
|
43
|
+
const Vt = window, Bi = Vt.trustedTypes, Zs = Bi ? Bi.emptyScript : "", Fi = Vt.reactiveElementPolyfillSupport, jr = { toAttribute(r, e) {
|
|
44
44
|
switch (e) {
|
|
45
45
|
case Boolean:
|
|
46
|
-
r = r ?
|
|
46
|
+
r = r ? Zs : null;
|
|
47
47
|
break;
|
|
48
48
|
case Object:
|
|
49
49
|
case Array:
|
|
@@ -68,8 +68,8 @@ const Xt = window, ji = Xt.trustedTypes, Js = ji ? ji.emptyScript : "", Ni = Xt.
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
return t;
|
|
71
|
-
} },
|
|
72
|
-
let
|
|
71
|
+
} }, fn = (r, e) => e !== r && (e == e || r == r), Or = { attribute: !0, type: String, converter: jr, reflect: !1, hasChanged: fn }, Nr = "finalized";
|
|
72
|
+
let ft = class extends HTMLElement {
|
|
73
73
|
constructor() {
|
|
74
74
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
|
|
75
75
|
}
|
|
@@ -85,7 +85,7 @@ let dt = class extends HTMLElement {
|
|
|
85
85
|
n !== void 0 && (this._$Ev.set(n, i), e.push(n));
|
|
86
86
|
}), e;
|
|
87
87
|
}
|
|
88
|
-
static createProperty(e, t =
|
|
88
|
+
static createProperty(e, t = Or) {
|
|
89
89
|
if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
|
|
90
90
|
const i = typeof e == "symbol" ? Symbol() : "__" + e, n = this.getPropertyDescriptor(e, i, t);
|
|
91
91
|
n !== void 0 && Object.defineProperty(this.prototype, e, n);
|
|
@@ -100,12 +100,12 @@ let dt = class extends HTMLElement {
|
|
|
100
100
|
}, configurable: !0, enumerable: !0 };
|
|
101
101
|
}
|
|
102
102
|
static getPropertyOptions(e) {
|
|
103
|
-
return this.elementProperties.get(e) ||
|
|
103
|
+
return this.elementProperties.get(e) || Or;
|
|
104
104
|
}
|
|
105
105
|
static finalize() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
106
|
+
if (this.hasOwnProperty(Nr))
|
|
107
107
|
return !1;
|
|
108
|
-
this[
|
|
108
|
+
this[Nr] = !0;
|
|
109
109
|
const e = Object.getPrototypeOf(this);
|
|
110
110
|
if (e.finalize(), e.h !== void 0 && (this.h = [...e.h]), this.elementProperties = new Map(e.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
|
111
111
|
const t = this.properties, i = [...Object.getOwnPropertyNames(t), ...Object.getOwnPropertySymbols(t)];
|
|
@@ -119,9 +119,9 @@ let dt = class extends HTMLElement {
|
|
|
119
119
|
if (Array.isArray(e)) {
|
|
120
120
|
const i = new Set(e.flat(1 / 0).reverse());
|
|
121
121
|
for (const n of i)
|
|
122
|
-
t.unshift(
|
|
122
|
+
t.unshift(Ni(n));
|
|
123
123
|
} else
|
|
124
|
-
e !== void 0 && t.push(
|
|
124
|
+
e !== void 0 && t.push(Ni(e));
|
|
125
125
|
return t;
|
|
126
126
|
}
|
|
127
127
|
static _$Ep(e, t) {
|
|
@@ -148,7 +148,7 @@ let dt = class extends HTMLElement {
|
|
|
148
148
|
createRenderRoot() {
|
|
149
149
|
var e;
|
|
150
150
|
const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
151
|
-
return
|
|
151
|
+
return Js(t, this.constructor.elementStyles), t;
|
|
152
152
|
}
|
|
153
153
|
connectedCallback() {
|
|
154
154
|
var e;
|
|
@@ -169,11 +169,11 @@ let dt = class extends HTMLElement {
|
|
|
169
169
|
attributeChangedCallback(e, t, i) {
|
|
170
170
|
this._$AK(e, i);
|
|
171
171
|
}
|
|
172
|
-
_$EO(e, t, i =
|
|
172
|
+
_$EO(e, t, i = Or) {
|
|
173
173
|
var n;
|
|
174
174
|
const s = this.constructor._$Ep(e, i);
|
|
175
175
|
if (s !== void 0 && i.reflect === !0) {
|
|
176
|
-
const o = (((n = i.converter) === null || n === void 0 ? void 0 : n.toAttribute) !== void 0 ? i.converter :
|
|
176
|
+
const o = (((n = i.converter) === null || n === void 0 ? void 0 : n.toAttribute) !== void 0 ? i.converter : jr).toAttribute(t, i.type);
|
|
177
177
|
this._$El = e, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$El = null;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -181,13 +181,13 @@ let dt = class extends HTMLElement {
|
|
|
181
181
|
var i;
|
|
182
182
|
const n = this.constructor, s = n._$Ev.get(e);
|
|
183
183
|
if (s !== void 0 && this._$El !== s) {
|
|
184
|
-
const o = n.getPropertyOptions(s), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter :
|
|
184
|
+
const o = n.getPropertyOptions(s), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter : jr;
|
|
185
185
|
this._$El = s, this[s] = c.fromAttribute(t, o.type), this._$El = null;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
requestUpdate(e, t, i) {
|
|
189
189
|
let n = !0;
|
|
190
|
-
e !== void 0 && (((i = i || this.constructor.getPropertyOptions(e)).hasChanged ||
|
|
190
|
+
e !== void 0 && (((i = i || this.constructor.getPropertyOptions(e)).hasChanged || fn)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), i.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, i))) : n = !1), !this.isUpdatePending && n && (this._$E_ = this._$Ej());
|
|
191
191
|
}
|
|
192
192
|
async _$Ej() {
|
|
193
193
|
this.isUpdatePending = !0;
|
|
@@ -248,37 +248,37 @@ let dt = class extends HTMLElement {
|
|
|
248
248
|
firstUpdated(e) {
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
|
-
|
|
251
|
+
ft[Nr] = !0, ft.elementProperties = /* @__PURE__ */ new Map(), ft.elementStyles = [], ft.shadowRootOptions = { mode: "open" }, Fi == null || Fi({ ReactiveElement: ft }), ((Sr = Vt.reactiveElementVersions) !== null && Sr !== void 0 ? Sr : Vt.reactiveElementVersions = []).push("1.6.2");
|
|
252
252
|
/**
|
|
253
253
|
* @license
|
|
254
254
|
* Copyright 2017 Google LLC
|
|
255
255
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
256
256
|
*/
|
|
257
|
-
var
|
|
258
|
-
const
|
|
259
|
-
\f\r]`,
|
|
260
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
257
|
+
var Pr;
|
|
258
|
+
const Wt = window, gt = Wt.trustedTypes, Hi = gt ? gt.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Br = "$lit$", Ve = `lit$${(Math.random() + "").slice(9)}$`, pn = "?" + Ve, Qs = `<${pn}>`, nt = document, Mt = () => nt.createComment(""), At = (r) => r === null || typeof r != "object" && typeof r != "function", gn = Array.isArray, eo = (r) => gn(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Cr = `[
|
|
259
|
+
\f\r]`, Et = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yi = /-->/g, Ui = />/g, Qe = RegExp(`>|${Cr}(?:([^\\s"'>=/]+)(${Cr}*=${Cr}*(?:[^
|
|
260
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), zi = /'/g, Xi = /"/g, vn = /^(?:script|style|textarea|title)$/i, to = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), he = to(1), De = Symbol.for("lit-noChange"), ce = Symbol.for("lit-nothing"), Vi = /* @__PURE__ */ new WeakMap(), rt = nt.createTreeWalker(nt, 129, null, !1), ro = (r, e) => {
|
|
261
261
|
const t = r.length - 1, i = [];
|
|
262
|
-
let n, s = e === 2 ? "<svg>" : "", o =
|
|
262
|
+
let n, s = e === 2 ? "<svg>" : "", o = Et;
|
|
263
263
|
for (let a = 0; a < t; a++) {
|
|
264
264
|
const u = r[a];
|
|
265
265
|
let g, v, _ = -1, E = 0;
|
|
266
266
|
for (; E < u.length && (o.lastIndex = E, v = o.exec(u), v !== null); )
|
|
267
|
-
E = o.lastIndex, o ===
|
|
267
|
+
E = o.lastIndex, o === Et ? v[1] === "!--" ? o = Yi : v[1] !== void 0 ? o = Ui : v[2] !== void 0 ? (vn.test(v[2]) && (n = RegExp("</" + v[2], "g")), o = Qe) : v[3] !== void 0 && (o = Qe) : o === Qe ? v[0] === ">" ? (o = n ?? Et, _ = -1) : v[1] === void 0 ? _ = -2 : (_ = o.lastIndex - v[2].length, g = v[1], o = v[3] === void 0 ? Qe : v[3] === '"' ? Xi : zi) : o === Xi || o === zi ? o = Qe : o === Yi || o === Ui ? o = Et : (o = Qe, n = void 0);
|
|
268
268
|
const k = o === Qe && r[a + 1].startsWith("/>") ? " " : "";
|
|
269
|
-
s += o ===
|
|
269
|
+
s += o === Et ? u + Qs : _ >= 0 ? (i.push(g), u.slice(0, _) + Br + u.slice(_) + Ve + k) : u + Ve + (_ === -2 ? (i.push(void 0), a) : k);
|
|
270
270
|
}
|
|
271
271
|
const c = s + (r[t] || "<?>") + (e === 2 ? "</svg>" : "");
|
|
272
272
|
if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
|
|
273
273
|
throw Error("invalid template strings array");
|
|
274
|
-
return [
|
|
274
|
+
return [Hi !== void 0 ? Hi.createHTML(c) : c, i];
|
|
275
275
|
};
|
|
276
276
|
class St {
|
|
277
277
|
constructor({ strings: e, _$litType$: t }, i) {
|
|
278
278
|
let n;
|
|
279
279
|
this.parts = [];
|
|
280
280
|
let s = 0, o = 0;
|
|
281
|
-
const c = e.length - 1, a = this.parts, [u, g] =
|
|
281
|
+
const c = e.length - 1, a = this.parts, [u, g] = ro(e, t);
|
|
282
282
|
if (this.el = St.createElement(u, i), rt.currentNode = this.el.content, t === 2) {
|
|
283
283
|
const v = this.el.content, _ = v.firstChild;
|
|
284
284
|
_.remove(), v.append(..._.childNodes);
|
|
@@ -288,28 +288,28 @@ class St {
|
|
|
288
288
|
if (n.hasAttributes()) {
|
|
289
289
|
const v = [];
|
|
290
290
|
for (const _ of n.getAttributeNames())
|
|
291
|
-
if (_.endsWith(
|
|
291
|
+
if (_.endsWith(Br) || _.startsWith(Ve)) {
|
|
292
292
|
const E = g[o++];
|
|
293
293
|
if (v.push(_), E !== void 0) {
|
|
294
|
-
const k = n.getAttribute(E.toLowerCase() +
|
|
295
|
-
a.push({ type: 1, index: s, name: F[2], strings: k, ctor: F[1] === "." ?
|
|
294
|
+
const k = n.getAttribute(E.toLowerCase() + Br).split(Ve), F = /([.?@])?(.*)/.exec(E);
|
|
295
|
+
a.push({ type: 1, index: s, name: F[2], strings: k, ctor: F[1] === "." ? no : F[1] === "?" ? oo : F[1] === "@" ? ao : tr });
|
|
296
296
|
} else
|
|
297
297
|
a.push({ type: 6, index: s });
|
|
298
298
|
}
|
|
299
299
|
for (const _ of v)
|
|
300
300
|
n.removeAttribute(_);
|
|
301
301
|
}
|
|
302
|
-
if (
|
|
302
|
+
if (vn.test(n.tagName)) {
|
|
303
303
|
const v = n.textContent.split(Ve), _ = v.length - 1;
|
|
304
304
|
if (_ > 0) {
|
|
305
|
-
n.textContent =
|
|
305
|
+
n.textContent = gt ? gt.emptyScript : "";
|
|
306
306
|
for (let E = 0; E < _; E++)
|
|
307
307
|
n.append(v[E], Mt()), rt.nextNode(), a.push({ type: 2, index: ++s });
|
|
308
308
|
n.append(v[_], Mt());
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
} else if (n.nodeType === 8)
|
|
312
|
-
if (n.data ===
|
|
312
|
+
if (n.data === pn)
|
|
313
313
|
a.push({ type: 2, index: s });
|
|
314
314
|
else {
|
|
315
315
|
let v = -1;
|
|
@@ -324,15 +324,15 @@ class St {
|
|
|
324
324
|
return i.innerHTML = e, i;
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function vt(r, e, t = r, i) {
|
|
328
328
|
var n, s, o, c;
|
|
329
329
|
if (e === De)
|
|
330
330
|
return e;
|
|
331
331
|
let a = i !== void 0 ? (n = t._$Co) === null || n === void 0 ? void 0 : n[i] : t._$Cl;
|
|
332
332
|
const u = At(e) ? void 0 : e._$litDirective$;
|
|
333
|
-
return (a == null ? void 0 : a.constructor) !== u && ((s = a == null ? void 0 : a._$AO) === null || s === void 0 || s.call(a, !1), u === void 0 ? a = void 0 : (a = new u(r), a._$AT(r, t, i)), i !== void 0 ? ((o = (c = t)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[i] = a : t._$Cl = a), a !== void 0 && (e =
|
|
333
|
+
return (a == null ? void 0 : a.constructor) !== u && ((s = a == null ? void 0 : a._$AO) === null || s === void 0 || s.call(a, !1), u === void 0 ? a = void 0 : (a = new u(r), a._$AT(r, t, i)), i !== void 0 ? ((o = (c = t)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[i] = a : t._$Cl = a), a !== void 0 && (e = vt(r, a._$AS(r, e.values), a, i)), e;
|
|
334
334
|
}
|
|
335
|
-
class
|
|
335
|
+
class io {
|
|
336
336
|
constructor(e, t) {
|
|
337
337
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
338
338
|
}
|
|
@@ -350,7 +350,7 @@ class ro {
|
|
|
350
350
|
for (; u !== void 0; ) {
|
|
351
351
|
if (c === u.index) {
|
|
352
352
|
let g;
|
|
353
|
-
u.type === 2 ? g = new Ot(o, o.nextSibling, this, e) : u.type === 1 ? g = new u.ctor(o, u.name, u.strings, this, e) : u.type === 6 && (g = new
|
|
353
|
+
u.type === 2 ? g = new Ot(o, o.nextSibling, this, e) : u.type === 1 ? g = new u.ctor(o, u.name, u.strings, this, e) : u.type === 6 && (g = new lo(o, this, e)), this._$AV.push(g), u = n[++a];
|
|
354
354
|
}
|
|
355
355
|
c !== (u == null ? void 0 : u.index) && (o = rt.nextNode(), c++);
|
|
356
356
|
}
|
|
@@ -383,7 +383,7 @@ class Ot {
|
|
|
383
383
|
return this._$AB;
|
|
384
384
|
}
|
|
385
385
|
_$AI(e, t = this) {
|
|
386
|
-
e =
|
|
386
|
+
e = vt(this, e, t), At(e) ? e === ce || e == null || e === "" ? (this._$AH !== ce && this._$AR(), this._$AH = ce) : e !== this._$AH && e !== De && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : eo(e) ? this.T(e) : this._(e);
|
|
387
387
|
}
|
|
388
388
|
k(e) {
|
|
389
389
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -400,16 +400,16 @@ class Ot {
|
|
|
400
400
|
if (((t = this._$AH) === null || t === void 0 ? void 0 : t._$AD) === s)
|
|
401
401
|
this._$AH.v(i);
|
|
402
402
|
else {
|
|
403
|
-
const o = new
|
|
403
|
+
const o = new io(s, this), c = o.u(this.options);
|
|
404
404
|
o.v(i), this.$(c), this._$AH = o;
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
_$AC(e) {
|
|
408
|
-
let t =
|
|
409
|
-
return t === void 0 &&
|
|
408
|
+
let t = Vi.get(e.strings);
|
|
409
|
+
return t === void 0 && Vi.set(e.strings, t = new St(e)), t;
|
|
410
410
|
}
|
|
411
411
|
T(e) {
|
|
412
|
-
|
|
412
|
+
gn(this._$AH) || (this._$AH = [], this._$AR());
|
|
413
413
|
const t = this._$AH;
|
|
414
414
|
let i, n = 0;
|
|
415
415
|
for (const s of e)
|
|
@@ -428,7 +428,7 @@ class Ot {
|
|
|
428
428
|
this._$AM === void 0 && (this._$Cp = e, (t = this._$AP) === null || t === void 0 || t.call(this, e));
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
class
|
|
431
|
+
class tr {
|
|
432
432
|
constructor(e, t, i, n, s) {
|
|
433
433
|
this.type = 1, this._$AH = ce, this._$AN = void 0, this.element = e, this.name = t, this._$AM = n, this.options = s, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = ce;
|
|
434
434
|
}
|
|
@@ -442,12 +442,12 @@ class er {
|
|
|
442
442
|
const s = this.strings;
|
|
443
443
|
let o = !1;
|
|
444
444
|
if (s === void 0)
|
|
445
|
-
e =
|
|
445
|
+
e = vt(this, e, t, 0), o = !At(e) || e !== this._$AH && e !== De, o && (this._$AH = e);
|
|
446
446
|
else {
|
|
447
447
|
const c = e;
|
|
448
448
|
let a, u;
|
|
449
449
|
for (e = s[0], a = 0; a < s.length - 1; a++)
|
|
450
|
-
u =
|
|
450
|
+
u = vt(this, c[i + a], t, a), u === De && (u = this._$AH[a]), o || (o = !At(u) || u !== this._$AH[a]), u === ce ? e = ce : e !== ce && (e += (u ?? "") + s[a + 1]), this._$AH[a] = u;
|
|
451
451
|
}
|
|
452
452
|
o && !n && this.j(e);
|
|
453
453
|
}
|
|
@@ -455,7 +455,7 @@ class er {
|
|
|
455
455
|
e === ce ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
-
class
|
|
458
|
+
class no extends tr {
|
|
459
459
|
constructor() {
|
|
460
460
|
super(...arguments), this.type = 3;
|
|
461
461
|
}
|
|
@@ -463,22 +463,22 @@ class io extends er {
|
|
|
463
463
|
this.element[this.name] = e === ce ? void 0 : e;
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
const
|
|
467
|
-
class
|
|
466
|
+
const so = gt ? gt.emptyScript : "";
|
|
467
|
+
class oo extends tr {
|
|
468
468
|
constructor() {
|
|
469
469
|
super(...arguments), this.type = 4;
|
|
470
470
|
}
|
|
471
471
|
j(e) {
|
|
472
|
-
e && e !== ce ? this.element.setAttribute(this.name,
|
|
472
|
+
e && e !== ce ? this.element.setAttribute(this.name, so) : this.element.removeAttribute(this.name);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
class
|
|
475
|
+
class ao extends tr {
|
|
476
476
|
constructor(e, t, i, n, s) {
|
|
477
477
|
super(e, t, i, n, s), this.type = 5;
|
|
478
478
|
}
|
|
479
479
|
_$AI(e, t = this) {
|
|
480
480
|
var i;
|
|
481
|
-
if ((e = (i =
|
|
481
|
+
if ((e = (i = vt(this, e, t, 0)) !== null && i !== void 0 ? i : ce) === De)
|
|
482
482
|
return;
|
|
483
483
|
const n = this._$AH, s = e === ce && n !== ce || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== ce && (n === ce || s);
|
|
484
484
|
s && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
@@ -488,7 +488,7 @@ class oo extends er {
|
|
|
488
488
|
typeof this._$AH == "function" ? this._$AH.call((i = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && i !== void 0 ? i : this.element, e) : this._$AH.handleEvent(e);
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
class
|
|
491
|
+
class lo {
|
|
492
492
|
constructor(e, t, i) {
|
|
493
493
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = i;
|
|
494
494
|
}
|
|
@@ -496,12 +496,12 @@ class ao {
|
|
|
496
496
|
return this._$AM._$AU;
|
|
497
497
|
}
|
|
498
498
|
_$AI(e) {
|
|
499
|
-
|
|
499
|
+
vt(this, e);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
const
|
|
503
|
-
|
|
504
|
-
const
|
|
502
|
+
const Wi = Wt.litHtmlPolyfillSupport;
|
|
503
|
+
Wi == null || Wi(St, Ot), ((Pr = Wt.litHtmlVersions) !== null && Pr !== void 0 ? Pr : Wt.litHtmlVersions = []).push("2.7.4");
|
|
504
|
+
const co = (r, e, t) => {
|
|
505
505
|
var i, n;
|
|
506
506
|
const s = (i = t == null ? void 0 : t.renderBefore) !== null && i !== void 0 ? i : e;
|
|
507
507
|
let o = s._$litPart$;
|
|
@@ -516,8 +516,8 @@ const lo = (r, e, t) => {
|
|
|
516
516
|
* Copyright 2017 Google LLC
|
|
517
517
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
518
518
|
*/
|
|
519
|
-
var
|
|
520
|
-
let Oe = class extends
|
|
519
|
+
var kr, Lr;
|
|
520
|
+
let Oe = class extends ft {
|
|
521
521
|
constructor() {
|
|
522
522
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
523
523
|
}
|
|
@@ -528,7 +528,7 @@ let Oe = class extends dt {
|
|
|
528
528
|
}
|
|
529
529
|
update(e) {
|
|
530
530
|
const t = this.render();
|
|
531
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
531
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = co(t, this.renderRoot, this.renderOptions);
|
|
532
532
|
}
|
|
533
533
|
connectedCallback() {
|
|
534
534
|
var e;
|
|
@@ -542,10 +542,10 @@ let Oe = class extends dt {
|
|
|
542
542
|
return De;
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
Oe.finalized = !0, Oe._$litElement$ = !0, (
|
|
546
|
-
const
|
|
547
|
-
|
|
548
|
-
((
|
|
545
|
+
Oe.finalized = !0, Oe._$litElement$ = !0, (kr = globalThis.litElementHydrateSupport) === null || kr === void 0 || kr.call(globalThis, { LitElement: Oe });
|
|
546
|
+
const Gi = globalThis.litElementPolyfillSupport;
|
|
547
|
+
Gi == null || Gi({ LitElement: Oe });
|
|
548
|
+
((Lr = globalThis.litElementVersions) !== null && Lr !== void 0 ? Lr : globalThis.litElementVersions = []).push("3.3.2");
|
|
549
549
|
/**
|
|
550
550
|
* @license
|
|
551
551
|
* Copyright 2017 Google LLC
|
|
@@ -562,17 +562,17 @@ const Ge = (r) => (e) => typeof e == "function" ? ((t, i) => (customElements.def
|
|
|
562
562
|
* Copyright 2017 Google LLC
|
|
563
563
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
564
564
|
*/
|
|
565
|
-
const
|
|
565
|
+
const uo = (r, e) => e.kind === "method" && e.descriptor && !("value" in e.descriptor) ? { ...e, finisher(t) {
|
|
566
566
|
t.createProperty(e.key, r);
|
|
567
567
|
} } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: e.key, initializer() {
|
|
568
568
|
typeof e.initializer == "function" && (this[e.key] = e.initializer.call(this));
|
|
569
569
|
}, finisher(t) {
|
|
570
570
|
t.createProperty(e.key, r);
|
|
571
|
-
} },
|
|
571
|
+
} }, ho = (r, e, t) => {
|
|
572
572
|
e.constructor.createProperty(t, r);
|
|
573
573
|
};
|
|
574
574
|
function ke(r) {
|
|
575
|
-
return (e, t) => t !== void 0 ?
|
|
575
|
+
return (e, t) => t !== void 0 ? ho(r, e, t) : uo(r, e);
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
578
|
* @license
|
|
@@ -587,14 +587,14 @@ function Pt(r) {
|
|
|
587
587
|
* Copyright 2021 Google LLC
|
|
588
588
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
589
589
|
*/
|
|
590
|
-
var
|
|
591
|
-
((
|
|
590
|
+
var Tr;
|
|
591
|
+
((Tr = window.HTMLSlotElement) === null || Tr === void 0 ? void 0 : Tr.prototype.assignedElements) != null;
|
|
592
592
|
/**
|
|
593
593
|
* @license
|
|
594
594
|
* Copyright 2021 Google LLC
|
|
595
595
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
596
596
|
*/
|
|
597
|
-
function
|
|
597
|
+
function ht(r, e, t) {
|
|
598
598
|
return r ? e() : t == null ? void 0 : t();
|
|
599
599
|
}
|
|
600
600
|
/**
|
|
@@ -614,8 +614,8 @@ function* it(r, e) {
|
|
|
614
614
|
* Copyright 2017 Google LLC
|
|
615
615
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
616
616
|
*/
|
|
617
|
-
const et = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 },
|
|
618
|
-
class
|
|
617
|
+
const et = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, mn = (r) => (...e) => ({ _$litDirective$: r, values: e });
|
|
618
|
+
class yn {
|
|
619
619
|
constructor(e) {
|
|
620
620
|
}
|
|
621
621
|
get _$AU() {
|
|
@@ -636,7 +636,7 @@ class mn {
|
|
|
636
636
|
* Copyright 2017 Google LLC
|
|
637
637
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
638
638
|
*/
|
|
639
|
-
let
|
|
639
|
+
let Fr = class extends yn {
|
|
640
640
|
constructor(e) {
|
|
641
641
|
if (super(e), this.et = ce, e.type !== et.CHILD)
|
|
642
642
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
@@ -655,32 +655,32 @@ let Nr = class extends mn {
|
|
|
655
655
|
return t.raw = t, this.ft = { _$litType$: this.constructor.resultType, strings: t, values: [] };
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
|
-
|
|
659
|
-
const
|
|
658
|
+
Fr.directiveName = "unsafeHTML", Fr.resultType = 1;
|
|
659
|
+
const qi = mn(Fr);
|
|
660
660
|
/**
|
|
661
661
|
* @license
|
|
662
662
|
* Copyright 2020 Google LLC
|
|
663
663
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
664
664
|
*/
|
|
665
|
-
const
|
|
666
|
-
if ((r == null ? void 0 : r.r) ===
|
|
665
|
+
const bn = Symbol.for(""), fo = (r) => {
|
|
666
|
+
if ((r == null ? void 0 : r.r) === bn)
|
|
667
667
|
return r == null ? void 0 : r._$litStatic$;
|
|
668
|
-
},
|
|
668
|
+
}, Ut = (r) => ({ _$litStatic$: r, r: bn }), Ki = /* @__PURE__ */ new Map(), po = (r) => (e, ...t) => {
|
|
669
669
|
const i = t.length;
|
|
670
670
|
let n, s;
|
|
671
671
|
const o = [], c = [];
|
|
672
672
|
let a, u = 0, g = !1;
|
|
673
673
|
for (; u < i; ) {
|
|
674
|
-
for (a = e[u]; u < i && (s = t[u], (n =
|
|
674
|
+
for (a = e[u]; u < i && (s = t[u], (n = fo(s)) !== void 0); )
|
|
675
675
|
a += n + e[++u], g = !0;
|
|
676
676
|
u !== i && c.push(s), o.push(a), u++;
|
|
677
677
|
}
|
|
678
678
|
if (u === i && o.push(e[i]), g) {
|
|
679
679
|
const v = o.join("$$lit$$");
|
|
680
|
-
(e =
|
|
680
|
+
(e = Ki.get(v)) === void 0 && (o.raw = o, Ki.set(v, e = o)), t = c;
|
|
681
681
|
}
|
|
682
682
|
return r(e, ...t);
|
|
683
|
-
},
|
|
683
|
+
}, Rr = po(he);
|
|
684
684
|
(() => {
|
|
685
685
|
var r = Object.defineProperty, e = Math.pow, t = (l, d, y) => d in l ? r(l, d, { enumerable: !0, configurable: !0, writable: !0, value: y }) : l[d] = y, i = (l, d, y) => (t(l, typeof d != "symbol" ? d + "" : d, y), y), n = (l, d) => ` ${d && d.length > 0 ? d.map((y) => `<link rel="stylesheet" href="${y}" />`).join("") : ""} <style> ${l} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", c = "pointers-min-distance", a = "pointers-max-distance", u = "range-dragging", g = "data", v = "min", _ = "max", E = "step", k = "round", F = "type", ne = "theme", te = "rtl", f = "btt", p = "disabled", b = "keyboard-disabled", S = "mousewheel-disabled", w = "slider-width", M = "slider-height", P = "slider-radius", L = "slider-bg", I = "slider-bg-hover", W = "slider-bg-fill", ee = "pointer-width", C = "pointer-height", $ = "pointer-radius", A = "pointer-bg", N = "pointer-bg-hover", O = "pointer-bg-focus", H = "pointer-shadow", X = "pointer-shadow-hover", Z = "pointer-shadow-focus", ae = "pointer-border", K = "pointer-border-hover", ve = "pointer-border-focus", Le = "animate-onclick", Te = "css-links", ye = "vertical", Ae = "horizontal", je = (l, d, y, m, T) => {
|
|
686
686
|
let Y = d - l;
|
|
@@ -690,15 +690,15 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
690
690
|
return l;
|
|
691
691
|
let y = e(10, d);
|
|
692
692
|
return Math.round(l * y) / y;
|
|
693
|
-
}, be = (l) => l == null ? !1 : typeof l == "boolean" ? l : l.trim().toLowerCase() === "true",
|
|
693
|
+
}, be = (l) => l == null ? !1 : typeof l == "boolean" ? l : l.trim().toLowerCase() === "true", Qn = (l, d) => {
|
|
694
694
|
l.dispatchEvent(new CustomEvent("onPointerClicked", { detail: { $pointer: d } }));
|
|
695
|
-
}, Qn = (l, d) => {
|
|
696
|
-
l.dispatchEvent(new CustomEvent("onMouseDown", { detail: { nativeEvent: d } }));
|
|
697
695
|
}, es = (l, d) => {
|
|
698
|
-
l.dispatchEvent(new CustomEvent("
|
|
696
|
+
l.dispatchEvent(new CustomEvent("onMouseDown", { detail: { nativeEvent: d } }));
|
|
699
697
|
}, ts = (l, d) => {
|
|
700
|
-
l.dispatchEvent(new CustomEvent("
|
|
698
|
+
l.dispatchEvent(new CustomEvent("onMouseUp", { detail: { nativeEvent: d } }));
|
|
701
699
|
}, rs = (l, d) => {
|
|
700
|
+
l.dispatchEvent(new CustomEvent("onKeyDown", { detail: { nativeEvent: d } }));
|
|
701
|
+
}, is = (l, d) => {
|
|
702
702
|
if (!d || d.length <= 0)
|
|
703
703
|
return;
|
|
704
704
|
let y = d.map((T) => ue(T) ? se(T, T) : T), m = { values: y || [] };
|
|
@@ -706,7 +706,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
706
706
|
for (let T = 1; T < y.length; T++)
|
|
707
707
|
m[`value${T + 1}`] = y[T];
|
|
708
708
|
l.dispatchEvent(new CustomEvent("change", { detail: m }));
|
|
709
|
-
},
|
|
709
|
+
}, rr = (l, d, y) => {
|
|
710
710
|
let m = 0, T, Y, G, R, D = !1, q = (z, le, me, ge, de, fe) => {
|
|
711
711
|
let we = m;
|
|
712
712
|
me !== void 0 && z > me && (z = me), le !== void 0 && z < le && (z = le), m = z;
|
|
@@ -738,10 +738,10 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
738
738
|
break;
|
|
739
739
|
}
|
|
740
740
|
}
|
|
741
|
-
|
|
741
|
+
rs(l, z);
|
|
742
742
|
}
|
|
743
743
|
}, J = () => {
|
|
744
|
-
D ||
|
|
744
|
+
D || Qn(l, d);
|
|
745
745
|
};
|
|
746
746
|
return d.className = `pointer pointer-${y}`, d.addEventListener("keydown", U), d.addEventListener("click", J), { $pointer: d, get percent() {
|
|
747
747
|
return m;
|
|
@@ -752,7 +752,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
752
752
|
}, updatePosition: q, isClicked: Q, setCallbacks: B, setAttr: Se, getAttr: xe, destroy: () => {
|
|
753
753
|
d.removeEventListener("keydown", U), d.removeEventListener("click", J), d.remove();
|
|
754
754
|
} };
|
|
755
|
-
},
|
|
755
|
+
}, ns = (l) => {
|
|
756
756
|
if (l == null)
|
|
757
757
|
return;
|
|
758
758
|
if (Array.isArray(l))
|
|
@@ -765,12 +765,12 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
765
765
|
Y !== "" && (y.push(Y), ue(Y) || (m = !1));
|
|
766
766
|
}
|
|
767
767
|
return m ? y.map((T) => Number(T)) : y;
|
|
768
|
-
},
|
|
768
|
+
}, ss = (l, d) => d ? d.findIndex((y) => y === l || y.toString().trim() === l.toString().trim()) : -1, os = (l) => ({ updatePosition: (d, y, m, T) => {
|
|
769
769
|
if (y.length <= 0)
|
|
770
770
|
return;
|
|
771
771
|
let Y = y.length === 1, G = y[0], R = y[y.length - 1];
|
|
772
772
|
d === ye ? (l.style.removeProperty("width"), l.style.removeProperty("right"), l.style.removeProperty("left"), Y ? l.style.height = `${G}%` : l.style.height = `${Math.abs(G - R)}%`, T ? (l.style.bottom = "0%", Y ? l.style.top = "auto" : l.style.top = `${Math.min(100 - R, 100 - G)}%`) : (l.style.bottom = "auto", Y ? l.style.top = "0%" : l.style.top = `${Math.min(G, R)}%`)) : (l.style.removeProperty("height"), l.style.removeProperty("top"), l.style.removeProperty("bottom"), Y ? l.style.width = `${G}%` : l.style.width = `${Math.abs(G - R)}%`, m ? (l.style.right = "0%", Y ? l.style.left = "auto" : l.style.left = `${Math.min(100 - R, 100 - G)}%`) : (l.style.right = "auto", Y ? l.style.left = "0%" : l.style.left = `${Math.min(G, R)}%`));
|
|
773
|
-
} }),
|
|
773
|
+
} }), pi = "--animate-onclick", as = "--width", ls = "--height", cs = "--panel-bg-border-radius", us = "--panel-bg", hs = "--panel-bg-hover", ds = "--panel-bg-fill", fs = "--pointer-width", ps = "--pointer-height", gs = "--pointer-border-radius", vs = "--pointer-bg", ms = "--pointer-bg-hover", ys = "--pointer-bg-focus", bs = "--pointer-shadow", xs = "--pointer-shadow-hover", $s = "--pointer-shadow-focus", ws = "--pointer-border", _s = "--pointer-border-hover", Es = "--pointer-border-focus", kt = (l, d, y) => {
|
|
774
774
|
let m = /* @__PURE__ */ new Map();
|
|
775
775
|
for (let T of l.attributes) {
|
|
776
776
|
let Y = T.nodeName.trim().toLowerCase();
|
|
@@ -780,7 +780,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
780
780
|
m.set(R, D);
|
|
781
781
|
}
|
|
782
782
|
return m;
|
|
783
|
-
},
|
|
783
|
+
}, Ms = (l) => {
|
|
784
784
|
if (!l)
|
|
785
785
|
return null;
|
|
786
786
|
let d = l.getAttribute(Te);
|
|
@@ -790,7 +790,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
790
790
|
for (let T of y)
|
|
791
791
|
T.trim() !== "" && m.push(T.trim());
|
|
792
792
|
return m;
|
|
793
|
-
},
|
|
793
|
+
}, gi = [[as, w, "sliderWidth", null], [ls, M, "sliderHeight", null], [cs, P, "sliderRadius", null], [us, L, "sliderBg", null], [hs, I, "sliderBgHover", null], [ds, W, "sliderBgFill", null], [fs, ee, "pointer#Width", /^pointer([0-9]*)-width$/], [ps, C, "pointer#Height", /^pointer([0-9]*)-height$/], [gs, $, "pointer#Radius", /^pointer([0-9]*)-radius$/], [vs, A, "pointer#Bg", /^pointer([0-9]*)-bg$/], [ms, N, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [ys, O, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [bs, H, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [xs, X, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [$s, Z, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [ws, ae, "pointer#Border", /^pointer([0-9]*)-border$/], [_s, K, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Es, ve, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], As = (l, d, y) => {
|
|
794
794
|
let m = null, T = [], Y = /* @__PURE__ */ new Map(), G = (U, J = d) => {
|
|
795
795
|
let z = [...J.classList];
|
|
796
796
|
for (let le of z)
|
|
@@ -837,7 +837,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
837
837
|
Y.set(ie(U, z), J), me.style.setProperty(U, J);
|
|
838
838
|
}, xe = (U, J) => Y.get(ie(U, J));
|
|
839
839
|
return (() => {
|
|
840
|
-
for (let U of
|
|
840
|
+
for (let U of gi) {
|
|
841
841
|
let [J, z, le, me] = U;
|
|
842
842
|
if (me) {
|
|
843
843
|
let de = kt(l, me);
|
|
@@ -877,7 +877,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
877
877
|
}, get pointerShapes() {
|
|
878
878
|
return T;
|
|
879
879
|
}, setPointerShape: Q };
|
|
880
|
-
}, lt = "animate-on-click",
|
|
880
|
+
}, lt = "animate-on-click", vi = "range-dragging", Ss = (l, d, y, m) => {
|
|
881
881
|
let T = [], Y = (Q) => {
|
|
882
882
|
for (let B of T)
|
|
883
883
|
B.update && typeof B.update == "function" && B.update(Q);
|
|
@@ -911,7 +911,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
911
911
|
T.push(B), B.init && typeof B.init == "function" && (B.init(l, d, y, m), D(B), q(B));
|
|
912
912
|
}
|
|
913
913
|
}, update: Y, onAttrChange: R, destroy: G };
|
|
914
|
-
},
|
|
914
|
+
}, Os = 10, Ps = (l, d) => {
|
|
915
915
|
let y = /* @__PURE__ */ new Map(), m = /^value([0-9]*)$/;
|
|
916
916
|
for (let R of l.attributes) {
|
|
917
917
|
let D = R.nodeName.trim().toLowerCase();
|
|
@@ -921,14 +921,14 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
921
921
|
y.set(Q, B);
|
|
922
922
|
}
|
|
923
923
|
let T = Math.max(...Array.from(y.keys())), Y = [];
|
|
924
|
-
Y.push([
|
|
924
|
+
Y.push([rr(l, d, 0), y.get(0)]);
|
|
925
925
|
let G = d;
|
|
926
926
|
for (let R = 1; R <= T; R++) {
|
|
927
927
|
let D = d.cloneNode(!0);
|
|
928
|
-
G.after(D), G = D, Y.push([
|
|
928
|
+
G.after(D), G = D, Y.push([rr(l, D, R), y.get(R)]);
|
|
929
929
|
}
|
|
930
930
|
return Y;
|
|
931
|
-
},
|
|
931
|
+
}, mi = (l, d, y, m, T, Y, G) => {
|
|
932
932
|
try {
|
|
933
933
|
Object.defineProperty(l, m, { configurable: !0, get() {
|
|
934
934
|
if (!d)
|
|
@@ -962,34 +962,34 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
962
962
|
} catch (R) {
|
|
963
963
|
console.error(R);
|
|
964
964
|
}
|
|
965
|
-
},
|
|
965
|
+
}, Cs = (l, d) => {
|
|
966
966
|
let y = [["value", "ariaLabel", "pointerShape", "pointerDisabled", 0], ["value0", "ariaLabel0", "pointerShape0", "pointer0Disabled", 0], ["value1", "ariaLabel1", "pointerShape1", "pointer1Disabled", 0]];
|
|
967
|
-
for (let m = 2; m <
|
|
967
|
+
for (let m = 2; m < Os; m++)
|
|
968
968
|
y.push([`value${m}`, `ariaLabel${m}`, `pointer${m}Shape`, `pointer${m}Disabled`, m - 1]);
|
|
969
969
|
for (let m of y)
|
|
970
|
-
|
|
971
|
-
},
|
|
970
|
+
mi(l, d, m[4], m[0], m[1], m[2], m[3]);
|
|
971
|
+
}, yi = (l, d, y) => {
|
|
972
972
|
var m;
|
|
973
973
|
let T = (m = y.shadowRoot) == null ? void 0 : m.querySelector(".container");
|
|
974
974
|
if (T)
|
|
975
975
|
for (let Y of l)
|
|
976
976
|
d ? T.prepend(Y.$pointer) : T.append(Y.$pointer);
|
|
977
|
-
},
|
|
978
|
-
let m = y.map((h) => h[0]), T = null, Y = null, G = null, R = null, D =
|
|
979
|
-
fe || (h.preventDefault && h.preventDefault(), Je(h), window.addEventListener("mousemove", Je), window.addEventListener("mouseup", Lt),
|
|
977
|
+
}, ir = 0, $t = 100, ct = 2, bi = "0.3s", ks = (l, d, y) => {
|
|
978
|
+
let m = y.map((h) => h[0]), T = null, Y = null, G = null, R = null, D = ir, q = $t, Q, B, ie = Ae, Se = ct, xe = !1, U = !1, J = !1, z = 0, le = 1 / 0, me = !1, ge, de, fe = !1, we = !1, _e = !1, Xe = bi, xi = [], $i = (h) => {
|
|
979
|
+
fe || (h.preventDefault && h.preventDefault(), Je(h), window.addEventListener("mousemove", Je), window.addEventListener("mouseup", Lt), es(l, h));
|
|
980
980
|
}, Lt = (h) => {
|
|
981
|
-
fe || (ge = void 0, de = void 0, window.removeEventListener("mousemove", Je), window.removeEventListener("mouseup", Lt), Xe && d.classList.add(lt),
|
|
982
|
-
},
|
|
981
|
+
fe || (ge = void 0, de = void 0, window.removeEventListener("mousemove", Je), window.removeEventListener("mouseup", Lt), Xe && d.classList.add(lt), ts(l, h));
|
|
982
|
+
}, Rs = (h, x) => {
|
|
983
983
|
if (m.length <= 0)
|
|
984
984
|
return;
|
|
985
985
|
if (m.length === 1)
|
|
986
986
|
return m[0].isClicked(h) && Xe && d.classList.remove(lt), m[0];
|
|
987
|
-
let j =
|
|
987
|
+
let j = Is(h);
|
|
988
988
|
if (me) {
|
|
989
989
|
let re = x, Re = Rt(re);
|
|
990
990
|
Re !== void 0 && (re = ot(re, Re)), j ? (ge = re, de = 0, Xe && d.classList.remove(lt)) : ge !== void 0 && (de = re - ge, ge = re);
|
|
991
991
|
}
|
|
992
|
-
if (!
|
|
992
|
+
if (!Ds(h) && !j) {
|
|
993
993
|
for (let re of m)
|
|
994
994
|
if (!(!re.isClicked(h) || re.disabled))
|
|
995
995
|
return Xe && d.classList.remove(lt), re;
|
|
@@ -1005,7 +1005,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1005
1005
|
Re < oe && (oe = Re, pe = re);
|
|
1006
1006
|
}
|
|
1007
1007
|
return pe;
|
|
1008
|
-
},
|
|
1008
|
+
}, wi = () => m.findIndex((h) => T === h && !h.disabled), Je = (h) => {
|
|
1009
1009
|
let x;
|
|
1010
1010
|
if (ie === ye) {
|
|
1011
1011
|
let { height: oe, top: pe } = d.getBoundingClientRect(), re = h.type.indexOf("mouse") !== -1 ? h.clientY : h.touches[0].clientY;
|
|
@@ -1014,7 +1014,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1014
1014
|
let { width: oe, left: pe } = d.getBoundingClientRect(), re = h.type.indexOf("mouse") !== -1 ? h.clientX : h.touches[0].clientX;
|
|
1015
1015
|
x = Math.min(Math.max(0, re - pe), oe) * 100 / oe;
|
|
1016
1016
|
}
|
|
1017
|
-
if ((xe || U) && (x = 100 - x), T =
|
|
1017
|
+
if ((xe || U) && (x = 100 - x), T = Rs(h.target, x), me && m.length > 1 && de !== void 0) {
|
|
1018
1018
|
let oe = m[0], pe = m[m.length - 1], re = oe.percent + de < 0, Re = pe.percent + de > 100;
|
|
1019
1019
|
if (re || Re)
|
|
1020
1020
|
return;
|
|
@@ -1022,37 +1022,37 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1022
1022
|
Ee(Yt, m[Yt].percent + de);
|
|
1023
1023
|
return;
|
|
1024
1024
|
}
|
|
1025
|
-
let j =
|
|
1025
|
+
let j = wi();
|
|
1026
1026
|
j !== -1 && (Ee(j, x), T == null || T.$pointer.focus());
|
|
1027
1027
|
}, Tt = (h) => {
|
|
1028
1028
|
if (fe || document.activeElement !== l || T != null && T.disabled)
|
|
1029
1029
|
return;
|
|
1030
1030
|
h.stopPropagation(), h.preventDefault();
|
|
1031
|
-
let x = h.deltaY < 0, j = xe || U, oe = x ? !j : j, pe =
|
|
1032
|
-
pe !== -1 && (oe ?
|
|
1033
|
-
}, $i = (h) => {
|
|
1034
|
-
fe || we || (ie === ye ? U ? Ee(h, 100) : Ee(h, 0) : xe ? wt(h, m[h].percent) : $t(h, m[h].percent));
|
|
1035
|
-
}, wi = (h) => {
|
|
1036
|
-
fe || we || (ie === ye ? U ? Ee(h, 0) : Ee(h, 100) : xe ? $t(h, m[h].percent) : wt(h, m[h].percent));
|
|
1031
|
+
let x = h.deltaY < 0, j = xe || U, oe = x ? !j : j, pe = wi();
|
|
1032
|
+
pe !== -1 && (oe ? wt(pe, m[pe].percent) : _t(pe, m[pe].percent));
|
|
1037
1033
|
}, _i = (h) => {
|
|
1038
|
-
fe || we || (ie === ye ? U ?
|
|
1034
|
+
fe || we || (ie === ye ? U ? Ee(h, 100) : Ee(h, 0) : xe ? _t(h, m[h].percent) : wt(h, m[h].percent));
|
|
1039
1035
|
}, Ei = (h) => {
|
|
1040
|
-
fe || we || (ie === ye ? U ?
|
|
1041
|
-
},
|
|
1036
|
+
fe || we || (ie === ye ? U ? Ee(h, 0) : Ee(h, 100) : xe ? wt(h, m[h].percent) : _t(h, m[h].percent));
|
|
1037
|
+
}, Mi = (h) => {
|
|
1038
|
+
fe || we || (ie === ye ? U ? _t(h, m[h].percent) : wt(h, m[h].percent) : xe ? Ee(h, 100) : Ee(h, 0));
|
|
1039
|
+
}, Ai = (h) => {
|
|
1040
|
+
fe || we || (ie === ye ? U ? wt(h, m[h].percent) : _t(h, m[h].percent) : xe ? Ee(h, 0) : Ee(h, 100));
|
|
1041
|
+
}, Ds = (h) => h.classList.contains("panel"), Is = (h) => h.classList.contains("panel-fill"), wt = (h, x) => {
|
|
1042
1042
|
if (x === void 0)
|
|
1043
1043
|
return;
|
|
1044
1044
|
let j = Rt(x);
|
|
1045
1045
|
j == null && (j = 1), x -= j, x < 0 && (x = 0), Ee(h, x);
|
|
1046
|
-
},
|
|
1046
|
+
}, _t = (h, x) => {
|
|
1047
1047
|
if (x === void 0)
|
|
1048
1048
|
return;
|
|
1049
1049
|
let j = Rt(x);
|
|
1050
1050
|
j == null && (j = 1), x += j, x > 100 && (x = 100), Ee(h, x);
|
|
1051
1051
|
}, Ze = () => {
|
|
1052
|
-
!R || R.update({ percents:
|
|
1053
|
-
},
|
|
1052
|
+
!R || R.update({ percents: Si(), values: Oi(), $pointers: Pi(), min: Ci(), max: ki(), data: or(), step: sr(), round: lr(), type: ar(), textMin: Dt(), textMax: It(), rightToLeft: hr(), bottomToTop: dr(), pointersOverlap: vr(), pointersMinDistance: cr(), pointersMaxDistance: ur(), rangeDragging: mr(), disabled: fr(), keyboardDisabled: pr(), mousewheelDisabled: gr() });
|
|
1053
|
+
}, js = () => {
|
|
1054
1054
|
Ze();
|
|
1055
|
-
},
|
|
1055
|
+
}, Ns = (h) => {
|
|
1056
1056
|
if (!(J || m.length <= 1 || q === D))
|
|
1057
1057
|
if (h === 0) {
|
|
1058
1058
|
let x = le * 100 / (q - D);
|
|
@@ -1061,7 +1061,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1061
1061
|
let x = z * 100 / (q - D);
|
|
1062
1062
|
return Math.min(m[h - 1].percent + x, 100);
|
|
1063
1063
|
}
|
|
1064
|
-
},
|
|
1064
|
+
}, Bs = (h) => {
|
|
1065
1065
|
if (!(J || m.length <= 1 || q === D))
|
|
1066
1066
|
if (h === m.length - 1) {
|
|
1067
1067
|
let x = le * 100 / (q - D);
|
|
@@ -1086,13 +1086,13 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1086
1086
|
return;
|
|
1087
1087
|
let x = je(0, 100, D, q, h);
|
|
1088
1088
|
return B !== void 0 ? B[Math.round(x)] : at(x, Se);
|
|
1089
|
-
}, Dt = () => B !== void 0 ? B[D] : D, It = () => B !== void 0 ? B[q] : q,
|
|
1089
|
+
}, Dt = () => B !== void 0 ? B[D] : D, It = () => B !== void 0 ? B[q] : q, sr = () => Q, Fs = (h) => {
|
|
1090
1090
|
var x;
|
|
1091
1091
|
return h <= 0 || J ? Dt() : (x = ut(m[h - 1].percent)) != null ? x : "";
|
|
1092
|
-
},
|
|
1092
|
+
}, Hs = (h) => {
|
|
1093
1093
|
var x;
|
|
1094
1094
|
return m.length <= 1 || h >= m.length - 1 || J ? It() : (x = ut(m[h + 1].percent)) != null ? x : "";
|
|
1095
|
-
},
|
|
1095
|
+
}, Si = () => m.map((h) => h.percent), Oi = () => m.map((h) => ut(h.percent)), Pi = () => m.map((h) => h.$pointer), Ci = () => D, ki = () => q, or = () => B, ar = () => ie, lr = () => Se, cr = () => z, ur = () => le, Ys = (h) => xi[h], hr = () => xe, dr = () => U, fr = () => fe, pr = () => we, gr = () => _e, vr = () => J, mr = () => me, Ee = (h, x) => {
|
|
1096
1096
|
if (x === void 0)
|
|
1097
1097
|
return;
|
|
1098
1098
|
let j = Rt(x);
|
|
@@ -1100,29 +1100,29 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1100
1100
|
let oe = m[h];
|
|
1101
1101
|
if (!oe)
|
|
1102
1102
|
return;
|
|
1103
|
-
let pe = oe.updatePosition(x,
|
|
1103
|
+
let pe = oe.updatePosition(x, Ns(h), Bs(h), ie, xe, U);
|
|
1104
1104
|
Y == null || Y.updatePosition(ie, m.map((re) => re.percent), xe, U), Ze();
|
|
1105
1105
|
for (let re of m) {
|
|
1106
1106
|
let Re = ut(re.percent);
|
|
1107
1107
|
Re !== void 0 && (re.setAttr("aria-valuenow", Re.toString()), re.setAttr("aria-valuetext", Re.toString()));
|
|
1108
1108
|
}
|
|
1109
|
-
|
|
1109
|
+
zs(), pe && is(l, m.map((re) => ut(re.percent)));
|
|
1110
1110
|
}, Ne = () => {
|
|
1111
1111
|
for (let h = 0; h < m.length; h++)
|
|
1112
1112
|
Ee(h, m[h].percent);
|
|
1113
|
-
},
|
|
1114
|
-
D = B !== void 0 ? 0 : se(h,
|
|
1115
|
-
},
|
|
1113
|
+
}, Us = (h, x) => {
|
|
1114
|
+
D = B !== void 0 ? 0 : se(h, ir), q = B !== void 0 ? B.length - 1 : se(x, $t), jt(D), Nt(q);
|
|
1115
|
+
}, zs = () => {
|
|
1116
1116
|
var h, x;
|
|
1117
1117
|
for (let j = 0; j < m.length; j++) {
|
|
1118
1118
|
let oe = m[j];
|
|
1119
|
-
oe.setAttr("aria-valuemin", ((h =
|
|
1119
|
+
oe.setAttr("aria-valuemin", ((h = Fs(j)) != null ? h : "").toString()), oe.setAttr("aria-valuemax", ((x = Hs(j)) != null ? x : "").toString());
|
|
1120
1120
|
}
|
|
1121
1121
|
}, jt = (h) => {
|
|
1122
|
-
D = se(h,
|
|
1122
|
+
D = se(h, ir), D > q && (q = D + $t), Ne();
|
|
1123
1123
|
}, Nt = (h) => {
|
|
1124
|
-
q = se(h,
|
|
1125
|
-
},
|
|
1124
|
+
q = se(h, $t), q < D && (q = D + $t), Ne();
|
|
1125
|
+
}, Li = (h) => {
|
|
1126
1126
|
J = !0;
|
|
1127
1127
|
for (let x = 0; x < h.length; x++)
|
|
1128
1128
|
Bt(h[x], x);
|
|
@@ -1131,7 +1131,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1131
1131
|
Bt(h[x], x);
|
|
1132
1132
|
}, Bt = (h, x) => {
|
|
1133
1133
|
let j;
|
|
1134
|
-
B !== void 0 ? (j = h == null ? 0 :
|
|
1134
|
+
B !== void 0 ? (j = h == null ? 0 : ss(h, B), j === -1 && (j = 0)) : (j = se(h, D), j < D && (j = D), j > q && (j = q));
|
|
1135
1135
|
let oe = je(D, q, 0, 100, j);
|
|
1136
1136
|
Ee(x, oe);
|
|
1137
1137
|
}, Ft = (h) => {
|
|
@@ -1150,29 +1150,29 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1150
1150
|
return;
|
|
1151
1151
|
}
|
|
1152
1152
|
Q = void 0;
|
|
1153
|
-
}, mr = (h) => {
|
|
1154
|
-
J = h, Ne();
|
|
1155
1153
|
}, yr = (h) => {
|
|
1156
|
-
|
|
1154
|
+
J = h, Ne();
|
|
1157
1155
|
}, br = (h) => {
|
|
1158
|
-
(!ue(h) || h < 0) && (h =
|
|
1156
|
+
(!ue(h) || h < 0) && (h = 0), z = h;
|
|
1159
1157
|
}, xr = (h) => {
|
|
1158
|
+
(!ue(h) || h < 0) && (h = 1 / 0), le = h;
|
|
1159
|
+
}, $r = (h) => {
|
|
1160
1160
|
fe = h, d.classList.toggle("disabled", fe), fe ? d.setAttribute("aria-disabled", "true") : d.hasAttribute("aria-disabled") && d.removeAttribute("aria-disabled");
|
|
1161
|
-
},
|
|
1161
|
+
}, Ti = (h) => {
|
|
1162
1162
|
we = h;
|
|
1163
|
-
},
|
|
1163
|
+
}, Ri = (h) => {
|
|
1164
1164
|
_e = h, _e ? document.removeEventListener("wheel", Tt) : document.addEventListener("wheel", Tt, { passive: !1 });
|
|
1165
|
-
},
|
|
1165
|
+
}, wr = (h) => {
|
|
1166
1166
|
if (h == null) {
|
|
1167
1167
|
B = void 0;
|
|
1168
1168
|
return;
|
|
1169
1169
|
}
|
|
1170
|
-
if (B =
|
|
1170
|
+
if (B = ns(h), B === void 0 || B.length <= 0) {
|
|
1171
1171
|
B = void 0;
|
|
1172
1172
|
return;
|
|
1173
1173
|
}
|
|
1174
1174
|
jt(0), Nt(B.length - 1), Q === void 0 && Ft(1);
|
|
1175
|
-
},
|
|
1175
|
+
}, _r = (h) => {
|
|
1176
1176
|
var x;
|
|
1177
1177
|
typeof h == "string" ? ie = h.trim().toLowerCase() === ye ? ye : Ae : ie = Ae;
|
|
1178
1178
|
let j = (x = l.shadowRoot) == null ? void 0 : x.querySelector(".range-slider-box");
|
|
@@ -1182,51 +1182,51 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1182
1182
|
let oe = ie === ye ? "vertical" : "horizontal";
|
|
1183
1183
|
for (let pe of m)
|
|
1184
1184
|
pe.setAttr("aria-orientation", oe);
|
|
1185
|
-
}, _r = (h) => {
|
|
1186
|
-
xe = h, m.length > 1 && vi(m, xe, l), Ne(), Ze();
|
|
1187
1185
|
}, Er = (h) => {
|
|
1188
|
-
|
|
1186
|
+
xe = h, m.length > 1 && yi(m, xe, l), Ne(), Ze();
|
|
1189
1187
|
}, Mr = (h) => {
|
|
1188
|
+
U = h, m.length > 1 && yi(m, U, l), Ne(), Ze();
|
|
1189
|
+
}, Ar = (h) => {
|
|
1190
1190
|
Se = se(h, ct), Se < 0 && (Se = ct), Ze();
|
|
1191
|
-
},
|
|
1192
|
-
h == null || h.toString().trim().toLowerCase() === "false" ? (Xe = void 0, d.style.removeProperty(
|
|
1193
|
-
},
|
|
1191
|
+
}, Di = (h) => {
|
|
1192
|
+
h == null || h.toString().trim().toLowerCase() === "false" ? (Xe = void 0, d.style.removeProperty(pi), d.classList.remove(lt)) : (Xe = h.toString(), d.style.setProperty(pi, Xe), d.classList.add(lt));
|
|
1193
|
+
}, Ii = (h, x) => {
|
|
1194
1194
|
let j = m[h];
|
|
1195
|
-
!j || (j.setAttr("aria-label", x),
|
|
1195
|
+
!j || (j.setAttr("aria-label", x), xi[h] = x);
|
|
1196
1196
|
}, Ht = (h) => {
|
|
1197
1197
|
if (ge = void 0, m.length <= 1) {
|
|
1198
|
-
me = !1, d.classList.remove(
|
|
1198
|
+
me = !1, d.classList.remove(vi);
|
|
1199
1199
|
return;
|
|
1200
1200
|
}
|
|
1201
|
-
me = h, d.classList.toggle(
|
|
1202
|
-
},
|
|
1203
|
-
|
|
1201
|
+
me = h, d.classList.toggle(vi, me);
|
|
1202
|
+
}, Xs = () => {
|
|
1203
|
+
$r(be(l.getAttribute(p))), we = be(l.getAttribute(b)), _e = be(l.getAttribute(S));
|
|
1204
1204
|
let h = kt(l, /^pointer([0-9]*)-disabled$/, (x) => be(x));
|
|
1205
1205
|
for (let x of h) {
|
|
1206
1206
|
let j = x[0];
|
|
1207
1207
|
!m[j] || (m[j].disabled = x[1]);
|
|
1208
1208
|
}
|
|
1209
|
-
},
|
|
1209
|
+
}, Vs = () => {
|
|
1210
1210
|
let h = kt(l, /^aria-label([0-9]*)$/);
|
|
1211
1211
|
for (let x of h) {
|
|
1212
1212
|
let j = x[0];
|
|
1213
|
-
|
|
1213
|
+
Ii(j, x[1]);
|
|
1214
1214
|
}
|
|
1215
|
-
},
|
|
1215
|
+
}, Ws = (h) => {
|
|
1216
1216
|
let x = m.length, j = m[x - 1].$pointer, oe = j.cloneNode(!0);
|
|
1217
1217
|
j.after(oe);
|
|
1218
|
-
let pe =
|
|
1219
|
-
return pe.setCallbacks(
|
|
1220
|
-
},
|
|
1218
|
+
let pe = rr(l, oe, x);
|
|
1219
|
+
return pe.setCallbacks(_i, Ei, Mi, Ai), m.push(pe), Bt(h, x), Ne(), Ze(), x;
|
|
1220
|
+
}, Gs = () => {
|
|
1221
1221
|
let h = m.length, x = m[h - 1];
|
|
1222
1222
|
return x ? (x.destroy(), m.pop(), m.length <= 1 && Ht(!1), Ne(), Ze(), h - 1) : -1;
|
|
1223
1223
|
};
|
|
1224
1224
|
return (() => {
|
|
1225
1225
|
var h, x;
|
|
1226
1226
|
for (let oe of m)
|
|
1227
|
-
oe.setCallbacks(
|
|
1227
|
+
oe.setCallbacks(_i, Ei, Mi, Ai);
|
|
1228
1228
|
let j = (h = l.shadowRoot) == null ? void 0 : h.querySelector(".panel-fill");
|
|
1229
|
-
j && (Y =
|
|
1229
|
+
j && (Y = os(j)), _r(l.getAttribute(F)), Er(be(l.getAttribute(te))), Mr(be(l.getAttribute(f))), Us(l.getAttribute(v), l.getAttribute(_)), Ft(l.getAttribute(E)), wr(l.getAttribute(g)), Li(y.map((oe) => oe[1])), yr(be(l.getAttribute(o))), br(se(l.getAttribute(c), 0)), xr(se(l.getAttribute(a), 1 / 0)), Ht(be(l.getAttribute(u))), Ar(se(l.getAttribute(k), ct)), Xs(), Vs(), G = As(l, d, m), Di((x = l.getAttribute(Le)) != null ? x : bi), d.addEventListener("mousedown", $i), d.addEventListener("mouseup", Lt), d.addEventListener("touchmove", Je), d.addEventListener("touchstart", Je), _e || document.addEventListener("wheel", Tt, { passive: !1 }), R = Ss(l, js, { setValues: Li, setMin: jt, setMax: Nt, setStep: Ft, setPointersOverlap: yr, setPointersMinDistance: br, setPointersMaxDistance: xr, setDisabled: $r, setType: _r, setRightToLeft: Er, setBottomToTop: Mr, setRound: Ar, setKeyboardDisabled: Ti, setMousewheelDisabled: Ri, setRangeDragging: Ht, setData: wr }, { getPercents: Si, getValues: Oi, getPointerElements: Pi, getMin: Ci, getMax: ki, getStep: sr, getData: or, getType: ar, getRound: lr, getTextMin: Dt, getTextMax: It, isRightToLeft: hr, isBottomToTop: dr, isDisabled: fr, isKeyboardDisabled: pr, isMousewheelDisabled: gr, isPointersOverlap: vr, isRangeDraggingEnabled: mr, getPointersMinDistance: cr, getPointersMaxDistance: ur }), R.init();
|
|
1230
1230
|
})(), { get pointers() {
|
|
1231
1231
|
return m;
|
|
1232
1232
|
}, get styles() {
|
|
@@ -1238,65 +1238,65 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1238
1238
|
}, get max() {
|
|
1239
1239
|
return It();
|
|
1240
1240
|
}, get step() {
|
|
1241
|
-
return
|
|
1241
|
+
return sr();
|
|
1242
1242
|
}, get pointersOverlap() {
|
|
1243
|
-
return
|
|
1243
|
+
return vr();
|
|
1244
1244
|
}, set pointersOverlap(h) {
|
|
1245
|
-
|
|
1245
|
+
yr(h);
|
|
1246
1246
|
}, get pointersMinDistance() {
|
|
1247
|
-
return
|
|
1247
|
+
return cr();
|
|
1248
1248
|
}, set pointersMinDistance(h) {
|
|
1249
|
-
|
|
1249
|
+
br(h);
|
|
1250
1250
|
}, get pointersMaxDistance() {
|
|
1251
|
-
return
|
|
1251
|
+
return ur();
|
|
1252
1252
|
}, set pointersMaxDistance(h) {
|
|
1253
|
-
|
|
1253
|
+
xr(h);
|
|
1254
1254
|
}, get disabled() {
|
|
1255
|
-
return
|
|
1255
|
+
return fr();
|
|
1256
1256
|
}, set disabled(h) {
|
|
1257
|
-
|
|
1257
|
+
$r(h);
|
|
1258
1258
|
}, get data() {
|
|
1259
|
-
return sr();
|
|
1260
|
-
}, get type() {
|
|
1261
1259
|
return or();
|
|
1260
|
+
}, get type() {
|
|
1261
|
+
return ar();
|
|
1262
1262
|
}, set type(h) {
|
|
1263
|
-
|
|
1263
|
+
_r(h);
|
|
1264
1264
|
}, get rightToLeft() {
|
|
1265
|
-
return
|
|
1265
|
+
return hr();
|
|
1266
1266
|
}, set rightToLeft(h) {
|
|
1267
|
-
|
|
1267
|
+
Er(h);
|
|
1268
1268
|
}, get bottomToTop() {
|
|
1269
|
-
return
|
|
1269
|
+
return dr();
|
|
1270
1270
|
}, set bottomToTop(h) {
|
|
1271
|
-
|
|
1271
|
+
Mr(h);
|
|
1272
1272
|
}, get round() {
|
|
1273
|
-
return
|
|
1273
|
+
return lr();
|
|
1274
1274
|
}, set round(h) {
|
|
1275
|
-
|
|
1275
|
+
Ar(h);
|
|
1276
1276
|
}, get animateOnClick() {
|
|
1277
1277
|
return Xe;
|
|
1278
1278
|
}, set animateOnClick(h) {
|
|
1279
|
-
|
|
1279
|
+
Di(h);
|
|
1280
1280
|
}, get keyboardDisabled() {
|
|
1281
|
-
return
|
|
1281
|
+
return pr();
|
|
1282
1282
|
}, set keyboardDisabled(h) {
|
|
1283
|
-
|
|
1283
|
+
Ti(h);
|
|
1284
1284
|
}, get mousewheelDisabled() {
|
|
1285
|
-
return
|
|
1285
|
+
return gr();
|
|
1286
1286
|
}, set mousewheelDisabled(h) {
|
|
1287
|
-
|
|
1287
|
+
Ri(h);
|
|
1288
1288
|
}, get rangeDragging() {
|
|
1289
|
-
return
|
|
1289
|
+
return mr();
|
|
1290
1290
|
}, set rangeDragging(h) {
|
|
1291
1291
|
Ht(h);
|
|
1292
|
-
}, setMin: jt, setMax: Nt, setValue: Bt, setStep: Ft, setData:
|
|
1293
|
-
d.removeEventListener("mousedown",
|
|
1292
|
+
}, setMin: jt, setMax: Nt, setValue: Bt, setStep: Ft, setData: wr, getTextValue: ut, setAriaLabel: Ii, getAriaLabel: Ys, addPointer: Ws, removePointer: Gs, destroy: () => {
|
|
1293
|
+
d.removeEventListener("mousedown", $i), d.removeEventListener("mouseup", Lt), d.removeEventListener("touchmove", Je), d.removeEventListener("touchstart", Je), document.removeEventListener("wheel", Tt);
|
|
1294
1294
|
for (let h of m)
|
|
1295
1295
|
h.destroy();
|
|
1296
1296
|
R == null || R.destroy();
|
|
1297
1297
|
} };
|
|
1298
|
-
},
|
|
1299
|
-
let m =
|
|
1298
|
+
}, Ls = (l, d, y) => {
|
|
1299
|
+
let m = gi.find(([R, D, q, Q]) => D.replace("#", "") === d.replace(/\d+/g, ""));
|
|
1300
1300
|
if (m && l.styles) {
|
|
1301
1301
|
let [R, D, q, Q] = m, B = d.replace(/\D/g, "").trim(), ie = B === "" || B === "0" || B === "1" ? 0 : se(B, 0) - 1;
|
|
1302
1302
|
l.styles.setStyle(R, y, ie);
|
|
@@ -1397,7 +1397,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1397
1397
|
break;
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
},
|
|
1400
|
+
}, Ts = class extends HTMLElement {
|
|
1401
1401
|
constructor() {
|
|
1402
1402
|
super(), i(this, "slider"), i(this, "_externalCSSList", []), i(this, "_observer", null), this.attachShadow({ mode: "open" });
|
|
1403
1403
|
}
|
|
@@ -1531,7 +1531,7 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1531
1531
|
if (!this.slider)
|
|
1532
1532
|
return;
|
|
1533
1533
|
let y = (d = this.slider) == null ? void 0 : d.addPointer(l);
|
|
1534
|
-
|
|
1534
|
+
mi(this, this.slider, y, `value${y + 1}`, `ariaLabel${y + 1}`, `pointerShape${y + 1}`, `pointer${y + 1}Disabled`);
|
|
1535
1535
|
}
|
|
1536
1536
|
removePointer() {
|
|
1537
1537
|
var l;
|
|
@@ -1547,36 +1547,36 @@ const yn = Symbol.for(""), ho = (r) => {
|
|
|
1547
1547
|
var l, d;
|
|
1548
1548
|
if (!this.shadowRoot)
|
|
1549
1549
|
return;
|
|
1550
|
-
this._externalCSSList =
|
|
1550
|
+
this._externalCSSList = Ms(this), this.shadowRoot.innerHTML = n(s, this._externalCSSList);
|
|
1551
1551
|
let y = (l = this.shadowRoot) == null ? void 0 : l.querySelector(".pointer");
|
|
1552
1552
|
if (!y)
|
|
1553
1553
|
return;
|
|
1554
1554
|
let m = (d = this.shadowRoot) == null ? void 0 : d.getElementById("range-slider");
|
|
1555
1555
|
if (!m)
|
|
1556
1556
|
return;
|
|
1557
|
-
let T =
|
|
1558
|
-
this.slider =
|
|
1557
|
+
let T = Ps(this, y);
|
|
1558
|
+
this.slider = ks(this, m, T), Cs(this, this.slider), this._observer = new MutationObserver((Y) => {
|
|
1559
1559
|
Y.forEach((G) => {
|
|
1560
1560
|
var R;
|
|
1561
1561
|
if (!this.slider || G.type !== "attributes")
|
|
1562
1562
|
return;
|
|
1563
1563
|
let D = G.attributeName;
|
|
1564
|
-
!D ||
|
|
1564
|
+
!D || Ls(this.slider, D, (R = this.getAttribute(D)) != null ? R : "");
|
|
1565
1565
|
});
|
|
1566
1566
|
}), this._observer.observe(this, { attributes: !0 });
|
|
1567
1567
|
}
|
|
1568
1568
|
disconnectedCallback() {
|
|
1569
1569
|
this._observer && this._observer.disconnect(), this.slider && this.slider.destroy();
|
|
1570
1570
|
}
|
|
1571
|
-
},
|
|
1572
|
-
window.tcRangeSlider =
|
|
1571
|
+
}, nr = Ts;
|
|
1572
|
+
window.tcRangeSlider = nr, customElements.get("toolcool-range-slider") || customElements.define("toolcool-range-slider", nr), customElements.get("tc-range-slider") || customElements.define("tc-range-slider", class extends nr {
|
|
1573
1573
|
});
|
|
1574
1574
|
})();
|
|
1575
|
-
var
|
|
1576
|
-
function
|
|
1575
|
+
var pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1576
|
+
function ri(r) {
|
|
1577
1577
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
1578
1578
|
}
|
|
1579
|
-
function
|
|
1579
|
+
function ii(r) {
|
|
1580
1580
|
if (r.__esModule)
|
|
1581
1581
|
return r;
|
|
1582
1582
|
var e = r.default;
|
|
@@ -1603,11 +1603,11 @@ function ti(r) {
|
|
|
1603
1603
|
});
|
|
1604
1604
|
}), t;
|
|
1605
1605
|
}
|
|
1606
|
-
var
|
|
1606
|
+
var xn = { exports: {} };
|
|
1607
1607
|
(function(r, e) {
|
|
1608
1608
|
(function(t, i) {
|
|
1609
1609
|
r.exports = i();
|
|
1610
|
-
})(
|
|
1610
|
+
})(pt, function() {
|
|
1611
1611
|
var t = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", c = "minute", a = "hour", u = "day", g = "week", v = "month", _ = "quarter", E = "year", k = "date", F = "Invalid Date", ne = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, te = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, f = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(C) {
|
|
1612
1612
|
var $ = ["th", "st", "nd", "rd"], A = C % 100;
|
|
1613
1613
|
return "[" + C + ($[(A - 20) % 10] || $[A] || $[0]) + "]";
|
|
@@ -1810,9 +1810,9 @@ var bn = { exports: {} };
|
|
|
1810
1810
|
return L(1e3 * C);
|
|
1811
1811
|
}, L.en = w[S], L.Ls = w, L.p = {}, L;
|
|
1812
1812
|
});
|
|
1813
|
-
})(
|
|
1814
|
-
var go =
|
|
1815
|
-
const
|
|
1813
|
+
})(xn);
|
|
1814
|
+
var go = xn.exports;
|
|
1815
|
+
const Gt = /* @__PURE__ */ ri(go);
|
|
1816
1816
|
class vo extends Oe {
|
|
1817
1817
|
constructor() {
|
|
1818
1818
|
super(...arguments), this.templates = {}, this._renderedTemplates = {};
|
|
@@ -1930,7 +1930,7 @@ class vo extends Oe {
|
|
|
1930
1930
|
this.templates = this.getTemplates();
|
|
1931
1931
|
}
|
|
1932
1932
|
}
|
|
1933
|
-
const
|
|
1933
|
+
const $n = `
|
|
1934
1934
|
:host {
|
|
1935
1935
|
display: flex;
|
|
1936
1936
|
box-sizing: border-box;
|
|
@@ -2150,7 +2150,7 @@ input[type="range"]:focus::-webkit-slider-thumb {
|
|
|
2150
2150
|
input::-moz-focus-inner, input::-moz-focus-outer {
|
|
2151
2151
|
border: 0;
|
|
2152
2152
|
}
|
|
2153
|
-
`,
|
|
2153
|
+
`, wn = `
|
|
2154
2154
|
* {
|
|
2155
2155
|
font-family: Roboto, sans-serif;
|
|
2156
2156
|
}
|
|
@@ -2193,21 +2193,21 @@ details summary .title {
|
|
|
2193
2193
|
display: flex;
|
|
2194
2194
|
font-weight: 500;
|
|
2195
2195
|
}
|
|
2196
|
-
details.details-filter summary
|
|
2197
|
-
details.details-results summary
|
|
2196
|
+
details.details-filter summary::after,
|
|
2197
|
+
details.details-results summary::before {
|
|
2198
2198
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230009' viewBox='0 0 24 24'%3E%3Ctitle%3Echevron-right%3C/title%3E%3Cpath d='M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z' /%3E%3C/svg%3E");
|
|
2199
2199
|
height: 24px;
|
|
2200
2200
|
width: 24px;
|
|
2201
2201
|
}
|
|
2202
|
-
details.details-filter summary
|
|
2202
|
+
details.details-filter summary::after {
|
|
2203
2203
|
position: absolute;
|
|
2204
2204
|
right: 8px;
|
|
2205
2205
|
transform: rotate(90deg);
|
|
2206
2206
|
}
|
|
2207
|
-
details[open] summary
|
|
2207
|
+
details[open] summary::before {
|
|
2208
2208
|
transform: rotate(90deg);
|
|
2209
2209
|
}
|
|
2210
|
-
details[open] summary
|
|
2210
|
+
details[open] summary::after {
|
|
2211
2211
|
transform: rotate(270deg);
|
|
2212
2212
|
}
|
|
2213
2213
|
eox-itemfilter-expandcontainer .title,
|
|
@@ -2304,17 +2304,17 @@ eox-itemfilter-range {
|
|
|
2304
2304
|
margin-left: .5rem;
|
|
2305
2305
|
}
|
|
2306
2306
|
`;
|
|
2307
|
-
var $o = Object.defineProperty, wo = Object.getOwnPropertyDescriptor,
|
|
2307
|
+
var $o = Object.defineProperty, wo = Object.getOwnPropertyDescriptor, ni = (r, e, t, i) => {
|
|
2308
2308
|
for (var n = i > 1 ? void 0 : i ? wo(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
2309
2309
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2310
2310
|
return i && n && $o(e, t, n), n;
|
|
2311
2311
|
};
|
|
2312
|
-
let
|
|
2312
|
+
let qt = class extends Oe {
|
|
2313
2313
|
render() {
|
|
2314
2314
|
return he`
|
|
2315
2315
|
<style>
|
|
2316
|
-
${
|
|
2317
|
-
${!this.unstyled &&
|
|
2316
|
+
${$n}
|
|
2317
|
+
${!this.unstyled && wn}
|
|
2318
2318
|
</style>
|
|
2319
2319
|
<details
|
|
2320
2320
|
class="details-filter"
|
|
@@ -2337,21 +2337,21 @@ let Gt = class extends Oe {
|
|
|
2337
2337
|
`;
|
|
2338
2338
|
}
|
|
2339
2339
|
};
|
|
2340
|
-
|
|
2340
|
+
ni([
|
|
2341
2341
|
ke({ attribute: !1 })
|
|
2342
|
-
],
|
|
2343
|
-
|
|
2342
|
+
], qt.prototype, "filterObject", 2);
|
|
2343
|
+
ni([
|
|
2344
2344
|
ke()
|
|
2345
|
-
],
|
|
2346
|
-
|
|
2345
|
+
], qt.prototype, "unstyled", 2);
|
|
2346
|
+
qt = ni([
|
|
2347
2347
|
Ge("eox-itemfilter-expandcontainer")
|
|
2348
|
-
],
|
|
2349
|
-
var _o = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor,
|
|
2348
|
+
], qt);
|
|
2349
|
+
var _o = Object.defineProperty, Eo = Object.getOwnPropertyDescriptor, _n = (r, e, t, i) => {
|
|
2350
2350
|
for (var n = i > 1 ? void 0 : i ? Eo(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
2351
2351
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2352
2352
|
return i && n && _o(e, t, n), n;
|
|
2353
2353
|
};
|
|
2354
|
-
let
|
|
2354
|
+
let Hr = class extends Oe {
|
|
2355
2355
|
reset() {
|
|
2356
2356
|
this.renderRoot.querySelectorAll("input[type='checkbox']").forEach((r) => {
|
|
2357
2357
|
r instanceof HTMLInputElement && (r.checked = !1);
|
|
@@ -2391,20 +2391,20 @@ let Br = class extends Oe {
|
|
|
2391
2391
|
`;
|
|
2392
2392
|
}
|
|
2393
2393
|
};
|
|
2394
|
-
|
|
2394
|
+
_n([
|
|
2395
2395
|
ke()
|
|
2396
|
-
],
|
|
2397
|
-
|
|
2396
|
+
], Hr.prototype, "filterObject", 2);
|
|
2397
|
+
Hr = _n([
|
|
2398
2398
|
Ge("eox-itemfilter-multiselect")
|
|
2399
|
-
],
|
|
2400
|
-
var Mo = "Expected a function",
|
|
2399
|
+
], Hr);
|
|
2400
|
+
var Mo = "Expected a function", Ji = 0 / 0, Ao = "[object Symbol]", So = /^\s+|\s+$/g, Oo = /^[-+]0x[0-9a-f]+$/i, Po = /^0b[01]+$/i, Co = /^0o[0-7]+$/i, ko = parseInt, Lo = typeof pt == "object" && pt && pt.Object === Object && pt, To = typeof self == "object" && self && self.Object === Object && self, Ro = Lo || To || Function("return this")(), Do = Object.prototype, Io = Do.toString, jo = Math.max, No = Math.min, Dr = function() {
|
|
2401
2401
|
return Ro.Date.now();
|
|
2402
2402
|
};
|
|
2403
2403
|
function Bo(r, e, t) {
|
|
2404
2404
|
var i, n, s, o, c, a, u = 0, g = !1, v = !1, _ = !0;
|
|
2405
2405
|
if (typeof r != "function")
|
|
2406
2406
|
throw new TypeError(Mo);
|
|
2407
|
-
e =
|
|
2407
|
+
e = Zi(e) || 0, Yr(t) && (g = !!t.leading, v = "maxWait" in t, s = v ? jo(Zi(t.maxWait) || 0, e) : s, _ = "trailing" in t ? !!t.trailing : _);
|
|
2408
2408
|
function E(w) {
|
|
2409
2409
|
var M = i, P = n;
|
|
2410
2410
|
return i = n = void 0, u = w, o = r.apply(P, M), o;
|
|
@@ -2421,7 +2421,7 @@ function Bo(r, e, t) {
|
|
|
2421
2421
|
return a === void 0 || M >= e || M < 0 || v && P >= s;
|
|
2422
2422
|
}
|
|
2423
2423
|
function te() {
|
|
2424
|
-
var w =
|
|
2424
|
+
var w = Dr();
|
|
2425
2425
|
if (ne(w))
|
|
2426
2426
|
return f(w);
|
|
2427
2427
|
c = setTimeout(te, F(w));
|
|
@@ -2433,10 +2433,10 @@ function Bo(r, e, t) {
|
|
|
2433
2433
|
c !== void 0 && clearTimeout(c), u = 0, i = a = n = c = void 0;
|
|
2434
2434
|
}
|
|
2435
2435
|
function b() {
|
|
2436
|
-
return c === void 0 ? o : f(
|
|
2436
|
+
return c === void 0 ? o : f(Dr());
|
|
2437
2437
|
}
|
|
2438
2438
|
function S() {
|
|
2439
|
-
var w =
|
|
2439
|
+
var w = Dr(), M = ne(w);
|
|
2440
2440
|
if (i = arguments, n = this, a = w, M) {
|
|
2441
2441
|
if (c === void 0)
|
|
2442
2442
|
return k(a);
|
|
@@ -2447,7 +2447,7 @@ function Bo(r, e, t) {
|
|
|
2447
2447
|
}
|
|
2448
2448
|
return S.cancel = p, S.flush = b, S;
|
|
2449
2449
|
}
|
|
2450
|
-
function
|
|
2450
|
+
function Yr(r) {
|
|
2451
2451
|
var e = typeof r;
|
|
2452
2452
|
return !!r && (e == "object" || e == "function");
|
|
2453
2453
|
}
|
|
@@ -2457,34 +2457,34 @@ function Fo(r) {
|
|
|
2457
2457
|
function Ho(r) {
|
|
2458
2458
|
return typeof r == "symbol" || Fo(r) && Io.call(r) == Ao;
|
|
2459
2459
|
}
|
|
2460
|
-
function
|
|
2460
|
+
function Zi(r) {
|
|
2461
2461
|
if (typeof r == "number")
|
|
2462
2462
|
return r;
|
|
2463
2463
|
if (Ho(r))
|
|
2464
|
-
return
|
|
2465
|
-
if (
|
|
2464
|
+
return Ji;
|
|
2465
|
+
if (Yr(r)) {
|
|
2466
2466
|
var e = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
2467
|
-
r =
|
|
2467
|
+
r = Yr(e) ? e + "" : e;
|
|
2468
2468
|
}
|
|
2469
2469
|
if (typeof r != "string")
|
|
2470
2470
|
return r === 0 ? r : +r;
|
|
2471
2471
|
r = r.replace(So, "");
|
|
2472
2472
|
var t = Po.test(r);
|
|
2473
|
-
return t || Co.test(r) ? ko(r.slice(2), t ? 2 : 8) : Oo.test(r) ?
|
|
2473
|
+
return t || Co.test(r) ? ko(r.slice(2), t ? 2 : 8) : Oo.test(r) ? Ji : +r;
|
|
2474
2474
|
}
|
|
2475
2475
|
var Yo = Bo;
|
|
2476
|
-
const
|
|
2477
|
-
var Uo = Object.defineProperty, zo = Object.getOwnPropertyDescriptor,
|
|
2476
|
+
const En = /* @__PURE__ */ ri(Yo);
|
|
2477
|
+
var Uo = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, Mn = (r, e, t, i) => {
|
|
2478
2478
|
for (var n = i > 1 ? void 0 : i ? zo(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
2479
2479
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2480
2480
|
return i && n && Uo(e, t, n), n;
|
|
2481
2481
|
};
|
|
2482
|
-
let
|
|
2482
|
+
let Ur = class extends Oe {
|
|
2483
2483
|
constructor() {
|
|
2484
2484
|
super(...arguments), this.inputHandler = (r) => {
|
|
2485
2485
|
let e, t;
|
|
2486
2486
|
[e, t] = r.detail.values, (e !== this.filterObject.state.min || t != this.filterObject.state.max) && ([this.filterObject.state.min, this.filterObject.state.max] = [e, t], this.filterObject.dirty = !0), this.dispatchEvent(new CustomEvent("filter")), this.requestUpdate();
|
|
2487
|
-
}, this.debouncedInputHandler =
|
|
2487
|
+
}, this.debouncedInputHandler = En(this.inputHandler, 0, {
|
|
2488
2488
|
leading: !0
|
|
2489
2489
|
});
|
|
2490
2490
|
}
|
|
@@ -2498,7 +2498,7 @@ let Hr = class extends Oe {
|
|
|
2498
2498
|
render() {
|
|
2499
2499
|
return he`
|
|
2500
2500
|
<div class="range-before">
|
|
2501
|
-
${this.filterObject.format === "date" ?
|
|
2501
|
+
${this.filterObject.format === "date" ? Gt.unix(this.filterObject.state.min) : this.filterObject.state.min}
|
|
2502
2502
|
</div>
|
|
2503
2503
|
<tc-range-slider
|
|
2504
2504
|
min="${this.filterObject.min}"
|
|
@@ -2509,23 +2509,23 @@ let Hr = class extends Oe {
|
|
|
2509
2509
|
@change="${this.debouncedInputHandler}"
|
|
2510
2510
|
></tc-range-slider>
|
|
2511
2511
|
<div class="range-after">
|
|
2512
|
-
${this.filterObject.format === "date" ?
|
|
2512
|
+
${this.filterObject.format === "date" ? Gt.unix(this.filterObject.state.max) : this.filterObject.state.max}
|
|
2513
2513
|
</div>
|
|
2514
2514
|
`;
|
|
2515
2515
|
}
|
|
2516
2516
|
};
|
|
2517
|
-
|
|
2517
|
+
Mn([
|
|
2518
2518
|
ke()
|
|
2519
|
-
],
|
|
2520
|
-
|
|
2519
|
+
], Ur.prototype, "filterObject", 2);
|
|
2520
|
+
Ur = Mn([
|
|
2521
2521
|
Ge("eox-itemfilter-range")
|
|
2522
|
-
],
|
|
2523
|
-
var Xo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor,
|
|
2522
|
+
], Ur);
|
|
2523
|
+
var Xo = Object.defineProperty, Vo = Object.getOwnPropertyDescriptor, An = (r, e, t, i) => {
|
|
2524
2524
|
for (var n = i > 1 ? void 0 : i ? Vo(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
2525
2525
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
2526
2526
|
return i && n && Xo(e, t, n), n;
|
|
2527
2527
|
};
|
|
2528
|
-
let
|
|
2528
|
+
let zr = class extends Oe {
|
|
2529
2529
|
reset() {
|
|
2530
2530
|
this.renderRoot.querySelectorAll("input[type='radio']").forEach((r) => {
|
|
2531
2531
|
r instanceof HTMLInputElement && (r.checked = !1);
|
|
@@ -2567,12 +2567,12 @@ let Yr = class extends Oe {
|
|
|
2567
2567
|
`;
|
|
2568
2568
|
}
|
|
2569
2569
|
};
|
|
2570
|
-
|
|
2570
|
+
An([
|
|
2571
2571
|
ke()
|
|
2572
|
-
],
|
|
2573
|
-
|
|
2572
|
+
], zr.prototype, "filterObject", 2);
|
|
2573
|
+
zr = An([
|
|
2574
2574
|
Ge("eox-itemfilter-select")
|
|
2575
|
-
],
|
|
2575
|
+
], zr);
|
|
2576
2576
|
/**
|
|
2577
2577
|
* @license
|
|
2578
2578
|
* Copyright 2020 Google LLC
|
|
@@ -2584,7 +2584,7 @@ const Wo = (r) => r.strings === void 0, Go = {}, qo = (r, e = Go) => r._$AH = e;
|
|
|
2584
2584
|
* Copyright 2020 Google LLC
|
|
2585
2585
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2586
2586
|
*/
|
|
2587
|
-
const Ko =
|
|
2587
|
+
const Ko = mn(class extends yn {
|
|
2588
2588
|
constructor(r) {
|
|
2589
2589
|
if (super(r), r.type !== et.PROPERTY && r.type !== et.ATTRIBUTE && r.type !== et.BOOLEAN_ATTRIBUTE)
|
|
2590
2590
|
throw Error("The `live` directive is not allowed on child or event bindings");
|
|
@@ -2609,7 +2609,7 @@ const Ko = vn(class extends mn {
|
|
|
2609
2609
|
return qo(r), e;
|
|
2610
2610
|
}
|
|
2611
2611
|
});
|
|
2612
|
-
var $e = 63710088e-1,
|
|
2612
|
+
var $e = 63710088e-1, si = {
|
|
2613
2613
|
centimeters: $e * 100,
|
|
2614
2614
|
centimetres: $e * 100,
|
|
2615
2615
|
degrees: $e / 111325,
|
|
@@ -2641,7 +2641,7 @@ var $e = 63710088e-1, ii = {
|
|
|
2641
2641
|
nauticalmiles: 1 / 1852,
|
|
2642
2642
|
radians: 1 / $e,
|
|
2643
2643
|
yards: 1.0936133
|
|
2644
|
-
},
|
|
2644
|
+
}, Xr = {
|
|
2645
2645
|
acres: 247105e-9,
|
|
2646
2646
|
centimeters: 1e4,
|
|
2647
2647
|
centimetres: 1e4,
|
|
@@ -2669,13 +2669,13 @@ function Zo(r, e, t) {
|
|
|
2669
2669
|
case "LineString":
|
|
2670
2670
|
return Ie(e).geometry;
|
|
2671
2671
|
case "Polygon":
|
|
2672
|
-
return
|
|
2672
|
+
return oi(e).geometry;
|
|
2673
2673
|
case "MultiPoint":
|
|
2674
|
-
return
|
|
2674
|
+
return Sn(e).geometry;
|
|
2675
2675
|
case "MultiLineString":
|
|
2676
|
-
return
|
|
2676
|
+
return ai(e).geometry;
|
|
2677
2677
|
case "MultiPolygon":
|
|
2678
|
-
return
|
|
2678
|
+
return On(e).geometry;
|
|
2679
2679
|
default:
|
|
2680
2680
|
throw new Error(r + " is invalid");
|
|
2681
2681
|
}
|
|
@@ -2687,7 +2687,7 @@ function Fe(r, e, t) {
|
|
|
2687
2687
|
throw new Error("coordinates must be an Array");
|
|
2688
2688
|
if (r.length < 2)
|
|
2689
2689
|
throw new Error("coordinates must be at least 2 numbers long");
|
|
2690
|
-
if (!
|
|
2690
|
+
if (!Kt(r[0]) || !Kt(r[1]))
|
|
2691
2691
|
throw new Error("coordinates must contain numbers");
|
|
2692
2692
|
var i = {
|
|
2693
2693
|
type: "Point",
|
|
@@ -2700,7 +2700,7 @@ function Qo(r, e, t) {
|
|
|
2700
2700
|
return Fe(i, e);
|
|
2701
2701
|
}), t);
|
|
2702
2702
|
}
|
|
2703
|
-
function
|
|
2703
|
+
function oi(r, e, t) {
|
|
2704
2704
|
t === void 0 && (t = {});
|
|
2705
2705
|
for (var i = 0, n = r; i < n.length; i++) {
|
|
2706
2706
|
var s = n[i];
|
|
@@ -2718,7 +2718,7 @@ function ni(r, e, t) {
|
|
|
2718
2718
|
}
|
|
2719
2719
|
function ea(r, e, t) {
|
|
2720
2720
|
return t === void 0 && (t = {}), We(r.map(function(i) {
|
|
2721
|
-
return
|
|
2721
|
+
return oi(i, e);
|
|
2722
2722
|
}), t);
|
|
2723
2723
|
}
|
|
2724
2724
|
function Ie(r, e, t) {
|
|
@@ -2740,7 +2740,7 @@ function We(r, e) {
|
|
|
2740
2740
|
var t = { type: "FeatureCollection" };
|
|
2741
2741
|
return e.id && (t.id = e.id), e.bbox && (t.bbox = e.bbox), t.features = r, t;
|
|
2742
2742
|
}
|
|
2743
|
-
function
|
|
2743
|
+
function ai(r, e, t) {
|
|
2744
2744
|
t === void 0 && (t = {});
|
|
2745
2745
|
var i = {
|
|
2746
2746
|
type: "MultiLineString",
|
|
@@ -2748,7 +2748,7 @@ function si(r, e, t) {
|
|
|
2748
2748
|
};
|
|
2749
2749
|
return Ce(i, e, t);
|
|
2750
2750
|
}
|
|
2751
|
-
function
|
|
2751
|
+
function Sn(r, e, t) {
|
|
2752
2752
|
t === void 0 && (t = {});
|
|
2753
2753
|
var i = {
|
|
2754
2754
|
type: "MultiPoint",
|
|
@@ -2756,7 +2756,7 @@ function An(r, e, t) {
|
|
|
2756
2756
|
};
|
|
2757
2757
|
return Ce(i, e, t);
|
|
2758
2758
|
}
|
|
2759
|
-
function
|
|
2759
|
+
function On(r, e, t) {
|
|
2760
2760
|
t === void 0 && (t = {});
|
|
2761
2761
|
var i = {
|
|
2762
2762
|
type: "MultiPolygon",
|
|
@@ -2778,28 +2778,28 @@ function ia(r, e) {
|
|
|
2778
2778
|
var t = Math.pow(10, e || 0);
|
|
2779
2779
|
return Math.round(r * t) / t;
|
|
2780
2780
|
}
|
|
2781
|
-
function
|
|
2781
|
+
function Pn(r, e) {
|
|
2782
2782
|
e === void 0 && (e = "kilometers");
|
|
2783
|
-
var t =
|
|
2783
|
+
var t = si[e];
|
|
2784
2784
|
if (!t)
|
|
2785
2785
|
throw new Error(e + " units is invalid");
|
|
2786
2786
|
return r * t;
|
|
2787
2787
|
}
|
|
2788
|
-
function
|
|
2788
|
+
function li(r, e) {
|
|
2789
2789
|
e === void 0 && (e = "kilometers");
|
|
2790
|
-
var t =
|
|
2790
|
+
var t = si[e];
|
|
2791
2791
|
if (!t)
|
|
2792
2792
|
throw new Error(e + " units is invalid");
|
|
2793
2793
|
return r / t;
|
|
2794
2794
|
}
|
|
2795
2795
|
function na(r, e) {
|
|
2796
|
-
return
|
|
2796
|
+
return Cn(li(r, e));
|
|
2797
2797
|
}
|
|
2798
2798
|
function sa(r) {
|
|
2799
2799
|
var e = r % 360;
|
|
2800
2800
|
return e < 0 && (e += 360), e;
|
|
2801
2801
|
}
|
|
2802
|
-
function
|
|
2802
|
+
function Cn(r) {
|
|
2803
2803
|
var e = r % (2 * Math.PI);
|
|
2804
2804
|
return e * 180 / Math.PI;
|
|
2805
2805
|
}
|
|
@@ -2810,23 +2810,23 @@ function oa(r) {
|
|
|
2810
2810
|
function aa(r, e, t) {
|
|
2811
2811
|
if (e === void 0 && (e = "kilometers"), t === void 0 && (t = "kilometers"), !(r >= 0))
|
|
2812
2812
|
throw new Error("length must be a positive number");
|
|
2813
|
-
return
|
|
2813
|
+
return Pn(li(r, e), t);
|
|
2814
2814
|
}
|
|
2815
2815
|
function la(r, e, t) {
|
|
2816
2816
|
if (e === void 0 && (e = "meters"), t === void 0 && (t = "kilometers"), !(r >= 0))
|
|
2817
2817
|
throw new Error("area must be a positive number");
|
|
2818
|
-
var i =
|
|
2818
|
+
var i = Xr[e];
|
|
2819
2819
|
if (!i)
|
|
2820
2820
|
throw new Error("invalid original units");
|
|
2821
|
-
var n =
|
|
2821
|
+
var n = Xr[t];
|
|
2822
2822
|
if (!n)
|
|
2823
2823
|
throw new Error("invalid final units");
|
|
2824
2824
|
return r / i * n;
|
|
2825
2825
|
}
|
|
2826
|
-
function
|
|
2826
|
+
function Kt(r) {
|
|
2827
2827
|
return !isNaN(r) && r !== null && !Array.isArray(r);
|
|
2828
2828
|
}
|
|
2829
|
-
function
|
|
2829
|
+
function ci(r) {
|
|
2830
2830
|
return !!r && r.constructor === Object;
|
|
2831
2831
|
}
|
|
2832
2832
|
function ca(r) {
|
|
@@ -2837,7 +2837,7 @@ function ca(r) {
|
|
|
2837
2837
|
if (r.length !== 4 && r.length !== 6)
|
|
2838
2838
|
throw new Error("bbox must be an Array of 4 or 6 numbers");
|
|
2839
2839
|
r.forEach(function(e) {
|
|
2840
|
-
if (!
|
|
2840
|
+
if (!Kt(e))
|
|
2841
2841
|
throw new Error("bbox must only contain numbers");
|
|
2842
2842
|
});
|
|
2843
2843
|
}
|
|
@@ -2849,38 +2849,38 @@ function ua(r) {
|
|
|
2849
2849
|
}
|
|
2850
2850
|
const ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2851
2851
|
__proto__: null,
|
|
2852
|
-
areaFactors:
|
|
2852
|
+
areaFactors: Xr,
|
|
2853
2853
|
bearingToAzimuth: sa,
|
|
2854
2854
|
convertArea: la,
|
|
2855
2855
|
convertLength: aa,
|
|
2856
2856
|
degreesToRadians: oa,
|
|
2857
2857
|
earthRadius: $e,
|
|
2858
|
-
factors:
|
|
2858
|
+
factors: si,
|
|
2859
2859
|
feature: Ce,
|
|
2860
2860
|
featureCollection: We,
|
|
2861
2861
|
geometry: Zo,
|
|
2862
2862
|
geometryCollection: ra,
|
|
2863
|
-
isNumber:
|
|
2864
|
-
isObject:
|
|
2863
|
+
isNumber: Kt,
|
|
2864
|
+
isObject: ci,
|
|
2865
2865
|
lengthToDegrees: na,
|
|
2866
|
-
lengthToRadians:
|
|
2866
|
+
lengthToRadians: li,
|
|
2867
2867
|
lineString: Ie,
|
|
2868
2868
|
lineStrings: ta,
|
|
2869
|
-
multiLineString:
|
|
2870
|
-
multiPoint:
|
|
2871
|
-
multiPolygon:
|
|
2869
|
+
multiLineString: ai,
|
|
2870
|
+
multiPoint: Sn,
|
|
2871
|
+
multiPolygon: On,
|
|
2872
2872
|
point: Fe,
|
|
2873
2873
|
points: Qo,
|
|
2874
|
-
polygon:
|
|
2874
|
+
polygon: oi,
|
|
2875
2875
|
polygons: ea,
|
|
2876
|
-
radiansToDegrees:
|
|
2877
|
-
radiansToLength:
|
|
2876
|
+
radiansToDegrees: Cn,
|
|
2877
|
+
radiansToLength: Pn,
|
|
2878
2878
|
round: ia,
|
|
2879
2879
|
unitsFactors: Jo,
|
|
2880
2880
|
validateBBox: ca,
|
|
2881
2881
|
validateId: ua
|
|
2882
2882
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2883
|
-
function
|
|
2883
|
+
function kn(r) {
|
|
2884
2884
|
if (!r)
|
|
2885
2885
|
throw new Error("coord is required");
|
|
2886
2886
|
if (!Array.isArray(r)) {
|
|
@@ -2893,7 +2893,7 @@ function Cn(r) {
|
|
|
2893
2893
|
return r;
|
|
2894
2894
|
throw new Error("coord must be GeoJSON Point or an Array of numbers");
|
|
2895
2895
|
}
|
|
2896
|
-
function
|
|
2896
|
+
function mt(r) {
|
|
2897
2897
|
if (Array.isArray(r))
|
|
2898
2898
|
return r;
|
|
2899
2899
|
if (r.type === "Feature") {
|
|
@@ -2903,7 +2903,7 @@ function vt(r) {
|
|
|
2903
2903
|
return r.coordinates;
|
|
2904
2904
|
throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array");
|
|
2905
2905
|
}
|
|
2906
|
-
function
|
|
2906
|
+
function yt(r) {
|
|
2907
2907
|
return r.type === "Feature" ? r.geometry : r;
|
|
2908
2908
|
}
|
|
2909
2909
|
function Pe(r, e, t) {
|
|
@@ -2911,19 +2911,19 @@ function Pe(r, e, t) {
|
|
|
2911
2911
|
throw new Error("point is required");
|
|
2912
2912
|
if (!e)
|
|
2913
2913
|
throw new Error("polygon is required");
|
|
2914
|
-
var i =
|
|
2914
|
+
var i = kn(r), n = yt(e), s = n.type, o = e.bbox, c = n.coordinates;
|
|
2915
2915
|
if (o && da(i, o) === !1)
|
|
2916
2916
|
return !1;
|
|
2917
2917
|
s === "Polygon" && (c = [c]);
|
|
2918
2918
|
for (var a = !1, u = 0; u < c.length && !a; u++)
|
|
2919
|
-
if (
|
|
2919
|
+
if (Qi(i, c[u][0], t.ignoreBoundary)) {
|
|
2920
2920
|
for (var g = !1, v = 1; v < c[u].length && !g; )
|
|
2921
|
-
|
|
2921
|
+
Qi(i, c[u][v], !t.ignoreBoundary) && (g = !0), v++;
|
|
2922
2922
|
g || (a = !0);
|
|
2923
2923
|
}
|
|
2924
2924
|
return a;
|
|
2925
2925
|
}
|
|
2926
|
-
function
|
|
2926
|
+
function Qi(r, e, t) {
|
|
2927
2927
|
var i = !1;
|
|
2928
2928
|
e[0][0] === e[e.length - 1][0] && e[0][1] === e[e.length - 1][1] && (e = e.slice(0, e.length - 1));
|
|
2929
2929
|
for (var n = 0, s = e.length - 1; n < e.length; s = n++) {
|
|
@@ -2938,7 +2938,7 @@ function Zi(r, e, t) {
|
|
|
2938
2938
|
function da(r, e) {
|
|
2939
2939
|
return e[0] <= r[0] && e[1] <= r[1] && e[2] >= r[0] && e[3] >= r[1];
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function bt(r, e, t) {
|
|
2942
2942
|
if (r !== null)
|
|
2943
2943
|
for (var i, n, s, o, c, a, u, g = 0, v = 0, _, E = r.type, k = E === "FeatureCollection", F = E === "Feature", ne = k ? r.features.length : 1, te = 0; te < ne; te++) {
|
|
2944
2944
|
u = k ? r.features[te].geometry : F ? r.geometry : r, _ = u ? u.type === "GeometryCollection" : !1, c = _ ? u.geometries.length : 1;
|
|
@@ -3015,7 +3015,7 @@ function yt(r, e, t) {
|
|
|
3015
3015
|
break;
|
|
3016
3016
|
case "GeometryCollection":
|
|
3017
3017
|
for (i = 0; i < o.geometries.length; i++)
|
|
3018
|
-
if (
|
|
3018
|
+
if (bt(o.geometries[i], e, t) === !1)
|
|
3019
3019
|
return !1;
|
|
3020
3020
|
break;
|
|
3021
3021
|
default:
|
|
@@ -3027,7 +3027,7 @@ function yt(r, e, t) {
|
|
|
3027
3027
|
}
|
|
3028
3028
|
function fa(r, e, t, i) {
|
|
3029
3029
|
var n = t;
|
|
3030
|
-
return
|
|
3030
|
+
return bt(
|
|
3031
3031
|
r,
|
|
3032
3032
|
function(s, o, c, a, u) {
|
|
3033
3033
|
o === 0 && t === void 0 ? n = s : n = e(
|
|
@@ -3042,7 +3042,7 @@ function fa(r, e, t, i) {
|
|
|
3042
3042
|
i
|
|
3043
3043
|
), n;
|
|
3044
3044
|
}
|
|
3045
|
-
function
|
|
3045
|
+
function Ln(r, e) {
|
|
3046
3046
|
var t;
|
|
3047
3047
|
switch (r.type) {
|
|
3048
3048
|
case "FeatureCollection":
|
|
@@ -3056,11 +3056,11 @@ function kn(r, e) {
|
|
|
3056
3056
|
}
|
|
3057
3057
|
function pa(r, e, t) {
|
|
3058
3058
|
var i = t;
|
|
3059
|
-
return
|
|
3059
|
+
return Ln(r, function(n, s) {
|
|
3060
3060
|
s === 0 && t === void 0 ? i = n : i = e(i, n, s);
|
|
3061
3061
|
}), i;
|
|
3062
3062
|
}
|
|
3063
|
-
function
|
|
3063
|
+
function Jt(r, e) {
|
|
3064
3064
|
if (r.type === "Feature")
|
|
3065
3065
|
e(r, 0);
|
|
3066
3066
|
else if (r.type === "FeatureCollection")
|
|
@@ -3069,17 +3069,17 @@ function Kt(r, e) {
|
|
|
3069
3069
|
}
|
|
3070
3070
|
function ga(r, e, t) {
|
|
3071
3071
|
var i = t;
|
|
3072
|
-
return
|
|
3072
|
+
return Jt(r, function(n, s) {
|
|
3073
3073
|
s === 0 && t === void 0 ? i = n : i = e(i, n, s);
|
|
3074
3074
|
}), i;
|
|
3075
3075
|
}
|
|
3076
3076
|
function va(r) {
|
|
3077
3077
|
var e = [];
|
|
3078
|
-
return
|
|
3078
|
+
return bt(r, function(t) {
|
|
3079
3079
|
e.push(t);
|
|
3080
3080
|
}), e;
|
|
3081
3081
|
}
|
|
3082
|
-
function
|
|
3082
|
+
function ui(r, e) {
|
|
3083
3083
|
var t, i, n, s, o, c, a, u, g, v, _ = 0, E = r.type === "FeatureCollection", k = r.type === "Feature", F = E ? r.features.length : 1;
|
|
3084
3084
|
for (t = 0; t < F; t++) {
|
|
3085
3085
|
for (c = E ? r.features[t].geometry : k ? r.geometry : r, u = E ? r.features[t].properties : k ? r.properties : {}, g = E ? r.features[t].bbox : k ? r.bbox : void 0, v = E ? r.features[t].id : k ? r.id : void 0, a = c ? c.type === "GeometryCollection" : !1, o = a ? c.geometries.length : 1, n = 0; n < o; n++) {
|
|
@@ -3132,7 +3132,7 @@ function li(r, e) {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
function ma(r, e, t) {
|
|
3134
3134
|
var i = t;
|
|
3135
|
-
return
|
|
3135
|
+
return ui(
|
|
3136
3136
|
r,
|
|
3137
3137
|
function(n, s, o, c, a) {
|
|
3138
3138
|
s === 0 && t === void 0 ? i = n : i = e(
|
|
@@ -3147,7 +3147,7 @@ function ma(r, e, t) {
|
|
|
3147
3147
|
), i;
|
|
3148
3148
|
}
|
|
3149
3149
|
function Ye(r, e) {
|
|
3150
|
-
|
|
3150
|
+
ui(r, function(t, i, n, s, o) {
|
|
3151
3151
|
var c = t === null ? null : t.type;
|
|
3152
3152
|
switch (c) {
|
|
3153
3153
|
case null:
|
|
@@ -3196,14 +3196,14 @@ function ya(r, e, t) {
|
|
|
3196
3196
|
}
|
|
3197
3197
|
), i;
|
|
3198
3198
|
}
|
|
3199
|
-
function
|
|
3199
|
+
function Tn(r, e) {
|
|
3200
3200
|
Ye(r, function(t, i, n) {
|
|
3201
3201
|
var s = 0;
|
|
3202
3202
|
if (t.geometry) {
|
|
3203
3203
|
var o = t.geometry.type;
|
|
3204
3204
|
if (!(o === "Point" || o === "MultiPoint")) {
|
|
3205
3205
|
var c, a = 0, u = 0, g = 0;
|
|
3206
|
-
if (
|
|
3206
|
+
if (bt(
|
|
3207
3207
|
t,
|
|
3208
3208
|
function(v, _, E, k, F) {
|
|
3209
3209
|
if (c === void 0 || i > a || k > u || F > g) {
|
|
@@ -3232,7 +3232,7 @@ function Ln(r, e) {
|
|
|
3232
3232
|
}
|
|
3233
3233
|
function ba(r, e, t) {
|
|
3234
3234
|
var i = t, n = !1;
|
|
3235
|
-
return
|
|
3235
|
+
return Tn(
|
|
3236
3236
|
r,
|
|
3237
3237
|
function(s, o, c, a, u) {
|
|
3238
3238
|
n === !1 && t === void 0 ? i = s : i = e(
|
|
@@ -3246,7 +3246,7 @@ function ba(r, e, t) {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
), i;
|
|
3248
3248
|
}
|
|
3249
|
-
function
|
|
3249
|
+
function Rn(r, e) {
|
|
3250
3250
|
if (!r)
|
|
3251
3251
|
throw new Error("geojson is required");
|
|
3252
3252
|
Ye(r, function(t, i, n) {
|
|
@@ -3273,7 +3273,7 @@ function Tn(r, e) {
|
|
|
3273
3273
|
}
|
|
3274
3274
|
function xa(r, e, t) {
|
|
3275
3275
|
var i = t;
|
|
3276
|
-
return
|
|
3276
|
+
return Rn(
|
|
3277
3277
|
r,
|
|
3278
3278
|
function(n, s, o, c) {
|
|
3279
3279
|
s === 0 && t === void 0 ? i = n : i = e(
|
|
@@ -3287,7 +3287,7 @@ function xa(r, e, t) {
|
|
|
3287
3287
|
), i;
|
|
3288
3288
|
}
|
|
3289
3289
|
function $a(r, e) {
|
|
3290
|
-
if (e = e || {}, !
|
|
3290
|
+
if (e = e || {}, !ci(e))
|
|
3291
3291
|
throw new Error("options is invalid");
|
|
3292
3292
|
var t = e.featureIndex || 0, i = e.multiFeatureIndex || 0, n = e.geometryIndex || 0, s = e.segmentIndex || 0, o = e.properties, c;
|
|
3293
3293
|
switch (r.type) {
|
|
@@ -3353,7 +3353,7 @@ function $a(r, e) {
|
|
|
3353
3353
|
throw new Error("geojson is invalid");
|
|
3354
3354
|
}
|
|
3355
3355
|
function wa(r, e) {
|
|
3356
|
-
if (e = e || {}, !
|
|
3356
|
+
if (e = e || {}, !ci(e))
|
|
3357
3357
|
throw new Error("options is invalid");
|
|
3358
3358
|
var t = e.featureIndex || 0, i = e.multiFeatureIndex || 0, n = e.geometryIndex || 0, s = e.coordIndex || 0, o = e.properties, c;
|
|
3359
3359
|
switch (r.type) {
|
|
@@ -3401,24 +3401,24 @@ function wa(r, e) {
|
|
|
3401
3401
|
const _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3402
3402
|
__proto__: null,
|
|
3403
3403
|
coordAll: va,
|
|
3404
|
-
coordEach:
|
|
3404
|
+
coordEach: bt,
|
|
3405
3405
|
coordReduce: fa,
|
|
3406
|
-
featureEach:
|
|
3406
|
+
featureEach: Jt,
|
|
3407
3407
|
featureReduce: ga,
|
|
3408
3408
|
findPoint: wa,
|
|
3409
3409
|
findSegment: $a,
|
|
3410
3410
|
flattenEach: Ye,
|
|
3411
3411
|
flattenReduce: ya,
|
|
3412
|
-
geomEach:
|
|
3412
|
+
geomEach: ui,
|
|
3413
3413
|
geomReduce: ma,
|
|
3414
|
-
lineEach:
|
|
3414
|
+
lineEach: Rn,
|
|
3415
3415
|
lineReduce: xa,
|
|
3416
|
-
propEach:
|
|
3416
|
+
propEach: Ln,
|
|
3417
3417
|
propReduce: pa,
|
|
3418
|
-
segmentEach:
|
|
3418
|
+
segmentEach: Tn,
|
|
3419
3419
|
segmentReduce: ba
|
|
3420
3420
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3421
|
-
function
|
|
3421
|
+
function en(r) {
|
|
3422
3422
|
if (!r)
|
|
3423
3423
|
throw new Error("geojson is required");
|
|
3424
3424
|
var e = [];
|
|
@@ -3431,10 +3431,10 @@ function Ea(r, e) {
|
|
|
3431
3431
|
if (i !== null) {
|
|
3432
3432
|
switch (i.type) {
|
|
3433
3433
|
case "Polygon":
|
|
3434
|
-
t =
|
|
3434
|
+
t = mt(i);
|
|
3435
3435
|
break;
|
|
3436
3436
|
case "LineString":
|
|
3437
|
-
t = [
|
|
3437
|
+
t = [mt(i)];
|
|
3438
3438
|
}
|
|
3439
3439
|
t.forEach(function(n) {
|
|
3440
3440
|
var s = Ma(n, r.properties);
|
|
@@ -3455,11 +3455,11 @@ function Aa(r, e) {
|
|
|
3455
3455
|
var t = r[0], i = r[1], n = e[0], s = e[1], o = t < n ? t : n, c = i < s ? i : s, a = t > n ? t : n, u = i > s ? i : s;
|
|
3456
3456
|
return [o, c, a, u];
|
|
3457
3457
|
}
|
|
3458
|
-
var
|
|
3458
|
+
var hi = { exports: {} }, Dn = { exports: {} };
|
|
3459
3459
|
(function(r, e) {
|
|
3460
3460
|
(function(t, i) {
|
|
3461
3461
|
r.exports = i();
|
|
3462
|
-
})(
|
|
3462
|
+
})(pt, function() {
|
|
3463
3463
|
function t(f, p, b, S, w) {
|
|
3464
3464
|
(function M(P, L, I, W, ee) {
|
|
3465
3465
|
for (; W > I; ) {
|
|
@@ -3686,12 +3686,12 @@ var ci = { exports: {} }, Rn = { exports: {} };
|
|
|
3686
3686
|
f[p].children.length === 0 ? p > 0 ? (b = f[p - 1].children).splice(b.indexOf(f[p]), 1) : this.clear() : c(f[p], this.toBBox);
|
|
3687
3687
|
}, s;
|
|
3688
3688
|
});
|
|
3689
|
-
})(
|
|
3690
|
-
var Sa =
|
|
3691
|
-
const Oa = /* @__PURE__ */
|
|
3689
|
+
})(Dn);
|
|
3690
|
+
var Sa = Dn.exports;
|
|
3691
|
+
const Oa = /* @__PURE__ */ ii(ha), Pa = /* @__PURE__ */ ii(_a);
|
|
3692
3692
|
function st(r) {
|
|
3693
3693
|
var e = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
|
|
3694
|
-
return
|
|
3694
|
+
return bt(r, function(t) {
|
|
3695
3695
|
e[0] > t[0] && (e[0] = t[0]), e[1] > t[1] && (e[1] = t[1]), e[2] < t[0] && (e[2] = t[0]), e[3] < t[1] && (e[3] = t[1]);
|
|
3696
3696
|
}), e;
|
|
3697
3697
|
}
|
|
@@ -3699,42 +3699,42 @@ st.default = st;
|
|
|
3699
3699
|
const Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3700
3700
|
__proto__: null,
|
|
3701
3701
|
default: st
|
|
3702
|
-
}, Symbol.toStringTag, { value: "Module" })), ka = /* @__PURE__ */
|
|
3703
|
-
var Be = Sa,
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
var
|
|
3707
|
-
function
|
|
3702
|
+
}, Symbol.toStringTag, { value: "Module" })), ka = /* @__PURE__ */ ii(Ca);
|
|
3703
|
+
var Be = Sa, In = Oa, jn = Pa, dt = ka.default, La = jn.featureEach;
|
|
3704
|
+
jn.coordEach;
|
|
3705
|
+
In.polygon;
|
|
3706
|
+
var tn = In.featureCollection;
|
|
3707
|
+
function Nn(r) {
|
|
3708
3708
|
var e = new Be(r);
|
|
3709
3709
|
return e.insert = function(t) {
|
|
3710
3710
|
if (t.type !== "Feature")
|
|
3711
3711
|
throw new Error("invalid feature");
|
|
3712
|
-
return t.bbox = t.bbox ? t.bbox :
|
|
3712
|
+
return t.bbox = t.bbox ? t.bbox : dt(t), Be.prototype.insert.call(this, t);
|
|
3713
3713
|
}, e.load = function(t) {
|
|
3714
3714
|
var i = [];
|
|
3715
3715
|
return Array.isArray(t) ? t.forEach(function(n) {
|
|
3716
3716
|
if (n.type !== "Feature")
|
|
3717
3717
|
throw new Error("invalid features");
|
|
3718
|
-
n.bbox = n.bbox ? n.bbox :
|
|
3718
|
+
n.bbox = n.bbox ? n.bbox : dt(n), i.push(n);
|
|
3719
3719
|
}) : La(t, function(n) {
|
|
3720
3720
|
if (n.type !== "Feature")
|
|
3721
3721
|
throw new Error("invalid features");
|
|
3722
|
-
n.bbox = n.bbox ? n.bbox :
|
|
3722
|
+
n.bbox = n.bbox ? n.bbox : dt(n), i.push(n);
|
|
3723
3723
|
}), Be.prototype.load.call(this, i);
|
|
3724
3724
|
}, e.remove = function(t, i) {
|
|
3725
3725
|
if (t.type !== "Feature")
|
|
3726
3726
|
throw new Error("invalid feature");
|
|
3727
|
-
return t.bbox = t.bbox ? t.bbox :
|
|
3727
|
+
return t.bbox = t.bbox ? t.bbox : dt(t), Be.prototype.remove.call(this, t, i);
|
|
3728
3728
|
}, e.clear = function() {
|
|
3729
3729
|
return Be.prototype.clear.call(this);
|
|
3730
3730
|
}, e.search = function(t) {
|
|
3731
3731
|
var i = Be.prototype.search.call(this, this.toBBox(t));
|
|
3732
|
-
return
|
|
3732
|
+
return tn(i);
|
|
3733
3733
|
}, e.collides = function(t) {
|
|
3734
3734
|
return Be.prototype.collides.call(this, this.toBBox(t));
|
|
3735
3735
|
}, e.all = function() {
|
|
3736
3736
|
var t = Be.prototype.all.call(this);
|
|
3737
|
-
return
|
|
3737
|
+
return tn(t);
|
|
3738
3738
|
}, e.toJSON = function() {
|
|
3739
3739
|
return Be.prototype.toJSON.call(this);
|
|
3740
3740
|
}, e.fromJSON = function(t) {
|
|
@@ -3748,9 +3748,9 @@ function jn(r) {
|
|
|
3748
3748
|
else if (Array.isArray(t) && t.length === 6)
|
|
3749
3749
|
i = [t[0], t[1], t[3], t[4]];
|
|
3750
3750
|
else if (t.type === "Feature")
|
|
3751
|
-
i =
|
|
3751
|
+
i = dt(t);
|
|
3752
3752
|
else if (t.type === "FeatureCollection")
|
|
3753
|
-
i =
|
|
3753
|
+
i = dt(t);
|
|
3754
3754
|
else
|
|
3755
3755
|
throw new Error("invalid geojson");
|
|
3756
3756
|
return {
|
|
@@ -3761,29 +3761,29 @@ function jn(r) {
|
|
|
3761
3761
|
};
|
|
3762
3762
|
}, e;
|
|
3763
3763
|
}
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
var Ta =
|
|
3767
|
-
const Ra = /* @__PURE__ */
|
|
3768
|
-
function
|
|
3764
|
+
hi.exports = Nn;
|
|
3765
|
+
hi.exports.default = Nn;
|
|
3766
|
+
var Ta = hi.exports;
|
|
3767
|
+
const Ra = /* @__PURE__ */ ri(Ta);
|
|
3768
|
+
function di(r, e) {
|
|
3769
3769
|
var t = {}, i = [];
|
|
3770
3770
|
if (r.type === "LineString" && (r = Ce(r)), e.type === "LineString" && (e = Ce(e)), r.type === "Feature" && e.type === "Feature" && r.geometry !== null && e.geometry !== null && r.geometry.type === "LineString" && e.geometry.type === "LineString" && r.geometry.coordinates.length === 2 && e.geometry.coordinates.length === 2) {
|
|
3771
|
-
var n =
|
|
3771
|
+
var n = rn(r, e);
|
|
3772
3772
|
return n && i.push(n), We(i);
|
|
3773
3773
|
}
|
|
3774
3774
|
var s = Ra();
|
|
3775
|
-
return s.load(
|
|
3776
|
-
|
|
3777
|
-
var a =
|
|
3775
|
+
return s.load(en(e)), Jt(en(r), function(o) {
|
|
3776
|
+
Jt(s.search(o), function(c) {
|
|
3777
|
+
var a = rn(o, c);
|
|
3778
3778
|
if (a) {
|
|
3779
|
-
var u =
|
|
3779
|
+
var u = mt(a).join(",");
|
|
3780
3780
|
t[u] || (t[u] = !0, i.push(a));
|
|
3781
3781
|
}
|
|
3782
3782
|
});
|
|
3783
3783
|
}), We(i);
|
|
3784
3784
|
}
|
|
3785
|
-
function
|
|
3786
|
-
var t =
|
|
3785
|
+
function rn(r, e) {
|
|
3786
|
+
var t = mt(r), i = mt(e);
|
|
3787
3787
|
if (t.length !== 2)
|
|
3788
3788
|
throw new Error("<intersects> line1 must only contain 2 coordinates");
|
|
3789
3789
|
if (i.length !== 2)
|
|
@@ -3798,9 +3798,9 @@ function tn(r, e) {
|
|
|
3798
3798
|
}
|
|
3799
3799
|
return null;
|
|
3800
3800
|
}
|
|
3801
|
-
function
|
|
3801
|
+
function Vr(r, e) {
|
|
3802
3802
|
e === void 0 && (e = {});
|
|
3803
|
-
var t =
|
|
3803
|
+
var t = yt(r);
|
|
3804
3804
|
switch (!e.properties && r.type === "Feature" && (e.properties = r.properties), t.type) {
|
|
3805
3805
|
case "Polygon":
|
|
3806
3806
|
return Da(t, e);
|
|
@@ -3812,18 +3812,18 @@ function zr(r, e) {
|
|
|
3812
3812
|
}
|
|
3813
3813
|
function Da(r, e) {
|
|
3814
3814
|
e === void 0 && (e = {});
|
|
3815
|
-
var t =
|
|
3816
|
-
return
|
|
3815
|
+
var t = yt(r), i = t.coordinates, n = e.properties ? e.properties : r.type === "Feature" ? r.properties : {};
|
|
3816
|
+
return Bn(i, n);
|
|
3817
3817
|
}
|
|
3818
3818
|
function Ia(r, e) {
|
|
3819
3819
|
e === void 0 && (e = {});
|
|
3820
|
-
var t =
|
|
3820
|
+
var t = yt(r), i = t.coordinates, n = e.properties ? e.properties : r.type === "Feature" ? r.properties : {}, s = [];
|
|
3821
3821
|
return i.forEach(function(o) {
|
|
3822
|
-
s.push(
|
|
3822
|
+
s.push(Bn(o, n));
|
|
3823
3823
|
}), We(s);
|
|
3824
3824
|
}
|
|
3825
|
-
function
|
|
3826
|
-
return r.length > 1 ?
|
|
3825
|
+
function Bn(r, e) {
|
|
3826
|
+
return r.length > 1 ? ai(r, e) : Ie(r[0], e);
|
|
3827
3827
|
}
|
|
3828
3828
|
function ja(r, e) {
|
|
3829
3829
|
var t = !0;
|
|
@@ -3842,7 +3842,7 @@ function Na(r, e) {
|
|
|
3842
3842
|
case "Point":
|
|
3843
3843
|
return !Ya(r.coordinates, e.coordinates);
|
|
3844
3844
|
case "LineString":
|
|
3845
|
-
return !
|
|
3845
|
+
return !nn(e, r);
|
|
3846
3846
|
case "Polygon":
|
|
3847
3847
|
return !Pe(r, e);
|
|
3848
3848
|
}
|
|
@@ -3850,11 +3850,11 @@ function Na(r, e) {
|
|
|
3850
3850
|
case "LineString":
|
|
3851
3851
|
switch (e.type) {
|
|
3852
3852
|
case "Point":
|
|
3853
|
-
return !
|
|
3853
|
+
return !nn(r, e);
|
|
3854
3854
|
case "LineString":
|
|
3855
3855
|
return !Ba(r, e);
|
|
3856
3856
|
case "Polygon":
|
|
3857
|
-
return !
|
|
3857
|
+
return !sn(e, r);
|
|
3858
3858
|
}
|
|
3859
3859
|
break;
|
|
3860
3860
|
case "Polygon":
|
|
@@ -3862,30 +3862,30 @@ function Na(r, e) {
|
|
|
3862
3862
|
case "Point":
|
|
3863
3863
|
return !Pe(e, r);
|
|
3864
3864
|
case "LineString":
|
|
3865
|
-
return !
|
|
3865
|
+
return !sn(r, e);
|
|
3866
3866
|
case "Polygon":
|
|
3867
3867
|
return !Fa(e, r);
|
|
3868
3868
|
}
|
|
3869
3869
|
}
|
|
3870
3870
|
return !1;
|
|
3871
3871
|
}
|
|
3872
|
-
function
|
|
3872
|
+
function nn(r, e) {
|
|
3873
3873
|
for (var t = 0; t < r.coordinates.length - 1; t++)
|
|
3874
3874
|
if (Ha(r.coordinates[t], r.coordinates[t + 1], e.coordinates))
|
|
3875
3875
|
return !0;
|
|
3876
3876
|
return !1;
|
|
3877
3877
|
}
|
|
3878
3878
|
function Ba(r, e) {
|
|
3879
|
-
var t =
|
|
3879
|
+
var t = di(r, e);
|
|
3880
3880
|
return t.features.length > 0;
|
|
3881
3881
|
}
|
|
3882
|
-
function
|
|
3882
|
+
function sn(r, e) {
|
|
3883
3883
|
for (var t = 0, i = e.coordinates; t < i.length; t++) {
|
|
3884
3884
|
var n = i[t];
|
|
3885
3885
|
if (Pe(n, r))
|
|
3886
3886
|
return !0;
|
|
3887
3887
|
}
|
|
3888
|
-
var s =
|
|
3888
|
+
var s = di(e, Vr(r));
|
|
3889
3889
|
return s.features.length > 0;
|
|
3890
3890
|
}
|
|
3891
3891
|
function Fa(r, e) {
|
|
@@ -3899,7 +3899,7 @@ function Fa(r, e) {
|
|
|
3899
3899
|
if (Pe(c, r))
|
|
3900
3900
|
return !0;
|
|
3901
3901
|
}
|
|
3902
|
-
var a =
|
|
3902
|
+
var a = di(Vr(r), Vr(e));
|
|
3903
3903
|
return a.features.length > 0;
|
|
3904
3904
|
}
|
|
3905
3905
|
function Ha(r, e, t) {
|
|
@@ -3919,9 +3919,9 @@ function Ua(r, e) {
|
|
|
3919
3919
|
});
|
|
3920
3920
|
}), t;
|
|
3921
3921
|
}
|
|
3922
|
-
function
|
|
3922
|
+
function Zt(r, e, t) {
|
|
3923
3923
|
t === void 0 && (t = {});
|
|
3924
|
-
for (var i =
|
|
3924
|
+
for (var i = kn(r), n = mt(e), s = 0; s < n.length - 1; s++) {
|
|
3925
3925
|
var o = !1;
|
|
3926
3926
|
if (t.ignoreEndVertices && (s === 0 && (o = "start"), s === n.length - 2 && (o = "end"), s === 0 && s + 1 === n.length - 1 && (o = "both")), za(n[s], n[s + 1], i, o, typeof t.epsilon > "u" ? null : t.epsilon))
|
|
3927
3927
|
return !0;
|
|
@@ -3947,14 +3947,14 @@ function za(r, e, t, i, n) {
|
|
|
3947
3947
|
return !1;
|
|
3948
3948
|
}
|
|
3949
3949
|
function Xa(r, e) {
|
|
3950
|
-
var t =
|
|
3950
|
+
var t = yt(r), i = yt(e), n = t.type, s = i.type;
|
|
3951
3951
|
switch (n) {
|
|
3952
3952
|
case "Point":
|
|
3953
3953
|
switch (s) {
|
|
3954
3954
|
case "MultiPoint":
|
|
3955
3955
|
return Va(t, i);
|
|
3956
3956
|
case "LineString":
|
|
3957
|
-
return
|
|
3957
|
+
return Zt(t, i, { ignoreEndVertices: !0 });
|
|
3958
3958
|
case "Polygon":
|
|
3959
3959
|
case "MultiPolygon":
|
|
3960
3960
|
return Pe(t, i, { ignoreBoundary: !0 });
|
|
@@ -3998,7 +3998,7 @@ function Xa(r, e) {
|
|
|
3998
3998
|
function Va(r, e) {
|
|
3999
3999
|
var t, i = !1;
|
|
4000
4000
|
for (t = 0; t < e.coordinates.length; t++)
|
|
4001
|
-
if (
|
|
4001
|
+
if (Hn(e.coordinates[t], r.coordinates)) {
|
|
4002
4002
|
i = !0;
|
|
4003
4003
|
break;
|
|
4004
4004
|
}
|
|
@@ -4007,7 +4007,7 @@ function Va(r, e) {
|
|
|
4007
4007
|
function Wa(r, e) {
|
|
4008
4008
|
for (var t = 0; t < r.coordinates.length; t++) {
|
|
4009
4009
|
for (var i = !1, n = 0; n < e.coordinates.length; n++)
|
|
4010
|
-
|
|
4010
|
+
Hn(r.coordinates[t], e.coordinates[n]) && (i = !0);
|
|
4011
4011
|
if (!i)
|
|
4012
4012
|
return !1;
|
|
4013
4013
|
}
|
|
@@ -4015,9 +4015,9 @@ function Wa(r, e) {
|
|
|
4015
4015
|
}
|
|
4016
4016
|
function Ga(r, e) {
|
|
4017
4017
|
for (var t = !1, i = 0; i < r.coordinates.length; i++) {
|
|
4018
|
-
if (!
|
|
4018
|
+
if (!Zt(r.coordinates[i], e))
|
|
4019
4019
|
return !1;
|
|
4020
|
-
t || (t =
|
|
4020
|
+
t || (t = Zt(r.coordinates[i], e, { ignoreEndVertices: !0 }));
|
|
4021
4021
|
}
|
|
4022
4022
|
return t;
|
|
4023
4023
|
}
|
|
@@ -4035,13 +4035,13 @@ function qa(r, e) {
|
|
|
4035
4035
|
}
|
|
4036
4036
|
function Ka(r, e) {
|
|
4037
4037
|
for (var t = 0; t < r.coordinates.length; t++)
|
|
4038
|
-
if (!
|
|
4038
|
+
if (!Zt(r.coordinates[t], e))
|
|
4039
4039
|
return !1;
|
|
4040
4040
|
return !0;
|
|
4041
4041
|
}
|
|
4042
4042
|
function Ja(r, e) {
|
|
4043
4043
|
var t = st(e), i = st(r);
|
|
4044
|
-
if (!
|
|
4044
|
+
if (!Fn(t, i))
|
|
4045
4045
|
return !1;
|
|
4046
4046
|
for (var n = !1, s = 0; s < r.coordinates.length - 1; s++) {
|
|
4047
4047
|
if (!Pe(r.coordinates[s], e))
|
|
@@ -4057,17 +4057,17 @@ function Ja(r, e) {
|
|
|
4057
4057
|
}
|
|
4058
4058
|
function Za(r, e) {
|
|
4059
4059
|
var t = st(r), i = st(e);
|
|
4060
|
-
if (!
|
|
4060
|
+
if (!Fn(i, t))
|
|
4061
4061
|
return !1;
|
|
4062
4062
|
for (var n = 0; n < r.coordinates[0].length; n++)
|
|
4063
4063
|
if (!Pe(r.coordinates[0][n], e))
|
|
4064
4064
|
return !1;
|
|
4065
4065
|
return !0;
|
|
4066
4066
|
}
|
|
4067
|
-
function
|
|
4067
|
+
function Fn(r, e) {
|
|
4068
4068
|
return !(r[0] > e[0] || r[2] < e[2] || r[1] > e[1] || r[3] < e[3]);
|
|
4069
4069
|
}
|
|
4070
|
-
function
|
|
4070
|
+
function Hn(r, e) {
|
|
4071
4071
|
return r[0] === e[0] && r[1] === e[1];
|
|
4072
4072
|
}
|
|
4073
4073
|
function Qa(r, e) {
|
|
@@ -4079,7 +4079,7 @@ var el = Object.defineProperty, tl = Object.getOwnPropertyDescriptor, Ct = (r, e
|
|
|
4079
4079
|
return i && n && el(e, t, n), n;
|
|
4080
4080
|
};
|
|
4081
4081
|
const rl = (r, e) => e ? Ua(r, e) : !0, il = (r, e) => e ? Xa(r, e) : !0;
|
|
4082
|
-
let
|
|
4082
|
+
let Wr = class extends Oe {
|
|
4083
4083
|
reset() {
|
|
4084
4084
|
this.filterObject.state.geometry = void 0;
|
|
4085
4085
|
const r = this.renderRoot.querySelector(
|
|
@@ -4131,11 +4131,11 @@ let Xr = class extends Oe {
|
|
|
4131
4131
|
};
|
|
4132
4132
|
Ct([
|
|
4133
4133
|
ke()
|
|
4134
|
-
],
|
|
4135
|
-
|
|
4134
|
+
], Wr.prototype, "filterObject", 2);
|
|
4135
|
+
Wr = Ct([
|
|
4136
4136
|
Ge("eox-itemfilter-spatial")
|
|
4137
|
-
],
|
|
4138
|
-
let
|
|
4137
|
+
], Wr);
|
|
4138
|
+
let Qt = class extends Oe {
|
|
4139
4139
|
render() {
|
|
4140
4140
|
return he`<eox-map part="map" style="height: 400px"></eox-map>`;
|
|
4141
4141
|
}
|
|
@@ -4215,26 +4215,26 @@ let Zt = class extends Oe {
|
|
|
4215
4215
|
};
|
|
4216
4216
|
Ct([
|
|
4217
4217
|
ke()
|
|
4218
|
-
],
|
|
4218
|
+
], Qt.prototype, "geometry", 2);
|
|
4219
4219
|
Ct([
|
|
4220
4220
|
Pt()
|
|
4221
|
-
],
|
|
4222
|
-
|
|
4221
|
+
], Qt.prototype, "eoxMap", 2);
|
|
4222
|
+
Qt = Ct([
|
|
4223
4223
|
Ge("eox-itemfilter-spatial-filter")
|
|
4224
|
-
],
|
|
4225
|
-
var nl = Object.defineProperty, sl = Object.getOwnPropertyDescriptor,
|
|
4224
|
+
], Qt);
|
|
4225
|
+
var nl = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Yn = (r, e, t, i) => {
|
|
4226
4226
|
for (var n = i > 1 ? void 0 : i ? sl(e, t) : e, s = r.length - 1, o; s >= 0; s--)
|
|
4227
4227
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
4228
4228
|
return i && n && nl(e, t, n), n;
|
|
4229
4229
|
};
|
|
4230
|
-
let
|
|
4230
|
+
let Gr = class extends Oe {
|
|
4231
4231
|
constructor() {
|
|
4232
4232
|
super(...arguments), this.inputHandler = () => {
|
|
4233
4233
|
const r = this.renderRoot.querySelector("input[type='text']");
|
|
4234
4234
|
this.filterObject.keys.forEach((e) => {
|
|
4235
4235
|
this.filterObject.state[e] = r.value;
|
|
4236
4236
|
}), this.filterObject.dirty = !0, this.dispatchEvent(new CustomEvent("filter"));
|
|
4237
|
-
}, this.debouncedInputHandler =
|
|
4237
|
+
}, this.debouncedInputHandler = En(this.inputHandler, 500, {
|
|
4238
4238
|
leading: !0
|
|
4239
4239
|
});
|
|
4240
4240
|
}
|
|
@@ -4261,14 +4261,14 @@ let Vr = class extends Oe {
|
|
|
4261
4261
|
`;
|
|
4262
4262
|
}
|
|
4263
4263
|
};
|
|
4264
|
-
|
|
4264
|
+
Yn([
|
|
4265
4265
|
ke()
|
|
4266
|
-
],
|
|
4267
|
-
|
|
4266
|
+
], Gr.prototype, "filterObject", 2);
|
|
4267
|
+
Gr = Yn([
|
|
4268
4268
|
Ge("eox-itemfilter-text")
|
|
4269
|
-
],
|
|
4269
|
+
], Gr);
|
|
4270
4270
|
function Ue(r) {
|
|
4271
|
-
return Array.isArray ? Array.isArray(r) :
|
|
4271
|
+
return Array.isArray ? Array.isArray(r) : Xn(r) === "[object Array]";
|
|
4272
4272
|
}
|
|
4273
4273
|
const ol = 1 / 0;
|
|
4274
4274
|
function al(r) {
|
|
@@ -4283,34 +4283,34 @@ function ll(r) {
|
|
|
4283
4283
|
function He(r) {
|
|
4284
4284
|
return typeof r == "string";
|
|
4285
4285
|
}
|
|
4286
|
-
function
|
|
4286
|
+
function Un(r) {
|
|
4287
4287
|
return typeof r == "number";
|
|
4288
4288
|
}
|
|
4289
4289
|
function cl(r) {
|
|
4290
|
-
return r === !0 || r === !1 || ul(r) &&
|
|
4290
|
+
return r === !0 || r === !1 || ul(r) && Xn(r) == "[object Boolean]";
|
|
4291
4291
|
}
|
|
4292
|
-
function
|
|
4292
|
+
function zn(r) {
|
|
4293
4293
|
return typeof r == "object";
|
|
4294
4294
|
}
|
|
4295
4295
|
function ul(r) {
|
|
4296
|
-
return
|
|
4296
|
+
return zn(r) && r !== null;
|
|
4297
4297
|
}
|
|
4298
4298
|
function Me(r) {
|
|
4299
4299
|
return r != null;
|
|
4300
4300
|
}
|
|
4301
|
-
function
|
|
4301
|
+
function Ir(r) {
|
|
4302
4302
|
return !r.trim().length;
|
|
4303
4303
|
}
|
|
4304
|
-
function
|
|
4304
|
+
function Xn(r) {
|
|
4305
4305
|
return r == null ? r === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(r);
|
|
4306
4306
|
}
|
|
4307
|
-
const hl = "Incorrect 'index' type", dl = (r) => `Invalid value for key ${r}`, fl = (r) => `Pattern length exceeds max of ${r}.`, pl = (r) => `Missing ${r} property in key`, gl = (r) => `Property 'weight' in key '${r}' must be a positive integer`,
|
|
4307
|
+
const hl = "Incorrect 'index' type", dl = (r) => `Invalid value for key ${r}`, fl = (r) => `Pattern length exceeds max of ${r}.`, pl = (r) => `Missing ${r} property in key`, gl = (r) => `Property 'weight' in key '${r}' must be a positive integer`, on = Object.prototype.hasOwnProperty;
|
|
4308
4308
|
class vl {
|
|
4309
4309
|
constructor(e) {
|
|
4310
4310
|
this._keys = [], this._keyMap = {};
|
|
4311
4311
|
let t = 0;
|
|
4312
4312
|
e.forEach((i) => {
|
|
4313
|
-
let n =
|
|
4313
|
+
let n = Vn(i);
|
|
4314
4314
|
t += n.weight, this._keys.push(n), this._keyMap[n.id] = n, t += n.weight;
|
|
4315
4315
|
}), this._keys.forEach((i) => {
|
|
4316
4316
|
i.weight /= t;
|
|
@@ -4326,24 +4326,24 @@ class vl {
|
|
|
4326
4326
|
return JSON.stringify(this._keys);
|
|
4327
4327
|
}
|
|
4328
4328
|
}
|
|
4329
|
-
function
|
|
4329
|
+
function Vn(r) {
|
|
4330
4330
|
let e = null, t = null, i = null, n = 1, s = null;
|
|
4331
4331
|
if (He(r) || Ue(r))
|
|
4332
|
-
i = r, e =
|
|
4332
|
+
i = r, e = an(r), t = qr(r);
|
|
4333
4333
|
else {
|
|
4334
|
-
if (!
|
|
4334
|
+
if (!on.call(r, "name"))
|
|
4335
4335
|
throw new Error(pl("name"));
|
|
4336
4336
|
const o = r.name;
|
|
4337
|
-
if (i = o,
|
|
4337
|
+
if (i = o, on.call(r, "weight") && (n = r.weight, n <= 0))
|
|
4338
4338
|
throw new Error(gl(o));
|
|
4339
|
-
e =
|
|
4339
|
+
e = an(o), t = qr(o), s = r.getFn;
|
|
4340
4340
|
}
|
|
4341
4341
|
return { path: e, id: t, weight: n, src: i, getFn: s };
|
|
4342
4342
|
}
|
|
4343
|
-
function
|
|
4343
|
+
function an(r) {
|
|
4344
4344
|
return Ue(r) ? r : r.split(".");
|
|
4345
4345
|
}
|
|
4346
|
-
function
|
|
4346
|
+
function qr(r) {
|
|
4347
4347
|
return Ue(r) ? r.join(".") : r;
|
|
4348
4348
|
}
|
|
4349
4349
|
function ml(r, e) {
|
|
@@ -4357,7 +4357,7 @@ function ml(r, e) {
|
|
|
4357
4357
|
const u = s[a];
|
|
4358
4358
|
if (!Me(u))
|
|
4359
4359
|
return;
|
|
4360
|
-
if (c === o.length - 1 && (He(u) ||
|
|
4360
|
+
if (c === o.length - 1 && (He(u) || Un(u) || cl(u)))
|
|
4361
4361
|
t.push(ll(u));
|
|
4362
4362
|
else if (Ue(u)) {
|
|
4363
4363
|
i = !0;
|
|
@@ -4442,7 +4442,7 @@ function _l(r = 1, e = 3) {
|
|
|
4442
4442
|
}
|
|
4443
4443
|
};
|
|
4444
4444
|
}
|
|
4445
|
-
class
|
|
4445
|
+
class fi {
|
|
4446
4446
|
constructor({
|
|
4447
4447
|
getFn: e = V.getFn,
|
|
4448
4448
|
fieldNormWeight: t = V.fieldNormWeight
|
|
@@ -4485,7 +4485,7 @@ class hi {
|
|
|
4485
4485
|
return this.records.length;
|
|
4486
4486
|
}
|
|
4487
4487
|
_addString(e, t) {
|
|
4488
|
-
if (!Me(e) ||
|
|
4488
|
+
if (!Me(e) || Ir(e))
|
|
4489
4489
|
return;
|
|
4490
4490
|
let i = {
|
|
4491
4491
|
v: e,
|
|
@@ -4505,7 +4505,7 @@ class hi {
|
|
|
4505
4505
|
for (; a.length; ) {
|
|
4506
4506
|
const { nestedArrIndex: u, value: g } = a.pop();
|
|
4507
4507
|
if (Me(g))
|
|
4508
|
-
if (He(g) && !
|
|
4508
|
+
if (He(g) && !Ir(g)) {
|
|
4509
4509
|
let v = {
|
|
4510
4510
|
v: g,
|
|
4511
4511
|
i: u,
|
|
@@ -4521,7 +4521,7 @@ class hi {
|
|
|
4521
4521
|
});
|
|
4522
4522
|
}
|
|
4523
4523
|
i.$[s] = c;
|
|
4524
|
-
} else if (He(o) && !
|
|
4524
|
+
} else if (He(o) && !Ir(o)) {
|
|
4525
4525
|
let c = {
|
|
4526
4526
|
v: o,
|
|
4527
4527
|
n: this.norm.get(o)
|
|
@@ -4538,15 +4538,15 @@ class hi {
|
|
|
4538
4538
|
};
|
|
4539
4539
|
}
|
|
4540
4540
|
}
|
|
4541
|
-
function
|
|
4542
|
-
const n = new
|
|
4543
|
-
return n.setKeys(r.map(
|
|
4541
|
+
function Wn(r, e, { getFn: t = V.getFn, fieldNormWeight: i = V.fieldNormWeight } = {}) {
|
|
4542
|
+
const n = new fi({ getFn: t, fieldNormWeight: i });
|
|
4543
|
+
return n.setKeys(r.map(Vn)), n.setSources(e), n.create(), n;
|
|
4544
4544
|
}
|
|
4545
4545
|
function El(r, { getFn: e = V.getFn, fieldNormWeight: t = V.fieldNormWeight } = {}) {
|
|
4546
|
-
const { keys: i, records: n } = r, s = new
|
|
4546
|
+
const { keys: i, records: n } = r, s = new fi({ getFn: e, fieldNormWeight: t });
|
|
4547
4547
|
return s.setKeys(i), s.setIndexRecords(n), s;
|
|
4548
4548
|
}
|
|
4549
|
-
function
|
|
4549
|
+
function zt(r, {
|
|
4550
4550
|
errors: e = 0,
|
|
4551
4551
|
currentLocation: t = 0,
|
|
4552
4552
|
expectedLocation: i = 0,
|
|
@@ -4584,7 +4584,7 @@ function Al(r, e, t, {
|
|
|
4584
4584
|
const F = c > 1 || a, ne = F ? Array(v) : [];
|
|
4585
4585
|
let te;
|
|
4586
4586
|
for (; (te = r.indexOf(e, k)) > -1; ) {
|
|
4587
|
-
let M =
|
|
4587
|
+
let M = zt(e, {
|
|
4588
4588
|
currentLocation: te,
|
|
4589
4589
|
expectedLocation: _,
|
|
4590
4590
|
distance: n,
|
|
@@ -4602,7 +4602,7 @@ function Al(r, e, t, {
|
|
|
4602
4602
|
for (let M = 0; M < g; M += 1) {
|
|
4603
4603
|
let P = 0, L = b;
|
|
4604
4604
|
for (; P < L; )
|
|
4605
|
-
|
|
4605
|
+
zt(e, {
|
|
4606
4606
|
errors: M,
|
|
4607
4607
|
currentLocation: _ + L,
|
|
4608
4608
|
expectedLocation: _,
|
|
@@ -4614,7 +4614,7 @@ function Al(r, e, t, {
|
|
|
4614
4614
|
ee[W + 1] = (1 << M) - 1;
|
|
4615
4615
|
for (let $ = W; $ >= I; $ -= 1) {
|
|
4616
4616
|
let A = $ - 1, N = t[r.charAt(A)];
|
|
4617
|
-
if (F && (ne[A] = +!!N), ee[$] = (ee[$ + 1] << 1 | 1) & N, M && (ee[$] |= (f[$ + 1] | f[$]) << 1 | 1 | f[$ + 1]), ee[$] & S && (p =
|
|
4617
|
+
if (F && (ne[A] = +!!N), ee[$] = (ee[$ + 1] << 1 | 1) & N, M && (ee[$] |= (f[$ + 1] | f[$]) << 1 | 1 | f[$ + 1]), ee[$] & S && (p = zt(e, {
|
|
4618
4618
|
errors: M,
|
|
4619
4619
|
currentLocation: A,
|
|
4620
4620
|
expectedLocation: _,
|
|
@@ -4626,7 +4626,7 @@ function Al(r, e, t, {
|
|
|
4626
4626
|
I = Math.max(1, 2 * _ - k);
|
|
4627
4627
|
}
|
|
4628
4628
|
}
|
|
4629
|
-
if (
|
|
4629
|
+
if (zt(e, {
|
|
4630
4630
|
errors: M + 1,
|
|
4631
4631
|
currentLocation: _,
|
|
4632
4632
|
expectedLocation: _,
|
|
@@ -4655,7 +4655,7 @@ function Sl(r) {
|
|
|
4655
4655
|
}
|
|
4656
4656
|
return e;
|
|
4657
4657
|
}
|
|
4658
|
-
class
|
|
4658
|
+
class Gn {
|
|
4659
4659
|
constructor(e, {
|
|
4660
4660
|
location: t = V.location,
|
|
4661
4661
|
threshold: i = V.threshold,
|
|
@@ -4738,15 +4738,15 @@ class qe {
|
|
|
4738
4738
|
this.pattern = e;
|
|
4739
4739
|
}
|
|
4740
4740
|
static isMultiMatch(e) {
|
|
4741
|
-
return
|
|
4741
|
+
return ln(e, this.multiRegex);
|
|
4742
4742
|
}
|
|
4743
4743
|
static isSingleMatch(e) {
|
|
4744
|
-
return
|
|
4744
|
+
return ln(e, this.singleRegex);
|
|
4745
4745
|
}
|
|
4746
4746
|
search() {
|
|
4747
4747
|
}
|
|
4748
4748
|
}
|
|
4749
|
-
function
|
|
4749
|
+
function ln(r, e) {
|
|
4750
4750
|
const t = r.match(e);
|
|
4751
4751
|
return t ? t[1] : null;
|
|
4752
4752
|
}
|
|
@@ -4882,7 +4882,7 @@ class Tl extends qe {
|
|
|
4882
4882
|
};
|
|
4883
4883
|
}
|
|
4884
4884
|
}
|
|
4885
|
-
class
|
|
4885
|
+
class qn extends qe {
|
|
4886
4886
|
constructor(e, {
|
|
4887
4887
|
location: t = V.location,
|
|
4888
4888
|
threshold: i = V.threshold,
|
|
@@ -4893,7 +4893,7 @@ class Gn extends qe {
|
|
|
4893
4893
|
isCaseSensitive: a = V.isCaseSensitive,
|
|
4894
4894
|
ignoreLocation: u = V.ignoreLocation
|
|
4895
4895
|
} = {}) {
|
|
4896
|
-
super(e), this._bitapSearch = new
|
|
4896
|
+
super(e), this._bitapSearch = new Gn(e, {
|
|
4897
4897
|
location: t,
|
|
4898
4898
|
threshold: i,
|
|
4899
4899
|
distance: n,
|
|
@@ -4917,7 +4917,7 @@ class Gn extends qe {
|
|
|
4917
4917
|
return this._bitapSearch.searchIn(e);
|
|
4918
4918
|
}
|
|
4919
4919
|
}
|
|
4920
|
-
class
|
|
4920
|
+
class Kn extends qe {
|
|
4921
4921
|
constructor(e) {
|
|
4922
4922
|
super(e);
|
|
4923
4923
|
}
|
|
@@ -4943,30 +4943,30 @@ class qn extends qe {
|
|
|
4943
4943
|
};
|
|
4944
4944
|
}
|
|
4945
4945
|
}
|
|
4946
|
-
const
|
|
4946
|
+
const Kr = [
|
|
4947
4947
|
Ol,
|
|
4948
|
-
|
|
4948
|
+
Kn,
|
|
4949
4949
|
Cl,
|
|
4950
4950
|
kl,
|
|
4951
4951
|
Tl,
|
|
4952
4952
|
Ll,
|
|
4953
4953
|
Pl,
|
|
4954
|
-
|
|
4955
|
-
],
|
|
4954
|
+
qn
|
|
4955
|
+
], cn = Kr.length, Rl = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Dl = "|";
|
|
4956
4956
|
function Il(r, e = {}) {
|
|
4957
4957
|
return r.split(Dl).map((t) => {
|
|
4958
4958
|
let i = t.trim().split(Rl).filter((s) => s && !!s.trim()), n = [];
|
|
4959
4959
|
for (let s = 0, o = i.length; s < o; s += 1) {
|
|
4960
4960
|
const c = i[s];
|
|
4961
4961
|
let a = !1, u = -1;
|
|
4962
|
-
for (; !a && ++u <
|
|
4963
|
-
const g =
|
|
4962
|
+
for (; !a && ++u < cn; ) {
|
|
4963
|
+
const g = Kr[u];
|
|
4964
4964
|
let v = g.isMultiMatch(c);
|
|
4965
4965
|
v && (n.push(new g(v, e)), a = !0);
|
|
4966
4966
|
}
|
|
4967
4967
|
if (!a)
|
|
4968
|
-
for (u = -1; ++u <
|
|
4969
|
-
const g =
|
|
4968
|
+
for (u = -1; ++u < cn; ) {
|
|
4969
|
+
const g = Kr[u];
|
|
4970
4970
|
let v = g.isSingleMatch(c);
|
|
4971
4971
|
if (v) {
|
|
4972
4972
|
n.push(new g(v, e));
|
|
@@ -4977,7 +4977,7 @@ function Il(r, e = {}) {
|
|
|
4977
4977
|
return n;
|
|
4978
4978
|
});
|
|
4979
4979
|
}
|
|
4980
|
-
const jl = /* @__PURE__ */ new Set([
|
|
4980
|
+
const jl = /* @__PURE__ */ new Set([qn.type, Kn.type]);
|
|
4981
4981
|
class Nl {
|
|
4982
4982
|
constructor(e, {
|
|
4983
4983
|
isCaseSensitive: t = V.isCaseSensitive,
|
|
@@ -5042,44 +5042,44 @@ class Nl {
|
|
|
5042
5042
|
};
|
|
5043
5043
|
}
|
|
5044
5044
|
}
|
|
5045
|
-
const
|
|
5045
|
+
const Jr = [];
|
|
5046
5046
|
function Bl(...r) {
|
|
5047
|
-
|
|
5047
|
+
Jr.push(...r);
|
|
5048
5048
|
}
|
|
5049
|
-
function
|
|
5050
|
-
for (let t = 0, i =
|
|
5051
|
-
let n =
|
|
5049
|
+
function Zr(r, e) {
|
|
5050
|
+
for (let t = 0, i = Jr.length; t < i; t += 1) {
|
|
5051
|
+
let n = Jr[t];
|
|
5052
5052
|
if (n.condition(r, e))
|
|
5053
5053
|
return new n(r, e);
|
|
5054
5054
|
}
|
|
5055
|
-
return new
|
|
5055
|
+
return new Gn(r, e);
|
|
5056
5056
|
}
|
|
5057
|
-
const
|
|
5057
|
+
const er = {
|
|
5058
5058
|
AND: "$and",
|
|
5059
5059
|
OR: "$or"
|
|
5060
|
-
},
|
|
5060
|
+
}, Qr = {
|
|
5061
5061
|
PATH: "$path",
|
|
5062
5062
|
PATTERN: "$val"
|
|
5063
|
-
},
|
|
5064
|
-
[
|
|
5063
|
+
}, ei = (r) => !!(r[er.AND] || r[er.OR]), Fl = (r) => !!r[Qr.PATH], Hl = (r) => !Ue(r) && zn(r) && !ei(r), un = (r) => ({
|
|
5064
|
+
[er.AND]: Object.keys(r).map((e) => ({
|
|
5065
5065
|
[e]: r[e]
|
|
5066
5066
|
}))
|
|
5067
5067
|
});
|
|
5068
|
-
function
|
|
5068
|
+
function Jn(r, e, { auto: t = !0 } = {}) {
|
|
5069
5069
|
const i = (n) => {
|
|
5070
5070
|
let s = Object.keys(n);
|
|
5071
5071
|
const o = Fl(n);
|
|
5072
|
-
if (!o && s.length > 1 && !
|
|
5073
|
-
return i(
|
|
5072
|
+
if (!o && s.length > 1 && !ei(n))
|
|
5073
|
+
return i(un(n));
|
|
5074
5074
|
if (Hl(n)) {
|
|
5075
|
-
const a = o ? n[
|
|
5075
|
+
const a = o ? n[Qr.PATH] : s[0], u = o ? n[Qr.PATTERN] : n[a];
|
|
5076
5076
|
if (!He(u))
|
|
5077
5077
|
throw new Error(dl(a));
|
|
5078
5078
|
const g = {
|
|
5079
|
-
keyId:
|
|
5079
|
+
keyId: qr(a),
|
|
5080
5080
|
pattern: u
|
|
5081
5081
|
};
|
|
5082
|
-
return t && (g.searcher =
|
|
5082
|
+
return t && (g.searcher = Zr(u, e)), g;
|
|
5083
5083
|
}
|
|
5084
5084
|
let c = {
|
|
5085
5085
|
children: [],
|
|
@@ -5092,7 +5092,7 @@ function Kn(r, e, { auto: t = !0 } = {}) {
|
|
|
5092
5092
|
});
|
|
5093
5093
|
}), c;
|
|
5094
5094
|
};
|
|
5095
|
-
return
|
|
5095
|
+
return ei(r) || (r = un(r)), i(r);
|
|
5096
5096
|
}
|
|
5097
5097
|
function Yl(r, { ignoreFieldNorm: e = V.ignoreFieldNorm }) {
|
|
5098
5098
|
r.forEach((t) => {
|
|
@@ -5137,14 +5137,14 @@ function Xl(r, e, {
|
|
|
5137
5137
|
}), c;
|
|
5138
5138
|
});
|
|
5139
5139
|
}
|
|
5140
|
-
class
|
|
5140
|
+
class xt {
|
|
5141
5141
|
constructor(e, t = {}, i) {
|
|
5142
5142
|
this.options = { ...V, ...t }, this.options.useExtendedSearch, this._keyStore = new vl(this.options.keys), this.setCollection(e, i);
|
|
5143
5143
|
}
|
|
5144
5144
|
setCollection(e, t) {
|
|
5145
|
-
if (this._docs = e, t && !(t instanceof
|
|
5145
|
+
if (this._docs = e, t && !(t instanceof fi))
|
|
5146
5146
|
throw new Error(hl);
|
|
5147
|
-
this._myIndex = t ||
|
|
5147
|
+
this._myIndex = t || Wn(this.options.keys, this._docs, {
|
|
5148
5148
|
getFn: this.options.getFn,
|
|
5149
5149
|
fieldNormWeight: this.options.fieldNormWeight
|
|
5150
5150
|
});
|
|
@@ -5175,13 +5175,13 @@ class bt {
|
|
|
5175
5175
|
ignoreFieldNorm: c
|
|
5176
5176
|
} = this.options;
|
|
5177
5177
|
let a = He(e) ? He(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
|
|
5178
|
-
return Yl(a, { ignoreFieldNorm: c }), s && a.sort(o),
|
|
5178
|
+
return Yl(a, { ignoreFieldNorm: c }), s && a.sort(o), Un(t) && t > -1 && (a = a.slice(0, t)), Xl(a, this._docs, {
|
|
5179
5179
|
includeMatches: i,
|
|
5180
5180
|
includeScore: n
|
|
5181
5181
|
});
|
|
5182
5182
|
}
|
|
5183
5183
|
_searchStringList(e) {
|
|
5184
|
-
const t =
|
|
5184
|
+
const t = Zr(e, this.options), { records: i } = this._myIndex, n = [];
|
|
5185
5185
|
return i.forEach(({ v: s, i: o, n: c }) => {
|
|
5186
5186
|
if (!Me(s))
|
|
5187
5187
|
return;
|
|
@@ -5194,7 +5194,7 @@ class bt {
|
|
|
5194
5194
|
}), n;
|
|
5195
5195
|
}
|
|
5196
5196
|
_searchLogical(e) {
|
|
5197
|
-
const t =
|
|
5197
|
+
const t = Jn(e, this.options), i = (c, a, u) => {
|
|
5198
5198
|
if (!c.children) {
|
|
5199
5199
|
const { keyId: v, searcher: _ } = c, E = this._findMatches({
|
|
5200
5200
|
key: this._keyStore.get(v),
|
|
@@ -5214,7 +5214,7 @@ class bt {
|
|
|
5214
5214
|
const E = c.children[v], k = i(E, a, u);
|
|
5215
5215
|
if (k.length)
|
|
5216
5216
|
g.push(...k);
|
|
5217
|
-
else if (c.operator ===
|
|
5217
|
+
else if (c.operator === er.AND)
|
|
5218
5218
|
return [];
|
|
5219
5219
|
}
|
|
5220
5220
|
return g;
|
|
@@ -5229,7 +5229,7 @@ class bt {
|
|
|
5229
5229
|
}), o;
|
|
5230
5230
|
}
|
|
5231
5231
|
_searchObjectList(e) {
|
|
5232
|
-
const t =
|
|
5232
|
+
const t = Zr(e, this.options), { keys: i, records: n } = this._myIndex, s = [];
|
|
5233
5233
|
return n.forEach(({ $: o, i: c }) => {
|
|
5234
5234
|
if (!Me(o))
|
|
5235
5235
|
return;
|
|
@@ -5274,11 +5274,11 @@ class bt {
|
|
|
5274
5274
|
return n;
|
|
5275
5275
|
}
|
|
5276
5276
|
}
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5277
|
+
xt.version = "6.6.2";
|
|
5278
|
+
xt.createIndex = Wn;
|
|
5279
|
+
xt.parseIndex = El;
|
|
5280
|
+
xt.config = V;
|
|
5281
|
+
xt.parseQuery = Jn;
|
|
5282
5282
|
Bl(Nl);
|
|
5283
5283
|
const Vl = (r, e = "highlight", t = "title") => {
|
|
5284
5284
|
const i = (s, o, c) => {
|
|
@@ -5310,9 +5310,9 @@ const Vl = (r, e = "highlight", t = "title") => {
|
|
|
5310
5310
|
}), c;
|
|
5311
5311
|
});
|
|
5312
5312
|
};
|
|
5313
|
-
let
|
|
5313
|
+
let Zn;
|
|
5314
5314
|
const Wl = (r, e) => {
|
|
5315
|
-
|
|
5315
|
+
Zn = new xt(r, {
|
|
5316
5316
|
// minMatchCharLength: 3,
|
|
5317
5317
|
// location: 0,
|
|
5318
5318
|
threshold: 0.4,
|
|
@@ -5339,7 +5339,7 @@ const Wl = (r, e) => {
|
|
|
5339
5339
|
else {
|
|
5340
5340
|
const c = {
|
|
5341
5341
|
$and: [...i]
|
|
5342
|
-
}, a =
|
|
5342
|
+
}, a = Zn.search(c);
|
|
5343
5343
|
n = t.enableHighlighting ? Vl(a, "highlight", t.titleProperty) : a.map((u) => u.item);
|
|
5344
5344
|
}
|
|
5345
5345
|
const s = Object.entries(e).filter(([c, a]) => a.type === "range").reduce((c, [a, u]) => (c[a] = {
|
|
@@ -5352,7 +5352,7 @@ const Wl = (r, e) => {
|
|
|
5352
5352
|
for (let a = 0; a < n.length; a++) {
|
|
5353
5353
|
const u = {};
|
|
5354
5354
|
for (const [g, v] of Object.entries(s)) {
|
|
5355
|
-
const _ = (E) => v.format === "date" ?
|
|
5355
|
+
const _ = (E) => v.format === "date" ? Gt(E).unix() : E;
|
|
5356
5356
|
n[a].hasOwnProperty(g) ? Array.isArray(n[a][g]) ? u[g] = s[g].min <= _(n[a][g][1]) && _(n[a][g][0]) <= s[g].max : _(n[a][g]) >= s[g].min && _(n[a][g]) <= s[g].max ? u[g] = !0 : u[g] = !1 : u[g] = !0;
|
|
5357
5357
|
}
|
|
5358
5358
|
Object.values(u).every((g) => !!g) && c.push(n[a]);
|
|
@@ -5382,7 +5382,7 @@ var Kl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, Ke = (r, e
|
|
|
5382
5382
|
(o = r[s]) && (n = (i ? o(e, t, n) : o(n)) || n);
|
|
5383
5383
|
return i && n && Kl(e, t, n), n;
|
|
5384
5384
|
};
|
|
5385
|
-
class
|
|
5385
|
+
class hn {
|
|
5386
5386
|
constructor() {
|
|
5387
5387
|
this.aggregateResults = void 0, this.enableHighlighting = !1, this.filterProperties = [], this.inlineMode = !1, this.matchAllWhenEmpty = !0, this.onFilter = () => {
|
|
5388
5388
|
}, this.onSelect = () => {
|
|
@@ -5391,13 +5391,13 @@ class un {
|
|
|
5391
5391
|
}
|
|
5392
5392
|
let ze = class extends vo {
|
|
5393
5393
|
constructor() {
|
|
5394
|
-
super(...arguments), this._resultAggregation = [], this.
|
|
5395
|
-
this.
|
|
5394
|
+
super(...arguments), this._resultAggregation = [], this.filters = {}, this.items = [], this._config = new hn(), this.apply = (r) => {
|
|
5395
|
+
this.items = r.map((t, i) => ({
|
|
5396
5396
|
id: `item-${i}`,
|
|
5397
5397
|
...t
|
|
5398
5398
|
})), this._config.filterProperties.length && this._config.filterProperties.forEach((t) => {
|
|
5399
|
-
const i = {}, n = (s) => t.format === "date" ?
|
|
5400
|
-
this.
|
|
5399
|
+
const i = {}, n = (s) => t.format === "date" ? Gt(s).unix() : parseInt(s);
|
|
5400
|
+
this.items.forEach((s) => {
|
|
5401
5401
|
if (t.type === "range") {
|
|
5402
5402
|
if (Array.isArray(s[t.key])) {
|
|
5403
5403
|
const o = [
|
|
@@ -5414,7 +5414,7 @@ let ze = class extends vo {
|
|
|
5414
5414
|
Array.isArray(s[t.key]) ? s[t.key].forEach((o) => {
|
|
5415
5415
|
i[o] = void 0;
|
|
5416
5416
|
}) : t.type === "spatial" && (i.geometry = void 0, i.mode = t.mode || "intersects");
|
|
5417
|
-
}), this.
|
|
5417
|
+
}), this.filters[t.key || t.keys.join("|")] = {
|
|
5418
5418
|
...t,
|
|
5419
5419
|
type: t.type || "multiselect",
|
|
5420
5420
|
state: {
|
|
@@ -5430,9 +5430,9 @@ let ze = class extends vo {
|
|
|
5430
5430
|
format: t.format
|
|
5431
5431
|
}
|
|
5432
5432
|
};
|
|
5433
|
-
}), this._config.matchAllWhenEmpty !== !1 && (this.
|
|
5433
|
+
}), this._config.matchAllWhenEmpty !== !1 && (this.results = this.sortResults(this.items), this.requestUpdate()), this._config.aggregateResults && (this._resultAggregation = [
|
|
5434
5434
|
...new Set(
|
|
5435
|
-
this.
|
|
5435
|
+
this.items.reduce((t, i) => t.concat(i[this._config.aggregateResults]), [])
|
|
5436
5436
|
)
|
|
5437
5437
|
].sort((t, i) => t.localeCompare(i)));
|
|
5438
5438
|
const e = [];
|
|
@@ -5440,7 +5440,7 @@ let ze = class extends vo {
|
|
|
5440
5440
|
t.type === "text" ? t.keys.forEach((i) => {
|
|
5441
5441
|
e.includes(i) || e.push(i);
|
|
5442
5442
|
}) : (t.type === "select" || t.type === "multiselect") && (e.includes(t.key) || e.push(t.key));
|
|
5443
|
-
}), Wl(this.
|
|
5443
|
+
}), Wl(this.items, {
|
|
5444
5444
|
keys: e,
|
|
5445
5445
|
...this._config.fuseConfig
|
|
5446
5446
|
});
|
|
@@ -5449,7 +5449,7 @@ let ze = class extends vo {
|
|
|
5449
5449
|
set config(r) {
|
|
5450
5450
|
const e = this._config;
|
|
5451
5451
|
this._config = {
|
|
5452
|
-
...new
|
|
5452
|
+
...new hn(),
|
|
5453
5453
|
...r
|
|
5454
5454
|
}, this.requestUpdate("config", e);
|
|
5455
5455
|
}
|
|
@@ -5458,15 +5458,15 @@ let ze = class extends vo {
|
|
|
5458
5458
|
}
|
|
5459
5459
|
async search() {
|
|
5460
5460
|
let r;
|
|
5461
|
-
this.config.externalFilter ? r = await ql(this.
|
|
5461
|
+
this.config.externalFilter ? r = await ql(this.items, this.filters, this._config) : r = await Gl(this.items, this.filters, this._config), this.results = this.sortResults(r), this._config.onFilter(this.results, this.filters);
|
|
5462
5462
|
}
|
|
5463
5463
|
aggregateResults(r, e) {
|
|
5464
5464
|
return r.filter((t) => {
|
|
5465
5465
|
const i = t[this._config.aggregateResults];
|
|
5466
5466
|
let n;
|
|
5467
|
-
return this.
|
|
5468
|
-
this.
|
|
5469
|
-
).filter((o) => this.
|
|
5467
|
+
return this.filters[this._config.aggregateResults] && (n = Object.keys(
|
|
5468
|
+
this.filters[this._config.aggregateResults]
|
|
5469
|
+
).filter((o) => this.filters[this._config.aggregateResults].state[o])), (n != null && n.length ? n.includes(e) : !0) && Array.isArray(i) ? i.includes(e) : i === e;
|
|
5470
5470
|
});
|
|
5471
5471
|
}
|
|
5472
5472
|
sortResults(r) {
|
|
@@ -5482,40 +5482,54 @@ let ze = class extends vo {
|
|
|
5482
5482
|
render() {
|
|
5483
5483
|
return he`
|
|
5484
5484
|
<style>
|
|
5485
|
-
${
|
|
5486
|
-
${!this.unstyled &&
|
|
5485
|
+
${$n}
|
|
5486
|
+
${!this.unstyled && wn}
|
|
5487
5487
|
</style>
|
|
5488
5488
|
<form
|
|
5489
5489
|
id="itemfilter"
|
|
5490
5490
|
@submit="${(r) => r.preventDefault()}"
|
|
5491
5491
|
>
|
|
5492
|
-
${
|
|
5492
|
+
${ht(
|
|
5493
5493
|
this._config.filterProperties.length,
|
|
5494
5494
|
() => he`
|
|
5495
5495
|
<section class="${this.config.inlineMode ? "inline" : ce}">
|
|
5496
|
-
${
|
|
5496
|
+
${ht(
|
|
5497
5497
|
!this.config.inlineMode,
|
|
5498
5498
|
() => he` <slot name="filterstitle"><h4>Filters</h4></slot> `
|
|
5499
5499
|
)}
|
|
5500
5500
|
<ul id="filters">
|
|
5501
5501
|
${it(
|
|
5502
|
-
Object.values(this.
|
|
5503
|
-
(r) =>
|
|
5502
|
+
Object.values(this.filters),
|
|
5503
|
+
(r) => Rr`
|
|
5504
5504
|
<li>
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5505
|
+
${r.featured ? Rr`
|
|
5506
|
+
<eox-itemfilter-${Ut(r.type)}
|
|
5507
|
+
slot="filter"
|
|
5508
|
+
data-type="filter"
|
|
5509
|
+
.filterObject=${r}
|
|
5510
|
+
@filter="${() => this.search()}"
|
|
5511
|
+
></eox-itemfilter-${Ut(r.type)}>
|
|
5512
|
+
` : Rr`
|
|
5513
|
+
<eox-itemfilter-expandcontainer
|
|
5514
|
+
.filterObject=${r}
|
|
5515
|
+
.unstyled=${this.unstyled}
|
|
5516
|
+
>
|
|
5517
|
+
<eox-itemfilter-${Ut(r.type)}
|
|
5518
|
+
slot="filter"
|
|
5519
|
+
data-type="filter"
|
|
5520
|
+
.filterObject=${r}
|
|
5521
|
+
@filter="${() => this.search()}"
|
|
5522
|
+
></eox-itemfilter-${Ut(
|
|
5523
|
+
r.type
|
|
5524
|
+
)}>
|
|
5525
|
+
</eox-itemfilter-expandcontainer>
|
|
5526
|
+
`}
|
|
5513
5527
|
</li>
|
|
5514
5528
|
`
|
|
5515
5529
|
)}
|
|
5516
5530
|
</ul>
|
|
5517
|
-
${
|
|
5518
|
-
this._config.filterProperties && Object.values(this.
|
|
5531
|
+
${ht(
|
|
5532
|
+
this._config.filterProperties && Object.values(this.filters).map((r) => r.dirty).filter((r) => r).length > 0,
|
|
5519
5533
|
() => he`
|
|
5520
5534
|
<button
|
|
5521
5535
|
id="filter-reset"
|
|
@@ -5530,20 +5544,20 @@ let ze = class extends vo {
|
|
|
5530
5544
|
</section>
|
|
5531
5545
|
`
|
|
5532
5546
|
)}
|
|
5533
|
-
${
|
|
5534
|
-
this.config.showResults && this.
|
|
5547
|
+
${ht(
|
|
5548
|
+
this.config.showResults && this.results,
|
|
5535
5549
|
() => he`
|
|
5536
5550
|
<section id="section-results">
|
|
5537
5551
|
<div>
|
|
5538
5552
|
<slot name="resultstitle"><h4>Results</h4></slot>
|
|
5539
5553
|
</div>
|
|
5540
5554
|
<div id="container-results" class="scroll">
|
|
5541
|
-
${this.
|
|
5555
|
+
${this.results.length < 1 ? he` <small class="no-results">No matching items</small> ` : ce}
|
|
5542
5556
|
<ul id="results" part="results">
|
|
5543
5557
|
${this._config.aggregateResults ? it(
|
|
5544
5558
|
this._resultAggregation.filter(
|
|
5545
5559
|
(r) => this.aggregateResults(
|
|
5546
|
-
this.
|
|
5560
|
+
this.results,
|
|
5547
5561
|
r
|
|
5548
5562
|
).length
|
|
5549
5563
|
),
|
|
@@ -5556,7 +5570,7 @@ let ze = class extends vo {
|
|
|
5556
5570
|
${r}
|
|
5557
5571
|
<span class="count"
|
|
5558
5572
|
>${this.aggregateResults(
|
|
5559
|
-
this.
|
|
5573
|
+
this.results,
|
|
5560
5574
|
r
|
|
5561
5575
|
).length}</span
|
|
5562
5576
|
>
|
|
@@ -5565,7 +5579,7 @@ let ze = class extends vo {
|
|
|
5565
5579
|
<ul>
|
|
5566
5580
|
${it(
|
|
5567
5581
|
this.aggregateResults(
|
|
5568
|
-
this.
|
|
5582
|
+
this.results,
|
|
5569
5583
|
r
|
|
5570
5584
|
),
|
|
5571
5585
|
(e) => he`
|
|
@@ -5576,10 +5590,10 @@ let ze = class extends vo {
|
|
|
5576
5590
|
name="result"
|
|
5577
5591
|
id="${e.id}"
|
|
5578
5592
|
@click=${() => {
|
|
5579
|
-
this.
|
|
5593
|
+
this.selectedResult = e, this._config.onSelect(e);
|
|
5580
5594
|
}}
|
|
5581
5595
|
/>
|
|
5582
|
-
${
|
|
5596
|
+
${ht(
|
|
5583
5597
|
this.hasTemplate("result"),
|
|
5584
5598
|
() => this.renderTemplate(
|
|
5585
5599
|
"result",
|
|
@@ -5588,7 +5602,7 @@ let ze = class extends vo {
|
|
|
5588
5602
|
),
|
|
5589
5603
|
() => he`
|
|
5590
5604
|
<span class="title"
|
|
5591
|
-
>${
|
|
5605
|
+
>${qi(
|
|
5592
5606
|
e[this._config.titleProperty]
|
|
5593
5607
|
)}</span
|
|
5594
5608
|
>
|
|
@@ -5601,9 +5615,33 @@ let ze = class extends vo {
|
|
|
5601
5615
|
</ul>
|
|
5602
5616
|
</details>`
|
|
5603
5617
|
) : it(
|
|
5604
|
-
this.
|
|
5618
|
+
this.results,
|
|
5605
5619
|
(r) => he`<li part="result">
|
|
5606
|
-
|
|
5620
|
+
<label>
|
|
5621
|
+
<input
|
|
5622
|
+
type="radio"
|
|
5623
|
+
name="result"
|
|
5624
|
+
id="${r.id}"
|
|
5625
|
+
@click=${() => {
|
|
5626
|
+
this.selectedResult = r, this._config.onSelect(r);
|
|
5627
|
+
}}
|
|
5628
|
+
/>
|
|
5629
|
+
${ht(
|
|
5630
|
+
this.hasTemplate("result"),
|
|
5631
|
+
() => this.renderTemplate(
|
|
5632
|
+
"result",
|
|
5633
|
+
r,
|
|
5634
|
+
`result-${r.id}`
|
|
5635
|
+
),
|
|
5636
|
+
() => he`
|
|
5637
|
+
<span class="title"
|
|
5638
|
+
>${qi(
|
|
5639
|
+
r[this._config.titleProperty]
|
|
5640
|
+
)}</span
|
|
5641
|
+
>
|
|
5642
|
+
`
|
|
5643
|
+
)}
|
|
5644
|
+
</label>
|
|
5607
5645
|
</li>`
|
|
5608
5646
|
)}
|
|
5609
5647
|
</ul>
|
|
@@ -5617,16 +5655,16 @@ let ze = class extends vo {
|
|
|
5617
5655
|
};
|
|
5618
5656
|
Ke([
|
|
5619
5657
|
Pt()
|
|
5620
|
-
], ze.prototype, "
|
|
5658
|
+
], ze.prototype, "filters", 2);
|
|
5621
5659
|
Ke([
|
|
5622
5660
|
Pt()
|
|
5623
|
-
], ze.prototype, "
|
|
5661
|
+
], ze.prototype, "items", 2);
|
|
5624
5662
|
Ke([
|
|
5625
5663
|
Pt()
|
|
5626
|
-
], ze.prototype, "
|
|
5664
|
+
], ze.prototype, "results", 2);
|
|
5627
5665
|
Ke([
|
|
5628
5666
|
Pt()
|
|
5629
|
-
], ze.prototype, "
|
|
5667
|
+
], ze.prototype, "selectedResult", 2);
|
|
5630
5668
|
Ke([
|
|
5631
5669
|
ke({ attribute: !1 })
|
|
5632
5670
|
], ze.prototype, "config", 1);
|
|
@@ -5641,5 +5679,5 @@ ze = Ke([
|
|
|
5641
5679
|
], ze);
|
|
5642
5680
|
export {
|
|
5643
5681
|
ze as EOxItemFilter,
|
|
5644
|
-
|
|
5682
|
+
hn as ElementConfig
|
|
5645
5683
|
};
|