@scalar/api-reference 1.2.2 → 1.2.4

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 (123) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +19 -1
  3. package/dist/browser/standalone.js +403 -151
  4. package/dist/components/Anchor/Anchor.vue.d.ts +14 -11
  5. package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
  6. package/dist/components/ApiClientModal.vue.d.ts +23 -36
  7. package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
  8. package/dist/components/ApiReference.vue.d.ts +11 -9
  9. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  10. package/dist/components/ApiReferenceBase.vue.d.ts +12 -11
  11. package/dist/components/ApiReferenceBase.vue.d.ts.map +1 -1
  12. package/dist/components/ApiReferenceLayout.vue.d.ts +145 -158
  13. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  14. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  15. package/dist/components/Card/CardContent.vue.d.ts +42 -43
  16. package/dist/components/Card/CardContent.vue.d.ts.map +1 -1
  17. package/dist/components/Card/CardHeader.vue.d.ts.map +1 -1
  18. package/dist/components/Card/CardTab.vue.d.ts.map +1 -1
  19. package/dist/components/Card/CardTabHeader.vue.d.ts.map +1 -1
  20. package/dist/components/Content/Authentication/Authentication.vue.d.ts +14 -9
  21. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  22. package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts +14 -9
  23. package/dist/components/Content/Authentication/SecurityScheme.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Authentication/SecuritySchemeSelector.vue.d.ts +15 -12
  25. package/dist/components/Content/Authentication/SecuritySchemeSelector.vue.d.ts.map +1 -1
  26. package/dist/components/Content/Content.vue.d.ts +18 -27
  27. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  28. package/dist/components/Content/EndpointsOverview.vue.d.ts +13 -10
  29. package/dist/components/Content/EndpointsOverview.vue.d.ts.map +1 -1
  30. package/dist/components/Content/Introduction/ClientSelector.vue.d.ts.map +1 -1
  31. package/dist/components/Content/Introduction/Description.vue.d.ts +14 -9
  32. package/dist/components/Content/Introduction/Description.vue.d.ts.map +1 -1
  33. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts +13 -10
  34. package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +1 -1
  35. package/dist/components/Content/Introduction/Introduction.vue.d.ts +19 -34
  36. package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
  37. package/dist/components/Content/Introduction/ServerItem.vue.d.ts +16 -15
  38. package/dist/components/Content/Introduction/ServerItem.vue.d.ts.map +1 -1
  39. package/dist/components/Content/Introduction/ServerList.vue.d.ts +13 -10
  40. package/dist/components/Content/Introduction/ServerList.vue.d.ts.map +1 -1
  41. package/dist/components/Content/Introduction/ServerVariables.vue.d.ts +14 -9
  42. package/dist/components/Content/Introduction/ServerVariables.vue.d.ts.map +1 -1
  43. package/dist/components/Content/MarkdownRenderer.vue.d.ts +14 -9
  44. package/dist/components/Content/MarkdownRenderer.vue.d.ts.map +1 -1
  45. package/dist/components/Content/Models.vue.d.ts +14 -9
  46. package/dist/components/Content/Models.vue.d.ts.map +1 -1
  47. package/dist/components/Content/ReferenceEndpoint/Copy.vue.d.ts +13 -10
  48. package/dist/components/Content/ReferenceEndpoint/Copy.vue.d.ts.map +1 -1
  49. package/dist/components/Content/ReferenceEndpoint/ExampleRequest.vue.d.ts +13 -10
  50. package/dist/components/Content/ReferenceEndpoint/ExampleRequest.vue.d.ts.map +1 -1
  51. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/ExampleResponses.vue.d.ts +13 -10
  52. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/ExampleResponses.vue.d.ts.map +1 -1
  53. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/Headers.vue.d.ts +13 -10
  54. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/Headers.vue.d.ts.map +1 -1
  55. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/SelectExample.vue.d.ts +13 -10
  56. package/dist/components/Content/ReferenceEndpoint/ExampleResponses/SelectExample.vue.d.ts.map +1 -1
  57. package/dist/components/Content/ReferenceEndpoint/ParameterItem.vue.d.ts +13 -10
  58. package/dist/components/Content/ReferenceEndpoint/ParameterItem.vue.d.ts.map +1 -1
  59. package/dist/components/Content/ReferenceEndpoint/Parameters.vue.d.ts +15 -16
  60. package/dist/components/Content/ReferenceEndpoint/Parameters.vue.d.ts.map +1 -1
  61. package/dist/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.d.ts +15 -18
  62. package/dist/components/Content/ReferenceEndpoint/ReferenceEndpoint.vue.d.ts.map +1 -1
  63. package/dist/components/Content/ReferenceEndpoint/RequestBody.vue.d.ts +14 -9
  64. package/dist/components/Content/ReferenceEndpoint/RequestBody.vue.d.ts.map +1 -1
  65. package/dist/components/Content/ReferenceEndpoint/RequestBodyProperties.vue.d.ts +15 -18
  66. package/dist/components/Content/ReferenceEndpoint/RequestBodyProperties.vue.d.ts.map +1 -1
  67. package/dist/components/Content/ReferenceEndpoint/RequestBodyPropertiesChild.vue.d.ts +13 -10
  68. package/dist/components/Content/ReferenceEndpoint/RequestBodyPropertiesChild.vue.d.ts.map +1 -1
  69. package/dist/components/Content/Schema.vue.d.ts +30 -23
  70. package/dist/components/Content/Schema.vue.d.ts.map +1 -1
  71. package/dist/components/Content/SchemaProperty.vue.d.ts +34 -31
  72. package/dist/components/Content/SchemaProperty.vue.d.ts.map +1 -1
  73. package/dist/components/Content/ShowMoreButton.vue.d.ts +13 -10
  74. package/dist/components/Content/ShowMoreButton.vue.d.ts.map +1 -1
  75. package/dist/components/Content/SpecDownload.vue.d.ts +13 -10
  76. package/dist/components/Content/SpecDownload.vue.d.ts.map +1 -1
  77. package/dist/components/Content/Spinner.vue.d.ts.map +1 -1
  78. package/dist/components/DarkModeToggle.vue.d.ts.map +1 -1
  79. package/dist/components/FlowButton.vue.d.ts +24 -41
  80. package/dist/components/FlowButton.vue.d.ts.map +1 -1
  81. package/dist/components/FlowIconButton.vue.d.ts +30 -27
  82. package/dist/components/FlowIconButton.vue.d.ts.map +1 -1
  83. package/dist/components/FlowLoader.vue.d.ts +28 -17
  84. package/dist/components/FlowLoader.vue.d.ts.map +1 -1
  85. package/dist/components/HelpfulLink.vue.d.ts +14 -11
  86. package/dist/components/HelpfulLink.vue.d.ts.map +1 -1
  87. package/dist/components/Icon/FlowIcon.vue.d.ts +13 -10
  88. package/dist/components/Icon/FlowIcon.vue.d.ts.map +1 -1
  89. package/dist/components/Icon/Icon.vue.d.ts +15 -16
  90. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  91. package/dist/components/IntersectionObserver.vue.d.ts +17 -16
  92. package/dist/components/IntersectionObserver.vue.d.ts.map +1 -1
  93. package/dist/components/LoadingSkeleton.vue.d.ts +26 -11
  94. package/dist/components/LoadingSkeleton.vue.d.ts.map +1 -1
  95. package/dist/components/MobileHeader.vue.d.ts +15 -10
  96. package/dist/components/MobileHeader.vue.d.ts.map +1 -1
  97. package/dist/components/SearchButton.vue.d.ts +28 -19
  98. package/dist/components/SearchButton.vue.d.ts.map +1 -1
  99. package/dist/components/SearchModal.vue.d.ts +16 -26
  100. package/dist/components/SearchModal.vue.d.ts.map +1 -1
  101. package/dist/components/Section/Section.vue.d.ts +16 -15
  102. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  103. package/dist/components/Section/SectionColumn.vue.d.ts.map +1 -1
  104. package/dist/components/Section/SectionColumns.vue.d.ts.map +1 -1
  105. package/dist/components/Section/SectionContainer.vue.d.ts.map +1 -1
  106. package/dist/components/Section/SectionContent.vue.d.ts +26 -11
  107. package/dist/components/Section/SectionContent.vue.d.ts.map +1 -1
  108. package/dist/components/Section/SectionHeader.vue.d.ts +34 -27
  109. package/dist/components/Section/SectionHeader.vue.d.ts.map +1 -1
  110. package/dist/components/Sidebar.vue.d.ts +14 -11
  111. package/dist/components/Sidebar.vue.d.ts.map +1 -1
  112. package/dist/components/SidebarElement.vue.d.ts +37 -46
  113. package/dist/components/SidebarElement.vue.d.ts.map +1 -1
  114. package/dist/components/SidebarGroup.vue.d.ts +14 -11
  115. package/dist/components/SidebarGroup.vue.d.ts.map +1 -1
  116. package/dist/components/SimpleTable/SimpleCell.vue.d.ts +34 -27
  117. package/dist/components/SimpleTable/SimpleCell.vue.d.ts.map +1 -1
  118. package/dist/components/SimpleTable/SimpleRow.vue.d.ts.map +1 -1
  119. package/dist/components/SimpleTable/SimpleTable.vue.d.ts.map +1 -1
  120. package/dist/index.js +3498 -52581
  121. package/dist/types.d.ts +3 -0
  122. package/dist/types.d.ts.map +1 -1
  123. package/package.json +73 -83
