@scalar/api-reference 1.35.5 → 1.35.7

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 (225) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/blocks/helpers/getPointer.d.ts.map +1 -1
  3. package/dist/browser/standalone.js +19316 -19449
  4. package/dist/browser/webpack-stats.json +1 -1
  5. package/dist/components/Anchor/WithBreadcrumb.vue2.js +8 -11
  6. package/dist/components/ApiReference.vue.js +1 -1
  7. package/dist/components/ApiReferenceLayout.vue.js +4 -4
  8. package/dist/components/ApiReferenceLayout.vue2.js +247 -268
  9. package/dist/components/Badge/Badge.vue.js +1 -1
  10. package/dist/components/ClassicHeader.vue.js +1 -1
  11. package/dist/components/Content/Content.vue.js +145 -169
  12. package/dist/components/Content/Content.vue3.js +1 -1
  13. package/dist/components/Content/Models/ClassicLayout.vue.js +1 -1
  14. package/dist/components/Content/Models/ClassicLayout.vue2.js +32 -35
  15. package/dist/components/Content/Models/Models.vue.js +27 -31
  16. package/dist/components/Content/Models/ModernLayout.vue.js +1 -1
  17. package/dist/components/Content/Operations/TraversedEntry.vue.js +32 -35
  18. package/dist/components/Content/Operations/TraversedEntryContainer.vue.js +26 -27
  19. package/dist/components/Content/Operations/get-current-index.js +1 -1
  20. package/dist/components/Content/Schema/Schema.vue.js +1 -1
  21. package/dist/components/Content/Schema/Schema.vue2.js +68 -74
  22. package/dist/components/Content/Schema/SchemaComposition.vue.js +42 -45
  23. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
  24. package/dist/components/Content/Schema/SchemaEnumValues.vue.js +1 -1
  25. package/dist/components/Content/Schema/SchemaEnumValues.vue2.js +45 -50
  26. package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
  27. package/dist/components/Content/Schema/SchemaObjectProperties.vue.js +41 -48
  28. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  29. package/dist/components/Content/Schema/SchemaProperty.vue2.js +142 -157
  30. package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
  31. package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
  32. package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
  33. package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +160 -164
  34. package/dist/components/Content/Schema/helpers/get-schema-type.js +15 -17
  35. package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +74 -77
  36. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +10 -11
  37. package/dist/components/Content/Tags/ClassicLayout.vue.js +1 -1
  38. package/dist/components/Content/Tags/ClassicLayout.vue2.js +36 -39
  39. package/dist/components/Content/Tags/ModernLayout.vue.js +1 -1
  40. package/dist/components/Content/Tags/ModernLayout.vue2.js +31 -35
  41. package/dist/components/Content/Tags/TagSection.vue.js +86 -92
  42. package/dist/components/GettingStarted.vue.js +1 -1
  43. package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
  44. package/dist/components/Lazy/Lazy.vue2.js +2 -2
  45. package/dist/components/LinkList/LinkList.vue.js +1 -1
  46. package/dist/components/LoadingSkeleton.vue.js +1 -1
  47. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  48. package/dist/components/MobileHeader.vue.js +3 -3
  49. package/dist/components/MobileHeader.vue2.js +13 -12
  50. package/dist/components/OperationPath.vue.js +1 -1
  51. package/dist/components/OperationsList/OperationsList.vue.js +1 -1
  52. package/dist/components/OperationsList/OperationsList.vue2.js +45 -51
  53. package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
  54. package/dist/components/ScreenReader.vue.js +1 -1
  55. package/dist/components/Section/CompactSection.vue.js +1 -1
  56. package/dist/components/Section/Section.vue.js +1 -1
  57. package/dist/components/Section/Section.vue2.js +13 -14
  58. package/dist/components/Section/SectionAccordion.vue.js +1 -1
  59. package/dist/components/Section/SectionAccordion.vue2.js +29 -30
  60. package/dist/components/Section/SectionColumn.vue.js +1 -1
  61. package/dist/components/Section/SectionColumns.vue.js +1 -1
  62. package/dist/components/Section/SectionContainer.vue.js +1 -1
  63. package/dist/components/Section/SectionContainerAccordion.vue.js +1 -1
  64. package/dist/components/Section/SectionContent.vue.js +1 -1
  65. package/dist/components/Section/SectionHeader.vue.js +1 -1
  66. package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
  67. package/dist/components/SectionFlare/SectionFlare.vue.js +1 -1
  68. package/dist/components/ShowMoreButton.vue.js +1 -1
  69. package/dist/components/ShowMoreButton.vue2.js +12 -13
  70. package/dist/features/Operation/Operation.vue.js +31 -36
  71. package/dist/features/Operation/components/Headers.vue.js +1 -1
  72. package/dist/features/Operation/components/OperationParameters.vue.js +8 -11
  73. package/dist/features/Operation/components/ParameterList.vue.js +21 -24
  74. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  75. package/dist/features/Operation/components/ParameterListItem.vue2.js +36 -37
  76. package/dist/features/Operation/components/RequestBody.vue.js +1 -1
  77. package/dist/features/Operation/components/RequestBody.vue2.js +45 -52
  78. package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
  79. package/dist/features/Operation/components/callbacks/Callback.vue2.js +32 -35
  80. package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
  81. package/dist/features/Operation/layouts/ClassicLayout.vue.js +4 -4
  82. package/dist/features/Operation/layouts/ClassicLayout.vue2.js +114 -119
  83. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  84. package/dist/features/Operation/layouts/ModernLayout.vue.js +3 -3
  85. package/dist/features/Operation/layouts/ModernLayout.vue2.js +87 -89
  86. package/dist/features/Search/components/SearchButton.vue.js +23 -25
  87. package/dist/features/Search/components/SearchModal.vue.js +1 -1
  88. package/dist/features/Search/components/SearchModal.vue2.js +53 -54
  89. package/dist/features/api-client-modal/ApiClientModal.vue.js +31 -38
  90. package/dist/features/document-source/hooks/useDocumentFetcher.js +17 -18
  91. package/dist/features/document-source/hooks/useDocumentSource.d.ts.map +1 -1
  92. package/dist/features/document-source/hooks/useDocumentSource.js +21 -20
  93. package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
  94. package/dist/features/example-responses/ExampleResponse.vue2.js +23 -26
  95. package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
  96. package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
  97. package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
  98. package/dist/features/example-responses/ExampleResponses.vue2.js +128 -153
  99. package/dist/features/info-object/Contact.vue.js +24 -27
  100. package/dist/features/info-object/License.vue.js +26 -29
  101. package/dist/features/multiple-documents/DocumentSelector.vue.js +22 -31
  102. package/dist/features/multiple-documents/useMultipleDocuments.js +52 -56
  103. package/dist/features/sidebar/components/Sidebar.vue.d.ts.map +1 -1
  104. package/dist/features/sidebar/components/Sidebar.vue.js +3 -3
  105. package/dist/features/sidebar/components/Sidebar.vue2.js +74 -79
  106. package/dist/features/sidebar/components/SidebarElement.vue.js +3 -3
  107. package/dist/features/sidebar/components/SidebarElement.vue2.js +52 -53
  108. package/dist/features/sidebar/components/SidebarGroup.vue.js +1 -1
  109. package/dist/features/sidebar/components/SidebarHttpBadge.vue.js +1 -1
  110. package/dist/features/specification-extension/SpecificationExtension.vue2.js +28 -31
  111. package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
  112. package/dist/features/test-request-button/TestRequestButton.vue2.js +1 -2
  113. package/dist/features/traverse-schema/helpers/traverse-description.js +13 -14
  114. package/dist/features/traverse-schema/helpers/traverse-document.js +14 -15
  115. package/dist/features/traverse-schema/helpers/traverse-paths.js +20 -23
  116. package/dist/features/traverse-schema/helpers/traverse-schemas.js +13 -15
  117. package/dist/features/traverse-schema/helpers/traverse-webhooks.js +8 -10
  118. package/dist/hooks/useFreezing.js +14 -14
  119. package/dist/hooks/useNavState.js +37 -39
  120. package/dist/index.js +2 -2
  121. package/dist/libs/openapi.js +28 -31
  122. package/dist/style.css +1 -1
  123. package/dist/v2/ApiReferenceWorkspace.vue.d.ts.map +1 -1
  124. package/dist/v2/ApiReferenceWorkspace.vue.js +102 -103
  125. package/dist/v2/ApiReferenceWorkspace.vue3.js +1 -1
  126. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +1 -1
  127. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue2.js +116 -135
  128. package/dist/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.vue.js +40 -47
  129. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +45 -46
  130. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.vue.js +109 -125
  131. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue.js +1 -1
  132. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +84 -84
  133. package/dist/v2/blocks/scalar-auth-selector-block/helpers/update-scheme.js +12 -13
  134. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +1 -1
  135. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue2.js +1 -4
  136. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
  137. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue2.js +77 -82
  138. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
  139. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue.js +2 -2
  140. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue2.js +56 -50
  141. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
  142. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
  143. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +1 -1
  144. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
  145. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue2.js +74 -89
  146. package/dist/v2/blocks/scalar-request-example-block/components/ExamplePicker.vue2.js +24 -27
  147. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.d.ts.map +1 -1
  148. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue.js +2 -2
  149. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue2.js +111 -118
  150. package/dist/v2/blocks/scalar-request-example-block/helpers/find-client.js +11 -12
  151. package/dist/v2/blocks/scalar-request-example-block/helpers/get-secrets.js +3 -3
  152. package/dist/v2/blocks/scalar-server-selector-block/components/Selector.vue.js +11 -14
  153. package/dist/v2/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +45 -48
  154. package/dist/v2/helpers/get-document-name.js +10 -10
  155. package/dist/v2/helpers/map-configuration.d.ts.map +1 -1
  156. package/dist/v2/helpers/map-configuration.js +48 -51
  157. package/dist/v2/hooks/use-legacy-store-events.js +44 -48
  158. package/dist/v2/hooks/use-workspace-store-events.js +23 -26
  159. package/package.json +24 -23
  160. package/dist/components/ApiReferenceLayout.vue3.js +0 -4
  161. package/dist/components/ApiReferenceLayout.vue4.js +0 -4
  162. package/dist/components/ApiReferenceLayout.vue5.js +0 -4
  163. package/dist/components/ApiReferenceLayout.vue6.js +0 -4
  164. package/dist/components/Badge/Badge.vue3.js +0 -4
  165. package/dist/components/ClassicHeader.vue2.js +0 -4
  166. package/dist/components/Content/Content.vue2.js +0 -4
  167. package/dist/components/Content/Models/ClassicLayout.vue3.js +0 -4
  168. package/dist/components/Content/Models/ModernLayout.vue3.js +0 -4
  169. package/dist/components/Content/Schema/Schema.vue3.js +0 -4
  170. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue3.js +0 -4
  171. package/dist/components/Content/Schema/SchemaEnumValues.vue3.js +0 -4
  172. package/dist/components/Content/Schema/SchemaHeading.vue3.js +0 -4
  173. package/dist/components/Content/Schema/SchemaProperty.vue3.js +0 -4
  174. package/dist/components/Content/Schema/SchemaPropertyDetail.vue3.js +0 -4
  175. package/dist/components/Content/Schema/SchemaPropertyExamples.vue3.js +0 -4
  176. package/dist/components/Content/Schema/SchemaPropertyHeading.vue3.js +0 -4
  177. package/dist/components/Content/Tags/ClassicLayout.vue3.js +0 -4
  178. package/dist/components/Content/Tags/ModernLayout.vue3.js +0 -4
  179. package/dist/components/GettingStarted.vue3.js +0 -4
  180. package/dist/components/LinkList/LinkList.vue3.js +0 -4
  181. package/dist/components/LoadingSkeleton.vue3.js +0 -4
  182. package/dist/components/MobileHeader.vue3.js +0 -4
  183. package/dist/components/OperationPath.vue3.js +0 -4
  184. package/dist/components/OperationsList/OperationsList.vue3.js +0 -4
  185. package/dist/components/OperationsList/OperationsListItem.vue3.js +0 -4
  186. package/dist/components/ScreenReader.vue3.js +0 -4
  187. package/dist/components/Section/CompactSection.vue3.js +0 -4
  188. package/dist/components/Section/Section.vue3.js +0 -4
  189. package/dist/components/Section/SectionAccordion.vue3.js +0 -4
  190. package/dist/components/Section/SectionColumn.vue2.js +0 -4
  191. package/dist/components/Section/SectionColumns.vue2.js +0 -4
  192. package/dist/components/Section/SectionContainer.vue3.js +0 -4
  193. package/dist/components/Section/SectionContainerAccordion.vue3.js +0 -4
  194. package/dist/components/Section/SectionContent.vue3.js +0 -4
  195. package/dist/components/Section/SectionHeader.vue3.js +0 -4
  196. package/dist/components/Section/SectionHeaderTag.vue3.js +0 -4
  197. package/dist/components/SectionFlare/SectionFlare.vue2.js +0 -4
  198. package/dist/components/ShowMoreButton.vue3.js +0 -4
  199. package/dist/features/Operation/components/Headers.vue3.js +0 -4
  200. package/dist/features/Operation/components/ParameterListItem.vue3.js +0 -4
  201. package/dist/features/Operation/components/RequestBody.vue3.js +0 -4
  202. package/dist/features/Operation/components/callbacks/Callback.vue3.js +0 -4
  203. package/dist/features/Operation/layouts/ClassicLayout.vue3.js +0 -4
  204. package/dist/features/Operation/layouts/ModernLayout.vue3.js +0 -4
  205. package/dist/features/Search/components/SearchModal.vue3.js +0 -4
  206. package/dist/features/example-responses/ExampleResponse.vue3.js +0 -4
  207. package/dist/features/example-responses/ExampleResponseTab.vue3.js +0 -4
  208. package/dist/features/example-responses/ExampleResponseTabList.vue3.js +0 -4
  209. package/dist/features/example-responses/ExampleResponses.vue3.js +0 -4
  210. package/dist/features/sidebar/components/Sidebar.vue3.js +0 -4
  211. package/dist/features/sidebar/components/SidebarElement.vue3.js +0 -4
  212. package/dist/features/sidebar/components/SidebarGroup.vue3.js +0 -4
  213. package/dist/features/sidebar/components/SidebarHttpBadge.vue3.js +0 -4
  214. package/dist/features/test-request-button/TestRequestButton.vue3.js +0 -4
  215. package/dist/v2/ApiReferenceWorkspace.vue2.js +0 -4
  216. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue3.js +0 -4
  217. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.vue3.js +0 -4
  218. package/dist/v2/blocks/scalar-client-selector-block/components/ClientDropdown.vue3.js +0 -4
  219. package/dist/v2/blocks/scalar-client-selector-block/components/ClientSelector.vue3.js +0 -4
  220. package/dist/v2/blocks/scalar-info-block/components/DownloadLink.vue3.js +0 -4
  221. package/dist/v2/blocks/scalar-info-block/components/InfoDescription.vue3.js +0 -4
  222. package/dist/v2/blocks/scalar-info-block/components/IntroductionCard.vue3.js +0 -4
  223. package/dist/v2/blocks/scalar-info-block/components/IntroductionCardItem.vue2.js +0 -4
  224. package/dist/v2/blocks/scalar-info-block/components/IntroductionLayout.vue3.js +0 -4
  225. package/dist/v2/blocks/scalar-request-example-block/components/RequestExample.vue3.js +0 -4
