@umbraco-cms/backoffice 16.0.0-rc3 → 16.0.0-rc5

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 (142) hide show
  1. package/dist-cms/apps/backoffice/backoffice.context.js +5 -1
  2. package/dist-cms/apps/backoffice/components/backoffice-main.element.js +3 -1
  3. package/dist-cms/assets/lang/en-us.js +1 -1
  4. package/dist-cms/assets/lang/en-us.ts +1 -1
  5. package/dist-cms/css/uui-css.css +481 -100
  6. package/dist-cms/custom-elements.json +33 -17
  7. package/dist-cms/external/rxjs/index.d.ts +1 -1
  8. package/dist-cms/external/rxjs/index.js +3 -3
  9. package/dist-cms/external/uui/index.js +663 -393
  10. package/dist-cms/libs/context-api/consume/context-consumer.js +1 -2
  11. package/dist-cms/libs/controller-api/controller-host.mixin.js +2 -2
  12. package/dist-cms/libs/extension-api/controller/server-extension-registrator.controller.js +6 -2
  13. package/dist-cms/packages/block/block/context/block-entry.context.js +10 -3
  14. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit.element.js +1 -0
  15. package/dist-cms/packages/block/block-list/components/block-list-entry/block-list-entry.element.js +2 -1
  16. package/dist-cms/packages/content/content/components/property-type-based-property/index.d.ts +2 -0
  17. package/dist-cms/packages/content/content/components/property-type-based-property/index.js +2 -0
  18. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.context-token.d.ts +8 -0
  19. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.context-token.js +7 -0
  20. package/dist-cms/packages/content/content/{content-property.context.d.ts → components/property-type-based-property/property-type-based-property.context.d.ts} +6 -1
  21. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.context.js +19 -0
  22. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.element.d.ts +1 -1
  23. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.element.js +8 -7
  24. package/dist-cms/packages/content/content/global-components/content-workspace-property.element.d.ts +26 -0
  25. package/dist-cms/packages/content/content/global-components/content-workspace-property.element.js +104 -0
  26. package/dist-cms/packages/content/content/global-components/index.d.ts +1 -0
  27. package/dist-cms/packages/content/content/global-components/index.js +1 -0
  28. package/dist-cms/packages/content/content/index.d.ts +1 -2
  29. package/dist-cms/packages/content/content/index.js +1 -2
  30. package/dist-cms/packages/content/content/workspace/content-detail-workspace-base.js +2 -1
  31. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-properties.element.d.ts +1 -3
  32. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-properties.element.js +8 -48
  33. package/dist-cms/packages/content/content/workspace/views/edit/content-editor.element.js +1 -0
  34. package/dist-cms/packages/content/content-type/structure/content-type-property-structure-helper.class.d.ts +1 -0
  35. package/dist-cms/packages/content/content-type/structure/content-type-property-structure-helper.class.js +1 -0
  36. package/dist-cms/packages/content/content-type/structure/content-type-structure-manager.class.d.ts +1 -0
  37. package/dist-cms/packages/content/content-type/structure/content-type-structure-manager.class.js +3 -3
  38. package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor.element.js +11 -7
  39. package/dist-cms/packages/content/property-type/workspace/property-type-workspace.context.js +5 -1
  40. package/dist-cms/packages/core/collection/collection-view.manager.js +4 -4
  41. package/dist-cms/packages/core/collection/components/collection-filter-field.element.js +1 -1
  42. package/dist-cms/packages/core/components/input-number-range/input-number-range.element.d.ts +4 -1
  43. package/dist-cms/packages/core/components/input-number-range/input-number-range.element.js +27 -3
  44. package/dist-cms/packages/core/components/input-with-alias/input-with-alias.element.js +0 -2
  45. package/dist-cms/packages/core/localization/manifests.js +27 -27
  46. package/dist-cms/packages/core/localization/registry/localization.registry.d.ts +2 -1
  47. package/dist-cms/packages/core/localization/registry/localization.registry.js +97 -37
  48. package/dist-cms/packages/core/menu/menu-variant-tree-structure-workspace-context-base.js +2 -2
  49. package/dist-cms/packages/core/package.json +2 -2
  50. package/dist-cms/packages/core/property/components/property/property.element.js +1 -0
  51. package/dist-cms/packages/core/property-editor/extensions/property-editor-ui-element.interface.d.ts +2 -0
  52. package/dist-cms/packages/core/repository/detail/detail-repository-base.js +6 -7
  53. package/dist-cms/packages/core/repository/item/item-repository-base.d.ts +1 -1
  54. package/dist-cms/packages/core/repository/item/item-repository-base.js +25 -9
  55. package/dist-cms/packages/core/repository/item/item-repository.interface.d.ts +1 -1
  56. package/dist-cms/packages/core/router/route/router-slot.element.js +3 -1
  57. package/dist-cms/packages/core/router/router-slot/model.d.ts +1 -0
  58. package/dist-cms/packages/core/router/router-slot/router-slot.d.ts +1 -0
  59. package/dist-cms/packages/core/router/router-slot/router-slot.js +30 -0
  60. package/dist-cms/packages/core/tree/data/tree-repository-base.d.ts +5 -1
  61. package/dist-cms/packages/core/tree/data/tree-repository-base.js +27 -13
  62. package/dist-cms/packages/core/tree/tree-item/tree-item.element.js +1 -1
  63. package/dist-cms/packages/core/validation/controllers/validation.controller.js +1 -1
  64. package/dist-cms/packages/core/workspace/components/workspace-action/common/save/save.action.js +3 -1
  65. package/dist-cms/packages/core/workspace/components/workspace-breadcrumb/workspace-variant-menu-breadcrumb/workspace-variant-menu-breadcrumb.element.js +5 -2
  66. package/dist-cms/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.js +2 -2
  67. package/dist-cms/packages/core/workspace/contexts/tokens/submittable-tree-entity-workspace.context-token.js +1 -1
  68. package/dist-cms/packages/core/workspace/controllers/workspace-is-new-redirect.controller.d.ts +7 -0
  69. package/dist-cms/packages/core/workspace/controllers/workspace-is-new-redirect.controller.js +31 -10
  70. package/dist-cms/packages/core/workspace/controllers/workspace-route-manager.controller.js +5 -5
  71. package/dist-cms/packages/core/workspace/entity-detail/entity-detail-workspace-base.js +1 -1
  72. package/dist-cms/packages/core/workspace/submittable/submittable-workspace-context-base.d.ts +1 -0
  73. package/dist-cms/packages/core/workspace/submittable/submittable-workspace-context-base.js +10 -0
  74. package/dist-cms/packages/data-type/collection/repository/data-type-collection.repository.js +6 -1
  75. package/dist-cms/packages/data-type/repository/detail/data-type-detail.repository.js +6 -1
  76. package/dist-cms/packages/documents/document-blueprints/workspace/document-blueprint-workspace-editor.element.js +5 -4
  77. package/dist-cms/packages/documents/documents/entity-actions/create-blueprint/modal/create-blueprint-modal.element.js +1 -1
  78. package/dist-cms/packages/documents/documents/publishing/workspace-context/document-publishing.workspace-context.js +12 -2
  79. package/dist-cms/packages/documents/documents/tree/document-tree.context.js +2 -2
  80. package/dist-cms/packages/documents/documents/types.d.ts +1 -0
  81. package/dist-cms/packages/documents/documents/url/index.d.ts +1 -0
  82. package/dist-cms/packages/documents/documents/url/index.js +1 -0
  83. package/dist-cms/packages/documents/documents/url/types.d.ts +1 -0
  84. package/dist-cms/packages/documents/documents/url/types.js +1 -0
  85. package/dist-cms/packages/documents/documents/user-permissions/document/conditions/document-user-permission.condition.js +3 -1
  86. package/dist-cms/packages/documents/documents/workspace/actions/save.action.js +4 -2
  87. package/dist-cms/packages/documents/documents/workspace/document-workspace-editor.element.js +13 -7
  88. package/dist-cms/packages/log-viewer/components/log-viewer-date-range-selector.element.d.ts +0 -2
  89. package/dist-cms/packages/log-viewer/components/log-viewer-date-range-selector.element.js +12 -24
  90. package/dist-cms/packages/log-viewer/repository/sources/log-viewer.server.data.js +9 -1
  91. package/dist-cms/packages/log-viewer/workspace/views/search/components/log-viewer-message.element.js +1 -1
  92. package/dist-cms/packages/media/media/dashboard/media-dashboard.element.js +1 -0
  93. package/dist-cms/packages/media/media/modals/media-picker/media-picker-modal.element.js +2 -2
  94. package/dist-cms/packages/media/media/tree/media-tree.context.js +2 -2
  95. package/dist-cms/packages/media/media/workspace/media-workspace-editor.element.js +1 -0
  96. package/dist-cms/packages/members/member/repository/member-repository-base.d.ts +8 -8
  97. package/dist-cms/packages/members/member/repository/member-repository-base.js +13 -12
  98. package/dist-cms/packages/members/member/workspace/member/member-workspace-editor.element.js +1 -0
  99. package/dist-cms/packages/packages/package-section/views/created/created-packages-section-view.element.js +1 -0
  100. package/dist-cms/packages/property-editors/dimensions/property-editor-ui-dimensions.element.js +16 -3
  101. package/dist-cms/packages/segment/package.json +8 -0
  102. package/dist-cms/packages/settings/package.json +8 -0
  103. package/dist-cms/packages/settings/vite.config.d.ts +2 -0
  104. package/dist-cms/packages/settings/vite.config.js +11 -0
  105. package/dist-cms/packages/templating/partial-views/entity-actions/rename/rename-partial-view.server.data-source.js +1 -1
  106. package/dist-cms/packages/templating/partial-views/repository/partial-view-detail.server.data-source.js +3 -3
  107. package/dist-cms/packages/templating/partial-views/tree/folder/repository/partial-view-folder.server.data-source.js +2 -2
  108. package/dist-cms/packages/templating/scripts/entity-actions/rename/rename-script.server.data-source.js +1 -1
  109. package/dist-cms/packages/templating/scripts/repository/script-detail.server.data-source.js +3 -3
  110. package/dist-cms/packages/templating/scripts/tree/folder/repository/script-folder.server.data-source.js +2 -2
  111. package/dist-cms/packages/templating/stylesheets/entity-actions/rename/rename-stylesheet.server.data-source.js +1 -1
  112. package/dist-cms/packages/templating/stylesheets/repository/stylesheet-detail.server.data-source.js +3 -3
  113. package/dist-cms/packages/templating/stylesheets/tree/folder/repository/stylesheet-folder.server.data-source.js +2 -2
  114. package/dist-cms/packages/tiptap/components/character-map/character-map-modal.element.js +0 -4
  115. package/dist-cms/packages/tiptap/components/input-tiptap/input-tiptap.element.js +1 -1
  116. package/dist-cms/packages/tiptap/components/input-tiptap/tiptap-toolbar.element.d.ts +6 -0
  117. package/dist-cms/packages/tiptap/components/input-tiptap/tiptap-toolbar.element.js +7 -1
  118. package/dist-cms/packages/tiptap/property-editors/tiptap/components/property-editor-ui-tiptap-extensions-configuration.element.js +1 -1
  119. package/dist-cms/packages/tiptap/property-editors/tiptap/components/property-editor-ui-tiptap-statusbar-configuration.element.js +0 -4
  120. package/dist-cms/packages/tiptap/property-editors/tiptap/components/property-editor-ui-tiptap-toolbar-configuration.element.js +1 -4
  121. package/dist-cms/packages/translation/package.json +8 -0
  122. package/dist-cms/packages/user/current-user/current-user.context.js +4 -1
  123. package/dist-cms/packages/user/current-user/repository/current-user.repository.d.ts +2 -2
  124. package/dist-cms/packages/user/current-user/repository/current-user.repository.js +8 -5
  125. package/dist-cms/packages/user/user/repository/user-repository-base.d.ts +7 -7
  126. package/dist-cms/packages/user/user/repository/user-repository-base.js +13 -12
  127. package/dist-cms/packages/user/user-group/collection/repository/user-group-collection.repository.js +4 -1
  128. package/dist-cms/packages/user/user-group/collection/user-group-collection.element.js +1 -1
  129. package/dist-cms/packages/webhook/webhook-event/repository/webhook-event.repository.d.ts +4 -0
  130. package/dist-cms/packages/webhook/webhook-event/repository/webhook-event.repository.js +7 -1
  131. package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
  132. package/dist-cms/umbraco-package.json +1 -1
  133. package/dist-cms/vscode-html-custom-data.json +16 -10
  134. package/examples/modal-routed/dashboard.element.ts +1 -0
  135. package/examples/modal-routed/modal/example-modal.element.ts +1 -0
  136. package/examples/validation-context/validation-context-dashboard.ts +12 -12
  137. package/package.json +8 -7
  138. package/dist-cms/packages/content/content/content-property.context-token.d.ts +0 -3
  139. package/dist-cms/packages/content/content/content-property.context-token.js +0 -2
  140. package/dist-cms/packages/content/content/content-property.context.js +0 -14
  141. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-property.element.d.ts +0 -21
  142. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-property.element.js +0 -63