@@ -9865,8 +9865,8 @@ Component that was made reactive: `,
9865
9865
  return [event, options2];
9866
9866
  }
9867
9867
  let cachedNow = 0;
9868
- const p$7 = /* @__PURE__ */ Promise.resolve();
9869
- const getNow = () => cachedNow || (p$7.then(() => cachedNow = 0), cachedNow = Date.now());
9868
+ const p$8 = /* @__PURE__ */ Promise.resolve();
9869
+ const getNow = () => cachedNow || (p$8.then(() => cachedNow = 0), cachedNow = Date.now());
9870
9870
  function createInvoker(initialValue, instance) {
9871
9871
  const invoker = (e2) => {
9872
9872
  if (!e2._vts) {
@@ -11121,6 +11121,268 @@ Component that was made reactive: `,
11121
11121
  triggerResize
11122
11122
  };
11123
11123
  }
11124
+ function unpackToArray(input, options2) {
11125
+ const unpacked = [];
11126
+ const kFn = options2.resolveKeyData || ((ctx) => ctx.key);
11127
+ const vFn = options2.resolveValueData || ((ctx) => ctx.value);
11128
+ for (const [k2, v2] of Object.entries(input)) {
11129
+ unpacked.push(...(Array.isArray(v2) ? v2 : [v2]).map((i2) => {
11130
+ const ctx = { key: k2, value: i2 };
11131
+ const val = vFn(ctx);
11132
+ if (typeof val === "object")
11133
+ return unpackToArray(val, options2);
11134
+ if (Array.isArray(val))
11135
+ return val;
11136
+ return {
11137
+ [typeof options2.key === "function" ? options2.key(ctx) : options2.key]: kFn(ctx),
11138
+ [typeof options2.value === "function" ? options2.value(ctx) : options2.value]: val
11139
+ };
11140
+ }).flat());
11141
+ }
11142
+ return unpacked;
11143
+ }
11144
+ function unpackToString(value, options2) {
11145
+ return Object.entries(value).map(([key2, value2]) => {
11146
+ if (typeof value2 === "object")
11147
+ value2 = unpackToString(value2, options2);
11148
+ if (options2.resolve) {
11149
+ const resolved = options2.resolve({ key: key2, value: value2 });
11150
+ if (resolved)
11151
+ return resolved;
11152
+ }
11153
+ if (typeof value2 === "number")
11154
+ value2 = value2.toString();
11155
+ if (typeof value2 === "string" && options2.wrapValue) {
11156
+ value2 = value2.replace(new RegExp(options2.wrapValue, "g"), `\\${options2.wrapValue}`);
11157
+ value2 = `${options2.wrapValue}${value2}${options2.wrapValue}`;
11158
+ }
11159
+ return `${key2}${options2.keyValueSeparator || ""}${value2}`;
11160
+ }).join(options2.entrySeparator || "");
11161
+ }
11162
+ const p$7 = (p2) => ({ keyValue: p2, metaKey: "property" });
11163
+ const k$2 = (p2) => ({ keyValue: p2 });
11164
+ const MetaPackingSchema = {
11165
+ appleItunesApp: {
11166
+ unpack: {
11167
+ entrySeparator: ", ",
11168
+ resolve({ key: key2, value }) {
11169
+ return `${fixKeyCase(key2)}=${value}`;
11170
+ }
11171
+ }
11172
+ },
11173
+ articleExpirationTime: p$7("article:expiration_time"),
11174
+ articleModifiedTime: p$7("article:modified_time"),
11175
+ articlePublishedTime: p$7("article:published_time"),
11176
+ bookReleaseDate: p$7("book:release_date"),
11177
+ charset: {
11178
+ metaKey: "charset"
11179
+ },
11180
+ contentSecurityPolicy: {
11181
+ unpack: {
11182
+ entrySeparator: "; ",
11183
+ resolve({ key: key2, value }) {
11184
+ return `${fixKeyCase(key2)} ${value}`;
11185
+ }
11186
+ },
11187
+ metaKey: "http-equiv"
11188
+ },
11189
+ contentType: {
11190
+ metaKey: "http-equiv"
11191
+ },
11192
+ defaultStyle: {
11193
+ metaKey: "http-equiv"
11194
+ },
11195
+ fbAppId: p$7("fb:app_id"),
11196
+ msapplicationConfig: k$2("msapplication-Config"),
11197
+ msapplicationTileColor: k$2("msapplication-TileColor"),
11198
+ msapplicationTileImage: k$2("msapplication-TileImage"),
11199
+ ogAudioSecureUrl: p$7("og:audio:secure_url"),
11200
+ ogAudioUrl: p$7("og:audio"),
11201
+ ogImageSecureUrl: p$7("og:image:secure_url"),
11202
+ ogImageUrl: p$7("og:image"),
11203
+ ogSiteName: p$7("og:site_name"),
11204
+ ogVideoSecureUrl: p$7("og:video:secure_url"),
11205
+ ogVideoUrl: p$7("og:video"),
11206
+ profileFirstName: p$7("profile:first_name"),
11207
+ profileLastName: p$7("profile:last_name"),
11208
+ profileUsername: p$7("profile:username"),
11209
+ refresh: {
11210
+ metaKey: "http-equiv",
11211
+ unpack: {
11212
+ entrySeparator: ";",
11213
+ keyValueSeparator: "=",
11214
+ resolve({ key: key2, value }) {
11215
+ if (key2 === "seconds")
11216
+ return `${value}`;
11217
+ }
11218
+ }
11219
+ },
11220
+ robots: {
11221
+ unpack: {
11222
+ entrySeparator: ", ",
11223
+ resolve({ key: key2, value }) {
11224
+ if (typeof value === "boolean")
11225
+ return `${fixKeyCase(key2)}`;
11226
+ else
11227
+ return `${fixKeyCase(key2)}:${value}`;
11228
+ }
11229
+ }
11230
+ },
11231
+ xUaCompatible: {
11232
+ metaKey: "http-equiv"
11233
+ }
11234
+ };
11235
+ const openGraphNamespaces = [
11236
+ "og",
11237
+ "book",
11238
+ "article",
11239
+ "profile"
11240
+ ];
11241
+ function resolveMetaKeyType(key2) {
11242
+ var _a3;
11243
+ const fKey = fixKeyCase(key2).split(":")[0];
11244
+ if (openGraphNamespaces.includes(fKey))
11245
+ return "property";
11246
+ return ((_a3 = MetaPackingSchema[key2]) == null ? void 0 : _a3.metaKey) || "name";
11247
+ }
11248
+ function resolveMetaKeyValue(key2) {
11249
+ var _a3;
11250
+ return ((_a3 = MetaPackingSchema[key2]) == null ? void 0 : _a3.keyValue) || fixKeyCase(key2);
11251
+ }
11252
+ function fixKeyCase(key2) {
11253
+ const updated = key2.replace(/([A-Z])/g, "-$1").toLowerCase();
11254
+ const fKey = updated.split("-")[0];
11255
+ if (openGraphNamespaces.includes(fKey) || fKey === "twitter")
11256
+ return key2.replace(/([A-Z])/g, ":$1").toLowerCase();
11257
+ return updated;
11258
+ }
11259
+ function changeKeyCasingDeep(input) {
11260
+ if (Array.isArray(input)) {
11261
+ return input.map((entry) => changeKeyCasingDeep(entry));
11262
+ }
11263
+ if (typeof input !== "object" || Array.isArray(input))
11264
+ return input;
11265
+ const output = {};
11266
+ for (const [key2, value] of Object.entries(input))
11267
+ output[fixKeyCase(key2)] = changeKeyCasingDeep(value);
11268
+ return output;
11269
+ }
11270
+ function resolvePackedMetaObjectValue(value, key2) {
11271
+ const definition2 = MetaPackingSchema[key2];
11272
+ if (key2 === "refresh")
11273
+ return `${value.seconds};url=${value.url}`;
11274
+ return unpackToString(
11275
+ changeKeyCasingDeep(value),
11276
+ {
11277
+ entrySeparator: ", ",
11278
+ resolve({ value: value2, key: key22 }) {
11279
+ if (value2 === null)
11280
+ return "";
11281
+ if (typeof value2 === "boolean")
11282
+ return `${key22}`;
11283
+ },
11284
+ ...definition2 == null ? void 0 : definition2.unpack
11285
+ }
11286
+ );
11287
+ }
11288
+ const ObjectArrayEntries = ["og:image", "og:video", "og:audio", "twitter:image"];
11289
+ function sanitize$1(input) {
11290
+ const out = {};
11291
+ Object.entries(input).forEach(([k2, v2]) => {
11292
+ if (String(v2) !== "false" && k2)
11293
+ out[k2] = v2;
11294
+ });
11295
+ return out;
11296
+ }
11297
+ function handleObjectEntry(key2, v2) {
11298
+ const value = sanitize$1(v2);
11299
+ const fKey = fixKeyCase(key2);
11300
+ const attr = resolveMetaKeyType(fKey);
11301
+ if (ObjectArrayEntries.includes(fKey)) {
11302
+ const input = {};
11303
+ Object.entries(value).forEach(([k2, v22]) => {
11304
+ input[`${key2}${k2 === "url" ? "" : `${k2.charAt(0).toUpperCase()}${k2.slice(1)}`}`] = v22;
11305
+ });
11306
+ return unpackMeta(input).sort((a2, b2) => {
11307
+ var _a3, _b2;
11308
+ return (((_a3 = a2[attr]) == null ? void 0 : _a3.length) || 0) - (((_b2 = b2[attr]) == null ? void 0 : _b2.length) || 0);
11309
+ });
11310
+ }
11311
+ return [{ [attr]: fKey, ...value }];
11312
+ }
11313
+ function unpackMeta(input) {
11314
+ const extras = [];
11315
+ const primitives = {};
11316
+ Object.entries(input).forEach(([key2, value]) => {
11317
+ if (!Array.isArray(value)) {
11318
+ if (typeof value === "object" && value) {
11319
+ if (ObjectArrayEntries.includes(fixKeyCase(key2))) {
11320
+ extras.push(...handleObjectEntry(key2, value));
11321
+ return;
11322
+ }
11323
+ primitives[key2] = sanitize$1(value);
11324
+ } else {
11325
+ primitives[key2] = value;
11326
+ }
11327
+ return;
11328
+ }
11329
+ value.forEach((v2) => {
11330
+ extras.push(...typeof v2 === "string" ? unpackMeta({ [key2]: v2 }) : handleObjectEntry(key2, v2));
11331
+ });
11332
+ });
11333
+ const meta2 = unpackToArray(primitives, {
11334
+ key({ key: key2 }) {
11335
+ return resolveMetaKeyType(key2);
11336
+ },
11337
+ value({ key: key2 }) {
11338
+ return key2 === "charset" ? "charset" : "content";
11339
+ },
11340
+ resolveKeyData({ key: key2 }) {
11341
+ return resolveMetaKeyValue(key2);
11342
+ },
11343
+ resolveValueData({ value, key: key2 }) {
11344
+ if (value === null)
11345
+ return "_null";
11346
+ if (typeof value === "object")
11347
+ return resolvePackedMetaObjectValue(value, key2);
11348
+ return typeof value === "number" ? value.toString() : value;
11349
+ }
11350
+ });
11351
+ return [...extras, ...meta2].map((m2) => {
11352
+ if (m2.content === "_null")
11353
+ m2.content = null;
11354
+ return m2;
11355
+ });
11356
+ }
11357
+ let activeHead;
11358
+ function getActiveHead() {
11359
+ return activeHead;
11360
+ }
11361
+ function useHead(input, options2 = {}) {
11362
+ const head2 = options2.head || getActiveHead();
11363
+ return head2 == null ? void 0 : head2.push(input, options2);
11364
+ }
11365
+ function useSeoMeta(input, options2) {
11366
+ const { title: title2, titleTemplate, ...meta2 } = input;
11367
+ return useHead({
11368
+ title: title2,
11369
+ titleTemplate,
11370
+ // we need to input the meta so the reactivity will be resolved
11371
+ // @ts-expect-error runtime type
11372
+ _flatMeta: meta2
11373
+ }, {
11374
+ ...options2,
11375
+ transform(t2) {
11376
+ const meta22 = unpackMeta({ ...t2._flatMeta });
11377
+ delete t2._flatMeta;
11378
+ return {
11379
+ // @ts-expect-error runtime type
11380
+ ...t2,
11381
+ meta: meta22
11382
+ };
11383
+ }
11384
+ });
11385
+ }
11124
11386
  const alternateTheme = ".light-mode {\n color-scheme: light;\n --default-theme-color-1: #24293c;\n --default-theme-color-2: #4a5166;\n --default-theme-color-3: #888c9a;\n --default-theme-color-accent: #0099ff;\n --default-theme-background-1: #fff;\n --default-theme-background-2: #f6f6f6;\n --default-theme-background-3: #e7e7e7;\n --default-theme-background-accent: #5369d20f;\n --default-theme-border-color: rgba(0, 0, 0, 0.1);\n --default-theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --default-theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --default-theme-lifted-brightness: 1;\n --default-theme-backdrop-brightness: 1;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --default-theme-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px,\n var(--default-theme-border-color) 0px 0 0 1px;\n\n --default-theme-button-1: rgb(49 53 56);\n --default-theme-button-1-color: #fff;\n --default-theme-button-1-hover: rgb(28 31 33);\n\n --default-theme-color-green: #069061;\n --default-theme-color-red: #ef0006;\n --default-theme-color-yellow: #edbe20;\n --default-theme-color-blue: #0082d0;\n --default-theme-color-orange: #fb892c;\n --default-theme-color-purple: #5203d1;\n}\n\n.dark-mode {\n color-scheme: dark;\n --default-theme-color-1: rgba(255, 255, 255, 0.9);\n --default-theme-color-2: rgba(255, 255, 255, 0.62);\n --default-theme-color-3: rgba(255, 255, 255, 0.44);\n --default-theme-color-disabled: rgba(255, 255, 255, 0.34);\n --default-theme-color-ghost: rgba(255, 255, 255, 0.26);\n --default-theme-color-accent: #8ab4f8;\n --default-theme-background-1: #1a1a1a;\n --default-theme-background-2: #252525;\n --default-theme-background-3: #323232;\n --default-theme-background-4: rgba(255, 255, 255, 0.06);\n --default-theme-background-accent: #8ab4f81f;\n\n --default-theme-border-color: rgba(255, 255, 255, 0.1);\n --default-theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --default-theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --default-theme-lifted-brightness: 1.45;\n --default-theme-backdrop-brightness: 0.5;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --default-theme-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --default-theme-button-1: #f6f6f6;\n --default-theme-button-1-color: #000;\n --default-theme-button-1-hover: #e7e7e7;\n\n --default-theme-color-green: #00b648;\n --default-theme-color-red: #dc1b19;\n --default-theme-color-yellow: #ffc90d;\n --default-theme-color-blue: #4eb3ec;\n --default-theme-color-orange: #ff8d4d;\n --default-theme-color-purple: #b191f9;\n\n /* REST API Client */\n --default-theme-code-languages-background-supersede: transparent;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --default-sidebar-background-1: var(--default-theme-background-2);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-3);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: transparent;\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-theme-color-accent);\n --default-sidebar-search-background: var(--default-theme-background-3);\n --default-sidebar-search-border-color: var(--default-theme-background-3);\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n\n.dark-mode .sidebar {\n --default-sidebar-background-1: var(--default-theme-background-2);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-3);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: var(--default-theme-background-2);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-theme-color-accent);\n --default-sidebar-search-background: var(--default-theme-background-3);\n --default-sidebar-search-border-color: var(--default-theme-background-3);\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n\n/* Document header */\n.light-mode .t-doc__header {\n --default-header-background-1: #000;\n --default-header-border-color: #000;\n --default-header-color-1: #fff;\n --default-header-color-2: rgba(255, 255, 255, 0.66);\n --default-header-background-toggle: var(--default-theme-color-3);\n --default-header-call-to-action-color: var(--default-theme-color-accent);\n}\n\n.dark-mode .t-doc__header {\n --default-header-background-1: var(--default-theme-background-3);\n --default-header-border-color: var(--header-background-1);\n --default-header-color-1: var(--default-theme-color-1);\n --default-header-color-2: var(--default-theme-color-2);\n --default-header-background-toggle: var(--default-theme-color-3);\n --default-header-call-to-action-color: var(--default-theme-color-accent);\n}\n";