@@ -1,22 +1,22 @@
1
- import { defineComponent as F, computed as i, ref as x, watch as U, useId as T, createBlock as q, createCommentVNode as C, openBlock as h, unref as a, withCtx as r, createVNode as n, createSlots as A, createElementVNode as b, createElementBlock as V, renderSlot as k, toDisplayString as G } from "vue";
2
- import { ScalarCard as W, ScalarCardHeader as J, ScalarCombobox as P, ScalarButton as Q, ScalarCardSection as j, ScalarCodeBlock as X, ScalarCardFooter as Y } from "@scalar/components";
3
- import { freezeElement as Z } from "@scalar/helpers/dom/freeze-element";
4
- import { ScalarIconCaretDown as _ } from "@scalar/icons";
5
- import { operationToHar as ee } from "@scalar/oas-utils/helpers/operation-to-har";
6
- import { emitCustomEvent as w } from "@scalar/workspace-store/events";
7
- import { getResolvedRef as te } from "@scalar/workspace-store/helpers/get-resolved-ref";
8
- import { getResolvedRefDeep as E } from "../../../../features/example-responses/helpers/get-resolved-ref-deep.js";
9
- import { findClient as L } from "../helpers/find-client.js";
10
- import { generateCustomId as O } from "../helpers/generate-client-options.js";
11
- import { generateCodeSnippet as le } from "../helpers/generate-code-snippet.js";
12
- import { getSecrets as oe } from "../helpers/get-secrets.js";
13
- import ae from "./ExamplePicker.vue2.js";
14
- import R from "../../../../components/HttpMethod/HttpMethod.vue.js";
15
- const se = ["innerHTML"], ne = { class: "text-base font-normal" }, re = ["id"], ue = {
1
+ import { defineComponent as D, computed as u, ref as k, watch as H, useId as I, createBlock as h, createCommentVNode as m, openBlock as i, unref as o, withCtx as n, createVNode as s, createSlots as N, createElementVNode as y, createElementBlock as S, renderSlot as C, toDisplayString as z } from "vue";
2
+ import { ScalarCard as E, ScalarCardHeader as K, ScalarCombobox as M, ScalarButton as F, ScalarCardSection as q, ScalarCodeBlock as U, ScalarCardFooter as A } from "@scalar/components";
3
+ import { freezeElement as G } from "@scalar/helpers/dom/freeze-element";
4
+ import { ScalarIconCaretDown as J } from "@scalar/icons";
5
+ import { operationToHar as P } from "@scalar/oas-utils/helpers/operation-to-har";
6
+ import { emitCustomEvent as T } from "@scalar/workspace-store/events";
7
+ import { getResolvedRef as Q } from "@scalar/workspace-store/helpers/get-resolved-ref";
8
+ import { getResolvedRefDeep as $ } from "../../../../features/example-responses/helpers/get-resolved-ref-deep.js";
9
+ import { findClient as j } from "../helpers/find-client.js";
10
+ import { generateCustomId as B } from "../helpers/generate-client-options.js";
11
+ import { generateCodeSnippet as X } from "../helpers/generate-code-snippet.js";
12
+ import { getSecrets as Y } from "../helpers/get-secrets.js";
13
+ import Z from "./ExamplePicker.vue2.js";
14
+ import V from "../../../../components/HttpMethod/HttpMethod.vue.js";
15
+ const _ = ["innerHTML"], ee = { class: "text-base font-normal" }, te = ["id"], le = {
16
16
  key: 0,
17
17
  class: "request-card-footer-addon"
18
- }, ie = { class: "request-header" }, ce = {}, $e = /* @__PURE__ */ F({
19
- ...ce,
18
+ }, oe = { class: "request-header" }, ae = {}, be = /* @__PURE__ */ D({
19
+ ...ae,
20
20
  __name: "RequestExample",
21
21
  props: {
22
22
  clientOptions: {},
@@ -33,133 +33,124 @@ const se = ["innerHTML"], ne = { class: "text-base font-normal" }, re = ["id"],
33
33
  isWebhook: { type: Boolean }
34
34
  },
35
35
  setup(l) {
36
- const c = i(() => {
37
- var s, f;
38
- const e = ((s = te(l.operation.requestBody)) == null ? void 0 : s.content) ?? {}, t = l.selectedContentType || Object.keys(e)[0];
39
- return ((f = e[t]) == null ? void 0 : f.examples) ?? {};
40
- }), v = x(
36
+ const c = u(() => {
37
+ const e = Q(l.operation.requestBody)?.content ?? {}, t = l.selectedContentType || Object.keys(e)[0];
38
+ return e[t]?.examples ?? {};
39
+ }), f = k(
41
40
  l.selectedExample ?? Object.keys(c.value)[0]
42
- ), g = i(() => [
41
+ ), b = u(() => [
43
42
  "x-custom-examples",
44
43
  "x-codeSamples",
45
44
  "x-code-samples"
46
- ].flatMap((t) => l.operation[t] ?? [])), p = i(() => g.value.length ? [
45
+ ].flatMap((t) => l.operation[t] ?? [])), p = u(() => b.value.length ? [
47
46
  {
48
47
  label: "Code Examples",
49
- options: g.value.map((t) => {
50
- const o = O(t), s = t.label || t.lang || o;
48
+ options: b.value.map((t) => {
49
+ const a = B(t), v = t.label || t.lang || a;
51
50
  return {
52
- id: o,
51
+ id: a,
53
52
  lang: t.lang || "plaintext",
54
- title: s,
55
- label: s
53
+ title: v,
54
+ label: v
56
55
  };
57
56
  })
58
57
  },
59
58
  ...l.clientOptions
60
- ] : l.clientOptions), u = x(
61
- L(p.value, l.selectedClient) ?? null
59
+ ] : l.clientOptions), r = k(
60
+ j(p.value, l.selectedClient) ?? null
62
61
  );
63
- U(
62
+ H(
64
63
  () => l.selectedClient,
65
64
  (e) => {
66
- const t = L(p.value, e);
67
- t && (u.value = t);
65
+ const t = j(p.value, e);
66
+ t && (r.value = t);
68
67
  }
69
68
  );
70
- const y = i(() => {
69
+ const g = u(() => {
71
70
  if (!l.isWebhook) return null;
72
71
  try {
73
- const e = c.value[v.value || ""], t = E(e), o = (t == null ? void 0 : t.value) ?? (t == null ? void 0 : t.summary);
74
- return ee({ operation: l.operation, method: l.method, path: l.path, example: o });
72
+ const e = c.value[f.value || ""], t = $(e), a = t?.value ?? t?.summary;
73
+ return P({ operation: l.operation, method: l.method, path: l.path, example: a });
75
74
  } catch (e) {
76
75
  return console.error("[webhookHar]", e), null;
77
76
  }
78
- }), $ = i(() => {
79
- var e, t, o, s, f;
77
+ }), x = u(() => {
80
78
  try {
81
- if ((e = u.value) != null && e.id.startsWith("custom"))
82
- return ((t = g.value.find(
83
- (M) => {
84
- var B;
85
- return O(M) === ((B = u.value) == null ? void 0 : B.id);
86
- }
87
- )) == null ? void 0 : t.source) ?? "Custom example not found";
88
- const S = c.value[v.value || ""], d = E(S), K = (d == null ? void 0 : d.value) ?? (d == null ? void 0 : d.summary);
89
- return l.isWebhook ? ((s = (o = y.value) == null ? void 0 : o.postData) == null ? void 0 : s.text) ?? "" : le({
90
- clientId: (f = u.value) == null ? void 0 : f.id,
79
+ if (r.value?.id.startsWith("custom"))
80
+ return b.value.find(
81
+ (v) => B(v) === r.value?.id
82
+ )?.source ?? "Custom example not found";
83
+ const e = c.value[f.value || ""], t = $(e), a = t?.value ?? t?.summary;
84
+ return l.isWebhook ? g.value?.postData?.text ?? "" : X({
85
+ clientId: r.value?.id,
91
86
  operation: l.operation,
92
87
  method: l.method,
93
88
  server: l.selectedServer,
94
89
  securitySchemes: l.securitySchemes,
95
90
  contentType: l.selectedContentType,
96
91
  path: l.path,
97
- example: K
92
+ example: a
98
93
  });
99
- } catch (S) {
100
- return console.error("[generateSnippet]", S), "";
94
+ } catch (e) {
95
+ return console.error("[generateSnippet]", e), "";
101
96
  }
102
- }), D = i(() => {
103
- var e;
104
- return l.isWebhook ? H.value : (e = u.value) == null ? void 0 : e.lang;
105
- }), H = i(() => {
106
- var t;
107
- if (!((t = y.value) != null && t.postData)) return "json";
108
- const e = y.value.postData.mimeType;
109
- return e != null && e.includes("json") ? "json" : e != null && e.includes("xml") ? "xml" : e != null && e.includes("yaml") || e != null && e.includes("yml") ? "yaml" : e != null && e.includes("text/plain") ? "text" : "json";
110
- }), I = i(() => oe(l.securitySchemes)), m = x(null), N = (e) => {
111
- var t;
112
- if (m.value) {
113
- const o = Z(m.value.$el);
97
+ }), w = u(() => l.isWebhook ? O.value : r.value?.lang), O = u(() => {
98
+ if (!g.value?.postData) return "json";
99
+ const e = g.value.postData.mimeType;
100
+ return e?.includes("json") ? "json" : e?.includes("xml") ? "xml" : e?.includes("yaml") || e?.includes("yml") ? "yaml" : e?.includes("text/plain") ? "text" : "json";
101
+ }), W = u(() => Y(l.securitySchemes)), d = k(null), L = (e) => {
102
+ if (d.value) {
103
+ const t = G(d.value.$el);
114
104
  setTimeout(() => {
115
- o();
105
+ t();
116
106
  }, 300);
117
107
  }
118
- u.value = e, e.id.startsWith("custom") || w((t = m.value) == null ? void 0 : t.$el, "scalar-update-selected-client", e.id);
119
- }, z = T();
120
- return (e, t) => $.value ? (h(), q(a(W), {
108
+ r.value = e, e.id.startsWith("custom") || T(d.value?.$el, "scalar-update-selected-client", e.id);
109
+ }, R = I();
110
+ return (e, t) => x.value ? (i(), h(o(E), {
121
111
  key: 0,
122
112
  ref_key: "elem",
123
- ref: m,
113
+ ref: d,
124
114
  class: "request-card dark-mode"
125
115
  }, {
126
- default: r(() => [
127
- n(a(J), { class: "pr-2.5" }, A({
128
- default: r(() => [
129
- t[3] || (t[3] = b("span", { class: "sr-only" }, "Request Example for", -1)),
130
- n(a(R), {
116
+ default: n(() => [
117
+ s(o(K), { class: "pr-2.5" }, N({
118
+ default: n(() => [
119
+ t[3] || (t[3] = y("span", { class: "sr-only" }, "Request Example for", -1)),
120
+ s(o(V), {
131
121
  as: "span",
132
122
  class: "request-method",
133
123
  method: e.method
134
124
  }, null, 8, ["method"]),
135
- e.generateLabel ? (h(), V("span", {
125
+ e.generateLabel ? (i(), S("span", {
136
126
  key: 0,
137
127
  innerHTML: e.generateLabel()
138
- }, null, 8, se)) : e.isWebhook ? C("", !0) : k(e.$slots, "header", { key: 1 }, void 0, !0)
128
+ }, null, 8, _)) : m("", !0),
129
+ C(e.$slots, "header", {}, void 0, !0)
139
130
  ]),
140
131
  _: 2
141
132
  }, [
142
133
  !e.isWebhook && p.value.length ? {
143
134
  name: "actions",
144
- fn: r(() => [
145
- n(a(P), {
135
+ fn: n(() => [
136
+ s(o(M), {
146
137
  class: "max-h-80",
147
- modelValue: u.value,
138
+ modelValue: r.value,
148
139
  options: p.value,
149
140
  placement: "bottom-end",
150
141
  teleport: "",
151
- "onUpdate:modelValue": t[0] || (t[0] = (o) => N(o))
142
+ "onUpdate:modelValue": t[0] || (t[0] = (a) => L(a))
152
143
  }, {
153
- default: r(() => [
154
- n(a(Q), {
144
+ default: n(() => [
145
+ s(o(F), {
155
146
  class: "text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5",
156
147
  "data-testid": "client-picker",
157
148
  fullWidth: "",
158
149
  variant: "ghost"
159
150
  }, {
160
- default: r(() => [
161
- b("span", ne, G(u.value.title), 1),
162
- n(a(_), {
151
+ default: n(() => [
152
+ y("span", ee, z(r.value.title), 1),
153
+ s(o(J), {
163
154
  class: "ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",
164
155
  weight: "bold"
165
156
  })
@@ -173,71 +164,73 @@ const se = ["innerHTML"], ne = { class: "text-base font-normal" }, re = ["id"],
173
164
  key: "0"
174
165
  } : void 0
175
166
  ]), 1024),
176
- n(a(j), { class: "request-editor-section custom-scroll p-0" }, {
177
- default: r(() => [
178
- b("div", {
179
- id: `${a(z)}-example`,
167
+ s(o(q), { class: "request-editor-section custom-scroll p-0" }, {
168
+ default: n(() => [
169
+ y("div", {
170
+ id: `${o(R)}-example`,
180
171
  class: "code-snippet"
181
172
  }, [
182
- n(a(X), {
173
+ s(o(U), {
183
174
  class: "bg-b-2 !min-h-full -outline-offset-2",
184
- content: $.value,
185
- hideCredentials: I.value,
186
- lang: D.value,
175
+ content: x.value,
176
+ hideCredentials: W.value,
177
+ lang: w.value,
187
178
  lineNumbers: ""
188
179
  }, null, 8, ["content", "hideCredentials", "lang"])
189
- ], 8, re)
180
+ ], 8, te)
190
181
  ]),
191
182
  _: 1
192
183
  }),
193
- Object.keys(c.value).length || e.$slots.footer ? (h(), q(a(Y), {
184
+ Object.keys(c.value).length > 1 || e.$slots.footer ? (i(), h(o(A), {
194
185
  key: 0,
195
186
  class: "request-card-footer bg-b-3"
196
187
  }, {
197
- default: r(() => [
198
- Object.keys(c.value).length ? (h(), V("div", ue, [
199
- n(ae, {
200
- modelValue: v.value,
188
+ default: n(() => [
189
+ Object.keys(c.value).length > 1 ? (i(), S("div", le, [
190
+ Object.keys(c.value).length ? (i(), h(Z, {
191
+ key: 0,
192
+ modelValue: f.value,
201
193
  "onUpdate:modelValue": [
202
- t[1] || (t[1] = (o) => v.value = o),
203
- t[2] || (t[2] = (o) => {
204
- var s;
205
- return a(w)((s = m.value) == null ? void 0 : s.$el, "scalar-update-selected-example", o);
206
- })
194
+ t[1] || (t[1] = (a) => f.value = a),
195
+ t[2] || (t[2] = (a) => o(T)(
196
+ d.value?.$el,
197
+ "scalar-update-selected-example",
198
+ a
199
+ ))
207
200
  ],
208
201
  examples: c.value
209
- }, null, 8, ["modelValue", "examples"])
210
- ])) : C("", !0),
211
- k(e.$slots, "footer", {}, void 0, !0)
202
+ }, null, 8, ["modelValue", "examples"])) : m("", !0)
203
+ ])) : m("", !0),
204
+ C(e.$slots, "footer", {}, void 0, !0)
212
205
  ]),
213
206
  _: 3
214
- })) : C("", !0)
207
+ })) : m("", !0)
215
208
  ]),
216
209
  _: 3
217
- }, 512)) : e.fallback ? (h(), q(a(W), {
210
+ }, 512)) : e.fallback ? (i(), h(o(E), {
218
211
  key: 1,
219
212
  class: "request-card dark-mode"
220
213
  }, {
221
- default: r(() => [
222
- n(a(j), { class: "request-card-simple" }, {
223
- default: r(() => [
224
- b("div", ie, [
225
- n(a(R), {
214
+ default: n(() => [
215
+ s(o(q), { class: "request-card-simple" }, {
216
+ default: n(() => [
217
+ y("div", oe, [
218
+ s(o(V), {
226
219
  as: "span",
227
220
  class: "request-method",
228
221
  method: e.method
229
222
  }, null, 8, ["method"]),
230
- k(e.$slots, "header", {}, void 0, !0)
223
+ C(e.$slots, "header", {}, void 0, !0)
231
224
  ]),
232
- k(e.$slots, "footer", {}, void 0, !0)
225
+ C(e.$slots, "footer", {}, void 0, !0)
233
226
  ]),
234
227
  _: 3
235
228
  })
236
229
  ]),
237
230
  _: 3
238
- })) : C("", !0);
231
+ })) : m("", !0);
239
232
  }
240
233
  });
241
234
  export {
242
- $e as default
235
+ be as default
243
236
  };
@@ -1,23 +1,22 @@
1
- import { AVAILABLE_CLIENTS as c } from "@scalar/snippetz";
2
- const d = "shell/curl", u = (o) => c.includes(o), e = (o, r) => {
3
- var f;
4
- const n = (f = o[0]) == null ? void 0 : f.options[0];
5
- if (r)
1
+ import { AVAILABLE_CLIENTS as f } from "@scalar/snippetz";
2
+ const c = "shell/curl", d = (o) => f.includes(o), u = (o, s) => {
3
+ const r = o[0]?.options[0];
4
+ if (s)
6
5
  for (const i of o) {
7
- const t = i.options.find((s) => s.id === r);
6
+ const t = i.options.find((n) => n.id === s);
8
7
  if (t)
9
8
  return t;
10
9
  }
11
- if (!(n != null && n.id.startsWith("custom")))
10
+ if (!r?.id.startsWith("custom"))
12
11
  for (const i of o) {
13
- const t = i.options.find((s) => s.id === d);
12
+ const t = i.options.find((n) => n.id === c);
14
13
  if (t)
15
14
  return t;
16
15
  }
17
- return n;
16
+ return r;
18
17
  };
19
18
  export {
20
- d as DEFAULT_CLIENT,
21
- e as findClient,
22
- u as isClient
19
+ c as DEFAULT_CLIENT,
20
+ u as findClient,
21
+ d as isClient
23
22
  };
@@ -1,11 +1,11 @@
1
- import { isDefined as o } from "@scalar/helpers/array/is-defined";
1
+ import { isDefined as e } from "@scalar/helpers/array/is-defined";
2
2
  import { encode as s } from "js-base64";
3
- const p = (t) => t.flatMap((r) => r.type === "apiKey" ? r["x-scalar-secret-token"] : (r == null ? void 0 : r.type) === "http" ? [
3
+ const p = (t) => t.flatMap((r) => r.type === "apiKey" ? r["x-scalar-secret-token"] : r?.type === "http" ? [
4
4
  r["x-scalar-secret-token"],
5
5
  r["x-scalar-secret-username"],
6
6
  r["x-scalar-secret-password"],
7
7
  s(`${r["x-scalar-secret-username"]}:${r["x-scalar-secret-password"]}`)
8
- ] : r.type === "oauth2" ? Object.values(r.flows).map((a) => a["x-scalar-secret-token"]) : []).filter(o);
8
+ ] : r.type === "oauth2" ? Object.values(r.flows).map((a) => a["x-scalar-secret-token"]) : []).filter(e);
9
9
  export {
10
10
  p as getSecrets
11
11
  };
@@ -12,21 +12,18 @@ const k = { class: "overflow-x-auto" }, B = {
12
12
  target: {}
13
13
  },
14
14
  emits: ["update:modelValue"],
15
- setup(r, { expose: p, emit: f }) {
15
+ setup(t, { expose: p, emit: f }) {
16
16
  const x = f, a = l(
17
- () => r.servers.map((e) => ({
17
+ () => t.servers.map((e) => ({
18
18
  id: e.url,
19
19
  label: e.url
20
20
  }))
21
- ), i = l(() => r.servers.find((e) => e.url === r.xSelectedServer)), s = l(
22
- () => {
23
- var e, t;
24
- return ((t = (e = i.value) == null ? void 0 : e.url) == null ? void 0 : t.replace(/\/$/, "")) || "";
25
- }
21
+ ), i = l(() => t.servers.find((e) => e.url === t.xSelectedServer)), s = l(
22
+ () => i.value?.url?.replace(/\/$/, "") || ""
26
23
  ), n = l({
27
24
  get: () => {
28
- if (r.xSelectedServer && a.value.length > 0)
29
- return a.value.find((e) => e.id === r.xSelectedServer);
25
+ if (t.xSelectedServer && a.value.length > 0)
26
+ return a.value.find((e) => e.id === t.xSelectedServer);
30
27
  },
31
28
  set: (e) => {
32
29
  e && x("update:modelValue", e.id);
@@ -34,15 +31,15 @@ const k = { class: "overflow-x-auto" }, B = {
34
31
  });
35
32
  return p({
36
33
  server: i,
37
- servers: r.servers,
34
+ servers: t.servers,
38
35
  serverUrlWithoutTrailingSlash: s,
39
36
  serverOptions: a,
40
37
  selectedServer: n
41
- }), (e, t) => a.value.length > 1 ? (d(), w(u(h), {
38
+ }), (e, r) => a.value.length > 1 ? (d(), w(u(h), {
42
39
  key: 0,
43
40
  ref: "elem",
44
41
  modelValue: n.value,
45
- "onUpdate:modelValue": t[0] || (t[0] = (g) => n.value = g),
42
+ "onUpdate:modelValue": r[0] || (r[0] = (g) => n.value = g),
46
43
  class: "group",
47
44
  options: a.value,
48
45
  placement: "bottom-start",
@@ -55,7 +52,7 @@ const k = { class: "overflow-x-auto" }, B = {
55
52
  variant: "ghost"
56
53
  }, {
57
54
  default: c(() => [
58
- t[1] || (t[1] = o("span", { class: "sr-only" }, "Server:", -1)),
55
+ r[1] || (r[1] = o("span", { class: "sr-only" }, "Server:", -1)),
59
56
  o("span", k, m(s.value), 1),
60
57
  v(u(V), {
61
58
  class: "text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",
@@ -68,7 +65,7 @@ const k = { class: "overflow-x-auto" }, B = {
68
65
  ]),
69
66
  _: 1
70
67
  }, 8, ["modelValue", "options", "target"])) : (d(), b("div", B, [
71
- t[2] || (t[2] = o("span", { class: "sr-only" }, "Server:", -1)),
68
+ r[2] || (r[2] = o("span", { class: "sr-only" }, "Server:", -1)),
72
69
  o("span", C, m(s.value), 1)
73
70
  ]));
74
71
  }
@@ -1,72 +1,69 @@
1
- import { defineComponent as x, useId as g, computed as k, watch as y, nextTick as V, createElementBlock as h, openBlock as n, Fragment as C, createElementVNode as m, createVNode as R, createBlock as f, createCommentVNode as p, normalizeClass as _, unref as o } from "vue";
2
- import { ServerVariablesForm as B } from "@scalar/api-client/components/Server";
3
- import { ScalarMarkdown as E } from "@scalar/components";
4
- import { emitCustomEvent as b } from "@scalar/workspace-store/events";
5
- import { templateRef as N } from "@vueuse/core";
6
- import F from "./Selector.vue.js";
7
- const U = ["id"], w = {}, q = /* @__PURE__ */ x({
8
- ...w,
1
+ import { defineComponent as f, useId as p, computed as b, watch as S, nextTick as x, createElementBlock as g, openBlock as n, Fragment as k, createElementVNode as u, createVNode as y, createBlock as i, createCommentVNode as c, normalizeClass as V, unref as o } from "vue";
2
+ import { ServerVariablesForm as h } from "@scalar/api-client/components/Server";
3
+ import { ScalarMarkdown as C } from "@scalar/components";
4
+ import { emitCustomEvent as v } from "@scalar/workspace-store/events";
5
+ import { templateRef as R } from "@vueuse/core";
6
+ import _ from "./Selector.vue.js";
7
+ const B = ["id"], E = {}, M = /* @__PURE__ */ f({
8
+ ...E,
9
9
  __name: "ServerSelector",
10
10
  props: {
11
11
  xSelectedServer: {},
12
12
  servers: {}
13
13
  },
14
14
  setup(t) {
15
- const s = g(), d = (e) => {
16
- b(a.value, "scalar-update-selected-server", {
15
+ const s = p(), d = (e) => {
16
+ v(a.value, "scalar-update-selected-server", {
17
17
  value: e
18
18
  });
19
- }, S = (e, l) => {
20
- a.value && b(
19
+ }, m = (e, l) => {
20
+ a.value && v(
21
21
  a.value,
22
22
  "scalar-update-selected-server-variables",
23
23
  { key: e, value: l }
24
24
  );
25
- }, r = k(() => t.servers.find((e) => e.url === t.xSelectedServer));
26
- y(
25
+ }, r = b(() => t.servers.find((e) => e.url === t.xSelectedServer));
26
+ S(
27
27
  () => t.servers,
28
28
  (e) => {
29
- e.length && (t.xSelectedServer || V(() => {
29
+ e.length && (t.xSelectedServer || x(() => {
30
30
  d(e[0].url);
31
31
  }));
32
32
  },
33
33
  { immediate: !0 }
34
34
  );
35
- const a = N("containerRef");
36
- return (e, l) => {
37
- var u, i, c, v;
38
- return n(), h(C, null, [
39
- l[0] || (l[0] = m("label", { class: "bg-b-2 flex h-8 items-center rounded-t-lg border border-b-0 px-3 py-2.5 font-medium" }, " Server ", -1)),
40
- m("div", {
41
- id: o(s),
42
- ref_key: "containerRef",
43
- ref: a,
44
- class: _(["border", {
45
- "rounded-b-lg": !((u = r.value) != null && u.description) && !((i = r.value) != null && i.variables)
46
- }])
47
- }, [
48
- e.servers.length ? (n(), f(F, {
49
- key: 0,
50
- servers: e.servers,
51
- target: o(s),
52
- xSelectedServer: e.xSelectedServer,
53
- "onUpdate:modelValue": d
54
- }, null, 8, ["servers", "target", "xSelectedServer"])) : p("", !0)
55
- ], 10, U),
56
- R(o(B), {
57
- layout: "reference",
58
- variables: (c = r.value) == null ? void 0 : c.variables,
59
- "onUpdate:variable": S
60
- }, null, 8, ["variables"]),
61
- (v = r.value) != null && v.description ? (n(), f(o(E), {
35
+ const a = R("containerRef");
36
+ return (e, l) => (n(), g(k, null, [
37
+ l[0] || (l[0] = u("label", { class: "bg-b-2 flex h-8 items-center rounded-t-lg border border-b-0 px-3 py-2.5 font-medium" }, " Server ", -1)),
38
+ u("div", {
39
+ id: o(s),
40
+ ref_key: "containerRef",
41
+ ref: a,
42
+ class: V(["border", {
43
+ "rounded-b-lg": !r.value?.description && !r.value?.variables
44
+ }])
45
+ }, [
46
+ e.servers.length ? (n(), i(_, {
62
47
  key: 0,
63
- class: "text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",
64
- value: r.value.description
65
- }, null, 8, ["value"])) : p("", !0)
66
- ], 64);
67
- };
48
+ servers: e.servers,
49
+ target: o(s),
50
+ xSelectedServer: e.xSelectedServer,
51
+ "onUpdate:modelValue": d
52
+ }, null, 8, ["servers", "target", "xSelectedServer"])) : c("", !0)
53
+ ], 10, B),
54
+ y(o(h), {
55
+ layout: "reference",
56
+ variables: r.value?.variables,
57
+ "onUpdate:variable": m
58
+ }, null, 8, ["variables"]),
59
+ r.value?.description ? (n(), i(o(C), {
60
+ key: 0,
61
+ class: "text-c-3 rounded-b-lg border border-t-0 px-3 py-1.5",
62
+ value: r.value.description
63
+ }, null, 8, ["value"])) : c("", !0)
64
+ ], 64));
68
65
  }
69
66
  });
70
67
  export {
71
- q as default
68
+ M as default
72
69
  };
@@ -1,15 +1,15 @@
1
- const n = ({ name: i, url: f, document: t } = {}, e) => {
2
- if (i)
3
- return i;
4
- if (f)
5
- return f;
6
- if (t != null && t.info) {
7
- const r = t.info;
8
- if (r.title)
9
- return r.title;
1
+ const r = ({ name: t, url: e, document: i } = {}, f) => {
2
+ if (t)
3
+ return t;
4
+ if (e)
5
+ return e;
6
+ if (i?.info) {
7
+ const n = i.info;
8
+ if (n.title)
9
+ return n.title;
10
10
  }
11
11
  return "default";
12
12
  };
13
13
  export {
14
- n as getDocumentName
14
+ r as getDocumentName
15
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"map-configuration.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/map-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAG9D;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiDqh3C,CAAC;;;gBAAyH,CAAC;;;;;mBAAsS,CAAC;uBAAyC,CAAC;;;gBAA1N,CAAC;;;;kBAA4W,CAAC;;;CAD/r4C,CAAA"}
1
+ {"version":3,"file":"map-configuration.d.ts","sourceRoot":"","sources":["../../../src/v2/helpers/map-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AAG9D;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,OAAO,CAAC,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAiD0i3C,CAAC;;;gBAAyH,CAAC;;;;;mBAAsS,CAAC;uBAAyC,CAAC;;;gBAA1N,CAAC;;;;kBAA4W,CAAC;;;CADpt4C,CAAA"}