@@ -1157,7 +1157,7 @@
1157
1157
  {
1158
1158
  "name": "styles",
1159
1159
  "type": "array",
1160
- "default": "[null]"
1160
+ "default": "[\"UUIBlinkKeyframes\",null]"
1161
1161
  }
1162
1162
  ]
1163
1163
  },
@@ -2187,6 +2187,23 @@
2187
2187
  }
2188
2188
  ]
2189
2189
  },
2190
+ {
2191
+ "name": "umb-content-workspace-property",
2192
+ "path": "./../src/packages/content/content/global-components/content-workspace-property.element.ts",
2193
+ "attributes": [
2194
+ {
2195
+ "name": "alias",
2196
+ "type": "string | undefined"
2197
+ }
2198
+ ],
2199
+ "properties": [
2200
+ {
2201
+ "name": "alias",
2202
+ "attribute": "alias",
2203
+ "type": "string | undefined"
2204
+ }
2205
+ ]
2206
+ },
2190
2207
  {
2191
2208
  "name": "umb-sort-children-of-content-modal",
2192
2209
  "path": "./../src/packages/content/content/tree/sort-children-of-content/modal/sort-children-of-content-modal.element.ts"
@@ -2213,18 +2230,6 @@
2213
2230
  }
2214
2231
  ]
2215
2232
  },
2216
- {
2217
- "name": "umb-content-workspace-view-edit-property",
2218
- "path": "./../src/packages/content/content/workspace/views/edit/content-editor-property.element.ts",
2219
- "properties": [
2220
- {
2221
- "name": "variantId"
2222
- },
2223
- {
2224
- "name": "property"
2225
- }
2226
- ]
2227
- },
2228
2233
  {
2229
2234
  "name": "umb-content-workspace-view-edit-tab",
2230
2235
  "path": "./../src/packages/content/content/workspace/views/edit/content-editor-tab.element.ts",
@@ -3230,7 +3235,7 @@
3230
3235
  },
3231
3236
  {
3232
3237
  "name": "styles",
3233
- "default": "\"css`\\n\\t\\t:host(:invalid:not([pristine])) {\\n\\t\\t\\tcolor: var(--uui-color-invalid);\\n\\t\\t}\\n\\t\\t:host(:invalid:not([pristine])) uui-input {\\n\\t\\t\\tborder-color: var(--uui-color-invalid);\\n\\t\\t}\\n\\t`\""
3238
+ "default": "\"css`\\n\\t\\t:host {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\talign-items: center;\\n\\t\\t}\\n\\t\\tb {\\n\\t\\t\\tmargin: 0 var(--uui-size-space-1);\\n\\t\\t}\\n\\t\\t:host(:invalid:not([pristine])) {\\n\\t\\t\\tcolor: var(--uui-color-invalid);\\n\\t\\t}\\n\\t\\t:host(:invalid:not([pristine])) uui-input {\\n\\t\\t\\tborder-color: var(--uui-color-invalid);\\n\\t\\t}\\n\\t`\""
3234
3239
  }
3235
3240
  ]
3236
3241
  },
@@ -3563,7 +3568,7 @@
3563
3568
  },
3564
3569
  {
3565
3570
  "name": "styles",
3566
- "default": "\"css`\\n\\t\\t#name {\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\tflex: 1 1 auto;\\n\\t\\t\\talign-items: center;\\n\\t\\t}\\n\\n\\t\\t#alias {\\n\\t\\t\\tmax-width: 50%;\\n\\n\\t\\t\\t&.muted {\\n\\t\\t\\t\\topacity: 0.55;\\n\\t\\t\\t\\tpadding: var(--uui-size-1, 3px) var(--uui-size-space-3, 9px);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t:host(:invalid:not([pristine])) {\\n\\t\\t\\tcolor: var(--uui-color-invalid);\\n\\t\\t}\\n\\t\\t:host(:invalid:not([pristine])) > uui-input {\\n\\t\\t\\tborder-color: var(--uui-color-invalid);\\n\\t\\t}\\n\\t`\""
3571
+ "default": "\"css`\\n\\t\\t#name {\\n\\t\\t\\twidth: 100%;\\n\\t\\t\\tflex: 1 1 auto;\\n\\t\\t\\talign-items: center;\\n\\t\\t}\\n\\n\\t\\t#alias {\\n\\t\\t\\t&.muted {\\n\\t\\t\\t\\topacity: 0.55;\\n\\t\\t\\t\\tpadding: var(--uui-size-1, 3px) var(--uui-size-space-3, 9px);\\n\\t\\t\\t}\\n\\t\\t}\\n\\n\\t\\t:host(:invalid:not([pristine])) {\\n\\t\\t\\tcolor: var(--uui-color-invalid);\\n\\t\\t}\\n\\t\\t:host(:invalid:not([pristine])) > uui-input {\\n\\t\\t\\tborder-color: var(--uui-color-invalid);\\n\\t\\t}\\n\\t`\""
3567
3572
  }
3568
3573
  ]
3569
3574
  },
@@ -12144,7 +12149,7 @@
12144
12149
  {
12145
12150
  "name": "styles",
12146
12151
  "type": "array",
12147
- "default": "[\"UmbTextStyles\"]"
12152
+ "default": "[null]"
12148
12153
  }
12149
12154
  ]
12150
12155
  },
