@searchcraft/vue-sdk 0.7.1 → 0.7.2
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/components/SearchcraftBaseSearchResults.d.ts +11 -30
- package/dist/components/SearchcraftBaseSearchResults.d.ts.map +1 -1
- package/dist/components/SearchcraftFilterPanel.d.ts +11 -7
- package/dist/components/SearchcraftFilterPanel.d.ts.map +1 -1
- package/dist/components/SearchcraftInputForm.d.ts +10 -36
- package/dist/components/SearchcraftInputForm.d.ts.map +1 -1
- package/dist/components/SearchcraftPopoverButton.d.ts +10 -3
- package/dist/components/SearchcraftPopoverButton.d.ts.map +1 -1
- package/dist/components/SearchcraftPopoverForm.d.ts +10 -15
- package/dist/components/SearchcraftPopoverForm.d.ts.map +1 -1
- package/dist/components/SearchcraftResultsInfo.d.ts +10 -3
- package/dist/components/SearchcraftResultsInfo.d.ts.map +1 -1
- package/dist/components/SearchcraftTheme.d.ts +10 -3
- package/dist/components/SearchcraftTheme.d.ts.map +1 -1
- package/dist/components/index.d.ts +7 -7
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.es.js +310 -440
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as Oe, ref as Ie, getCurrentInstance as Fe, inject as De, h as je } from "vue";
|
|
2
|
+
const M = "routerLink", oe = "navManager", Ne = "router", Ue = "aria", I = Symbol(), le = { default: I }, ie = (e) => (e == null ? void 0 : e.split(" ")) || [], ze = (e, t, n = []) => {
|
|
3
3
|
var s;
|
|
4
4
|
return [...Array.from(((s = e.value) == null ? void 0 : s.classList) || []), ...n].filter((r, i, l) => !t.has(r) && l.indexOf(r) === i);
|
|
5
|
-
},
|
|
6
|
-
const l =
|
|
5
|
+
}, _ = (e, t, n = [], s = [], r, i) => {
|
|
6
|
+
const l = Oe((a, { attrs: o, slots: f, emit: u }) => {
|
|
7
7
|
var y;
|
|
8
|
-
const c =
|
|
9
|
-
const { routerLink:
|
|
10
|
-
if (
|
|
8
|
+
const c = Ie(), $ = new Set(ie(o.class)), d = Fe(), g = ((y = d == null ? void 0 : d.appContext) == null ? void 0 : y.provides[oe]) ? De(oe) : void 0, m = (p) => {
|
|
9
|
+
const { routerLink: O } = a;
|
|
10
|
+
if (O !== I)
|
|
11
11
|
if (g !== void 0) {
|
|
12
|
-
|
|
13
|
-
let
|
|
14
|
-
for (const
|
|
15
|
-
const b = a[
|
|
16
|
-
a.hasOwnProperty(
|
|
12
|
+
p.preventDefault();
|
|
13
|
+
let S = { event: p };
|
|
14
|
+
for (const k in a) {
|
|
15
|
+
const b = a[k];
|
|
16
|
+
a.hasOwnProperty(k) && k.startsWith(Ne) && b !== I && (S[k] = b);
|
|
17
17
|
}
|
|
18
|
-
g.navigate(
|
|
18
|
+
g.navigate(S);
|
|
19
19
|
} else
|
|
20
20
|
console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
|
|
21
21
|
};
|
|
22
22
|
return () => {
|
|
23
|
-
a[r],
|
|
24
|
-
|
|
23
|
+
a[r], ie(o.class).forEach((b) => {
|
|
24
|
+
$.add(b);
|
|
25
25
|
});
|
|
26
|
-
const
|
|
27
|
-
|
|
26
|
+
const p = a.onClick, O = (b) => {
|
|
27
|
+
p !== void 0 && p(b), b.defaultPrevented || m(b);
|
|
28
28
|
};
|
|
29
|
-
let
|
|
29
|
+
let S = {
|
|
30
30
|
ref: c,
|
|
31
|
-
class:
|
|
32
|
-
onClick:
|
|
31
|
+
class: ze(c, $),
|
|
32
|
+
onClick: O
|
|
33
33
|
};
|
|
34
34
|
for (const b in a) {
|
|
35
|
-
const
|
|
36
|
-
(a.hasOwnProperty(b) &&
|
|
37
|
-
const
|
|
38
|
-
c.value && o.hasOwnProperty(
|
|
35
|
+
const re = a[b];
|
|
36
|
+
(a.hasOwnProperty(b) && re !== I || b.startsWith(Ue)) && (S[b] = re);
|
|
37
|
+
const ae = "on" + b.slice(0, 1).toUpperCase() + b.slice(1), we = o[ae];
|
|
38
|
+
c.value && o.hasOwnProperty(ae) && "addEventListener" in c.value && c.value.addEventListener(b, we);
|
|
39
39
|
}
|
|
40
|
-
return
|
|
41
|
-
...
|
|
42
|
-
href: a[
|
|
43
|
-
}),
|
|
40
|
+
return M in a && a[M] !== I && (S = {
|
|
41
|
+
...S,
|
|
42
|
+
href: a[M]
|
|
43
|
+
}), je(e, S, f.default && f.default());
|
|
44
44
|
};
|
|
45
45
|
});
|
|
46
46
|
if (typeof l != "function") {
|
|
47
47
|
let a = [], o = {};
|
|
48
|
-
o.ROUTER_LINK_VALUE =
|
|
48
|
+
o.ROUTER_LINK_VALUE = le, n.forEach((f) => o[f] = le), a = s, l.name = e, l.emits = a, l.props = o;
|
|
49
49
|
}
|
|
50
50
|
return l;
|
|
51
|
-
},
|
|
51
|
+
}, He = /* @__PURE__ */ _("searchcraft-base-search-results", void 0, [
|
|
52
52
|
"adInterval",
|
|
53
53
|
"customStylesForResults",
|
|
54
54
|
"searchResultMappings",
|
|
@@ -63,9 +63,9 @@ const W = "routerLink", ie = "navManager", Ue = "router", ze = "aria", j = Symbo
|
|
|
63
63
|
"noResults"
|
|
64
64
|
], [
|
|
65
65
|
"noResults"
|
|
66
|
-
]),
|
|
66
|
+
]), Be = /* @__PURE__ */ _("searchcraft-filter-panel", void 0, [
|
|
67
67
|
"items"
|
|
68
|
-
]),
|
|
68
|
+
]), Me = /* @__PURE__ */ _("searchcraft-input-form", void 0, [
|
|
69
69
|
"config",
|
|
70
70
|
"autoSearch",
|
|
71
71
|
"buttonPlacement",
|
|
@@ -87,162 +87,32 @@ const W = "routerLink", ie = "navManager", Ue = "router", ze = "aria", j = Symbo
|
|
|
87
87
|
"inputBlur",
|
|
88
88
|
"inputInit",
|
|
89
89
|
"querySubmit"
|
|
90
|
-
]),
|
|
90
|
+
]), qe = /* @__PURE__ */ _("searchcraft-popover-button"), We = /* @__PURE__ */ _("searchcraft-popover-form", void 0, [
|
|
91
91
|
"config",
|
|
92
92
|
"type",
|
|
93
93
|
"popoverResultMappings",
|
|
94
94
|
"hotkey",
|
|
95
95
|
"hotkeyModifier"
|
|
96
|
-
]),
|
|
97
|
-
name: "SearchcraftBaseSearchResults",
|
|
98
|
-
props: {
|
|
99
|
-
adInterval: Number,
|
|
100
|
-
customStylesForResults: Object,
|
|
101
|
-
searchResultMappings: Object,
|
|
102
|
-
placeAdAtEnd: Boolean,
|
|
103
|
-
placeAdAtStart: Boolean,
|
|
104
|
-
resultImagePlacement: String,
|
|
105
|
-
buttonLabel: String,
|
|
106
|
-
buttonTarget: String,
|
|
107
|
-
buttonRel: String,
|
|
108
|
-
containerTarget: String,
|
|
109
|
-
containerRel: String,
|
|
110
|
-
noResults: String
|
|
111
|
-
},
|
|
112
|
-
setup(e) {
|
|
113
|
-
return () => x(Me, e, null);
|
|
114
|
-
}
|
|
115
|
-
}), Ut = /* @__PURE__ */ L({
|
|
116
|
-
name: "SearchcraftFilterPanel",
|
|
117
|
-
props: {
|
|
118
|
-
items: {
|
|
119
|
-
type: Array,
|
|
120
|
-
required: !0
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
setup(e) {
|
|
124
|
-
return () => x(qe, e, null);
|
|
125
|
-
}
|
|
126
|
-
}), zt = /* @__PURE__ */ L({
|
|
127
|
-
name: "SearchcraftInputForm",
|
|
128
|
-
props: {
|
|
129
|
-
config: {
|
|
130
|
-
type: Object,
|
|
131
|
-
required: !1
|
|
132
|
-
},
|
|
133
|
-
autoSearch: {
|
|
134
|
-
type: Boolean,
|
|
135
|
-
default: !1
|
|
136
|
-
},
|
|
137
|
-
buttonPlacement: {
|
|
138
|
-
type: String,
|
|
139
|
-
default: "right"
|
|
140
|
-
},
|
|
141
|
-
buttonLabel: {
|
|
142
|
-
type: String,
|
|
143
|
-
default: "Search"
|
|
144
|
-
},
|
|
145
|
-
inputLabel: {
|
|
146
|
-
type: String,
|
|
147
|
-
default: ""
|
|
148
|
-
},
|
|
149
|
-
customStyles: {
|
|
150
|
-
type: Object,
|
|
151
|
-
default: () => ({})
|
|
152
|
-
},
|
|
153
|
-
placeholderValue: {
|
|
154
|
-
type: String,
|
|
155
|
-
default: "Enter a search term..."
|
|
156
|
-
},
|
|
157
|
-
searchTerm: {
|
|
158
|
-
type: String,
|
|
159
|
-
default: ""
|
|
160
|
-
},
|
|
161
|
-
debounceDelay: {
|
|
162
|
-
type: Number,
|
|
163
|
-
default: 300
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
emits: ["inputCleared", "noResultsReceived", "querySubmit", "inputFocus", "inputBlur"],
|
|
167
|
-
setup(e, {
|
|
168
|
-
emit: t
|
|
169
|
-
}) {
|
|
170
|
-
const n = (s) => (r) => {
|
|
171
|
-
t(s, r);
|
|
172
|
-
};
|
|
173
|
-
return () => x(We, Be(e, {
|
|
174
|
-
onInputCleared: n("inputCleared"),
|
|
175
|
-
onNoResultsReceived: n("noResultsReceived"),
|
|
176
|
-
onQuerySubmit: n("querySubmit"),
|
|
177
|
-
onInputFocus: n("inputFocus"),
|
|
178
|
-
onInputBlur: n("inputBlur")
|
|
179
|
-
}), null);
|
|
180
|
-
}
|
|
181
|
-
}), Ht = /* @__PURE__ */ L({
|
|
182
|
-
name: "SearchcraftPopoverButton",
|
|
183
|
-
props: {},
|
|
184
|
-
setup(e) {
|
|
185
|
-
return () => x(Qe, e, null);
|
|
186
|
-
}
|
|
187
|
-
}), Mt = /* @__PURE__ */ L({
|
|
188
|
-
name: "SearchcraftPopoverForm",
|
|
189
|
-
props: {
|
|
190
|
-
type: {
|
|
191
|
-
type: String,
|
|
192
|
-
required: !1
|
|
193
|
-
},
|
|
194
|
-
hotkey: {
|
|
195
|
-
type: String,
|
|
196
|
-
required: !1
|
|
197
|
-
},
|
|
198
|
-
hotkeyModifier: {
|
|
199
|
-
type: String,
|
|
200
|
-
required: !1
|
|
201
|
-
},
|
|
202
|
-
config: {
|
|
203
|
-
type: Object,
|
|
204
|
-
required: !1
|
|
205
|
-
},
|
|
206
|
-
popoverResultMappings: {
|
|
207
|
-
type: Object,
|
|
208
|
-
required: !1
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
setup(e) {
|
|
212
|
-
return () => x(Ge, e, null);
|
|
213
|
-
}
|
|
214
|
-
}), qt = /* @__PURE__ */ L({
|
|
215
|
-
name: "SearchcraftResultsInfo",
|
|
216
|
-
props: {},
|
|
217
|
-
setup(e) {
|
|
218
|
-
return () => x(Xe, e, null);
|
|
219
|
-
}
|
|
220
|
-
}), Wt = /* @__PURE__ */ L({
|
|
221
|
-
name: "SearchcraftTheme",
|
|
222
|
-
props: {},
|
|
223
|
-
setup(e) {
|
|
224
|
-
return () => x(Ke, e, null);
|
|
225
|
-
}
|
|
226
|
-
}), Ye = "searchcraft-javascript-sdk", w = (
|
|
96
|
+
]), Ge = /* @__PURE__ */ _("searchcraft-results-info"), Qe = /* @__PURE__ */ _("searchcraft-theme"), jt = He, Nt = Be, Ut = Me, zt = qe, Ht = We, Bt = Ge, Mt = Qe, Xe = "searchcraft-javascript-sdk", A = (
|
|
227
97
|
/* searchcraft-javascript-sdk */
|
|
228
98
|
{ allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !1, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !1, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !0, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !0, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !1, slot: !0, slotChildNodesFix: !1, slotRelocation: !0, state: !0, style: !1, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !1, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
|
|
229
99
|
);
|
|
230
|
-
var
|
|
100
|
+
var Ke = Object.defineProperty, Ye = (e, t) => {
|
|
231
101
|
for (var n in t)
|
|
232
|
-
|
|
233
|
-
},
|
|
102
|
+
Ke(e, n, { get: t[n], enumerable: !0 });
|
|
103
|
+
}, Je = "http://www.w3.org/2000/svg", Ze = "http://www.w3.org/1999/xhtml", ye = /* @__PURE__ */ new WeakMap(), R = (e) => ye.get(e), Ve = (e, t) => {
|
|
234
104
|
const n = {
|
|
235
105
|
$flags$: 0,
|
|
236
106
|
$hostElement$: e,
|
|
237
107
|
$cmpMeta$: t,
|
|
238
108
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
239
109
|
};
|
|
240
|
-
return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [],
|
|
241
|
-
},
|
|
110
|
+
return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], ye.set(e, n);
|
|
111
|
+
}, ce = (e, t) => t in e, w = (e, t) => (0, console.error)(e, t), fe = /* @__PURE__ */ new Map(), et = (e, t, n) => {
|
|
242
112
|
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
243
113
|
if (!r)
|
|
244
114
|
return;
|
|
245
|
-
const i =
|
|
115
|
+
const i = fe.get(r);
|
|
246
116
|
if (i)
|
|
247
117
|
return i[s];
|
|
248
118
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
@@ -253,12 +123,12 @@ var Je = Object.defineProperty, Ze = (e, t) => {
|
|
|
253
123
|
/* webpackMode: "lazy" */
|
|
254
124
|
`./${r}.entry.js`
|
|
255
125
|
).then(
|
|
256
|
-
(l) => (
|
|
126
|
+
(l) => (fe.set(r, l), l[s]),
|
|
257
127
|
(l) => {
|
|
258
|
-
|
|
128
|
+
w(l, t.$hostElement$);
|
|
259
129
|
}
|
|
260
130
|
);
|
|
261
|
-
},
|
|
131
|
+
}, tt = "{visibility:hidden}.hydrated{visibility:inherit}", nt = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window < "u" ? window : {}, E = B.document || { head: {} }, v = {
|
|
262
132
|
$flags$: 0,
|
|
263
133
|
$resourcesUrl$: "",
|
|
264
134
|
jmp: (e) => e(),
|
|
@@ -266,91 +136,91 @@ var Je = Object.defineProperty, Ze = (e, t) => {
|
|
|
266
136
|
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
267
137
|
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
268
138
|
ce: (e, t) => new CustomEvent(e, t)
|
|
269
|
-
},
|
|
270
|
-
e.push(n),
|
|
271
|
-
},
|
|
139
|
+
}, st = A.shadowDom, rt = (e) => Promise.resolve(e), W = !1, $e = [], be = [], at = (e, t) => (n) => {
|
|
140
|
+
e.push(n), W || (W = !0, v.$flags$ & 4 ? Z(G) : v.raf(G));
|
|
141
|
+
}, ue = (e) => {
|
|
272
142
|
for (let t = 0; t < e.length; t++)
|
|
273
143
|
try {
|
|
274
144
|
e[t](performance.now());
|
|
275
145
|
} catch (n) {
|
|
276
|
-
|
|
146
|
+
w(n);
|
|
277
147
|
}
|
|
278
148
|
e.length = 0;
|
|
279
|
-
},
|
|
280
|
-
|
|
281
|
-
},
|
|
282
|
-
function
|
|
149
|
+
}, G = () => {
|
|
150
|
+
ue($e), ue(be), (W = $e.length > 0) && v.raf(G);
|
|
151
|
+
}, Z = (e) => rt().then(e), ot = /* @__PURE__ */ at(be), V = (e) => (e = typeof e, e === "object" || e === "function");
|
|
152
|
+
function lt(e) {
|
|
283
153
|
var t, n, s;
|
|
284
154
|
return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
|
285
155
|
}
|
|
286
|
-
var
|
|
287
|
-
|
|
288
|
-
err: () =>
|
|
289
|
-
map: () =>
|
|
290
|
-
ok: () =>
|
|
291
|
-
unwrap: () =>
|
|
292
|
-
unwrapErr: () =>
|
|
156
|
+
var it = {};
|
|
157
|
+
Ye(it, {
|
|
158
|
+
err: () => me,
|
|
159
|
+
map: () => ct,
|
|
160
|
+
ok: () => Q,
|
|
161
|
+
unwrap: () => ft,
|
|
162
|
+
unwrapErr: () => $t
|
|
293
163
|
});
|
|
294
|
-
var
|
|
164
|
+
var Q = (e) => ({
|
|
295
165
|
isOk: !0,
|
|
296
166
|
isErr: !1,
|
|
297
167
|
value: e
|
|
298
|
-
}),
|
|
168
|
+
}), me = (e) => ({
|
|
299
169
|
isOk: !1,
|
|
300
170
|
isErr: !0,
|
|
301
171
|
value: e
|
|
302
172
|
});
|
|
303
|
-
function
|
|
173
|
+
function ct(e, t) {
|
|
304
174
|
if (e.isOk) {
|
|
305
175
|
const n = t(e.value);
|
|
306
|
-
return n instanceof Promise ? n.then((s) =>
|
|
176
|
+
return n instanceof Promise ? n.then((s) => Q(s)) : Q(n);
|
|
307
177
|
}
|
|
308
178
|
if (e.isErr) {
|
|
309
179
|
const n = e.value;
|
|
310
|
-
return
|
|
180
|
+
return me(n);
|
|
311
181
|
}
|
|
312
182
|
throw "should never get here";
|
|
313
183
|
}
|
|
314
|
-
var
|
|
184
|
+
var ft = (e) => {
|
|
315
185
|
if (e.isOk)
|
|
316
186
|
return e.value;
|
|
317
187
|
throw e.value;
|
|
318
|
-
},
|
|
188
|
+
}, $t = (e) => {
|
|
319
189
|
if (e.isErr)
|
|
320
190
|
return e.value;
|
|
321
191
|
throw e.value;
|
|
322
|
-
},
|
|
192
|
+
}, Se = (e) => {
|
|
323
193
|
const t = e.__childNodes || e.childNodes;
|
|
324
|
-
e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" &&
|
|
194
|
+
e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB" && Te(t, e.tagName).forEach((n) => {
|
|
325
195
|
var s;
|
|
326
|
-
n.nodeType === 1 && n.tagName === "SLOT-FB" && ((s =
|
|
196
|
+
n.nodeType === 1 && n.tagName === "SLOT-FB" && ((s = ut(n, n["s-sn"], !1)) != null && s.length ? n.hidden = !0 : n.hidden = !1);
|
|
327
197
|
});
|
|
328
198
|
for (const n of t)
|
|
329
|
-
n.nodeType === 1 && (n.__childNodes || n.childNodes).length &&
|
|
199
|
+
n.nodeType === 1 && (n.__childNodes || n.childNodes).length && Se(n);
|
|
330
200
|
};
|
|
331
|
-
function
|
|
201
|
+
function Te(e, t, n) {
|
|
332
202
|
let s = 0, r = [], i;
|
|
333
203
|
for (; s < e.length; s++)
|
|
334
|
-
i = e[s], i["s-sr"] && i["s-hn"] === t && n === void 0 && r.push(i), r = [...r, ...
|
|
204
|
+
i = e[s], i["s-sr"] && i["s-hn"] === t && n === void 0 && r.push(i), r = [...r, ...Te(i.childNodes, t, n)];
|
|
335
205
|
return r;
|
|
336
206
|
}
|
|
337
|
-
var
|
|
207
|
+
var ut = (e, t, n = !0) => {
|
|
338
208
|
const s = [];
|
|
339
209
|
for ((n && e["s-sr"] || !e["s-sr"]) && s.push(e); (e = e.nextSibling) && e["s-sn"] === t; )
|
|
340
210
|
s.push(e);
|
|
341
211
|
return s;
|
|
342
|
-
},
|
|
343
|
-
},
|
|
344
|
-
},
|
|
212
|
+
}, de = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", P = (e, t = "") => () => {
|
|
213
|
+
}, dt = (e, t) => () => {
|
|
214
|
+
}, ht = (e, t, ...n) => {
|
|
345
215
|
let s = null, r = null, i = null, l = !1, a = !1;
|
|
346
|
-
const o = [],
|
|
347
|
-
for (let
|
|
348
|
-
s = c[
|
|
216
|
+
const o = [], f = (c) => {
|
|
217
|
+
for (let $ = 0; $ < c.length; $++)
|
|
218
|
+
s = c[$], Array.isArray(s) ? f(s) : s != null && typeof s != "boolean" && ((l = !V(s)) && (s = String(s)), l && a ? o[o.length - 1].$text$ += s : o.push(l ? X(null, s) : s), a = l);
|
|
349
219
|
};
|
|
350
|
-
|
|
351
|
-
const
|
|
352
|
-
return
|
|
353
|
-
},
|
|
220
|
+
f(n);
|
|
221
|
+
const u = X(e, null);
|
|
222
|
+
return u.$attrs$ = t, o.length > 0 && (u.$children$ = o), u.$key$ = r, u.$name$ = i, u;
|
|
223
|
+
}, X = (e, t) => {
|
|
354
224
|
const n = {
|
|
355
225
|
$flags$: 0,
|
|
356
226
|
$tag$: e,
|
|
@@ -359,51 +229,51 @@ var pt = (e, t, n = !0) => {
|
|
|
359
229
|
$children$: null
|
|
360
230
|
};
|
|
361
231
|
return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, n;
|
|
362
|
-
},
|
|
232
|
+
}, pt = {}, gt = (e) => e && e.$tag$ === pt, K = (e, t) => e != null && !V(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, vt = (e, t, n) => {
|
|
363
233
|
const s = v.ce(t, n);
|
|
364
234
|
return e.dispatchEvent(s), s;
|
|
365
|
-
},
|
|
235
|
+
}, j = /* @__PURE__ */ new WeakMap(), he = (e, t, n, s, r, i) => {
|
|
366
236
|
if (n !== s) {
|
|
367
|
-
let l =
|
|
237
|
+
let l = ce(e, t), a = t.toLowerCase();
|
|
368
238
|
if (t === "class") {
|
|
369
|
-
const o = e.classList,
|
|
370
|
-
let
|
|
371
|
-
e["s-si"] ? (
|
|
372
|
-
c.startsWith(e["s-si"]) &&
|
|
373
|
-
}),
|
|
239
|
+
const o = e.classList, f = pe(n);
|
|
240
|
+
let u = pe(s);
|
|
241
|
+
e["s-si"] ? (u.push(e["s-si"]), f.forEach((c) => {
|
|
242
|
+
c.startsWith(e["s-si"]) && u.push(c);
|
|
243
|
+
}), u = [...new Set(u)], o.add(...u), delete e["s-si"]) : (o.remove(...f.filter((c) => c && !u.includes(c))), o.add(...u.filter((c) => c && !f.includes(c))));
|
|
374
244
|
} else if (t === "style") {
|
|
375
245
|
for (const o in n)
|
|
376
246
|
(!s || s[o] == null) && (o.includes("-") ? e.style.removeProperty(o) : e.style[o] = "");
|
|
377
247
|
for (const o in s)
|
|
378
248
|
(!n || s[o] !== n[o]) && (o.includes("-") ? e.style.setProperty(o, s[o]) : e.style[o] = s[o]);
|
|
379
249
|
} else if (t !== "key") if (!l && t[0] === "o" && t[1] === "n") {
|
|
380
|
-
if (t[2] === "-" ? t = t.slice(3) :
|
|
250
|
+
if (t[2] === "-" ? t = t.slice(3) : ce(B, a) ? t = a.slice(2) : t = a[2] + t.slice(3), n || s) {
|
|
381
251
|
const o = t.endsWith(ke);
|
|
382
|
-
t = t.replace(
|
|
252
|
+
t = t.replace(bt, ""), n && v.rel(e, t, n, o), s && v.ael(e, t, s, o);
|
|
383
253
|
}
|
|
384
254
|
} else {
|
|
385
|
-
const o =
|
|
255
|
+
const o = V(s);
|
|
386
256
|
if ((l || o && s !== null) && !r)
|
|
387
257
|
try {
|
|
388
258
|
if (e.tagName.includes("-"))
|
|
389
259
|
e[t] !== s && (e[t] = s);
|
|
390
260
|
else {
|
|
391
|
-
const
|
|
392
|
-
t === "list" ? l = !1 : (n == null || e[t] !=
|
|
261
|
+
const f = s ?? "";
|
|
262
|
+
t === "list" ? l = !1 : (n == null || e[t] != f) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = f : e.setAttribute(t, f));
|
|
393
263
|
}
|
|
394
264
|
} catch {
|
|
395
265
|
}
|
|
396
266
|
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
397
267
|
}
|
|
398
268
|
}
|
|
399
|
-
},
|
|
269
|
+
}, yt = /\s/, pe = (e) => (typeof e == "object" && "baseVal" in e && (e = e.baseVal), e ? e.split(yt) : []), ke = "Capture", bt = new RegExp(ke + "$"), Ee = (e, t, n) => {
|
|
400
270
|
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || {}, i = t.$attrs$ || {};
|
|
401
|
-
for (const l of
|
|
402
|
-
l in i ||
|
|
403
|
-
for (const l of
|
|
404
|
-
|
|
271
|
+
for (const l of ge(Object.keys(r)))
|
|
272
|
+
l in i || he(s, l, r[l], void 0, n, t.$flags$);
|
|
273
|
+
for (const l of ge(Object.keys(i)))
|
|
274
|
+
he(s, l, r[l], i[l], n, t.$flags$);
|
|
405
275
|
};
|
|
406
|
-
function
|
|
276
|
+
function ge(e) {
|
|
407
277
|
return e.includes("ref") ? (
|
|
408
278
|
// we need to sort these to ensure that `'ref'` is the last attr
|
|
409
279
|
[...e.filter((t) => t !== "ref"), "ref"]
|
|
@@ -412,11 +282,11 @@ function ye(e) {
|
|
|
412
282
|
e
|
|
413
283
|
);
|
|
414
284
|
}
|
|
415
|
-
var
|
|
285
|
+
var Y, ee, U = !1, z = !1, te = !1, T = !1, H = (e, t, n) => {
|
|
416
286
|
var s;
|
|
417
287
|
const r = t.$children$[n];
|
|
418
288
|
let i = 0, l, a, o;
|
|
419
|
-
if (
|
|
289
|
+
if (U || (te = !0, r.$tag$ === "slot" && (r.$flags$ |= r.$children$ ? (
|
|
420
290
|
// slot element has fallback content
|
|
421
291
|
// still create an element that "mocks" the slot element
|
|
422
292
|
2
|
|
@@ -430,83 +300,83 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
|
|
|
430
300
|
else if (r.$flags$ & 1)
|
|
431
301
|
l = r.$elm$ = E.createTextNode("");
|
|
432
302
|
else {
|
|
433
|
-
if (
|
|
434
|
-
|
|
435
|
-
!
|
|
436
|
-
),
|
|
303
|
+
if (T || (T = r.$tag$ === "svg"), l = r.$elm$ = E.createElementNS(
|
|
304
|
+
T ? Je : Ze,
|
|
305
|
+
!U && A.slotRelocation && r.$flags$ & 2 ? "slot-fb" : r.$tag$
|
|
306
|
+
), T && r.$tag$ === "foreignObject" && (T = !1), Ee(null, r, T), r.$children$)
|
|
437
307
|
for (i = 0; i < r.$children$.length; ++i)
|
|
438
|
-
a =
|
|
439
|
-
r.$tag$ === "svg" ?
|
|
308
|
+
a = H(e, r, i), a && l.appendChild(a);
|
|
309
|
+
r.$tag$ === "svg" ? T = !1 : l.tagName === "foreignObject" && (T = !0);
|
|
440
310
|
}
|
|
441
|
-
return l["s-hn"] =
|
|
442
|
-
},
|
|
311
|
+
return l["s-hn"] = ee, r.$flags$ & 3 && (l["s-sr"] = !0, l["s-cr"] = Y, l["s-sn"] = r.$name$ || "", l["s-rf"] = (s = r.$attrs$) == null ? void 0 : s.ref, o = e && e.$children$ && e.$children$[n], o && o.$tag$ === r.$tag$ && e.$elm$ && F(e.$elm$, !1)), l;
|
|
312
|
+
}, F = (e, t) => {
|
|
443
313
|
v.$flags$ |= 1;
|
|
444
314
|
const n = Array.from(e.__childNodes || e.childNodes);
|
|
445
|
-
e["s-sr"] &&
|
|
315
|
+
e["s-sr"] && A.experimentalSlotFixes;
|
|
446
316
|
for (let s = n.length - 1; s >= 0; s--) {
|
|
447
317
|
const r = n[s];
|
|
448
|
-
r["s-hn"] !==
|
|
318
|
+
r["s-hn"] !== ee && r["s-ol"] && (L(D(r).parentNode, r, D(r)), r["s-ol"].remove(), r["s-ol"] = void 0, r["s-sh"] = void 0, te = !0), t && F(r, t);
|
|
449
319
|
}
|
|
450
320
|
v.$flags$ &= -2;
|
|
451
|
-
},
|
|
321
|
+
}, Re = (e, t, n, s, r, i) => {
|
|
452
322
|
let l = e["s-cr"] && e["s-cr"].parentNode || e, a;
|
|
453
323
|
for (; r <= i; ++r)
|
|
454
|
-
s[r] && (a =
|
|
455
|
-
},
|
|
324
|
+
s[r] && (a = H(null, n, r), a && (s[r].$elm$ = a, L(l, a, D(t))));
|
|
325
|
+
}, Ce = (e, t, n) => {
|
|
456
326
|
for (let s = t; s <= n; ++s) {
|
|
457
327
|
const r = e[s];
|
|
458
328
|
if (r) {
|
|
459
329
|
const i = r.$elm$;
|
|
460
|
-
i && (
|
|
330
|
+
i && (z = !0, i["s-ol"] ? i["s-ol"].remove() : F(i, !0), i.remove());
|
|
461
331
|
}
|
|
462
332
|
}
|
|
463
|
-
},
|
|
464
|
-
let i = 0, l = 0, a = 0, o = 0,
|
|
465
|
-
for (; i <=
|
|
466
|
-
if (
|
|
467
|
-
|
|
333
|
+
}, mt = (e, t, n, s, r = !1) => {
|
|
334
|
+
let i = 0, l = 0, a = 0, o = 0, f = t.length - 1, u = t[0], c = t[f], $ = s.length - 1, d = s[0], h = s[$], g, m;
|
|
335
|
+
for (; i <= f && l <= $; )
|
|
336
|
+
if (u == null)
|
|
337
|
+
u = t[++i];
|
|
468
338
|
else if (c == null)
|
|
469
|
-
c = t[--
|
|
339
|
+
c = t[--f];
|
|
470
340
|
else if (d == null)
|
|
471
341
|
d = s[++l];
|
|
472
|
-
else if (
|
|
473
|
-
|
|
474
|
-
else if (
|
|
475
|
-
|
|
476
|
-
else if (
|
|
477
|
-
|
|
478
|
-
else if (
|
|
479
|
-
(
|
|
480
|
-
else if (
|
|
481
|
-
(
|
|
342
|
+
else if (h == null)
|
|
343
|
+
h = s[--$];
|
|
344
|
+
else if (N(u, d, r))
|
|
345
|
+
x(u, d, r), u = t[++i], d = s[++l];
|
|
346
|
+
else if (N(c, h, r))
|
|
347
|
+
x(c, h, r), c = t[--f], h = s[--$];
|
|
348
|
+
else if (N(u, h, r))
|
|
349
|
+
(u.$tag$ === "slot" || h.$tag$ === "slot") && F(u.$elm$.parentNode, !1), x(u, h, r), L(e, u.$elm$, c.$elm$.nextSibling), u = t[++i], h = s[--$];
|
|
350
|
+
else if (N(c, d, r))
|
|
351
|
+
(u.$tag$ === "slot" || h.$tag$ === "slot") && F(c.$elm$.parentNode, !1), x(c, d, r), L(e, c.$elm$, u.$elm$), c = t[--f], d = s[++l];
|
|
482
352
|
else {
|
|
483
|
-
for (a = -1, o = i; o <=
|
|
353
|
+
for (a = -1, o = i; o <= f; ++o)
|
|
484
354
|
if (t[o] && t[o].$key$ !== null && t[o].$key$ === d.$key$) {
|
|
485
355
|
a = o;
|
|
486
356
|
break;
|
|
487
357
|
}
|
|
488
|
-
a >= 0 ? (
|
|
489
|
-
D(
|
|
358
|
+
a >= 0 ? (m = t[a], m.$tag$ !== d.$tag$ ? g = H(t && t[l], n, a) : (x(m, d, r), t[a] = void 0, g = m.$elm$), d = s[++l]) : (g = H(t && t[l], n, l), d = s[++l]), g && L(
|
|
359
|
+
D(u.$elm$).parentNode,
|
|
490
360
|
g,
|
|
491
|
-
D(
|
|
361
|
+
D(u.$elm$)
|
|
492
362
|
);
|
|
493
363
|
}
|
|
494
|
-
i >
|
|
364
|
+
i > f ? Re(
|
|
495
365
|
e,
|
|
496
|
-
s[
|
|
366
|
+
s[$ + 1] == null ? null : s[$ + 1].$elm$,
|
|
497
367
|
n,
|
|
498
368
|
s,
|
|
499
369
|
l,
|
|
500
|
-
|
|
501
|
-
) : l >
|
|
502
|
-
},
|
|
370
|
+
$
|
|
371
|
+
) : l > $ && Ce(t, i, f);
|
|
372
|
+
}, N = (e, t, n = !1) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, D = (e) => e && e["s-ol"] || e, x = (e, t, n = !1) => {
|
|
503
373
|
const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, l = t.$tag$, a = t.$text$;
|
|
504
374
|
let o;
|
|
505
|
-
a === null ? (
|
|
375
|
+
a === null ? (T = l === "svg" ? !0 : l === "foreignObject" ? !1 : T, l === "slot" && !U || Ee(e, t, T), r !== null && i !== null ? mt(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), Re(s, null, t, i, 0, i.length - 1)) : (
|
|
506
376
|
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
507
|
-
!n &&
|
|
508
|
-
),
|
|
509
|
-
},
|
|
377
|
+
!n && A.updatable && r !== null && Ce(r, 0, r.length - 1)
|
|
378
|
+
), T && l === "svg" && (T = !1)) : (o = s["s-cr"]) ? o.parentNode.textContent = a : e.$text$ !== a && (s.data = a);
|
|
379
|
+
}, C = [], Le = (e) => {
|
|
510
380
|
let t, n, s;
|
|
511
381
|
const r = e.__childNodes || e.childNodes;
|
|
512
382
|
for (const i of r) {
|
|
@@ -515,67 +385,67 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
|
|
|
515
385
|
const l = i["s-sn"];
|
|
516
386
|
for (s = n.length - 1; s >= 0; s--)
|
|
517
387
|
if (t = n[s], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== i["s-hn"])
|
|
518
|
-
if (
|
|
519
|
-
let a =
|
|
520
|
-
|
|
388
|
+
if (de(t, l)) {
|
|
389
|
+
let a = C.find((o) => o.$nodeToRelocate$ === t);
|
|
390
|
+
z = !0, t["s-sn"] = t["s-sn"] || l, a ? (a.$nodeToRelocate$["s-sh"] = i["s-hn"], a.$slotRefNode$ = i) : (t["s-sh"] = i["s-hn"], C.push({
|
|
521
391
|
$slotRefNode$: i,
|
|
522
392
|
$nodeToRelocate$: t
|
|
523
|
-
})), t["s-sr"] &&
|
|
524
|
-
|
|
393
|
+
})), t["s-sr"] && C.map((o) => {
|
|
394
|
+
de(o.$nodeToRelocate$, t["s-sn"]) && (a = C.find((f) => f.$nodeToRelocate$ === t), a && !o.$slotRefNode$ && (o.$slotRefNode$ = a.$slotRefNode$));
|
|
525
395
|
});
|
|
526
|
-
} else
|
|
396
|
+
} else C.some((a) => a.$nodeToRelocate$ === t) || C.push({
|
|
527
397
|
$nodeToRelocate$: t
|
|
528
398
|
});
|
|
529
399
|
}
|
|
530
|
-
i.nodeType === 1 &&
|
|
400
|
+
i.nodeType === 1 && Le(i);
|
|
531
401
|
}
|
|
532
|
-
},
|
|
402
|
+
}, L = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), St = (e, t, n = !1) => {
|
|
533
403
|
var s, r, i, l;
|
|
534
|
-
const a = e.$hostElement$, o = e.$vnode$ ||
|
|
535
|
-
if (
|
|
536
|
-
for (const
|
|
537
|
-
a.hasAttribute(
|
|
538
|
-
|
|
404
|
+
const a = e.$hostElement$, o = e.$vnode$ || X(null, null), f = gt(t) ? t : ht(null, null, t);
|
|
405
|
+
if (ee = a.tagName, n && f.$attrs$)
|
|
406
|
+
for (const u of Object.keys(f.$attrs$))
|
|
407
|
+
a.hasAttribute(u) && !["key", "ref", "style", "class"].includes(u) && (f.$attrs$[u] = a[u]);
|
|
408
|
+
f.$tag$ = null, f.$flags$ |= 4, e.$vnode$ = f, f.$elm$ = o.$elm$ = a, U = st, Y = a["s-cr"], z = !1, x(o, f, n);
|
|
539
409
|
{
|
|
540
|
-
if (v.$flags$ |= 1,
|
|
541
|
-
|
|
542
|
-
for (const
|
|
543
|
-
const c =
|
|
410
|
+
if (v.$flags$ |= 1, te) {
|
|
411
|
+
Le(f.$elm$);
|
|
412
|
+
for (const u of C) {
|
|
413
|
+
const c = u.$nodeToRelocate$;
|
|
544
414
|
if (!c["s-ol"]) {
|
|
545
|
-
const
|
|
546
|
-
|
|
415
|
+
const $ = E.createTextNode("");
|
|
416
|
+
$["s-nr"] = c, L(c.parentNode, c["s-ol"] = $, c);
|
|
547
417
|
}
|
|
548
418
|
}
|
|
549
|
-
for (const
|
|
550
|
-
const c =
|
|
551
|
-
if (
|
|
552
|
-
const d =
|
|
553
|
-
let
|
|
419
|
+
for (const u of C) {
|
|
420
|
+
const c = u.$nodeToRelocate$, $ = u.$slotRefNode$;
|
|
421
|
+
if ($) {
|
|
422
|
+
const d = $.parentNode;
|
|
423
|
+
let h = $.nextSibling;
|
|
554
424
|
{
|
|
555
425
|
let y = (s = c["s-ol"]) == null ? void 0 : s.previousSibling;
|
|
556
426
|
for (; y; ) {
|
|
557
|
-
let
|
|
558
|
-
if (
|
|
559
|
-
for (
|
|
560
|
-
|
|
561
|
-
if (!
|
|
562
|
-
|
|
427
|
+
let p = (r = y["s-nr"]) != null ? r : null;
|
|
428
|
+
if (p && p["s-sn"] === c["s-sn"] && d === (p.__parentNode || p.parentNode)) {
|
|
429
|
+
for (p = p.nextSibling; p === c || p != null && p["s-sr"]; )
|
|
430
|
+
p = p == null ? void 0 : p.nextSibling;
|
|
431
|
+
if (!p || !p["s-nr"]) {
|
|
432
|
+
h = p;
|
|
563
433
|
break;
|
|
564
434
|
}
|
|
565
435
|
}
|
|
566
436
|
y = y.previousSibling;
|
|
567
437
|
}
|
|
568
438
|
}
|
|
569
|
-
const g = c.__parentNode || c.parentNode,
|
|
570
|
-
(!
|
|
439
|
+
const g = c.__parentNode || c.parentNode, m = c.__nextSibling || c.nextSibling;
|
|
440
|
+
(!h && d !== g || m !== h) && c !== h && (!c["s-hn"] && c["s-ol"] && (c["s-hn"] = c["s-ol"].parentNode.nodeName), L(d, c, h), c.nodeType === 1 && c.tagName !== "SLOT-FB" && (c.hidden = (i = c["s-ih"]) != null ? i : !1)), c && typeof $["s-rf"] == "function" && $["s-rf"](c);
|
|
571
441
|
} else
|
|
572
442
|
c.nodeType === 1 && (n && (c["s-ih"] = (l = c.hidden) != null ? l : !1), c.hidden = !0);
|
|
573
443
|
}
|
|
574
444
|
}
|
|
575
|
-
|
|
445
|
+
z && Se(f.$elm$), v.$flags$ &= -2, C.length = 0;
|
|
576
446
|
}
|
|
577
|
-
|
|
578
|
-
},
|
|
447
|
+
Y = void 0;
|
|
448
|
+
}, Pe = (e, t) => {
|
|
579
449
|
if (t && !e.$onRenderResolve$ && t["s-p"]) {
|
|
580
450
|
const n = t["s-p"].push(
|
|
581
451
|
new Promise(
|
|
@@ -585,75 +455,75 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
|
|
|
585
455
|
)
|
|
586
456
|
);
|
|
587
457
|
}
|
|
588
|
-
},
|
|
458
|
+
}, ne = (e, t) => {
|
|
589
459
|
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
590
460
|
e.$flags$ |= 512;
|
|
591
461
|
return;
|
|
592
462
|
}
|
|
593
|
-
return
|
|
594
|
-
},
|
|
595
|
-
const n = e.$hostElement$, s =
|
|
463
|
+
return Pe(e, e.$ancestorComponent$), ot(() => Tt(e, t));
|
|
464
|
+
}, Tt = (e, t) => {
|
|
465
|
+
const n = e.$hostElement$, s = P("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
596
466
|
if (!r)
|
|
597
467
|
throw new Error(
|
|
598
468
|
`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
599
469
|
);
|
|
600
470
|
let i;
|
|
601
|
-
return s(), kt(i, () =>
|
|
602
|
-
}, kt = (e, t) =>
|
|
471
|
+
return s(), kt(i, () => Rt(e, r, t));
|
|
472
|
+
}, kt = (e, t) => Et(e) ? e.then(t).catch((n) => {
|
|
603
473
|
console.error(n), t();
|
|
604
|
-
}) : t(),
|
|
474
|
+
}) : t(), Et = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Rt = async (e, t, n) => {
|
|
605
475
|
var s;
|
|
606
|
-
const r = e.$hostElement$, i =
|
|
607
|
-
|
|
476
|
+
const r = e.$hostElement$, i = P("update", e.$cmpMeta$.$tagName$), l = r["s-rc"], a = P("render", e.$cmpMeta$.$tagName$);
|
|
477
|
+
Ct(e, t, r, n), l && (l.map((o) => o()), r["s-rc"] = void 0), a(), i();
|
|
608
478
|
{
|
|
609
|
-
const o = (s = r["s-p"]) != null ? s : [],
|
|
610
|
-
o.length === 0 ?
|
|
479
|
+
const o = (s = r["s-p"]) != null ? s : [], f = () => Lt(e);
|
|
480
|
+
o.length === 0 ? f() : (Promise.all(o).then(f), e.$flags$ |= 4, o.length = 0);
|
|
611
481
|
}
|
|
612
|
-
},
|
|
482
|
+
}, Ct = (e, t, n, s) => {
|
|
613
483
|
try {
|
|
614
|
-
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2,
|
|
484
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, St(e, t, s);
|
|
615
485
|
} catch (r) {
|
|
616
|
-
|
|
486
|
+
w(r, e.$hostElement$);
|
|
617
487
|
}
|
|
618
488
|
return null;
|
|
619
|
-
},
|
|
620
|
-
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s =
|
|
621
|
-
e.$flags$ & 64 ? s() : (e.$flags$ |= 64,
|
|
622
|
-
},
|
|
623
|
-
|
|
624
|
-
},
|
|
489
|
+
}, Lt = (e) => {
|
|
490
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = P("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
|
|
491
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, xe(n), se(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), i || _e()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Z(() => ne(e, !1)), e.$flags$ &= -517;
|
|
492
|
+
}, _e = (e) => {
|
|
493
|
+
xe(E.documentElement), Z(() => vt(B, "appload", { detail: { namespace: Xe } }));
|
|
494
|
+
}, se = (e, t, n, s) => {
|
|
625
495
|
if (e && e[t])
|
|
626
496
|
try {
|
|
627
497
|
return e[t](n);
|
|
628
498
|
} catch (r) {
|
|
629
|
-
|
|
499
|
+
w(r, s);
|
|
630
500
|
}
|
|
631
|
-
},
|
|
501
|
+
}, xe = (e) => {
|
|
632
502
|
var t;
|
|
633
|
-
return e.classList.add((t =
|
|
634
|
-
},
|
|
635
|
-
const r =
|
|
503
|
+
return e.classList.add((t = A.hydratedSelectorName) != null ? t : "hydrated");
|
|
504
|
+
}, Pt = (e, t) => R(e).$instanceValues$.get(t), q = (e, t, n, s) => {
|
|
505
|
+
const r = R(e);
|
|
636
506
|
if (!r)
|
|
637
507
|
throw new Error(
|
|
638
508
|
`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
639
509
|
);
|
|
640
510
|
const i = r.$hostElement$, l = r.$instanceValues$.get(t), a = r.$flags$, o = r.$lazyInstance$;
|
|
641
|
-
n =
|
|
642
|
-
const
|
|
643
|
-
if ((!(a & 8) || l === void 0) &&
|
|
511
|
+
n = K(n, s.$members$[t][0]);
|
|
512
|
+
const f = Number.isNaN(l) && Number.isNaN(n), u = n !== l && !f;
|
|
513
|
+
if ((!(a & 8) || l === void 0) && u && (r.$instanceValues$.set(t, n), o)) {
|
|
644
514
|
if (s.$watchers$ && a & 128) {
|
|
645
515
|
const c = s.$watchers$[t];
|
|
646
|
-
c && c.map((
|
|
516
|
+
c && c.map(($) => {
|
|
647
517
|
try {
|
|
648
|
-
o[
|
|
518
|
+
o[$](n, l, t);
|
|
649
519
|
} catch (d) {
|
|
650
|
-
|
|
520
|
+
w(d, i);
|
|
651
521
|
}
|
|
652
522
|
});
|
|
653
523
|
}
|
|
654
|
-
(a & 18) === 2 &&
|
|
524
|
+
(a & 18) === 2 && ne(r, !1);
|
|
655
525
|
}
|
|
656
|
-
},
|
|
526
|
+
}, Ae = (e, t, n) => {
|
|
657
527
|
var s, r;
|
|
658
528
|
const i = e.prototype;
|
|
659
529
|
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
@@ -661,129 +531,129 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
|
|
|
661
531
|
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
662
532
|
if (l.map(([a, [o]]) => {
|
|
663
533
|
if (o & 31 || n & 2 && o & 32) {
|
|
664
|
-
const { get:
|
|
665
|
-
|
|
534
|
+
const { get: f, set: u } = Object.getOwnPropertyDescriptor(i, a) || {};
|
|
535
|
+
f && (t.$members$[a][0] |= 2048), u && (t.$members$[a][0] |= 4096), (n & 1 || !f) && Object.defineProperty(i, a, {
|
|
666
536
|
get() {
|
|
667
537
|
{
|
|
668
538
|
if (!(t.$members$[a][0] & 2048))
|
|
669
|
-
return
|
|
670
|
-
const c =
|
|
671
|
-
return
|
|
539
|
+
return Pt(this, a);
|
|
540
|
+
const c = R(this), $ = c ? c.$lazyInstance$ : i;
|
|
541
|
+
return $ ? $[a] : void 0;
|
|
672
542
|
}
|
|
673
543
|
},
|
|
674
544
|
configurable: !0,
|
|
675
545
|
enumerable: !0
|
|
676
546
|
}), Object.defineProperty(i, a, {
|
|
677
547
|
set(c) {
|
|
678
|
-
const
|
|
679
|
-
if (
|
|
680
|
-
const d = o & 32 ? this[a] :
|
|
681
|
-
typeof d > "u" &&
|
|
548
|
+
const $ = R(this);
|
|
549
|
+
if (u) {
|
|
550
|
+
const d = o & 32 ? this[a] : $.$hostElement$[a];
|
|
551
|
+
typeof d > "u" && $.$instanceValues$.get(a) ? c = $.$instanceValues$.get(a) : !$.$instanceValues$.get(a) && d && $.$instanceValues$.set(a, d), u.apply(this, [K(c, o)]), c = o & 32 ? this[a] : $.$hostElement$[a], q(this, a, c, t);
|
|
682
552
|
return;
|
|
683
553
|
}
|
|
684
554
|
{
|
|
685
555
|
if (!(n & 1) || !(t.$members$[a][0] & 4096)) {
|
|
686
|
-
|
|
687
|
-
t.$members$[a][0] & 4096 &&
|
|
556
|
+
q(this, a, c, t), n & 1 && !$.$lazyInstance$ && $.$onReadyPromise$.then(() => {
|
|
557
|
+
t.$members$[a][0] & 4096 && $.$lazyInstance$[a] !== $.$instanceValues$.get(a) && ($.$lazyInstance$[a] = c);
|
|
688
558
|
});
|
|
689
559
|
return;
|
|
690
560
|
}
|
|
691
561
|
const d = () => {
|
|
692
|
-
const
|
|
693
|
-
|
|
562
|
+
const h = $.$lazyInstance$[a];
|
|
563
|
+
!$.$instanceValues$.get(a) && h && $.$instanceValues$.set(a, h), $.$lazyInstance$[a] = K(c, o), q(this, a, $.$lazyInstance$[a], t);
|
|
694
564
|
};
|
|
695
|
-
|
|
565
|
+
$.$lazyInstance$ ? d() : $.$onReadyPromise$.then(() => d());
|
|
696
566
|
}
|
|
697
567
|
}
|
|
698
568
|
});
|
|
699
569
|
}
|
|
700
570
|
}), n & 1) {
|
|
701
571
|
const a = /* @__PURE__ */ new Map();
|
|
702
|
-
i.attributeChangedCallback = function(o,
|
|
572
|
+
i.attributeChangedCallback = function(o, f, u) {
|
|
703
573
|
v.jmp(() => {
|
|
704
574
|
var c;
|
|
705
|
-
const
|
|
706
|
-
if (this.hasOwnProperty(
|
|
707
|
-
|
|
575
|
+
const $ = a.get(o);
|
|
576
|
+
if (this.hasOwnProperty($) && A.lazyLoad)
|
|
577
|
+
u = this[$], delete this[$];
|
|
708
578
|
else {
|
|
709
|
-
if (i.hasOwnProperty(
|
|
710
|
-
this[
|
|
579
|
+
if (i.hasOwnProperty($) && typeof this[$] == "number" && // cast type to number to avoid TS compiler issues
|
|
580
|
+
this[$] == u)
|
|
711
581
|
return;
|
|
712
|
-
if (
|
|
713
|
-
const
|
|
714
|
-
if (g && !(g & 8) && g & 128 &&
|
|
715
|
-
const
|
|
716
|
-
y == null || y.forEach((
|
|
717
|
-
|
|
582
|
+
if ($ == null) {
|
|
583
|
+
const h = R(this), g = h == null ? void 0 : h.$flags$;
|
|
584
|
+
if (g && !(g & 8) && g & 128 && u !== f) {
|
|
585
|
+
const m = h.$lazyInstance$, y = (c = t.$watchers$) == null ? void 0 : c[o];
|
|
586
|
+
y == null || y.forEach((p) => {
|
|
587
|
+
m[p] != null && m[p].call(m, u, f, o);
|
|
718
588
|
});
|
|
719
589
|
}
|
|
720
590
|
return;
|
|
721
591
|
}
|
|
722
592
|
}
|
|
723
|
-
const d = Object.getOwnPropertyDescriptor(i,
|
|
724
|
-
|
|
593
|
+
const d = Object.getOwnPropertyDescriptor(i, $);
|
|
594
|
+
u = u === null && typeof this[$] == "boolean" ? !1 : u, u !== this[$] && (!d.get || d.set) && (this[$] = u);
|
|
725
595
|
});
|
|
726
596
|
}, e.observedAttributes = Array.from(
|
|
727
597
|
/* @__PURE__ */ new Set([
|
|
728
598
|
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
729
599
|
...l.filter(
|
|
730
|
-
([o,
|
|
600
|
+
([o, f]) => f[0] & 15
|
|
731
601
|
/* HasAttribute */
|
|
732
|
-
).map(([o,
|
|
733
|
-
const
|
|
734
|
-
return a.set(
|
|
602
|
+
).map(([o, f]) => {
|
|
603
|
+
const u = f[1] || o;
|
|
604
|
+
return a.set(u, o), u;
|
|
735
605
|
})
|
|
736
606
|
])
|
|
737
607
|
);
|
|
738
608
|
}
|
|
739
609
|
}
|
|
740
610
|
return e;
|
|
741
|
-
},
|
|
611
|
+
}, _t = async (e, t, n, s) => {
|
|
742
612
|
let r;
|
|
743
613
|
if (!(t.$flags$ & 32)) {
|
|
744
614
|
t.$flags$ |= 32;
|
|
745
615
|
{
|
|
746
|
-
const a =
|
|
616
|
+
const a = et(n, t);
|
|
747
617
|
if (a && "then" in a) {
|
|
748
|
-
const
|
|
749
|
-
r = await a,
|
|
618
|
+
const f = dt();
|
|
619
|
+
r = await a, f();
|
|
750
620
|
} else
|
|
751
621
|
r = a;
|
|
752
622
|
if (!r)
|
|
753
623
|
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
754
|
-
r.isProxied || (n.$watchers$ = r.watchers,
|
|
624
|
+
r.isProxied || (n.$watchers$ = r.watchers, Ae(
|
|
755
625
|
r,
|
|
756
626
|
n,
|
|
757
627
|
2
|
|
758
628
|
/* proxyState */
|
|
759
629
|
), r.isProxied = !0);
|
|
760
|
-
const o =
|
|
630
|
+
const o = P("createInstance", n.$tagName$);
|
|
761
631
|
t.$flags$ |= 8;
|
|
762
632
|
try {
|
|
763
633
|
new r(t);
|
|
764
|
-
} catch (
|
|
765
|
-
|
|
634
|
+
} catch (f) {
|
|
635
|
+
w(f, e);
|
|
766
636
|
}
|
|
767
|
-
t.$flags$ &= -9, t.$flags$ |= 128, o(),
|
|
637
|
+
t.$flags$ &= -9, t.$flags$ |= 128, o(), J(t.$lazyInstance$, e);
|
|
768
638
|
}
|
|
769
639
|
}
|
|
770
|
-
const i = t.$ancestorComponent$, l = () =>
|
|
640
|
+
const i = t.$ancestorComponent$, l = () => ne(t, !0);
|
|
771
641
|
i && i["s-rc"] ? i["s-rc"].push(l) : l();
|
|
772
|
-
},
|
|
773
|
-
|
|
774
|
-
},
|
|
642
|
+
}, J = (e, t) => {
|
|
643
|
+
se(e, "connectedCallback", void 0, t);
|
|
644
|
+
}, xt = (e) => {
|
|
775
645
|
if (!(v.$flags$ & 1)) {
|
|
776
|
-
const t =
|
|
646
|
+
const t = R(e), n = t.$cmpMeta$, s = P("connectedCallback", n.$tagName$);
|
|
777
647
|
if (t.$flags$ & 1)
|
|
778
|
-
t != null && t.$lazyInstance$ ?
|
|
648
|
+
t != null && t.$lazyInstance$ ? J(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => J(t.$lazyInstance$, e));
|
|
779
649
|
else {
|
|
780
650
|
t.$flags$ |= 1, // TODO(STENCIL-854): Remove code related to legacy shadowDomShim field
|
|
781
|
-
n.$flags$ & 12 &&
|
|
651
|
+
n.$flags$ & 12 && At(e);
|
|
782
652
|
{
|
|
783
653
|
let r = e;
|
|
784
654
|
for (; r = r.parentNode || r.host; )
|
|
785
655
|
if (r["s-p"]) {
|
|
786
|
-
|
|
656
|
+
Pe(t, t.$ancestorComponent$ = r);
|
|
787
657
|
break;
|
|
788
658
|
}
|
|
789
659
|
}
|
|
@@ -792,79 +662,79 @@ var Z, ne, z = !1, H = !1, se = !1, R = !1, M = (e, t, n) => {
|
|
|
792
662
|
const l = e[r];
|
|
793
663
|
delete e[r], e[r] = l;
|
|
794
664
|
}
|
|
795
|
-
}),
|
|
665
|
+
}), _t(e, t, n);
|
|
796
666
|
}
|
|
797
667
|
s();
|
|
798
668
|
}
|
|
799
|
-
},
|
|
669
|
+
}, At = (e) => {
|
|
800
670
|
const t = e["s-cr"] = E.createComment(
|
|
801
671
|
""
|
|
802
672
|
);
|
|
803
|
-
t["s-cn"] = !0,
|
|
804
|
-
},
|
|
805
|
-
|
|
806
|
-
},
|
|
673
|
+
t["s-cn"] = !0, L(e, t, e.firstChild);
|
|
674
|
+
}, ve = (e, t) => {
|
|
675
|
+
se(e, "disconnectedCallback", void 0, t || e);
|
|
676
|
+
}, wt = async (e) => {
|
|
807
677
|
if (!(v.$flags$ & 1)) {
|
|
808
|
-
const t =
|
|
809
|
-
t != null && t.$lazyInstance$ ?
|
|
678
|
+
const t = R(e);
|
|
679
|
+
t != null && t.$lazyInstance$ ? ve(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ve(t.$lazyInstance$, e));
|
|
810
680
|
}
|
|
811
|
-
|
|
812
|
-
},
|
|
681
|
+
j.has(e) && j.delete(e), e.shadowRoot && j.has(e.shadowRoot) && j.delete(e.shadowRoot);
|
|
682
|
+
}, Ot = (e, t = {}) => {
|
|
813
683
|
var n;
|
|
814
|
-
const s =
|
|
815
|
-
let c,
|
|
684
|
+
const s = P(), r = [], i = t.exclude || [], l = B.customElements, a = E.head, o = /* @__PURE__ */ a.querySelector("meta[charset]"), f = /* @__PURE__ */ E.createElement("style"), u = [];
|
|
685
|
+
let c, $ = !0;
|
|
816
686
|
Object.assign(v, t), v.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
|
|
817
687
|
let d = !1;
|
|
818
|
-
if (e.map((
|
|
819
|
-
|
|
820
|
-
var
|
|
688
|
+
if (e.map((h) => {
|
|
689
|
+
h[1].map((g) => {
|
|
690
|
+
var m;
|
|
821
691
|
const y = {
|
|
822
692
|
$flags$: g[0],
|
|
823
693
|
$tagName$: g[1],
|
|
824
694
|
$members$: g[2],
|
|
825
695
|
$listeners$: g[3]
|
|
826
696
|
};
|
|
827
|
-
y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (
|
|
828
|
-
const
|
|
697
|
+
y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$watchers$ = (m = g[4]) != null ? m : {};
|
|
698
|
+
const p = y.$tagName$, O = class extends HTMLElement {
|
|
829
699
|
// StencilLazyHost
|
|
830
|
-
constructor(
|
|
831
|
-
super(
|
|
700
|
+
constructor(S) {
|
|
701
|
+
super(S), this.hasRegisteredEventListeners = !1, S = this, Ve(S, y);
|
|
832
702
|
}
|
|
833
703
|
connectedCallback() {
|
|
834
|
-
|
|
704
|
+
R(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), c && (clearTimeout(c), c = null), $ ? u.push(this) : v.jmp(() => xt(this));
|
|
835
705
|
}
|
|
836
706
|
disconnectedCallback() {
|
|
837
|
-
v.jmp(() =>
|
|
838
|
-
var
|
|
839
|
-
const
|
|
840
|
-
((
|
|
707
|
+
v.jmp(() => wt(this)), v.raf(() => {
|
|
708
|
+
var S;
|
|
709
|
+
const k = R(this);
|
|
710
|
+
((S = k == null ? void 0 : k.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !k.$vnode$.$elm$.isConnected && delete k.$vnode$.$elm$;
|
|
841
711
|
});
|
|
842
712
|
}
|
|
843
713
|
componentOnReady() {
|
|
844
|
-
return
|
|
714
|
+
return R(this).$onReadyPromise$;
|
|
845
715
|
}
|
|
846
716
|
};
|
|
847
|
-
y.$lazyBundleId$ =
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
717
|
+
y.$lazyBundleId$ = h[0], !i.includes(p) && !l.get(p) && (r.push(p), l.define(
|
|
718
|
+
p,
|
|
719
|
+
Ae(
|
|
720
|
+
O,
|
|
851
721
|
y,
|
|
852
722
|
1
|
|
853
723
|
/* isElementConstructor */
|
|
854
724
|
)
|
|
855
725
|
));
|
|
856
726
|
});
|
|
857
|
-
}), r.length > 0 && (d && (
|
|
858
|
-
|
|
859
|
-
const
|
|
860
|
-
|
|
727
|
+
}), r.length > 0 && (d && (f.textContent += nt), f.textContent += r.sort() + tt, f.innerHTML.length)) {
|
|
728
|
+
f.setAttribute("data-styles", "");
|
|
729
|
+
const h = (n = v.$nonce$) != null ? n : lt(E);
|
|
730
|
+
h != null && f.setAttribute("nonce", h), a.insertBefore(f, o ? o.nextSibling : a.firstChild);
|
|
861
731
|
}
|
|
862
|
-
|
|
732
|
+
$ = !1, u.length ? u.map((h) => h.connectedCallback()) : v.jmp(() => c = setTimeout(_e, 30)), s();
|
|
863
733
|
};
|
|
864
|
-
const
|
|
865
|
-
},
|
|
734
|
+
const It = () => {
|
|
735
|
+
}, Ft = async (e, t) => {
|
|
866
736
|
if (!(typeof window > "u"))
|
|
867
|
-
return await
|
|
737
|
+
return await It(), Ot([["searchcraft-filter-panel", [[0, "searchcraft-filter-panel", { items: [16], unsubscribe: [32], lastQuery: [32] }]]], ["searchcraft-base-search-results", [[4, "searchcraft-base-search-results", { adInterval: [2, "ad-interval"], customStylesForResults: [1, "custom-styles-for-results"], searchResultMappings: [16], placeAdAtEnd: [4, "place-ad-at-end"], placeAdAtStart: [4, "place-ad-at-start"], resultImagePlacement: [1, "result-image-placement"], buttonLabel: [1, "button-label"], buttonTarget: [1, "button-target"], buttonRel: [1, "button-rel"], containerTarget: [1, "container-target"], containerRel: [1, "container-rel"], hasSearched: [32], query: [32], searchResults: [32] }]]], ["searchcraft-popover-button", [[4, "searchcraft-popover-button"]]], ["searchcraft-results-info", [[0, "searchcraft-results-info", { isRequesting: [32], resultsCount: [32], responseTime: [32], query: [32] }]]], ["searchcraft-theme", [[0, "searchcraft-theme"]]], ["searchcraft-base-search-result", [[0, "searchcraft-base-search-result", { titleContent: [1, "title-content"], subtitleContent: [1, "subtitle-content"], bodyContent: [1, "body-content"], footerContent: [1, "footer-content"], buttonLabel: [1, "button-label"], buttonHref: [1, "button-href"], buttonTarget: [1, "button-target"], buttonRel: [1, "button-rel"], containerHref: [1, "container-href"], containerTarget: [1, "container-target"], containerRel: [1, "container-rel"], imageSrc: [1, "image-src"], imageAlt: [1, "image-alt"], imagePlacement: [1, "image-placement"], customStyles: [1, "custom-styles"], documentPosition: [2, "document-position"] }]]], ["searchcraft-popover-list-item", [[0, "searchcraft-popover-list-item", { titleContent: [1, "title-content"], subtitleContent: [1, "subtitle-content"], imageSrc: [1, "image-src"], imageAlt: [1, "image-alt"], href: [1], documentPosition: [2, "document-position"] }]]], ["searchcraft-button_3", [[0, "searchcraft-button", { iconElement: [16], iconOnly: [4, "icon-only"], iconPosition: [1, "icon-position"], label: [1], isRequesting: [32] }], [0, "searchcraft-input-label", { inputLabelClassName: [1, "input-label-class-name"], label: [1] }], [0, "searchcraft-error-message", { errorMessage: [1, "error-message"] }]]], ["searchcraft-input-form_2", [[0, "searchcraft-input-form", { config: [16], autoSearch: [4, "auto-search"], buttonPlacement: [1, "button-placement"], buttonLabel: [1, "button-label"], inputLabel: [1, "input-label"], customStyles: [1, "custom-styles"], placeholderValue: [1, "placeholder-value"], searchTerm: [1, "search-term"], inputValue: [32], error: [32], isSearchcraftInitialized: [32] }, null, { config: ["onConfigChange"] }], [0, "searchcraft-popover-list-view", { popoverResultMappings: [16], documents: [16] }]]], ["searchcraft-popover-form", [[0, "searchcraft-popover-form", { config: [16], type: [1], popoverResultMappings: [16], hotkey: [1], hotkeyModifier: [1, "hotkey-modifier"], isPopoverVisibleInState: [32], unsubscribe: [32], searchResults: [32], searchTerm: [32], isFocused: [32], breakpointSm: [32], breakpointMd: [32], breakpointLg: [32], modalElement: [32] }]]], ["searchcraft-facet-list_3", [[0, "searchcraft-facet-list", { fieldName: [1, "field-name"], baseFacetRoot: [32], facetRoot: [32], selectedPaths: [32], lastTimeTaken: [32], hasNewSearchTerm: [32], lastQuery: [32], lastSearchMode: [32], lastSortType: [32], unsubscribe: [32] }], [0, "searchcraft-slider", { max: [2], min: [2], granularity: [2], dataType: [1, "data-type"], endValue: [32], startValue: [32], lastFocusedHandle: [32] }], [0, "searchcraft-toggle-button", { label: [1], subLabel: [1, "sub-label"], isActive: [32], unsubscribe: [32], lastQuery: [32] }]]]], t);
|
|
868
738
|
};
|
|
869
739
|
(function() {
|
|
870
740
|
if (typeof window < "u" && window.Reflect !== void 0 && window.customElements !== void 0) {
|
|
@@ -874,19 +744,19 @@ const jt = () => {
|
|
|
874
744
|
}, HTMLElement.prototype = e.prototype, HTMLElement.prototype.constructor = HTMLElement, Object.setPrototypeOf(HTMLElement, e);
|
|
875
745
|
}
|
|
876
746
|
})();
|
|
877
|
-
const
|
|
747
|
+
const qt = {
|
|
878
748
|
async install() {
|
|
879
|
-
|
|
749
|
+
Ft();
|
|
880
750
|
}
|
|
881
751
|
};
|
|
882
752
|
export {
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
753
|
+
qt as ComponentLibrary,
|
|
754
|
+
jt as SearchcraftBaseSearchResults,
|
|
755
|
+
Nt as SearchcraftFilterPanel,
|
|
756
|
+
Ut as SearchcraftInputForm,
|
|
757
|
+
zt as SearchcraftPopoverButton,
|
|
758
|
+
Ht as SearchcraftPopoverForm,
|
|
759
|
+
Bt as SearchcraftResultsInfo,
|
|
760
|
+
Mt as SearchcraftTheme
|
|
891
761
|
};
|
|
892
762
|
//# sourceMappingURL=index.es.js.map
|