@zelloptt/react-native-zello-sdk 2.0.1 → 4.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.
Files changed (201) hide show
  1. package/README.md +100 -15
  2. package/android/build.gradle +29 -10
  3. package/android/gradle.properties +4 -4
  4. package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModule.kt +93 -68
  5. package/android/src/main/java/com/zellosdk/ZelloAndroidSdkModuleHelper.kt +25 -0
  6. package/app.plugin.js +97 -0
  7. package/ios/Extensions/ZelloContact+Extension.swift +26 -3
  8. package/ios/Extensions/ZelloHistoryVoiceMessage+Extension.swift +3 -0
  9. package/ios/Extensions/ZelloIOSSdkModule+Extension.swift +8 -2
  10. package/ios/Extensions/ZelloIncomingEmergency+Extension.swift +1 -0
  11. package/ios/Extensions/ZelloTranscription+Extension.swift +18 -0
  12. package/ios/ZelloIOSSdkModule.swift +24 -7
  13. package/ios/ZelloIOSSdkModuleBridge.m +1 -0
  14. package/ios/ZelloSdkModule.h +8 -0
  15. package/ios/ZelloSdkModule.mm +189 -0
  16. package/ios/ZelloSdkModuleImpl.swift +280 -0
  17. package/lib/commonjs/docs/assets/highlight.css +17 -10
  18. package/lib/commonjs/docs/assets/icons.js +1 -1
  19. package/lib/commonjs/docs/assets/icons.js.map +1 -1
  20. package/lib/commonjs/docs/assets/icons.svg +1 -1
  21. package/lib/commonjs/docs/assets/main.js +220 -288
  22. package/lib/commonjs/docs/assets/main.js.map +1 -1
  23. package/lib/commonjs/docs/assets/navigation.js +1 -1
  24. package/lib/commonjs/docs/assets/navigation.js.map +1 -1
  25. package/lib/commonjs/docs/assets/search.js +1 -1
  26. package/lib/commonjs/docs/assets/search.js.map +1 -1
  27. package/lib/commonjs/docs/assets/style.css +21 -6
  28. package/lib/commonjs/docs/classes/sdk.Zello.html +793 -97
  29. package/lib/commonjs/docs/classes/types.ZelloAlertMessage.html +122 -9
  30. package/lib/commonjs/docs/classes/types.ZelloChannel.html +155 -10
  31. package/lib/commonjs/docs/classes/types.ZelloChannelUser.html +86 -4
  32. package/lib/commonjs/docs/classes/types.ZelloDispatchCall.html +90 -6
  33. package/lib/commonjs/docs/classes/types.ZelloDispatchChannel.html +163 -11
  34. package/lib/commonjs/docs/classes/types.ZelloGroupConversation.html +178 -13
  35. package/lib/commonjs/docs/classes/types.ZelloHistoryAlertMessage.html +131 -10
  36. package/lib/commonjs/docs/classes/types.ZelloHistoryImageMessage.html +123 -9
  37. package/lib/commonjs/docs/classes/types.ZelloHistoryLocationMessage.html +155 -13
  38. package/lib/commonjs/docs/classes/types.ZelloHistoryTextMessage.html +131 -10
  39. package/lib/commonjs/docs/classes/types.ZelloHistoryVoiceMessage.html +145 -10
  40. package/lib/commonjs/docs/classes/types.ZelloImageMessage.html +130 -10
  41. package/lib/commonjs/docs/classes/types.ZelloIncomingEmergency.html +114 -9
  42. package/lib/commonjs/docs/classes/types.ZelloIncomingVoiceMessage.html +124 -8
  43. package/lib/commonjs/docs/classes/types.ZelloLocationMessage.html +146 -12
  44. package/lib/commonjs/docs/classes/types.ZelloOutgoingEmergency.html +98 -7
  45. package/lib/commonjs/docs/classes/types.ZelloOutgoingVoiceMessage.html +120 -9
  46. package/lib/commonjs/docs/classes/types.ZelloRecentEntry.html +114 -9
  47. package/lib/commonjs/docs/classes/types.ZelloTextMessage.html +122 -9
  48. package/lib/commonjs/docs/classes/types.ZelloTranscription.html +122 -0
  49. package/lib/commonjs/docs/classes/types.ZelloTranslation.html +91 -0
  50. package/lib/commonjs/docs/classes/types.ZelloUser.html +142 -11
  51. package/lib/commonjs/docs/classes/types.ZelloUserSupportedFeatures.html +82 -5
  52. package/lib/commonjs/docs/enums/events.ZelloEvent.html +563 -95
  53. package/lib/commonjs/docs/enums/types.ZelloAccountStatus.html +67 -5
  54. package/lib/commonjs/docs/enums/types.ZelloChannelAlertLevel.html +67 -5
  55. package/lib/commonjs/docs/enums/types.ZelloChannelConnectionStatus.html +68 -3
  56. package/lib/commonjs/docs/enums/types.ZelloChannelType.html +84 -0
  57. package/lib/commonjs/docs/enums/types.ZelloConnectionError.html +68 -3
  58. package/lib/commonjs/docs/enums/types.ZelloConnectionState.html +73 -3
  59. package/lib/commonjs/docs/enums/types.ZelloContactType.html +73 -3
  60. package/lib/commonjs/docs/enums/types.ZelloDispatchCallStatus.html +73 -3
  61. package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageError.html +63 -3
  62. package/lib/commonjs/docs/enums/types.ZelloOutgoingVoiceMessageState.html +78 -3
  63. package/lib/commonjs/docs/enums/types.ZelloRecentEntryType.html +78 -3
  64. package/lib/commonjs/docs/enums/types.ZelloUserStatus.html +81 -7
  65. package/lib/commonjs/docs/hierarchy.html +29 -1
  66. package/lib/commonjs/docs/index.html +155 -26
  67. package/lib/commonjs/docs/interfaces/specs_NativeZelloSdk.Spec.html +504 -0
  68. package/lib/commonjs/docs/modules/events.html +37 -1
  69. package/lib/commonjs/docs/modules/index.html +37 -1
  70. package/lib/commonjs/docs/modules/sdk.html +37 -1
  71. package/lib/commonjs/docs/modules/specs_NativeZelloSdk.html +41 -0
  72. package/lib/commonjs/docs/modules/types.html +45 -1
  73. package/lib/commonjs/docs/modules.html +36 -1
  74. package/lib/commonjs/docs/types/types.ZelloChannelOptions.html +114 -9
  75. package/lib/commonjs/docs/types/types.ZelloConfig.html +86 -7
  76. package/lib/commonjs/docs/types/types.ZelloConsoleSettings.html +96 -9
  77. package/lib/commonjs/docs/types/types.ZelloContact.html +80 -6
  78. package/lib/commonjs/docs/types/types.ZelloCredentials.html +75 -6
  79. package/lib/commonjs/docs/types/types.ZelloHistoryMessage.html +97 -8
  80. package/lib/commonjs/docs/types/types.ZelloMessage.html +91 -7
  81. package/lib/commonjs/docs/variables/specs_NativeZelloSdk.default.html +34 -0
  82. package/lib/commonjs/events/index.js +217 -0
  83. package/lib/commonjs/events/index.js.map +1 -1
  84. package/lib/commonjs/sdk/index.js +731 -911
  85. package/lib/commonjs/sdk/index.js.map +1 -1
  86. package/lib/commonjs/specs/NativeZelloSdk.js +27 -0
  87. package/lib/commonjs/specs/NativeZelloSdk.js.map +1 -0
  88. package/lib/commonjs/types/index.js +423 -302
  89. package/lib/commonjs/types/index.js.map +1 -1
  90. package/lib/commonjs/utils/index.js +27 -4
  91. package/lib/commonjs/utils/index.js.map +1 -1
  92. package/lib/module/docs/assets/highlight.css +17 -10
  93. package/lib/module/docs/assets/icons.js +1 -1
  94. package/lib/module/docs/assets/icons.js.map +1 -1
  95. package/lib/module/docs/assets/icons.svg +1 -1
  96. package/lib/module/docs/assets/main.js +220 -288
  97. package/lib/module/docs/assets/main.js.map +1 -1
  98. package/lib/module/docs/assets/navigation.js +1 -1
  99. package/lib/module/docs/assets/navigation.js.map +1 -1
  100. package/lib/module/docs/assets/search.js +1 -1
  101. package/lib/module/docs/assets/search.js.map +1 -1
  102. package/lib/module/docs/assets/style.css +21 -6
  103. package/lib/module/docs/classes/sdk.Zello.html +793 -97
  104. package/lib/module/docs/classes/types.ZelloAlertMessage.html +122 -9
  105. package/lib/module/docs/classes/types.ZelloChannel.html +155 -10
  106. package/lib/module/docs/classes/types.ZelloChannelUser.html +86 -4
  107. package/lib/module/docs/classes/types.ZelloDispatchCall.html +90 -6
  108. package/lib/module/docs/classes/types.ZelloDispatchChannel.html +163 -11
  109. package/lib/module/docs/classes/types.ZelloGroupConversation.html +178 -13
  110. package/lib/module/docs/classes/types.ZelloHistoryAlertMessage.html +131 -10
  111. package/lib/module/docs/classes/types.ZelloHistoryImageMessage.html +123 -9
  112. package/lib/module/docs/classes/types.ZelloHistoryLocationMessage.html +155 -13
  113. package/lib/module/docs/classes/types.ZelloHistoryTextMessage.html +131 -10
  114. package/lib/module/docs/classes/types.ZelloHistoryVoiceMessage.html +145 -10
  115. package/lib/module/docs/classes/types.ZelloImageMessage.html +130 -10
  116. package/lib/module/docs/classes/types.ZelloIncomingEmergency.html +114 -9
  117. package/lib/module/docs/classes/types.ZelloIncomingVoiceMessage.html +124 -8
  118. package/lib/module/docs/classes/types.ZelloLocationMessage.html +146 -12
  119. package/lib/module/docs/classes/types.ZelloOutgoingEmergency.html +98 -7
  120. package/lib/module/docs/classes/types.ZelloOutgoingVoiceMessage.html +120 -9
  121. package/lib/module/docs/classes/types.ZelloRecentEntry.html +114 -9
  122. package/lib/module/docs/classes/types.ZelloTextMessage.html +122 -9
  123. package/lib/module/docs/classes/types.ZelloTranscription.html +122 -0
  124. package/lib/module/docs/classes/types.ZelloTranslation.html +91 -0
  125. package/lib/module/docs/classes/types.ZelloUser.html +142 -11
  126. package/lib/module/docs/classes/types.ZelloUserSupportedFeatures.html +82 -5
  127. package/lib/module/docs/enums/events.ZelloEvent.html +563 -95
  128. package/lib/module/docs/enums/types.ZelloAccountStatus.html +67 -5
  129. package/lib/module/docs/enums/types.ZelloChannelAlertLevel.html +67 -5
  130. package/lib/module/docs/enums/types.ZelloChannelConnectionStatus.html +68 -3
  131. package/lib/module/docs/enums/types.ZelloChannelType.html +84 -0
  132. package/lib/module/docs/enums/types.ZelloConnectionError.html +68 -3
  133. package/lib/module/docs/enums/types.ZelloConnectionState.html +73 -3
  134. package/lib/module/docs/enums/types.ZelloContactType.html +73 -3
  135. package/lib/module/docs/enums/types.ZelloDispatchCallStatus.html +73 -3
  136. package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageError.html +63 -3
  137. package/lib/module/docs/enums/types.ZelloOutgoingVoiceMessageState.html +78 -3
  138. package/lib/module/docs/enums/types.ZelloRecentEntryType.html +78 -3
  139. package/lib/module/docs/enums/types.ZelloUserStatus.html +81 -7
  140. package/lib/module/docs/hierarchy.html +29 -1
  141. package/lib/module/docs/index.html +155 -26
  142. package/lib/module/docs/interfaces/specs_NativeZelloSdk.Spec.html +504 -0
  143. package/lib/module/docs/modules/events.html +37 -1
  144. package/lib/module/docs/modules/index.html +37 -1
  145. package/lib/module/docs/modules/sdk.html +37 -1
  146. package/lib/module/docs/modules/specs_NativeZelloSdk.html +41 -0
  147. package/lib/module/docs/modules/types.html +45 -1
  148. package/lib/module/docs/modules.html +36 -1
  149. package/lib/module/docs/types/types.ZelloChannelOptions.html +114 -9
  150. package/lib/module/docs/types/types.ZelloConfig.html +86 -7
  151. package/lib/module/docs/types/types.ZelloConsoleSettings.html +96 -9
  152. package/lib/module/docs/types/types.ZelloContact.html +80 -6
  153. package/lib/module/docs/types/types.ZelloCredentials.html +75 -6
  154. package/lib/module/docs/types/types.ZelloHistoryMessage.html +97 -8
  155. package/lib/module/docs/types/types.ZelloMessage.html +91 -7
  156. package/lib/module/docs/variables/specs_NativeZelloSdk.default.html +34 -0
  157. package/lib/module/events/index.js +217 -0
  158. package/lib/module/events/index.js.map +1 -1
  159. package/lib/module/sdk/index.js +730 -912
  160. package/lib/module/sdk/index.js.map +1 -1
  161. package/lib/module/specs/NativeZelloSdk.js +25 -0
  162. package/lib/module/specs/NativeZelloSdk.js.map +1 -0
  163. package/lib/module/types/index.js +378 -301
  164. package/lib/module/types/index.js.map +1 -1
  165. package/lib/module/utils/index.js +27 -5
  166. package/lib/module/utils/index.js.map +1 -1
  167. package/lib/typescript/commonjs/src/events/index.d.ts +9 -0
  168. package/lib/typescript/commonjs/src/events/index.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/src/sdk/index.d.ts +10 -0
  170. package/lib/typescript/commonjs/src/sdk/index.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/src/specs/NativeZelloSdk.d.ts +55 -0
  172. package/lib/typescript/commonjs/src/specs/NativeZelloSdk.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/src/types/index.d.ts +106 -4
  174. package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -1
  175. package/lib/typescript/commonjs/src/utils/index.d.ts +2 -1
  176. package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -1
  177. package/lib/typescript/module/src/events/index.d.ts +9 -0
  178. package/lib/typescript/module/src/events/index.d.ts.map +1 -1
  179. package/lib/typescript/module/src/index.d.ts +4 -4
  180. package/lib/typescript/module/src/index.d.ts.map +1 -1
  181. package/lib/typescript/module/src/sdk/index.d.ts +11 -1
  182. package/lib/typescript/module/src/sdk/index.d.ts.map +1 -1
  183. package/lib/typescript/module/src/specs/NativeZelloSdk.d.ts +55 -0
  184. package/lib/typescript/module/src/specs/NativeZelloSdk.d.ts.map +1 -0
  185. package/lib/typescript/module/src/types/index.d.ts +106 -4
  186. package/lib/typescript/module/src/types/index.d.ts.map +1 -1
  187. package/lib/typescript/module/src/utils/algorithms/index.d.ts +1 -1
  188. package/lib/typescript/module/src/utils/algorithms/index.d.ts.map +1 -1
  189. package/lib/typescript/module/src/utils/index.d.ts +2 -1
  190. package/lib/typescript/module/src/utils/index.d.ts.map +1 -1
  191. package/package.json +53 -16
  192. package/react-native-zello-sdk.podspec +23 -24
  193. package/scripts/podfile-transform.js +416 -0
  194. package/scripts/setup-ios.js +248 -0
  195. package/scripts/zello_pods.rb +128 -0
  196. package/scripts/zello_sdk_requirement.rb +12 -0
  197. package/src/events/index.ts +9 -0
  198. package/src/sdk/index.ts +105 -225
  199. package/src/specs/NativeZelloSdk.ts +89 -0
  200. package/src/types/index.ts +153 -6
  201. package/src/utils/index.ts +50 -3