11125
11387
  const defaultTheme = ".light-mode {\n color-scheme: light;\n --default-theme-color-1: #2a2f45;\n --default-theme-color-2: #757575;\n --default-theme-color-3: #8e8e8e;\n --default-theme-color-disabled: #b4b1b1;\n --default-theme-color-ghost: #a7a7a7;\n --default-theme-color-accent: #0099ff;\n --default-theme-background-1: #fff;\n --default-theme-background-2: #f6f6f6;\n --default-theme-background-3: #e7e7e7;\n --default-theme-background-4: rgba(0, 0, 0, 0.06);\n --default-theme-background-accent: #8ab4f81f;\n\n --default-theme-border-color: rgba(0, 0, 0, 0.1);\n --default-theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --default-theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --default-theme-lifted-brightness: 1;\n --default-theme-backdrop-brightness: 1;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --default-theme-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n --default-theme-button-1: rgb(49 53 56);\n --default-theme-button-1-color: #fff;\n --default-theme-button-1-hover: rgb(28 31 33);\n\n /* REST API Client Colors */\n --default-theme-color-green: #069061;\n --default-theme-color-red: #ef0006;\n --default-theme-color-yellow: #edbe20;\n --default-theme-color-blue: #0082d0;\n --default-theme-color-orange: #fb892c;\n --default-theme-color-purple: #5203d1;\n\n /* Misc Scalar Branding */\n --default-scalar-brand: #faf6e9;\n}\n.dark-mode {\n color-scheme: dark;\n --default-theme-color-1: rgba(255, 255, 255, 0.9);\n --default-theme-color-2: rgba(255, 255, 255, 0.62);\n --default-theme-color-3: rgba(255, 255, 255, 0.44);\n --default-theme-color-disabled: rgba(255, 255, 255, 0.34);\n --default-theme-color-ghost: rgba(255, 255, 255, 0.26);\n --default-theme-color-accent: #8ab4f8;\n --default-theme-background-1: #1a1a1a;\n --default-theme-background-2: #252525;\n --default-theme-background-3: #323232;\n --default-theme-background-4: rgba(255, 255, 255, 0.06);\n --default-theme-background-accent: #8ab4f81f;\n\n --default-theme-border-color: rgba(255, 255, 255, 0.1);\n --default-theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --default-theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --default-theme-lifted-brightness: 1.45;\n --default-theme-backdrop-brightness: 0.5;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --default-theme-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --default-theme-button-1: #f6f6f6;\n --default-theme-button-1-color: #000;\n --default-theme-button-1-hover: #e7e7e7;\n\n /* REST API Client Colors */\n --default-theme-color-green: #00b648;\n --default-theme-color-red: #dc1b19;\n --default-theme-color-yellow: #ffc90d;\n --default-theme-color-blue: #4eb3ec;\n --default-theme-color-orange: #ff8d4d;\n --default-theme-color-purple: #b191f9;\n\n /* Misc Scalar Branding */\n --default-scalar-brand: #8b7256;\n}\n.light-mode .t-doc__sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-2);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: var(--default-theme-border-color);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-theme-color-accent);\n --default-sidebar-search-background: transparent;\n --default-sidebar-search-border-color: var(--default-theme-border-color);\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n\n.dark-mode .sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-2);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: var(--default-theme-border-color);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-theme-color-accent);\n --default-sidebar-search-background: transparent;\n --default-sidebar-search-border-color: var(--default-theme-border-color);\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n";