@@ -13854,6 +13859,7 @@
13854
13859
  {
13855
13860
  "name": "umb-tiptap-toolbar",
13856
13861
  "path": "./../src/packages/tiptap/components/input-tiptap/tiptap-toolbar.element.ts",
13862
+ "description": "[object Object],[object Object]",
13857
13863
  "attributes": [
13858
13864
  {
13859
13865
  "name": "readonly",
@@ -13881,7 +13887,17 @@
13881
13887
  },
13882
13888
  {
13883
13889
  "name": "styles",
13884
- "default": "\"css`\\n\\t\\t:host([readonly]) {\\n\\t\\t\\tpointer-events: none;\\n\\t\\t\\tbackground-color: var(--uui-color-surface-alt);\\n\\t\\t}\\n\\n\\t\\t:host {\\n\\t\\t\\tborder-radius: var(--uui-border-radius);\\n\\t\\t\\tborder: 1px solid var(--uui-color-border);\\n\\t\\t\\tborder-bottom-left-radius: 0;\\n\\t\\t\\tborder-bottom-right-radius: 0;\\n\\n\\t\\t\\tborder-top-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-left-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-right-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\n\\t\\t\\tbackground-color: var(--uui-color-surface);\\n\\t\\t\\tcolor: var(--color-text);\\n\\t\\t\\tfont-size: var(--uui-type-default-size);\\n\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: column;\\n\\n\\t\\t\\tposition: sticky;\\n\\t\\t\\ttop: -25px;\\n\\t\\t\\tleft: 0;\\n\\t\\t\\tright: 0;\\n\\t\\t\\tpadding: var(--uui-size-3);\\n\\t\\t\\tz-index: 9999999;\\n\\n\\t\\t\\tbox-shadow:\\n\\t\\t\\t\\t0 2px 2px -2px rgba(34, 47, 62, 0.1),\\n\\t\\t\\t\\t0 8px 8px -4px rgba(34, 47, 62, 0.07);\\n\\t\\t}\\n\\n\\t\\t.row {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: row;\\n\\t\\t\\tflex-wrap: wrap;\\n\\n\\t\\t\\t.group {\\n\\t\\t\\t\\tdisplay: inline-flex;\\n\\t\\t\\t\\tflex-wrap: wrap;\\n\\t\\t\\t\\talign-items: stretch;\\n\\n\\t\\t\\t\\t&:not(:last-child)::after {\\n\\t\\t\\t\\t\\tcontent: '';\\n\\t\\t\\t\\t\\tbackground-color: var(--uui-color-border);\\n\\t\\t\\t\\t\\twidth: 1px;\\n\\t\\t\\t\\t\\tplace-self: center;\\n\\t\\t\\t\\t\\theight: 22px;\\n\\t\\t\\t\\t\\tmargin: 0 var(--uui-size-3);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t`\""
13890
+ "default": "\"css`\\n\\t\\t:host([readonly]) {\\n\\t\\t\\tpointer-events: none;\\n\\t\\t\\tbackground-color: var(--uui-color-surface-alt);\\n\\t\\t}\\n\\n\\t\\t:host {\\n\\t\\t\\tborder-radius: var(--uui-border-radius);\\n\\t\\t\\tborder: 1px solid var(--uui-color-border);\\n\\t\\t\\tborder-bottom-left-radius: 0;\\n\\t\\t\\tborder-bottom-right-radius: 0;\\n\\n\\t\\t\\tborder-top-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-left-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\t\\t\\tborder-right-color: var(--umb-tiptap-edge-border-color, var(--uui-color-border));\\n\\n\\t\\t\\tbackground-color: var(--uui-color-surface);\\n\\t\\t\\tcolor: var(--color-text);\\n\\t\\t\\tfont-size: var(--uui-type-default-size);\\n\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: column;\\n\\n\\t\\t\\tposition: sticky;\\n\\t\\t\\ttop: var(--umb-tiptap-top,-25px);\\n\\t\\t\\tleft: 0;\\n\\t\\t\\tright: 0;\\n\\t\\t\\tpadding: var(--uui-size-3);\\n\\t\\t\\tz-index: 9999999;\\n\\n\\t\\t\\tbox-shadow:\\n\\t\\t\\t\\t0 2px 2px -2px rgba(34, 47, 62, 0.1),\\n\\t\\t\\t\\t0 8px 8px -4px rgba(34, 47, 62, 0.07);\\n\\t\\t}\\n\\n\\t\\t.row {\\n\\t\\t\\tdisplay: flex;\\n\\t\\t\\tflex-direction: row;\\n\\t\\t\\tflex-wrap: wrap;\\n\\n\\t\\t\\t.group {\\n\\t\\t\\t\\tdisplay: inline-flex;\\n\\t\\t\\t\\tflex-wrap: wrap;\\n\\t\\t\\t\\talign-items: stretch;\\n\\n\\t\\t\\t\\t&:not(:last-child)::after {\\n\\t\\t\\t\\t\\tcontent: '';\\n\\t\\t\\t\\t\\tbackground-color: var(--uui-color-border);\\n\\t\\t\\t\\t\\twidth: 1px;\\n\\t\\t\\t\\t\\tplace-self: center;\\n\\t\\t\\t\\t\\theight: 22px;\\n\\t\\t\\t\\t\\tmargin: 0 var(--uui-size-3);\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\\n\\t\\t}\\n\\t`\""
13891
+ }
13892
+ ],
13893
+ "cssProperties": [
13894
+ {
13895
+ "name": "--umb-tiptap-edge-border-color",
13896
+ "description": "Defines the edge border color"
13897
+ },
13898
+ {
13899
+ "name": "--umb-tiptap-top",
13900
+ "description": "Defines the top value for the sticky toolbar"
13885
13901
  }
13886
13902
  ]
13887
13903
  },