@@ -1,18 +1,5 @@
1
1
  "use strict";
2
2
 
3
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
4
- function _possibleConstructorReturn(t, e) { if (e && ("object" == typeof e || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
5
- function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
6
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function () { return !!t; })(); }
7
- function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
8
- function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
9
- function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
10
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
14
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
15
- function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
16
3
  window.translations = {
17
4
  "copy": "Copy",
18
5
  "copied": "Copied!",
@@ -47,7 +34,6 @@ window.translations = {
47
34
  "kind_4194304": "Reference",
48
35
  "kind_8388608": "Document"
49
36
  };
50
- "use strict";
51
37
  (() => {
52
38
  var Ke = Object.create;
53
39
  var he = Object.defineProperty;
@@ -55,9 +41,15 @@ window.translations = {
55
41
  var Ze = Object.getOwnPropertyNames;
56
42
  var Xe = Object.getPrototypeOf,
57
43
  Ye = Object.prototype.hasOwnProperty;
58
- var et = (t, e) => () => (e || t((e = {
59
- exports: {}
60
- }).exports, e), e.exports);
44
+ var et = (t, e) => () => {
45
+ try {
46
+ return e || t((e = {
47
+ exports: {}
48
+ }).exports, e), e.exports;
49
+ } catch (n) {
50
+ throw e = 0, n;
51
+ }
52
+ };
61
53
  var tt = (t, e, n, r) => {
62
54
  if (e && typeof e == "object" || typeof e == "function") for (let i of Ze(e)) !Ye.call(t, i) && i !== n && he(t, i, {
63
55
  get: () => e[i],
@@ -315,32 +307,32 @@ window.translations = {
315
307
  f = new RegExp(a),
316
308
  p = new RegExp(l),
317
309
  v = new RegExp(c),
318
- x = new RegExp(d),
319
- w = /^(.+?)(ss|i)es$/,
310
+ E = new RegExp(d),
311
+ L = /^(.+?)(ss|i)es$/,
320
312
  m = /^(.+?)([^s])s$/,
321
313
  g = /^(.+?)eed$/,
322
314
  T = /^(.+?)(ed|ing)$/,
323
- L = /.$/,
315
+ w = /.$/,
324
316
  C = /(at|bl|iz)$/,
325
317
  O = new RegExp("([^aeiouylsz])\\1$"),
326
318
  j = new RegExp("^" + s + i + "[^aeiouwxy]$"),
327
319
  N = /^(.+?[^aeiou])y$/,
328
320
  q = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,
329
321
  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)$/,
322
+ V = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,
331
323
  z = /^(.+?)(s|t)(ion)$/,
332
324
  _ = /^(.+?)e$/,
333
325
  U = /ll$/,
334
326
  J = new RegExp("^" + s + i + "[^aeiouwxy]$"),
335
- V = function (u) {
336
- var y, P, k, h, E, Q, H;
327
+ B = function (u) {
328
+ var y, P, k, h, x, Q, H;
337
329
  if (u.length < 3) return u;
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)) {
330
+ if (k = u.substr(0, 1), k == "y" && (u = k.toUpperCase() + u.substr(1)), h = L, x = m, h.test(u) ? u = u.replace(h, "$1$2") : x.test(u) && (u = u.replace(x, "$1$2")), h = g, x = T, h.test(u)) {
339
331
  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"));
332
+ h = f, h.test(b[1]) && (h = w, u = u.replace(h, ""));
333
+ } else if (x.test(u)) {
334
+ var b = x.exec(u);
335
+ y = b[1], x = E, x.test(y) && (u = y, x = C, Q = O, H = j, x.test(u) ? u = u + "e" : Q.test(u) ? (h = w, u = u.replace(h, "")) : H.test(u) && (u = u + "e"));
344
336
  }
345
337
  if (h = N, h.test(u)) {
346
338
  var b = h.exec(u);
@@ -354,21 +346,21 @@ window.translations = {
354
346
  var b = h.exec(u);
355
347
  y = b[1], P = b[2], h = f, h.test(y) && (u = y + n[P]);
356
348
  }
357
- if (h = B, E = z, h.test(u)) {
349
+ if (h = V, x = z, h.test(u)) {
358
350
  var b = h.exec(u);
359
351
  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);
352
+ } else if (x.test(u)) {
353
+ var b = x.exec(u);
354
+ y = b[1] + b[2], x = p, x.test(y) && (u = y);
363
355
  }
364
356
  if (h = _, h.test(u)) {
365
357
  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);
358
+ y = b[1], h = p, x = v, Q = J, (h.test(y) || x.test(y) && !Q.test(y)) && (u = y);
367
359
  }
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;
360
+ return h = U, x = p, h.test(u) && x.test(u) && (h = w, u = u.replace(h, "")), k == "y" && (u = k.toLowerCase() + u.substr(1)), u;
369
361
  };
370
362
  return function (A) {
371
- return A.update(V);
363
+ return A.update(B);
372
364
  };
373
365
  }(), t.Pipeline.registerFunction(t.stemmer, "stemmer");
374
366
  t.generateStopWordFilter = function (e) {
@@ -491,11 +483,11 @@ window.translations = {
491
483
  var p = a[f];
492
484
  if (p == d || d == "*") {
493
485
  var v = r.node.edges[p],
494
- x = r.qNode.edges[d],
495
- w = v.final && x.final,
486
+ E = r.qNode.edges[d],
487
+ L = v.final && E.final,
496
488
  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,
489
+ p in r.output.edges ? (m = r.output.edges[p], m.final = m.final || L) : (m = new t.TokenSet(), m.final = L, r.output.edges[p] = m), i.push({
490
+ qNode: E,
499
491
  output: m,
500
492
  node: v
501
493
  });
@@ -550,20 +542,20 @@ window.translations = {
550
542
  for (var p = 0; p < d.length; p++) {
551
543
  var v = d[p];
552
544
  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) {
545
+ var E = t.TokenSet.fromClause(l),
546
+ L = this.tokenSet.intersect(E).toArray();
547
+ if (L.length === 0 && l.presence === t.Query.presence.REQUIRED) {
556
548
  for (var m = 0; m < l.fields.length; m++) {
557
549
  var g = l.fields[m];
558
550
  o[g] = t.Set.empty;
559
551
  }
560
552
  break;
561
553
  }
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++) {
554
+ for (var T = 0; T < L.length; T++) for (var w = L[T], C = this.invertedIndex[w], O = C._index, m = 0; m < l.fields.length; m++) {
563
555
  var g = l.fields[m],
564
556
  j = C[g],
565
557
  N = Object.keys(j),
566
- q = L + "/" + g,
558
+ q = w + "/" + g,
567
559
  W = new t.Set(N);
568
560
  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
561
  a[g] === void 0 && (a[g] = t.Set.empty), a[g] = a[g].union(W);
@@ -572,12 +564,12 @@ window.translations = {
572
564
  if (i[g].upsert(O, l.boost, function (Ue, Je) {
573
565
  return Ue + Je;
574
566
  }), !s[q]) {
575
- for (var B = 0; B < N.length; B++) {
576
- var z = N[B],
567
+ for (var V = 0; V < N.length; V++) {
568
+ var z = N[V],
577
569
  _ = new t.FieldRef(z, g),
578
570
  U = j[z],
579
571
  J;
580
- (J = r[_]) === void 0 ? r[_] = new t.MatchData(L, g, U) : J.add(L, g, U);
572
+ (J = r[_]) === void 0 ? r[_] = new t.MatchData(w, g, U) : J.add(w, g, U);
581
573
  }
582
574
  s[q] = !0;
583
575
  }
@@ -588,9 +580,9 @@ window.translations = {
588
580
  o[g] = o[g].intersect(f);
589
581
  }
590
582
  }
591
- for (var V = t.Set.complete, A = t.Set.empty, c = 0; c < this.fields.length; c++) {
583
+ for (var B = t.Set.complete, A = t.Set.empty, c = 0; c < this.fields.length; c++) {
592
584
  var g = this.fields[c];
593
- o[g] && (V = V.intersect(o[g])), a[g] && (A = A.union(a[g]));
585
+ o[g] && (B = B.intersect(o[g])), a[g] && (A = A.union(a[g]));
594
586
  }
595
587
  var u = Object.keys(r),
596
588
  y = [],
@@ -606,9 +598,9 @@ window.translations = {
606
598
  for (var c = 0; c < u.length; c++) {
607
599
  var k = t.FieldRef.fromString(u[c]),
608
600
  h = k.docRef;
609
- if (V.contains(h) && !A.contains(h)) {
610
- var E = this.fieldVectors[k],
611
- Q = i[k.fieldName].similarity(E),
601
+ if (B.contains(h) && !A.contains(h)) {
602
+ var x = this.fieldVectors[k],
603
+ Q = i[k.fieldName].similarity(x),
612
604
  H;
613
605
  if ((H = P[h]) !== void 0) H.score += Q, H.matchData.combine(r[k]);else {
614
606
  var b = {
@@ -655,8 +647,8 @@ window.translations = {
655
647
  for (var l = 0; l < o.length; l++) {
656
648
  var d = o[l],
657
649
  v = d[0],
658
- x = d[1];
659
- a.insert(v), s[v] = x;
650
+ E = d[1];
651
+ a.insert(v), s[v] = E;
660
652
  }
661
653
  return a.finish(), n.fields = e.fields, n.fieldVectors = r, n.invertedIndex = s, n.tokenSet = a.root, n.pipeline = c, new t.Index(n);
662
654
  };
@@ -687,18 +679,18 @@ window.translations = {
687
679
  p = Object.create(null);
688
680
  this.fieldTermFrequencies[f] = p, this.fieldLengths[f] = 0, this.fieldLengths[f] += d.length;
689
681
  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;
682
+ var E = d[v];
683
+ if (p[E] == null && (p[E] = 0), p[E] += 1, this.invertedIndex[E] == null) {
684
+ var L = Object.create(null);
685
+ L._index = this.termIndex, this.termIndex += 1;
686
+ for (var m = 0; m < i.length; m++) L[i[m]] = Object.create(null);
687
+ this.invertedIndex[E] = L;
696
688
  }
697
- this.invertedIndex[x][o][r] == null && (this.invertedIndex[x][o][r] = Object.create(null));
689
+ this.invertedIndex[E][o][r] == null && (this.invertedIndex[E][o][r] = Object.create(null));
698
690
  for (var g = 0; g < this.metadataWhitelist.length; g++) {
699
691
  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);
692
+ w = E.metadata[T];
693
+ this.invertedIndex[E][o][r][T] == null && (this.invertedIndex[E][o][r][T] = []), this.invertedIndex[E][o][r][T].push(w);
702
694
  }
703
695
  }
704
696
  }
@@ -715,14 +707,14 @@ window.translations = {
715
707
  this.averageFieldLength = r;
716
708
  }, t.Builder.prototype.createFieldVectors = function () {
717
709
  for (var e = {}, n = Object.keys(this.fieldTermFrequencies), r = n.length, i = Object.create(null), s = 0; s < r; s++) {
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],
710
+ 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, E = this._documents[o.docRef].boost || 1, L = 0; L < p; L++) {
711
+ var m = f[L],
720
712
  g = d[m],
721
713
  T = this.invertedIndex[m]._index,
722
- L,
714
+ w,
723
715
  C,
724
716
  O;
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);
717
+ i[m] === void 0 ? (w = t.idf(this.invertedIndex[m], this.documentCount), i[m] = w) : w = i[m], C = w * ((this._k1 + 1) * g) / (this._k1 * (1 - this._b + this._b * (c / this.averageFieldLength[a])) + g), C *= v, C *= E, O = Math.round(C * 1e3) / 1e3, l.insert(T, O);
726
718
  }
727
719
  e[o] = l;
728
720
  }
@@ -921,13 +913,9 @@ window.translations = {
921
913
  var i = "expecting term, found nothing";
922
914
  throw new t.QueryParseError(i, n.start, n.end);
923
915
  }
924
- switch (s.type) {
925
- case t.QueryLexer.TERM:
926
- return t.QueryParser.parseTerm;
927
- default:
928
- var i = "expecting term, found '" + s.type + "'";
929
- throw new t.QueryParseError(i, s.start, s.end);
930
- }
916
+ if (s.type === t.QueryLexer.TERM) return t.QueryParser.parseTerm;
917
+ var i = "expecting term, found '" + s.type + "'";
918
+ throw new t.QueryParseError(i, s.start, s.end);
931
919
  }
932
920
  }, t.QueryParser.parseTerm = function (e) {
933
921
  var n = e.consumeLexeme();
@@ -1099,103 +1087,85 @@ window.translations = {
1099
1087
  constructor: t
1100
1088
  });
1101
1089
  }
1102
- var Z = /*#__PURE__*/function () {
1103
- function Z() {
1104
- _classCallCheck(this, Z);
1105
- _defineProperty(this, "alwaysVisibleMember", null);
1090
+ var Z = class {
1091
+ alwaysVisibleMember = null;
1092
+ constructor() {
1106
1093
  this.createComponents(document.body), this.ensureFocusedElementVisible(), this.listenForCodeCopies(), window.addEventListener("hashchange", () => this.ensureFocusedElementVisible()), document.body.style.display || (this.ensureFocusedElementVisible(), this.updateIndexVisibility(), this.scrollToHash());
1107
1094
  }
1108
- return _createClass(Z, [{
1109
- key: "createComponents",
1110
- value: function createComponents(e) {
1111
- pe.forEach(n => {
1112
- e.querySelectorAll(n.selector).forEach(r => {
1113
- r.dataset.hasInstance || (new n.constructor({
1114
- el: r,
1115
- app: this
1116
- }), r.dataset.hasInstance = String(!0));
1117
- });
1095
+ createComponents(e) {
1096
+ pe.forEach(n => {
1097
+ e.querySelectorAll(n.selector).forEach(r => {
1098
+ r.dataset.hasInstance || (new n.constructor({
1099
+ el: r,
1100
+ app: this
1101
+ }), r.dataset.hasInstance = String(!0));
1118
1102
  });
1119
- }
1120
- }, {
1121
- key: "filterChanged",
1122
- value: function filterChanged() {
1123
- this.ensureFocusedElementVisible();
1124
- }
1125
- }, {
1126
- key: "showPage",
1127
- value: function showPage() {
1128
- document.body.style.display && (document.body.style.removeProperty("display"), this.ensureFocusedElementVisible(), this.updateIndexVisibility(), this.scrollToHash());
1129
- }
1130
- }, {
1131
- key: "scrollToHash",
1132
- value: function scrollToHash() {
1133
- if (location.hash) {
1134
- let e = document.getElementById(location.hash.substring(1));
1135
- if (!e) return;
1136
- e.scrollIntoView({
1137
- behavior: "instant",
1138
- block: "start"
1139
- });
1140
- }
1141
- }
1142
- }, {
1143
- key: "ensureActivePageVisible",
1144
- value: function ensureActivePageVisible() {
1145
- let e = document.querySelector(".tsd-navigation .current"),
1146
- n = e?.parentElement;
1147
- for (; n && !n.classList.contains(".tsd-navigation");) n instanceof HTMLDetailsElement && (n.open = !0), n = n.parentElement;
1148
- if (e && !rt(e)) {
1149
- let r = e.getBoundingClientRect().top - document.documentElement.clientHeight / 4;
1150
- document.querySelector(".site-menu").scrollTop = r, document.querySelector(".col-sidebar").scrollTop = r;
1151
- }
1152
- }
1153
- }, {
1154
- key: "updateIndexVisibility",
1155
- value: function updateIndexVisibility() {
1156
- let e = document.querySelector(".tsd-index-content"),
1157
- n = e?.open;
1158
- e && (e.open = !0), document.querySelectorAll(".tsd-index-section").forEach(r => {
1159
- r.style.display = "block";
1160
- let i = Array.from(r.querySelectorAll(".tsd-index-link")).every(s => s.offsetParent == null);
1161
- r.style.display = i ? "none" : "block";
1162
- }), e && (e.open = n);
1163
- }
1164
- }, {
1165
- key: "ensureFocusedElementVisible",
1166
- value: function ensureFocusedElementVisible() {
1167
- if (this.alwaysVisibleMember && (this.alwaysVisibleMember.classList.remove("always-visible"), this.alwaysVisibleMember.firstElementChild.remove(), this.alwaysVisibleMember = null), !location.hash) return;
1103
+ });
1104
+ }
1105
+ filterChanged() {
1106
+ this.ensureFocusedElementVisible();
1107
+ }
1108
+ showPage() {
1109
+ document.body.style.display && (document.body.style.removeProperty("display"), this.ensureFocusedElementVisible(), this.updateIndexVisibility(), this.scrollToHash());
1110
+ }
1111
+ scrollToHash() {
1112
+ if (location.hash) {
1168
1113
  let e = document.getElementById(location.hash.substring(1));
1169
1114
  if (!e) return;
1170
- let n = e.parentElement;
1171
- for (; n && n.tagName !== "SECTION";) n = n.parentElement;
1172
- if (!n) return;
1173
- let r = n.offsetParent == null,
1174
- i = n;
1175
- for (; i !== document.body;) i instanceof HTMLDetailsElement && (i.open = !0), i = i.parentElement;
1176
- if (n.offsetParent == null) {
1177
- this.alwaysVisibleMember = n, n.classList.add("always-visible");
1178
- let s = document.createElement("p");
1179
- s.classList.add("warning"), s.textContent = window.translations.normally_hidden, n.prepend(s);
1180
- }
1181
- r && e.scrollIntoView();
1182
- }
1183
- }, {
1184
- key: "listenForCodeCopies",
1185
- value: function listenForCodeCopies() {
1186
- document.querySelectorAll("pre > button").forEach(e => {
1187
- let n;
1188
- e.addEventListener("click", () => {
1189
- e.previousElementSibling instanceof HTMLElement && navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()), e.textContent = window.translations.copied, e.classList.add("visible"), clearTimeout(n), n = setTimeout(() => {
1190
- e.classList.remove("visible"), n = setTimeout(() => {
1191
- e.textContent = window.translations.copy;
1192
- }, 100);
1193
- }, 1e3);
1194
- });
1115
+ e.scrollIntoView({
1116
+ behavior: "instant",
1117
+ block: "start"
1195
1118
  });
1196
1119
  }
1197
- }]);
1198
- }();
1120
+ }
1121
+ ensureActivePageVisible() {
1122
+ let e = document.querySelector(".tsd-navigation .current"),
1123
+ n = e?.parentElement;
1124
+ for (; n && !n.classList.contains(".tsd-navigation");) n instanceof HTMLDetailsElement && (n.open = !0), n = n.parentElement;
1125
+ if (e && !rt(e)) {
1126
+ let r = e.getBoundingClientRect().top - document.documentElement.clientHeight / 4;
1127
+ document.querySelector(".site-menu").scrollTop = r, document.querySelector(".col-sidebar").scrollTop = r;
1128
+ }
1129
+ }
1130
+ updateIndexVisibility() {
1131
+ let e = document.querySelector(".tsd-index-content"),
1132
+ n = e?.open;
1133
+ e && (e.open = !0), document.querySelectorAll(".tsd-index-section").forEach(r => {
1134
+ r.style.display = "block";
1135
+ let i = Array.from(r.querySelectorAll(".tsd-index-link")).every(s => s.offsetParent == null);
1136
+ r.style.display = i ? "none" : "block";
1137
+ }), e && (e.open = n);
1138
+ }
1139
+ ensureFocusedElementVisible() {
1140
+ if (this.alwaysVisibleMember && (this.alwaysVisibleMember.classList.remove("always-visible"), this.alwaysVisibleMember.firstElementChild.remove(), this.alwaysVisibleMember = null), !location.hash) return;
1141
+ let e = document.getElementById(location.hash.substring(1));
1142
+ if (!e) return;
1143
+ let n = e.parentElement;
1144
+ for (; n && n.tagName !== "SECTION";) n = n.parentElement;
1145
+ if (!n) return;
1146
+ let r = n.offsetParent == null,
1147
+ i = n;
1148
+ for (; i !== document.body;) i instanceof HTMLDetailsElement && (i.open = !0), i = i.parentElement;
1149
+ if (n.offsetParent == null) {
1150
+ this.alwaysVisibleMember = n, n.classList.add("always-visible");
1151
+ let s = document.createElement("p");
1152
+ s.classList.add("warning"), s.textContent = window.translations.normally_hidden, n.prepend(s);
1153
+ }
1154
+ r && e.scrollIntoView();
1155
+ }
1156
+ listenForCodeCopies() {
1157
+ document.querySelectorAll("pre > button").forEach(e => {
1158
+ let n;
1159
+ e.addEventListener("click", () => {
1160
+ e.previousElementSibling instanceof HTMLElement && navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()), e.textContent = window.translations.copied, e.classList.add("visible"), clearTimeout(n), n = setTimeout(() => {
1161
+ e.classList.remove("visible"), n = setTimeout(() => {
1162
+ e.textContent = window.translations.copy;
1163
+ }, 100);
1164
+ }, 1e3);
1165
+ });
1166
+ });
1167
+ }
1168
+ };
1199
1169
  function rt(t) {
1200
1170
  let e = t.getBoundingClientRect(),
1201
1171
  n = Math.max(document.documentElement.clientHeight, window.innerHeight);
@@ -1223,7 +1193,7 @@ window.translations = {
1223
1193
  function st() {
1224
1194
  document.body.style.removeProperty("overflow"), document.body.style.removeProperty("padding-right");
1225
1195
  }
1226
- function xe(t, e) {
1196
+ function Ee(t, e) {
1227
1197
  t.addEventListener("animationend", () => {
1228
1198
  t.classList.contains(Y) && (t.classList.remove(Y), document.getElementById(ae)?.remove(), t.close(), st());
1229
1199
  }), t.addEventListener("cancel", n => {
@@ -1232,7 +1202,7 @@ window.translations = {
1232
1202
  t.open && !t.contains(n.target) && ve(t);
1233
1203
  }, !0);
1234
1204
  }
1235
- function Ee(t) {
1205
+ function xe(t) {
1236
1206
  if (t.open) return;
1237
1207
  let e = document.createElement("div");
1238
1208
  e.id = ae, document.body.appendChild(e), t.showModal(), it();
@@ -1241,49 +1211,37 @@ window.translations = {
1241
1211
  if (!t.open) return;
1242
1212
  document.getElementById(ae)?.classList.add(Y), t.classList.add(Y);
1243
1213
  }
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
- });
1214
+ var I = class {
1215
+ constructor(e) {
1216
+ this.el = e.el, this.app = e.app;
1217
+ }
1218
+ };
1250
1219
  var be = document.head.appendChild(document.createElement("style"));
1251
1220
  be.dataset.for = "filters";
1252
1221
  var le = {};
1253
- function we(t) {
1222
+ function Le(t) {
1254
1223
  for (let e of t.split(/\s+/)) if (le.hasOwnProperty(e) && !le[e]) return !0;
1255
1224
  return !1;
1256
1225
  }
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;
1226
+ var ee = class extends I {
1227
+ constructor(e) {
1228
+ super(e), this.key = `filter-${this.el.name}`, this.value = this.el.checked, this.el.addEventListener("change", () => {
1229
+ this.setLocalStorage(this.el.checked);
1230
+ }), this.setLocalStorage(this.fromLocalStorage()), be.innerHTML += `html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; }
1231
+ `, this.app.updateIndexVisibility();
1266
1232
  }
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;
1233
+ fromLocalStorage() {
1234
+ let e = S.getItem(this.key);
1235
+ return e ? e === "true" : this.el.checked;
1236
+ }
1237
+ setLocalStorage(e) {
1238
+ S.setItem(this.key, e.toString()), this.value = e, this.handleValueChange();
1239
+ }
1240
+ handleValueChange() {
1241
+ 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();
1242
+ }
1243
+ };
1244
+ var we = 0;
1287
1245
  async function Se(t, e) {
1288
1246
  if (!window.searchData) return;
1289
1247
  let n = await R(window.searchData);
@@ -1321,11 +1279,11 @@ window.translations = {
1321
1279
  status: s,
1322
1280
  trigger: o
1323
1281
  } = t;
1324
- xe(i, {
1282
+ Ee(i, {
1325
1283
  closeOnClick: !0
1326
1284
  });
1327
1285
  function a() {
1328
- Ee(i), n.setSelectionRange(0, n.value.length);
1286
+ xe(i), n.setSelectionRange(0, n.value.length);
1329
1287
  }
1330
1288
  o.addEventListener("click", a), n.addEventListener("input", fe(() => {
1331
1289
  at(r, n, s, e);
@@ -1374,7 +1332,7 @@ window.translations = {
1374
1332
  }
1375
1333
  function at(t, e, n, r) {
1376
1334
  if (!r.index || !r.data) return;
1377
- t.innerHTML = "", n.innerHTML = "", Le += 1;
1335
+ t.innerHTML = "", n.innerHTML = "", we += 1;
1378
1336
  let i = e.value.trim(),
1379
1337
  s;
1380
1338
  if (i) {
@@ -1383,7 +1341,7 @@ window.translations = {
1383
1341
  ref: c
1384
1342
  }) => {
1385
1343
  let l = r.data.rows[Number(c)].classes;
1386
- return !l || !we(l);
1344
+ return !l || !Le(l);
1387
1345
  });
1388
1346
  } else s = [];
1389
1347
  if (s.length === 0 && i) {
@@ -1401,12 +1359,12 @@ window.translations = {
1401
1359
  let o = Math.min(10, s.length);
1402
1360
  for (let a = 0; a < o; a++) {
1403
1361
  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('"', "&quot;")}"><use href="#icon-${c.icon || c.kind}"></use></svg>`,
1362
+ d = `<svg width="20" height="20" class="tsd-kind-icon" aria-label="${window.translations[`kind_${c.kind}`].replaceAll('"', "&quot;")}"><use href="#icon-${c.icon || c.kind}"></use></svg>`,
1405
1363
  f = Ce(c.name, i);
1406
1364
  globalThis.DEBUG_SEARCH_WEIGHTS && (f += ` (score: ${s[a].score.toFixed(2)})`), c.parent && (f = `<span class="parent">
1407
1365
  ${Ce(c.parent, i)}.</span>${f}`);
1408
1366
  let p = document.createElement("li");
1409
- p.id = `tsd-search:${Le}-${a}`, p.role = "option", p.ariaSelected = "false", p.classList.value = c.classes ?? "";
1367
+ p.id = `tsd-search:${we}-${a}`, p.role = "option", p.ariaSelected = "false", p.classList.value = c.classes ?? "";
1410
1368
  let v = document.createElement("a");
1411
1369
  v.tabIndex = -1, v.href = r.base + c.url, v.innerHTML = d + `<span class="text">${f}</span>`, p.append(v), t.appendChild(p);
1412
1370
  }
@@ -1489,78 +1447,55 @@ window.translations = {
1489
1447
  document.addEventListener("click", t => {
1490
1448
  Qe && (t.preventDefault(), t.stopImmediatePropagation(), Qe = !1);
1491
1449
  });
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;
1450
+ var re = class extends I {
1451
+ constructor(e) {
1452
+ super(e), this.className = this.el.dataset.toggle || "", this.el.addEventListener($, n => this.onPointerUp(n)), this.el.addEventListener("click", n => n.preventDefault()), document.addEventListener(D, n => this.onDocumentPointerDown(n)), document.addEventListener($, n => this.onDocumentPointerUp(n));
1498
1453
  }
1499
- _inherits(re, _I2);
1500
- return _createClass(re, [{
1501
- key: "setActive",
1502
- value: function setActive(e) {
1503
- if (this.active == e) return;
1504
- this.active = e, document.documentElement.classList.toggle("has-" + this.className, e), this.el.classList.toggle("active", e);
1505
- let n = (this.active ? "to-has-" : "from-has-") + this.className;
1506
- document.documentElement.classList.add(n), setTimeout(() => document.documentElement.classList.remove(n), 500);
1507
- }
1508
- }, {
1509
- key: "onPointerUp",
1510
- value: function onPointerUp(e) {
1511
- F || (this.setActive(!0), e.preventDefault());
1512
- }
1513
- }, {
1514
- key: "onDocumentPointerDown",
1515
- value: function onDocumentPointerDown(e) {
1516
- if (this.active) {
1517
- if (e.target.closest(".col-sidebar, .tsd-filter-group")) return;
1518
- this.setActive(!1);
1519
- }
1454
+ setActive(e) {
1455
+ if (this.active == e) return;
1456
+ this.active = e, document.documentElement.classList.toggle("has-" + this.className, e), this.el.classList.toggle("active", e);
1457
+ let n = (this.active ? "to-has-" : "from-has-") + this.className;
1458
+ document.documentElement.classList.add(n), setTimeout(() => document.documentElement.classList.remove(n), 500);
1459
+ }
1460
+ onPointerUp(e) {
1461
+ F || (this.setActive(!0), e.preventDefault());
1462
+ }
1463
+ onDocumentPointerDown(e) {
1464
+ if (this.active) {
1465
+ if (e.target.closest(".col-sidebar, .tsd-filter-group")) return;
1466
+ this.setActive(!1);
1520
1467
  }
1521
- }, {
1522
- key: "onDocumentPointerUp",
1523
- value: function onDocumentPointerUp(e) {
1524
- if (!F && this.active && e.target.closest(".col-sidebar")) {
1525
- let n = e.target.closest("a");
1526
- if (n) {
1527
- let r = window.location.href;
1528
- r.indexOf("#") != -1 && (r = r.substring(0, r.indexOf("#"))), n.href.substring(0, r.length) == r && setTimeout(() => this.setActive(!1), 250);
1529
- }
1468
+ }
1469
+ onDocumentPointerUp(e) {
1470
+ if (!F && this.active && e.target.closest(".col-sidebar")) {
1471
+ let n = e.target.closest("a");
1472
+ if (n) {
1473
+ let r = window.location.href;
1474
+ r.indexOf("#") != -1 && (r = r.substring(0, r.indexOf("#"))), n.href.substring(0, r.length) == r && setTimeout(() => this.setActive(!1), 250);
1530
1475
  }
1531
1476
  }
1532
- }]);
1533
- }(I);
1477
+ }
1478
+ };
1534
1479
  var ue = new Map(),
1535
- de = /*#__PURE__*/function () {
1536
- function de(e, n) {
1537
- _classCallCheck(this, de);
1538
- _defineProperty(this, "open", void 0);
1539
- _defineProperty(this, "accordions", []);
1540
- _defineProperty(this, "key", void 0);
1480
+ de = class {
1481
+ accordions = [];
1482
+ constructor(e, n) {
1541
1483
  this.key = e, this.open = n;
1542
1484
  }
1543
- return _createClass(de, [{
1544
- key: "add",
1545
- value: function add(e) {
1546
- this.accordions.push(e), e.open = this.open, e.addEventListener("toggle", () => {
1547
- this.toggle(e.open);
1548
- });
1549
- }
1550
- }, {
1551
- key: "toggle",
1552
- value: function toggle(e) {
1553
- for (let n of this.accordions) n.open = e;
1554
- S.setItem(this.key, e.toString());
1555
- }
1556
- }]);
1557
- }(),
1558
- ie = /*#__PURE__*/function (_I3) {
1559
- function ie(e) {
1560
- var _this3;
1561
- _classCallCheck(this, ie);
1562
- _this3 = _callSuper(this, ie, [e]);
1563
- let n = _this3.el.querySelector("summary"),
1485
+ add(e) {
1486
+ this.accordions.push(e), e.open = this.open, e.addEventListener("toggle", () => {
1487
+ this.toggle(e.open);
1488
+ });
1489
+ }
1490
+ toggle(e) {
1491
+ for (let n of this.accordions) n.open = e;
1492
+ S.setItem(this.key, e.toString());
1493
+ }
1494
+ },
1495
+ ie = class extends I {
1496
+ constructor(e) {
1497
+ super(e);
1498
+ let n = this.el.querySelector("summary"),
1564
1499
  r = n.querySelector("a");
1565
1500
  r && r.addEventListener("click", () => {
1566
1501
  location.assign(r.href);
@@ -1569,15 +1504,12 @@ window.translations = {
1569
1504
  s;
1570
1505
  if (ue.has(i)) s = ue.get(i);else {
1571
1506
  let o = S.getItem(i),
1572
- a = o ? o === "true" : _this3.el.open;
1507
+ a = o ? o === "true" : this.el.open;
1573
1508
  s = new de(i, a), ue.set(i, s);
1574
1509
  }
1575
- s.add(_this3.el);
1576
- return _this3;
1510
+ s.add(this.el);
1577
1511
  }
1578
- _inherits(ie, _I3);
1579
- return _createClass(ie);
1580
- }(I);
1512
+ };
1581
1513
  function He(t) {
1582
1514
  let e = S.getItem("tsd-theme") || "os";
1583
1515
  t.value = e, Ae(e), t.addEventListener("change", () => {
@@ -1597,22 +1529,22 @@ window.translations = {
1597
1529
  if (!t || !window.navigationData) return;
1598
1530
  let e = await R(window.navigationData);
1599
1531
  se = document.documentElement.dataset.base, se.endsWith("/") || (se += "/"), t.innerHTML = "";
1600
- for (let n of e) Be(n, t, []);
1532
+ for (let n of e) Ve(n, t, []);
1601
1533
  window.app.createComponents(t), window.app.showPage(), window.app.ensureActivePageVisible();
1602
1534
  }
1603
- function Be(t, e, n) {
1535
+ function Ve(t, e, n) {
1604
1536
  let r = e.appendChild(document.createElement("li"));
1605
1537
  if (t.children) {
1606
1538
  let i = [...n, t.text],
1607
1539
  s = r.appendChild(document.createElement("details"));
1608
1540
  s.className = t.class ? `${t.class} tsd-accordion` : "tsd-accordion";
1609
1541
  let o = s.appendChild(document.createElement("summary"));
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);
1542
+ o.className = "tsd-accordion-summary", o.dataset.key = i.join("$"), o.innerHTML = '<svg width="20" height="20"><use href="#icon-chevronDown"></use></svg>', De(t, o);
1611
1543
  let a = s.appendChild(document.createElement("div"));
1612
1544
  a.className = "tsd-accordion-details";
1613
1545
  let c = a.appendChild(document.createElement("ul"));
1614
1546
  c.className = "tsd-nested-navigation";
1615
- for (let l of t.children) Be(l, c, i);
1547
+ for (let l of t.children) Ve(l, c, i);
1616
1548
  } else De(t, r, t.class);
1617
1549
  }
1618
1550
  function De(t, e, n) {
@@ -1620,13 +1552,13 @@ window.translations = {
1620
1552
  let r = e.appendChild(document.createElement("a"));
1621
1553
  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) {
1622
1554
  let i = window.translations[`kind_${t.kind}`].replaceAll('"', "&quot;");
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>`;
1555
+ r.innerHTML = `<svg width="20" height="20" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-${t.icon || t.kind}"></use></svg>`;
1624
1556
  }
1625
1557
  r.appendChild(Fe(t.text, document.createElement("span")));
1626
1558
  } else {
1627
1559
  let r = e.appendChild(document.createElement("span")),
1628
1560
  i = window.translations.folder.replaceAll('"', "&quot;");
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")));
1561
+ r.innerHTML = `<svg width="20" height="20" class="tsd-kind-icon" aria-label="${i}"><use href="#icon-folder"></use></svg>`, r.appendChild(Fe(t.text, document.createElement("span")));
1630
1562
  }
1631
1563
  }
1632
1564
  function Fe(t, e) {
@@ -1668,9 +1600,9 @@ window.translations = {
1668
1600
  }
1669
1601
  function pt() {
1670
1602
  let t = document.getElementById("tsd-hierarchy-script");
1671
- t && (t.addEventListener("load", Ve), Ve());
1603
+ t && (t.addEventListener("load", Be), Be());
1672
1604
  }
1673
- async function Ve() {
1605
+ async function Be() {
1674
1606
  let t = document.querySelector(".tsd-panel.tsd-hierarchy:has(h4 a)");
1675
1607
  if (!t || !window.hierarchyData) return;
1676
1608
  let e = +t.dataset.refl,
@@ -1732,7 +1664,7 @@ window.translations = {
1732
1664
  }
1733
1665
  function gt() {
1734
1666
  let t = document.createElementNS("http://www.w3.org/2000/svg", "svg");
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;
1667
+ return t.setAttribute("width", "20"), t.setAttribute("height", "20"), t.innerHTML = '<use href="#icon-chevronDown"></use>', t;
1736
1668
  }
1737
1669
  X(re, "a[data-toggle]");
1738
1670
  X(ie, ".tsd-accordion");