@zelloptt/react-native-zello-sdk 1.0.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/lib/commonjs/docs/assets/main.js +571 -440
- package/lib/commonjs/docs/assets/main.js.map +1 -1
- package/lib/commonjs/docs/assets/search.js +1 -1
- package/lib/commonjs/docs/assets/search.js.map +1 -1
- package/lib/commonjs/docs/assets/style.css +259 -230
- package/lib/commonjs/docs/classes/sdk.Zello.html +106 -106
- package/lib/commonjs/docs/classes/types.ZelloAlertMessage.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloChannel.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloChannelUser.html +5 -5
- package/lib/commonjs/docs/classes/types.ZelloDispatchCall.html +7 -7
- package/lib/commonjs/docs/classes/types.ZelloDispatchChannel.html +17 -17
- package/lib/commonjs/docs/classes/types.ZelloGroupConversation.html +22 -22
- package/lib/commonjs/docs/classes/types.ZelloHistoryAlertMessage.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloHistoryImageMessage.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloHistoryLocationMessage.html +21 -21
- package/lib/commonjs/docs/classes/types.ZelloHistoryTextMessage.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloHistoryVoiceMessage.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloImageMessage.html +15 -15
- package/lib/commonjs/docs/classes/types.ZelloIncomingEmergency.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloIncomingVoiceMessage.html +11 -11
- package/lib/commonjs/docs/classes/types.ZelloLocationMessage.html +19 -19
- package/lib/commonjs/docs/classes/types.ZelloOutgoingEmergency.html +9 -9
- package/lib/commonjs/docs/classes/types.ZelloOutgoingVoiceMessage.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloRecentEntry.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloTextMessage.html +13 -13
- package/lib/commonjs/docs/classes/types.ZelloUser.html +18 -18
- package/lib/commonjs/docs/classes/types.ZelloUserSupportedFeatures.html +5 -5
- package/lib/commonjs/docs/enums/events.ZelloEvent.html +138 -138
- package/lib/commonjs/docs/enums/types.ZelloAccountStatus.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloChannelAlertLevel.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloChannelConnectionStatus.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloConnectionError.html +5 -5
- package/lib/commonjs/docs/enums/types.ZelloConnectionState.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloContactType.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloDispatchCallStatus.html +6 -6
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageError.html +4 -4
- package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageState.html +7 -7
- package/lib/commonjs/docs/enums/types.ZelloRecentEntryType.html +7 -7
- package/lib/commonjs/docs/enums/types.ZelloUserStatus.html +10 -10
- package/lib/commonjs/docs/hierarchy.html +1 -0
- package/lib/commonjs/docs/index.html +18 -18
- package/lib/commonjs/docs/modules/events.html +1 -1
- package/lib/commonjs/docs/modules/index.html +1 -1
- package/lib/commonjs/docs/modules/sdk.html +1 -1
- package/lib/commonjs/docs/modules/types.html +1 -1
- package/lib/commonjs/docs/modules.html +1 -1
- package/lib/commonjs/docs/types/types.ZelloChannelOptions.html +14 -8
- package/lib/commonjs/docs/types/types.ZelloConfig.html +6 -4
- package/lib/commonjs/docs/types/types.ZelloConsoleSettings.html +14 -8
- package/lib/commonjs/docs/types/types.ZelloContact.html +8 -5
- package/lib/commonjs/docs/types/types.ZelloCredentials.html +8 -5
- package/lib/commonjs/docs/types/types.ZelloHistoryMessage.html +12 -7
- package/lib/commonjs/docs/types/types.ZelloMessage.html +10 -6
- package/lib/module/docs/assets/main.js +571 -440
- package/lib/module/docs/assets/main.js.map +1 -1
- package/lib/module/docs/assets/search.js +1 -1
- package/lib/module/docs/assets/search.js.map +1 -1
- package/lib/module/docs/assets/style.css +259 -230
- package/lib/module/docs/classes/sdk.Zello.html +106 -106
- package/lib/module/docs/classes/types.ZelloAlertMessage.html +13 -13
- package/lib/module/docs/classes/types.ZelloChannel.html +15 -15
- package/lib/module/docs/classes/types.ZelloChannelUser.html +5 -5
- package/lib/module/docs/classes/types.ZelloDispatchCall.html +7 -7
- package/lib/module/docs/classes/types.ZelloDispatchChannel.html +17 -17
- package/lib/module/docs/classes/types.ZelloGroupConversation.html +22 -22
- package/lib/module/docs/classes/types.ZelloHistoryAlertMessage.html +15 -15
- package/lib/module/docs/classes/types.ZelloHistoryImageMessage.html +13 -13
- package/lib/module/docs/classes/types.ZelloHistoryLocationMessage.html +21 -21
- package/lib/module/docs/classes/types.ZelloHistoryTextMessage.html +15 -15
- package/lib/module/docs/classes/types.ZelloHistoryVoiceMessage.html +15 -15
- package/lib/module/docs/classes/types.ZelloImageMessage.html +15 -15
- package/lib/module/docs/classes/types.ZelloIncomingEmergency.html +13 -13
- package/lib/module/docs/classes/types.ZelloIncomingVoiceMessage.html +11 -11
- package/lib/module/docs/classes/types.ZelloLocationMessage.html +19 -19
- package/lib/module/docs/classes/types.ZelloOutgoingEmergency.html +9 -9
- package/lib/module/docs/classes/types.ZelloOutgoingVoiceMessage.html +13 -13
- package/lib/module/docs/classes/types.ZelloRecentEntry.html +13 -13
- package/lib/module/docs/classes/types.ZelloTextMessage.html +13 -13
- package/lib/module/docs/classes/types.ZelloUser.html +18 -18
- package/lib/module/docs/classes/types.ZelloUserSupportedFeatures.html +5 -5
- package/lib/module/docs/enums/events.ZelloEvent.html +138 -138
- package/lib/module/docs/enums/types.ZelloAccountStatus.html +6 -6
- package/lib/module/docs/enums/types.ZelloChannelAlertLevel.html +6 -6
- package/lib/module/docs/enums/types.ZelloChannelConnectionStatus.html +5 -5
- package/lib/module/docs/enums/types.ZelloConnectionError.html +5 -5
- package/lib/module/docs/enums/types.ZelloConnectionState.html +6 -6
- package/lib/module/docs/enums/types.ZelloContactType.html +6 -6
- package/lib/module/docs/enums/types.ZelloDispatchCallStatus.html +6 -6
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageError.html +4 -4
- package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageState.html +7 -7
- package/lib/module/docs/enums/types.ZelloRecentEntryType.html +7 -7
- package/lib/module/docs/enums/types.ZelloUserStatus.html +10 -10
- package/lib/module/docs/hierarchy.html +1 -0
- package/lib/module/docs/index.html +18 -18
- package/lib/module/docs/modules/events.html +1 -1
- package/lib/module/docs/modules/index.html +1 -1
- package/lib/module/docs/modules/sdk.html +1 -1
- package/lib/module/docs/modules/types.html +1 -1
- package/lib/module/docs/modules.html +1 -1
- package/lib/module/docs/types/types.ZelloChannelOptions.html +14 -8
- package/lib/module/docs/types/types.ZelloConfig.html +6 -4
- package/lib/module/docs/types/types.ZelloConsoleSettings.html +14 -8
- package/lib/module/docs/types/types.ZelloContact.html +8 -5
- package/lib/module/docs/types/types.ZelloCredentials.html +8 -5
- package/lib/module/docs/types/types.ZelloHistoryMessage.html +12 -7
- package/lib/module/docs/types/types.ZelloMessage.html +10 -6
- package/package.json +1 -1
- package/react-native-zello-sdk.podspec +1 -1
|
@@ -20,6 +20,8 @@ window.translations = {
|
|
|
20
20
|
"hierarchy_expand": "Expand",
|
|
21
21
|
"hierarchy_collapse": "Collapse",
|
|
22
22
|
"folder": "Folder",
|
|
23
|
+
"search_index_not_available": "The search index is not available",
|
|
24
|
+
"search_no_results_found_for_0": "No results found for {0}",
|
|
23
25
|
"kind_1": "Project",
|
|
24
26
|
"kind_2": "Module",
|
|
25
27
|
"kind_4": "Namespace",
|
|
@@ -47,27 +49,27 @@ window.translations = {
|
|
|
47
49
|
};
|
|
48
50
|
"use strict";
|
|
49
51
|
(() => {
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
|
|
56
|
-
var
|
|
52
|
+
var Ke = Object.create;
|
|
53
|
+
var he = Object.defineProperty;
|
|
54
|
+
var Ge = Object.getOwnPropertyDescriptor;
|
|
55
|
+
var Ze = Object.getOwnPropertyNames;
|
|
56
|
+
var Xe = Object.getPrototypeOf,
|
|
57
|
+
Ye = Object.prototype.hasOwnProperty;
|
|
58
|
+
var et = (t, e) => () => (e || t((e = {
|
|
57
59
|
exports: {}
|
|
58
60
|
}).exports, e), e.exports);
|
|
59
|
-
var
|
|
60
|
-
if (e && typeof e == "object" || typeof e == "function") for (let i of
|
|
61
|
+
var tt = (t, e, n, r) => {
|
|
62
|
+
if (e && typeof e == "object" || typeof e == "function") for (let i of Ze(e)) !Ye.call(t, i) && i !== n && he(t, i, {
|
|
61
63
|
get: () => e[i],
|
|
62
|
-
enumerable: !(r =
|
|
64
|
+
enumerable: !(r = Ge(e, i)) || r.enumerable
|
|
63
65
|
});
|
|
64
66
|
return t;
|
|
65
67
|
};
|
|
66
|
-
var
|
|
68
|
+
var nt = (t, e, n) => (n = t != null ? Ke(Xe(t)) : {}, tt(e || !t || !t.__esModule ? he(n, "default", {
|
|
67
69
|
value: t,
|
|
68
70
|
enumerable: !0
|
|
69
71
|
}) : n, t));
|
|
70
|
-
var
|
|
72
|
+
var ye = et((me, ge) => {
|
|
71
73
|
(function () {
|
|
72
74
|
var t = function (e) {
|
|
73
75
|
var n = new t.Builder();
|
|
@@ -167,16 +169,16 @@ window.translations = {
|
|
|
167
169
|
};
|
|
168
170
|
t.tokenizer = function (e, n) {
|
|
169
171
|
if (e == null || e == null) return [];
|
|
170
|
-
if (Array.isArray(e)) return e.map(function (
|
|
171
|
-
return new t.Token(t.utils.asString(
|
|
172
|
+
if (Array.isArray(e)) return e.map(function (f) {
|
|
173
|
+
return new t.Token(t.utils.asString(f).toLowerCase(), t.utils.clone(n));
|
|
172
174
|
});
|
|
173
175
|
for (var r = e.toString().toLowerCase(), i = r.length, s = [], o = 0, a = 0; o <= i; o++) {
|
|
174
|
-
var
|
|
175
|
-
|
|
176
|
-
if (
|
|
177
|
-
if (
|
|
176
|
+
var c = r.charAt(o),
|
|
177
|
+
l = o - a;
|
|
178
|
+
if (c.match(t.tokenizer.separator) || o == i) {
|
|
179
|
+
if (l > 0) {
|
|
178
180
|
var d = t.utils.clone(n) || {};
|
|
179
|
-
d.position = [a,
|
|
181
|
+
d.position = [a, l], d.index = s.length, s.push(new t.Token(r.slice(a, o), d));
|
|
180
182
|
}
|
|
181
183
|
a = o + 1;
|
|
182
184
|
}
|
|
@@ -219,7 +221,7 @@ window.translations = {
|
|
|
219
221
|
for (var n = this._stack.length, r = 0; r < n; r++) {
|
|
220
222
|
for (var i = this._stack[r], s = [], o = 0; o < e.length; o++) {
|
|
221
223
|
var a = i(e[o], o, e);
|
|
222
|
-
if (!(a == null || a === "")) if (Array.isArray(a)) for (var
|
|
224
|
+
if (!(a == null || a === "")) if (Array.isArray(a)) for (var c = 0; c < a.length; c++) s.push(a[c]);else s.push(a);
|
|
223
225
|
}
|
|
224
226
|
e = s;
|
|
225
227
|
}
|
|
@@ -259,7 +261,7 @@ window.translations = {
|
|
|
259
261
|
}
|
|
260
262
|
return this._magnitude = Math.sqrt(e);
|
|
261
263
|
}, t.Vector.prototype.dot = function (e) {
|
|
262
|
-
for (var n = 0, r = this.elements, i = e.elements, s = r.length, o = i.length, a = 0,
|
|
264
|
+
for (var n = 0, r = this.elements, i = e.elements, s = r.length, o = i.length, a = 0, c = 0, l = 0, d = 0; l < s && d < o;) a = r[l], c = i[d], a < c ? l += 2 : a > c ? d += 2 : a == c && (n += r[l + 1] * i[d + 1], l += 2, d += 2);
|
|
263
265
|
return n;
|
|
264
266
|
}, t.Vector.prototype.similarity = function (e) {
|
|
265
267
|
return this.dot(e) / this.magnitude() || 0;
|
|
@@ -307,66 +309,66 @@ window.translations = {
|
|
|
307
309
|
s = r + "[^aeiouy]*",
|
|
308
310
|
o = i + "[aeiou]*",
|
|
309
311
|
a = "^(" + s + ")?" + o + s,
|
|
310
|
-
|
|
311
|
-
|
|
312
|
+
c = "^(" + s + ")?" + o + s + "(" + o + ")?$",
|
|
313
|
+
l = "^(" + s + ")?" + o + s + o + s,
|
|
312
314
|
d = "^(" + s + ")?" + i,
|
|
313
|
-
|
|
314
|
-
p = new RegExp(
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
315
|
+
f = new RegExp(a),
|
|
316
|
+
p = new RegExp(l),
|
|
317
|
+
v = new RegExp(c),
|
|
318
|
+
x = new RegExp(d),
|
|
319
|
+
w = /^(.+?)(ss|i)es$/,
|
|
320
|
+
m = /^(.+?)([^s])s$/,
|
|
321
|
+
g = /^(.+?)eed$/,
|
|
322
|
+
T = /^(.+?)(ed|ing)$/,
|
|
323
|
+
L = /.$/,
|
|
324
|
+
C = /(at|bl|iz)$/,
|
|
323
325
|
O = new RegExp("([^aeiouylsz])\\1$"),
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
326
|
+
j = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
327
|
+
N = /^(.+?[^aeiou])y$/,
|
|
328
|
+
q = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,
|
|
329
|
+
W = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,
|
|
330
|
+
B = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,
|
|
329
331
|
z = /^(.+?)(s|t)(ion)$/,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
332
|
+
_ = /^(.+?)e$/,
|
|
333
|
+
U = /ll$/,
|
|
334
|
+
J = new RegExp("^" + s + i + "[^aeiouwxy]$"),
|
|
333
335
|
V = function (u) {
|
|
334
|
-
var
|
|
336
|
+
var y, P, k, h, E, Q, H;
|
|
335
337
|
if (u.length < 3) return u;
|
|
336
|
-
if (
|
|
337
|
-
var
|
|
338
|
-
h =
|
|
339
|
-
} else if (
|
|
340
|
-
var
|
|
341
|
-
|
|
338
|
+
if (k = u.substr(0, 1), k == "y" && (u = k.toUpperCase() + u.substr(1)), h = w, E = m, h.test(u) ? u = u.replace(h, "$1$2") : E.test(u) && (u = u.replace(E, "$1$2")), h = g, E = T, h.test(u)) {
|
|
339
|
+
var b = h.exec(u);
|
|
340
|
+
h = f, h.test(b[1]) && (h = L, u = u.replace(h, ""));
|
|
341
|
+
} else if (E.test(u)) {
|
|
342
|
+
var b = E.exec(u);
|
|
343
|
+
y = b[1], E = x, E.test(y) && (u = y, E = C, Q = O, H = j, E.test(u) ? u = u + "e" : Q.test(u) ? (h = L, u = u.replace(h, "")) : H.test(u) && (u = u + "e"));
|
|
342
344
|
}
|
|
343
|
-
if (h =
|
|
344
|
-
var
|
|
345
|
-
|
|
345
|
+
if (h = N, h.test(u)) {
|
|
346
|
+
var b = h.exec(u);
|
|
347
|
+
y = b[1], u = y + "i";
|
|
346
348
|
}
|
|
347
|
-
if (h =
|
|
348
|
-
var
|
|
349
|
-
|
|
349
|
+
if (h = q, h.test(u)) {
|
|
350
|
+
var b = h.exec(u);
|
|
351
|
+
y = b[1], P = b[2], h = f, h.test(y) && (u = y + e[P]);
|
|
350
352
|
}
|
|
351
|
-
if (h =
|
|
352
|
-
var
|
|
353
|
-
|
|
353
|
+
if (h = W, h.test(u)) {
|
|
354
|
+
var b = h.exec(u);
|
|
355
|
+
y = b[1], P = b[2], h = f, h.test(y) && (u = y + n[P]);
|
|
354
356
|
}
|
|
355
|
-
if (h =
|
|
356
|
-
var
|
|
357
|
-
|
|
358
|
-
} else if (
|
|
359
|
-
var
|
|
360
|
-
|
|
357
|
+
if (h = B, E = z, h.test(u)) {
|
|
358
|
+
var b = h.exec(u);
|
|
359
|
+
y = b[1], h = p, h.test(y) && (u = y);
|
|
360
|
+
} else if (E.test(u)) {
|
|
361
|
+
var b = E.exec(u);
|
|
362
|
+
y = b[1] + b[2], E = p, E.test(y) && (u = y);
|
|
361
363
|
}
|
|
362
|
-
if (h =
|
|
363
|
-
var
|
|
364
|
-
|
|
364
|
+
if (h = _, h.test(u)) {
|
|
365
|
+
var b = h.exec(u);
|
|
366
|
+
y = b[1], h = p, E = v, Q = J, (h.test(y) || E.test(y) && !Q.test(y)) && (u = y);
|
|
365
367
|
}
|
|
366
|
-
return h =
|
|
368
|
+
return h = U, E = p, h.test(u) && E.test(u) && (h = L, u = u.replace(h, "")), k == "y" && (u = k.toLowerCase() + u.substr(1)), u;
|
|
367
369
|
};
|
|
368
|
-
return function (
|
|
369
|
-
return
|
|
370
|
+
return function (A) {
|
|
371
|
+
return A.update(V);
|
|
370
372
|
};
|
|
371
373
|
}(), t.Pipeline.registerFunction(t.stemmer, "stemmer");
|
|
372
374
|
t.generateStopWordFilter = function (e) {
|
|
@@ -406,12 +408,12 @@ window.translations = {
|
|
|
406
408
|
});
|
|
407
409
|
}
|
|
408
410
|
if (s.editsRemaining != 0) {
|
|
409
|
-
if ("*" in s.node.edges) var
|
|
410
|
-
var
|
|
411
|
-
s.node.edges["*"] =
|
|
411
|
+
if ("*" in s.node.edges) var c = s.node.edges["*"];else {
|
|
412
|
+
var c = new t.TokenSet();
|
|
413
|
+
s.node.edges["*"] = c;
|
|
412
414
|
}
|
|
413
|
-
if (s.str.length == 0 && (
|
|
414
|
-
node:
|
|
415
|
+
if (s.str.length == 0 && (c.final = !0), i.push({
|
|
416
|
+
node: c,
|
|
415
417
|
editsRemaining: s.editsRemaining - 1,
|
|
416
418
|
str: s.str
|
|
417
419
|
}), s.str.length > 1 && i.push({
|
|
@@ -419,21 +421,21 @@ window.translations = {
|
|
|
419
421
|
editsRemaining: s.editsRemaining - 1,
|
|
420
422
|
str: s.str.slice(1)
|
|
421
423
|
}), s.str.length == 1 && (s.node.final = !0), s.str.length >= 1) {
|
|
422
|
-
if ("*" in s.node.edges) var
|
|
423
|
-
var
|
|
424
|
-
s.node.edges["*"] =
|
|
424
|
+
if ("*" in s.node.edges) var l = s.node.edges["*"];else {
|
|
425
|
+
var l = new t.TokenSet();
|
|
426
|
+
s.node.edges["*"] = l;
|
|
425
427
|
}
|
|
426
|
-
s.str.length == 1 && (
|
|
427
|
-
node:
|
|
428
|
+
s.str.length == 1 && (l.final = !0), i.push({
|
|
429
|
+
node: l,
|
|
428
430
|
editsRemaining: s.editsRemaining - 1,
|
|
429
431
|
str: s.str.slice(1)
|
|
430
432
|
});
|
|
431
433
|
}
|
|
432
434
|
if (s.str.length > 1) {
|
|
433
435
|
var d = s.str.charAt(0),
|
|
434
|
-
|
|
436
|
+
f = s.str.charAt(1),
|
|
435
437
|
p;
|
|
436
|
-
|
|
438
|
+
f in s.node.edges ? p = s.node.edges[f] : (p = new t.TokenSet(), s.node.edges[f] = p), s.str.length == 1 && (p.final = !0), i.push({
|
|
437
439
|
node: p,
|
|
438
440
|
editsRemaining: s.editsRemaining - 1,
|
|
439
441
|
str: d + s.str.slice(2)
|
|
@@ -447,8 +449,8 @@ window.translations = {
|
|
|
447
449
|
var o = e[i],
|
|
448
450
|
a = i == s - 1;
|
|
449
451
|
if (o == "*") n.edges[o] = n, n.final = a;else {
|
|
450
|
-
var
|
|
451
|
-
|
|
452
|
+
var c = new t.TokenSet();
|
|
453
|
+
c.final = a, n.edges[o] = c, n = c;
|
|
452
454
|
}
|
|
453
455
|
}
|
|
454
456
|
return r;
|
|
@@ -485,17 +487,17 @@ window.translations = {
|
|
|
485
487
|
node: this
|
|
486
488
|
}]; i.length;) {
|
|
487
489
|
r = i.pop();
|
|
488
|
-
for (var s = Object.keys(r.qNode.edges), o = s.length, a = Object.keys(r.node.edges),
|
|
489
|
-
var p = a[
|
|
490
|
+
for (var s = Object.keys(r.qNode.edges), o = s.length, a = Object.keys(r.node.edges), c = a.length, l = 0; l < o; l++) for (var d = s[l], f = 0; f < c; f++) {
|
|
491
|
+
var p = a[f];
|
|
490
492
|
if (p == d || d == "*") {
|
|
491
|
-
var
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
p in r.output.edges ? (
|
|
496
|
-
qNode:
|
|
497
|
-
output:
|
|
498
|
-
node:
|
|
493
|
+
var v = r.node.edges[p],
|
|
494
|
+
x = r.qNode.edges[d],
|
|
495
|
+
w = v.final && x.final,
|
|
496
|
+
m = void 0;
|
|
497
|
+
p in r.output.edges ? (m = r.output.edges[p], m.final = m.final || w) : (m = new t.TokenSet(), m.final = w, r.output.edges[p] = m), i.push({
|
|
498
|
+
qNode: x,
|
|
499
|
+
output: m,
|
|
500
|
+
node: v
|
|
499
501
|
});
|
|
500
502
|
}
|
|
501
503
|
}
|
|
@@ -536,90 +538,90 @@ window.translations = {
|
|
|
536
538
|
r.parse();
|
|
537
539
|
});
|
|
538
540
|
}, t.Index.prototype.query = function (e) {
|
|
539
|
-
for (var n = new t.Query(this.fields), r = Object.create(null), i = Object.create(null), s = Object.create(null), o = Object.create(null), a = Object.create(null),
|
|
541
|
+
for (var n = new t.Query(this.fields), r = Object.create(null), i = Object.create(null), s = Object.create(null), o = Object.create(null), a = Object.create(null), c = 0; c < this.fields.length; c++) i[this.fields[c]] = new t.Vector();
|
|
540
542
|
e.call(n, n);
|
|
541
|
-
for (var
|
|
542
|
-
var
|
|
543
|
+
for (var c = 0; c < n.clauses.length; c++) {
|
|
544
|
+
var l = n.clauses[c],
|
|
543
545
|
d = null,
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
fields:
|
|
547
|
-
}) : d = [
|
|
546
|
+
f = t.Set.empty;
|
|
547
|
+
l.usePipeline ? d = this.pipeline.runString(l.term, {
|
|
548
|
+
fields: l.fields
|
|
549
|
+
}) : d = [l.term];
|
|
548
550
|
for (var p = 0; p < d.length; p++) {
|
|
549
|
-
var
|
|
550
|
-
|
|
551
|
-
var
|
|
552
|
-
|
|
553
|
-
if (
|
|
554
|
-
for (var
|
|
555
|
-
var
|
|
556
|
-
o[
|
|
551
|
+
var v = d[p];
|
|
552
|
+
l.term = v;
|
|
553
|
+
var x = t.TokenSet.fromClause(l),
|
|
554
|
+
w = this.tokenSet.intersect(x).toArray();
|
|
555
|
+
if (w.length === 0 && l.presence === t.Query.presence.REQUIRED) {
|
|
556
|
+
for (var m = 0; m < l.fields.length; m++) {
|
|
557
|
+
var g = l.fields[m];
|
|
558
|
+
o[g] = t.Set.empty;
|
|
557
559
|
}
|
|
558
560
|
break;
|
|
559
561
|
}
|
|
560
|
-
for (var
|
|
561
|
-
var
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
if (
|
|
567
|
-
a[
|
|
562
|
+
for (var T = 0; T < w.length; T++) for (var L = w[T], C = this.invertedIndex[L], O = C._index, m = 0; m < l.fields.length; m++) {
|
|
563
|
+
var g = l.fields[m],
|
|
564
|
+
j = C[g],
|
|
565
|
+
N = Object.keys(j),
|
|
566
|
+
q = L + "/" + g,
|
|
567
|
+
W = new t.Set(N);
|
|
568
|
+
if (l.presence == t.Query.presence.REQUIRED && (f = f.union(W), o[g] === void 0 && (o[g] = t.Set.complete)), l.presence == t.Query.presence.PROHIBITED) {
|
|
569
|
+
a[g] === void 0 && (a[g] = t.Set.empty), a[g] = a[g].union(W);
|
|
568
570
|
continue;
|
|
569
571
|
}
|
|
570
|
-
if (i[
|
|
571
|
-
return
|
|
572
|
-
}), !s[
|
|
573
|
-
for (var
|
|
574
|
-
var z =
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
(
|
|
572
|
+
if (i[g].upsert(O, l.boost, function (Ue, Je) {
|
|
573
|
+
return Ue + Je;
|
|
574
|
+
}), !s[q]) {
|
|
575
|
+
for (var B = 0; B < N.length; B++) {
|
|
576
|
+
var z = N[B],
|
|
577
|
+
_ = new t.FieldRef(z, g),
|
|
578
|
+
U = j[z],
|
|
579
|
+
J;
|
|
580
|
+
(J = r[_]) === void 0 ? r[_] = new t.MatchData(L, g, U) : J.add(L, g, U);
|
|
579
581
|
}
|
|
580
|
-
s[
|
|
582
|
+
s[q] = !0;
|
|
581
583
|
}
|
|
582
584
|
}
|
|
583
585
|
}
|
|
584
|
-
if (
|
|
585
|
-
var
|
|
586
|
-
o[
|
|
586
|
+
if (l.presence === t.Query.presence.REQUIRED) for (var m = 0; m < l.fields.length; m++) {
|
|
587
|
+
var g = l.fields[m];
|
|
588
|
+
o[g] = o[g].intersect(f);
|
|
587
589
|
}
|
|
588
590
|
}
|
|
589
|
-
for (var V = t.Set.complete,
|
|
590
|
-
var
|
|
591
|
-
o[
|
|
591
|
+
for (var V = t.Set.complete, A = t.Set.empty, c = 0; c < this.fields.length; c++) {
|
|
592
|
+
var g = this.fields[c];
|
|
593
|
+
o[g] && (V = V.intersect(o[g])), a[g] && (A = A.union(a[g]));
|
|
592
594
|
}
|
|
593
595
|
var u = Object.keys(r),
|
|
594
|
-
|
|
596
|
+
y = [],
|
|
595
597
|
P = Object.create(null);
|
|
596
598
|
if (n.isNegated()) {
|
|
597
599
|
u = Object.keys(this.fieldVectors);
|
|
598
|
-
for (var
|
|
599
|
-
var
|
|
600
|
-
|
|
601
|
-
r[
|
|
600
|
+
for (var c = 0; c < u.length; c++) {
|
|
601
|
+
var _ = u[c],
|
|
602
|
+
k = t.FieldRef.fromString(_);
|
|
603
|
+
r[_] = new t.MatchData();
|
|
602
604
|
}
|
|
603
605
|
}
|
|
604
|
-
for (var
|
|
605
|
-
var
|
|
606
|
-
h =
|
|
607
|
-
if (V.contains(h) && !
|
|
608
|
-
var
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
if ((
|
|
612
|
-
var
|
|
606
|
+
for (var c = 0; c < u.length; c++) {
|
|
607
|
+
var k = t.FieldRef.fromString(u[c]),
|
|
608
|
+
h = k.docRef;
|
|
609
|
+
if (V.contains(h) && !A.contains(h)) {
|
|
610
|
+
var E = this.fieldVectors[k],
|
|
611
|
+
Q = i[k.fieldName].similarity(E),
|
|
612
|
+
H;
|
|
613
|
+
if ((H = P[h]) !== void 0) H.score += Q, H.matchData.combine(r[k]);else {
|
|
614
|
+
var b = {
|
|
613
615
|
ref: h,
|
|
614
|
-
score:
|
|
615
|
-
matchData: r[
|
|
616
|
+
score: Q,
|
|
617
|
+
matchData: r[k]
|
|
616
618
|
};
|
|
617
|
-
P[h] =
|
|
619
|
+
P[h] = b, y.push(b);
|
|
618
620
|
}
|
|
619
621
|
}
|
|
620
622
|
}
|
|
621
|
-
return
|
|
622
|
-
return
|
|
623
|
+
return y.sort(function (We, ze) {
|
|
624
|
+
return ze.score - We.score;
|
|
623
625
|
});
|
|
624
626
|
}, t.Index.prototype.toJSON = function () {
|
|
625
627
|
var e = Object.keys(this.invertedIndex).sort().map(function (r) {
|
|
@@ -642,21 +644,21 @@ window.translations = {
|
|
|
642
644
|
s = Object.create(null),
|
|
643
645
|
o = e.invertedIndex,
|
|
644
646
|
a = new t.TokenSet.Builder(),
|
|
645
|
-
|
|
647
|
+
c = t.Pipeline.load(e.pipeline);
|
|
646
648
|
e.version != t.version && t.utils.warn("Version mismatch when loading serialised index. Current version of lunr '" + t.version + "' does not match serialized index '" + e.version + "'");
|
|
647
|
-
for (var
|
|
648
|
-
var d = i[
|
|
649
|
-
|
|
649
|
+
for (var l = 0; l < i.length; l++) {
|
|
650
|
+
var d = i[l],
|
|
651
|
+
f = d[0],
|
|
650
652
|
p = d[1];
|
|
651
|
-
r[
|
|
653
|
+
r[f] = new t.Vector(p);
|
|
652
654
|
}
|
|
653
|
-
for (var
|
|
654
|
-
var d = o[
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
a.insert(
|
|
655
|
+
for (var l = 0; l < o.length; l++) {
|
|
656
|
+
var d = o[l],
|
|
657
|
+
v = d[0],
|
|
658
|
+
x = d[1];
|
|
659
|
+
a.insert(v), s[v] = x;
|
|
658
660
|
}
|
|
659
|
-
return a.finish(), n.fields = e.fields, n.fieldVectors = r, n.invertedIndex = s, n.tokenSet = a.root, n.pipeline =
|
|
661
|
+
return a.finish(), n.fields = e.fields, n.fieldVectors = r, n.invertedIndex = s, n.tokenSet = a.root, n.pipeline = c, new t.Index(n);
|
|
660
662
|
};
|
|
661
663
|
t.Builder = function () {
|
|
662
664
|
this._ref = "id", this._fields = Object.create(null), this._documents = Object.create(null), this.invertedIndex = Object.create(null), this.fieldTermFrequencies = {}, this.fieldLengths = {}, this.tokenizer = t.tokenizer, this.pipeline = new t.Pipeline(), this.searchPipeline = new t.Pipeline(), this.documentCount = 0, this._b = .75, this._k1 = 1.2, this.termIndex = 0, this.metadataWhitelist = [];
|
|
@@ -676,27 +678,27 @@ window.translations = {
|
|
|
676
678
|
for (var s = 0; s < i.length; s++) {
|
|
677
679
|
var o = i[s],
|
|
678
680
|
a = this._fields[o].extractor,
|
|
679
|
-
|
|
680
|
-
|
|
681
|
+
c = a ? a(e) : e[o],
|
|
682
|
+
l = this.tokenizer(c, {
|
|
681
683
|
fields: [o]
|
|
682
684
|
}),
|
|
683
|
-
d = this.pipeline.run(
|
|
684
|
-
|
|
685
|
+
d = this.pipeline.run(l),
|
|
686
|
+
f = new t.FieldRef(r, o),
|
|
685
687
|
p = Object.create(null);
|
|
686
|
-
this.fieldTermFrequencies[
|
|
687
|
-
for (var
|
|
688
|
-
var
|
|
689
|
-
if (p[
|
|
690
|
-
var
|
|
691
|
-
|
|
692
|
-
for (var
|
|
693
|
-
this.invertedIndex[
|
|
688
|
+
this.fieldTermFrequencies[f] = p, this.fieldLengths[f] = 0, this.fieldLengths[f] += d.length;
|
|
689
|
+
for (var v = 0; v < d.length; v++) {
|
|
690
|
+
var x = d[v];
|
|
691
|
+
if (p[x] == null && (p[x] = 0), p[x] += 1, this.invertedIndex[x] == null) {
|
|
692
|
+
var w = Object.create(null);
|
|
693
|
+
w._index = this.termIndex, this.termIndex += 1;
|
|
694
|
+
for (var m = 0; m < i.length; m++) w[i[m]] = Object.create(null);
|
|
695
|
+
this.invertedIndex[x] = w;
|
|
694
696
|
}
|
|
695
|
-
this.invertedIndex[
|
|
696
|
-
for (var
|
|
697
|
-
var
|
|
698
|
-
|
|
699
|
-
this.invertedIndex[
|
|
697
|
+
this.invertedIndex[x][o][r] == null && (this.invertedIndex[x][o][r] = Object.create(null));
|
|
698
|
+
for (var g = 0; g < this.metadataWhitelist.length; g++) {
|
|
699
|
+
var T = this.metadataWhitelist[g],
|
|
700
|
+
L = x.metadata[T];
|
|
701
|
+
this.invertedIndex[x][o][r][T] == null && (this.invertedIndex[x][o][r][T] = []), this.invertedIndex[x][o][r][T].push(L);
|
|
700
702
|
}
|
|
701
703
|
}
|
|
702
704
|
}
|
|
@@ -706,23 +708,23 @@ window.translations = {
|
|
|
706
708
|
a = o.fieldName;
|
|
707
709
|
i[a] || (i[a] = 0), i[a] += 1, r[a] || (r[a] = 0), r[a] += this.fieldLengths[o];
|
|
708
710
|
}
|
|
709
|
-
for (var
|
|
710
|
-
var
|
|
711
|
-
r[
|
|
711
|
+
for (var c = Object.keys(this._fields), s = 0; s < c.length; s++) {
|
|
712
|
+
var l = c[s];
|
|
713
|
+
r[l] = r[l] / i[l];
|
|
712
714
|
}
|
|
713
715
|
this.averageFieldLength = r;
|
|
714
716
|
}, t.Builder.prototype.createFieldVectors = function () {
|
|
715
717
|
for (var e = {}, n = Object.keys(this.fieldTermFrequencies), r = n.length, i = Object.create(null), s = 0; s < r; s++) {
|
|
716
|
-
for (var o = t.FieldRef.fromString(n[s]), a = o.fieldName,
|
|
717
|
-
var
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
718
|
+
for (var o = t.FieldRef.fromString(n[s]), a = o.fieldName, c = this.fieldLengths[o], l = new t.Vector(), d = this.fieldTermFrequencies[o], f = Object.keys(d), p = f.length, v = this._fields[a].boost || 1, x = this._documents[o.docRef].boost || 1, w = 0; w < p; w++) {
|
|
719
|
+
var m = f[w],
|
|
720
|
+
g = d[m],
|
|
721
|
+
T = this.invertedIndex[m]._index,
|
|
722
|
+
L,
|
|
723
|
+
C,
|
|
722
724
|
O;
|
|
723
|
-
i[
|
|
725
|
+
i[m] === void 0 ? (L = t.idf(this.invertedIndex[m], this.documentCount), i[m] = L) : L = i[m], C = L * ((this._k1 + 1) * g) / (this._k1 * (1 - this._b + this._b * (c / this.averageFieldLength[a])) + g), C *= v, C *= x, O = Math.round(C * 1e3) / 1e3, l.insert(T, O);
|
|
724
726
|
}
|
|
725
|
-
e[o] =
|
|
727
|
+
e[o] = l;
|
|
726
728
|
}
|
|
727
729
|
this.fieldVectors = e;
|
|
728
730
|
}, t.Builder.prototype.createTokenSet = function () {
|
|
@@ -751,10 +753,10 @@ window.translations = {
|
|
|
751
753
|
this.metadata[i] == null && (this.metadata[i] = Object.create(null));
|
|
752
754
|
for (var o = 0; o < s.length; o++) {
|
|
753
755
|
var a = s[o],
|
|
754
|
-
|
|
756
|
+
c = Object.keys(e.metadata[i][a]);
|
|
755
757
|
this.metadata[i][a] == null && (this.metadata[i][a] = Object.create(null));
|
|
756
|
-
for (var
|
|
757
|
-
var d = l
|
|
758
|
+
for (var l = 0; l < c.length; l++) {
|
|
759
|
+
var d = c[l];
|
|
758
760
|
this.metadata[i][a][d] == null ? this.metadata[i][a][d] = e.metadata[i][a][d] : this.metadata[i][a][d] = this.metadata[i][a][d].concat(e.metadata[i][a][d]);
|
|
759
761
|
}
|
|
760
762
|
}
|
|
@@ -1013,18 +1015,57 @@ window.translations = {
|
|
|
1013
1015
|
}
|
|
1014
1016
|
}
|
|
1015
1017
|
}, function (e, n) {
|
|
1016
|
-
typeof define == "function" && define.amd ? define(n) : typeof
|
|
1018
|
+
typeof define == "function" && define.amd ? define(n) : typeof me == "object" ? ge.exports = n() : e.lunr = n();
|
|
1017
1019
|
}(this, function () {
|
|
1018
1020
|
return t;
|
|
1019
1021
|
});
|
|
1020
1022
|
})();
|
|
1021
1023
|
});
|
|
1024
|
+
var M,
|
|
1025
|
+
G = {
|
|
1026
|
+
getItem() {
|
|
1027
|
+
return null;
|
|
1028
|
+
},
|
|
1029
|
+
setItem() {}
|
|
1030
|
+
},
|
|
1031
|
+
K;
|
|
1032
|
+
try {
|
|
1033
|
+
K = localStorage, M = K;
|
|
1034
|
+
} catch {
|
|
1035
|
+
K = G, M = G;
|
|
1036
|
+
}
|
|
1037
|
+
var S = {
|
|
1038
|
+
getItem: t => M.getItem(t),
|
|
1039
|
+
setItem: (t, e) => M.setItem(t, e),
|
|
1040
|
+
disableWritingLocalStorage() {
|
|
1041
|
+
M = G;
|
|
1042
|
+
},
|
|
1043
|
+
disable() {
|
|
1044
|
+
localStorage.clear(), M = G;
|
|
1045
|
+
},
|
|
1046
|
+
enable() {
|
|
1047
|
+
M = K;
|
|
1048
|
+
}
|
|
1049
|
+
};
|
|
1050
|
+
window.TypeDoc ||= {
|
|
1051
|
+
disableWritingLocalStorage() {
|
|
1052
|
+
S.disableWritingLocalStorage();
|
|
1053
|
+
},
|
|
1054
|
+
disableLocalStorage: () => {
|
|
1055
|
+
S.disable();
|
|
1056
|
+
},
|
|
1057
|
+
enableLocalStorage: () => {
|
|
1058
|
+
S.enable();
|
|
1059
|
+
}
|
|
1060
|
+
};
|
|
1022
1061
|
window.translations ||= {
|
|
1023
1062
|
copy: "Copy",
|
|
1024
1063
|
copied: "Copied!",
|
|
1025
1064
|
normally_hidden: "This member is normally hidden due to your filter settings.",
|
|
1026
1065
|
hierarchy_expand: "Expand",
|
|
1027
1066
|
hierarchy_collapse: "Collapse",
|
|
1067
|
+
search_index_not_available: "The search index is not available",
|
|
1068
|
+
search_no_results_found_for_0: "No results found for {0}",
|
|
1028
1069
|
folder: "Folder",
|
|
1029
1070
|
kind_1: "Project",
|
|
1030
1071
|
kind_2: "Module",
|
|
@@ -1051,23 +1092,23 @@ window.translations = {
|
|
|
1051
1092
|
kind_4194304: "Reference",
|
|
1052
1093
|
kind_8388608: "Document"
|
|
1053
1094
|
};
|
|
1054
|
-
var
|
|
1055
|
-
function
|
|
1056
|
-
|
|
1095
|
+
var pe = [];
|
|
1096
|
+
function X(t, e) {
|
|
1097
|
+
pe.push({
|
|
1057
1098
|
selector: e,
|
|
1058
1099
|
constructor: t
|
|
1059
1100
|
});
|
|
1060
1101
|
}
|
|
1061
|
-
var
|
|
1062
|
-
function
|
|
1063
|
-
_classCallCheck(this,
|
|
1102
|
+
var Z = /*#__PURE__*/function () {
|
|
1103
|
+
function Z() {
|
|
1104
|
+
_classCallCheck(this, Z);
|
|
1064
1105
|
_defineProperty(this, "alwaysVisibleMember", null);
|
|
1065
1106
|
this.createComponents(document.body), this.ensureFocusedElementVisible(), this.listenForCodeCopies(), window.addEventListener("hashchange", () => this.ensureFocusedElementVisible()), document.body.style.display || (this.ensureFocusedElementVisible(), this.updateIndexVisibility(), this.scrollToHash());
|
|
1066
1107
|
}
|
|
1067
|
-
return _createClass(
|
|
1108
|
+
return _createClass(Z, [{
|
|
1068
1109
|
key: "createComponents",
|
|
1069
1110
|
value: function createComponents(e) {
|
|
1070
|
-
|
|
1111
|
+
pe.forEach(n => {
|
|
1071
1112
|
e.querySelectorAll(n.selector).forEach(r => {
|
|
1072
1113
|
r.dataset.hasInstance || (new n.constructor({
|
|
1073
1114
|
el: r,
|
|
@@ -1104,7 +1145,7 @@ window.translations = {
|
|
|
1104
1145
|
let e = document.querySelector(".tsd-navigation .current"),
|
|
1105
1146
|
n = e?.parentElement;
|
|
1106
1147
|
for (; n && !n.classList.contains(".tsd-navigation");) n instanceof HTMLDetailsElement && (n.open = !0), n = n.parentElement;
|
|
1107
|
-
if (e && !
|
|
1148
|
+
if (e && !rt(e)) {
|
|
1108
1149
|
let r = e.getBoundingClientRect().top - document.documentElement.clientHeight / 4;
|
|
1109
1150
|
document.querySelector(".site-menu").scrollTop = r, document.querySelector(".col-sidebar").scrollTop = r;
|
|
1110
1151
|
}
|
|
@@ -1155,181 +1196,308 @@ window.translations = {
|
|
|
1155
1196
|
}
|
|
1156
1197
|
}]);
|
|
1157
1198
|
}();
|
|
1158
|
-
function
|
|
1199
|
+
function rt(t) {
|
|
1159
1200
|
let e = t.getBoundingClientRect(),
|
|
1160
1201
|
n = Math.max(document.documentElement.clientHeight, window.innerHeight);
|
|
1161
1202
|
return !(e.bottom < 0 || e.top - n >= 0);
|
|
1162
1203
|
}
|
|
1163
|
-
var
|
|
1204
|
+
var fe = (t, e = 100) => {
|
|
1164
1205
|
let n;
|
|
1165
1206
|
return () => {
|
|
1166
1207
|
clearTimeout(n), n = setTimeout(() => t(), e);
|
|
1167
1208
|
};
|
|
1168
1209
|
};
|
|
1169
|
-
var
|
|
1170
|
-
async function
|
|
1210
|
+
var Ie = nt(ye(), 1);
|
|
1211
|
+
async function R(t) {
|
|
1171
1212
|
let e = Uint8Array.from(atob(t), s => s.charCodeAt(0)),
|
|
1172
1213
|
r = new Blob([e]).stream().pipeThrough(new DecompressionStream("deflate")),
|
|
1173
1214
|
i = await new Response(r).text();
|
|
1174
1215
|
return JSON.parse(i);
|
|
1175
1216
|
}
|
|
1176
|
-
|
|
1217
|
+
var Y = "closing",
|
|
1218
|
+
ae = "tsd-overlay";
|
|
1219
|
+
function it() {
|
|
1220
|
+
let t = Math.abs(window.innerWidth - document.documentElement.clientWidth);
|
|
1221
|
+
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${t}px`;
|
|
1222
|
+
}
|
|
1223
|
+
function st() {
|
|
1224
|
+
document.body.style.removeProperty("overflow"), document.body.style.removeProperty("padding-right");
|
|
1225
|
+
}
|
|
1226
|
+
function xe(t, e) {
|
|
1227
|
+
t.addEventListener("animationend", () => {
|
|
1228
|
+
t.classList.contains(Y) && (t.classList.remove(Y), document.getElementById(ae)?.remove(), t.close(), st());
|
|
1229
|
+
}), t.addEventListener("cancel", n => {
|
|
1230
|
+
n.preventDefault(), ve(t);
|
|
1231
|
+
}), e?.closeOnClick && document.addEventListener("click", n => {
|
|
1232
|
+
t.open && !t.contains(n.target) && ve(t);
|
|
1233
|
+
}, !0);
|
|
1234
|
+
}
|
|
1235
|
+
function Ee(t) {
|
|
1236
|
+
if (t.open) return;
|
|
1237
|
+
let e = document.createElement("div");
|
|
1238
|
+
e.id = ae, document.body.appendChild(e), t.showModal(), it();
|
|
1239
|
+
}
|
|
1240
|
+
function ve(t) {
|
|
1241
|
+
if (!t.open) return;
|
|
1242
|
+
document.getElementById(ae)?.classList.add(Y), t.classList.add(Y);
|
|
1243
|
+
}
|
|
1244
|
+
var I = /*#__PURE__*/_createClass(function I(e) {
|
|
1245
|
+
_classCallCheck(this, I);
|
|
1246
|
+
_defineProperty(this, "el", void 0);
|
|
1247
|
+
_defineProperty(this, "app", void 0);
|
|
1248
|
+
this.el = e.el, this.app = e.app;
|
|
1249
|
+
});
|
|
1250
|
+
var be = document.head.appendChild(document.createElement("style"));
|
|
1251
|
+
be.dataset.for = "filters";
|
|
1252
|
+
var le = {};
|
|
1253
|
+
function we(t) {
|
|
1254
|
+
for (let e of t.split(/\s+/)) if (le.hasOwnProperty(e) && !le[e]) return !0;
|
|
1255
|
+
return !1;
|
|
1256
|
+
}
|
|
1257
|
+
var ee = /*#__PURE__*/function (_I) {
|
|
1258
|
+
function ee(e) {
|
|
1259
|
+
var _this;
|
|
1260
|
+
_classCallCheck(this, ee);
|
|
1261
|
+
(_this = _callSuper(this, ee, [e]), _defineProperty(_assertThisInitialized(_this), "key", void 0), _defineProperty(_assertThisInitialized(_this), "value", void 0)), _this.key = `filter-${_this.el.name}`, _this.value = _this.el.checked, _this.el.addEventListener("change", () => {
|
|
1262
|
+
_this.setLocalStorage(_this.el.checked);
|
|
1263
|
+
}), _this.setLocalStorage(_this.fromLocalStorage()), be.innerHTML += `html:not(.${_this.key}) .tsd-is-${_this.el.name} { display: none; }
|
|
1264
|
+
`, _this.app.updateIndexVisibility();
|
|
1265
|
+
return _this;
|
|
1266
|
+
}
|
|
1267
|
+
_inherits(ee, _I);
|
|
1268
|
+
return _createClass(ee, [{
|
|
1269
|
+
key: "fromLocalStorage",
|
|
1270
|
+
value: function fromLocalStorage() {
|
|
1271
|
+
let e = S.getItem(this.key);
|
|
1272
|
+
return e ? e === "true" : this.el.checked;
|
|
1273
|
+
}
|
|
1274
|
+
}, {
|
|
1275
|
+
key: "setLocalStorage",
|
|
1276
|
+
value: function setLocalStorage(e) {
|
|
1277
|
+
S.setItem(this.key, e.toString()), this.value = e, this.handleValueChange();
|
|
1278
|
+
}
|
|
1279
|
+
}, {
|
|
1280
|
+
key: "handleValueChange",
|
|
1281
|
+
value: function handleValueChange() {
|
|
1282
|
+
this.el.checked = this.value, document.documentElement.classList.toggle(this.key, this.value), le[`tsd-is-${this.el.name}`] = this.value, this.app.filterChanged(), this.app.updateIndexVisibility();
|
|
1283
|
+
}
|
|
1284
|
+
}]);
|
|
1285
|
+
}(I);
|
|
1286
|
+
var Le = 0;
|
|
1287
|
+
async function Se(t, e) {
|
|
1177
1288
|
if (!window.searchData) return;
|
|
1178
|
-
let n = await
|
|
1179
|
-
t.data = n, t.index =
|
|
1289
|
+
let n = await R(window.searchData);
|
|
1290
|
+
t.data = n, t.index = Ie.Index.load(n.index), e.innerHTML = "";
|
|
1180
1291
|
}
|
|
1181
|
-
function
|
|
1182
|
-
let t = document.getElementById("tsd-search")
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
t
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1292
|
+
function _e() {
|
|
1293
|
+
let t = document.getElementById("tsd-search-trigger"),
|
|
1294
|
+
e = document.getElementById("tsd-search"),
|
|
1295
|
+
n = document.getElementById("tsd-search-input"),
|
|
1296
|
+
r = document.getElementById("tsd-search-results"),
|
|
1297
|
+
i = document.getElementById("tsd-search-script"),
|
|
1298
|
+
s = document.getElementById("tsd-search-status");
|
|
1299
|
+
if (!(t && e && n && r && i && s)) throw new Error("Search controls missing");
|
|
1300
|
+
let o = {
|
|
1301
|
+
base: document.documentElement.dataset.base
|
|
1302
|
+
};
|
|
1303
|
+
o.base.endsWith("/") || (o.base += "/"), i.addEventListener("error", () => {
|
|
1304
|
+
let a = window.translations.search_index_not_available;
|
|
1305
|
+
Pe(s, a);
|
|
1306
|
+
}), i.addEventListener("load", () => {
|
|
1307
|
+
Se(o, s);
|
|
1308
|
+
}), Se(o, s), ot({
|
|
1309
|
+
trigger: t,
|
|
1310
|
+
searchEl: e,
|
|
1311
|
+
results: r,
|
|
1312
|
+
field: n,
|
|
1313
|
+
status: s
|
|
1314
|
+
}, o);
|
|
1199
1315
|
}
|
|
1200
|
-
function
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1316
|
+
function ot(t, e) {
|
|
1317
|
+
let {
|
|
1318
|
+
field: n,
|
|
1319
|
+
results: r,
|
|
1320
|
+
searchEl: i,
|
|
1321
|
+
status: s,
|
|
1322
|
+
trigger: o
|
|
1323
|
+
} = t;
|
|
1324
|
+
xe(i, {
|
|
1325
|
+
closeOnClick: !0
|
|
1326
|
+
});
|
|
1327
|
+
function a() {
|
|
1328
|
+
Ee(i), n.setSelectionRange(0, n.value.length);
|
|
1329
|
+
}
|
|
1330
|
+
o.addEventListener("click", a), n.addEventListener("input", fe(() => {
|
|
1331
|
+
at(r, n, s, e);
|
|
1332
|
+
}, 200)), n.addEventListener("keydown", l => {
|
|
1333
|
+
if (r.childElementCount === 0 || l.ctrlKey || l.metaKey || l.altKey) return;
|
|
1334
|
+
let d = n.getAttribute("aria-activedescendant"),
|
|
1335
|
+
f = d ? document.getElementById(d) : null;
|
|
1336
|
+
if (f) {
|
|
1337
|
+
let p = !1,
|
|
1338
|
+
v = !1;
|
|
1339
|
+
switch (l.key) {
|
|
1340
|
+
case "Home":
|
|
1341
|
+
case "End":
|
|
1342
|
+
case "ArrowLeft":
|
|
1343
|
+
case "ArrowRight":
|
|
1344
|
+
v = !0;
|
|
1345
|
+
break;
|
|
1346
|
+
case "ArrowDown":
|
|
1347
|
+
case "ArrowUp":
|
|
1348
|
+
p = l.shiftKey;
|
|
1349
|
+
break;
|
|
1350
|
+
}
|
|
1351
|
+
(p || v) && ke(n);
|
|
1352
|
+
}
|
|
1353
|
+
if (!l.shiftKey) switch (l.key) {
|
|
1354
|
+
case "Enter":
|
|
1355
|
+
f?.querySelector("a")?.click();
|
|
1356
|
+
break;
|
|
1357
|
+
case "ArrowUp":
|
|
1358
|
+
Te(r, n, f, -1), l.preventDefault();
|
|
1359
|
+
break;
|
|
1360
|
+
case "ArrowDown":
|
|
1361
|
+
Te(r, n, f, 1), l.preventDefault();
|
|
1362
|
+
break;
|
|
1363
|
+
}
|
|
1364
|
+
});
|
|
1365
|
+
function c() {
|
|
1366
|
+
ke(n);
|
|
1367
|
+
}
|
|
1368
|
+
n.addEventListener("change", c), n.addEventListener("blur", c), n.addEventListener("click", c), document.body.addEventListener("keydown", l => {
|
|
1369
|
+
if (l.altKey || l.metaKey || l.shiftKey) return;
|
|
1370
|
+
let d = l.ctrlKey && l.key === "k",
|
|
1371
|
+
f = !l.ctrlKey && !ut() && l.key === "/";
|
|
1372
|
+
(d || f) && (l.preventDefault(), a());
|
|
1209
1373
|
});
|
|
1210
1374
|
}
|
|
1211
|
-
function
|
|
1212
|
-
t.classList.remove("has-focus");
|
|
1213
|
-
}
|
|
1214
|
-
function Ue(t, e, n, r) {
|
|
1375
|
+
function at(t, e, n, r) {
|
|
1215
1376
|
if (!r.index || !r.data) return;
|
|
1216
|
-
|
|
1217
|
-
let i =
|
|
1377
|
+
t.innerHTML = "", n.innerHTML = "", Le += 1;
|
|
1378
|
+
let i = e.value.trim(),
|
|
1218
1379
|
s;
|
|
1219
1380
|
if (i) {
|
|
1220
|
-
let
|
|
1221
|
-
s = r.index.search(
|
|
1381
|
+
let a = i.split(" ").map(c => c.length ? `*${c}*` : "").join(" ");
|
|
1382
|
+
s = r.index.search(a).filter(({
|
|
1383
|
+
ref: c
|
|
1384
|
+
}) => {
|
|
1385
|
+
let l = r.data.rows[Number(c)].classes;
|
|
1386
|
+
return !l || !we(l);
|
|
1387
|
+
});
|
|
1222
1388
|
} else s = [];
|
|
1223
|
-
|
|
1224
|
-
let a =
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
l.name.toLowerCase().startsWith(i.toLowerCase()) && (c *= 1 + 1 / (1 + Math.abs(l.name.length - i.length))), a.score *= c;
|
|
1389
|
+
if (s.length === 0 && i) {
|
|
1390
|
+
let a = window.translations.search_no_results_found_for_0.replace("{0}", ` "<strong>${te(i)}</strong>" `);
|
|
1391
|
+
Pe(n, a);
|
|
1392
|
+
return;
|
|
1228
1393
|
}
|
|
1229
|
-
|
|
1230
|
-
let
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1394
|
+
for (let a = 0; a < s.length; a++) {
|
|
1395
|
+
let c = s[a],
|
|
1396
|
+
l = r.data.rows[Number(c.ref)],
|
|
1397
|
+
d = 1;
|
|
1398
|
+
l.name.toLowerCase().startsWith(i.toLowerCase()) && (d *= 10 / (1 + Math.abs(l.name.length - i.length))), c.score *= d;
|
|
1234
1399
|
}
|
|
1235
|
-
s.sort((
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
d =
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
}), e.appendChild(m);
|
|
1400
|
+
s.sort((a, c) => c.score - a.score);
|
|
1401
|
+
let o = Math.min(10, s.length);
|
|
1402
|
+
for (let a = 0; a < o; a++) {
|
|
1403
|
+
let c = r.data.rows[Number(s[a].ref)],
|
|
1404
|
+
d = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${window.translations[`kind_${c.kind}`].replaceAll('"', """)}"><use href="#icon-${c.icon || c.kind}"></use></svg>`,
|
|
1405
|
+
f = Ce(c.name, i);
|
|
1406
|
+
globalThis.DEBUG_SEARCH_WEIGHTS && (f += ` (score: ${s[a].score.toFixed(2)})`), c.parent && (f = `<span class="parent">
|
|
1407
|
+
${Ce(c.parent, i)}.</span>${f}`);
|
|
1408
|
+
let p = document.createElement("li");
|
|
1409
|
+
p.id = `tsd-search:${Le}-${a}`, p.role = "option", p.ariaSelected = "false", p.classList.value = c.classes ?? "";
|
|
1410
|
+
let v = document.createElement("a");
|
|
1411
|
+
v.tabIndex = -1, v.href = r.base + c.url, v.innerHTML = d + `<span class="text">${f}</span>`, p.append(v), t.appendChild(p);
|
|
1248
1412
|
}
|
|
1249
1413
|
}
|
|
1250
|
-
function
|
|
1251
|
-
let
|
|
1252
|
-
if (
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1414
|
+
function Te(t, e, n, r) {
|
|
1415
|
+
let i;
|
|
1416
|
+
if (r === 1 ? i = n?.nextElementSibling || t.firstElementChild : i = n?.previousElementSibling || t.lastElementChild, i !== n) {
|
|
1417
|
+
if (!i || i.role !== "option") {
|
|
1418
|
+
console.error("Option missing");
|
|
1419
|
+
return;
|
|
1420
|
+
}
|
|
1421
|
+
i.ariaSelected = "true", i.scrollIntoView({
|
|
1422
|
+
behavior: "smooth",
|
|
1423
|
+
block: "nearest"
|
|
1424
|
+
}), e.setAttribute("aria-activedescendant", i.id), n?.setAttribute("aria-selected", "false");
|
|
1256
1425
|
}
|
|
1257
1426
|
}
|
|
1258
|
-
function
|
|
1259
|
-
let
|
|
1260
|
-
|
|
1261
|
-
let r = n.querySelector("a");
|
|
1262
|
-
r && (window.location.href = r.href), re(e);
|
|
1263
|
-
}
|
|
1427
|
+
function ke(t) {
|
|
1428
|
+
let e = t.getAttribute("aria-activedescendant");
|
|
1429
|
+
(e ? document.getElementById(e) : null)?.setAttribute("aria-selected", "false"), t.setAttribute("aria-activedescendant", "");
|
|
1264
1430
|
}
|
|
1265
|
-
function
|
|
1431
|
+
function Ce(t, e) {
|
|
1266
1432
|
if (e === "") return t;
|
|
1267
1433
|
let n = t.toLocaleLowerCase(),
|
|
1268
1434
|
r = e.toLocaleLowerCase(),
|
|
1269
1435
|
i = [],
|
|
1270
1436
|
s = 0,
|
|
1271
1437
|
o = n.indexOf(r);
|
|
1272
|
-
for (; o != -1;) i.push(
|
|
1273
|
-
return i.push(
|
|
1438
|
+
for (; o != -1;) i.push(te(t.substring(s, o)), `<mark>${te(t.substring(o, o + r.length))}</mark>`), s = o + r.length, o = n.indexOf(r, s);
|
|
1439
|
+
return i.push(te(t.substring(s))), i.join("");
|
|
1274
1440
|
}
|
|
1275
|
-
var
|
|
1441
|
+
var lt = {
|
|
1276
1442
|
"&": "&",
|
|
1277
1443
|
"<": "<",
|
|
1278
1444
|
">": ">",
|
|
1279
1445
|
"'": "'",
|
|
1280
1446
|
'"': """
|
|
1281
1447
|
};
|
|
1282
|
-
function
|
|
1283
|
-
return t.replace(/[&<>"'"]/g, e =>
|
|
1448
|
+
function te(t) {
|
|
1449
|
+
return t.replace(/[&<>"'"]/g, e => lt[e]);
|
|
1284
1450
|
}
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1451
|
+
function Pe(t, e) {
|
|
1452
|
+
t.innerHTML = e ? `<div>${e}</div>` : "";
|
|
1453
|
+
}
|
|
1454
|
+
var ct = ["button", "checkbox", "file", "hidden", "image", "radio", "range", "reset", "submit"];
|
|
1455
|
+
function ut() {
|
|
1456
|
+
let t = document.activeElement;
|
|
1457
|
+
return t ? t.isContentEditable || t.tagName === "TEXTAREA" || t.tagName === "SEARCH" ? !0 : t.tagName === "INPUT" && !ct.includes(t.type) : !1;
|
|
1458
|
+
}
|
|
1459
|
+
var D = "mousedown",
|
|
1460
|
+
Me = "mousemove",
|
|
1461
|
+
$ = "mouseup",
|
|
1462
|
+
ne = {
|
|
1295
1463
|
x: 0,
|
|
1296
1464
|
y: 0
|
|
1297
1465
|
},
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
document.documentElement.classList.add(
|
|
1304
|
-
|
|
1305
|
-
document.addEventListener(
|
|
1306
|
-
|
|
1307
|
-
let e =
|
|
1308
|
-
|
|
1466
|
+
Qe = !1,
|
|
1467
|
+
ce = !1,
|
|
1468
|
+
dt = !1,
|
|
1469
|
+
F = !1,
|
|
1470
|
+
Oe = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
1471
|
+
document.documentElement.classList.add(Oe ? "is-mobile" : "not-mobile");
|
|
1472
|
+
Oe && "ontouchstart" in document.documentElement && (dt = !0, D = "touchstart", Me = "touchmove", $ = "touchend");
|
|
1473
|
+
document.addEventListener(D, t => {
|
|
1474
|
+
ce = !0, F = !1;
|
|
1475
|
+
let e = D == "touchstart" ? t.targetTouches[0] : t;
|
|
1476
|
+
ne.y = e.pageY || 0, ne.x = e.pageX || 0;
|
|
1309
1477
|
});
|
|
1310
|
-
document.addEventListener(
|
|
1311
|
-
if (
|
|
1312
|
-
let e =
|
|
1313
|
-
n =
|
|
1314
|
-
r =
|
|
1315
|
-
|
|
1478
|
+
document.addEventListener(Me, t => {
|
|
1479
|
+
if (ce && !F) {
|
|
1480
|
+
let e = D == "touchstart" ? t.targetTouches[0] : t,
|
|
1481
|
+
n = ne.x - (e.pageX || 0),
|
|
1482
|
+
r = ne.y - (e.pageY || 0);
|
|
1483
|
+
F = Math.sqrt(n * n + r * r) > 10;
|
|
1316
1484
|
}
|
|
1317
1485
|
});
|
|
1318
|
-
document.addEventListener(
|
|
1319
|
-
|
|
1486
|
+
document.addEventListener($, () => {
|
|
1487
|
+
ce = !1;
|
|
1320
1488
|
});
|
|
1321
1489
|
document.addEventListener("click", t => {
|
|
1322
|
-
|
|
1490
|
+
Qe && (t.preventDefault(), t.stopImmediatePropagation(), Qe = !1);
|
|
1323
1491
|
});
|
|
1324
|
-
var
|
|
1325
|
-
function
|
|
1326
|
-
var
|
|
1327
|
-
_classCallCheck(this,
|
|
1328
|
-
(
|
|
1329
|
-
return
|
|
1492
|
+
var re = /*#__PURE__*/function (_I2) {
|
|
1493
|
+
function re(e) {
|
|
1494
|
+
var _this2;
|
|
1495
|
+
_classCallCheck(this, re);
|
|
1496
|
+
(_this2 = _callSuper(this, re, [e]), _defineProperty(_assertThisInitialized(_this2), "active", void 0), _defineProperty(_assertThisInitialized(_this2), "className", void 0)), _this2.className = _this2.el.dataset.toggle || "", _this2.el.addEventListener($, n => _this2.onPointerUp(n)), _this2.el.addEventListener("click", n => n.preventDefault()), document.addEventListener(D, n => _this2.onDocumentPointerDown(n)), document.addEventListener($, n => _this2.onDocumentPointerUp(n));
|
|
1497
|
+
return _this2;
|
|
1330
1498
|
}
|
|
1331
|
-
_inherits(
|
|
1332
|
-
return _createClass(
|
|
1499
|
+
_inherits(re, _I2);
|
|
1500
|
+
return _createClass(re, [{
|
|
1333
1501
|
key: "setActive",
|
|
1334
1502
|
value: function setActive(e) {
|
|
1335
1503
|
if (this.active == e) return;
|
|
@@ -1340,7 +1508,7 @@ window.translations = {
|
|
|
1340
1508
|
}, {
|
|
1341
1509
|
key: "onPointerUp",
|
|
1342
1510
|
value: function onPointerUp(e) {
|
|
1343
|
-
|
|
1511
|
+
F || (this.setActive(!0), e.preventDefault());
|
|
1344
1512
|
}
|
|
1345
1513
|
}, {
|
|
1346
1514
|
key: "onDocumentPointerDown",
|
|
@@ -1353,7 +1521,7 @@ window.translations = {
|
|
|
1353
1521
|
}, {
|
|
1354
1522
|
key: "onDocumentPointerUp",
|
|
1355
1523
|
value: function onDocumentPointerUp(e) {
|
|
1356
|
-
if (!
|
|
1524
|
+
if (!F && this.active && e.target.closest(".col-sidebar")) {
|
|
1357
1525
|
let n = e.target.closest("a");
|
|
1358
1526
|
if (n) {
|
|
1359
1527
|
let r = window.location.href;
|
|
@@ -1363,59 +1531,16 @@ window.translations = {
|
|
|
1363
1531
|
}
|
|
1364
1532
|
}]);
|
|
1365
1533
|
}(I);
|
|
1366
|
-
var
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
se = {
|
|
1371
|
-
getItem() {
|
|
1372
|
-
return null;
|
|
1373
|
-
},
|
|
1374
|
-
setItem() {}
|
|
1375
|
-
};
|
|
1376
|
-
}
|
|
1377
|
-
var C = se;
|
|
1378
|
-
var Le = document.head.appendChild(document.createElement("style"));
|
|
1379
|
-
Le.dataset.for = "filters";
|
|
1380
|
-
var Z = /*#__PURE__*/function (_I2) {
|
|
1381
|
-
function Z(e) {
|
|
1382
|
-
var _this2;
|
|
1383
|
-
_classCallCheck(this, Z);
|
|
1384
|
-
(_this2 = _callSuper(this, Z, [e]), _defineProperty(_assertThisInitialized(_this2), "key", void 0), _defineProperty(_assertThisInitialized(_this2), "value", void 0)), _this2.key = `filter-${_this2.el.name}`, _this2.value = _this2.el.checked, _this2.el.addEventListener("change", () => {
|
|
1385
|
-
_this2.setLocalStorage(_this2.el.checked);
|
|
1386
|
-
}), _this2.setLocalStorage(_this2.fromLocalStorage()), Le.innerHTML += `html:not(.${_this2.key}) .tsd-is-${_this2.el.name} { display: none; }
|
|
1387
|
-
`, _this2.app.updateIndexVisibility();
|
|
1388
|
-
return _this2;
|
|
1389
|
-
}
|
|
1390
|
-
_inherits(Z, _I2);
|
|
1391
|
-
return _createClass(Z, [{
|
|
1392
|
-
key: "fromLocalStorage",
|
|
1393
|
-
value: function fromLocalStorage() {
|
|
1394
|
-
let e = C.getItem(this.key);
|
|
1395
|
-
return e ? e === "true" : this.el.checked;
|
|
1396
|
-
}
|
|
1397
|
-
}, {
|
|
1398
|
-
key: "setLocalStorage",
|
|
1399
|
-
value: function setLocalStorage(e) {
|
|
1400
|
-
C.setItem(this.key, e.toString()), this.value = e, this.handleValueChange();
|
|
1401
|
-
}
|
|
1402
|
-
}, {
|
|
1403
|
-
key: "handleValueChange",
|
|
1404
|
-
value: function handleValueChange() {
|
|
1405
|
-
this.el.checked = this.value, document.documentElement.classList.toggle(this.key, this.value), this.app.filterChanged(), this.app.updateIndexVisibility();
|
|
1406
|
-
}
|
|
1407
|
-
}]);
|
|
1408
|
-
}(I);
|
|
1409
|
-
var oe = new Map(),
|
|
1410
|
-
ae = /*#__PURE__*/function () {
|
|
1411
|
-
function ae(e, n) {
|
|
1412
|
-
_classCallCheck(this, ae);
|
|
1534
|
+
var ue = new Map(),
|
|
1535
|
+
de = /*#__PURE__*/function () {
|
|
1536
|
+
function de(e, n) {
|
|
1537
|
+
_classCallCheck(this, de);
|
|
1413
1538
|
_defineProperty(this, "open", void 0);
|
|
1414
1539
|
_defineProperty(this, "accordions", []);
|
|
1415
1540
|
_defineProperty(this, "key", void 0);
|
|
1416
1541
|
this.key = e, this.open = n;
|
|
1417
1542
|
}
|
|
1418
|
-
return _createClass(
|
|
1543
|
+
return _createClass(de, [{
|
|
1419
1544
|
key: "add",
|
|
1420
1545
|
value: function add(e) {
|
|
1421
1546
|
this.accordions.push(e), e.open = this.open, e.addEventListener("toggle", () => {
|
|
@@ -1426,15 +1551,15 @@ window.translations = {
|
|
|
1426
1551
|
key: "toggle",
|
|
1427
1552
|
value: function toggle(e) {
|
|
1428
1553
|
for (let n of this.accordions) n.open = e;
|
|
1429
|
-
|
|
1554
|
+
S.setItem(this.key, e.toString());
|
|
1430
1555
|
}
|
|
1431
1556
|
}]);
|
|
1432
1557
|
}(),
|
|
1433
|
-
|
|
1434
|
-
function
|
|
1558
|
+
ie = /*#__PURE__*/function (_I3) {
|
|
1559
|
+
function ie(e) {
|
|
1435
1560
|
var _this3;
|
|
1436
|
-
_classCallCheck(this,
|
|
1437
|
-
_this3 = _callSuper(this,
|
|
1561
|
+
_classCallCheck(this, ie);
|
|
1562
|
+
_this3 = _callSuper(this, ie, [e]);
|
|
1438
1563
|
let n = _this3.el.querySelector("summary"),
|
|
1439
1564
|
r = n.querySelector("a");
|
|
1440
1565
|
r && r.addEventListener("click", () => {
|
|
@@ -1442,74 +1567,79 @@ window.translations = {
|
|
|
1442
1567
|
});
|
|
1443
1568
|
let i = `tsd-accordion-${n.dataset.key ?? n.textContent.trim().replace(/\s+/g, "-").toLowerCase()}`,
|
|
1444
1569
|
s;
|
|
1445
|
-
if (
|
|
1446
|
-
let o =
|
|
1570
|
+
if (ue.has(i)) s = ue.get(i);else {
|
|
1571
|
+
let o = S.getItem(i),
|
|
1447
1572
|
a = o ? o === "true" : _this3.el.open;
|
|
1448
|
-
s = new
|
|
1573
|
+
s = new de(i, a), ue.set(i, s);
|
|
1449
1574
|
}
|
|
1450
1575
|
s.add(_this3.el);
|
|
1451
1576
|
return _this3;
|
|
1452
1577
|
}
|
|
1453
|
-
_inherits(
|
|
1454
|
-
return _createClass(
|
|
1578
|
+
_inherits(ie, _I3);
|
|
1579
|
+
return _createClass(ie);
|
|
1455
1580
|
}(I);
|
|
1456
|
-
function
|
|
1457
|
-
let e =
|
|
1458
|
-
t.value = e,
|
|
1459
|
-
|
|
1581
|
+
function He(t) {
|
|
1582
|
+
let e = S.getItem("tsd-theme") || "os";
|
|
1583
|
+
t.value = e, Ae(e), t.addEventListener("change", () => {
|
|
1584
|
+
S.setItem("tsd-theme", t.value), Ae(t.value);
|
|
1460
1585
|
});
|
|
1461
1586
|
}
|
|
1462
|
-
function
|
|
1587
|
+
function Ae(t) {
|
|
1463
1588
|
document.documentElement.dataset.theme = t;
|
|
1464
1589
|
}
|
|
1465
|
-
var
|
|
1466
|
-
function
|
|
1590
|
+
var se;
|
|
1591
|
+
function Ne() {
|
|
1467
1592
|
let t = document.getElementById("tsd-nav-script");
|
|
1468
|
-
t && (t.addEventListener("load",
|
|
1593
|
+
t && (t.addEventListener("load", Re), Re());
|
|
1469
1594
|
}
|
|
1470
|
-
async function
|
|
1595
|
+
async function Re() {
|
|
1471
1596
|
let t = document.getElementById("tsd-nav-container");
|
|
1472
1597
|
if (!t || !window.navigationData) return;
|
|
1473
|
-
let e = await
|
|
1474
|
-
|
|
1475
|
-
for (let n of e)
|
|
1598
|
+
let e = await R(window.navigationData);
|
|
1599
|
+
se = document.documentElement.dataset.base, se.endsWith("/") || (se += "/"), t.innerHTML = "";
|
|
1600
|
+
for (let n of e) Be(n, t, []);
|
|
1476
1601
|
window.app.createComponents(t), window.app.showPage(), window.app.ensureActivePageVisible();
|
|
1477
1602
|
}
|
|
1478
|
-
function
|
|
1603
|
+
function Be(t, e, n) {
|
|
1479
1604
|
let r = e.appendChild(document.createElement("li"));
|
|
1480
1605
|
if (t.children) {
|
|
1481
1606
|
let i = [...n, t.text],
|
|
1482
1607
|
s = r.appendChild(document.createElement("details"));
|
|
1483
1608
|
s.className = t.class ? `${t.class} tsd-accordion` : "tsd-accordion";
|
|
1484
1609
|
let o = s.appendChild(document.createElement("summary"));
|
|
1485
|
-
o.className = "tsd-accordion-summary", o.dataset.key = i.join("$"), o.innerHTML = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>',
|
|
1610
|
+
o.className = "tsd-accordion-summary", o.dataset.key = i.join("$"), o.innerHTML = '<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>', De(t, o);
|
|
1486
1611
|
let a = s.appendChild(document.createElement("div"));
|
|
1487
1612
|
a.className = "tsd-accordion-details";
|
|
1488
|
-
let
|
|
1489
|
-
|
|
1490
|
-
for (let
|
|
1491
|
-
} else
|
|
1613
|
+
let c = a.appendChild(document.createElement("ul"));
|
|
1614
|
+
c.className = "tsd-nested-navigation";
|
|
1615
|
+
for (let l of t.children) Be(l, c, i);
|
|
1616
|
+
} else De(t, r, t.class);
|
|
1492
1617
|
}
|
|
1493
|
-
function
|
|
1618
|
+
function De(t, e, n) {
|
|
1494
1619
|
if (t.path) {
|
|
1495
1620
|
let r = e.appendChild(document.createElement("a"));
|
|
1496
|
-
if (r.href =
|
|
1621
|
+
if (r.href = se + t.path, n && (r.className = n), location.pathname === r.pathname && !r.href.includes("#") && (r.classList.add("current"), r.ariaCurrent = "page"), t.kind) {
|
|
1497
1622
|
let i = window.translations[`kind_${t.kind}`].replaceAll('"', """);
|
|
1498
|
-
r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-${t.kind}"></use></svg>`;
|
|
1623
|
+
r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-${t.icon || t.kind}"></use></svg>`;
|
|
1499
1624
|
}
|
|
1500
|
-
r.appendChild(document.createElement("span"))
|
|
1625
|
+
r.appendChild(Fe(t.text, document.createElement("span")));
|
|
1501
1626
|
} else {
|
|
1502
1627
|
let r = e.appendChild(document.createElement("span")),
|
|
1503
1628
|
i = window.translations.folder.replaceAll('"', """);
|
|
1504
|
-
r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-folder"></use></svg>`, r.appendChild(document.createElement("span"))
|
|
1629
|
+
r.innerHTML = `<svg width="20" height="20" viewBox="0 0 24 24" fill="none" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-folder"></use></svg>`, r.appendChild(Fe(t.text, document.createElement("span")));
|
|
1505
1630
|
}
|
|
1506
1631
|
}
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1632
|
+
function Fe(t, e) {
|
|
1633
|
+
let n = t.split(/(?<=[^A-Z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|(?<=[_-])(?=[^_-])/);
|
|
1634
|
+
for (let r = 0; r < n.length; ++r) r !== 0 && e.appendChild(document.createElement("wbr")), e.appendChild(document.createTextNode(n[r]));
|
|
1635
|
+
return e;
|
|
1636
|
+
}
|
|
1637
|
+
var oe = document.documentElement.dataset.base;
|
|
1638
|
+
oe.endsWith("/") || (oe += "/");
|
|
1639
|
+
function $e() {
|
|
1640
|
+
document.querySelector(".tsd-full-hierarchy") ? ht() : document.querySelector(".tsd-hierarchy") && pt();
|
|
1511
1641
|
}
|
|
1512
|
-
function
|
|
1642
|
+
function ht() {
|
|
1513
1643
|
document.addEventListener("click", r => {
|
|
1514
1644
|
let i = r.target;
|
|
1515
1645
|
for (; i.parentElement && i.parentElement.tagName != "LI";) i = i.parentElement;
|
|
@@ -1530,34 +1660,34 @@ window.translations = {
|
|
|
1530
1660
|
s.dataset.dropdown = "false";
|
|
1531
1661
|
});
|
|
1532
1662
|
for (let s of document.querySelectorAll(`[data-refl="${r}"]`)) {
|
|
1533
|
-
let o =
|
|
1663
|
+
let o = gt(),
|
|
1534
1664
|
a = s.querySelector("ul");
|
|
1535
1665
|
s.insertBefore(o, a), o.dataset.dropdown = String(!!a), a || s.appendChild(i.cloneNode(!0));
|
|
1536
1666
|
}
|
|
1537
1667
|
}
|
|
1538
1668
|
}
|
|
1539
|
-
function
|
|
1669
|
+
function pt() {
|
|
1540
1670
|
let t = document.getElementById("tsd-hierarchy-script");
|
|
1541
|
-
t && (t.addEventListener("load",
|
|
1671
|
+
t && (t.addEventListener("load", Ve), Ve());
|
|
1542
1672
|
}
|
|
1543
|
-
async function
|
|
1673
|
+
async function Ve() {
|
|
1544
1674
|
let t = document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");
|
|
1545
1675
|
if (!t || !window.hierarchyData) return;
|
|
1546
1676
|
let e = +t.dataset.refl,
|
|
1547
|
-
n = await
|
|
1677
|
+
n = await R(window.hierarchyData),
|
|
1548
1678
|
r = t.querySelector("ul"),
|
|
1549
1679
|
i = document.createElement("ul");
|
|
1550
|
-
if (i.classList.add("tsd-hierarchy"),
|
|
1680
|
+
if (i.classList.add("tsd-hierarchy"), ft(i, n, e), r.querySelectorAll("li").length == i.querySelectorAll("li").length) return;
|
|
1551
1681
|
let s = document.createElement("span");
|
|
1552
1682
|
s.classList.add("tsd-hierarchy-toggle"), s.textContent = window.translations.hierarchy_expand, t.querySelector("h4 a")?.insertAdjacentElement("afterend", s), s.insertAdjacentText("beforebegin", ", "), s.addEventListener("click", () => {
|
|
1553
1683
|
s.textContent === window.translations.hierarchy_expand ? (r.insertAdjacentElement("afterend", i), r.remove(), s.textContent = window.translations.hierarchy_collapse) : (i.insertAdjacentElement("afterend", r), i.remove(), s.textContent = window.translations.hierarchy_expand);
|
|
1554
1684
|
});
|
|
1555
1685
|
}
|
|
1556
|
-
function
|
|
1557
|
-
let r = e.roots.filter(i =>
|
|
1558
|
-
for (let i of r) t.appendChild(
|
|
1686
|
+
function ft(t, e, n) {
|
|
1687
|
+
let r = e.roots.filter(i => mt(e, i, n));
|
|
1688
|
+
for (let i of r) t.appendChild(je(e, i, n));
|
|
1559
1689
|
}
|
|
1560
|
-
function
|
|
1690
|
+
function je(t, e, n, r = new Set()) {
|
|
1561
1691
|
if (r.has(e)) return;
|
|
1562
1692
|
r.add(e);
|
|
1563
1693
|
let i = t.reflections[e],
|
|
@@ -1567,24 +1697,24 @@ window.translations = {
|
|
|
1567
1697
|
o.textContent = i.name, o.classList.add("tsd-hierarchy-target");
|
|
1568
1698
|
} else {
|
|
1569
1699
|
for (let a of i.uniqueNameParents || []) {
|
|
1570
|
-
let
|
|
1571
|
-
|
|
1572
|
-
|
|
1700
|
+
let c = t.reflections[a],
|
|
1701
|
+
l = s.appendChild(document.createElement("a"));
|
|
1702
|
+
l.textContent = c.name, l.href = oe + c.url, l.className = c.class + " tsd-signature-type", s.append(document.createTextNode("."));
|
|
1573
1703
|
}
|
|
1574
1704
|
let o = s.appendChild(document.createElement("a"));
|
|
1575
|
-
o.textContent = t.reflections[e].name, o.href =
|
|
1705
|
+
o.textContent = t.reflections[e].name, o.href = oe + i.url, o.className = i.class + " tsd-signature-type";
|
|
1576
1706
|
}
|
|
1577
1707
|
if (i.children) {
|
|
1578
1708
|
let o = s.appendChild(document.createElement("ul"));
|
|
1579
1709
|
o.classList.add("tsd-hierarchy");
|
|
1580
1710
|
for (let a of i.children) {
|
|
1581
|
-
let
|
|
1582
|
-
|
|
1711
|
+
let c = je(t, a, n, r);
|
|
1712
|
+
c && o.appendChild(c);
|
|
1583
1713
|
}
|
|
1584
1714
|
}
|
|
1585
1715
|
return r.delete(e), s;
|
|
1586
1716
|
}
|
|
1587
|
-
function
|
|
1717
|
+
function mt(t, e, n) {
|
|
1588
1718
|
if (e === n) return !0;
|
|
1589
1719
|
let r = new Set(),
|
|
1590
1720
|
i = [t.reflections[e]];
|
|
@@ -1600,22 +1730,23 @@ window.translations = {
|
|
|
1600
1730
|
}
|
|
1601
1731
|
return !1;
|
|
1602
1732
|
}
|
|
1603
|
-
function
|
|
1733
|
+
function gt() {
|
|
1604
1734
|
let t = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
1605
1735
|
return t.setAttribute("width", "20"), t.setAttribute("height", "20"), t.setAttribute("viewBox", "0 0 24 24"), t.setAttribute("fill", "none"), t.innerHTML = '<use href="#icon-chevronDown"></use>', t;
|
|
1606
1736
|
}
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
var
|
|
1611
|
-
|
|
1612
|
-
var
|
|
1737
|
+
X(re, "a[data-toggle]");
|
|
1738
|
+
X(ie, ".tsd-accordion");
|
|
1739
|
+
X(ee, ".tsd-filter-item input[type=checkbox]");
|
|
1740
|
+
var qe = document.getElementById("tsd-theme");
|
|
1741
|
+
qe && He(qe);
|
|
1742
|
+
var yt = new Z();
|
|
1613
1743
|
Object.defineProperty(window, "app", {
|
|
1614
|
-
value:
|
|
1744
|
+
value: yt
|
|
1615
1745
|
});
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1746
|
+
_e();
|
|
1747
|
+
Ne();
|
|
1748
|
+
$e();
|
|
1749
|
+
"virtualKeyboard" in navigator && (navigator.virtualKeyboard.overlaysContent = !0);
|
|
1619
1750
|
})();
|
|
1620
1751
|
/*! Bundled license information:
|
|
1621
1752
|
|