@@ -1 +1 @@
1
- export { ReplaySubject, Subject, Observable, BehaviorSubject, Subscription, map, distinctUntilChanged, combineLatest, shareReplay, takeUntil, debounceTime, tap, of, lastValueFrom, firstValueFrom, switchMap, filter, startWith, skip, first, } from 'rxjs';
1
+ export { BehaviorSubject, Observable, ReplaySubject, Subject, Subscription, catchError, combineLatest, debounceTime, distinctUntilChanged, filter, first, firstValueFrom, from, lastValueFrom, map, of, shareReplay, skip, startWith, switchMap, takeUntil, tap, } from 'rxjs';
@@ -1,3 +1,3 @@
1
- var K=function(t,r){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},K(t,r)};function S(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");K(t,r);function e(){this.constructor=t}t.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}function Ot(t,r,e,n){function i(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function s(f){try{c(n.next(f))}catch(v){u(v)}}function a(f){try{c(n.throw(f))}catch(v){u(v)}}function c(f){f.done?o(f.value):i(f.value).then(s,a)}c((n=n.apply(t,r||[])).next())})}function tt(t,r){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=s(0),u.throw=s(1),u.return=s(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(c){return function(f){return a([c,f])}}function a(c){if(n)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(e=0)),e;)try{if(n=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return e.label++,{value:c[1],done:!1};case 5:e.label++,i=c[1],c=[0];continue;case 7:c=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1],o=c;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(c);break}o[2]&&e.ops.pop(),e.trys.pop();continue}c=r.call(t,e)}catch(f){c=[6,f],i=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function A(t){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&t[r],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),i,o=[],u;try{for(;(r===void 0||r-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){u={error:s}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(u)throw u.error}}return o}function P(t,r,e){if(e||arguments.length===2)for(var n=0,i=r.length,o;n<i;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return t.concat(o||Array.prototype.slice.call(r))}function T(t){return this instanceof T?(this.v=t,this):new T(t)}function Pt(t,r,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(t,r||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",u),i[Symbol.asyncIterator]=function(){return this},i;function u(l){return function(y){return Promise.resolve(y).then(l,v)}}function s(l,y){n[l]&&(i[l]=function(h){return new Promise(function(g,_){o.push([l,h,g,_])>1||a(l,h)})},y&&(i[l]=y(i[l])))}function a(l,y){try{c(n[l](y))}catch(h){p(o[0][3],h)}}function c(l){l.value instanceof T?Promise.resolve(l.value.v).then(f,v):p(o[0][2],l)}function f(l){a("next",l)}function v(l){a("throw",l)}function p(l,y){l(y),o.shift(),o.length&&a(o[0][0],o[0][1])}}function Tt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t[Symbol.asyncIterator],e;return r?r.call(t):(t=typeof A=="function"?A(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(o){e[o]=t[o]&&function(u){return new Promise(function(s,a){u=t[o](u),i(s,a,u.done,u.value)})}}function i(o,u,s,a){Promise.resolve(a).then(function(c){o({value:c,done:s})},u)}}typeof SuppressedError=="function"&&SuppressedError;function d(t){return typeof t=="function"}function Z(t){var r=function(n){Error.call(n),n.stack=new Error().stack},e=t(r);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var D=Z(function(t){return function(e){t(this),this.message=e?e.length+` errors occurred during unsubscription:
2
- `+e.map(function(n,i){return i+1+") "+n.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=e}});function L(t,r){if(t){var e=t.indexOf(r);0<=e&&t.splice(e,1)}}var j=function(){function t(r){this.initialTeardown=r,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var r,e,n,i,o;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var s=A(u),a=s.next();!a.done;a=s.next()){var c=a.value;c.remove(this)}}catch(h){r={error:h}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(r)throw r.error}}else u.remove(this);var f=this.initialTeardown;if(d(f))try{f()}catch(h){o=h instanceof D?h.errors:[h]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var p=A(v),l=p.next();!l.done;l=p.next()){var y=l.value;try{nt(y)}catch(h){o=o??[],h instanceof D?o=P(P([],O(o)),O(h.errors)):o.push(h)}}}catch(h){n={error:h}}finally{try{l&&!l.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(o)throw new D(o)}},t.prototype.add=function(r){var e;if(r&&r!==this)if(this.closed)nt(r);else{if(r instanceof t){if(r.closed||r._hasParent(this))return;r._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(r)}},t.prototype._hasParent=function(r){var e=this._parentage;return e===r||Array.isArray(e)&&e.includes(r)},t.prototype._addParent=function(r){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(r),e):e?[e,r]:r},t.prototype._removeParent=function(r){var e=this._parentage;e===r?this._parentage=null:Array.isArray(e)&&L(e,r)},t.prototype.remove=function(r){var e=this._finalizers;e&&L(e,r),r instanceof t&&r._removeParent(this)},t.EMPTY=function(){var r=new t;return r.closed=!0,r}(),t}(),et=j.EMPTY;function rt(t){return t instanceof j||t&&"closed"in t&&d(t.remove)&&d(t.add)&&d(t.unsubscribe)}function nt(t){d(t)?t():t.unsubscribe()}var jt={Promise:void 0},kt={setTimeout:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setTimeout.apply(void 0,P([t,r],O(e)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function it(t){kt.setTimeout(function(){throw t})}function $(){}function M(t){t()}var B=function(t){S(r,t);function r(e){var n=t.call(this)||this;return n.isStopped=!1,e?(n.destination=e,rt(e)&&e.add(n)):n.destination=Ut,n}return r.create=function(e,n,i){return new k(e,n,i)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(j),Ct=function(){function t(r){this.partialObserver=r}return t.prototype.next=function(r){var e=this.partialObserver;if(e.next)try{e.next(r)}catch(n){W(n)}},t.prototype.error=function(r){var e=this.partialObserver;if(e.error)try{e.error(r)}catch(n){W(n)}else W(r)},t.prototype.complete=function(){var r=this.partialObserver;if(r.complete)try{r.complete()}catch(e){W(e)}},t}(),k=function(t){S(r,t);function r(e,n,i){var o=t.call(this)||this,u;return d(e)||!e?u={next:e??void 0,error:n??void 0,complete:i??void 0}:u=e,o.destination=new Ct(u),o}return r}(B);function W(t){it(t)}function Rt(t){throw t}var Ut={closed:!0,next:$,error:Rt,complete:$},H=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function E(t){return t}function Vt(t){return t.length===0?E:t.length===1?t[0]:function(e){return t.reduce(function(n,i){return i(n)},e)}}var w=function(){function t(r){r&&(this._subscribe=r)}return t.prototype.lift=function(r){var e=new t;return e.source=this,e.operator=r,e},t.prototype.subscribe=function(r,e,n){var i=this,o=Lt(r)?r:new k(r,e,n);return M(function(){var u=i,s=u.operator,a=u.source;o.add(s?s.call(o,a):a?i._subscribe(o):i._trySubscribe(o))}),o},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(e){r.error(e)}},t.prototype.forEach=function(r,e){var n=this;return e=ot(e),new e(function(i,o){var u=new k({next:function(s){try{r(s)}catch(a){o(a),u.unsubscribe()}},error:o,complete:i});n.subscribe(u)})},t.prototype._subscribe=function(r){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(r)},t.prototype[H]=function(){return this},t.prototype.pipe=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return Vt(r)(this)},t.prototype.toPromise=function(r){var e=this;return r=ot(r),new r(function(n,i){var o;e.subscribe(function(u){return o=u},function(u){return i(u)},function(){return n(o)})})},t.create=function(r){return new t(r)},t}();function ot(t){var r;return(r=t??jt.Promise)!==null&&r!==void 0?r:Promise}function Ft(t){return t&&d(t.next)&&d(t.error)&&d(t.complete)}function Lt(t){return t&&t instanceof B||Ft(t)&&rt(t)}function Mt(t){return d(t?.lift)}function b(t){return function(r){if(Mt(r))return r.lift(function(e){try{return t(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(t,r,e,n,i){return new Wt(t,r,e,n,i)}var Wt=function(t){S(r,t);function r(e,n,i,o,u,s){var a=t.call(this,e)||this;return a.onFinalize=u,a.shouldUnsubscribe=s,a._next=n?function(c){try{n(c)}catch(f){e.error(f)}}:t.prototype._next,a._error=o?function(c){try{o(c)}catch(f){e.error(f)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=i?function(){try{i()}catch(c){e.error(c)}finally{this.unsubscribe()}}:t.prototype._complete,a}return r.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;t.prototype.unsubscribe.call(this),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},r}(B),Yt=Z(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),U=function(t){S(r,t);function r(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.prototype.lift=function(e){var n=new ut(this,this);return n.operator=e,n},r.prototype._throwIfClosed=function(){if(this.closed)throw new Yt},r.prototype.next=function(e){var n=this;M(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var u=A(n.currentObservers),s=u.next();!s.done;s=u.next()){var a=s.value;a.next(e)}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}})},r.prototype.error=function(e){var n=this;M(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var i=n.observers;i.length;)i.shift().error(e)}})},r.prototype.complete=function(){var e=this;M(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},r.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(r.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),r.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},r.prototype._innerSubscribe=function(e){var n=this,i=this,o=i.hasError,u=i.isStopped,s=i.observers;return o||u?et:(this.currentObservers=null,s.push(e),new j(function(){n.currentObservers=null,L(s,e)}))},r.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,o=n.thrownError,u=n.isStopped;i?e.error(o):u&&e.complete()},r.prototype.asObservable=function(){var e=new w;return e.source=this,e},r.create=function(e,n){return new ut(e,n)},r}(w),ut=function(t){S(r,t);function r(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return r.prototype.next=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)},r.prototype.error=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)},r.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},r.prototype._subscribe=function(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:et},r}(U),qt=function(t){S(r,t);function r(e){var n=t.call(this)||this;return n._value=e,n}return Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},r.prototype.getValue=function(){var e=this,n=e.hasError,i=e.thrownError,o=e._value;if(n)throw i;return this._throwIfClosed(),o},r.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},r}(U),J={now:function(){return(J.delegate||Date).now()},delegate:void 0},ct=function(t){S(r,t);function r(e,n,i){e===void 0&&(e=1/0),n===void 0&&(n=1/0),i===void 0&&(i=J);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,n),o}return r.prototype.next=function(e){var n=this,i=n.isStopped,o=n._buffer,u=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;i||(o.push(e),!u&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},r.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),i=this,o=i._infiniteTimeWindow,u=i._buffer,s=u.slice(),a=0;a<s.length&&!e.closed;a+=o?1:2)e.next(s[a]);return this._checkFinalizedStatuses(e),n},r.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,i=e._timestampProvider,o=e._buffer,u=e._infiniteTimeWindow,s=(u?1:2)*n;if(n<1/0&&s<o.length&&o.splice(0,o.length-s),!u){for(var a=i.now(),c=0,f=1;f<o.length&&o[f]<=a;f+=2)c=f;c&&o.splice(0,c+1)}},r}(U),Gt=function(t){S(r,t);function r(e,n){return t.call(this)||this}return r.prototype.schedule=function(e,n){return this},r}(j),at={setInterval:function(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setInterval.apply(void 0,P([t,r],O(e)))},clearInterval:function(t){return clearInterval(t)},delegate:void 0},Kt=function(t){S(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return r.prototype.schedule=function(e,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=e;var o=this.id,u=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(u,o,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,n),this},r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),at.setInterval(e.flush.bind(e,this),i)},r.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&at.clearInterval(n)},r.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,n){var i=!1,o;try{this.work(e)}catch(u){i=!0,o=u||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},r.prototype.unsubscribe=function(){if(!this.closed){var e=this,n=e.id,i=e.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,L(o,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},r}(Gt),st=function(){function t(r,e){e===void 0&&(e=t.now),this.schedulerActionCtor=r,this.now=e}return t.prototype.schedule=function(r,e,n){return e===void 0&&(e=0),new this.schedulerActionCtor(this,r).schedule(n,e)},t.now=J.now,t}(),Zt=function(t){S(r,t);function r(e,n){n===void 0&&(n=st.now);var i=t.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return r.prototype.flush=function(e){var n=this.actions;if(this._active){n.push(e);return}var i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=n.shift());if(this._active=!1,i){for(;e=n.shift();)e.unsubscribe();throw i}},r}(st),Dt=new Zt(Kt),$t=new w(function(t){return t.complete()});function Bt(t){return t&&d(t.schedule)}function ft(t){return t[t.length-1]}function Ht(t){return d(ft(t))?t.pop():void 0}function Y(t){return Bt(ft(t))?t.pop():void 0}var lt=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function ht(t){return d(t?.then)}function vt(t){return d(t[H])}function dt(t){return Symbol.asyncIterator&&d(t?.[Symbol.asyncIterator])}function pt(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Jt(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yt=Jt();function bt(t){return d(t?.[yt])}function mt(t){return Pt(this,arguments,function(){var e,n,i,o;return tt(this,function(u){switch(u.label){case 0:e=t.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,T(e.read())];case 3:return n=u.sent(),i=n.value,o=n.done,o?[4,T(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,T(i)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function wt(t){return d(t?.getReader)}function x(t){if(t instanceof w)return t;if(t!=null){if(vt(t))return zt(t);if(lt(t))return Qt(t);if(ht(t))return Xt(t);if(dt(t))return St(t);if(bt(t))return Nt(t);if(wt(t))return te(t)}throw pt(t)}function zt(t){return new w(function(r){var e=t[H]();if(d(e.subscribe))return e.subscribe(r);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Qt(t){return new w(function(r){for(var e=0;e<t.length&&!r.closed;e++)r.next(t[e]);r.complete()})}function Xt(t){return new w(function(r){t.then(function(e){r.closed||(r.next(e),r.complete())},function(e){return r.error(e)}).then(null,it)})}function Nt(t){return new w(function(r){var e,n;try{for(var i=A(t),o=i.next();!o.done;o=i.next()){var u=o.value;if(r.next(u),r.closed)return}}catch(s){e={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}r.complete()})}function St(t){return new w(function(r){ee(t,r).catch(function(e){return r.error(e)})})}function te(t){return St(mt(t))}function ee(t,r){var e,n,i,o;return Ot(this,void 0,void 0,function(){var u,s;return tt(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),e=Tt(t),a.label=1;case 1:return[4,e.next()];case 2:if(n=a.sent(),!!n.done)return[3,4];if(u=n.value,r.next(u),r.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=a.sent(),i={error:s},[3,11];case 6:return a.trys.push([6,,9,10]),n&&!n.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return r.complete(),[2]}})})}function I(t,r,e,n,i){n===void 0&&(n=0),i===void 0&&(i=!1);var o=r.schedule(function(){e(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function gt(t,r){return r===void 0&&(r=0),b(function(e,n){e.subscribe(m(n,function(i){return I(n,t,function(){return n.next(i)},r)},function(){return I(n,t,function(){return n.complete()},r)},function(i){return I(n,t,function(){return n.error(i)},r)}))})}function _t(t,r){return r===void 0&&(r=0),b(function(e,n){n.add(t.schedule(function(){return e.subscribe(n)},r))})}function re(t,r){return x(t).pipe(_t(r),gt(r))}function ne(t,r){return x(t).pipe(_t(r),gt(r))}function ie(t,r){return new w(function(e){var n=0;return r.schedule(function(){n===t.length?e.complete():(e.next(t[n++]),e.closed||this.schedule())})})}function oe(t,r){return new w(function(e){var n;return I(e,r,function(){n=t[yt](),I(e,r,function(){var i,o,u;try{i=n.next(),o=i.value,u=i.done}catch(s){e.error(s);return}u?e.complete():e.next(o)},0,!0)}),function(){return d(n?.return)&&n.return()}})}function xt(t,r){if(!t)throw new Error("Iterable cannot be null");return new w(function(e){I(e,r,function(){var n=t[Symbol.asyncIterator]();I(e,r,function(){n.next().then(function(i){i.done?e.complete():e.next(i.value)})},0,!0)})})}function ue(t,r){return xt(mt(t),r)}function ce(t,r){if(t!=null){if(vt(t))return re(t,r);if(lt(t))return ie(t,r);if(ht(t))return ne(t,r);if(dt(t))return xt(t,r);if(bt(t))return oe(t,r);if(wt(t))return ue(t,r)}throw pt(t)}function q(t,r){return r?ce(t,r):x(t)}function ae(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=Y(t);return q(t,e)}var G=Z(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function se(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=!1,u;t.subscribe({next:function(s){u=s,o=!0},error:i,complete:function(){o?n(u):e?n(r.defaultValue):i(new G)}})})}function fe(t,r){var e=typeof r=="object";return new Promise(function(n,i){var o=new k({next:function(u){n(u),o.unsubscribe()},error:i,complete:function(){e?n(r.defaultValue):i(new G)}});t.subscribe(o)})}function z(t,r){return b(function(e,n){var i=0;e.subscribe(m(n,function(o){n.next(t.call(r,o,i++))}))})}var le=Array.isArray;function he(t,r){return le(r)?t.apply(void 0,P([],O(r))):t(r)}function ve(t){return z(function(r){return he(t,r)})}var de=Array.isArray,pe=Object.getPrototypeOf,ye=Object.prototype,be=Object.keys;function me(t){if(t.length===1){var r=t[0];if(de(r))return{args:r,keys:null};if(we(r)){var e=be(r);return{args:e.map(function(n){return r[n]}),keys:e}}}return{args:t,keys:null}}function we(t){return t&&typeof t=="object"&&pe(t)===ye}function Se(t,r){return t.reduce(function(e,n,i){return e[n]=r[i],e},{})}function ge(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=Y(t),n=Ht(t),i=me(t),o=i.args,u=i.keys;if(o.length===0)return q([],e);var s=new w(_e(o,e,u?function(a){return Se(u,a)}:E));return n?s.pipe(ve(n)):s}function _e(t,r,e){return e===void 0&&(e=E),function(n){It(r,function(){for(var i=t.length,o=new Array(i),u=i,s=i,a=function(f){It(r,function(){var v=q(t[f],r),p=!1;v.subscribe(m(n,function(l){o[f]=l,p||(p=!0,s--),s||n.next(e(o.slice()))},function(){--u||n.complete()}))},n)},c=0;c<i;c++)a(c)},n)}}function It(t,r,e){t?I(e,t,r):r()}function xe(t,r,e,n,i,o,u,s){var a=[],c=0,f=0,v=!1,p=function(){v&&!a.length&&!c&&r.complete()},l=function(h){return c<n?y(h):a.push(h)},y=function(h){c++;var g=!1;x(e(h,f++)).subscribe(m(r,function(_){r.next(_)},function(){g=!0},void 0,function(){if(g)try{c--;for(var _=function(){var C=a.shift();u||y(C)};a.length&&c<n;)_();p()}catch(C){r.error(C)}}))};return t.subscribe(m(r,l,function(){v=!0,p()})),function(){}}function Et(t,r,e){return e===void 0&&(e=1/0),d(r)?Et(function(n,i){return z(function(o,u){return r(n,o,i,u)})(x(t(n,i)))},e):(typeof r=="number"&&(e=r),b(function(n,i){return xe(n,i,t,e)}))}function Ie(t){return Et(E,t)}function Ee(){return Ie(1)}function At(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ee()(q(t,Y(t)))}function Q(t,r){return b(function(e,n){var i=0;e.subscribe(m(n,function(o){return t.call(r,o,i++)&&n.next(o)}))})}function Ae(t,r){return r===void 0&&(r=Dt),b(function(e,n){var i=null,o=null,u=null,s=function(){if(i){i.unsubscribe(),i=null;var c=o;o=null,n.next(c)}};function a(){var c=u+t,f=r.now();if(f<c){i=this.schedule(void 0,c-f),n.add(i);return}s()}e.subscribe(m(n,function(c){o=c,u=r.now(),i||(i=r.schedule(a,t),n.add(i))},function(){s(),n.complete()},void 0,function(){o=i=null}))})}function Oe(t){return b(function(r,e){var n=!1;r.subscribe(m(e,function(i){n=!0,e.next(i)},function(){n||e.next(t),e.complete()}))})}function Pe(t){return t<=0?function(){return $t}:b(function(r,e){var n=0;r.subscribe(m(e,function(i){++n<=t&&(e.next(i),t<=n&&e.complete())}))})}function Te(t,r){return r===void 0&&(r=E),t=t??je,b(function(e,n){var i,o=!0;e.subscribe(m(n,function(u){var s=r(u);(o||!t(i,s))&&(o=!1,i=s,n.next(u))}))})}function je(t,r){return t===r}function ke(t){return t===void 0&&(t=Ce),b(function(r,e){var n=!1;r.subscribe(m(e,function(i){n=!0,e.next(i)},function(){return n?e.complete():e.error(t())}))})}function Ce(){return new G}function Re(t,r){var e=arguments.length>=2;return function(n){return n.pipe(t?Q(function(i,o){return t(i,o,n)}):E,Pe(1),e?Oe(r):ke(function(){return new G}))}}function Ue(t){t===void 0&&(t={});var r=t.connector,e=r===void 0?function(){return new U}:r,n=t.resetOnError,i=n===void 0?!0:n,o=t.resetOnComplete,u=o===void 0?!0:o,s=t.resetOnRefCountZero,a=s===void 0?!0:s;return function(c){var f,v,p,l=0,y=!1,h=!1,g=function(){v?.unsubscribe(),v=void 0},_=function(){g(),f=p=void 0,y=h=!1},C=function(){var R=f;_(),R?.unsubscribe()};return b(function(R,N){l++,!h&&!y&&g();var V=p=p??e();N.add(function(){l--,l===0&&!h&&!y&&(v=X(C,a))}),V.subscribe(N),!f&&l>0&&(f=new k({next:function(F){return V.next(F)},error:function(F){h=!0,g(),v=X(_,i,F),V.error(F)},complete:function(){y=!0,g(),v=X(_,u),V.complete()}}),x(R).subscribe(f))})(c)}}function X(t,r){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];if(r===!0){t();return}if(r!==!1){var i=new k({next:function(){i.unsubscribe(),t()}});return x(r.apply(void 0,P([],O(e)))).subscribe(i)}}function Ve(t,r,e){var n,i,o,u,s=!1;return t&&typeof t=="object"?(n=t.bufferSize,u=n===void 0?1/0:n,i=t.windowTime,r=i===void 0?1/0:i,o=t.refCount,s=o===void 0?!1:o,e=t.scheduler):u=t??1/0,Ue({connector:function(){return new ct(u,r,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Fe(t){return Q(function(r,e){return t<=e})}function Le(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=Y(t);return b(function(n,i){(e?At(t,n,e):At(t,n)).subscribe(i)})}function Me(t,r){return b(function(e,n){var i=null,o=0,u=!1,s=function(){return u&&!i&&n.complete()};e.subscribe(m(n,function(a){i?.unsubscribe();var c=0,f=o++;x(t(a,f)).subscribe(i=m(n,function(v){return n.next(r?r(a,v,f,c++):v)},function(){i=null,s()}))},function(){u=!0,s()}))})}function We(t){return b(function(r,e){x(t).subscribe(m(e,function(){return e.complete()},$)),!e.closed&&r.subscribe(e)})}function Ye(t,r,e){var n=d(t)||r||e?{next:t,error:r,complete:e}:t;return n?b(function(i,o){var u;(u=n.subscribe)===null||u===void 0||u.call(n);var s=!0;i.subscribe(m(o,function(a){var c;(c=n.next)===null||c===void 0||c.call(n,a),o.next(a)},function(){var a;s=!1,(a=n.complete)===null||a===void 0||a.call(n),o.complete()},function(a){var c;s=!1,(c=n.error)===null||c===void 0||c.call(n,a),o.error(a)},function(){var a,c;s&&((a=n.unsubscribe)===null||a===void 0||a.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):E}export{qt as BehaviorSubject,w as Observable,ct as ReplaySubject,U as Subject,j as Subscription,ge as combineLatest,Ae as debounceTime,Te as distinctUntilChanged,Q as filter,Re as first,fe as firstValueFrom,se as lastValueFrom,z as map,ae as of,Ve as shareReplay,Fe as skip,Le as startWith,Me as switchMap,We as takeUntil,Ye as tap};
1
+ var K=function(t,n){return K=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},K(t,n)};function S(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");K(t,n);function e(){this.constructor=t}t.prototype=n===null?Object.create(n):(e.prototype=n.prototype,new e)}function Pt(t,n,e,r){function i(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function s(f){try{c(r.next(f))}catch(v){u(v)}}function a(f){try{c(r.throw(f))}catch(v){u(v)}}function c(f){f.done?o(f.value):i(f.value).then(s,a)}c((r=r.apply(t,n||[])).next())})}function tt(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return u.next=s(0),u.throw=s(1),u.return=s(2),typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(c){return function(f){return a([c,f])}}function a(c){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,c[0]&&(e=0)),e;)try{if(r=1,i&&(o=c[0]&2?i.return:c[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;switch(i=0,o&&(c=[c[0]&2,o.value]),c[0]){case 0:case 1:o=c;break;case 4:return e.label++,{value:c[1],done:!1};case 5:e.label++,i=c[1],c=[0];continue;case 7:c=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1],o=c;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(c);break}o[2]&&e.ops.pop(),e.trys.pop();continue}c=n.call(t,e)}catch(f){c=[6,f],i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function A(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(t,n){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var r=e.call(t),i,o=[],u;try{for(;(n===void 0||n-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){u={error:s}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(u)throw u.error}}return o}function P(t,n,e){if(e||arguments.length===2)for(var r=0,i=n.length,o;r<i;r++)(o||!(r in n))&&(o||(o=Array.prototype.slice.call(n,0,r)),o[r]=n[r]);return t.concat(o||Array.prototype.slice.call(n))}function T(t){return this instanceof T?(this.v=t,this):new T(t)}function Tt(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",u),i[Symbol.asyncIterator]=function(){return this},i;function u(l){return function(y){return Promise.resolve(y).then(l,v)}}function s(l,y){r[l]&&(i[l]=function(h){return new Promise(function(_,x){o.push([l,h,_,x])>1||a(l,h)})},y&&(i[l]=y(i[l])))}function a(l,y){try{c(r[l](y))}catch(h){p(o[0][3],h)}}function c(l){l.value instanceof T?Promise.resolve(l.value.v).then(f,v):p(o[0][2],l)}function f(l){a("next",l)}function v(l){a("throw",l)}function p(l,y){l(y),o.shift(),o.length&&a(o[0][0],o[0][1])}}function jt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof A=="function"?A(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(u){return new Promise(function(s,a){u=t[o](u),i(s,a,u.done,u.value)})}}function i(o,u,s,a){Promise.resolve(a).then(function(c){o({value:c,done:s})},u)}}typeof SuppressedError=="function"&&SuppressedError;function d(t){return typeof t=="function"}function Z(t){var n=function(r){Error.call(r),r.stack=new Error().stack},e=t(n);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var D=Z(function(t){return function(e){t(this),this.message=e?e.length+` errors occurred during unsubscription:
2
+ `+e.map(function(r,i){return i+1+") "+r.toString()}).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=e}});function M(t,n){if(t){var e=t.indexOf(n);0<=e&&t.splice(e,1)}}var j=function(){function t(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var n,e,r,i,o;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var s=A(u),a=s.next();!a.done;a=s.next()){var c=a.value;c.remove(this)}}catch(h){n={error:h}}finally{try{a&&!a.done&&(e=s.return)&&e.call(s)}finally{if(n)throw n.error}}else u.remove(this);var f=this.initialTeardown;if(d(f))try{f()}catch(h){o=h instanceof D?h.errors:[h]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var p=A(v),l=p.next();!l.done;l=p.next()){var y=l.value;try{rt(y)}catch(h){o=o??[],h instanceof D?o=P(P([],O(o)),O(h.errors)):o.push(h)}}}catch(h){r={error:h}}finally{try{l&&!l.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}if(o)throw new D(o)}},t.prototype.add=function(n){var e;if(n&&n!==this)if(this.closed)rt(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}},t.prototype._hasParent=function(n){var e=this._parentage;return e===n||Array.isArray(e)&&e.includes(n)},t.prototype._addParent=function(n){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n},t.prototype._removeParent=function(n){var e=this._parentage;e===n?this._parentage=null:Array.isArray(e)&&M(e,n)},t.prototype.remove=function(n){var e=this._finalizers;e&&M(e,n),n instanceof t&&n._removeParent(this)},t.EMPTY=function(){var n=new t;return n.closed=!0,n}(),t}(),et=j.EMPTY;function nt(t){return t instanceof j||t&&"closed"in t&&d(t.remove)&&d(t.add)&&d(t.unsubscribe)}function rt(t){d(t)?t():t.unsubscribe()}var kt={Promise:void 0},Ct={setTimeout:function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setTimeout.apply(void 0,P([t,n],O(e)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function it(t){Ct.setTimeout(function(){throw t})}function $(){}function W(t){t()}var B=function(t){S(n,t);function n(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,nt(e)&&e.add(r)):r.destination=Vt,r}return n.create=function(e,r,i){return new k(e,r,i)},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(j),Rt=function(){function t(n){this.partialObserver=n}return t.prototype.next=function(n){var e=this.partialObserver;if(e.next)try{e.next(n)}catch(r){Y(r)}},t.prototype.error=function(n){var e=this.partialObserver;if(e.error)try{e.error(n)}catch(r){Y(r)}else Y(n)},t.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(e){Y(e)}},t}(),k=function(t){S(n,t);function n(e,r,i){var o=t.call(this)||this,u;return d(e)||!e?u={next:e??void 0,error:r??void 0,complete:i??void 0}:u=e,o.destination=new Rt(u),o}return n}(B);function Y(t){it(t)}function Ut(t){throw t}var Vt={closed:!0,next:$,error:Ut,complete:$},H=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function E(t){return t}function Ft(t){return t.length===0?E:t.length===1?t[0]:function(e){return t.reduce(function(r,i){return i(r)},e)}}var w=function(){function t(n){n&&(this._subscribe=n)}return t.prototype.lift=function(n){var e=new t;return e.source=this,e.operator=n,e},t.prototype.subscribe=function(n,e,r){var i=this,o=Mt(n)?n:new k(n,e,r);return W(function(){var u=i,s=u.operator,a=u.source;o.add(s?s.call(o,a):a?i._subscribe(o):i._trySubscribe(o))}),o},t.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(e){n.error(e)}},t.prototype.forEach=function(n,e){var r=this;return e=ot(e),new e(function(i,o){var u=new k({next:function(s){try{n(s)}catch(a){o(a),u.unsubscribe()}},error:o,complete:i});r.subscribe(u)})},t.prototype._subscribe=function(n){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(n)},t.prototype[H]=function(){return this},t.prototype.pipe=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return Ft(n)(this)},t.prototype.toPromise=function(n){var e=this;return n=ot(n),new n(function(r,i){var o;e.subscribe(function(u){return o=u},function(u){return i(u)},function(){return r(o)})})},t.create=function(n){return new t(n)},t}();function ot(t){var n;return(n=t??kt.Promise)!==null&&n!==void 0?n:Promise}function Lt(t){return t&&d(t.next)&&d(t.error)&&d(t.complete)}function Mt(t){return t&&t instanceof B||Lt(t)&&nt(t)}function Wt(t){return d(t?.lift)}function b(t){return function(n){if(Wt(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function m(t,n,e,r,i){return new Yt(t,n,e,r,i)}var Yt=function(t){S(n,t);function n(e,r,i,o,u,s){var a=t.call(this,e)||this;return a.onFinalize=u,a.shouldUnsubscribe=s,a._next=r?function(c){try{r(c)}catch(f){e.error(f)}}:t.prototype._next,a._error=o?function(c){try{o(c)}catch(f){e.error(f)}finally{this.unsubscribe()}}:t.prototype._error,a._complete=i?function(){try{i()}catch(c){e.error(c)}finally{this.unsubscribe()}}:t.prototype._complete,a}return n.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;t.prototype.unsubscribe.call(this),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},n}(B),qt=Z(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),U=function(t){S(n,t);function n(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return n.prototype.lift=function(e){var r=new ut(this,this);return r.operator=e,r},n.prototype._throwIfClosed=function(){if(this.closed)throw new qt},n.prototype.next=function(e){var r=this;W(function(){var i,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var u=A(r.currentObservers),s=u.next();!s.done;s=u.next()){var a=s.value;a.next(e)}}catch(c){i={error:c}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(i)throw i.error}}}})},n.prototype.error=function(e){var r=this;W(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=e;for(var i=r.observers;i.length;)i.shift().error(e)}})},n.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var r=e.observers;r.length;)r.shift().complete()}})},n.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(n.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),n.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},n.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},n.prototype._innerSubscribe=function(e){var r=this,i=this,o=i.hasError,u=i.isStopped,s=i.observers;return o||u?et:(this.currentObservers=null,s.push(e),new j(function(){r.currentObservers=null,M(s,e)}))},n.prototype._checkFinalizedStatuses=function(e){var r=this,i=r.hasError,o=r.thrownError,u=r.isStopped;i?e.error(o):u&&e.complete()},n.prototype.asObservable=function(){var e=new w;return e.source=this,e},n.create=function(e,r){return new ut(e,r)},n}(w),ut=function(t){S(n,t);function n(e,r){var i=t.call(this)||this;return i.destination=e,i.source=r,i}return n.prototype.next=function(e){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,e)},n.prototype.error=function(e){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,e)},n.prototype.complete=function(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)},n.prototype._subscribe=function(e){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&i!==void 0?i:et},n}(U),Gt=function(t){S(n,t);function n(e){var r=t.call(this)||this;return r._value=e,r}return Object.defineProperty(n.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),n.prototype._subscribe=function(e){var r=t.prototype._subscribe.call(this,e);return!r.closed&&e.next(this._value),r},n.prototype.getValue=function(){var e=this,r=e.hasError,i=e.thrownError,o=e._value;if(r)throw i;return this._throwIfClosed(),o},n.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},n}(U),J={now:function(){return(J.delegate||Date).now()},delegate:void 0},ct=function(t){S(n,t);function n(e,r,i){e===void 0&&(e=1/0),r===void 0&&(r=1/0),i===void 0&&(i=J);var o=t.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}return n.prototype.next=function(e){var r=this,i=r.isStopped,o=r._buffer,u=r._infiniteTimeWindow,s=r._timestampProvider,a=r._windowTime;i||(o.push(e),!u&&o.push(s.now()+a)),this._trimBuffer(),t.prototype.next.call(this,e)},n.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(e),i=this,o=i._infiniteTimeWindow,u=i._buffer,s=u.slice(),a=0;a<s.length&&!e.closed;a+=o?1:2)e.next(s[a]);return this._checkFinalizedStatuses(e),r},n.prototype._trimBuffer=function(){var e=this,r=e._bufferSize,i=e._timestampProvider,o=e._buffer,u=e._infiniteTimeWindow,s=(u?1:2)*r;if(r<1/0&&s<o.length&&o.splice(0,o.length-s),!u){for(var a=i.now(),c=0,f=1;f<o.length&&o[f]<=a;f+=2)c=f;c&&o.splice(0,c+1)}},n}(U),Kt=function(t){S(n,t);function n(e,r){return t.call(this)||this}return n.prototype.schedule=function(e,r){return this},n}(j),at={setInterval:function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setInterval.apply(void 0,P([t,n],O(e)))},clearInterval:function(t){return clearInterval(t)},delegate:void 0},Zt=function(t){S(n,t);function n(e,r){var i=t.call(this,e,r)||this;return i.scheduler=e,i.work=r,i.pending=!1,i}return n.prototype.schedule=function(e,r){var i;if(r===void 0&&(r=0),this.closed)return this;this.state=e;var o=this.id,u=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(u,o,r)),this.pending=!0,this.delay=r,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(u,this.id,r),this},n.prototype.requestAsyncId=function(e,r,i){return i===void 0&&(i=0),at.setInterval(e.flush.bind(e,this),i)},n.prototype.recycleAsyncId=function(e,r,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return r;r!=null&&at.clearInterval(r)},n.prototype.execute=function(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,r);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(e,r){var i=!1,o;try{this.work(e)}catch(u){i=!0,o=u||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o},n.prototype.unsubscribe=function(){if(!this.closed){var e=this,r=e.id,i=e.scheduler,o=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,M(o,this),r!=null&&(this.id=this.recycleAsyncId(i,r,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},n}(Kt),st=function(){function t(n,e){e===void 0&&(e=t.now),this.schedulerActionCtor=n,this.now=e}return t.prototype.schedule=function(n,e,r){return e===void 0&&(e=0),new this.schedulerActionCtor(this,n).schedule(r,e)},t.now=J.now,t}(),Dt=function(t){S(n,t);function n(e,r){r===void 0&&(r=st.now);var i=t.call(this,e,r)||this;return i.actions=[],i._active=!1,i}return n.prototype.flush=function(e){var r=this.actions;if(this._active){r.push(e);return}var i;this._active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,i){for(;e=r.shift();)e.unsubscribe();throw i}},n}(st),$t=new Dt(Zt),Bt=new w(function(t){return t.complete()});function Ht(t){return t&&d(t.schedule)}function ft(t){return t[t.length-1]}function Jt(t){return d(ft(t))?t.pop():void 0}function q(t){return Ht(ft(t))?t.pop():void 0}var lt=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function ht(t){return d(t?.then)}function vt(t){return d(t[H])}function dt(t){return Symbol.asyncIterator&&d(t?.[Symbol.asyncIterator])}function pt(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function zt(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yt=zt();function bt(t){return d(t?.[yt])}function mt(t){return Tt(this,arguments,function(){var e,r,i,o;return tt(this,function(u){switch(u.label){case 0:e=t.getReader(),u.label=1;case 1:u.trys.push([1,,9,10]),u.label=2;case 2:return[4,T(e.read())];case 3:return r=u.sent(),i=r.value,o=r.done,o?[4,T(void 0)]:[3,5];case 4:return[2,u.sent()];case 5:return[4,T(i)];case 6:return[4,u.sent()];case 7:return u.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}function wt(t){return d(t?.getReader)}function g(t){if(t instanceof w)return t;if(t!=null){if(vt(t))return Qt(t);if(lt(t))return Xt(t);if(ht(t))return Nt(t);if(dt(t))return St(t);if(bt(t))return te(t);if(wt(t))return ee(t)}throw pt(t)}function Qt(t){return new w(function(n){var e=t[H]();if(d(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Xt(t){return new w(function(n){for(var e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function Nt(t){return new w(function(n){t.then(function(e){n.closed||(n.next(e),n.complete())},function(e){return n.error(e)}).then(null,it)})}function te(t){return new w(function(n){var e,r;try{for(var i=A(t),o=i.next();!o.done;o=i.next()){var u=o.value;if(n.next(u),n.closed)return}}catch(s){e={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}n.complete()})}function St(t){return new w(function(n){ne(t,n).catch(function(e){return n.error(e)})})}function ee(t){return St(mt(t))}function ne(t,n){var e,r,i,o;return Pt(this,void 0,void 0,function(){var u,s;return tt(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),e=jt(t),a.label=1;case 1:return[4,e.next()];case 2:if(r=a.sent(),!!r.done)return[3,4];if(u=r.value,n.next(u),n.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=a.sent(),i={error:s},[3,11];case 6:return a.trys.push([6,,9,10]),r&&!r.done&&(o=e.return)?[4,o.call(e)]:[3,8];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})}function I(t,n,e,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var o=n.schedule(function(){e(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function gt(t,n){return n===void 0&&(n=0),b(function(e,r){e.subscribe(m(r,function(i){return I(r,t,function(){return r.next(i)},n)},function(){return I(r,t,function(){return r.complete()},n)},function(i){return I(r,t,function(){return r.error(i)},n)}))})}function _t(t,n){return n===void 0&&(n=0),b(function(e,r){r.add(t.schedule(function(){return e.subscribe(r)},n))})}function re(t,n){return g(t).pipe(_t(n),gt(n))}function ie(t,n){return g(t).pipe(_t(n),gt(n))}function oe(t,n){return new w(function(e){var r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function ue(t,n){return new w(function(e){var r;return I(e,n,function(){r=t[yt](),I(e,n,function(){var i,o,u;try{i=r.next(),o=i.value,u=i.done}catch(s){e.error(s);return}u?e.complete():e.next(o)},0,!0)}),function(){return d(r?.return)&&r.return()}})}function xt(t,n){if(!t)throw new Error("Iterable cannot be null");return new w(function(e){I(e,n,function(){var r=t[Symbol.asyncIterator]();I(e,n,function(){r.next().then(function(i){i.done?e.complete():e.next(i.value)})},0,!0)})})}function ce(t,n){return xt(mt(t),n)}function ae(t,n){if(t!=null){if(vt(t))return re(t,n);if(lt(t))return oe(t,n);if(ht(t))return ie(t,n);if(dt(t))return xt(t,n);if(bt(t))return ue(t,n);if(wt(t))return ce(t,n)}throw pt(t)}function V(t,n){return n?ae(t,n):g(t)}function se(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=q(t);return V(t,e)}var G=Z(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function fe(t,n){var e=typeof n=="object";return new Promise(function(r,i){var o=!1,u;t.subscribe({next:function(s){u=s,o=!0},error:i,complete:function(){o?r(u):e?r(n.defaultValue):i(new G)}})})}function le(t,n){var e=typeof n=="object";return new Promise(function(r,i){var o=new k({next:function(u){r(u),o.unsubscribe()},error:i,complete:function(){e?r(n.defaultValue):i(new G)}});t.subscribe(o)})}function z(t,n){return b(function(e,r){var i=0;e.subscribe(m(r,function(o){r.next(t.call(n,o,i++))}))})}var he=Array.isArray;function ve(t,n){return he(n)?t.apply(void 0,P([],O(n))):t(n)}function de(t){return z(function(n){return ve(t,n)})}var pe=Array.isArray,ye=Object.getPrototypeOf,be=Object.prototype,me=Object.keys;function we(t){if(t.length===1){var n=t[0];if(pe(n))return{args:n,keys:null};if(Se(n)){var e=me(n);return{args:e.map(function(r){return n[r]}),keys:e}}}return{args:t,keys:null}}function Se(t){return t&&typeof t=="object"&&ye(t)===be}function ge(t,n){return t.reduce(function(e,r,i){return e[r]=n[i],e},{})}function _e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=q(t),r=Jt(t),i=we(t),o=i.args,u=i.keys;if(o.length===0)return V([],e);var s=new w(xe(o,e,u?function(a){return ge(u,a)}:E));return r?s.pipe(de(r)):s}function xe(t,n,e){return e===void 0&&(e=E),function(r){It(n,function(){for(var i=t.length,o=new Array(i),u=i,s=i,a=function(f){It(n,function(){var v=V(t[f],n),p=!1;v.subscribe(m(r,function(l){o[f]=l,p||(p=!0,s--),s||r.next(e(o.slice()))},function(){--u||r.complete()}))},r)},c=0;c<i;c++)a(c)},r)}}function It(t,n,e){t?I(e,t,n):n()}function Ie(t,n,e,r,i,o,u,s){var a=[],c=0,f=0,v=!1,p=function(){v&&!a.length&&!c&&n.complete()},l=function(h){return c<r?y(h):a.push(h)},y=function(h){c++;var _=!1;g(e(h,f++)).subscribe(m(n,function(x){n.next(x)},function(){_=!0},void 0,function(){if(_)try{c--;for(var x=function(){var C=a.shift();u||y(C)};a.length&&c<r;)x();p()}catch(C){n.error(C)}}))};return t.subscribe(m(n,l,function(){v=!0,p()})),function(){}}function Et(t,n,e){return e===void 0&&(e=1/0),d(n)?Et(function(r,i){return z(function(o,u){return n(r,o,i,u)})(g(t(r,i)))},e):(typeof n=="number"&&(e=n),b(function(r,i){return Ie(r,i,t,e)}))}function Ee(t){return Et(E,t)}function Ae(){return Ee(1)}function At(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Ae()(V(t,q(t)))}function Q(t,n){return b(function(e,r){var i=0;e.subscribe(m(r,function(o){return t.call(n,o,i++)&&r.next(o)}))})}function Ot(t){return b(function(n,e){var r=null,i=!1,o;r=n.subscribe(m(e,void 0,void 0,function(u){o=g(t(u,Ot(t)(n))),r?(r.unsubscribe(),r=null,o.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(e))})}function Oe(t,n){return n===void 0&&(n=$t),b(function(e,r){var i=null,o=null,u=null,s=function(){if(i){i.unsubscribe(),i=null;var c=o;o=null,r.next(c)}};function a(){var c=u+t,f=n.now();if(f<c){i=this.schedule(void 0,c-f),r.add(i);return}s()}e.subscribe(m(r,function(c){o=c,u=n.now(),i||(i=n.schedule(a,t),r.add(i))},function(){s(),r.complete()},void 0,function(){o=i=null}))})}function Pe(t){return b(function(n,e){var r=!1;n.subscribe(m(e,function(i){r=!0,e.next(i)},function(){r||e.next(t),e.complete()}))})}function Te(t){return t<=0?function(){return Bt}:b(function(n,e){var r=0;n.subscribe(m(e,function(i){++r<=t&&(e.next(i),t<=r&&e.complete())}))})}function je(t,n){return n===void 0&&(n=E),t=t??ke,b(function(e,r){var i,o=!0;e.subscribe(m(r,function(u){var s=n(u);(o||!t(i,s))&&(o=!1,i=s,r.next(u))}))})}function ke(t,n){return t===n}function Ce(t){return t===void 0&&(t=Re),b(function(n,e){var r=!1;n.subscribe(m(e,function(i){r=!0,e.next(i)},function(){return r?e.complete():e.error(t())}))})}function Re(){return new G}function Ue(t,n){var e=arguments.length>=2;return function(r){return r.pipe(t?Q(function(i,o){return t(i,o,r)}):E,Te(1),e?Pe(n):Ce(function(){return new G}))}}function Ve(t){t===void 0&&(t={});var n=t.connector,e=n===void 0?function(){return new U}:n,r=t.resetOnError,i=r===void 0?!0:r,o=t.resetOnComplete,u=o===void 0?!0:o,s=t.resetOnRefCountZero,a=s===void 0?!0:s;return function(c){var f,v,p,l=0,y=!1,h=!1,_=function(){v?.unsubscribe(),v=void 0},x=function(){_(),f=p=void 0,y=h=!1},C=function(){var R=f;x(),R?.unsubscribe()};return b(function(R,N){l++,!h&&!y&&_();var F=p=p??e();N.add(function(){l--,l===0&&!h&&!y&&(v=X(C,a))}),F.subscribe(N),!f&&l>0&&(f=new k({next:function(L){return F.next(L)},error:function(L){h=!0,_(),v=X(x,i,L),F.error(L)},complete:function(){y=!0,_(),v=X(x,u),F.complete()}}),g(R).subscribe(f))})(c)}}function X(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];if(n===!0){t();return}if(n!==!1){var i=new k({next:function(){i.unsubscribe(),t()}});return g(n.apply(void 0,P([],O(e)))).subscribe(i)}}function Fe(t,n,e){var r,i,o,u,s=!1;return t&&typeof t=="object"?(r=t.bufferSize,u=r===void 0?1/0:r,i=t.windowTime,n=i===void 0?1/0:i,o=t.refCount,s=o===void 0?!1:o,e=t.scheduler):u=t??1/0,Ve({connector:function(){return new ct(u,n,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Le(t){return Q(function(n,e){return t<=e})}function Me(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=q(t);return b(function(r,i){(e?At(t,r,e):At(t,r)).subscribe(i)})}function We(t,n){return b(function(e,r){var i=null,o=0,u=!1,s=function(){return u&&!i&&r.complete()};e.subscribe(m(r,function(a){i?.unsubscribe();var c=0,f=o++;g(t(a,f)).subscribe(i=m(r,function(v){return r.next(n?n(a,v,f,c++):v)},function(){i=null,s()}))},function(){u=!0,s()}))})}function Ye(t){return b(function(n,e){g(t).subscribe(m(e,function(){return e.complete()},$)),!e.closed&&n.subscribe(e)})}function qe(t,n,e){var r=d(t)||n||e?{next:t,error:n,complete:e}:t;return r?b(function(i,o){var u;(u=r.subscribe)===null||u===void 0||u.call(r);var s=!0;i.subscribe(m(o,function(a){var c;(c=r.next)===null||c===void 0||c.call(r,a),o.next(a)},function(){var a;s=!1,(a=r.complete)===null||a===void 0||a.call(r),o.complete()},function(a){var c;s=!1,(c=r.error)===null||c===void 0||c.call(r,a),o.error(a)},function(){var a,c;s&&((a=r.unsubscribe)===null||a===void 0||a.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):E}export{Gt as BehaviorSubject,w as Observable,ct as ReplaySubject,U as Subject,j as Subscription,Ot as catchError,_e as combineLatest,Oe as debounceTime,je as distinctUntilChanged,Q as filter,Ue as first,le as firstValueFrom,V as from,fe as lastValueFrom,z as map,se as of,Fe as shareReplay,Le as skip,Me as startWith,We as switchMap,Ye as takeUntil,qe as tap};