11126
11388
  const moonTheme = ".light-mode {\n color-scheme: light;\n --default-theme-color-1: #000000;\n --default-theme-color-2: #000000;\n --default-theme-color-3: #000000;\n --default-theme-color-accent: #645b0f;\n --default-theme-background-1: #ccc9b3;\n --default-theme-background-2: #c2bfaa;\n --default-theme-background-3: #b8b5a1;\n --default-theme-background-accent: #000000;\n\n --default-theme-border-color: rgba(0, 0, 0, 0.2);\n --default-theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --default-theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --default-theme-lifted-brightness: 1;\n --default-theme-backdrop-brightness: 1;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --default-theme-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px,\n var(--default-theme-border-color) 0px 0 0 1px;\n\n --default-theme-button-1: rgb(49 53 56);\n --default-theme-button-1-color: #fff;\n --default-theme-button-1-hover: rgb(28 31 33);\n\n --default-theme-color-red: #b91c1c;\n --default-theme-color-orange: #a16207;\n --default-theme-color-green: #047857;\n --default-theme-color-blue: #1d4ed8;\n --default-theme-color-orange: #c2410c;\n --default-theme-color-purple: #6d28d9;\n\n --default-theme-code-languages-background-supersede: var(\n --default-theme-background-3\n );\n --default-theme-code-language-color-supersede: var(--default-theme-color-1);\n}\n\n.dark-mode {\n color-scheme: dark;\n --default-theme-color-1: #fffef3;\n --default-theme-color-2: #fffef3;\n --default-theme-color-3: #fffef3;\n --default-theme-color-accent: #c3b531;\n --default-theme-background-1: #313332;\n --default-theme-background-2: #393b3a;\n --default-theme-background-3: #414342;\n --default-theme-background-accent: #fffef3;\n\n --default-theme-border-color: rgba(255, 255, 255, 0.1);\n --default-theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --default-theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --default-theme-lifted-brightness: 1.45;\n --default-theme-backdrop-brightness: 0.5;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --default-theme-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --default-theme-button-1: #f6f6f6;\n --default-theme-button-1-color: #000;\n --default-theme-button-1-hover: #e7e7e7;\n\n --default-theme-color-green: #00b648;\n --default-theme-color-red: #dc1b19;\n --default-theme-color-yellow: #ffc90d;\n --default-theme-color-blue: #4eb3ec;\n --default-theme-color-orange: #ff8d4d;\n --default-theme-color-purple: #b191f9;\n\n --default-theme-code-languages-background-supersede: var(\n --default-theme-background-3\n );\n --default-theme-code-language-color-supersede: var(--default-theme-color-1);\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-2);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: var(--default-theme-border-color);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-sidebar-background-1);\n --default-sidebar-search-background: var(--default-theme-background-3);\n --default-sidebar-search-border-color: var(\n --default-sidebar-search-background\n );\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n\n.dark-mode .sidebar {\n --default-sidebar-background-1: var(--default-theme-background-1);\n --default-sidebar-item-hover-color: currentColor;\n --default-sidebar-item-hover-background: var(--default-theme-background-2);\n --default-sidebar-item-active-background: var(\n --default-theme-background-accent\n );\n --default-sidebar-border-color: var(--default-theme-border-color);\n --default-sidebar-color-1: var(--default-theme-color-1);\n --default-sidebar-color-2: var(--default-theme-color-2);\n --default-sidebar-color-active: var(--default-sidebar-background-1);\n --default-sidebar-search-background: var(--default-theme-background-3);\n --default-sidebar-search-border-color: var(\n --default-sidebar-search-background\n );\n --default-sidebar-search--color: var(--default-theme-color-3);\n}\n";
@@ -97152,7 +97414,7 @@ Parsed value is empty`));
97152
97414
  }
97153
97415
  }
97154
97416
  const own$3 = {}.hasOwnProperty;
97155
- function create$b(definition2) {
97417
+ function create$a(definition2) {
97156
97418
  const property2 = {};
97157
97419
  const normal = {};
97158
97420
  let prop;
@@ -97175,7 +97437,7 @@ Parsed value is empty`));
97175
97437
  }
97176
97438
  return new Schema$1(property2, normal, definition2.space);
97177
97439
  }
97178
- const xlink = create$b({
97440
+ const xlink = create$a({
97179
97441
  space: "xlink",
97180
97442
  transform(_2, prop) {
97181
97443
  return "xlink:" + prop.slice(5).toLowerCase();
@@ -97190,7 +97452,7 @@ Parsed value is empty`));
97190
97452
  xLinkType: null
97191
97453
  }
97192
97454
  });
97193
- const xml = create$b({
97455
+ const xml = create$a({
97194
97456
  space: "xml",
97195
97457
  transform(_2, prop) {
97196
97458
  return "xml:" + prop.slice(3).toLowerCase();
@@ -97203,13 +97465,13 @@ Parsed value is empty`));
97203
97465
  function caseInsensitiveTransform(attributes, property2) {
97204
97466
  return caseSensitiveTransform(attributes, property2.toLowerCase());
97205
97467
  }
97206
- const xmlns = create$b({
97468
+ const xmlns = create$a({
97207
97469
  space: "xmlns",
97208
97470
  attributes: { xmlnsxlink: "xmlns:xlink" },
97209
97471
  transform: caseInsensitiveTransform,
97210
97472
  properties: { xmlns: null, xmlnsXLink: null }
97211
97473
  });
97212
- const aria = create$b({
97474
+ const aria = create$a({
97213
97475
  transform(_2, prop) {
97214
97476
  return prop === "role" ? prop : "aria-" + prop.slice(4).toLowerCase();
97215
97477
  },
@@ -97265,7 +97527,7 @@ Parsed value is empty`));
97265
97527
  role: null
97266
97528
  }
97267
97529
  });
97268
- const html$4 = create$b({
97530
+ const html$4 = create$a({
97269
97531
  space: "html",
97270
97532
  attributes: {
97271
97533
  acceptcharset: "accept-charset",
@@ -97622,7 +97884,7 @@ Parsed value is empty`));
97622
97884
  unselectable: null
97623
97885
  }
97624
97886
  });
97625
- const svg$1 = create$b({
97887
+ const svg$1 = create$a({
97626
97888
  space: "svg",
97627
97889
  attributes: {
97628
97890
  accentHeight: "accent-height",
@@ -118982,12 +119244,12 @@ If you don't need every "time_period" between your dates you may adjust the freq
118982
119244
  const BIT8$2 = 128;
118983
119245
  const BITS7$2 = 127;
118984
119246
  const floor$2 = Math.floor;
118985
- const min$3 = (a2, b2) => a2 < b2 ? a2 : b2;
118986
- const max$3 = (a2, b2) => a2 > b2 ? a2 : b2;
119247
+ const min$2 = (a2, b2) => a2 < b2 ? a2 : b2;
119248
+ const max$2 = (a2, b2) => a2 > b2 ? a2 : b2;
118987
119249
  const MAX_SAFE_INTEGER$2 = Number.MAX_SAFE_INTEGER;
118988
- const create$a = (s2) => new Error(s2);
118989
- const errorUnexpectedEndOfArray$2 = create$a("Unexpected end of array");
118990
- const errorIntegerOutOfRange$2 = create$a("Integer out of Range");
119250
+ const create$9 = (s2) => new Error(s2);
119251
+ const errorUnexpectedEndOfArray$2 = create$9("Unexpected end of array");
119252
+ const errorIntegerOutOfRange$2 = create$9("Integer out of Range");
118991
119253
  const readUint8Array$2 = (decoder, len2) => {
118992
119254
  const view = createUint8ArrayViewFromArrayBuffer$2(decoder.arr.buffer, decoder.pos + decoder.arr.byteOffset, len2);
118993
119255
  decoder.pos += len2;
@@ -119090,13 +119352,13 @@ If you don't need every "time_period" between your dates you may adjust the freq
119090
119352
  const writeUint8Array$2 = (encoder, uint8Array) => {
119091
119353
  const bufferLen = encoder.cbuf.length;
119092
119354
  const cpos = encoder.cpos;
119093
- const leftCopyLen = min$3(bufferLen - cpos, uint8Array.length);
119355
+ const leftCopyLen = min$2(bufferLen - cpos, uint8Array.length);
119094
119356
  const rightCopyLen = uint8Array.length - leftCopyLen;
119095
119357
  encoder.cbuf.set(uint8Array.subarray(0, leftCopyLen), cpos);
119096
119358
  encoder.cpos += leftCopyLen;
119097
119359
  if (rightCopyLen > 0) {
119098
119360
  encoder.bufs.push(encoder.cbuf);
119099
- encoder.cbuf = new Uint8Array(max$3(bufferLen * 2, rightCopyLen));
119361
+ encoder.cbuf = new Uint8Array(max$2(bufferLen * 2, rightCopyLen));
119100
119362
  encoder.cbuf.set(uint8Array.subarray(leftCopyLen));
119101
119363
  encoder.cpos = rightCopyLen;
119102
119364
  }
@@ -119154,9 +119416,9 @@ If you don't need every "time_period" between your dates you may adjust the freq
119154
119416
  WsReadyStates2[WsReadyStates2["Closing"] = 2] = "Closing";
119155
119417
  WsReadyStates2[WsReadyStates2["Closed"] = 3] = "Closed";
119156
119418
  })(WsReadyStates || (WsReadyStates = {}));
119157
- const create$9 = () => /* @__PURE__ */ new Map();
119419
+ const create$8 = () => /* @__PURE__ */ new Map();
119158
119420
  const copy$1 = (m2) => {
119159
- const r2 = create$9();
119421
+ const r2 = create$8();
119160
119422
  m2.forEach((v2, k2) => {
119161
119423
  r2.set(k2, v2);
119162
119424
  });
@@ -119184,7 +119446,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
119184
119446
  }
119185
119447
  return false;
119186
119448
  };
119187
- const create$8 = () => /* @__PURE__ */ new Set();
119449
+ const create$7 = () => /* @__PURE__ */ new Set();
119188
119450
  const last = (arr) => arr[arr.length - 1];
119189
119451
  const appendTo = (dest, src2) => {
119190
119452
  for (let i2 = 0; i2 < src2.length; i2++) {
@@ -119203,14 +119465,14 @@ If you don't need every "time_period" between your dates you may adjust the freq
119203
119465
  const isArray$1 = Array.isArray;
119204
119466
  let Observable$1 = class Observable {
119205
119467
  constructor() {
119206
- this._observers = create$9();
119468
+ this._observers = create$8();
119207
119469
  }
119208
119470
  /**
119209
119471
  * @param {N} name
119210
119472
  * @param {function} f
119211
119473
  */
119212
119474
  on(name2, f2) {
119213
- setIfUndefined$1(this._observers, name2, create$8).add(f2);
119475
+ setIfUndefined$1(this._observers, name2, create$7).add(f2);
119214
119476
  }
119215
119477
  /**
119216
119478
  * @param {N} name
@@ -119246,16 +119508,16 @@ If you don't need every "time_period" between your dates you may adjust the freq
119246
119508
  * @param {Array<any>} args The arguments that are applied to the event listener.
119247
119509
  */
119248
119510
  emit(name2, args) {
119249
- return from$1((this._observers.get(name2) || create$9()).values()).forEach((f2) => f2(...args));
119511
+ return from$1((this._observers.get(name2) || create$8()).values()).forEach((f2) => f2(...args));
119250
119512
  }
119251
119513
  destroy() {
119252
- this._observers = create$9();
119514
+ this._observers = create$8();
119253
119515
  }
119254
119516
  };
119255
119517
  const floor$1 = Math.floor;
119256
119518
  const abs = Math.abs;
119257
- const min$2 = (a2, b2) => a2 < b2 ? a2 : b2;
119258
- const max$2 = (a2, b2) => a2 > b2 ? a2 : b2;
119519
+ const min$1 = (a2, b2) => a2 < b2 ? a2 : b2;
119520
+ const max$1 = (a2, b2) => a2 > b2 ? a2 : b2;
119259
119521
  const isNegativeZero = (n2) => n2 !== 0 ? n2 < 0 : 1 / n2 < 0;
119260
119522
  const toLowerCase$1 = (s2) => s2.toLowerCase();
119261
119523
  const trimLeftRegex$1 = /^\s*/g;
@@ -119353,7 +119615,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
119353
119615
  const computeParams$1 = () => {
119354
119616
  if (params$2 === void 0) {
119355
119617
  if (isNode$1) {
119356
- params$2 = create$9();
119618
+ params$2 = create$8();
119357
119619
  const pargs = dist$2.process.argv;
119358
119620
  let currParamName = null;
119359
119621
  for (let i2 = 0; i2 < pargs.length; i2++) {
@@ -119374,7 +119636,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
119374
119636
  params$2.set(currParamName, "");
119375
119637
  }
119376
119638
  } else if (typeof location === "object") {
119377
- params$2 = create$9();
119639
+ params$2 = create$8();
119378
119640
  (location.search || "?").slice(1).split("&").forEach((kv) => {
119379
119641
  if (kv.length !== 0) {
119380
119642
  const [key2, value] = kv.split("=");
@@ -119383,7 +119645,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
119383
119645
  }
119384
119646
  });
119385
119647
  } else {
119386
- params$2 = create$9();
119648
+ params$2 = create$8();
119387
119649
  }
119388
119650
  }
119389
119651
  return params$2;
@@ -119407,15 +119669,15 @@ If you don't need every "time_period" between your dates you may adjust the freq
119407
119669
  const BITS31 = 2147483647;
119408
119670
  const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER;
119409
119671
  const isInteger = Number.isInteger || ((num) => typeof num === "number" && isFinite(num) && floor$1(num) === num);
119410
- const create$7 = (s2) => new Error(s2);
119672
+ const create$6 = (s2) => new Error(s2);
119411
119673
  const methodUnimplemented = () => {
119412
- throw create$7("Method unimplemented");
119674
+ throw create$6("Method unimplemented");
119413
119675
  };
119414
119676
  const unexpectedCase = () => {
119415
- throw create$7("Unexpected case");
119677
+ throw create$6("Unexpected case");
119416
119678
  };
119417
- const errorUnexpectedEndOfArray$1 = create$7("Unexpected end of array");
119418
- const errorIntegerOutOfRange$1 = create$7("Integer out of Range");
119679
+ const errorUnexpectedEndOfArray$1 = create$6("Unexpected end of array");
119680
+ const errorIntegerOutOfRange$1 = create$6("Integer out of Range");
119419
119681
  let Decoder$1 = class Decoder {
119420
119682
  /**
119421
119683
  * @param {Uint8Array} uint8Array Binary data to decode
@@ -119692,7 +119954,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
119692
119954
  const bufferLen = encoder.cbuf.length;
119693
119955
  if (bufferLen - encoder.cpos < len2) {
119694
119956
  encoder.bufs.push(createUint8ArrayViewFromArrayBuffer$1(encoder.cbuf.buffer, 0, encoder.cpos));
119695
- encoder.cbuf = new Uint8Array(max$2(bufferLen, len2) * 2);
119957
+ encoder.cbuf = new Uint8Array(max$1(bufferLen, len2) * 2);
119696
119958
  encoder.cpos = 0;
119697
119959
  }
119698
119960
  };
@@ -119755,13 +120017,13 @@ If you don't need every "time_period" between your dates you may adjust the freq
119755
120017
  const writeUint8Array$1 = (encoder, uint8Array) => {
119756
120018
  const bufferLen = encoder.cbuf.length;
119757
120019
  const cpos = encoder.cpos;
119758
- const leftCopyLen = min$2(bufferLen - cpos, uint8Array.length);
120020
+ const leftCopyLen = min$1(bufferLen - cpos, uint8Array.length);
119759
120021
  const rightCopyLen = uint8Array.length - leftCopyLen;
119760
120022
  encoder.cbuf.set(uint8Array.subarray(0, leftCopyLen), cpos);
119761
120023
  encoder.cpos += leftCopyLen;
119762
120024
  if (rightCopyLen > 0) {
119763
120025
  encoder.bufs.push(encoder.cbuf);
119764
- encoder.cbuf = new Uint8Array(max$2(bufferLen * 2, rightCopyLen));
120026
+ encoder.cbuf = new Uint8Array(max$1(bufferLen * 2, rightCopyLen));
119765
120027
  encoder.cbuf.set(uint8Array.subarray(leftCopyLen));
119766
120028
  encoder.cpos = rightCopyLen;
119767
120029
  }
@@ -119966,12 +120228,12 @@ If you don't need every "time_period" between your dates you may adjust the freq
119966
120228
  (c2) => (c2 ^ uint32() & 15 >> c2 / 4).toString(16)
119967
120229
  );
119968
120230
  const getUnixTime$1 = Date.now;
119969
- const create$6 = (f2) => (
120231
+ const create$5 = (f2) => (
119970
120232
  /** @type {Promise<T>} */
119971
120233
  new Promise(f2)
119972
120234
  );
119973
120235
  Promise.all.bind(Promise);
119974
- let Pair$1 = class Pair {
120236
+ class Pair {
119975
120237
  /**
119976
120238
  * @param {L} left
119977
120239
  * @param {R} right
@@ -119980,20 +120242,61 @@ If you don't need every "time_period" between your dates you may adjust the freq
119980
120242
  this.left = left;
119981
120243
  this.right = right;
119982
120244
  }
119983
- };
119984
- const create$5 = (left, right) => new Pair$1(left, right);
120245
+ }
120246
+ const create$4 = (left, right) => new Pair(left, right);
120247
+ const forEach = (arr, f2) => arr.forEach((p2) => f2(p2.left, p2.right));
120248
+ const doc = (
120249
+ /** @type {Document} */
120250
+ typeof document !== "undefined" ? document : {}
120251
+ );
120252
+ const createElement = (name2) => doc.createElement(name2);
120253
+ const createDocumentFragment = () => doc.createDocumentFragment();
120254
+ const createTextNode = (text2) => doc.createTextNode(text2);
119985
120255
  typeof DOMParser !== "undefined" ? new DOMParser() : null;
120256
+ const setAttributes = (el, attrs) => {
120257
+ forEach(attrs, (key2, value) => {
120258
+ if (value === false) {
120259
+ el.removeAttribute(key2);
120260
+ } else if (value === true) {
120261
+ el.setAttribute(key2, "");
120262
+ } else {
120263
+ el.setAttribute(key2, value);
120264
+ }
120265
+ });
120266
+ return el;
120267
+ };
120268
+ const fragment = (children2) => {
120269
+ const fragment2 = createDocumentFragment();
120270
+ for (let i2 = 0; i2 < children2.length; i2++) {
120271
+ appendChild(fragment2, children2[i2]);
120272
+ }
120273
+ return fragment2;
120274
+ };
120275
+ const append = (parent, nodes) => {
120276
+ appendChild(parent, fragment(nodes));
120277
+ return parent;
120278
+ };
120279
+ const element = (name2, attrs = [], children2 = []) => append(setAttributes(createElement(name2), attrs), children2);
120280
+ const text = createTextNode;
119986
120281
  const mapToStyleString = (m2) => map$1(m2, (value, key2) => `${key2}:${value};`).join("");
119987
- const create$4 = Symbol;
119988
- const BOLD = create$4();
119989
- const UNBOLD = create$4();
119990
- const BLUE = create$4();
119991
- const GREY = create$4();
119992
- const GREEN = create$4();
119993
- const RED = create$4();
119994
- const PURPLE = create$4();
119995
- const ORANGE = create$4();
119996
- const UNCOLOR = create$4();
120282
+ const appendChild = (parent, child) => parent.appendChild(child);
120283
+ doc.ELEMENT_NODE;
120284
+ doc.TEXT_NODE;
120285
+ doc.CDATA_SECTION_NODE;
120286
+ doc.COMMENT_NODE;
120287
+ doc.DOCUMENT_NODE;
120288
+ doc.DOCUMENT_TYPE_NODE;
120289
+ doc.DOCUMENT_FRAGMENT_NODE;
120290
+ const create$3 = Symbol;
120291
+ const BOLD = create$3();
120292
+ const UNBOLD = create$3();
120293
+ const BLUE = create$3();
120294
+ const GREY = create$3();
120295
+ const GREEN = create$3();
120296
+ const RED = create$3();
120297
+ const PURPLE = create$3();
120298
+ const ORANGE = create$3();
120299
+ const UNCOLOR = create$3();
119997
120300
  const computeNoColorLoggingArgs = (args) => {
119998
120301
  const logArgs = [];
119999
120302
  let i2 = 0;
@@ -120008,21 +120311,21 @@ If you don't need every "time_period" between your dates you may adjust the freq
120008
120311
  return logArgs;
120009
120312
  };
120010
120313
  const _browserStyleMap = {
120011
- [BOLD]: create$5("font-weight", "bold"),
120012
- [UNBOLD]: create$5("font-weight", "normal"),
120013
- [BLUE]: create$5("color", "blue"),
120014
- [GREEN]: create$5("color", "green"),
120015
- [GREY]: create$5("color", "grey"),
120016
- [RED]: create$5("color", "red"),
120017
- [PURPLE]: create$5("color", "purple"),
120018
- [ORANGE]: create$5("color", "orange"),
120314
+ [BOLD]: create$4("font-weight", "bold"),
120315
+ [UNBOLD]: create$4("font-weight", "normal"),
120316
+ [BLUE]: create$4("color", "blue"),
120317
+ [GREEN]: create$4("color", "green"),
120318
+ [GREY]: create$4("color", "grey"),
120319
+ [RED]: create$4("color", "red"),
120320
+ [PURPLE]: create$4("color", "purple"),
120321
+ [ORANGE]: create$4("color", "orange"),
120019
120322
  // not well supported in chrome when debugging node with inspector - TODO: deprecate
120020
- [UNCOLOR]: create$5("color", "black")
120323
+ [UNCOLOR]: create$4("color", "black")
120021
120324
  };
120022
120325
  const computeBrowserLoggingArgs = (args) => {
120023
120326
  const strBuilder = [];
120024
120327
  const styles = [];
120025
- const currentStyle = create$9();
120328
+ const currentStyle = create$8();
120026
120329
  let logArgs = [];
120027
120330
  let i2 = 0;
120028
120331
  for (; i2 < args.length; i2++) {
@@ -120066,7 +120369,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
120066
120369
  args.unshift(ORANGE);
120067
120370
  vconsoles.forEach((vc) => vc.print(args));
120068
120371
  };
120069
- const vconsoles = create$8();
120372
+ const vconsoles = create$7();
120070
120373
  const createIterator = (next2) => ({
120071
120374
  /**
120072
120375
  * @return {IterableIterator<T>}
@@ -120143,7 +120446,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
120143
120446
  const left = dels[j2 - 1];
120144
120447
  const right = dels[i2];
120145
120448
  if (left.clock + left.len >= right.clock) {
120146
- left.len = max$2(left.len, right.clock + right.len - left.clock);
120449
+ left.len = max$1(left.len, right.clock + right.len - left.clock);
120147
120450
  } else {
120148
120451
  if (j2 < i2) {
120149
120452
  dels[j2] = right;
@@ -120304,13 +120607,13 @@ If you don't need every "time_period" between your dates you may adjust the freq
120304
120607
  this.meta = meta2;
120305
120608
  this.isLoaded = false;
120306
120609
  this.isSynced = false;
120307
- this.whenLoaded = create$6((resolve2) => {
120610
+ this.whenLoaded = create$5((resolve2) => {
120308
120611
  this.on("load", () => {
120309
120612
  this.isLoaded = true;
120310
120613
  resolve2(this);
120311
120614
  });
120312
120615
  });
120313
- const provideSyncedPromise = () => create$6((resolve2) => {
120616
+ const provideSyncedPromise = () => create$5((resolve2) => {
120314
120617
  const eventHandler = (isSynced) => {
120315
120618
  if (isSynced === void 0 || isSynced === true) {
120316
120619
  this.off("sync", eventHandler);
@@ -121023,7 +121326,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
121023
121326
  }
121024
121327
  }
121025
121328
  const writeStructs = (encoder, structs, client, clock) => {
121026
- clock = max$2(clock, structs[0].id.clock);
121329
+ clock = max$1(clock, structs[0].id.clock);
121027
121330
  const startNewStructs = findIndexSS(structs, clock);
121028
121331
  writeVarUint$1(encoder.restEncoder, structs.length - startNewStructs);
121029
121332
  encoder.writeClient(client);
@@ -121058,7 +121361,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
121058
121361
  });
121059
121362
  };
121060
121363
  const readClientsStructRefs = (decoder, doc2) => {
121061
- const clientRefs = create$9();
121364
+ const clientRefs = create$8();
121062
121365
  const numOfStateUpdates = readVarUint$1(decoder.restDecoder);
121063
121366
  for (let i2 = 0; i2 < numOfStateUpdates; i2++) {
121064
121367
  const numberOfStructs = readVarUint$1(decoder.restDecoder);
@@ -121513,7 +121816,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
121513
121816
  const compareRelativePositions = (a2, b2) => a2 === b2 || a2 !== null && b2 !== null && a2.tname === b2.tname && compareIDs(a2.item, b2.item) && compareIDs(a2.type, b2.type) && a2.assoc === b2.assoc;
121514
121817
  const isVisible = (item, snapshot) => snapshot === void 0 ? !item.deleted : snapshot.sv.has(item.id.client) && (snapshot.sv.get(item.id.client) || 0) > item.id.clock && !isDeleted(snapshot.ds, item.id);
121515
121818
  const splitSnapshotAffectedStructs = (transaction, snapshot) => {
121516
- const meta2 = setIfUndefined$1(transaction.meta, splitSnapshotAffectedStructs, create$8);
121819
+ const meta2 = setIfUndefined$1(transaction.meta, splitSnapshotAffectedStructs, create$7);
121517
121820
  const store = transaction.doc.store;
121518
121821
  if (!meta2.has(snapshot)) {
121519
121822
  snapshot.sv.forEach((clock, client) => {
@@ -121676,7 +121979,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
121676
121979
  const addChangedTypeToTransaction = (transaction, type2, parentSub) => {
121677
121980
  const item = type2._item;
121678
121981
  if (item === null || item.id.clock < (transaction.beforeState.get(item.id.client) || 0) && !item.deleted) {
121679
- setIfUndefined$1(transaction.changed, type2, create$8).add(parentSub);
121982
+ setIfUndefined$1(transaction.changed, type2, create$7).add(parentSub);
121680
121983
  }
121681
121984
  };
121682
121985
  const tryToMergeWithLefts = (structs, pos) => {
@@ -121734,7 +122037,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
121734
122037
  );
121735
122038
  for (let di = deleteItems.length - 1; di >= 0; di--) {
121736
122039
  const deleteItem = deleteItems[di];
121737
- const mostRightIndexToCheck = min$2(structs.length - 1, 1 + findIndexSS(structs, deleteItem.clock + deleteItem.len - 1));
122040
+ const mostRightIndexToCheck = min$1(structs.length - 1, 1 + findIndexSS(structs, deleteItem.clock + deleteItem.len - 1));
121738
122041
  for (let si = mostRightIndexToCheck, struct = structs[si]; si > 0 && struct.id.clock >= deleteItem.clock; struct = structs[si]) {
121739
122042
  si -= 1 + tryToMergeWithLefts(structs, si);
121740
122043
  }
@@ -121792,7 +122095,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
121792
122095
  /** @type {Array<GC|Item>} */
121793
122096
  store.clients.get(client)
121794
122097
  );
121795
- const firstChangePos = max$2(findIndexSS(structs, beforeClock), 1);
122098
+ const firstChangePos = max$1(findIndexSS(structs, beforeClock), 1);
121796
122099
  for (let i3 = structs.length - 1; i3 >= firstChangePos; ) {
121797
122100
  i3 -= 1 + tryToMergeWithLefts(structs, i3);
121798
122101
  }
@@ -122385,7 +122688,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
122385
122688
  continue;
122386
122689
  }
122387
122690
  if (curr.id.clock + curr.length > svClock) {
122388
- writeStructToLazyStructWriter(lazyStructWriter, curr, max$2(svClock - curr.id.clock, 0));
122691
+ writeStructToLazyStructWriter(lazyStructWriter, curr, max$1(svClock - curr.id.clock, 0));
122389
122692
  reader.next();
122390
122693
  while (reader.curr && reader.curr.id.client === currClient) {
122391
122694
  writeStructToLazyStructWriter(lazyStructWriter, reader.curr, 0);
@@ -122493,7 +122796,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
122493
122796
  get keys() {
122494
122797
  if (this._keys === null) {
122495
122798
  if (this.transaction.doc._transactionCleanups.length === 0) {
122496
- throw create$7(errorComputeChanges);
122799
+ throw create$6(errorComputeChanges);
122497
122800
  }
122498
122801
  const keys2 = /* @__PURE__ */ new Map();
122499
122802
  const target = this.target;
@@ -122582,11 +122885,11 @@ If you don't need every "time_period" between your dates you may adjust the freq
122582
122885
  let changes = this._changes;
122583
122886
  if (changes === null) {
122584
122887
  if (this.transaction.doc._transactionCleanups.length === 0) {
122585
- throw create$7(errorComputeChanges);
122888
+ throw create$6(errorComputeChanges);
122586
122889
  }
122587
122890
  const target = this.target;
122588
- const added = create$8();
122589
- const deleted = create$8();
122891
+ const added = create$7();
122892
+ const deleted = create$7();
122590
122893
  const delta = [];
122591
122894
  changes = {
122592
122895
  added,
@@ -122764,7 +123067,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
122764
123067
  p2.marker = true;
122765
123068
  }
122766
123069
  if (index2 < m2.index || len2 > 0 && index2 === m2.index) {
122767
- m2.index = max$2(index2, m2.index + len2);
123070
+ m2.index = max$1(index2, m2.index + len2);
122768
123071
  }
122769
123072
  }
122770
123073
  };
@@ -123061,7 +123364,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
123061
123364
  });
123062
123365
  packJsonContent();
123063
123366
  };
123064
- const lengthExceeded = () => create$7("Length exceeded!");
123367
+ const lengthExceeded = () => create$6("Length exceeded!");
123065
123368
  const typeListInsertGenerics = (transaction, parent, index2, content2) => {
123066
123369
  if (index2 > parent._length) {
123067
123370
  throw lengthExceeded();
@@ -123902,7 +124205,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
123902
124205
  };
123903
124206
  const cleanupFormattingGap = (transaction, start2, curr, startAttributes, currAttributes) => {
123904
124207
  let end = start2;
123905
- const endFormats = create$9();
124208
+ const endFormats = create$8();
123906
124209
  while (end && (!end.countable || end.deleted)) {
123907
124210
  if (!end.deleted && end.content.constructor === ContentFormat) {
123908
124211
  const cf = (
@@ -123986,7 +124289,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
123986
124289
  type2._start
123987
124290
  );
123988
124291
  let end = type2._start;
123989
- let startAttributes = create$9();
124292
+ let startAttributes = create$8();
123990
124293
  const currentAttributes = copy$1(startAttributes);
123991
124294
  while (end) {
123992
124295
  if (end.deleted === false) {
@@ -124974,7 +125277,7 @@ If you don't need every "time_period" between your dates you may adjust the freq
124974
125277
  );
124975
125278
  const index2 = ref2 === null ? 0 : pc.findIndex((el) => el === ref2) + 1;
124976
125279
  if (index2 === 0 && ref2 !== null) {
124977
- throw create$7("Reference item not found");
125280
+ throw create$6("Reference item not found");
124978
125281
  }
124979
125282
  pc.splice(index2, 0, ...content2);
124980
125283
  }
@@ -127300,8 +127603,8 @@ If you don't need every "time_period" between your dates you may adjust the freq
127300
127603
  const forceColor = isNode && isOneOf(dist$2.process.env.FORCE_COLOR, ["true", "1", "2"]);
127301
127604
  !hasParam("no-colors") && (!isNode || dist$2.process.stdout.isTTY || forceColor) && (!isNode || hasParam("color") || forceColor || getVariable("COLORTERM") !== null || (getVariable("TERM") || "").includes("color"));
127302
127605
  const floor = Math.floor;
127303
- const min$1 = (a2, b2) => a2 < b2 ? a2 : b2;
127304
- const max$1 = (a2, b2) => a2 > b2 ? a2 : b2;
127606
+ const min = (a2, b2) => a2 < b2 ? a2 : b2;
127607
+ const max = (a2, b2) => a2 > b2 ? a2 : b2;
127305
127608
  const BIT7 = 64;
127306
127609
  const BIT8 = 128;
127307
127610
  const BITS6 = 63;
@@ -127379,13 +127682,13 @@ If you don't need every "time_period" between your dates you may adjust the freq
127379
127682
  const writeUint8Array = (encoder, uint8Array) => {
127380
127683
  const bufferLen = encoder.cbuf.length;
127381
127684
  const cpos = encoder.cpos;
127382
- const leftCopyLen = min$1(bufferLen - cpos, uint8Array.length);
127685
+ const leftCopyLen = min(bufferLen - cpos, uint8Array.length);
127383
127686
  const rightCopyLen = uint8Array.length - leftCopyLen;
127384
127687
  encoder.cbuf.set(uint8Array.subarray(0, leftCopyLen), cpos);
127385
127688
  encoder.cpos += leftCopyLen;
127386
127689
  if (rightCopyLen > 0) {
127387
127690
  encoder.bufs.push(encoder.cbuf);
127388
- encoder.cbuf = new Uint8Array(max$1(bufferLen * 2, rightCopyLen));
127691
+ encoder.cbuf = new Uint8Array(max(bufferLen * 2, rightCopyLen));
127389
127692
  encoder.cbuf.set(uint8Array.subarray(leftCopyLen));
127390
127693
  encoder.cpos = rightCopyLen;
127391
127694
  }
@@ -127394,9 +127697,9 @@ If you don't need every "time_period" between your dates you may adjust the freq
127394
127697
  writeVarUint(encoder, uint8Array.byteLength);
127395
127698
  writeUint8Array(encoder, uint8Array);
127396
127699
  };
127397
- const create$3 = (s2) => new Error(s2);
127398
- const errorUnexpectedEndOfArray = create$3("Unexpected end of array");
127399
- const errorIntegerOutOfRange = create$3("Integer out of Range");
127700
+ const create = (s2) => new Error(s2);
127701
+ const errorUnexpectedEndOfArray = create("Unexpected end of array");
127702
+ const errorIntegerOutOfRange = create("Integer out of Range");
127400
127703
  class Decoder {
127401
127704
  /**
127402
127705
  * @param {Uint8Array} uint8Array Binary data to decode
@@ -129034,61 +129337,6 @@ If you don't need every "time_period" between your dates you may adjust the freq
129034
129337
  }
129035
129338
  }
129036
129339
  const ySync = ViewPlugin.fromClass(YSyncPluginValue);
129037
- class Pair {
129038
- /**
129039
- * @param {L} left
129040
- * @param {R} right
129041
- */
129042
- constructor(left, right) {
129043
- this.left = left;
129044
- this.right = right;
129045
- }
129046
- }
129047
- const create = (left, right) => new Pair(left, right);
129048
- const forEach = (arr, f2) => arr.forEach((p2) => f2(p2.left, p2.right));
129049
- const doc = (
129050
- /** @type {Document} */
129051
- typeof document !== "undefined" ? document : {}
129052
- );
129053
- const createElement = (name2) => doc.createElement(name2);
129054
- const createDocumentFragment = () => doc.createDocumentFragment();
129055
- const createTextNode = (text2) => doc.createTextNode(text2);
129056
- typeof DOMParser !== "undefined" ? new DOMParser() : null;
129057
- const setAttributes = (el, attrs) => {
129058
- forEach(attrs, (key2, value) => {
129059
- if (value === false) {
129060
- el.removeAttribute(key2);
129061
- } else if (value === true) {
129062
- el.setAttribute(key2, "");
129063
- } else {
129064
- el.setAttribute(key2, value);
129065
- }
129066
- });
129067
- return el;
129068
- };
129069
- const fragment = (children2) => {
129070
- const fragment2 = createDocumentFragment();
129071
- for (let i2 = 0; i2 < children2.length; i2++) {
129072
- appendChild(fragment2, children2[i2]);
129073
- }
129074
- return fragment2;
129075
- };
129076
- const append = (parent, nodes) => {
129077
- appendChild(parent, fragment(nodes));
129078
- return parent;
129079
- };
129080
- const element = (name2, attrs = [], children2 = []) => append(setAttributes(createElement(name2), attrs), children2);
129081
- const text = createTextNode;
129082
- const appendChild = (parent, child) => parent.appendChild(child);
129083
- doc.ELEMENT_NODE;
129084
- doc.TEXT_NODE;
129085
- doc.CDATA_SECTION_NODE;
129086
- doc.COMMENT_NODE;
129087
- doc.DOCUMENT_NODE;
129088
- doc.DOCUMENT_TYPE_NODE;
129089
- doc.DOCUMENT_FRAGMENT_NODE;
129090
- const min = (a2, b2) => a2 < b2 ? a2 : b2;
129091
- const max = (a2, b2) => a2 > b2 ? a2 : b2;
129092
129340
  const yRemoteSelectionsTheme = EditorView.baseTheme({
129093
129341
  ".cm-ySelection": {},
129094
129342
  ".cm-yLineSelection": {
@@ -129159,14 +129407,14 @@ If you don't need every "time_period" between your dates you may adjust the freq
129159
129407
  toDOM() {
129160
129408
  return (
129161
129409
  /** @type {HTMLElement} */
129162
- element("span", [create("class", "cm-ySelectionCaret"), create("style", `background-color: ${this.color}; border-color: ${this.color}`)], [
129410
+ element("span", [create$4("class", "cm-ySelectionCaret"), create$4("style", `background-color: ${this.color}; border-color: ${this.color}`)], [
129163
129411
  text("⁠"),
129164
129412
  element("div", [
129165
- create("class", "cm-ySelectionCaretDot")
129413
+ create$4("class", "cm-ySelectionCaretDot")
129166
129414
  ]),
129167
129415
  text("⁠"),
129168
129416
  element("div", [
129169
- create("class", "cm-ySelectionInfo")
129417
+ create$4("class", "cm-ySelectionInfo")
129170
129418
  ], [
129171
129419
  text(this.name)
129172
129420
  ]),
@@ -129254,8 +129502,8 @@ If you don't need every "time_period" between your dates you may adjust the freq
129254
129502
  }
129255
129503
  const { color: color2 = "#30bced", name: name2 = "Anonymous" } = state2.user || {};
129256
129504
  const colorLight = state2.user && state2.user.colorLight || color2 + "33";
129257
- const start2 = min(anchor.index, head2.index);
129258
- const end = max(anchor.index, head2.index);
129505
+ const start2 = min$1(anchor.index, head2.index);
129506
+ const end = max$1(anchor.index, head2.index);
129259
129507
  const startLine = update.view.state.doc.lineAt(start2);
129260
129508
  const endLine = update.view.state.doc.lineAt(end);
129261
129509
  if (startLine.number === endLine.number) {
@@ -138783,13 +139031,14 @@ ${closingBraceIndent}]`;
138783
139031
  configuration: {}
138784
139032
  },
138785
139033
  setup(__props) {
139034
+ var _a3;
138786
139035
  const props = __props;
138787
139036
  const showMobileDrawer = ref$2(false);
138788
139037
  const isMobile = useMediaQuery("(max-width: 1000px)");
138789
139038
  const content2 = ref$2("");
138790
139039
  const config2 = computed(() => {
138791
- var _a3, _b2;
138792
- const showSidebar = isMobile.value ? showMobileDrawer.value : (_a3 = props.configuration) == null ? void 0 : _a3.showSidebar;
139040
+ var _a4, _b2;
139041
+ const showSidebar = isMobile.value ? showMobileDrawer.value : (_a4 = props.configuration) == null ? void 0 : _a4.showSidebar;
138793
139042
  const spec2 = ((_b2 = props.configuration) == null ? void 0 : _b2.spec) || {
138794
139043
  content: content2.value
138795
139044
  };
@@ -138799,16 +139048,19 @@ ${closingBraceIndent}]`;
138799
139048
  const { configuration, ...other } = props;
138800
139049
  return other;
138801
139050
  });
139051
+ if ((_a3 = config2.value) == null ? void 0 : _a3.metaData) {
139052
+ useSeoMeta(config2.value.metaData);
139053
+ }
138802
139054
  return (_ctx, _cache) => {
138803
139055
  return openBlock(), createBlock(_sfc_main$5, mergeProps(otherProps.value, {
138804
139056
  configuration: config2.value,
138805
139057
  onUpdateContent: _cache[1] || (_cache[1] = ($event) => content2.value = $event)
138806
139058
  }), createSlots({
138807
139059
  "sidebar-start": withCtx(({ spec: spec2 }) => {
138808
- var _a3;
139060
+ var _a4;
138809
139061
  return [
138810
139062
  createVNode(SearchButton, {
138811
- searchHotKey: (_a3 = props.configuration) == null ? void 0 : _a3.searchHotKey,
139063
+ searchHotKey: (_a4 = props.configuration) == null ? void 0 : _a4.searchHotKey,
138812
139064
  spec: spec2
138813
139065
  }, null, 8, ["searchHotKey", "spec"])
138814
139066
  ];