@heartlandone/vega 2.85.0 → 2.87.0-beta.1

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 (517) hide show
  1. package/dist/cjs/{accessibility-a5ef2038.js → accessibility-88f8af84.js} +16 -1
  2. package/dist/cjs/{app-globals-54327b0a.js → app-globals-885090b1.js} +11 -11
  3. package/dist/cjs/{aria-dialog-focusable-trap-slimmer-5507f917.js → aria-dialog-focusable-trap-slimmer-c2ca46db.js} +3 -3
  4. package/dist/cjs/{child-nodes-event-prevent-slimmer-f3979a03.js → child-nodes-event-prevent-slimmer-b7498e5a.js} +2 -2
  5. package/dist/cjs/{child-nodes-notify-observer-slimmer-2631c381.js → child-nodes-notify-observer-slimmer-34a606b3.js} +1 -1
  6. package/dist/cjs/{code-block-6da521e6.js → code-block-15411c14.js} +19 -4
  7. package/dist/cjs/{component-usage-runtime-metrics-4572c5b7.js → component-usage-runtime-metrics-389d1548.js} +1 -1
  8. package/dist/cjs/{component-value-history-controller-slimmer.abstract-f3f35f94.js → component-value-history-controller-slimmer.abstract-5218e4b3.js} +6 -6
  9. package/dist/cjs/{content-state-89fafb3b.js → content-state-a69d99b4.js} +5 -5
  10. package/dist/cjs/{create-public-api-runtime-metrics-slimmer-9cb09fb2.js → create-public-api-runtime-metrics-slimmer-122350c3.js} +1 -1
  11. package/dist/cjs/{date-required-rule-0dd83683.js → date-required-rule-d65727c5.js} +1 -1
  12. package/dist/cjs/{design-token-4b3509dd.js → design-token-3bc36220.js} +3 -3
  13. package/dist/cjs/{dom-node-subject-observer-factory-9110cb94.js → dom-node-subject-observer-factory-ba6a95f3.js} +1 -1
  14. package/dist/cjs/{element-appender-slimmer-2b4e0a62.js → element-appender-slimmer-f86e6811.js} +6 -6
  15. package/dist/cjs/{event-emit-slimmer-80e1c8ca.js → event-emit-slimmer-73c42d7e.js} +2 -2
  16. package/dist/cjs/{feature-flag-controller-9129ef52.js → feature-flag-controller-5fa21654.js} +1 -1
  17. package/dist/cjs/{form-field-controller-slimmer-a07e3de0.js → form-field-controller-slimmer-44091874.js} +5 -5
  18. package/dist/cjs/{icon-manager-c12c6ea9.js → icon-manager-e855446d.js} +1 -1
  19. package/dist/cjs/{image-annotation-action-025389a7.js → image-annotation-action-aad07357.js} +5 -5
  20. package/dist/cjs/index.cjs.js +26 -25
  21. package/dist/cjs/{inject-keyboard-manager-ff8735b8.js → inject-keyboard-manager-d06b337e.js} +1 -1
  22. package/dist/cjs/{internal-icon-manager-c989189a.js → internal-icon-manager-66c48800.js} +1 -1
  23. package/dist/cjs/{internal-translation-controller-8360a89c.js → internal-translation-controller-f0da24b2.js} +5 -0
  24. package/dist/cjs/{internal-vega-event-manager-7e0d966d.js → internal-vega-event-manager-063c17cb.js} +5 -2
  25. package/dist/cjs/{keyboard-manager-cc446230.js → keyboard-manager-1e045791.js} +2 -2
  26. package/dist/cjs/{keyboard-manager-slimmer-a10b7d6f.js → keyboard-manager-slimmer-861d991f.js} +1 -1
  27. package/dist/cjs/loader.cjs.js +20 -20
  28. package/dist/cjs/{month-view-generator-41b6c6b6.js → month-view-generator-8ed9818e.js} +1 -1
  29. package/dist/cjs/{public-rules-fc52d624.js → public-rules-c7726702.js} +10 -10
  30. package/dist/cjs/{range-93cc8ab1.js → range-d6fb50a4.js} +2 -2
  31. package/dist/cjs/{responsive-format-facade-5f6cd211.js → responsive-format-facade-9647775d.js} +2 -2
  32. package/dist/cjs/{rich-text-editor-required-rule-fd3711fb.js → rich-text-editor-required-rule-a1a070ce.js} +1 -1
  33. package/dist/cjs/{split-cell-operation-532fb9f0.js → split-cell-operation-39b19943.js} +5 -5
  34. package/dist/cjs/{state-border-formatter-d1c80c1d.js → state-border-formatter-1a483a9b.js} +1 -1
  35. package/dist/cjs/{string-format-strategy.abstract-b39da0dd.js → string-format-strategy.abstract-2aec209d.js} +1 -1
  36. package/dist/cjs/{string-input-formatter-slimmer-127cf2b8.js → string-input-formatter-slimmer-e061bd10.js} +4 -4
  37. package/dist/cjs/{string-mask-strategy-524d0f69.js → string-mask-strategy-4bc07c00.js} +2 -2
  38. package/dist/cjs/{style-formatter-c201e7d0.js → style-formatter-263d5eb6.js} +2 -2
  39. package/dist/cjs/{sub-state-notify-slimmer-b33171b0.js → sub-state-notify-slimmer-757e3a76.js} +2 -2
  40. package/dist/cjs/{sub-state-observer-slimmer-b8f6f27b.js → sub-state-observer-slimmer-aa93ab4f.js} +3 -3
  41. package/dist/cjs/{time-required-rule-ecb45905.js → time-required-rule-f9a7e897.js} +1 -1
  42. package/dist/cjs/{token-extension-4f6ed976.js → token-extension-927062b9.js} +28 -15
  43. package/dist/cjs/{translation-slimmer-3cd7d3b2.js → translation-slimmer-a4a7f0eb.js} +1 -1
  44. package/dist/cjs/{type-guard-2e97fc56.js → type-guard-c1195e50.js} +1 -1
  45. package/dist/cjs/{ui-ae4ee13d.js → ui-3727d685.js} +13 -0
  46. package/dist/cjs/{valid-credit-card-number-rule-2d7d20ce.js → valid-credit-card-number-rule-22f3e6cf.js} +1 -1
  47. package/dist/cjs/vega-accordion.cjs.entry.js +35 -17
  48. package/dist/cjs/vega-app-footer.cjs.entry.js +1 -1
  49. package/dist/cjs/vega-app-header-button.cjs.entry.js +17 -17
  50. package/dist/cjs/vega-backdrop.cjs.entry.js +2 -2
  51. package/dist/cjs/vega-banner.cjs.entry.js +12 -12
  52. package/dist/cjs/vega-bar-chart.cjs.entry.js +1 -1
  53. package/dist/cjs/vega-box.cjs.entry.js +10 -10
  54. package/dist/cjs/vega-brand-logo.cjs.entry.js +4 -4
  55. package/dist/cjs/vega-breadcrumb.cjs.entry.js +9 -9
  56. package/dist/cjs/vega-button-circle.cjs.entry.js +15 -15
  57. package/dist/cjs/vega-button-group_2.cjs.entry.js +12 -12
  58. package/dist/cjs/vega-button-link.cjs.entry.js +9 -9
  59. package/dist/cjs/vega-button.cjs.entry.js +13 -13
  60. package/dist/cjs/vega-calendar_4.cjs.entry.js +669 -347
  61. package/dist/cjs/vega-card.cjs.entry.js +9 -9
  62. package/dist/cjs/vega-carousel.cjs.entry.js +12 -12
  63. package/dist/cjs/vega-checkbox_2.cjs.entry.js +28 -16
  64. package/dist/cjs/vega-chip.cjs.entry.js +15 -15
  65. package/dist/cjs/vega-code-block.cjs.entry.js +21 -21
  66. package/dist/cjs/vega-color-picker.cjs.entry.js +11 -11
  67. package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +17 -17
  68. package/dist/cjs/vega-color-swatch.cjs.entry.js +9 -9
  69. package/dist/cjs/vega-combo-box.cjs.entry.js +17 -17
  70. package/dist/cjs/vega-counter-badge.cjs.entry.js +1 -1
  71. package/dist/cjs/vega-date-picker_2.cjs.entry.js +43 -31
  72. package/dist/cjs/{vega-dialog-controller-03ef4d9a.js → vega-dialog-controller-6df7825e.js} +1 -1
  73. package/dist/cjs/vega-dialog_2.cjs.entry.js +16 -16
  74. package/dist/cjs/vega-divider.cjs.entry.js +8 -8
  75. package/dist/cjs/vega-dropdown_5.cjs.entry.js +23 -23
  76. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  77. package/dist/cjs/{vega-event-id-d9994eb3.js → vega-event-id-f95480b7.js} +2 -0
  78. package/dist/cjs/vega-field-error.cjs.entry.js +1 -1
  79. package/dist/cjs/vega-field-label.cjs.entry.js +7 -7
  80. package/dist/cjs/vega-file-uploader.cjs.entry.js +15 -15
  81. package/dist/cjs/vega-flag-icon.cjs.entry.js +11 -11
  82. package/dist/cjs/vega-flex.cjs.entry.js +10 -10
  83. package/dist/cjs/vega-font.cjs.entry.js +9 -9
  84. package/dist/cjs/vega-form.cjs.entry.js +16 -16
  85. package/dist/cjs/vega-grid.cjs.entry.js +9 -9
  86. package/dist/cjs/vega-hint.cjs.entry.js +1 -1
  87. package/dist/cjs/vega-icon.cjs.entry.js +11 -11
  88. package/dist/cjs/vega-image-uploader.cjs.entry.js +19 -19
  89. package/dist/cjs/vega-input-credit-card.cjs.entry.js +20 -20
  90. package/dist/cjs/vega-input-numeric.cjs.entry.js +17 -17
  91. package/dist/cjs/vega-input-passcode.cjs.entry.js +16 -16
  92. package/dist/cjs/vega-input-phone-number.cjs.entry.js +29 -19
  93. package/dist/cjs/vega-input-range.cjs.entry.js +15 -15
  94. package/dist/cjs/vega-input-select.cjs.entry.js +20 -20
  95. package/dist/cjs/vega-input.cjs.entry.js +19 -19
  96. package/dist/cjs/{vega-internal-event-id-87014e4f.js → vega-internal-event-id-e138d4d6.js} +2 -0
  97. package/dist/cjs/vega-item-toggle.cjs.entry.js +6 -6
  98. package/dist/cjs/vega-left-nav_5.cjs.entry.js +33 -31
  99. package/dist/cjs/vega-line-chart.cjs.entry.js +2 -2
  100. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +7 -7
  101. package/dist/cjs/vega-page-notification_2.cjs.entry.js +5 -5
  102. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +9 -9
  103. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +7 -7
  104. package/dist/cjs/vega-pagination.cjs.entry.js +14 -14
  105. package/dist/cjs/vega-pie-chart.cjs.entry.js +1 -1
  106. package/dist/cjs/vega-popover_2.cjs.entry.js +18 -18
  107. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +15 -15
  108. package/dist/cjs/vega-radio_2.cjs.entry.js +18 -18
  109. package/dist/cjs/vega-rich-text-content.cjs.entry.js +16 -16
  110. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +30 -37
  111. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +21 -21
  112. package/dist/cjs/vega-section-title.cjs.entry.js +1 -1
  113. package/dist/cjs/vega-segment-control.cjs.entry.js +6 -6
  114. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +17 -17
  115. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +172 -39
  116. package/dist/cjs/vega-sidenav_3.cjs.entry.js +18 -18
  117. package/dist/cjs/vega-signature-capture.cjs.entry.js +20 -20
  118. package/dist/cjs/vega-skeleton.cjs.entry.js +1 -1
  119. package/dist/cjs/vega-slot-container.cjs.entry.js +1 -1
  120. package/dist/cjs/vega-stepper.cjs.entry.js +13 -13
  121. package/dist/cjs/vega-tab-group_2.cjs.entry.js +156 -70
  122. package/dist/cjs/vega-table_11.cjs.entry.js +20 -20
  123. package/dist/cjs/vega-text.cjs.entry.js +2 -2
  124. package/dist/cjs/vega-textarea.cjs.entry.js +13 -13
  125. package/dist/cjs/vega-time-picker_2.cjs.entry.js +26 -32
  126. package/dist/cjs/vega-toggle-switch.cjs.entry.js +11 -11
  127. package/dist/cjs/vega-tooltip_2.cjs.entry.js +12 -12
  128. package/dist/cjs/vega.cjs.js +20 -20
  129. package/dist/cjs/{wait-for-component-did-render-16863a21.js → wait-for-component-did-render-a13f7eb9.js} +2 -2
  130. package/dist/collection/collection-manifest.json +1 -1
  131. package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +14 -1
  132. package/dist/collection/components/vega-accordion/vega-accordion.js +5 -0
  133. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-preview-actions-controller.js +83 -0
  134. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-keyboard-controller.js +154 -0
  135. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +4 -0
  136. package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +2 -2
  137. package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +10 -1
  138. package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +24 -4
  139. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/assets/pen.js +3 -0
  140. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/controllers/vega-calendar-event-preview-state-controller.js +4 -0
  141. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +37 -4
  142. package/dist/collection/components/vega-calendar/vega-calendar-event-preview/vega-calendar-event-preview.js +3 -1
  143. package/dist/collection/components/vega-calendar/vega-calendar.js +115 -1
  144. package/dist/collection/components/vega-checkbox/vega-checkbox.js +14 -2
  145. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +3 -0
  146. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +17 -1
  147. package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +31 -1
  148. package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +1 -1
  149. package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +10 -0
  150. package/dist/collection/components/vega-modal/slimmers/renderers/vega-modal-renderer.js +1 -1
  151. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +10 -8
  152. package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.js +2 -2
  153. package/dist/collection/components/vega-rich-text-editor/constants/constant.js +8 -0
  154. package/dist/collection/components/vega-rich-text-editor/dto/nodes/text-node.js +6 -0
  155. package/dist/collection/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.js +8 -2
  156. package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-toolbar-button-renderer.js +1 -0
  157. package/dist/collection/components/vega-rich-text-editor/extensions/languages/language-toolbar-button-renderer.js +1 -0
  158. package/dist/collection/components/vega-rich-text-editor/extensions/table/table-toolbar-button-renderer.js +1 -0
  159. package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.js +5 -1
  160. package/dist/collection/components/vega-rich-text-editor/public-api.js +1 -1
  161. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +3 -10
  162. package/dist/collection/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.js +71 -10
  163. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.js +39 -11
  164. package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.css +1 -3
  165. package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +23 -18
  166. package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +45 -1
  167. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.js +14 -1
  168. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-voice-over-focus-controller.js +45 -0
  169. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.js +15 -1
  170. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +1 -1
  171. package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +16 -4
  172. package/dist/collection/components/vega-tab-group/vega-tab-group.js +5 -0
  173. package/dist/collection/components/vega-time-picker/vega-time-picker.js +6 -12
  174. package/dist/collection/constants/ui.js +1 -0
  175. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +5 -2
  176. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
  177. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  178. package/dist/collection/helpers/translation/locales/en.js +5 -0
  179. package/dist/collection/polyfill/d3/d3-time-format-polyfill.js +1 -1
  180. package/dist/collection/utils/accessibility.js +16 -1
  181. package/dist/collection/utils/ui.js +12 -0
  182. package/dist/esm/{accessibility-524cabd2.js → accessibility-6af5cf2e.js} +16 -1
  183. package/dist/esm/{app-globals-b1999c09.js → app-globals-be458779.js} +11 -11
  184. package/dist/esm/{aria-dialog-focusable-trap-slimmer-6eb79723.js → aria-dialog-focusable-trap-slimmer-7d9a9f5a.js} +3 -3
  185. package/dist/esm/{child-nodes-event-prevent-slimmer-75f93d85.js → child-nodes-event-prevent-slimmer-0a406a71.js} +2 -2
  186. package/dist/esm/{child-nodes-notify-observer-slimmer-a8cb19cf.js → child-nodes-notify-observer-slimmer-8822d0d0.js} +1 -1
  187. package/dist/esm/{code-block-e43c8120.js → code-block-ff52d912.js} +19 -5
  188. package/dist/esm/{component-usage-runtime-metrics-46020a03.js → component-usage-runtime-metrics-4b1afd04.js} +1 -1
  189. package/dist/esm/{component-value-history-controller-slimmer.abstract-60c1910e.js → component-value-history-controller-slimmer.abstract-ad5f29cd.js} +6 -6
  190. package/dist/esm/{content-state-d363f2ca.js → content-state-6fccd284.js} +5 -5
  191. package/dist/esm/{create-public-api-runtime-metrics-slimmer-aaadaa08.js → create-public-api-runtime-metrics-slimmer-da6615bf.js} +1 -1
  192. package/dist/esm/{date-required-rule-a84c21d4.js → date-required-rule-70324452.js} +1 -1
  193. package/dist/esm/{design-token-57de4f4f.js → design-token-0e6fb2c4.js} +3 -3
  194. package/dist/esm/{dom-node-subject-observer-factory-aca0116e.js → dom-node-subject-observer-factory-3897e95b.js} +1 -1
  195. package/dist/esm/{element-appender-slimmer-05f487d7.js → element-appender-slimmer-afe5a638.js} +6 -6
  196. package/dist/esm/{event-emit-slimmer-1c57093d.js → event-emit-slimmer-697ad0b7.js} +2 -2
  197. package/dist/esm/{feature-flag-controller-30f7b625.js → feature-flag-controller-5ebc0cec.js} +1 -1
  198. package/dist/esm/{form-field-controller-slimmer-ae8478b5.js → form-field-controller-slimmer-9e70a18d.js} +5 -5
  199. package/dist/esm/{icon-manager-539d7cf7.js → icon-manager-691c8682.js} +1 -1
  200. package/dist/esm/{image-annotation-action-008ca25b.js → image-annotation-action-245eaa54.js} +5 -5
  201. package/dist/esm/index.js +25 -25
  202. package/dist/esm/{inject-keyboard-manager-1ceb9ee0.js → inject-keyboard-manager-05d5db90.js} +1 -1
  203. package/dist/esm/{internal-icon-manager-bd80b3bb.js → internal-icon-manager-276f968f.js} +1 -1
  204. package/dist/esm/{internal-translation-controller-d7dee4a0.js → internal-translation-controller-d8217d93.js} +5 -0
  205. package/dist/esm/{internal-vega-event-manager-7cdf3c28.js → internal-vega-event-manager-1ac5ee9a.js} +5 -2
  206. package/dist/esm/{keyboard-manager-50a1d90e.js → keyboard-manager-26e2fc32.js} +2 -2
  207. package/dist/esm/{keyboard-manager-slimmer-3891ee20.js → keyboard-manager-slimmer-012a9a9b.js} +1 -1
  208. package/dist/esm/loader.js +20 -20
  209. package/dist/esm/{month-view-generator-70c597a6.js → month-view-generator-918f1f88.js} +1 -1
  210. package/dist/esm/polyfills/core-js.js +0 -0
  211. package/dist/esm/polyfills/dom.js +0 -0
  212. package/dist/esm/polyfills/es5-html-element.js +0 -0
  213. package/dist/esm/polyfills/index.js +0 -0
  214. package/dist/esm/polyfills/system.js +0 -0
  215. package/dist/esm/{public-rules-1561e357.js → public-rules-22320bdf.js} +10 -10
  216. package/dist/esm/{range-784d5ec8.js → range-76f8e7dd.js} +2 -2
  217. package/dist/esm/{responsive-format-facade-456a9f16.js → responsive-format-facade-2a1d6398.js} +2 -2
  218. package/dist/esm/{rich-text-editor-required-rule-8768bc8d.js → rich-text-editor-required-rule-6eb90840.js} +1 -1
  219. package/dist/esm/{split-cell-operation-35ce149b.js → split-cell-operation-7652e813.js} +5 -5
  220. package/dist/esm/{state-border-formatter-afac8d33.js → state-border-formatter-a243f3fc.js} +1 -1
  221. package/dist/esm/{string-format-strategy.abstract-f9907969.js → string-format-strategy.abstract-f6625ed7.js} +1 -1
  222. package/dist/esm/{string-input-formatter-slimmer-4059080b.js → string-input-formatter-slimmer-e801bd7e.js} +4 -4
  223. package/dist/esm/{string-mask-strategy-5f655300.js → string-mask-strategy-53cb9b33.js} +2 -2
  224. package/dist/esm/{style-formatter-ee52d8d0.js → style-formatter-a622a045.js} +2 -2
  225. package/dist/esm/{sub-state-notify-slimmer-63ecb465.js → sub-state-notify-slimmer-80ac7dee.js} +2 -2
  226. package/dist/esm/{sub-state-observer-slimmer-2adbbe00.js → sub-state-observer-slimmer-81538a8c.js} +3 -3
  227. package/dist/esm/{time-required-rule-db873c19.js → time-required-rule-2fd8df50.js} +1 -1
  228. package/dist/esm/{token-extension-23b5ab65.js → token-extension-5838c71b.js} +28 -15
  229. package/dist/esm/{translation-slimmer-5e2bff5f.js → translation-slimmer-32353a1c.js} +1 -1
  230. package/dist/esm/{type-guard-adc244fd.js → type-guard-ed1004cc.js} +1 -1
  231. package/dist/esm/{ui-b7600a48.js → ui-64815a12.js} +13 -1
  232. package/dist/esm/{valid-credit-card-number-rule-a826dd49.js → valid-credit-card-number-rule-7c9d6808.js} +1 -1
  233. package/dist/esm/vega-accordion.entry.js +35 -17
  234. package/dist/esm/vega-app-footer.entry.js +1 -1
  235. package/dist/esm/vega-app-header-button.entry.js +17 -17
  236. package/dist/esm/vega-backdrop.entry.js +2 -2
  237. package/dist/esm/vega-banner.entry.js +12 -12
  238. package/dist/esm/vega-bar-chart.entry.js +1 -1
  239. package/dist/esm/vega-box.entry.js +10 -10
  240. package/dist/esm/vega-brand-logo.entry.js +4 -4
  241. package/dist/esm/vega-breadcrumb.entry.js +9 -9
  242. package/dist/esm/vega-button-circle.entry.js +15 -15
  243. package/dist/esm/vega-button-group_2.entry.js +12 -12
  244. package/dist/esm/vega-button-link.entry.js +9 -9
  245. package/dist/esm/vega-button.entry.js +13 -13
  246. package/dist/esm/vega-calendar_4.entry.js +670 -348
  247. package/dist/esm/vega-card.entry.js +9 -9
  248. package/dist/esm/vega-carousel.entry.js +12 -12
  249. package/dist/esm/vega-checkbox_2.entry.js +28 -16
  250. package/dist/esm/vega-chip.entry.js +15 -15
  251. package/dist/esm/vega-code-block.entry.js +21 -21
  252. package/dist/esm/vega-color-picker.entry.js +11 -11
  253. package/dist/esm/vega-color-swatch-picker.entry.js +17 -17
  254. package/dist/esm/vega-color-swatch.entry.js +9 -9
  255. package/dist/esm/vega-combo-box.entry.js +17 -17
  256. package/dist/esm/vega-counter-badge.entry.js +1 -1
  257. package/dist/esm/vega-date-picker_2.entry.js +43 -31
  258. package/dist/esm/{vega-dialog-controller-bbb2fc52.js → vega-dialog-controller-389e7f7c.js} +1 -1
  259. package/dist/esm/vega-dialog_2.entry.js +16 -16
  260. package/dist/esm/vega-divider.entry.js +8 -8
  261. package/dist/esm/vega-dropdown_5.entry.js +23 -23
  262. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  263. package/dist/esm/{vega-event-id-a6ccca66.js → vega-event-id-578c6c6d.js} +2 -1
  264. package/dist/esm/vega-field-error.entry.js +1 -1
  265. package/dist/esm/vega-field-label.entry.js +7 -7
  266. package/dist/esm/vega-file-uploader.entry.js +15 -15
  267. package/dist/esm/vega-flag-icon.entry.js +11 -11
  268. package/dist/esm/vega-flex.entry.js +10 -10
  269. package/dist/esm/vega-font.entry.js +9 -9
  270. package/dist/esm/vega-form.entry.js +16 -16
  271. package/dist/esm/vega-grid.entry.js +9 -9
  272. package/dist/esm/vega-hint.entry.js +1 -1
  273. package/dist/esm/vega-icon.entry.js +11 -11
  274. package/dist/esm/vega-image-uploader.entry.js +19 -19
  275. package/dist/esm/vega-input-credit-card.entry.js +20 -20
  276. package/dist/esm/vega-input-numeric.entry.js +17 -17
  277. package/dist/esm/vega-input-passcode.entry.js +16 -16
  278. package/dist/esm/vega-input-phone-number.entry.js +29 -19
  279. package/dist/esm/vega-input-range.entry.js +15 -15
  280. package/dist/esm/vega-input-select.entry.js +20 -20
  281. package/dist/esm/vega-input.entry.js +19 -19
  282. package/dist/esm/{vega-internal-event-id-db974a0d.js → vega-internal-event-id-913e8be6.js} +2 -1
  283. package/dist/esm/vega-item-toggle.entry.js +6 -6
  284. package/dist/esm/vega-left-nav_5.entry.js +33 -31
  285. package/dist/esm/vega-line-chart.entry.js +2 -2
  286. package/dist/esm/vega-loader-wrapper_2.entry.js +7 -7
  287. package/dist/esm/vega-page-notification_2.entry.js +5 -5
  288. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +9 -9
  289. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +7 -7
  290. package/dist/esm/vega-pagination.entry.js +14 -14
  291. package/dist/esm/vega-pie-chart.entry.js +1 -1
  292. package/dist/esm/vega-popover_2.entry.js +18 -18
  293. package/dist/esm/vega-progress-tracker_2.entry.js +15 -15
  294. package/dist/esm/vega-radio_2.entry.js +18 -18
  295. package/dist/esm/vega-rich-text-content.entry.js +16 -16
  296. package/dist/esm/vega-rich-text-editor_4.entry.js +30 -37
  297. package/dist/esm/vega-rich-text-table-properties_3.entry.js +21 -21
  298. package/dist/esm/vega-section-title.entry.js +1 -1
  299. package/dist/esm/vega-segment-control.entry.js +6 -6
  300. package/dist/esm/vega-selection-chip_2.entry.js +17 -17
  301. package/dist/esm/vega-selection-tile_2.entry.js +172 -39
  302. package/dist/esm/vega-sidenav_3.entry.js +18 -18
  303. package/dist/esm/vega-signature-capture.entry.js +20 -20
  304. package/dist/esm/vega-skeleton.entry.js +1 -1
  305. package/dist/esm/vega-slot-container.entry.js +1 -1
  306. package/dist/esm/vega-stepper.entry.js +13 -13
  307. package/dist/esm/vega-tab-group_2.entry.js +156 -70
  308. package/dist/esm/vega-table_11.entry.js +20 -20
  309. package/dist/esm/vega-text.entry.js +2 -2
  310. package/dist/esm/vega-textarea.entry.js +13 -13
  311. package/dist/esm/vega-time-picker_2.entry.js +26 -32
  312. package/dist/esm/vega-toggle-switch.entry.js +11 -11
  313. package/dist/esm/vega-tooltip_2.entry.js +12 -12
  314. package/dist/esm/vega.js +20 -20
  315. package/dist/esm/{wait-for-component-did-render-9a83d343.js → wait-for-component-did-render-4069cbea.js} +2 -2
  316. package/dist/sri/vega-sri-manifest.json +429 -429
  317. package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +2 -0
  318. package/dist/types/components/vega-accordion/vega-accordion.d.ts +2 -0
  319. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-preview-actions-controller.d.ts +36 -0
  320. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-keyboard-controller.d.ts +35 -0
  321. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +1 -0
  322. package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +7 -0
  323. package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +16 -0
  324. package/dist/types/components/vega-calendar/types.d.ts +32 -0
  325. package/dist/types/components/vega-calendar/vega-calendar-event-preview/assets/pen.d.ts +3 -0
  326. package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/controllers/vega-calendar-event-preview-state-controller.d.ts +1 -0
  327. package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +6 -0
  328. package/dist/types/components/vega-calendar/vega-calendar-event-preview/types.d.ts +6 -0
  329. package/dist/types/components/vega-calendar/vega-calendar-event-preview/vega-calendar-event-preview.d.ts +2 -0
  330. package/dist/types/components/vega-calendar/vega-calendar.d.ts +34 -1
  331. package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +2 -0
  332. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +1 -0
  333. package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +8 -0
  334. package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +2 -0
  335. package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +2 -1
  336. package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +2 -1
  337. package/dist/types/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.d.ts +2 -0
  338. package/dist/types/components/vega-rich-text-editor/interface.d.ts +5 -0
  339. package/dist/types/components/vega-rich-text-editor/public-api.d.ts +1 -1
  340. package/dist/types/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.d.ts +12 -0
  341. package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.d.ts +0 -1
  342. package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +2 -0
  343. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-voice-over-focus-controller.d.ts +23 -0
  344. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.d.ts +1 -0
  345. package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +2 -0
  346. package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +2 -0
  347. package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +5 -11
  348. package/dist/types/components.d.ts +46 -5
  349. package/dist/types/constants/ui.d.ts +1 -1
  350. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
  351. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  352. package/dist/types/helpers/translation/interface.d.ts +5 -0
  353. package/dist/types/types/components.type.d.ts +2 -0
  354. package/dist/types/types/public-api.d.ts +1 -0
  355. package/dist/types/utils/accessibility.d.ts +1 -0
  356. package/dist/types/utils/ui.d.ts +9 -0
  357. package/dist/vega/index.esm.js +1 -1
  358. package/dist/vega/{p-d8180e42.entry.js → p-018756ad.entry.js} +1 -1
  359. package/dist/vega/{p-7702a906.entry.js → p-01a54c29.entry.js} +1 -1
  360. package/dist/vega/p-042933f1.js +1 -0
  361. package/dist/vega/{p-6b5cb920.js → p-04a65b3f.js} +1 -1
  362. package/dist/vega/{p-423762ae.entry.js → p-07225567.entry.js} +1 -1
  363. package/dist/vega/{p-a07c5dae.js → p-09076646.js} +1 -1
  364. package/dist/vega/{p-3b791b5d.js → p-0a261b66.js} +1 -1
  365. package/dist/vega/p-0a322971.entry.js +1 -0
  366. package/dist/vega/{p-59c6dcf7.entry.js → p-0b41b49a.entry.js} +1 -1
  367. package/dist/vega/{p-1d30cab2.js → p-0d97dcb9.js} +1 -1
  368. package/dist/vega/{p-af5cb9bc.js → p-10fa27d2.js} +1 -1
  369. package/dist/vega/{p-f28a6074.js → p-11e2dcf5.js} +1 -1
  370. package/dist/vega/{p-2c1a85dd.entry.js → p-1250b1ab.entry.js} +1 -1
  371. package/dist/vega/{p-386895e9.js → p-154cc614.js} +1 -1
  372. package/dist/vega/p-15b4f1ce.entry.js +1 -0
  373. package/dist/vega/{p-e6adf829.js → p-1704ff25.js} +1 -1
  374. package/dist/vega/p-186df871.entry.js +1 -0
  375. package/dist/vega/{p-c95dbf11.js → p-189d36ec.js} +1 -1
  376. package/dist/vega/{p-c85e743d.js → p-19adf714.js} +1 -1
  377. package/dist/vega/{p-c2388937.entry.js → p-19df2831.entry.js} +1 -1
  378. package/dist/vega/{p-a46e977b.entry.js → p-1be90bab.entry.js} +1 -1
  379. package/dist/vega/{p-69c11b7b.entry.js → p-1da42a63.entry.js} +1 -1
  380. package/dist/vega/{p-096d186d.entry.js → p-255a7387.entry.js} +1 -1
  381. package/dist/vega/{p-1a869f0e.js → p-281fa1e0.js} +1 -1
  382. package/dist/vega/{p-9af0e2e7.js → p-2927b7a1.js} +1 -1
  383. package/dist/vega/p-294cff20.entry.js +1 -0
  384. package/dist/vega/{p-a87cb7ac.js → p-296c5e52.js} +1 -1
  385. package/dist/vega/{p-dba16739.js → p-2b2fefc6.js} +1 -1
  386. package/dist/vega/{p-c347e08a.js → p-2d694684.js} +1 -1
  387. package/dist/vega/{p-9eb00537.entry.js → p-2e0bdc53.entry.js} +1 -1
  388. package/dist/vega/{p-b7721666.js → p-31ebace1.js} +1 -1
  389. package/dist/vega/p-32a0f887.js +1 -0
  390. package/dist/vega/{p-c31a32f4.js → p-341d5e4e.js} +1 -1
  391. package/dist/vega/{p-e7a4b760.entry.js → p-3967fa98.entry.js} +1 -1
  392. package/dist/vega/{p-7f74cd41.entry.js → p-3a3720c7.entry.js} +1 -1
  393. package/dist/vega/p-3a620268.js +1 -0
  394. package/dist/vega/{p-6c43d54a.js → p-3a93730e.js} +1 -1
  395. package/dist/vega/{p-98a6cd8e.entry.js → p-3bf3c8bb.entry.js} +1 -1
  396. package/dist/vega/{p-6fadee27.entry.js → p-49341532.entry.js} +1 -1
  397. package/dist/vega/{p-77754d62.entry.js → p-4a6f241d.entry.js} +1 -1
  398. package/dist/vega/{p-3e64fa38.entry.js → p-4a954d9d.entry.js} +1 -1
  399. package/dist/vega/{p-9fc8bd1f.entry.js → p-4a9c8ec0.entry.js} +1 -1
  400. package/dist/vega/{p-8d48940d.js → p-4c91b13d.js} +1 -1
  401. package/dist/vega/p-4dd02704.js +1 -0
  402. package/dist/vega/p-50fb936f.entry.js +1 -0
  403. package/dist/vega/{p-da8bb883.entry.js → p-52645382.entry.js} +1 -1
  404. package/dist/vega/{p-73c6669e.entry.js → p-5b43a303.entry.js} +1 -1
  405. package/dist/vega/{p-cf2838c7.entry.js → p-5df7ab03.entry.js} +1 -1
  406. package/dist/vega/p-5f377954.js +1 -1
  407. package/dist/vega/p-612808ce.entry.js +1 -0
  408. package/dist/vega/{p-ecbb63a5.entry.js → p-636d890e.entry.js} +1 -1
  409. package/dist/vega/p-6399b5ed.js +1 -0
  410. package/dist/vega/{p-4afafeb3.entry.js → p-648be36d.entry.js} +1 -1
  411. package/dist/vega/p-686e0b6b.entry.js +1 -0
  412. package/dist/vega/p-6d4faebc.js +1 -0
  413. package/dist/vega/{p-2fb26f4f.entry.js → p-70ae9157.entry.js} +1 -1
  414. package/dist/vega/{p-e1fbfd20.js → p-724df1f5.js} +1 -1
  415. package/dist/vega/{p-fcce494e.js → p-72e2a587.js} +1 -1
  416. package/dist/vega/{p-1deedff2.entry.js → p-740f3325.entry.js} +1 -1
  417. package/dist/vega/{p-a050c24d.entry.js → p-74a1a82a.entry.js} +1 -1
  418. package/dist/vega/{p-264b3309.entry.js → p-76075a1c.entry.js} +1 -1
  419. package/dist/vega/{p-76063dcb.js → p-77fb5d5c.js} +1 -1
  420. package/dist/vega/{p-e4c4ea35.js → p-78ba7ca9.js} +1 -1
  421. package/dist/vega/{p-a49c25c2.entry.js → p-79bb216e.entry.js} +1 -1
  422. package/dist/vega/{p-d37636a5.entry.js → p-7e7e2f85.entry.js} +1 -1
  423. package/dist/vega/{p-c15a58b5.entry.js → p-7ffe8081.entry.js} +1 -1
  424. package/dist/vega/{p-4cefd7fe.js → p-8077b117.js} +1 -1
  425. package/dist/vega/{p-5bf3ab33.js → p-858ec529.js} +1 -1
  426. package/dist/vega/{p-0b5b0fd2.entry.js → p-879d3cc9.entry.js} +1 -1
  427. package/dist/vega/{p-ae1aa4df.js → p-891815d6.js} +1 -1
  428. package/dist/vega/p-8ce9e214.js +1 -0
  429. package/dist/vega/p-8d36afcc.entry.js +1 -0
  430. package/dist/vega/{p-a9e10a64.js → p-919de162.js} +1 -1
  431. package/dist/vega/{p-effb285f.entry.js → p-931dac8c.entry.js} +1 -1
  432. package/dist/vega/{p-c601b331.entry.js → p-979a5e91.entry.js} +1 -1
  433. package/dist/vega/{p-d402eb7b.entry.js → p-98dad153.entry.js} +1 -1
  434. package/dist/vega/p-9a6bd32c.js +1 -0
  435. package/dist/vega/p-9e0f8b46.entry.js +1 -0
  436. package/dist/vega/{p-487ecdb0.entry.js → p-a03341d8.entry.js} +1 -1
  437. package/dist/vega/{p-e1d2c60d.js → p-a0dd08b1.js} +1 -1
  438. package/dist/vega/p-a2b8d49d.js +1 -0
  439. package/dist/vega/p-a6565e02.js +1 -0
  440. package/dist/vega/{p-afd1b519.entry.js → p-a67d52ce.entry.js} +1 -1
  441. package/dist/vega/{p-411ea209.entry.js → p-aa4e9a4b.entry.js} +1 -1
  442. package/dist/vega/{p-fa91805b.entry.js → p-aa8f4713.entry.js} +1 -1
  443. package/dist/vega/{p-e27626f6.js → p-ab04eff6.js} +1 -1
  444. package/dist/vega/p-ab4c307b.js +1 -0
  445. package/dist/vega/{p-e47b2c4c.entry.js → p-ac26924d.entry.js} +1 -1
  446. package/dist/vega/{p-7f46cc1e.entry.js → p-adc64ff6.entry.js} +1 -1
  447. package/dist/vega/{p-031c0cf7.js → p-b02b985d.js} +1 -1
  448. package/dist/vega/{p-0bb0b521.entry.js → p-b69755c7.entry.js} +1 -1
  449. package/dist/vega/{p-c801c85d.js → p-b6be1f33.js} +1 -1
  450. package/dist/vega/{p-25572ea7.entry.js → p-bd47d8a7.entry.js} +1 -1
  451. package/dist/vega/{p-0b4880bd.entry.js → p-be783294.entry.js} +1 -1
  452. package/dist/vega/{p-79c12a64.entry.js → p-bee5dfb0.entry.js} +1 -1
  453. package/dist/vega/{p-45aaaef6.entry.js → p-c19132c9.entry.js} +1 -1
  454. package/dist/vega/p-c41b42eb.entry.js +1 -0
  455. package/dist/vega/{p-3d92d2af.entry.js → p-c45acdc3.entry.js} +1 -1
  456. package/dist/vega/{p-571a6d15.entry.js → p-ce034372.entry.js} +1 -1
  457. package/dist/vega/{p-bc74d7e7.entry.js → p-ce2d9efe.entry.js} +1 -1
  458. package/dist/vega/p-d05915af.entry.js +1 -0
  459. package/dist/vega/{p-c8fe46fd.entry.js → p-d1a6e126.entry.js} +1 -1
  460. package/dist/vega/{p-9297f4a9.entry.js → p-d286da1d.entry.js} +1 -1
  461. package/dist/vega/{p-3c456e91.entry.js → p-d4262f06.entry.js} +1 -1
  462. package/dist/vega/{p-23b38467.entry.js → p-d5aad9f0.entry.js} +1 -1
  463. package/dist/vega/{p-35d77c9c.entry.js → p-d97974be.entry.js} +1 -1
  464. package/dist/vega/{p-9e2b7718.entry.js → p-d9d4bdbf.entry.js} +1 -1
  465. package/dist/vega/{p-18e8d9b7.js → p-dcf162e9.js} +1 -1
  466. package/dist/vega/p-e46a23fc.entry.js +1 -0
  467. package/dist/vega/p-e5226de6.entry.js +1 -0
  468. package/dist/vega/{p-f604f2c9.entry.js → p-e7c930d9.entry.js} +1 -1
  469. package/dist/vega/p-e85497ec.entry.js +1 -0
  470. package/dist/vega/{p-34964a53.js → p-e8de9535.js} +1 -1
  471. package/dist/vega/{p-5904616e.js → p-e8ea3b16.js} +1 -1
  472. package/dist/vega/{p-2ae5acfc.entry.js → p-ea0e922f.entry.js} +1 -1
  473. package/dist/vega/p-ea48decc.js +1 -0
  474. package/dist/vega/{p-82039afd.entry.js → p-eb78a2f2.entry.js} +1 -1
  475. package/dist/vega/p-ec2333f7.entry.js +1 -0
  476. package/dist/vega/{p-6e70d3cc.js → p-ec2a1d4c.js} +1 -1
  477. package/dist/vega/{p-9f064488.entry.js → p-ec663f00.entry.js} +1 -1
  478. package/dist/vega/p-ed2b0e01.entry.js +1 -0
  479. package/dist/vega/p-ef13b346.js +1 -0
  480. package/dist/vega/{p-78099a83.entry.js → p-f5ae99b4.entry.js} +1 -1
  481. package/dist/vega/{p-d10ae46a.entry.js → p-fdb97cb7.entry.js} +1 -1
  482. package/dist/vega/{p-295326ca.entry.js → p-fe220f3a.entry.js} +1 -1
  483. package/dist/vega/{p-115d6053.entry.js → p-ff5208f5.entry.js} +1 -1
  484. package/dist/vega/vega.esm.js +1 -1
  485. package/package.json +6 -6
  486. package/dist/vega/p-13e7f906.entry.js +0 -1
  487. package/dist/vega/p-358b4a06.entry.js +0 -1
  488. package/dist/vega/p-4415ad28.js +0 -1
  489. package/dist/vega/p-4530f0e1.entry.js +0 -1
  490. package/dist/vega/p-51fcb07f.entry.js +0 -1
  491. package/dist/vega/p-5657f768.js +0 -1
  492. package/dist/vega/p-56c1a8ac.entry.js +0 -1
  493. package/dist/vega/p-57f220b5.js +0 -1
  494. package/dist/vega/p-593e0f80.js +0 -1
  495. package/dist/vega/p-5e50dbb9.js +0 -1
  496. package/dist/vega/p-606d7113.entry.js +0 -1
  497. package/dist/vega/p-64b566be.entry.js +0 -1
  498. package/dist/vega/p-6ac8e655.js +0 -1
  499. package/dist/vega/p-77300901.js +0 -1
  500. package/dist/vega/p-887b3e2d.entry.js +0 -1
  501. package/dist/vega/p-9763fbbe.entry.js +0 -1
  502. package/dist/vega/p-9f36abf9.entry.js +0 -1
  503. package/dist/vega/p-9f728e0b.js +0 -1
  504. package/dist/vega/p-a9528dbd.entry.js +0 -1
  505. package/dist/vega/p-bceee942.entry.js +0 -1
  506. package/dist/vega/p-c2e1f33d.entry.js +0 -1
  507. package/dist/vega/p-c51ebb14.entry.js +0 -1
  508. package/dist/vega/p-c74060a7.js +0 -1
  509. package/dist/vega/p-dffbbc3d.entry.js +0 -1
  510. package/dist/vega/p-ed26f4c8.entry.js +0 -1
  511. package/dist/vega/p-f1c672e4.js +0 -1
  512. package/dist/vega/p-f54fb4e5.js +0 -1
  513. package/dist/vega/p-fb05335d.js +0 -1
  514. package/dist/vega/p-fcb0d4d8.js +0 -1
  515. /package/dist/cjs/{index-f054eb5d.js → index-3ca118c4.js} +0 -0
  516. /package/dist/esm/{index-bfc6dfa2.js → index-9c9865c0.js} +0 -0
  517. /package/dist/vega/{p-5a25014f.js → p-982747ef.js} +0 -0
@@ -1 +0,0 @@
1
- import{r as i,h as t,H as p,g as s,F as e,c as o}from"./p-6b2342e0.js";import{s as m}from"./p-519a7d55.js";import{g as v}from"./p-49a2e141.js";import{I as a,c as n,M as z,V as g}from"./p-6e1ab235.js";import{aa as r,ab as d}from"./p-e4c4ea35.js";import"./p-3b791b5d.js";import"./p-18e8d9b7.js";import"./p-1a869f0e.js";import{V as h,I as x}from"./p-4415ad28.js";import{P as l}from"./p-81dd00d0.js";import{D as L}from"./p-f28a6074.js";import{g as b,a as f,P as S}from"./p-9af0e2e7.js";import{c as M}from"./p-6b5cb920.js";import{C as X}from"./p-e27626f6.js";import{C as c}from"./p-2bb5a232.js";import{c as y}from"./p-2a9960c9.js";import{M as u}from"./p-78a57a17.js";import{T as w}from"./p-52b8f2d2.js";import{g as j}from"./p-8b5d3a52.js";import{c as C}from"./p-6ac8e655.js";import{D as k}from"./p-d4ea8e22.js";import{g as O,D as R,f as D}from"./p-6e70d3cc.js";import{C as E}from"./p-2d0d575f.js";import{S as T}from"./p-a528714c.js";import{c as I}from"./p-6a334573.js";import{A as P}from"./p-a9e10a64.js";import{I as H}from"./p-781fd6e0.js";import"./p-ed45b3b6.js";import"./p-d884c644.js";import"./p-5a25014f.js";import"./p-b75ee3ba.js";import"./p-331a62d5.js";import"./p-f1c672e4.js";import"./p-5f377954.js";import"./p-4866e390.js";import"./p-f0e828d8.js";import"./p-a841cf13.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";import"./p-1fb56e14.js";import"./p-6c43d54a.js";var B=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};const V=class{constructor(t){i(this,t),this.globalSlimmers={},this.pageResizeObserverSlimmer=new l,this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.dialogDefaultSize=480,this.currentBreakpoint=v(),this.type="default",this.showCancel=!0,this.modalProps={},this.handleCancelBtnClick=i=>{const t=new CustomEvent("vegaClick",{detail:i.detail});this.handleCancel&&!this.handleCancel(t)||this.host.remove()},this.handleOkBtnClick=i=>{const t=new CustomEvent("vegaClick",{detail:i.detail});this.handleOk&&!this.handleOk(t)||this.host.remove()}}render(){var i,s;const e=["default","S"].includes(this.currentBreakpoint),o={default:"default",M:"small"},v="danger"===this.type,a=Object.assign(Object.assign({size:o,danger:v},this.okButton),{block:e}),n=Object.assign(Object.assign({size:o,variant:"secondary",danger:v},this.cancelButton),{block:e}),z=Object.assign(Object.assign({},this.modalProps),{isVerticallyCentered:void 0!==this.modalProps.isVerticallyCentered||void 0!==this.modalProps.isVerticallyCenter?this.modalProps.isVerticallyCentered||this.modalProps.isVerticallyCenter:e,size:this.modalProps.size||this.dialogDefaultSize,open:!0,modalTitle:this.dialogTitle,backdrop:"static"});return m(t(p,null,t("vega-modal",Object.assign({},z,{ref:i=>{L.addUniqueObserverToNode(i,b,(()=>{this.onModalClose()}))}}),t("div",{slot:"modal-content",class:"vega-dialog-modal-content"},this.content),t("div",{slot:"modal-footer"},t("div",{class:"vega-dialog-actions-container"},this.showCancel&&t("vega-button",Object.assign({},n,{ref:i=>{L.addUniqueObserverToNode(i,f,(i=>{this.handleCancelBtnClick(i)}))}}),(null===(i=this.cancelButton)||void 0===i?void 0:i.label)||"Cancel"),t("vega-button",Object.assign({},a,{ref:i=>{L.addUniqueObserverToNode(i,f,(i=>{this.handleOkBtnClick(i)}))}}),(null===(s=this.okButton)||void 0===s?void 0:s.label)||"OK"))))),this.host)}onModalClose(){this.host.remove()}get host(){return s(this)}};B([x()],V.prototype,"globalSlimmers",void 0),B([a()],V.prototype,"pageResizeObserverSlimmer",void 0),B([a()],V.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),V.style=':host vega-modal{padding-left:16px;padding-right:16px}@media (min-width: 768px){:host vega-modal{padding:0px}}:host .vega-dialog-actions-container{display:flex;justify-content:center;flex-direction:column;gap:12px}@media (min-width: 768px){:host .vega-dialog-actions-container{justify-content:flex-end;flex-direction:row}}:host .vega-dialog-modal-content{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));white-space:pre-line;word-break:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-dialog-modal-content{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-dialog-modal-content{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-dialog-modal-content{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}';const A=[{payloadKey:"IS_VERTICALLY_CENTER",payloadDescription:"@deprecated Determines whether the modal is vertically centered on the screen.",payloadValue:i=>!0===i.isVerticallyCenter},{payloadKey:"IS_NOT_VERTICALLY_CENTER",payloadDescription:"@deprecated Determines whether the modal is vertically centered on the screen.",payloadValue:i=>!1===i.isVerticallyCenter}];var F=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class _ extends u{constructor(){super({mutationFilter:w("VEGA-MODAL"),options:{childList:!0,subtree:!0},callback:()=>{this.appendNestedModalToBody()}})}connectedCallback(){this.appendNestedModalToBody()}appendNestedModalToBody(){this.host.querySelectorAll("vega-modal").forEach((i=>{document.body.append(i)}))}}F([n()],_.prototype,"host",void 0),F([z("connectedCallback")],_.prototype,"connectedCallback",null);var N=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class U extends g{constructor(){super(...arguments),this.titleId=j()}getModalContentRef(){return this.modalContent}getModalFooterRef(){return this.modalFooter}getModalContainerRef(){return this.modalContainer}render(){return t(p,{class:{"align-center":this.deprecatedPropertySlimmer.getValue()&&this.openState.isOpen,animation:this.animation,"is-section-padding":d(this.padding)}},t("vega-box",{class:"modal-dialog",role:"dialog","aria-modal":"true","aria-labelledby":this.titleId,width:r(this.size)?this.size:k,height:this.height,margin:this.margin},this.renderContainer()))}renderContainer(){return t("div",{class:"modal-container",ref:i=>this.modalContainer=i},this.renderHeader(),this.renderContent(),this.renderFooter())}renderHeader(){return t("vega-box",{class:{"vega-modal-header":!0,"vega-modal-header-with-title":this.hasModalTitle(),"vega-modal-header-with-icon":this.showCloseButton,"vega-modal-header-with-content-scroll":this.isContentScrollable()},padding:this.sectionPaddingState.getHeaderPadding(),id:this.titleId},this.renderTitle(),this.showCloseButton&&this.renderCloseBtn())}renderContent(){return t("vega-box",{class:{"vega-modal-content":!0,"vega-modal-content-with-scroll":this.isContentScrollable()},padding:this.sectionPaddingState.getContentPadding(),maxHeight:this.contentMaxHeight,ref:i=>this.modalContent=i},t(e,null,t("slot",null),t("slot",{name:"content"}),t("slot",{name:"modal-content"})))}renderFooter(){return t("vega-box",{class:{"vega-modal-footer":!0,"vega-modal-footer-with-slot":this.hasModalFooter(),"vega-modal-footer-with-content-scroll":this.isContentScrollable()},padding:this.sectionPaddingState.getFooterPadding(),ref:i=>this.modalFooter=i},t(e,null,t("slot",{name:"footer"}),t("slot",{name:"modal-footer"})))}renderTitle(){return t("div",{class:"vega-modal-title"},this.modalTitle?t("div",{innerHTML:this.modalTitle}):t(e,null,t("slot",{name:"title"}),t("slot",{name:"modal-title"})))}renderCloseBtn(){return t("div",{"aria-label":"Close Button",class:"vega-modal-close-btn","data-dismiss":"modal",onClick:this.openStateController.onModalClose,role:"button",tabIndex:0,onKeyDown:C()},t("vega-icon",{icon:"close",size:"size-16"}))}hasModalFooter(){return null!==this.host.querySelector("[slot='modal-footer']")||null!==this.host.querySelector("[slot='footer']")}isContentScrollable(){return Boolean(this.contentMaxHeight)}hasModalTitle(){return Boolean(this.modalTitle)||null!==this.host.querySelector("[slot='modal-title']")||null!==this.host.querySelector("[slot='title']")}}N([n()],U.prototype,"host",void 0),N([n()],U.prototype,"animation",void 0),N([n()],U.prototype,"open",void 0),N([n()],U.prototype,"openState",void 0),N([n()],U.prototype,"padding",void 0),N([n()],U.prototype,"margin",void 0),N([n()],U.prototype,"size",void 0),N([n()],U.prototype,"height",void 0),N([n()],U.prototype,"showCloseButton",void 0),N([n()],U.prototype,"modalTitle",void 0),N([n()],U.prototype,"contentMaxHeight",void 0),N([n()],U.prototype,"handleClose",void 0),N([n()],U.prototype,"deprecatedPropertySlimmer",void 0),N([n()],U.prototype,"openStateController",void 0),N([n()],U.prototype,"sectionPaddingState",void 0);var G=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class K extends g{componentDidLoad(){O()!==R.DESKTOP&&"none"!==this.backdrop&&this.disableBackdropTouchMove()}disableBackdropTouchMove(){this.host.addEventListener("touchstart",(i=>{this.touchStartY=i.targetTouches[0].pageY}),{capture:!0}),this.host.addEventListener("touchmove",(i=>{i.target===this.host&&(this.host.scrollTop<=0&&this.touchStartY<i.targetTouches[0].pageY||this.host.scrollHeight-this.host.scrollTop<=this.host.clientHeight&&this.touchStartY>i.targetTouches[0].pageY)&&i.preventDefault()}),{capture:!0})}}G([n()],K.prototype,"host",void 0),G([n()],K.prototype,"backdrop",void 0),G([z("componentDidLoad")],K.prototype,"componentDidLoad",null);var W=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class Y extends g{constructor(){super(...arguments),this.scrollEventListenerAdded=!1}componentDidLoad(){this.isContentScrollable()&&this.listenContentScroll()}watchContentMaxHeight(){!this.scrollEventListenerAdded&&this.isContentScrollable()&&this.listenContentScroll()}isContentScrollable(){return Boolean(this.contentMaxHeight)}listenContentScroll(){const i=this.renderer.getModalContentRef(),t=this.renderer.getModalFooterRef();i.addEventListener("scroll",(()=>{i.scrollHeight-i.scrollTop<=i.clientHeight?t.classList.add("vega-modal-footer-with-content-scroll-to-bottom"):t.classList.remove("vega-modal-footer-with-content-scroll-to-bottom"),this.notifyContentScrolling()})),this.scrollEventListenerAdded=!0}notifyContentScrolling(){E.notify(T,{host:this.host})}}W([n()],Y.prototype,"host",void 0),W([n()],Y.prototype,"contentMaxHeight",void 0),W([n()],Y.prototype,"renderer",void 0),W([z("componentDidLoad")],Y.prototype,"componentDidLoad",null),W([z("watchContentMaxHeight")],Y.prototype,"watchContentMaxHeight",null);class ${constructor(i,t){this.isOpen=i,this.triggerBy=t}}var Z=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class q extends g{constructor(){super(...arguments),this.ariaDialogFocusableTrapSlimmer=I(q,P,[],[{mapFrom:"ariaDialogToggle",mapTo:"toggle"}],[{triggerEl:()=>null,dialogEl:()=>this.renderer.getModalContainerRef()}]),this.onModalClose=i=>{i.preventDefault(),i.stopPropagation(),this.handleClose&&!this.handleClose()||this.close("close-button")}}disconnectedCallback(){this.close("remove-node")}componentDidLoad(){this.openState.isOpen&&this.toggle()}componentDidRender(){}watchOpenState(i,t){i.isOpen!==t.isOpen&&(this.toggle(),this.open=i.isOpen)}listenDataTarget(i){const t=i.composedPath()[0];"VEGA-MODAL"===t.tagName&&"default"===this.backdrop&&t===this.host&&(this.backdropMouseDownOnHost&&this.backdropMouseUpOnHost?this.close("backdrop"):this.changeOpenState(!0,"backdrop"),this.resetBackdropClickFlags()),this.host.id&&(t.getAttribute("data-target")===this.host.id||D(t,`[data-target=${this.host.id}]`))&&(i.preventDefault(),this.changeOpenState(!0,"data-target"))}listenDataDismiss(i){i.target.closest("[data-dismiss='modal']")&&(i.preventDefault(),this.close("data-dismiss"))}listenMouseDown(i){this.backdropMouseDownOnHost=this.isBackdropClickTargeted(i)}listenMouseUp(i){this.backdropMouseUpOnHost=this.isBackdropClickTargeted(i)}modal(i){switch(i){case"show":this.changeOpenState(!0,"method");break;default:this.close("method")}}close(i){if(!this.openState.isOpen)return;const t=this.closeEventEmitter.emit({trigger:i});t&&t.defaultPrevented||this.changeOpenState(!1,i)}ariaDialogToggle(i){}changeOpenState(i,t){this.openState.isOpen!==i&&(this.openState=new $(i,t))}toggle(){this.openState.isOpen?this.openedModalStackController.push():this.openedModalStackController.remove(),this.updateDocumentRootOverflow(),this.backdropController.setBackdrop(),this.zIndexController.setModalZIndex(),this.removeBackdropWhileNoModalShow(),this.emitEvent(),this.setModalVisibility(),this.ariaDialogToggle(this.openState.isOpen)}setModalVisibility(){this.host.style.display=this.openState.isOpen?"flex":"none"}emitEvent(){this.openState.isOpen?this.openEventEmitter.emit():"property"===this.openState.triggerBy&&this.closeEventEmitter.emit({trigger:"property"})}updateDocumentRootOverflow(){if("none"===this.backdrop)return;const i=this.openedModalStackController.length();this.openState.isOpen&&1===i?document.body.classList.add("disable-scroll-in-desktop"):this.openState.isOpen||0!==i||document.body.classList.remove("disable-scroll-in-desktop")}removeBackdropWhileNoModalShow(){this.openState.isOpen||0!==this.openedModalStackController.length()||this.backdropController.removeBackdrop()}isBackdropClickTargeted(i){const t=i.composedPath()[0];return"VEGA-MODAL"===t.tagName&&t===this.host}resetBackdropClickFlags(){this.backdropMouseDownOnHost=!1,this.backdropMouseUpOnHost=!1}}Z([n()],q.prototype,"host",void 0),Z([n({writable:!0})],q.prototype,"open",void 0),Z([n({writable:!0})],q.prototype,"openState",void 0),Z([n()],q.prototype,"backdrop",void 0),Z([n()],q.prototype,"handleClose",void 0),Z([n()],q.prototype,"closeEventEmitter",void 0),Z([n()],q.prototype,"openEventEmitter",void 0),Z([n()],q.prototype,"backdropController",void 0),Z([n()],q.prototype,"openedModalStackController",void 0),Z([n()],q.prototype,"zIndexController",void 0),Z([n()],q.prototype,"renderer",void 0),Z([a()],q.prototype,"ariaDialogFocusableTrapSlimmer",void 0),Z([z("disconnectedCallback")],q.prototype,"disconnectedCallback",null),Z([z("componentDidLoad")],q.prototype,"componentDidLoad",null),Z([z("componentDidRender")],q.prototype,"componentDidRender",null),Z([z("watchOpenState")],q.prototype,"watchOpenState",null),Z([z("listenDataTarget")],q.prototype,"listenDataTarget",null),Z([z("listenDataDismiss")],q.prototype,"listenDataDismiss",null),Z([z("listenMouseDown")],q.prototype,"listenMouseDown",null),Z([z("listenMouseUp")],q.prototype,"listenMouseUp",null),Z([z("modal")],q.prototype,"modal",null);var J=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class Q extends g{getBackdropRef(){return this.backdropRef}setBackdrop(){var i;if("none"===this.backdrop)return;let t=document.querySelector(`vega-backdrop.${Q.modalBackdropClass}`);t||(t=document.createElement("vega-backdrop"),t.classList.add(Q.modalBackdropClass),t.color=Q.backdropColorMap[this.backdropColor],t.visible=!0,(null!==(i=this.host.parentElement)&&void 0!==i?i:document.body).append(t)),this.backdropRef=t}removeBackdrop(){this.backdropRef&&this.backdropRef.remove()}}Q.modalBackdropClass="vega-modal-backdrop",Q.backdropColorMap={default:"bg-backdrop-modal",semi:"bg-backdrop-popover",none:"bg-transparent"},J([n()],Q.prototype,"host",void 0),J([n()],Q.prototype,"backdrop",void 0),J([n()],Q.prototype,"backdropColor",void 0);class ii extends g{push(){ii.openedModalStack.push(this.host)}remove(){ii.openedModalStack=ii.openedModalStack.filter((i=>i!==this.host))}length(){return ii.openedModalStack.length}peek(){const i=this.length();return i>0?ii.openedModalStack[i-1]:null}}ii.openedModalStack=[],function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);o>3&&m&&Object.defineProperty(t,p,m)}([n()],ii.prototype,"host",void 0);var ti=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class pi extends g{setModalZIndex(){const i=this.backdropController.getBackdropRef();this.openState.isOpen?(H.setZIndex(i,"base"),H.setZIndex(this.host,"base")):(H.removeZIndex(i,"base"),H.removeZIndex(this.host,"base"),this.openedModalStackController.length()>0&&(H.setZIndex(i,"base"),H.setZIndex(this.openedModalStackController.peek(),"base")))}}ti([n()],pi.prototype,"host",void 0),ti([n()],pi.prototype,"open",void 0),ti([n()],pi.prototype,"openState",void 0),ti([n()],pi.prototype,"backdropController",void 0),ti([n()],pi.prototype,"openedModalStackController",void 0);class si{constructor(i){if(d(i))this.sectionPadding=Object.assign({},si.defaultSectionPadding,i);else{const t=!i||"object"==typeof i&&0===Object.keys(i).length?si.defaultPadding:i;this.sectionPadding={header:t,content:t,footer:t}}}getHeaderPadding(){return this.sectionPadding.header}getContentPadding(){return this.sectionPadding.content}getFooterPadding(){return this.sectionPadding.footer}}si.defaultPadding="size-24",si.defaultSectionPadding={header:{x:si.defaultPadding,top:si.defaultPadding,bottom:"size-16"},content:{x:si.defaultPadding,y:"0"},footer:si.defaultPadding};var ei=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};class oi extends g{componentWillLoad(){this.setSectionPaddingState()}watchPadding(){this.setSectionPaddingState()}setSectionPaddingState(){this.sectionPaddingState=new si(this.padding)}}ei([n({writable:!0})],oi.prototype,"sectionPaddingState",void 0),ei([n()],oi.prototype,"padding",void 0),ei([z("componentWillLoad")],oi.prototype,"componentWillLoad",null),ei([z("watchPadding")],oi.prototype,"watchPadding",null);var mi=function(i,t,p,s){var e,o=arguments.length,m=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,p):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)m=Reflect.decorate(i,t,p,s);else for(var v=i.length-1;v>=0;v--)(e=i[v])&&(m=(o<3?e(m):o>3?e(t,p,m):e(t,p))||m);return o>3&&m&&Object.defineProperty(t,p,m),m};const vi=class{constructor(t){i(this,t),this.vegaClose=o(this,"vegaClose",7),this.close=o(this,"close",7),this.vegaOpen=o(this,"vegaOpen",7),this.modalOpen=o(this,"modalOpen",7),this.globalSlimmers={},this.nestedModalController=new _,this.openStateController=new q,this.mobileController=new K,this.scrollController=new Y,this.backdropController=new Q,this.openedModalStackController=new ii,this.zIndexController=new pi,this.paddingStateController=new oi,this.renderer=new U,this.openEventEmitter=M(vi,S),this.closeEventEmitter=M(vi,b),this.childNodesEventPrevent=new X([S,b],(()=>this.renderer.getModalContainerRef())),this.componentGlobalStyleSlimmer=new c("body.disable-scroll-in-desktop{max-height:100vh !important;overflow:hidden !important}"),this.deprecatedPropertySlimmer=y(vi,"isVerticallyCentered","isVerticallyCenter",!1),this.vegaComponentUsageRuntimeMetricsSlimmer=new h(A),this.openState=this.initOpenState(),this.backdrop="default",this.open=!1,this.animation=!1,this.modalTitle="",this.backdropColor="default",this.isVerticallyCenter=!1,this.isVerticallyCentered=!1,this.showCloseButton=!0,this.padding="size-24",this.margin={y:"size-64",x:"auto"},this.handleClose=void 0}watchOpenState(){}watchSize(){}watchHeight(){}watchOpen(){this.openState=new $(this.open,"property")}watchPadding(){}watchContentMaxHeight(){}listenDataTarget(i){}listenDataDismiss(i){}listenMouseDown(i){}listenMouseUp(i){}async modal(i){}render(){return m(this.renderer.render(),this.host)}initOpenState(){return new $(this.open,"property")}get host(){return s(this)}static get watchers(){return{openState:["watchOpenState"],size:["watchSize"],height:["watchHeight"],open:["watchOpen"],padding:["watchPadding"],contentMaxHeight:["watchContentMaxHeight"]}}};mi([x()],vi.prototype,"globalSlimmers",void 0),mi([a()],vi.prototype,"nestedModalController",void 0),mi([a()],vi.prototype,"openStateController",void 0),mi([a()],vi.prototype,"mobileController",void 0),mi([a()],vi.prototype,"scrollController",void 0),mi([a()],vi.prototype,"backdropController",void 0),mi([a()],vi.prototype,"openedModalStackController",void 0),mi([a()],vi.prototype,"zIndexController",void 0),mi([a()],vi.prototype,"paddingStateController",void 0),mi([a()],vi.prototype,"renderer",void 0),mi([a()],vi.prototype,"openEventEmitter",void 0),mi([a()],vi.prototype,"closeEventEmitter",void 0),mi([a()],vi.prototype,"childNodesEventPrevent",void 0),mi([a()],vi.prototype,"componentGlobalStyleSlimmer",void 0),mi([a()],vi.prototype,"deprecatedPropertySlimmer",void 0),mi([a()],vi.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),vi.style=':host(.v-p-0),.v-p-0{padding:0px}:host(.v-px-0),.v-px-0{padding-left:0px;padding-right:0px}:host(.v-py-0),.v-py-0{padding-top:0px;padding-bottom:0px}:host(.v-pt-0),.v-pt-0{padding-top:0px}:host(.v-pb-0),.v-pb-0{padding-bottom:0px}:host(.v-pr-0),.v-pr-0{padding-right:0px}:host(.v-pl-0),.v-pl-0{padding-left:0px}:host(.v-p-size-0),.v-p-size-0{padding:0px}:host(.v-px-size-0),.v-px-size-0{padding-left:0px;padding-right:0px}:host(.v-py-size-0),.v-py-size-0{padding-top:0px;padding-bottom:0px}:host(.v-pt-size-0),.v-pt-size-0{padding-top:0px}:host(.v-pb-size-0),.v-pb-size-0{padding-bottom:0px}:host(.v-pr-size-0),.v-pr-size-0{padding-right:0px}:host(.v-pl-size-0),.v-pl-size-0{padding-left:0px}:host(.v-p-size-4),.v-p-size-4{padding:4px}:host(.v-px-size-4),.v-px-size-4{padding-left:4px;padding-right:4px}:host(.v-py-size-4),.v-py-size-4{padding-top:4px;padding-bottom:4px}:host(.v-pt-size-4),.v-pt-size-4{padding-top:4px}:host(.v-pb-size-4),.v-pb-size-4{padding-bottom:4px}:host(.v-pr-size-4),.v-pr-size-4{padding-right:4px}:host(.v-pl-size-4),.v-pl-size-4{padding-left:4px}:host(.v-p-size-8),.v-p-size-8{padding:8px}:host(.v-px-size-8),.v-px-size-8{padding-left:8px;padding-right:8px}:host(.v-py-size-8),.v-py-size-8{padding-top:8px;padding-bottom:8px}:host(.v-pt-size-8),.v-pt-size-8{padding-top:8px}:host(.v-pb-size-8),.v-pb-size-8{padding-bottom:8px}:host(.v-pr-size-8),.v-pr-size-8{padding-right:8px}:host(.v-pl-size-8),.v-pl-size-8{padding-left:8px}:host(.v-p-size-12),.v-p-size-12{padding:12px}:host(.v-px-size-12),.v-px-size-12{padding-left:12px;padding-right:12px}:host(.v-py-size-12),.v-py-size-12{padding-top:12px;padding-bottom:12px}:host(.v-pt-size-12),.v-pt-size-12{padding-top:12px}:host(.v-pb-size-12),.v-pb-size-12{padding-bottom:12px}:host(.v-pr-size-12),.v-pr-size-12{padding-right:12px}:host(.v-pl-size-12),.v-pl-size-12{padding-left:12px}:host(.v-p-size-16),.v-p-size-16{padding:16px}:host(.v-px-size-16),.v-px-size-16{padding-left:16px;padding-right:16px}:host(.v-py-size-16),.v-py-size-16{padding-top:16px;padding-bottom:16px}:host(.v-pt-size-16),.v-pt-size-16{padding-top:16px}:host(.v-pb-size-16),.v-pb-size-16{padding-bottom:16px}:host(.v-pr-size-16),.v-pr-size-16{padding-right:16px}:host(.v-pl-size-16),.v-pl-size-16{padding-left:16px}:host(.v-p-size-20),.v-p-size-20{padding:20px}:host(.v-px-size-20),.v-px-size-20{padding-left:20px;padding-right:20px}:host(.v-py-size-20),.v-py-size-20{padding-top:20px;padding-bottom:20px}:host(.v-pt-size-20),.v-pt-size-20{padding-top:20px}:host(.v-pb-size-20),.v-pb-size-20{padding-bottom:20px}:host(.v-pr-size-20),.v-pr-size-20{padding-right:20px}:host(.v-pl-size-20),.v-pl-size-20{padding-left:20px}:host(.v-p-size-24),.v-p-size-24{padding:24px}:host(.v-px-size-24),.v-px-size-24{padding-left:24px;padding-right:24px}:host(.v-py-size-24),.v-py-size-24{padding-top:24px;padding-bottom:24px}:host(.v-pt-size-24),.v-pt-size-24{padding-top:24px}:host(.v-pb-size-24),.v-pb-size-24{padding-bottom:24px}:host(.v-pr-size-24),.v-pr-size-24{padding-right:24px}:host(.v-pl-size-24),.v-pl-size-24{padding-left:24px}:host(.v-p-size-32),.v-p-size-32{padding:32px}:host(.v-px-size-32),.v-px-size-32{padding-left:32px;padding-right:32px}:host(.v-py-size-32),.v-py-size-32{padding-top:32px;padding-bottom:32px}:host(.v-pt-size-32),.v-pt-size-32{padding-top:32px}:host(.v-pb-size-32),.v-pb-size-32{padding-bottom:32px}:host(.v-pr-size-32),.v-pr-size-32{padding-right:32px}:host(.v-pl-size-32),.v-pl-size-32{padding-left:32px}:host(.v-p-size-40),.v-p-size-40{padding:40px}:host(.v-px-size-40),.v-px-size-40{padding-left:40px;padding-right:40px}:host(.v-py-size-40),.v-py-size-40{padding-top:40px;padding-bottom:40px}:host(.v-pt-size-40),.v-pt-size-40{padding-top:40px}:host(.v-pb-size-40),.v-pb-size-40{padding-bottom:40px}:host(.v-pr-size-40),.v-pr-size-40{padding-right:40px}:host(.v-pl-size-40),.v-pl-size-40{padding-left:40px}:host(.v-p-size-48),.v-p-size-48{padding:48px}:host(.v-px-size-48),.v-px-size-48{padding-left:48px;padding-right:48px}:host(.v-py-size-48),.v-py-size-48{padding-top:48px;padding-bottom:48px}:host(.v-pt-size-48),.v-pt-size-48{padding-top:48px}:host(.v-pb-size-48),.v-pb-size-48{padding-bottom:48px}:host(.v-pr-size-48),.v-pr-size-48{padding-right:48px}:host(.v-pl-size-48),.v-pl-size-48{padding-left:48px}:host(.v-p-size-64),.v-p-size-64{padding:64px}:host(.v-px-size-64),.v-px-size-64{padding-left:64px;padding-right:64px}:host(.v-py-size-64),.v-py-size-64{padding-top:64px;padding-bottom:64px}:host(.v-pt-size-64),.v-pt-size-64{padding-top:64px}:host(.v-pb-size-64),.v-pb-size-64{padding-bottom:64px}:host(.v-pr-size-64),.v-pr-size-64{padding-right:64px}:host(.v-pl-size-64),.v-pl-size-64{padding-left:64px}:host(.v-p-size-72),.v-p-size-72{padding:72px}:host(.v-px-size-72),.v-px-size-72{padding-left:72px;padding-right:72px}:host(.v-py-size-72),.v-py-size-72{padding-top:72px;padding-bottom:72px}:host(.v-pt-size-72),.v-pt-size-72{padding-top:72px}:host(.v-pb-size-72),.v-pb-size-72{padding-bottom:72px}:host(.v-pr-size-72),.v-pr-size-72{padding-right:72px}:host(.v-pl-size-72),.v-pl-size-72{padding-left:72px}:host(.v-p-size-80),.v-p-size-80{padding:80px}:host(.v-px-size-80),.v-px-size-80{padding-left:80px;padding-right:80px}:host(.v-py-size-80),.v-py-size-80{padding-top:80px;padding-bottom:80px}:host(.v-pt-size-80),.v-pt-size-80{padding-top:80px}:host(.v-pb-size-80),.v-pb-size-80{padding-bottom:80px}:host(.v-pr-size-80),.v-pr-size-80{padding-right:80px}:host(.v-pl-size-80),.v-pl-size-80{padding-left:80px}:host(.v-p-size-112),.v-p-size-112{padding:112px}:host(.v-px-size-112),.v-px-size-112{padding-left:112px;padding-right:112px}:host(.v-py-size-112),.v-py-size-112{padding-top:112px;padding-bottom:112px}:host(.v-pt-size-112),.v-pt-size-112{padding-top:112px}:host(.v-pb-size-112),.v-pb-size-112{padding-bottom:112px}:host(.v-pr-size-112),.v-pr-size-112{padding-right:112px}:host(.v-pl-size-112),.v-pl-size-112{padding-left:112px}:host(.v-p-size-2),.v-p-size-2{padding:2px}:host(.v-px-size-2),.v-px-size-2{padding-left:2px;padding-right:2px}:host(.v-py-size-2),.v-py-size-2{padding-top:2px;padding-bottom:2px}:host(.v-pt-size-2),.v-pt-size-2{padding-top:2px}:host(.v-pb-size-2),.v-pb-size-2{padding-bottom:2px}:host(.v-pr-size-2),.v-pr-size-2{padding-right:2px}:host(.v-pl-size-2),.v-pl-size-2{padding-left:2px}@media (min-width: 320px){:host(.S\\:v-p-0),.S\\:v-p-0{padding:0px}:host(.S\\:v-px-0),.S\\:v-px-0{padding-left:0px;padding-right:0px}:host(.S\\:v-py-0),.S\\:v-py-0{padding-top:0px;padding-bottom:0px}:host(.S\\:v-pt-0),.S\\:v-pt-0{padding-top:0px}:host(.S\\:v-pb-0),.S\\:v-pb-0{padding-bottom:0px}:host(.S\\:v-pr-0),.S\\:v-pr-0{padding-right:0px}:host(.S\\:v-pl-0),.S\\:v-pl-0{padding-left:0px}:host(.S\\:v-p-size-0),.S\\:v-p-size-0{padding:0px}:host(.S\\:v-px-size-0),.S\\:v-px-size-0{padding-left:0px;padding-right:0px}:host(.S\\:v-py-size-0),.S\\:v-py-size-0{padding-top:0px;padding-bottom:0px}:host(.S\\:v-pt-size-0),.S\\:v-pt-size-0{padding-top:0px}:host(.S\\:v-pb-size-0),.S\\:v-pb-size-0{padding-bottom:0px}:host(.S\\:v-pr-size-0),.S\\:v-pr-size-0{padding-right:0px}:host(.S\\:v-pl-size-0),.S\\:v-pl-size-0{padding-left:0px}:host(.S\\:v-p-size-4),.S\\:v-p-size-4{padding:4px}:host(.S\\:v-px-size-4),.S\\:v-px-size-4{padding-left:4px;padding-right:4px}:host(.S\\:v-py-size-4),.S\\:v-py-size-4{padding-top:4px;padding-bottom:4px}:host(.S\\:v-pt-size-4),.S\\:v-pt-size-4{padding-top:4px}:host(.S\\:v-pb-size-4),.S\\:v-pb-size-4{padding-bottom:4px}:host(.S\\:v-pr-size-4),.S\\:v-pr-size-4{padding-right:4px}:host(.S\\:v-pl-size-4),.S\\:v-pl-size-4{padding-left:4px}:host(.S\\:v-p-size-8),.S\\:v-p-size-8{padding:8px}:host(.S\\:v-px-size-8),.S\\:v-px-size-8{padding-left:8px;padding-right:8px}:host(.S\\:v-py-size-8),.S\\:v-py-size-8{padding-top:8px;padding-bottom:8px}:host(.S\\:v-pt-size-8),.S\\:v-pt-size-8{padding-top:8px}:host(.S\\:v-pb-size-8),.S\\:v-pb-size-8{padding-bottom:8px}:host(.S\\:v-pr-size-8),.S\\:v-pr-size-8{padding-right:8px}:host(.S\\:v-pl-size-8),.S\\:v-pl-size-8{padding-left:8px}:host(.S\\:v-p-size-12),.S\\:v-p-size-12{padding:12px}:host(.S\\:v-px-size-12),.S\\:v-px-size-12{padding-left:12px;padding-right:12px}:host(.S\\:v-py-size-12),.S\\:v-py-size-12{padding-top:12px;padding-bottom:12px}:host(.S\\:v-pt-size-12),.S\\:v-pt-size-12{padding-top:12px}:host(.S\\:v-pb-size-12),.S\\:v-pb-size-12{padding-bottom:12px}:host(.S\\:v-pr-size-12),.S\\:v-pr-size-12{padding-right:12px}:host(.S\\:v-pl-size-12),.S\\:v-pl-size-12{padding-left:12px}:host(.S\\:v-p-size-16),.S\\:v-p-size-16{padding:16px}:host(.S\\:v-px-size-16),.S\\:v-px-size-16{padding-left:16px;padding-right:16px}:host(.S\\:v-py-size-16),.S\\:v-py-size-16{padding-top:16px;padding-bottom:16px}:host(.S\\:v-pt-size-16),.S\\:v-pt-size-16{padding-top:16px}:host(.S\\:v-pb-size-16),.S\\:v-pb-size-16{padding-bottom:16px}:host(.S\\:v-pr-size-16),.S\\:v-pr-size-16{padding-right:16px}:host(.S\\:v-pl-size-16),.S\\:v-pl-size-16{padding-left:16px}:host(.S\\:v-p-size-20),.S\\:v-p-size-20{padding:20px}:host(.S\\:v-px-size-20),.S\\:v-px-size-20{padding-left:20px;padding-right:20px}:host(.S\\:v-py-size-20),.S\\:v-py-size-20{padding-top:20px;padding-bottom:20px}:host(.S\\:v-pt-size-20),.S\\:v-pt-size-20{padding-top:20px}:host(.S\\:v-pb-size-20),.S\\:v-pb-size-20{padding-bottom:20px}:host(.S\\:v-pr-size-20),.S\\:v-pr-size-20{padding-right:20px}:host(.S\\:v-pl-size-20),.S\\:v-pl-size-20{padding-left:20px}:host(.S\\:v-p-size-24),.S\\:v-p-size-24{padding:24px}:host(.S\\:v-px-size-24),.S\\:v-px-size-24{padding-left:24px;padding-right:24px}:host(.S\\:v-py-size-24),.S\\:v-py-size-24{padding-top:24px;padding-bottom:24px}:host(.S\\:v-pt-size-24),.S\\:v-pt-size-24{padding-top:24px}:host(.S\\:v-pb-size-24),.S\\:v-pb-size-24{padding-bottom:24px}:host(.S\\:v-pr-size-24),.S\\:v-pr-size-24{padding-right:24px}:host(.S\\:v-pl-size-24),.S\\:v-pl-size-24{padding-left:24px}:host(.S\\:v-p-size-32),.S\\:v-p-size-32{padding:32px}:host(.S\\:v-px-size-32),.S\\:v-px-size-32{padding-left:32px;padding-right:32px}:host(.S\\:v-py-size-32),.S\\:v-py-size-32{padding-top:32px;padding-bottom:32px}:host(.S\\:v-pt-size-32),.S\\:v-pt-size-32{padding-top:32px}:host(.S\\:v-pb-size-32),.S\\:v-pb-size-32{padding-bottom:32px}:host(.S\\:v-pr-size-32),.S\\:v-pr-size-32{padding-right:32px}:host(.S\\:v-pl-size-32),.S\\:v-pl-size-32{padding-left:32px}:host(.S\\:v-p-size-40),.S\\:v-p-size-40{padding:40px}:host(.S\\:v-px-size-40),.S\\:v-px-size-40{padding-left:40px;padding-right:40px}:host(.S\\:v-py-size-40),.S\\:v-py-size-40{padding-top:40px;padding-bottom:40px}:host(.S\\:v-pt-size-40),.S\\:v-pt-size-40{padding-top:40px}:host(.S\\:v-pb-size-40),.S\\:v-pb-size-40{padding-bottom:40px}:host(.S\\:v-pr-size-40),.S\\:v-pr-size-40{padding-right:40px}:host(.S\\:v-pl-size-40),.S\\:v-pl-size-40{padding-left:40px}:host(.S\\:v-p-size-48),.S\\:v-p-size-48{padding:48px}:host(.S\\:v-px-size-48),.S\\:v-px-size-48{padding-left:48px;padding-right:48px}:host(.S\\:v-py-size-48),.S\\:v-py-size-48{padding-top:48px;padding-bottom:48px}:host(.S\\:v-pt-size-48),.S\\:v-pt-size-48{padding-top:48px}:host(.S\\:v-pb-size-48),.S\\:v-pb-size-48{padding-bottom:48px}:host(.S\\:v-pr-size-48),.S\\:v-pr-size-48{padding-right:48px}:host(.S\\:v-pl-size-48),.S\\:v-pl-size-48{padding-left:48px}:host(.S\\:v-p-size-64),.S\\:v-p-size-64{padding:64px}:host(.S\\:v-px-size-64),.S\\:v-px-size-64{padding-left:64px;padding-right:64px}:host(.S\\:v-py-size-64),.S\\:v-py-size-64{padding-top:64px;padding-bottom:64px}:host(.S\\:v-pt-size-64),.S\\:v-pt-size-64{padding-top:64px}:host(.S\\:v-pb-size-64),.S\\:v-pb-size-64{padding-bottom:64px}:host(.S\\:v-pr-size-64),.S\\:v-pr-size-64{padding-right:64px}:host(.S\\:v-pl-size-64),.S\\:v-pl-size-64{padding-left:64px}:host(.S\\:v-p-size-72),.S\\:v-p-size-72{padding:72px}:host(.S\\:v-px-size-72),.S\\:v-px-size-72{padding-left:72px;padding-right:72px}:host(.S\\:v-py-size-72),.S\\:v-py-size-72{padding-top:72px;padding-bottom:72px}:host(.S\\:v-pt-size-72),.S\\:v-pt-size-72{padding-top:72px}:host(.S\\:v-pb-size-72),.S\\:v-pb-size-72{padding-bottom:72px}:host(.S\\:v-pr-size-72),.S\\:v-pr-size-72{padding-right:72px}:host(.S\\:v-pl-size-72),.S\\:v-pl-size-72{padding-left:72px}:host(.S\\:v-p-size-80),.S\\:v-p-size-80{padding:80px}:host(.S\\:v-px-size-80),.S\\:v-px-size-80{padding-left:80px;padding-right:80px}:host(.S\\:v-py-size-80),.S\\:v-py-size-80{padding-top:80px;padding-bottom:80px}:host(.S\\:v-pt-size-80),.S\\:v-pt-size-80{padding-top:80px}:host(.S\\:v-pb-size-80),.S\\:v-pb-size-80{padding-bottom:80px}:host(.S\\:v-pr-size-80),.S\\:v-pr-size-80{padding-right:80px}:host(.S\\:v-pl-size-80),.S\\:v-pl-size-80{padding-left:80px}:host(.S\\:v-p-size-112),.S\\:v-p-size-112{padding:112px}:host(.S\\:v-px-size-112),.S\\:v-px-size-112{padding-left:112px;padding-right:112px}:host(.S\\:v-py-size-112),.S\\:v-py-size-112{padding-top:112px;padding-bottom:112px}:host(.S\\:v-pt-size-112),.S\\:v-pt-size-112{padding-top:112px}:host(.S\\:v-pb-size-112),.S\\:v-pb-size-112{padding-bottom:112px}:host(.S\\:v-pr-size-112),.S\\:v-pr-size-112{padding-right:112px}:host(.S\\:v-pl-size-112),.S\\:v-pl-size-112{padding-left:112px}:host(.S\\:v-p-size-2),.S\\:v-p-size-2{padding:2px}:host(.S\\:v-px-size-2),.S\\:v-px-size-2{padding-left:2px;padding-right:2px}:host(.S\\:v-py-size-2),.S\\:v-py-size-2{padding-top:2px;padding-bottom:2px}:host(.S\\:v-pt-size-2),.S\\:v-pt-size-2{padding-top:2px}:host(.S\\:v-pb-size-2),.S\\:v-pb-size-2{padding-bottom:2px}:host(.S\\:v-pr-size-2),.S\\:v-pr-size-2{padding-right:2px}:host(.S\\:v-pl-size-2),.S\\:v-pl-size-2{padding-left:2px}}@media (min-width: 768px){:host(.M\\:v-p-0),.M\\:v-p-0{padding:0px}:host(.M\\:v-px-0),.M\\:v-px-0{padding-left:0px;padding-right:0px}:host(.M\\:v-py-0),.M\\:v-py-0{padding-top:0px;padding-bottom:0px}:host(.M\\:v-pt-0),.M\\:v-pt-0{padding-top:0px}:host(.M\\:v-pb-0),.M\\:v-pb-0{padding-bottom:0px}:host(.M\\:v-pr-0),.M\\:v-pr-0{padding-right:0px}:host(.M\\:v-pl-0),.M\\:v-pl-0{padding-left:0px}:host(.M\\:v-p-size-0),.M\\:v-p-size-0{padding:0px}:host(.M\\:v-px-size-0),.M\\:v-px-size-0{padding-left:0px;padding-right:0px}:host(.M\\:v-py-size-0),.M\\:v-py-size-0{padding-top:0px;padding-bottom:0px}:host(.M\\:v-pt-size-0),.M\\:v-pt-size-0{padding-top:0px}:host(.M\\:v-pb-size-0),.M\\:v-pb-size-0{padding-bottom:0px}:host(.M\\:v-pr-size-0),.M\\:v-pr-size-0{padding-right:0px}:host(.M\\:v-pl-size-0),.M\\:v-pl-size-0{padding-left:0px}:host(.M\\:v-p-size-4),.M\\:v-p-size-4{padding:4px}:host(.M\\:v-px-size-4),.M\\:v-px-size-4{padding-left:4px;padding-right:4px}:host(.M\\:v-py-size-4),.M\\:v-py-size-4{padding-top:4px;padding-bottom:4px}:host(.M\\:v-pt-size-4),.M\\:v-pt-size-4{padding-top:4px}:host(.M\\:v-pb-size-4),.M\\:v-pb-size-4{padding-bottom:4px}:host(.M\\:v-pr-size-4),.M\\:v-pr-size-4{padding-right:4px}:host(.M\\:v-pl-size-4),.M\\:v-pl-size-4{padding-left:4px}:host(.M\\:v-p-size-8),.M\\:v-p-size-8{padding:8px}:host(.M\\:v-px-size-8),.M\\:v-px-size-8{padding-left:8px;padding-right:8px}:host(.M\\:v-py-size-8),.M\\:v-py-size-8{padding-top:8px;padding-bottom:8px}:host(.M\\:v-pt-size-8),.M\\:v-pt-size-8{padding-top:8px}:host(.M\\:v-pb-size-8),.M\\:v-pb-size-8{padding-bottom:8px}:host(.M\\:v-pr-size-8),.M\\:v-pr-size-8{padding-right:8px}:host(.M\\:v-pl-size-8),.M\\:v-pl-size-8{padding-left:8px}:host(.M\\:v-p-size-12),.M\\:v-p-size-12{padding:12px}:host(.M\\:v-px-size-12),.M\\:v-px-size-12{padding-left:12px;padding-right:12px}:host(.M\\:v-py-size-12),.M\\:v-py-size-12{padding-top:12px;padding-bottom:12px}:host(.M\\:v-pt-size-12),.M\\:v-pt-size-12{padding-top:12px}:host(.M\\:v-pb-size-12),.M\\:v-pb-size-12{padding-bottom:12px}:host(.M\\:v-pr-size-12),.M\\:v-pr-size-12{padding-right:12px}:host(.M\\:v-pl-size-12),.M\\:v-pl-size-12{padding-left:12px}:host(.M\\:v-p-size-16),.M\\:v-p-size-16{padding:16px}:host(.M\\:v-px-size-16),.M\\:v-px-size-16{padding-left:16px;padding-right:16px}:host(.M\\:v-py-size-16),.M\\:v-py-size-16{padding-top:16px;padding-bottom:16px}:host(.M\\:v-pt-size-16),.M\\:v-pt-size-16{padding-top:16px}:host(.M\\:v-pb-size-16),.M\\:v-pb-size-16{padding-bottom:16px}:host(.M\\:v-pr-size-16),.M\\:v-pr-size-16{padding-right:16px}:host(.M\\:v-pl-size-16),.M\\:v-pl-size-16{padding-left:16px}:host(.M\\:v-p-size-20),.M\\:v-p-size-20{padding:20px}:host(.M\\:v-px-size-20),.M\\:v-px-size-20{padding-left:20px;padding-right:20px}:host(.M\\:v-py-size-20),.M\\:v-py-size-20{padding-top:20px;padding-bottom:20px}:host(.M\\:v-pt-size-20),.M\\:v-pt-size-20{padding-top:20px}:host(.M\\:v-pb-size-20),.M\\:v-pb-size-20{padding-bottom:20px}:host(.M\\:v-pr-size-20),.M\\:v-pr-size-20{padding-right:20px}:host(.M\\:v-pl-size-20),.M\\:v-pl-size-20{padding-left:20px}:host(.M\\:v-p-size-24),.M\\:v-p-size-24{padding:24px}:host(.M\\:v-px-size-24),.M\\:v-px-size-24{padding-left:24px;padding-right:24px}:host(.M\\:v-py-size-24),.M\\:v-py-size-24{padding-top:24px;padding-bottom:24px}:host(.M\\:v-pt-size-24),.M\\:v-pt-size-24{padding-top:24px}:host(.M\\:v-pb-size-24),.M\\:v-pb-size-24{padding-bottom:24px}:host(.M\\:v-pr-size-24),.M\\:v-pr-size-24{padding-right:24px}:host(.M\\:v-pl-size-24),.M\\:v-pl-size-24{padding-left:24px}:host(.M\\:v-p-size-32),.M\\:v-p-size-32{padding:32px}:host(.M\\:v-px-size-32),.M\\:v-px-size-32{padding-left:32px;padding-right:32px}:host(.M\\:v-py-size-32),.M\\:v-py-size-32{padding-top:32px;padding-bottom:32px}:host(.M\\:v-pt-size-32),.M\\:v-pt-size-32{padding-top:32px}:host(.M\\:v-pb-size-32),.M\\:v-pb-size-32{padding-bottom:32px}:host(.M\\:v-pr-size-32),.M\\:v-pr-size-32{padding-right:32px}:host(.M\\:v-pl-size-32),.M\\:v-pl-size-32{padding-left:32px}:host(.M\\:v-p-size-40),.M\\:v-p-size-40{padding:40px}:host(.M\\:v-px-size-40),.M\\:v-px-size-40{padding-left:40px;padding-right:40px}:host(.M\\:v-py-size-40),.M\\:v-py-size-40{padding-top:40px;padding-bottom:40px}:host(.M\\:v-pt-size-40),.M\\:v-pt-size-40{padding-top:40px}:host(.M\\:v-pb-size-40),.M\\:v-pb-size-40{padding-bottom:40px}:host(.M\\:v-pr-size-40),.M\\:v-pr-size-40{padding-right:40px}:host(.M\\:v-pl-size-40),.M\\:v-pl-size-40{padding-left:40px}:host(.M\\:v-p-size-48),.M\\:v-p-size-48{padding:48px}:host(.M\\:v-px-size-48),.M\\:v-px-size-48{padding-left:48px;padding-right:48px}:host(.M\\:v-py-size-48),.M\\:v-py-size-48{padding-top:48px;padding-bottom:48px}:host(.M\\:v-pt-size-48),.M\\:v-pt-size-48{padding-top:48px}:host(.M\\:v-pb-size-48),.M\\:v-pb-size-48{padding-bottom:48px}:host(.M\\:v-pr-size-48),.M\\:v-pr-size-48{padding-right:48px}:host(.M\\:v-pl-size-48),.M\\:v-pl-size-48{padding-left:48px}:host(.M\\:v-p-size-64),.M\\:v-p-size-64{padding:64px}:host(.M\\:v-px-size-64),.M\\:v-px-size-64{padding-left:64px;padding-right:64px}:host(.M\\:v-py-size-64),.M\\:v-py-size-64{padding-top:64px;padding-bottom:64px}:host(.M\\:v-pt-size-64),.M\\:v-pt-size-64{padding-top:64px}:host(.M\\:v-pb-size-64),.M\\:v-pb-size-64{padding-bottom:64px}:host(.M\\:v-pr-size-64),.M\\:v-pr-size-64{padding-right:64px}:host(.M\\:v-pl-size-64),.M\\:v-pl-size-64{padding-left:64px}:host(.M\\:v-p-size-72),.M\\:v-p-size-72{padding:72px}:host(.M\\:v-px-size-72),.M\\:v-px-size-72{padding-left:72px;padding-right:72px}:host(.M\\:v-py-size-72),.M\\:v-py-size-72{padding-top:72px;padding-bottom:72px}:host(.M\\:v-pt-size-72),.M\\:v-pt-size-72{padding-top:72px}:host(.M\\:v-pb-size-72),.M\\:v-pb-size-72{padding-bottom:72px}:host(.M\\:v-pr-size-72),.M\\:v-pr-size-72{padding-right:72px}:host(.M\\:v-pl-size-72),.M\\:v-pl-size-72{padding-left:72px}:host(.M\\:v-p-size-80),.M\\:v-p-size-80{padding:80px}:host(.M\\:v-px-size-80),.M\\:v-px-size-80{padding-left:80px;padding-right:80px}:host(.M\\:v-py-size-80),.M\\:v-py-size-80{padding-top:80px;padding-bottom:80px}:host(.M\\:v-pt-size-80),.M\\:v-pt-size-80{padding-top:80px}:host(.M\\:v-pb-size-80),.M\\:v-pb-size-80{padding-bottom:80px}:host(.M\\:v-pr-size-80),.M\\:v-pr-size-80{padding-right:80px}:host(.M\\:v-pl-size-80),.M\\:v-pl-size-80{padding-left:80px}:host(.M\\:v-p-size-112),.M\\:v-p-size-112{padding:112px}:host(.M\\:v-px-size-112),.M\\:v-px-size-112{padding-left:112px;padding-right:112px}:host(.M\\:v-py-size-112),.M\\:v-py-size-112{padding-top:112px;padding-bottom:112px}:host(.M\\:v-pt-size-112),.M\\:v-pt-size-112{padding-top:112px}:host(.M\\:v-pb-size-112),.M\\:v-pb-size-112{padding-bottom:112px}:host(.M\\:v-pr-size-112),.M\\:v-pr-size-112{padding-right:112px}:host(.M\\:v-pl-size-112),.M\\:v-pl-size-112{padding-left:112px}:host(.M\\:v-p-size-2),.M\\:v-p-size-2{padding:2px}:host(.M\\:v-px-size-2),.M\\:v-px-size-2{padding-left:2px;padding-right:2px}:host(.M\\:v-py-size-2),.M\\:v-py-size-2{padding-top:2px;padding-bottom:2px}:host(.M\\:v-pt-size-2),.M\\:v-pt-size-2{padding-top:2px}:host(.M\\:v-pb-size-2),.M\\:v-pb-size-2{padding-bottom:2px}:host(.M\\:v-pr-size-2),.M\\:v-pr-size-2{padding-right:2px}:host(.M\\:v-pl-size-2),.M\\:v-pl-size-2{padding-left:2px}}@media (min-width: 1024px){:host(.L\\:v-p-0),.L\\:v-p-0{padding:0px}:host(.L\\:v-px-0),.L\\:v-px-0{padding-left:0px;padding-right:0px}:host(.L\\:v-py-0),.L\\:v-py-0{padding-top:0px;padding-bottom:0px}:host(.L\\:v-pt-0),.L\\:v-pt-0{padding-top:0px}:host(.L\\:v-pb-0),.L\\:v-pb-0{padding-bottom:0px}:host(.L\\:v-pr-0),.L\\:v-pr-0{padding-right:0px}:host(.L\\:v-pl-0),.L\\:v-pl-0{padding-left:0px}:host(.L\\:v-p-size-0),.L\\:v-p-size-0{padding:0px}:host(.L\\:v-px-size-0),.L\\:v-px-size-0{padding-left:0px;padding-right:0px}:host(.L\\:v-py-size-0),.L\\:v-py-size-0{padding-top:0px;padding-bottom:0px}:host(.L\\:v-pt-size-0),.L\\:v-pt-size-0{padding-top:0px}:host(.L\\:v-pb-size-0),.L\\:v-pb-size-0{padding-bottom:0px}:host(.L\\:v-pr-size-0),.L\\:v-pr-size-0{padding-right:0px}:host(.L\\:v-pl-size-0),.L\\:v-pl-size-0{padding-left:0px}:host(.L\\:v-p-size-4),.L\\:v-p-size-4{padding:4px}:host(.L\\:v-px-size-4),.L\\:v-px-size-4{padding-left:4px;padding-right:4px}:host(.L\\:v-py-size-4),.L\\:v-py-size-4{padding-top:4px;padding-bottom:4px}:host(.L\\:v-pt-size-4),.L\\:v-pt-size-4{padding-top:4px}:host(.L\\:v-pb-size-4),.L\\:v-pb-size-4{padding-bottom:4px}:host(.L\\:v-pr-size-4),.L\\:v-pr-size-4{padding-right:4px}:host(.L\\:v-pl-size-4),.L\\:v-pl-size-4{padding-left:4px}:host(.L\\:v-p-size-8),.L\\:v-p-size-8{padding:8px}:host(.L\\:v-px-size-8),.L\\:v-px-size-8{padding-left:8px;padding-right:8px}:host(.L\\:v-py-size-8),.L\\:v-py-size-8{padding-top:8px;padding-bottom:8px}:host(.L\\:v-pt-size-8),.L\\:v-pt-size-8{padding-top:8px}:host(.L\\:v-pb-size-8),.L\\:v-pb-size-8{padding-bottom:8px}:host(.L\\:v-pr-size-8),.L\\:v-pr-size-8{padding-right:8px}:host(.L\\:v-pl-size-8),.L\\:v-pl-size-8{padding-left:8px}:host(.L\\:v-p-size-12),.L\\:v-p-size-12{padding:12px}:host(.L\\:v-px-size-12),.L\\:v-px-size-12{padding-left:12px;padding-right:12px}:host(.L\\:v-py-size-12),.L\\:v-py-size-12{padding-top:12px;padding-bottom:12px}:host(.L\\:v-pt-size-12),.L\\:v-pt-size-12{padding-top:12px}:host(.L\\:v-pb-size-12),.L\\:v-pb-size-12{padding-bottom:12px}:host(.L\\:v-pr-size-12),.L\\:v-pr-size-12{padding-right:12px}:host(.L\\:v-pl-size-12),.L\\:v-pl-size-12{padding-left:12px}:host(.L\\:v-p-size-16),.L\\:v-p-size-16{padding:16px}:host(.L\\:v-px-size-16),.L\\:v-px-size-16{padding-left:16px;padding-right:16px}:host(.L\\:v-py-size-16),.L\\:v-py-size-16{padding-top:16px;padding-bottom:16px}:host(.L\\:v-pt-size-16),.L\\:v-pt-size-16{padding-top:16px}:host(.L\\:v-pb-size-16),.L\\:v-pb-size-16{padding-bottom:16px}:host(.L\\:v-pr-size-16),.L\\:v-pr-size-16{padding-right:16px}:host(.L\\:v-pl-size-16),.L\\:v-pl-size-16{padding-left:16px}:host(.L\\:v-p-size-20),.L\\:v-p-size-20{padding:20px}:host(.L\\:v-px-size-20),.L\\:v-px-size-20{padding-left:20px;padding-right:20px}:host(.L\\:v-py-size-20),.L\\:v-py-size-20{padding-top:20px;padding-bottom:20px}:host(.L\\:v-pt-size-20),.L\\:v-pt-size-20{padding-top:20px}:host(.L\\:v-pb-size-20),.L\\:v-pb-size-20{padding-bottom:20px}:host(.L\\:v-pr-size-20),.L\\:v-pr-size-20{padding-right:20px}:host(.L\\:v-pl-size-20),.L\\:v-pl-size-20{padding-left:20px}:host(.L\\:v-p-size-24),.L\\:v-p-size-24{padding:24px}:host(.L\\:v-px-size-24),.L\\:v-px-size-24{padding-left:24px;padding-right:24px}:host(.L\\:v-py-size-24),.L\\:v-py-size-24{padding-top:24px;padding-bottom:24px}:host(.L\\:v-pt-size-24),.L\\:v-pt-size-24{padding-top:24px}:host(.L\\:v-pb-size-24),.L\\:v-pb-size-24{padding-bottom:24px}:host(.L\\:v-pr-size-24),.L\\:v-pr-size-24{padding-right:24px}:host(.L\\:v-pl-size-24),.L\\:v-pl-size-24{padding-left:24px}:host(.L\\:v-p-size-32),.L\\:v-p-size-32{padding:32px}:host(.L\\:v-px-size-32),.L\\:v-px-size-32{padding-left:32px;padding-right:32px}:host(.L\\:v-py-size-32),.L\\:v-py-size-32{padding-top:32px;padding-bottom:32px}:host(.L\\:v-pt-size-32),.L\\:v-pt-size-32{padding-top:32px}:host(.L\\:v-pb-size-32),.L\\:v-pb-size-32{padding-bottom:32px}:host(.L\\:v-pr-size-32),.L\\:v-pr-size-32{padding-right:32px}:host(.L\\:v-pl-size-32),.L\\:v-pl-size-32{padding-left:32px}:host(.L\\:v-p-size-40),.L\\:v-p-size-40{padding:40px}:host(.L\\:v-px-size-40),.L\\:v-px-size-40{padding-left:40px;padding-right:40px}:host(.L\\:v-py-size-40),.L\\:v-py-size-40{padding-top:40px;padding-bottom:40px}:host(.L\\:v-pt-size-40),.L\\:v-pt-size-40{padding-top:40px}:host(.L\\:v-pb-size-40),.L\\:v-pb-size-40{padding-bottom:40px}:host(.L\\:v-pr-size-40),.L\\:v-pr-size-40{padding-right:40px}:host(.L\\:v-pl-size-40),.L\\:v-pl-size-40{padding-left:40px}:host(.L\\:v-p-size-48),.L\\:v-p-size-48{padding:48px}:host(.L\\:v-px-size-48),.L\\:v-px-size-48{padding-left:48px;padding-right:48px}:host(.L\\:v-py-size-48),.L\\:v-py-size-48{padding-top:48px;padding-bottom:48px}:host(.L\\:v-pt-size-48),.L\\:v-pt-size-48{padding-top:48px}:host(.L\\:v-pb-size-48),.L\\:v-pb-size-48{padding-bottom:48px}:host(.L\\:v-pr-size-48),.L\\:v-pr-size-48{padding-right:48px}:host(.L\\:v-pl-size-48),.L\\:v-pl-size-48{padding-left:48px}:host(.L\\:v-p-size-64),.L\\:v-p-size-64{padding:64px}:host(.L\\:v-px-size-64),.L\\:v-px-size-64{padding-left:64px;padding-right:64px}:host(.L\\:v-py-size-64),.L\\:v-py-size-64{padding-top:64px;padding-bottom:64px}:host(.L\\:v-pt-size-64),.L\\:v-pt-size-64{padding-top:64px}:host(.L\\:v-pb-size-64),.L\\:v-pb-size-64{padding-bottom:64px}:host(.L\\:v-pr-size-64),.L\\:v-pr-size-64{padding-right:64px}:host(.L\\:v-pl-size-64),.L\\:v-pl-size-64{padding-left:64px}:host(.L\\:v-p-size-72),.L\\:v-p-size-72{padding:72px}:host(.L\\:v-px-size-72),.L\\:v-px-size-72{padding-left:72px;padding-right:72px}:host(.L\\:v-py-size-72),.L\\:v-py-size-72{padding-top:72px;padding-bottom:72px}:host(.L\\:v-pt-size-72),.L\\:v-pt-size-72{padding-top:72px}:host(.L\\:v-pb-size-72),.L\\:v-pb-size-72{padding-bottom:72px}:host(.L\\:v-pr-size-72),.L\\:v-pr-size-72{padding-right:72px}:host(.L\\:v-pl-size-72),.L\\:v-pl-size-72{padding-left:72px}:host(.L\\:v-p-size-80),.L\\:v-p-size-80{padding:80px}:host(.L\\:v-px-size-80),.L\\:v-px-size-80{padding-left:80px;padding-right:80px}:host(.L\\:v-py-size-80),.L\\:v-py-size-80{padding-top:80px;padding-bottom:80px}:host(.L\\:v-pt-size-80),.L\\:v-pt-size-80{padding-top:80px}:host(.L\\:v-pb-size-80),.L\\:v-pb-size-80{padding-bottom:80px}:host(.L\\:v-pr-size-80),.L\\:v-pr-size-80{padding-right:80px}:host(.L\\:v-pl-size-80),.L\\:v-pl-size-80{padding-left:80px}:host(.L\\:v-p-size-112),.L\\:v-p-size-112{padding:112px}:host(.L\\:v-px-size-112),.L\\:v-px-size-112{padding-left:112px;padding-right:112px}:host(.L\\:v-py-size-112),.L\\:v-py-size-112{padding-top:112px;padding-bottom:112px}:host(.L\\:v-pt-size-112),.L\\:v-pt-size-112{padding-top:112px}:host(.L\\:v-pb-size-112),.L\\:v-pb-size-112{padding-bottom:112px}:host(.L\\:v-pr-size-112),.L\\:v-pr-size-112{padding-right:112px}:host(.L\\:v-pl-size-112),.L\\:v-pl-size-112{padding-left:112px}:host(.L\\:v-p-size-2),.L\\:v-p-size-2{padding:2px}:host(.L\\:v-px-size-2),.L\\:v-px-size-2{padding-left:2px;padding-right:2px}:host(.L\\:v-py-size-2),.L\\:v-py-size-2{padding-top:2px;padding-bottom:2px}:host(.L\\:v-pt-size-2),.L\\:v-pt-size-2{padding-top:2px}:host(.L\\:v-pb-size-2),.L\\:v-pb-size-2{padding-bottom:2px}:host(.L\\:v-pr-size-2),.L\\:v-pr-size-2{padding-right:2px}:host(.L\\:v-pl-size-2),.L\\:v-pl-size-2{padding-left:2px}}@media (min-width: 1440px){:host(.XL\\:v-p-0),.XL\\:v-p-0{padding:0px}:host(.XL\\:v-px-0),.XL\\:v-px-0{padding-left:0px;padding-right:0px}:host(.XL\\:v-py-0),.XL\\:v-py-0{padding-top:0px;padding-bottom:0px}:host(.XL\\:v-pt-0),.XL\\:v-pt-0{padding-top:0px}:host(.XL\\:v-pb-0),.XL\\:v-pb-0{padding-bottom:0px}:host(.XL\\:v-pr-0),.XL\\:v-pr-0{padding-right:0px}:host(.XL\\:v-pl-0),.XL\\:v-pl-0{padding-left:0px}:host(.XL\\:v-p-size-0),.XL\\:v-p-size-0{padding:0px}:host(.XL\\:v-px-size-0),.XL\\:v-px-size-0{padding-left:0px;padding-right:0px}:host(.XL\\:v-py-size-0),.XL\\:v-py-size-0{padding-top:0px;padding-bottom:0px}:host(.XL\\:v-pt-size-0),.XL\\:v-pt-size-0{padding-top:0px}:host(.XL\\:v-pb-size-0),.XL\\:v-pb-size-0{padding-bottom:0px}:host(.XL\\:v-pr-size-0),.XL\\:v-pr-size-0{padding-right:0px}:host(.XL\\:v-pl-size-0),.XL\\:v-pl-size-0{padding-left:0px}:host(.XL\\:v-p-size-4),.XL\\:v-p-size-4{padding:4px}:host(.XL\\:v-px-size-4),.XL\\:v-px-size-4{padding-left:4px;padding-right:4px}:host(.XL\\:v-py-size-4),.XL\\:v-py-size-4{padding-top:4px;padding-bottom:4px}:host(.XL\\:v-pt-size-4),.XL\\:v-pt-size-4{padding-top:4px}:host(.XL\\:v-pb-size-4),.XL\\:v-pb-size-4{padding-bottom:4px}:host(.XL\\:v-pr-size-4),.XL\\:v-pr-size-4{padding-right:4px}:host(.XL\\:v-pl-size-4),.XL\\:v-pl-size-4{padding-left:4px}:host(.XL\\:v-p-size-8),.XL\\:v-p-size-8{padding:8px}:host(.XL\\:v-px-size-8),.XL\\:v-px-size-8{padding-left:8px;padding-right:8px}:host(.XL\\:v-py-size-8),.XL\\:v-py-size-8{padding-top:8px;padding-bottom:8px}:host(.XL\\:v-pt-size-8),.XL\\:v-pt-size-8{padding-top:8px}:host(.XL\\:v-pb-size-8),.XL\\:v-pb-size-8{padding-bottom:8px}:host(.XL\\:v-pr-size-8),.XL\\:v-pr-size-8{padding-right:8px}:host(.XL\\:v-pl-size-8),.XL\\:v-pl-size-8{padding-left:8px}:host(.XL\\:v-p-size-12),.XL\\:v-p-size-12{padding:12px}:host(.XL\\:v-px-size-12),.XL\\:v-px-size-12{padding-left:12px;padding-right:12px}:host(.XL\\:v-py-size-12),.XL\\:v-py-size-12{padding-top:12px;padding-bottom:12px}:host(.XL\\:v-pt-size-12),.XL\\:v-pt-size-12{padding-top:12px}:host(.XL\\:v-pb-size-12),.XL\\:v-pb-size-12{padding-bottom:12px}:host(.XL\\:v-pr-size-12),.XL\\:v-pr-size-12{padding-right:12px}:host(.XL\\:v-pl-size-12),.XL\\:v-pl-size-12{padding-left:12px}:host(.XL\\:v-p-size-16),.XL\\:v-p-size-16{padding:16px}:host(.XL\\:v-px-size-16),.XL\\:v-px-size-16{padding-left:16px;padding-right:16px}:host(.XL\\:v-py-size-16),.XL\\:v-py-size-16{padding-top:16px;padding-bottom:16px}:host(.XL\\:v-pt-size-16),.XL\\:v-pt-size-16{padding-top:16px}:host(.XL\\:v-pb-size-16),.XL\\:v-pb-size-16{padding-bottom:16px}:host(.XL\\:v-pr-size-16),.XL\\:v-pr-size-16{padding-right:16px}:host(.XL\\:v-pl-size-16),.XL\\:v-pl-size-16{padding-left:16px}:host(.XL\\:v-p-size-20),.XL\\:v-p-size-20{padding:20px}:host(.XL\\:v-px-size-20),.XL\\:v-px-size-20{padding-left:20px;padding-right:20px}:host(.XL\\:v-py-size-20),.XL\\:v-py-size-20{padding-top:20px;padding-bottom:20px}:host(.XL\\:v-pt-size-20),.XL\\:v-pt-size-20{padding-top:20px}:host(.XL\\:v-pb-size-20),.XL\\:v-pb-size-20{padding-bottom:20px}:host(.XL\\:v-pr-size-20),.XL\\:v-pr-size-20{padding-right:20px}:host(.XL\\:v-pl-size-20),.XL\\:v-pl-size-20{padding-left:20px}:host(.XL\\:v-p-size-24),.XL\\:v-p-size-24{padding:24px}:host(.XL\\:v-px-size-24),.XL\\:v-px-size-24{padding-left:24px;padding-right:24px}:host(.XL\\:v-py-size-24),.XL\\:v-py-size-24{padding-top:24px;padding-bottom:24px}:host(.XL\\:v-pt-size-24),.XL\\:v-pt-size-24{padding-top:24px}:host(.XL\\:v-pb-size-24),.XL\\:v-pb-size-24{padding-bottom:24px}:host(.XL\\:v-pr-size-24),.XL\\:v-pr-size-24{padding-right:24px}:host(.XL\\:v-pl-size-24),.XL\\:v-pl-size-24{padding-left:24px}:host(.XL\\:v-p-size-32),.XL\\:v-p-size-32{padding:32px}:host(.XL\\:v-px-size-32),.XL\\:v-px-size-32{padding-left:32px;padding-right:32px}:host(.XL\\:v-py-size-32),.XL\\:v-py-size-32{padding-top:32px;padding-bottom:32px}:host(.XL\\:v-pt-size-32),.XL\\:v-pt-size-32{padding-top:32px}:host(.XL\\:v-pb-size-32),.XL\\:v-pb-size-32{padding-bottom:32px}:host(.XL\\:v-pr-size-32),.XL\\:v-pr-size-32{padding-right:32px}:host(.XL\\:v-pl-size-32),.XL\\:v-pl-size-32{padding-left:32px}:host(.XL\\:v-p-size-40),.XL\\:v-p-size-40{padding:40px}:host(.XL\\:v-px-size-40),.XL\\:v-px-size-40{padding-left:40px;padding-right:40px}:host(.XL\\:v-py-size-40),.XL\\:v-py-size-40{padding-top:40px;padding-bottom:40px}:host(.XL\\:v-pt-size-40),.XL\\:v-pt-size-40{padding-top:40px}:host(.XL\\:v-pb-size-40),.XL\\:v-pb-size-40{padding-bottom:40px}:host(.XL\\:v-pr-size-40),.XL\\:v-pr-size-40{padding-right:40px}:host(.XL\\:v-pl-size-40),.XL\\:v-pl-size-40{padding-left:40px}:host(.XL\\:v-p-size-48),.XL\\:v-p-size-48{padding:48px}:host(.XL\\:v-px-size-48),.XL\\:v-px-size-48{padding-left:48px;padding-right:48px}:host(.XL\\:v-py-size-48),.XL\\:v-py-size-48{padding-top:48px;padding-bottom:48px}:host(.XL\\:v-pt-size-48),.XL\\:v-pt-size-48{padding-top:48px}:host(.XL\\:v-pb-size-48),.XL\\:v-pb-size-48{padding-bottom:48px}:host(.XL\\:v-pr-size-48),.XL\\:v-pr-size-48{padding-right:48px}:host(.XL\\:v-pl-size-48),.XL\\:v-pl-size-48{padding-left:48px}:host(.XL\\:v-p-size-64),.XL\\:v-p-size-64{padding:64px}:host(.XL\\:v-px-size-64),.XL\\:v-px-size-64{padding-left:64px;padding-right:64px}:host(.XL\\:v-py-size-64),.XL\\:v-py-size-64{padding-top:64px;padding-bottom:64px}:host(.XL\\:v-pt-size-64),.XL\\:v-pt-size-64{padding-top:64px}:host(.XL\\:v-pb-size-64),.XL\\:v-pb-size-64{padding-bottom:64px}:host(.XL\\:v-pr-size-64),.XL\\:v-pr-size-64{padding-right:64px}:host(.XL\\:v-pl-size-64),.XL\\:v-pl-size-64{padding-left:64px}:host(.XL\\:v-p-size-72),.XL\\:v-p-size-72{padding:72px}:host(.XL\\:v-px-size-72),.XL\\:v-px-size-72{padding-left:72px;padding-right:72px}:host(.XL\\:v-py-size-72),.XL\\:v-py-size-72{padding-top:72px;padding-bottom:72px}:host(.XL\\:v-pt-size-72),.XL\\:v-pt-size-72{padding-top:72px}:host(.XL\\:v-pb-size-72),.XL\\:v-pb-size-72{padding-bottom:72px}:host(.XL\\:v-pr-size-72),.XL\\:v-pr-size-72{padding-right:72px}:host(.XL\\:v-pl-size-72),.XL\\:v-pl-size-72{padding-left:72px}:host(.XL\\:v-p-size-80),.XL\\:v-p-size-80{padding:80px}:host(.XL\\:v-px-size-80),.XL\\:v-px-size-80{padding-left:80px;padding-right:80px}:host(.XL\\:v-py-size-80),.XL\\:v-py-size-80{padding-top:80px;padding-bottom:80px}:host(.XL\\:v-pt-size-80),.XL\\:v-pt-size-80{padding-top:80px}:host(.XL\\:v-pb-size-80),.XL\\:v-pb-size-80{padding-bottom:80px}:host(.XL\\:v-pr-size-80),.XL\\:v-pr-size-80{padding-right:80px}:host(.XL\\:v-pl-size-80),.XL\\:v-pl-size-80{padding-left:80px}:host(.XL\\:v-p-size-112),.XL\\:v-p-size-112{padding:112px}:host(.XL\\:v-px-size-112),.XL\\:v-px-size-112{padding-left:112px;padding-right:112px}:host(.XL\\:v-py-size-112),.XL\\:v-py-size-112{padding-top:112px;padding-bottom:112px}:host(.XL\\:v-pt-size-112),.XL\\:v-pt-size-112{padding-top:112px}:host(.XL\\:v-pb-size-112),.XL\\:v-pb-size-112{padding-bottom:112px}:host(.XL\\:v-pr-size-112),.XL\\:v-pr-size-112{padding-right:112px}:host(.XL\\:v-pl-size-112),.XL\\:v-pl-size-112{padding-left:112px}:host(.XL\\:v-p-size-2),.XL\\:v-p-size-2{padding:2px}:host(.XL\\:v-px-size-2),.XL\\:v-px-size-2{padding-left:2px;padding-right:2px}:host(.XL\\:v-py-size-2),.XL\\:v-py-size-2{padding-top:2px;padding-bottom:2px}:host(.XL\\:v-pt-size-2),.XL\\:v-pt-size-2{padding-top:2px}:host(.XL\\:v-pb-size-2),.XL\\:v-pb-size-2{padding-bottom:2px}:host(.XL\\:v-pr-size-2),.XL\\:v-pr-size-2{padding-right:2px}:host(.XL\\:v-pl-size-2),.XL\\:v-pl-size-2{padding-left:2px}}:host(.v-m-0),.v-m-0{margin:0px}:host(.v-mx-0),.v-mx-0{margin-left:0px;margin-right:0px}:host(.v-my-0),.v-my-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-0),.v-mt-0{margin-top:0px}:host(.v-mb-0),.v-mb-0{margin-bottom:0px}:host(.v-mr-0),.v-mr-0{margin-right:0px}:host(.v-ml-0),.v-ml-0{margin-left:0px}:host(.v-m-size-0),.v-m-size-0{margin:0px}:host(.v-mx-size-0),.v-mx-size-0{margin-left:0px;margin-right:0px}:host(.v-my-size-0),.v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-size-0),.v-mt-size-0{margin-top:0px}:host(.v-mb-size-0),.v-mb-size-0{margin-bottom:0px}:host(.v-mr-size-0),.v-mr-size-0{margin-right:0px}:host(.v-ml-size-0),.v-ml-size-0{margin-left:0px}:host(.v-m-size-4),.v-m-size-4{margin:4px}:host(.v-mx-size-4),.v-mx-size-4{margin-left:4px;margin-right:4px}:host(.v-my-size-4),.v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.v-mt-size-4),.v-mt-size-4{margin-top:4px}:host(.v-mb-size-4),.v-mb-size-4{margin-bottom:4px}:host(.v-mr-size-4),.v-mr-size-4{margin-right:4px}:host(.v-ml-size-4),.v-ml-size-4{margin-left:4px}:host(.v-m-size-8),.v-m-size-8{margin:8px}:host(.v-mx-size-8),.v-mx-size-8{margin-left:8px;margin-right:8px}:host(.v-my-size-8),.v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.v-mt-size-8),.v-mt-size-8{margin-top:8px}:host(.v-mb-size-8),.v-mb-size-8{margin-bottom:8px}:host(.v-mr-size-8),.v-mr-size-8{margin-right:8px}:host(.v-ml-size-8),.v-ml-size-8{margin-left:8px}:host(.v-m-size-12),.v-m-size-12{margin:12px}:host(.v-mx-size-12),.v-mx-size-12{margin-left:12px;margin-right:12px}:host(.v-my-size-12),.v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.v-mt-size-12),.v-mt-size-12{margin-top:12px}:host(.v-mb-size-12),.v-mb-size-12{margin-bottom:12px}:host(.v-mr-size-12),.v-mr-size-12{margin-right:12px}:host(.v-ml-size-12),.v-ml-size-12{margin-left:12px}:host(.v-m-size-16),.v-m-size-16{margin:16px}:host(.v-mx-size-16),.v-mx-size-16{margin-left:16px;margin-right:16px}:host(.v-my-size-16),.v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.v-mt-size-16),.v-mt-size-16{margin-top:16px}:host(.v-mb-size-16),.v-mb-size-16{margin-bottom:16px}:host(.v-mr-size-16),.v-mr-size-16{margin-right:16px}:host(.v-ml-size-16),.v-ml-size-16{margin-left:16px}:host(.v-m-size-20),.v-m-size-20{margin:20px}:host(.v-mx-size-20),.v-mx-size-20{margin-left:20px;margin-right:20px}:host(.v-my-size-20),.v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.v-mt-size-20),.v-mt-size-20{margin-top:20px}:host(.v-mb-size-20),.v-mb-size-20{margin-bottom:20px}:host(.v-mr-size-20),.v-mr-size-20{margin-right:20px}:host(.v-ml-size-20),.v-ml-size-20{margin-left:20px}:host(.v-m-size-24),.v-m-size-24{margin:24px}:host(.v-mx-size-24),.v-mx-size-24{margin-left:24px;margin-right:24px}:host(.v-my-size-24),.v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.v-mt-size-24),.v-mt-size-24{margin-top:24px}:host(.v-mb-size-24),.v-mb-size-24{margin-bottom:24px}:host(.v-mr-size-24),.v-mr-size-24{margin-right:24px}:host(.v-ml-size-24),.v-ml-size-24{margin-left:24px}:host(.v-m-size-32),.v-m-size-32{margin:32px}:host(.v-mx-size-32),.v-mx-size-32{margin-left:32px;margin-right:32px}:host(.v-my-size-32),.v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.v-mt-size-32),.v-mt-size-32{margin-top:32px}:host(.v-mb-size-32),.v-mb-size-32{margin-bottom:32px}:host(.v-mr-size-32),.v-mr-size-32{margin-right:32px}:host(.v-ml-size-32),.v-ml-size-32{margin-left:32px}:host(.v-m-size-40),.v-m-size-40{margin:40px}:host(.v-mx-size-40),.v-mx-size-40{margin-left:40px;margin-right:40px}:host(.v-my-size-40),.v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.v-mt-size-40),.v-mt-size-40{margin-top:40px}:host(.v-mb-size-40),.v-mb-size-40{margin-bottom:40px}:host(.v-mr-size-40),.v-mr-size-40{margin-right:40px}:host(.v-ml-size-40),.v-ml-size-40{margin-left:40px}:host(.v-m-size-48),.v-m-size-48{margin:48px}:host(.v-mx-size-48),.v-mx-size-48{margin-left:48px;margin-right:48px}:host(.v-my-size-48),.v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.v-mt-size-48),.v-mt-size-48{margin-top:48px}:host(.v-mb-size-48),.v-mb-size-48{margin-bottom:48px}:host(.v-mr-size-48),.v-mr-size-48{margin-right:48px}:host(.v-ml-size-48),.v-ml-size-48{margin-left:48px}:host(.v-m-size-64),.v-m-size-64{margin:64px}:host(.v-mx-size-64),.v-mx-size-64{margin-left:64px;margin-right:64px}:host(.v-my-size-64),.v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.v-mt-size-64),.v-mt-size-64{margin-top:64px}:host(.v-mb-size-64),.v-mb-size-64{margin-bottom:64px}:host(.v-mr-size-64),.v-mr-size-64{margin-right:64px}:host(.v-ml-size-64),.v-ml-size-64{margin-left:64px}:host(.v-m-size-72),.v-m-size-72{margin:72px}:host(.v-mx-size-72),.v-mx-size-72{margin-left:72px;margin-right:72px}:host(.v-my-size-72),.v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.v-mt-size-72),.v-mt-size-72{margin-top:72px}:host(.v-mb-size-72),.v-mb-size-72{margin-bottom:72px}:host(.v-mr-size-72),.v-mr-size-72{margin-right:72px}:host(.v-ml-size-72),.v-ml-size-72{margin-left:72px}:host(.v-m-size-80),.v-m-size-80{margin:80px}:host(.v-mx-size-80),.v-mx-size-80{margin-left:80px;margin-right:80px}:host(.v-my-size-80),.v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.v-mt-size-80),.v-mt-size-80{margin-top:80px}:host(.v-mb-size-80),.v-mb-size-80{margin-bottom:80px}:host(.v-mr-size-80),.v-mr-size-80{margin-right:80px}:host(.v-ml-size-80),.v-ml-size-80{margin-left:80px}:host(.v-m-size-112),.v-m-size-112{margin:112px}:host(.v-mx-size-112),.v-mx-size-112{margin-left:112px;margin-right:112px}:host(.v-my-size-112),.v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.v-mt-size-112),.v-mt-size-112{margin-top:112px}:host(.v-mb-size-112),.v-mb-size-112{margin-bottom:112px}:host(.v-mr-size-112),.v-mr-size-112{margin-right:112px}:host(.v-ml-size-112),.v-ml-size-112{margin-left:112px}:host(.v-m-size-2),.v-m-size-2{margin:2px}:host(.v-mx-size-2),.v-mx-size-2{margin-left:2px;margin-right:2px}:host(.v-my-size-2),.v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.v-mt-size-2),.v-mt-size-2{margin-top:2px}:host(.v-mb-size-2),.v-mb-size-2{margin-bottom:2px}:host(.v-mr-size-2),.v-mr-size-2{margin-right:2px}:host(.v-ml-size-2),.v-ml-size-2{margin-left:2px}:host(.v-m-auto),.v-m-auto{margin:auto}:host(.v-mx-auto),.v-mx-auto{margin-left:auto;margin-right:auto}:host(.v-my-auto),.v-my-auto{margin-top:auto;margin-bottom:auto}:host(.v-mt-auto),.v-mt-auto{margin-top:auto}:host(.v-mb-auto),.v-mb-auto{margin-bottom:auto}:host(.v-mr-auto),.v-mr-auto{margin-right:auto}:host(.v-ml-auto),.v-ml-auto{margin-left:auto}@media (min-width: 320px){:host(.S\\:v-m-0),.S\\:v-m-0{margin:0px}:host(.S\\:v-mx-0),.S\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-0),.S\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-0),.S\\:v-mt-0{margin-top:0px}:host(.S\\:v-mb-0),.S\\:v-mb-0{margin-bottom:0px}:host(.S\\:v-mr-0),.S\\:v-mr-0{margin-right:0px}:host(.S\\:v-ml-0),.S\\:v-ml-0{margin-left:0px}:host(.S\\:v-m-size-0),.S\\:v-m-size-0{margin:0px}:host(.S\\:v-mx-size-0),.S\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-size-0),.S\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-size-0),.S\\:v-mt-size-0{margin-top:0px}:host(.S\\:v-mb-size-0),.S\\:v-mb-size-0{margin-bottom:0px}:host(.S\\:v-mr-size-0),.S\\:v-mr-size-0{margin-right:0px}:host(.S\\:v-ml-size-0),.S\\:v-ml-size-0{margin-left:0px}:host(.S\\:v-m-size-4),.S\\:v-m-size-4{margin:4px}:host(.S\\:v-mx-size-4),.S\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.S\\:v-my-size-4),.S\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.S\\:v-mt-size-4),.S\\:v-mt-size-4{margin-top:4px}:host(.S\\:v-mb-size-4),.S\\:v-mb-size-4{margin-bottom:4px}:host(.S\\:v-mr-size-4),.S\\:v-mr-size-4{margin-right:4px}:host(.S\\:v-ml-size-4),.S\\:v-ml-size-4{margin-left:4px}:host(.S\\:v-m-size-8),.S\\:v-m-size-8{margin:8px}:host(.S\\:v-mx-size-8),.S\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.S\\:v-my-size-8),.S\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.S\\:v-mt-size-8),.S\\:v-mt-size-8{margin-top:8px}:host(.S\\:v-mb-size-8),.S\\:v-mb-size-8{margin-bottom:8px}:host(.S\\:v-mr-size-8),.S\\:v-mr-size-8{margin-right:8px}:host(.S\\:v-ml-size-8),.S\\:v-ml-size-8{margin-left:8px}:host(.S\\:v-m-size-12),.S\\:v-m-size-12{margin:12px}:host(.S\\:v-mx-size-12),.S\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.S\\:v-my-size-12),.S\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.S\\:v-mt-size-12),.S\\:v-mt-size-12{margin-top:12px}:host(.S\\:v-mb-size-12),.S\\:v-mb-size-12{margin-bottom:12px}:host(.S\\:v-mr-size-12),.S\\:v-mr-size-12{margin-right:12px}:host(.S\\:v-ml-size-12),.S\\:v-ml-size-12{margin-left:12px}:host(.S\\:v-m-size-16),.S\\:v-m-size-16{margin:16px}:host(.S\\:v-mx-size-16),.S\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.S\\:v-my-size-16),.S\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.S\\:v-mt-size-16),.S\\:v-mt-size-16{margin-top:16px}:host(.S\\:v-mb-size-16),.S\\:v-mb-size-16{margin-bottom:16px}:host(.S\\:v-mr-size-16),.S\\:v-mr-size-16{margin-right:16px}:host(.S\\:v-ml-size-16),.S\\:v-ml-size-16{margin-left:16px}:host(.S\\:v-m-size-20),.S\\:v-m-size-20{margin:20px}:host(.S\\:v-mx-size-20),.S\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.S\\:v-my-size-20),.S\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.S\\:v-mt-size-20),.S\\:v-mt-size-20{margin-top:20px}:host(.S\\:v-mb-size-20),.S\\:v-mb-size-20{margin-bottom:20px}:host(.S\\:v-mr-size-20),.S\\:v-mr-size-20{margin-right:20px}:host(.S\\:v-ml-size-20),.S\\:v-ml-size-20{margin-left:20px}:host(.S\\:v-m-size-24),.S\\:v-m-size-24{margin:24px}:host(.S\\:v-mx-size-24),.S\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.S\\:v-my-size-24),.S\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.S\\:v-mt-size-24),.S\\:v-mt-size-24{margin-top:24px}:host(.S\\:v-mb-size-24),.S\\:v-mb-size-24{margin-bottom:24px}:host(.S\\:v-mr-size-24),.S\\:v-mr-size-24{margin-right:24px}:host(.S\\:v-ml-size-24),.S\\:v-ml-size-24{margin-left:24px}:host(.S\\:v-m-size-32),.S\\:v-m-size-32{margin:32px}:host(.S\\:v-mx-size-32),.S\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.S\\:v-my-size-32),.S\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.S\\:v-mt-size-32),.S\\:v-mt-size-32{margin-top:32px}:host(.S\\:v-mb-size-32),.S\\:v-mb-size-32{margin-bottom:32px}:host(.S\\:v-mr-size-32),.S\\:v-mr-size-32{margin-right:32px}:host(.S\\:v-ml-size-32),.S\\:v-ml-size-32{margin-left:32px}:host(.S\\:v-m-size-40),.S\\:v-m-size-40{margin:40px}:host(.S\\:v-mx-size-40),.S\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.S\\:v-my-size-40),.S\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.S\\:v-mt-size-40),.S\\:v-mt-size-40{margin-top:40px}:host(.S\\:v-mb-size-40),.S\\:v-mb-size-40{margin-bottom:40px}:host(.S\\:v-mr-size-40),.S\\:v-mr-size-40{margin-right:40px}:host(.S\\:v-ml-size-40),.S\\:v-ml-size-40{margin-left:40px}:host(.S\\:v-m-size-48),.S\\:v-m-size-48{margin:48px}:host(.S\\:v-mx-size-48),.S\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.S\\:v-my-size-48),.S\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.S\\:v-mt-size-48),.S\\:v-mt-size-48{margin-top:48px}:host(.S\\:v-mb-size-48),.S\\:v-mb-size-48{margin-bottom:48px}:host(.S\\:v-mr-size-48),.S\\:v-mr-size-48{margin-right:48px}:host(.S\\:v-ml-size-48),.S\\:v-ml-size-48{margin-left:48px}:host(.S\\:v-m-size-64),.S\\:v-m-size-64{margin:64px}:host(.S\\:v-mx-size-64),.S\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.S\\:v-my-size-64),.S\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.S\\:v-mt-size-64),.S\\:v-mt-size-64{margin-top:64px}:host(.S\\:v-mb-size-64),.S\\:v-mb-size-64{margin-bottom:64px}:host(.S\\:v-mr-size-64),.S\\:v-mr-size-64{margin-right:64px}:host(.S\\:v-ml-size-64),.S\\:v-ml-size-64{margin-left:64px}:host(.S\\:v-m-size-72),.S\\:v-m-size-72{margin:72px}:host(.S\\:v-mx-size-72),.S\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.S\\:v-my-size-72),.S\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.S\\:v-mt-size-72),.S\\:v-mt-size-72{margin-top:72px}:host(.S\\:v-mb-size-72),.S\\:v-mb-size-72{margin-bottom:72px}:host(.S\\:v-mr-size-72),.S\\:v-mr-size-72{margin-right:72px}:host(.S\\:v-ml-size-72),.S\\:v-ml-size-72{margin-left:72px}:host(.S\\:v-m-size-80),.S\\:v-m-size-80{margin:80px}:host(.S\\:v-mx-size-80),.S\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.S\\:v-my-size-80),.S\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.S\\:v-mt-size-80),.S\\:v-mt-size-80{margin-top:80px}:host(.S\\:v-mb-size-80),.S\\:v-mb-size-80{margin-bottom:80px}:host(.S\\:v-mr-size-80),.S\\:v-mr-size-80{margin-right:80px}:host(.S\\:v-ml-size-80),.S\\:v-ml-size-80{margin-left:80px}:host(.S\\:v-m-size-112),.S\\:v-m-size-112{margin:112px}:host(.S\\:v-mx-size-112),.S\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.S\\:v-my-size-112),.S\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.S\\:v-mt-size-112),.S\\:v-mt-size-112{margin-top:112px}:host(.S\\:v-mb-size-112),.S\\:v-mb-size-112{margin-bottom:112px}:host(.S\\:v-mr-size-112),.S\\:v-mr-size-112{margin-right:112px}:host(.S\\:v-ml-size-112),.S\\:v-ml-size-112{margin-left:112px}:host(.S\\:v-m-size-2),.S\\:v-m-size-2{margin:2px}:host(.S\\:v-mx-size-2),.S\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.S\\:v-my-size-2),.S\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.S\\:v-mt-size-2),.S\\:v-mt-size-2{margin-top:2px}:host(.S\\:v-mb-size-2),.S\\:v-mb-size-2{margin-bottom:2px}:host(.S\\:v-mr-size-2),.S\\:v-mr-size-2{margin-right:2px}:host(.S\\:v-ml-size-2),.S\\:v-ml-size-2{margin-left:2px}:host(.S\\:v-m-auto),.S\\:v-m-auto{margin:auto}:host(.S\\:v-mx-auto),.S\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.S\\:v-my-auto),.S\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.S\\:v-mt-auto),.S\\:v-mt-auto{margin-top:auto}:host(.S\\:v-mb-auto),.S\\:v-mb-auto{margin-bottom:auto}:host(.S\\:v-mr-auto),.S\\:v-mr-auto{margin-right:auto}:host(.S\\:v-ml-auto),.S\\:v-ml-auto{margin-left:auto}}@media (min-width: 768px){:host(.M\\:v-m-0),.M\\:v-m-0{margin:0px}:host(.M\\:v-mx-0),.M\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-0),.M\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-0),.M\\:v-mt-0{margin-top:0px}:host(.M\\:v-mb-0),.M\\:v-mb-0{margin-bottom:0px}:host(.M\\:v-mr-0),.M\\:v-mr-0{margin-right:0px}:host(.M\\:v-ml-0),.M\\:v-ml-0{margin-left:0px}:host(.M\\:v-m-size-0),.M\\:v-m-size-0{margin:0px}:host(.M\\:v-mx-size-0),.M\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-size-0),.M\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-size-0),.M\\:v-mt-size-0{margin-top:0px}:host(.M\\:v-mb-size-0),.M\\:v-mb-size-0{margin-bottom:0px}:host(.M\\:v-mr-size-0),.M\\:v-mr-size-0{margin-right:0px}:host(.M\\:v-ml-size-0),.M\\:v-ml-size-0{margin-left:0px}:host(.M\\:v-m-size-4),.M\\:v-m-size-4{margin:4px}:host(.M\\:v-mx-size-4),.M\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.M\\:v-my-size-4),.M\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.M\\:v-mt-size-4),.M\\:v-mt-size-4{margin-top:4px}:host(.M\\:v-mb-size-4),.M\\:v-mb-size-4{margin-bottom:4px}:host(.M\\:v-mr-size-4),.M\\:v-mr-size-4{margin-right:4px}:host(.M\\:v-ml-size-4),.M\\:v-ml-size-4{margin-left:4px}:host(.M\\:v-m-size-8),.M\\:v-m-size-8{margin:8px}:host(.M\\:v-mx-size-8),.M\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.M\\:v-my-size-8),.M\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.M\\:v-mt-size-8),.M\\:v-mt-size-8{margin-top:8px}:host(.M\\:v-mb-size-8),.M\\:v-mb-size-8{margin-bottom:8px}:host(.M\\:v-mr-size-8),.M\\:v-mr-size-8{margin-right:8px}:host(.M\\:v-ml-size-8),.M\\:v-ml-size-8{margin-left:8px}:host(.M\\:v-m-size-12),.M\\:v-m-size-12{margin:12px}:host(.M\\:v-mx-size-12),.M\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.M\\:v-my-size-12),.M\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.M\\:v-mt-size-12),.M\\:v-mt-size-12{margin-top:12px}:host(.M\\:v-mb-size-12),.M\\:v-mb-size-12{margin-bottom:12px}:host(.M\\:v-mr-size-12),.M\\:v-mr-size-12{margin-right:12px}:host(.M\\:v-ml-size-12),.M\\:v-ml-size-12{margin-left:12px}:host(.M\\:v-m-size-16),.M\\:v-m-size-16{margin:16px}:host(.M\\:v-mx-size-16),.M\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.M\\:v-my-size-16),.M\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.M\\:v-mt-size-16),.M\\:v-mt-size-16{margin-top:16px}:host(.M\\:v-mb-size-16),.M\\:v-mb-size-16{margin-bottom:16px}:host(.M\\:v-mr-size-16),.M\\:v-mr-size-16{margin-right:16px}:host(.M\\:v-ml-size-16),.M\\:v-ml-size-16{margin-left:16px}:host(.M\\:v-m-size-20),.M\\:v-m-size-20{margin:20px}:host(.M\\:v-mx-size-20),.M\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.M\\:v-my-size-20),.M\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.M\\:v-mt-size-20),.M\\:v-mt-size-20{margin-top:20px}:host(.M\\:v-mb-size-20),.M\\:v-mb-size-20{margin-bottom:20px}:host(.M\\:v-mr-size-20),.M\\:v-mr-size-20{margin-right:20px}:host(.M\\:v-ml-size-20),.M\\:v-ml-size-20{margin-left:20px}:host(.M\\:v-m-size-24),.M\\:v-m-size-24{margin:24px}:host(.M\\:v-mx-size-24),.M\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.M\\:v-my-size-24),.M\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.M\\:v-mt-size-24),.M\\:v-mt-size-24{margin-top:24px}:host(.M\\:v-mb-size-24),.M\\:v-mb-size-24{margin-bottom:24px}:host(.M\\:v-mr-size-24),.M\\:v-mr-size-24{margin-right:24px}:host(.M\\:v-ml-size-24),.M\\:v-ml-size-24{margin-left:24px}:host(.M\\:v-m-size-32),.M\\:v-m-size-32{margin:32px}:host(.M\\:v-mx-size-32),.M\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.M\\:v-my-size-32),.M\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.M\\:v-mt-size-32),.M\\:v-mt-size-32{margin-top:32px}:host(.M\\:v-mb-size-32),.M\\:v-mb-size-32{margin-bottom:32px}:host(.M\\:v-mr-size-32),.M\\:v-mr-size-32{margin-right:32px}:host(.M\\:v-ml-size-32),.M\\:v-ml-size-32{margin-left:32px}:host(.M\\:v-m-size-40),.M\\:v-m-size-40{margin:40px}:host(.M\\:v-mx-size-40),.M\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.M\\:v-my-size-40),.M\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.M\\:v-mt-size-40),.M\\:v-mt-size-40{margin-top:40px}:host(.M\\:v-mb-size-40),.M\\:v-mb-size-40{margin-bottom:40px}:host(.M\\:v-mr-size-40),.M\\:v-mr-size-40{margin-right:40px}:host(.M\\:v-ml-size-40),.M\\:v-ml-size-40{margin-left:40px}:host(.M\\:v-m-size-48),.M\\:v-m-size-48{margin:48px}:host(.M\\:v-mx-size-48),.M\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.M\\:v-my-size-48),.M\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.M\\:v-mt-size-48),.M\\:v-mt-size-48{margin-top:48px}:host(.M\\:v-mb-size-48),.M\\:v-mb-size-48{margin-bottom:48px}:host(.M\\:v-mr-size-48),.M\\:v-mr-size-48{margin-right:48px}:host(.M\\:v-ml-size-48),.M\\:v-ml-size-48{margin-left:48px}:host(.M\\:v-m-size-64),.M\\:v-m-size-64{margin:64px}:host(.M\\:v-mx-size-64),.M\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.M\\:v-my-size-64),.M\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.M\\:v-mt-size-64),.M\\:v-mt-size-64{margin-top:64px}:host(.M\\:v-mb-size-64),.M\\:v-mb-size-64{margin-bottom:64px}:host(.M\\:v-mr-size-64),.M\\:v-mr-size-64{margin-right:64px}:host(.M\\:v-ml-size-64),.M\\:v-ml-size-64{margin-left:64px}:host(.M\\:v-m-size-72),.M\\:v-m-size-72{margin:72px}:host(.M\\:v-mx-size-72),.M\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.M\\:v-my-size-72),.M\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.M\\:v-mt-size-72),.M\\:v-mt-size-72{margin-top:72px}:host(.M\\:v-mb-size-72),.M\\:v-mb-size-72{margin-bottom:72px}:host(.M\\:v-mr-size-72),.M\\:v-mr-size-72{margin-right:72px}:host(.M\\:v-ml-size-72),.M\\:v-ml-size-72{margin-left:72px}:host(.M\\:v-m-size-80),.M\\:v-m-size-80{margin:80px}:host(.M\\:v-mx-size-80),.M\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.M\\:v-my-size-80),.M\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.M\\:v-mt-size-80),.M\\:v-mt-size-80{margin-top:80px}:host(.M\\:v-mb-size-80),.M\\:v-mb-size-80{margin-bottom:80px}:host(.M\\:v-mr-size-80),.M\\:v-mr-size-80{margin-right:80px}:host(.M\\:v-ml-size-80),.M\\:v-ml-size-80{margin-left:80px}:host(.M\\:v-m-size-112),.M\\:v-m-size-112{margin:112px}:host(.M\\:v-mx-size-112),.M\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.M\\:v-my-size-112),.M\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.M\\:v-mt-size-112),.M\\:v-mt-size-112{margin-top:112px}:host(.M\\:v-mb-size-112),.M\\:v-mb-size-112{margin-bottom:112px}:host(.M\\:v-mr-size-112),.M\\:v-mr-size-112{margin-right:112px}:host(.M\\:v-ml-size-112),.M\\:v-ml-size-112{margin-left:112px}:host(.M\\:v-m-size-2),.M\\:v-m-size-2{margin:2px}:host(.M\\:v-mx-size-2),.M\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.M\\:v-my-size-2),.M\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.M\\:v-mt-size-2),.M\\:v-mt-size-2{margin-top:2px}:host(.M\\:v-mb-size-2),.M\\:v-mb-size-2{margin-bottom:2px}:host(.M\\:v-mr-size-2),.M\\:v-mr-size-2{margin-right:2px}:host(.M\\:v-ml-size-2),.M\\:v-ml-size-2{margin-left:2px}:host(.M\\:v-m-auto),.M\\:v-m-auto{margin:auto}:host(.M\\:v-mx-auto),.M\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.M\\:v-my-auto),.M\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.M\\:v-mt-auto),.M\\:v-mt-auto{margin-top:auto}:host(.M\\:v-mb-auto),.M\\:v-mb-auto{margin-bottom:auto}:host(.M\\:v-mr-auto),.M\\:v-mr-auto{margin-right:auto}:host(.M\\:v-ml-auto),.M\\:v-ml-auto{margin-left:auto}}@media (min-width: 1024px){:host(.L\\:v-m-0),.L\\:v-m-0{margin:0px}:host(.L\\:v-mx-0),.L\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-0),.L\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-0),.L\\:v-mt-0{margin-top:0px}:host(.L\\:v-mb-0),.L\\:v-mb-0{margin-bottom:0px}:host(.L\\:v-mr-0),.L\\:v-mr-0{margin-right:0px}:host(.L\\:v-ml-0),.L\\:v-ml-0{margin-left:0px}:host(.L\\:v-m-size-0),.L\\:v-m-size-0{margin:0px}:host(.L\\:v-mx-size-0),.L\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-size-0),.L\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-size-0),.L\\:v-mt-size-0{margin-top:0px}:host(.L\\:v-mb-size-0),.L\\:v-mb-size-0{margin-bottom:0px}:host(.L\\:v-mr-size-0),.L\\:v-mr-size-0{margin-right:0px}:host(.L\\:v-ml-size-0),.L\\:v-ml-size-0{margin-left:0px}:host(.L\\:v-m-size-4),.L\\:v-m-size-4{margin:4px}:host(.L\\:v-mx-size-4),.L\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.L\\:v-my-size-4),.L\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.L\\:v-mt-size-4),.L\\:v-mt-size-4{margin-top:4px}:host(.L\\:v-mb-size-4),.L\\:v-mb-size-4{margin-bottom:4px}:host(.L\\:v-mr-size-4),.L\\:v-mr-size-4{margin-right:4px}:host(.L\\:v-ml-size-4),.L\\:v-ml-size-4{margin-left:4px}:host(.L\\:v-m-size-8),.L\\:v-m-size-8{margin:8px}:host(.L\\:v-mx-size-8),.L\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.L\\:v-my-size-8),.L\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.L\\:v-mt-size-8),.L\\:v-mt-size-8{margin-top:8px}:host(.L\\:v-mb-size-8),.L\\:v-mb-size-8{margin-bottom:8px}:host(.L\\:v-mr-size-8),.L\\:v-mr-size-8{margin-right:8px}:host(.L\\:v-ml-size-8),.L\\:v-ml-size-8{margin-left:8px}:host(.L\\:v-m-size-12),.L\\:v-m-size-12{margin:12px}:host(.L\\:v-mx-size-12),.L\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.L\\:v-my-size-12),.L\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.L\\:v-mt-size-12),.L\\:v-mt-size-12{margin-top:12px}:host(.L\\:v-mb-size-12),.L\\:v-mb-size-12{margin-bottom:12px}:host(.L\\:v-mr-size-12),.L\\:v-mr-size-12{margin-right:12px}:host(.L\\:v-ml-size-12),.L\\:v-ml-size-12{margin-left:12px}:host(.L\\:v-m-size-16),.L\\:v-m-size-16{margin:16px}:host(.L\\:v-mx-size-16),.L\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.L\\:v-my-size-16),.L\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.L\\:v-mt-size-16),.L\\:v-mt-size-16{margin-top:16px}:host(.L\\:v-mb-size-16),.L\\:v-mb-size-16{margin-bottom:16px}:host(.L\\:v-mr-size-16),.L\\:v-mr-size-16{margin-right:16px}:host(.L\\:v-ml-size-16),.L\\:v-ml-size-16{margin-left:16px}:host(.L\\:v-m-size-20),.L\\:v-m-size-20{margin:20px}:host(.L\\:v-mx-size-20),.L\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.L\\:v-my-size-20),.L\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.L\\:v-mt-size-20),.L\\:v-mt-size-20{margin-top:20px}:host(.L\\:v-mb-size-20),.L\\:v-mb-size-20{margin-bottom:20px}:host(.L\\:v-mr-size-20),.L\\:v-mr-size-20{margin-right:20px}:host(.L\\:v-ml-size-20),.L\\:v-ml-size-20{margin-left:20px}:host(.L\\:v-m-size-24),.L\\:v-m-size-24{margin:24px}:host(.L\\:v-mx-size-24),.L\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.L\\:v-my-size-24),.L\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.L\\:v-mt-size-24),.L\\:v-mt-size-24{margin-top:24px}:host(.L\\:v-mb-size-24),.L\\:v-mb-size-24{margin-bottom:24px}:host(.L\\:v-mr-size-24),.L\\:v-mr-size-24{margin-right:24px}:host(.L\\:v-ml-size-24),.L\\:v-ml-size-24{margin-left:24px}:host(.L\\:v-m-size-32),.L\\:v-m-size-32{margin:32px}:host(.L\\:v-mx-size-32),.L\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.L\\:v-my-size-32),.L\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.L\\:v-mt-size-32),.L\\:v-mt-size-32{margin-top:32px}:host(.L\\:v-mb-size-32),.L\\:v-mb-size-32{margin-bottom:32px}:host(.L\\:v-mr-size-32),.L\\:v-mr-size-32{margin-right:32px}:host(.L\\:v-ml-size-32),.L\\:v-ml-size-32{margin-left:32px}:host(.L\\:v-m-size-40),.L\\:v-m-size-40{margin:40px}:host(.L\\:v-mx-size-40),.L\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.L\\:v-my-size-40),.L\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.L\\:v-mt-size-40),.L\\:v-mt-size-40{margin-top:40px}:host(.L\\:v-mb-size-40),.L\\:v-mb-size-40{margin-bottom:40px}:host(.L\\:v-mr-size-40),.L\\:v-mr-size-40{margin-right:40px}:host(.L\\:v-ml-size-40),.L\\:v-ml-size-40{margin-left:40px}:host(.L\\:v-m-size-48),.L\\:v-m-size-48{margin:48px}:host(.L\\:v-mx-size-48),.L\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.L\\:v-my-size-48),.L\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.L\\:v-mt-size-48),.L\\:v-mt-size-48{margin-top:48px}:host(.L\\:v-mb-size-48),.L\\:v-mb-size-48{margin-bottom:48px}:host(.L\\:v-mr-size-48),.L\\:v-mr-size-48{margin-right:48px}:host(.L\\:v-ml-size-48),.L\\:v-ml-size-48{margin-left:48px}:host(.L\\:v-m-size-64),.L\\:v-m-size-64{margin:64px}:host(.L\\:v-mx-size-64),.L\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.L\\:v-my-size-64),.L\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.L\\:v-mt-size-64),.L\\:v-mt-size-64{margin-top:64px}:host(.L\\:v-mb-size-64),.L\\:v-mb-size-64{margin-bottom:64px}:host(.L\\:v-mr-size-64),.L\\:v-mr-size-64{margin-right:64px}:host(.L\\:v-ml-size-64),.L\\:v-ml-size-64{margin-left:64px}:host(.L\\:v-m-size-72),.L\\:v-m-size-72{margin:72px}:host(.L\\:v-mx-size-72),.L\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.L\\:v-my-size-72),.L\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.L\\:v-mt-size-72),.L\\:v-mt-size-72{margin-top:72px}:host(.L\\:v-mb-size-72),.L\\:v-mb-size-72{margin-bottom:72px}:host(.L\\:v-mr-size-72),.L\\:v-mr-size-72{margin-right:72px}:host(.L\\:v-ml-size-72),.L\\:v-ml-size-72{margin-left:72px}:host(.L\\:v-m-size-80),.L\\:v-m-size-80{margin:80px}:host(.L\\:v-mx-size-80),.L\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.L\\:v-my-size-80),.L\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.L\\:v-mt-size-80),.L\\:v-mt-size-80{margin-top:80px}:host(.L\\:v-mb-size-80),.L\\:v-mb-size-80{margin-bottom:80px}:host(.L\\:v-mr-size-80),.L\\:v-mr-size-80{margin-right:80px}:host(.L\\:v-ml-size-80),.L\\:v-ml-size-80{margin-left:80px}:host(.L\\:v-m-size-112),.L\\:v-m-size-112{margin:112px}:host(.L\\:v-mx-size-112),.L\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.L\\:v-my-size-112),.L\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.L\\:v-mt-size-112),.L\\:v-mt-size-112{margin-top:112px}:host(.L\\:v-mb-size-112),.L\\:v-mb-size-112{margin-bottom:112px}:host(.L\\:v-mr-size-112),.L\\:v-mr-size-112{margin-right:112px}:host(.L\\:v-ml-size-112),.L\\:v-ml-size-112{margin-left:112px}:host(.L\\:v-m-size-2),.L\\:v-m-size-2{margin:2px}:host(.L\\:v-mx-size-2),.L\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.L\\:v-my-size-2),.L\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.L\\:v-mt-size-2),.L\\:v-mt-size-2{margin-top:2px}:host(.L\\:v-mb-size-2),.L\\:v-mb-size-2{margin-bottom:2px}:host(.L\\:v-mr-size-2),.L\\:v-mr-size-2{margin-right:2px}:host(.L\\:v-ml-size-2),.L\\:v-ml-size-2{margin-left:2px}:host(.L\\:v-m-auto),.L\\:v-m-auto{margin:auto}:host(.L\\:v-mx-auto),.L\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.L\\:v-my-auto),.L\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.L\\:v-mt-auto),.L\\:v-mt-auto{margin-top:auto}:host(.L\\:v-mb-auto),.L\\:v-mb-auto{margin-bottom:auto}:host(.L\\:v-mr-auto),.L\\:v-mr-auto{margin-right:auto}:host(.L\\:v-ml-auto),.L\\:v-ml-auto{margin-left:auto}}@media (min-width: 1440px){:host(.XL\\:v-m-0),.XL\\:v-m-0{margin:0px}:host(.XL\\:v-mx-0),.XL\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-0),.XL\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-0),.XL\\:v-mt-0{margin-top:0px}:host(.XL\\:v-mb-0),.XL\\:v-mb-0{margin-bottom:0px}:host(.XL\\:v-mr-0),.XL\\:v-mr-0{margin-right:0px}:host(.XL\\:v-ml-0),.XL\\:v-ml-0{margin-left:0px}:host(.XL\\:v-m-size-0),.XL\\:v-m-size-0{margin:0px}:host(.XL\\:v-mx-size-0),.XL\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-size-0),.XL\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-size-0),.XL\\:v-mt-size-0{margin-top:0px}:host(.XL\\:v-mb-size-0),.XL\\:v-mb-size-0{margin-bottom:0px}:host(.XL\\:v-mr-size-0),.XL\\:v-mr-size-0{margin-right:0px}:host(.XL\\:v-ml-size-0),.XL\\:v-ml-size-0{margin-left:0px}:host(.XL\\:v-m-size-4),.XL\\:v-m-size-4{margin:4px}:host(.XL\\:v-mx-size-4),.XL\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.XL\\:v-my-size-4),.XL\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.XL\\:v-mt-size-4),.XL\\:v-mt-size-4{margin-top:4px}:host(.XL\\:v-mb-size-4),.XL\\:v-mb-size-4{margin-bottom:4px}:host(.XL\\:v-mr-size-4),.XL\\:v-mr-size-4{margin-right:4px}:host(.XL\\:v-ml-size-4),.XL\\:v-ml-size-4{margin-left:4px}:host(.XL\\:v-m-size-8),.XL\\:v-m-size-8{margin:8px}:host(.XL\\:v-mx-size-8),.XL\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.XL\\:v-my-size-8),.XL\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.XL\\:v-mt-size-8),.XL\\:v-mt-size-8{margin-top:8px}:host(.XL\\:v-mb-size-8),.XL\\:v-mb-size-8{margin-bottom:8px}:host(.XL\\:v-mr-size-8),.XL\\:v-mr-size-8{margin-right:8px}:host(.XL\\:v-ml-size-8),.XL\\:v-ml-size-8{margin-left:8px}:host(.XL\\:v-m-size-12),.XL\\:v-m-size-12{margin:12px}:host(.XL\\:v-mx-size-12),.XL\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.XL\\:v-my-size-12),.XL\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.XL\\:v-mt-size-12),.XL\\:v-mt-size-12{margin-top:12px}:host(.XL\\:v-mb-size-12),.XL\\:v-mb-size-12{margin-bottom:12px}:host(.XL\\:v-mr-size-12),.XL\\:v-mr-size-12{margin-right:12px}:host(.XL\\:v-ml-size-12),.XL\\:v-ml-size-12{margin-left:12px}:host(.XL\\:v-m-size-16),.XL\\:v-m-size-16{margin:16px}:host(.XL\\:v-mx-size-16),.XL\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.XL\\:v-my-size-16),.XL\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.XL\\:v-mt-size-16),.XL\\:v-mt-size-16{margin-top:16px}:host(.XL\\:v-mb-size-16),.XL\\:v-mb-size-16{margin-bottom:16px}:host(.XL\\:v-mr-size-16),.XL\\:v-mr-size-16{margin-right:16px}:host(.XL\\:v-ml-size-16),.XL\\:v-ml-size-16{margin-left:16px}:host(.XL\\:v-m-size-20),.XL\\:v-m-size-20{margin:20px}:host(.XL\\:v-mx-size-20),.XL\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.XL\\:v-my-size-20),.XL\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.XL\\:v-mt-size-20),.XL\\:v-mt-size-20{margin-top:20px}:host(.XL\\:v-mb-size-20),.XL\\:v-mb-size-20{margin-bottom:20px}:host(.XL\\:v-mr-size-20),.XL\\:v-mr-size-20{margin-right:20px}:host(.XL\\:v-ml-size-20),.XL\\:v-ml-size-20{margin-left:20px}:host(.XL\\:v-m-size-24),.XL\\:v-m-size-24{margin:24px}:host(.XL\\:v-mx-size-24),.XL\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.XL\\:v-my-size-24),.XL\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.XL\\:v-mt-size-24),.XL\\:v-mt-size-24{margin-top:24px}:host(.XL\\:v-mb-size-24),.XL\\:v-mb-size-24{margin-bottom:24px}:host(.XL\\:v-mr-size-24),.XL\\:v-mr-size-24{margin-right:24px}:host(.XL\\:v-ml-size-24),.XL\\:v-ml-size-24{margin-left:24px}:host(.XL\\:v-m-size-32),.XL\\:v-m-size-32{margin:32px}:host(.XL\\:v-mx-size-32),.XL\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.XL\\:v-my-size-32),.XL\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.XL\\:v-mt-size-32),.XL\\:v-mt-size-32{margin-top:32px}:host(.XL\\:v-mb-size-32),.XL\\:v-mb-size-32{margin-bottom:32px}:host(.XL\\:v-mr-size-32),.XL\\:v-mr-size-32{margin-right:32px}:host(.XL\\:v-ml-size-32),.XL\\:v-ml-size-32{margin-left:32px}:host(.XL\\:v-m-size-40),.XL\\:v-m-size-40{margin:40px}:host(.XL\\:v-mx-size-40),.XL\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.XL\\:v-my-size-40),.XL\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.XL\\:v-mt-size-40),.XL\\:v-mt-size-40{margin-top:40px}:host(.XL\\:v-mb-size-40),.XL\\:v-mb-size-40{margin-bottom:40px}:host(.XL\\:v-mr-size-40),.XL\\:v-mr-size-40{margin-right:40px}:host(.XL\\:v-ml-size-40),.XL\\:v-ml-size-40{margin-left:40px}:host(.XL\\:v-m-size-48),.XL\\:v-m-size-48{margin:48px}:host(.XL\\:v-mx-size-48),.XL\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.XL\\:v-my-size-48),.XL\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.XL\\:v-mt-size-48),.XL\\:v-mt-size-48{margin-top:48px}:host(.XL\\:v-mb-size-48),.XL\\:v-mb-size-48{margin-bottom:48px}:host(.XL\\:v-mr-size-48),.XL\\:v-mr-size-48{margin-right:48px}:host(.XL\\:v-ml-size-48),.XL\\:v-ml-size-48{margin-left:48px}:host(.XL\\:v-m-size-64),.XL\\:v-m-size-64{margin:64px}:host(.XL\\:v-mx-size-64),.XL\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.XL\\:v-my-size-64),.XL\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.XL\\:v-mt-size-64),.XL\\:v-mt-size-64{margin-top:64px}:host(.XL\\:v-mb-size-64),.XL\\:v-mb-size-64{margin-bottom:64px}:host(.XL\\:v-mr-size-64),.XL\\:v-mr-size-64{margin-right:64px}:host(.XL\\:v-ml-size-64),.XL\\:v-ml-size-64{margin-left:64px}:host(.XL\\:v-m-size-72),.XL\\:v-m-size-72{margin:72px}:host(.XL\\:v-mx-size-72),.XL\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.XL\\:v-my-size-72),.XL\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.XL\\:v-mt-size-72),.XL\\:v-mt-size-72{margin-top:72px}:host(.XL\\:v-mb-size-72),.XL\\:v-mb-size-72{margin-bottom:72px}:host(.XL\\:v-mr-size-72),.XL\\:v-mr-size-72{margin-right:72px}:host(.XL\\:v-ml-size-72),.XL\\:v-ml-size-72{margin-left:72px}:host(.XL\\:v-m-size-80),.XL\\:v-m-size-80{margin:80px}:host(.XL\\:v-mx-size-80),.XL\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.XL\\:v-my-size-80),.XL\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.XL\\:v-mt-size-80),.XL\\:v-mt-size-80{margin-top:80px}:host(.XL\\:v-mb-size-80),.XL\\:v-mb-size-80{margin-bottom:80px}:host(.XL\\:v-mr-size-80),.XL\\:v-mr-size-80{margin-right:80px}:host(.XL\\:v-ml-size-80),.XL\\:v-ml-size-80{margin-left:80px}:host(.XL\\:v-m-size-112),.XL\\:v-m-size-112{margin:112px}:host(.XL\\:v-mx-size-112),.XL\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.XL\\:v-my-size-112),.XL\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.XL\\:v-mt-size-112),.XL\\:v-mt-size-112{margin-top:112px}:host(.XL\\:v-mb-size-112),.XL\\:v-mb-size-112{margin-bottom:112px}:host(.XL\\:v-mr-size-112),.XL\\:v-mr-size-112{margin-right:112px}:host(.XL\\:v-ml-size-112),.XL\\:v-ml-size-112{margin-left:112px}:host(.XL\\:v-m-size-2),.XL\\:v-m-size-2{margin:2px}:host(.XL\\:v-mx-size-2),.XL\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.XL\\:v-my-size-2),.XL\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.XL\\:v-mt-size-2),.XL\\:v-mt-size-2{margin-top:2px}:host(.XL\\:v-mb-size-2),.XL\\:v-mb-size-2{margin-bottom:2px}:host(.XL\\:v-mr-size-2),.XL\\:v-mr-size-2{margin-right:2px}:host(.XL\\:v-ml-size-2),.XL\\:v-ml-size-2{margin-left:2px}:host(.XL\\:v-m-auto),.XL\\:v-m-auto{margin:auto}:host(.XL\\:v-mx-auto),.XL\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.XL\\:v-my-auto),.XL\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.XL\\:v-mt-auto),.XL\\:v-mt-auto{margin-top:auto}:host(.XL\\:v-mb-auto),.XL\\:v-mb-auto{margin-bottom:auto}:host(.XL\\:v-mr-auto),.XL\\:v-mr-auto{margin-right:auto}:host(.XL\\:v-ml-auto),.XL\\:v-ml-auto{margin-left:auto}}:host{display:none;box-sizing:border-box;overflow-y:auto;text-align:left;position:fixed;top:0px;left:0px;right:0px;bottom:0px;align-items:flex-start}:host(.align-center){align-items:center}.modal-container{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1));box-shadow:var(--v-shadow-modal, 0px 6px 40px 0px rgba(2, 2, 15, 0.04), 0px 4px 24px 0px rgba(2, 2, 15, 0.08), 0px 8px 80px 0px rgba(2, 2, 15, 0.16));border-radius:12px;box-sizing:border-box;pointer-events:auto;overflow:hidden;height:100%}:host(.animation) .modal-container{animation-name:animatetop;animation-duration:0.4s}.vega-modal-header{display:flex;align-items:center;flex-direction:row;gap:8px}:host(:not(.is-section-padding)) .vega-modal-header{padding-bottom:0px}:host(:not(.is-section-padding)) .vega-modal-header.vega-modal-header-with-title,:host(:not(.is-section-padding)) .vega-modal-header.vega-modal-header-with-icon{padding-bottom:16px}:host(:not(.is-section-padding)) .vega-modal-header.vega-modal-header-with-content-scroll:not(.vega-modal-header-with-title):not(.vega-modal-header-with-icon){padding-top:0px;padding-bottom:0px}:host(:not(.is-section-padding)) .vega-modal-content{padding-top:0px;padding-bottom:0px}:host(:not(.is-section-padding)) .vega-modal-content.vega-modal-content-with-scroll{padding-top:24px;padding-bottom:24px}:host(:not(.is-section-padding)) .vega-modal-footer:not(.vega-modal-footer-with-slot){padding-top:0px}:host(:not(.is-section-padding)) .vega-modal-footer.vega-modal-footer-with-content-scroll:not(.vega-modal-footer-with-slot){padding-top:0px;padding-bottom:0px}.vega-modal-header-with-content-scroll.vega-modal-header-with-icon,.vega-modal-header-with-content-scroll.vega-modal-header-with-title{position:relative;z-index:1;box-shadow:var(--v-shadow-modal-header, 0px 1px 0px 0px rgba(45, 76, 97, 0.15))}.vega-modal-title{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px;flex-grow:1;word-break:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-modal-title{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-modal-title{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-modal-title{font-family:"Inter", sans-serif;font-size:28px;font-weight:700;line-height:36px;letter-spacing:0px}}.vega-modal-close-btn{cursor:pointer}.vega-modal-close-btn vega-icon{display:block}.vega-modal-content-with-scroll{overflow:auto}.vega-modal-footer-with-content-scroll.vega-modal-footer-with-slot{position:relative;z-index:1;box-shadow:var(--v-shadow-modal-footer, 0px -2px 8px 0px rgba(45, 76, 97, 0.2), 0px -1px 0px 0px rgba(45, 76, 97, 0.15))}.vega-modal-footer-with-content-scroll.vega-modal-footer-with-slot.vega-modal-footer-with-content-scroll-to-bottom{box-shadow:var(--v-shadow-modal-footer-no-scroll, 0px -1px 0px 0px rgba(45, 76, 97, 0.15))}@keyframes animatetop{from{top:-300px;opacity:0}to{top:0;opacity:1}}';export{V as vega_dialog,vi as vega_modal}
@@ -1 +0,0 @@
1
- import{h as t,H as e,F as i,r as o,c as s,g as n}from"./p-6b2342e0.js";import{c as r,M as l,V as c,I as a}from"./p-6e1ab235.js";import{V as h,I as d}from"./p-4415ad28.js";import{s as u}from"./p-519a7d55.js";import{c as f}from"./p-6ac8e655.js";import{C as p}from"./p-2d0d575f.js";import{d as v,D as m}from"./p-f28a6074.js";import{s as b,d as g,K as x,L as w,M as C,y,a as R}from"./p-6c43d54a.js";import{R as j}from"./p-b6c3ce6d.js";import{i as k}from"./p-e4c4ea35.js";import{V as S}from"./p-e1fbfd20.js";import{c as O,ah as T,F as L,ai as E,aj as z,e as B,T as H,a3 as I,ak as M,y as D,al as A,am as V,an as F,af as N,ad as P,ao as U,M as $,l as W,a9 as _,A as K,H as q,s as G,h as J,ac as Y,U as X,j as Z,O as Q,i as tt,n as et,L as it,E as ot,I as st,V as nt}from"./p-fb05335d.js";import{V as rt,I as lt,a as ct,T as at}from"./p-a07c5dae.js";import{V as ht,i as dt,a as ut,X as ft,Y as pt,c as vt,b as mt}from"./p-9af0e2e7.js";import{g as bt}from"./p-8b5d3a52.js";import{w as gt}from"./p-5e50dbb9.js";import{F as xt}from"./p-c347e08a.js";import{c as wt}from"./p-6b5cb920.js";import{c as Ct}from"./p-c31a32f4.js";import{f as yt,d as Rt,V as jt,M as kt,I as St,S as Ot,i as Tt,b as Lt}from"./p-5904616e.js";import{b as Et,A as zt,c as Bt,a as Ht}from"./p-c78fe943.js";import{R as It,C as Mt,a as Dt}from"./p-386895e9.js";import{F as At}from"./p-a528714c.js";import{O as Vt}from"./p-331a62d5.js";import{d as Ft}from"./p-1bc5b3bc.js";import{D as Nt}from"./p-a5713178.js";import{R as Pt}from"./p-77300901.js";import{C as Ut}from"./p-e27626f6.js";import{T as $t}from"./p-57f220b5.js";import{V as Wt}from"./p-8aee6b74.js";import{A as _t}from"./p-4d65756f.js";import{i as Kt}from"./p-d27ae9ff.js";import{c as qt}from"./p-613ddaab.js";import{t as Gt}from"./p-aacf6920.js";import{f as Jt}from"./p-6e70d3cc.js";import{r as Yt}from"./p-77e64f26.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-d884c644.js";import"./p-3b791b5d.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-6a334573.js";import"./p-02841589.js";import"./p-a841cf13.js";import"./p-f0e828d8.js";import"./p-b75ee3ba.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-abd7aeaa.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-af5cb9bc.js";import"./p-f1c672e4.js";import"./p-fcce494e.js";import"./p-a87cb7ac.js";import"./p-4cefd7fe.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-1fb56e14.js";import"./p-262ec334.js";var Xt=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Zt extends c{constructor(){super(...arguments),this.renderHintMessage=()=>t("vega-text",null,this.hint),this.renderTextContent=()=>t("div",{class:{"rich-text-editor-container":!0,disabled:this.disabled,"vega-hidden":this.sourceView},style:{minHeight:24*this.rows+"px"},onClick:this.richTextContentFocus,role:"textbox",tabIndex:this.disabled?0:-1,onKeyDown:f(),ref:t=>this.richTextContainerRef=t},t("vega-rich-text-content",{ref:t=>this.richTextContentRef=t,content:this.value,extensions:this.extensions}),this.renderCharacterCounter()),this.renderCharacterCounter=()=>t("div",{class:{"text-editor-counter":!0,"counter-exceed-max-length":!1},style:{display:"none"}},t("span",null,"0"),t("span",null,"/100")),this.renderErrorMessage=()=>t("div",{class:"vega-error vega-hidden"}),this.richTextContentFocus=()=>{this.richTextContentRef.vegaFocus()}}componentDidRender(){p.notify(v.getSubject(this.host,b),{})}getRichTextContainerRef(){return this.richTextContainerRef}getRichTextContentRef(){return this.richTextContentRef}getRichTextWrapperRef(){return this.richTextWrapperRef}getRTEEditableElementRef(){if(this.richTextContentRef&&this.richTextContentRef.shadowRoot)return this.richTextContentRef.shadowRoot.querySelector(".rich-text-content")}render(){return t(e,null,this.renderRichTextEditor())}renderRichTextEditor(){return t("vega-flex",{direction:"col",gap:"0",ref:t=>this.richTextWrapperRef=t},this.renderLabel(),this.hint&&this.renderHintMessage(),this.toolbarRenderer.render(),this.renderContent(),this.renderErrorMessage())}renderLabel(){return this.label&&t("vega-field-label",{onClick:this.richTextContentFocus,isFieldRequired:this.required,disabled:this.disabled,label:this.label})}renderContent(){return t(i,null,this.renderTextContent(),this.richTextEditorSourceViewRenderer.render())}}Xt([r()],Zt.prototype,"host",void 0),Xt([r()],Zt.prototype,"toolbarRenderer",void 0),Xt([r()],Zt.prototype,"label",void 0),Xt([r()],Zt.prototype,"required",void 0),Xt([r()],Zt.prototype,"hint",void 0),Xt([r()],Zt.prototype,"disabled",void 0),Xt([r()],Zt.prototype,"rows",void 0),Xt([r()],Zt.prototype,"placeholder",void 0),Xt([r()],Zt.prototype,"value",void 0),Xt([r()],Zt.prototype,"sourceView",void 0),Xt([r()],Zt.prototype,"toolbarItems",void 0),Xt([r()],Zt.prototype,"sourceEditConfig",void 0),Xt([r()],Zt.prototype,"allowSourceEdit",void 0),Xt([r()],Zt.prototype,"extensions",void 0),Xt([r()],Zt.prototype,"richTextEditorSourceViewRenderer",void 0),Xt([l("componentDidRender")],Zt.prototype,"componentDidRender",null);var Qt=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class te extends c{constructor(){super(...arguments),this.getToolbarBtnRenderer=t=>{switch(t){case"clearStyle":return this.clearStyleToolbarButtonSlimmer;case"bold":return this.boldToolbarButtonSlimmer;case"textStyles":return this.textStylesToolbarButtonSlimmer;case"italic":return this.italicToolbarButtonSlimmer;case"underline":return this.underlineToolbarButtonSlimmer;case"textColor":return this.textColorToolbarButtonSlimmer;case"moreIndent":return this.moreIndentToolbarButtonSlimmer;case"lessIndent":return this.lessIndentToolbarButtonSlimmer;case"code":return this.codeToolbarButtonSlimmer;case"strikethrough":return this.strikethroughToolbarButtonSlimmer;case"link":return this.linkToolbarButtonSlimmer;case"image":return this.imageToolbarButtonSlimmer;case"bulletsNumbers":return this.bulletsNumbersToolbarButtonSlimmer;case"horizontalAlignment":return this.horizontalAlignmentToolbarButtonSlimmer;case"codeBlock":return this.codeBlockToolbarButtonSlimmer}}}render(){const[e,o]=this.renderToolbarItems();return t("vega-flex",{gap:"size-8",alignItems:"center",flexWrap:"wrap"},this.allowSourceEdit&&t(i,null,t("div",{class:"toolbar-btn-group"},this.sourceEditToolbarButtonSlimmer.render()),this.toolbarItems.length>0&&o>0&&this.renderVegaDivider()),e)}renderVegaDivider(){return t("vega-box",{height:"size-32"},t("vega-divider",{direction:"vertical"}))}renderToolbarItems(){let e=0;return[this.toolbarItems.map((i=>{let o=0;const s=i.map((i=>{const s=this.getToolbarBtnRenderer(i),n=j.getRTEToolbarButtonRenderer(i,this.host);if(s)return s.isHidden()||(e++,o++),s.render();if(n){const i={sourceEditMode:this.sourceView,host:this.host,rteRange:this.selectionController.getCurrentRange()};return n.isHidden(i)||(e++,o++),n.render(t,i)}return null})).filter(k);return t("div",{class:{"toolbar-btn-group":!0,"vega-hidden":o<1}},s)})),e]}}Qt([r()],te.prototype,"toolbarItems",void 0),Qt([r()],te.prototype,"allowSourceEdit",void 0),Qt([r()],te.prototype,"host",void 0),Qt([r()],te.prototype,"clearStyleToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"boldToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"textStylesToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"italicToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"underlineToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"textColorToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"bulletsNumbersToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"horizontalAlignmentToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"strikethroughToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"imageToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"moreIndentToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"lessIndentToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"codeToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"linkToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"codeBlockToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"sourceEditToolbarButtonSlimmer",void 0),Qt([r()],te.prototype,"selectionController",void 0),Qt([r()],te.prototype,"sourceView",void 0);class ee extends rt{constructor(){super({icon:"bold",tooltip:{text:"Bold"}})}onClick(){const t=this.isSelected();this.selectionController.getSelectedNodes().filter((t=>t instanceof O)).forEach((e=>e.apply(new T(!t))))}isSelected(){const t=this.selectionController.getSelectedNodes().filter((t=>t instanceof O));return t.length>0&&t.every((t=>{var e;return null===(e=t.getAnnotationByType(L.BOLD))||void 0===e?void 0:e.bold}))}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>{var e;return(null===(e=t.getAnnotationByType(L.CODE))||void 0===e?void 0:e.code)||this.shouldDisabledToolbar(t,T.name)}))}}S.register({bold:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M0 64C0 46.3 14.3 32 32 32H80 96 224c70.7 0 128 57.3 128 128c0 31.3-11.3 60.1-30 82.3c37.1 22.4 62 63.1 62 109.7c0 70.7-57.3 128-128 128H96 80 32c-17.7 0-32-14.3-32-32s14.3-32 32-32H48V256 96H32C14.3 96 0 81.7 0 64zM224 224c35.3 0 64-28.7 64-64s-28.7-64-64-64H112V224H224zM112 288V416H256c35.3 0 64-28.7 64-64s-28.7-64-64-64H224 112z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],ee.prototype,"selectionController",void 0);class ie extends rt{constructor(){super({icon:"italic",tooltip:{text:"Italic"}})}isSelected(){const t=this.selectionController.getSelectedNodes().filter((t=>t instanceof O));return t.length>0&&t.every((t=>{var e;return null===(e=t.getAnnotationByType(L.ITALIC))||void 0===e?void 0:e.italic}))}onClick(){const t=this.isSelected();this.selectionController.getSelectedNodes().filter((t=>t instanceof O)).forEach((e=>e.apply(new E(!t))))}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>{var e;return(null===(e=t.getAnnotationByType(L.CODE))||void 0===e?void 0:e.code)||this.shouldDisabledToolbar(t,E.name)}))}}S.register({italic:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M128 64c0-17.7 14.3-32 32-32H352c17.7 0 32 14.3 32 32s-14.3 32-32 32H293.3L160 416h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H90.7L224 96H160c-17.7 0-32-14.3-32-32z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],ie.prototype,"selectionController",void 0);class oe extends rt{constructor(){super({icon:"underline",tooltip:{text:"Underline"}})}isSelected(){const t=this.selectionController.getSelectedNodes().filter((t=>t instanceof O));return t.length>0&&t.every((t=>{var e;return null===(e=t.getAnnotationByType(L.UNDERLINE))||void 0===e?void 0:e.underline}))}onClick(){const t=this.isSelected();this.selectionController.getSelectedNodes().filter((t=>t instanceof O)).forEach((e=>e.apply(new z(!t))))}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>{var e;return(null===(e=t.getAnnotationByType(L.CODE))||void 0===e?void 0:e.code)||this.shouldDisabledToolbar(t,z.name)}))}}S.register({underline:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M16 64c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H128V224c0 53 43 96 96 96s96-43 96-96V96H304c-17.7 0-32-14.3-32-32s14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H384V224c0 88.4-71.6 160-160 160s-160-71.6-160-160V96H48C30.3 96 16 81.7 16 64zM0 448c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],oe.prototype,"selectionController",void 0);var se=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ne extends rt{constructor(){super({icon:"text-size",tooltip:{text:"Text Styles"}}),this.handleDropdownItemClick=t=>{var e,i;const o=t.detail,s=null!==(i=null===(e=ne.allItems.find((t=>t.key===o)))||void 0===e?void 0:e.bold)&&void 0!==i&&i,n=this.selectionController.getSelectedBlocks().filter((t=>t instanceof B));n.length>0?n.forEach((t=>{t.apply(new H(o,s))})):this.focusController.focusOnLastTextNode({newLine:!0}).then((()=>{this.selectionController.getSelectedBlocks().filter((t=>t instanceof B)).forEach((t=>{t.apply(new H(o,s))}))}))}}renderBtnWrapper(e){return t("vega-dropdown",{selectType:"single",trigger:"click",alignment:"center",selectedSourceKey:this.getSelectedSourceKey(),ref:t=>{this.addDropdownObserver(t)}},e({showArrowIcon:!0}),t("div",Object.assign({slot:"items"},super.preventLostFocus()),this.renderDropdownContent()))}renderDropdownContent(){const e=ne.allItems.filter((t=>this.textStyleItems.some((e=>e.key===t.key))));return t(i,null,e.map((e=>{const i=new I(e.key),o=new M(e.bold);return t("vega-dropdown-item",{key:e.key,itemKey:e.key},t("vega-box",{padding:{right:"size-20"}},t("div",{style:Object.assign(Object.assign({},i.renderStyle({standalone:!0})),o.renderStyle({standalone:!0}))},this.translationSlimmer.t(e.label))))})))}isSelected(){return!1}isDisabled(){const t=this.selectionController.getSelectedBlocks();return super.isDisabled()||t.some((t=>this.shouldDisabledToolbar(t,H.name)))}addDropdownObserver(t){m.addUniqueObserverToNode(t,ht,this.handleDropdownItemClick)}getSelectedSourceKey(){var t;const e=this.selectionController.getSelectedBlocks().filter((t=>t instanceof B));if(e.length>0&&e.every((t=>t.type===e[0].type))){const i=e[0].getAnnotationByType(D.TEXT_STYLE);return null!==(t=null==i?void 0:i.textStyle)&&void 0!==t?t:""}return""}}S.register({"text-size":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M64 128V96h96l0 320H128c-17.7 0-32 14.3-32 32s14.3 32 32 32H256c17.7 0 32-14.3 32-32s-14.3-32-32-32H224l0-320h96v32c0 17.7 14.3 32 32 32s32-14.3 32-32V80c0-26.5-21.5-48-48-48H192 48C21.5 32 0 53.5 0 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32zM384 304V288h64l0 128H432c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H512l0-128h64v16c0 17.7 14.3 32 32 32s32-14.3 32-32V272c0-26.5-21.5-48-48-48H368c-26.5 0-48 21.5-48 48v32c0 17.7 14.3 32 32 32s32-14.3 32-32z"/></svg>'}}),ne.allItems=[{key:"title",label:"Title",bold:!0},{key:"subtitle",label:"Subtitle"},{key:"heading-1",label:"Heading 1",bold:!0},{key:"heading-2",label:"Heading 2",bold:!0},{key:"heading-3",label:"Heading 3",bold:!0},{key:"heading-4",label:"Heading 4",bold:!0},{key:"heading-5",label:"Heading 5",bold:!0},{key:"heading-6",label:"Heading 6",bold:!0},{key:"paragraph",label:"Paragraph"}],se([r()],ne.prototype,"selectionController",void 0),se([r()],ne.prototype,"focusController",void 0),se([r()],ne.prototype,"textStyleItems",void 0);class re extends rt{constructor(){super({icon:"text-slash",tooltip:{text:"Clear Style"}})}isSelected(){return!1}onClick(){this.selectionController.getSelectedNodes().filter((t=>t instanceof O)).forEach((t=>{t.apply(new A)}))}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>this.shouldDisabledToolbar(t,A.name)))}}S.register({"text-slash":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L355.7 253.5 400.2 96H503L497 120.2c-4.3 17.1 6.1 34.5 23.3 38.8s34.5-6.1 38.8-23.3l11-44.1C577.6 61.3 554.7 32 523.5 32H376.1h-.3H204.5c-22 0-41.2 15-46.6 36.4l-6.3 25.2L38.8 5.1zm168 131.7c.1-.3 .2-.7 .3-1L217 96H333.7L301.3 210.8l-94.5-74.1zM243.3 416H192c-17.7 0-32 14.3-32 32s14.3 32 32 32H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H309.8l17.6-62.1L272.9 311 243.3 416z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],re.prototype,"selectionController",void 0);class le extends rt{constructor(){super({icon:"code-simple",tooltip:{text:"Code"}})}onClick(){const t=this.isSelected();this.selectionController.getSelectedNodes().filter((t=>t instanceof O)).forEach((e=>e.apply(new V(!t))))}isSelected(){const t=this.selectionController.getSelectedNodes();return t.length>0&&t.filter((t=>t instanceof O)).map((t=>t.getAnnotationByType(L.CODE))).every((t=>t&&t.code))}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>t.getAnnotationByType(L.LINK)||this.shouldDisabledToolbar(t,V.name)))}}S.register({"code-simple":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 214.6 118.6zm146.7 0L498.7 256 361.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],le.prototype,"selectionController",void 0);class ce extends rt{constructor(){super({icon:"strikethrough",tooltip:{text:"Strikethrough"}})}isSelected(){const t=this.selectionController.getSelectedNodes().filter((t=>t instanceof O));return t.length>0&&t.every((t=>{var e;return null===(e=t.getAnnotationByType(L.STRIKETHROUGH))||void 0===e?void 0:e.strikethrough}))}onClick(){const t=this.isSelected();this.selectionController.getSelectedNodes().filter((t=>t instanceof O)).forEach((e=>e.apply(new F(!t))))}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>{var e;return(null===(e=t.getAnnotationByType(L.CODE))||void 0===e?void 0:e.code)||this.shouldDisabledToolbar(t,F.name)}))}}S.register({strikethrough:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. --\x3e<path fill="currentColor" d="M332.2 319.9c17.22 12.17 22.33 26.51 18.61 48.21c-3.031 17.59-10.88 29.34-24.72 36.99c-35.44 19.75-108.5 11.96-186-19.68c-16.34-6.686-35.03 1.156-41.72 17.53s1.188 35.05 17.53 41.71c31.75 12.93 95.69 35.37 157.6 35.37c29.62 0 58.81-5.156 83.72-18.96c30.81-17.09 50.44-45.46 56.72-82.11c3.998-23.27 2.168-42.58-3.488-59.05H332.2zM488 239.9l-176.5-.0309c-15.85-5.613-31.83-10.34-46.7-14.62c-85.47-24.62-110.9-39.05-103.7-81.33c2.5-14.53 10.16-25.96 22.72-34.03c20.47-13.15 64.06-23.84 155.4 .3438c17.09 4.531 34.59-5.654 39.13-22.74c4.531-17.09-5.656-34.59-22.75-39.12c-91.31-24.18-160.7-21.62-206.3 7.654C121.8 73.72 103.6 101.1 98.09 133.1C89.26 184.5 107.9 217.3 137.2 239.9L24 239.9c-13.25 0-24 10.75-24 23.1c0 13.25 10.75 23.1 24 23.1h464c13.25 0 24-10.75 24-23.1C512 250.7 501.3 239.9 488 239.9z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],ce.prototype,"selectionController",void 0);class ae extends rt{constructor(){super({icon:"link",tooltip:{text:"Link"}}),this.handleLinkEditorChange=({detail:t})=>{switch(t.action){case"link":{const{url:e,text:i}=t.payload,o=i!==this.currentSelectedText,s=bt();return void this.currentSelectedNodes.forEach((t=>{t.apply(new N(this.currentRange)).apply(new P({link:{href:e,groupKey:s},newText:o?i:void 0,needMergeNode:o&&this.currentSelectedNodes.length>1,type:"link"}))}))}}}}renderBtnWrapper(e){return t("div",{class:"toolbar-btn-link-wrapper",ref:t=>this.linkBtnWrapperRef=t},e(),t("vega-rich-text-link-editor",{resetStatusAfterHide:!1,status:"linkEdit",ref:t=>{t&&(this.linkEditorRef=t),m.addUniqueObserverToNode(t,dt,this.handleLinkEditorChange)}}))}isSelected(){return!1}isDisabled(){const t=this.selectionController.getSelectedNodes(),e=this.selectionController.getSelectedBlocks();return super.isDisabled()||e.length>1||t.some((t=>{var e;return this.shouldDisabledToolbar(t,P.name)||t.getAnnotationByType(L.LINK)||(null===(e=t.getAnnotationByType(L.CODE))||void 0===e?void 0:e.code)}))}onClick(){this.currentRange=this.selectionController.getCurrentRange().toNativeRange(),this.currentSelectedNodes=this.selectionController.getSelectedNodes(),this.currentRange&&(this.currentSelectedText=this.currentRange.toString(),this.currentSelectedNodes.length>0&&(this.linkEditorRef.record={text:this.currentSelectedText,url:""})),this.linkEditorRef.target||(this.linkEditorRef.target=this.linkBtnWrapperRef,gt(this.linkEditorRef).then((()=>{this.linkEditorRef.show()})))}}S.register({link:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M562.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L405.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C189.5 251.2 196 330 246 380c56.5 56.5 148 56.5 204.5 0L562.8 267.7zM43.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C57 372 57 321 88.5 289.5L200.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C416.5 260.8 410 182 360 132c-56.5-56.5-148-56.5-204.5 0L43.2 244.3z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],ae.prototype,"selectionController",void 0);class he extends rt{constructor(){super({icon:"indent",tooltip:{text:"More Indent"}})}isSelected(){return!1}isDisabled(){const t=this.selectionController.getSelectedBlocks();return super.isDisabled()||t.some((t=>this.shouldDisabledToolbar(t,U.name)))}onClick(){this.selectionController.getSelectedBlocks().forEach((t=>{var e,i;const o=null!==(i=null===(e=t.getAnnotationByType(D.INDENT))||void 0===e?void 0:e.indent)&&void 0!==i?i:0;t.apply(new U(o+1))}))}}S.register({indent:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M0 64C0 46.3 14.3 32 32 32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64zM192 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zm32 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zM0 448c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM127.8 268.6L25.8 347.9C15.3 356.1 0 348.6 0 335.3V176.7c0-13.3 15.3-20.8 25.8-12.6l101.9 79.3c8.2 6.4 8.2 18.9 0 25.3z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],he.prototype,"selectionController",void 0);class de extends rt{constructor(){super({icon:"outdent",tooltip:{text:"Less Indent"}})}isSelected(){return!1}isDisabled(){const t=this.selectionController.getSelectedBlocks();return super.isDisabled()||t.some((t=>this.shouldDisabledToolbar(t,U.name)))}onClick(){this.selectionController.getSelectedBlocks().forEach((t=>{var e,i;const o=null!==(i=null===(e=t.getAnnotationByType(D.INDENT))||void 0===e?void 0:e.indent)&&void 0!==i?i:0;t.apply(new U(o>1?o-1:0))}))}}S.register({outdent:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M6 64C6 46.3 20.3 32 38 32H422c17.7 0 32 14.3 32 32s-14.3 32-32 32H38C20.3 96 6 81.7 6 64zM198 192c0-17.7 14.3-32 32-32H422c17.7 0 32 14.3 32 32s-14.3 32-32 32H230c-17.7 0-32-14.3-32-32zm32 96H422c17.7 0 32 14.3 32 32s-14.3 32-32 32H230c-17.7 0-32-14.3-32-32s14.3-32 32-32zM6 448c0-17.7 14.3-32 32-32H422c17.7 0 32 14.3 32 32s-14.3 32-32 32H38c-17.7 0-32-14.3-32-32zm.2-179.4c-8.2-6.4-8.2-18.9 0-25.3l101.9-79.3c10.5-8.2 25.8-.7 25.8 12.6V335.3c0 13.3-15.3 20.8-25.8 12.6L6.2 268.6z"/></svg>'}}),function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);n>3&&r&&Object.defineProperty(e,i,r)}([r()],de.prototype,"selectionController",void 0);class ue extends ${constructor(t){super(),this.type=W.UPDATE_IMAGE_NODE_URL,this.url=t}}var fe=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class pe extends rt{constructor(){super({icon:"image",tooltip:{text:"Image"}}),this.insertURLImage=async()=>{const t=this.normalizeSafeImageUrl(this.insertURLInputRef.value);this.applyImageNode(t,"url"),await this.insertURLModalRef.modal("hide")},this.handleDropdownItemClick=async t=>{switch(t.detail){case"upload":this.uploadInputRef.click();break;case"url":this.currentRange=this.selectionController.getCurrentRange(),this.currentSelectedNodes=this.selectionController.getSelectedNodes(),this.currentSelectedBlocks=this.selectionController.getSelectedBlocks(),this.host.parentElement.append(this.insertURLModalRef),this.insertURLInputRef.value="",await this.insertURLModalRef.modal("show"),await this.insertURLInputRef.doFocus()}await this.dropdownRef.hide()},this.fileInputChange=t=>{t.stopPropagation();const e=t.target;if(!e.files.length)return;const i=this.applyImageNode(URL.createObjectURL(e.files[0]),"upload"),o={file:e.files[0],sendBackUploadedURLCallback:this.updateNodeURLMap.get(i)};this.imageInsertedEventEmitter.emit(o),e.value=""}}renderBtnWrapper(e){return t("vega-box",null,t("vega-dropdown",{selectType:"none",trigger:"click",alignment:"center",ref:t=>{this.dropdownRef=t,this.addDropdownObserver(t)}},e({showArrowIcon:!0}),t("div",Object.assign({slot:"items"},super.preventLostFocus()),this.renderDropdownContent())),this.renderUploadInput(),this.renderInsertURLModal())}isSelected(){return!1}isDisabled(){const t=this.selectionController.getSelectedNodes(),e=this.selectionController.getSelectedBlocks()[0];return super.isDisabled()||t.some((t=>t.getAnnotationByType(L.LINK)))||this.shouldDisabledToolbar(e,W.INSERT_IMAGE_TO_BLOCK)}renderDropdownContent(){return t(i,null,pe.items.map((e=>t("vega-dropdown-item",{key:e.key,itemKey:e.key},this.translationSlimmer.t(e.label)))))}renderUploadInput(){return t("input",{type:"file",style:{display:"none"},ref:t=>this.uploadInputRef=t,accept:"image/*",onChange:this.fileInputChange})}renderInsertURLModal(){return t("vega-modal",{size:500,backdropColor:"semi",ref:t=>this.insertURLModalRef=t},t("div",{slot:"modal-title"},this.translationSlimmer.t("Image via URL")),t("div",{slot:"modal-content"},t("vega-input",{placeholder:this.translationSlimmer.t("URL"),ref:t=>this.insertURLInputRef=t,onKeyDown:async t=>{"Enter"===t.key&&await this.insertURLImage()}})),t("vega-flex",{slot:"modal-footer",gap:"size-8",alignItems:"center",justifyContent:"end"},t("vega-button",{label:this.translationSlimmer.t("Cancel"),variant:"secondary",ref:t=>{this.addModalCancelObserver(t)}}),t("vega-button",{label:this.translationSlimmer.t("Insert"),ref:t=>{this.addModalInsertObserver(t)}})))}addDropdownObserver(t){m.addUniqueObserverToNode(t,ht,this.handleDropdownItemClick)}addModalCancelObserver(t){m.addUniqueObserverToNode(t,ut,(async()=>{await this.insertURLModalRef.modal("hide")}))}addModalInsertObserver(t){m.addUniqueObserverToNode(t,ut,this.insertURLImage)}applyImageNode(t,e){const i="url"===e?this.insertImageController.insertImageToCaretPosition(t,this.currentSelectedBlocks,this.currentSelectedNodes,this.currentRange):this.insertImageController.insertImageToCaretPosition(t);return this.updateNodeURLMap||(this.updateNodeURLMap=new Map),this.updateNodeURLMap.set(i,(t=>{i.apply(new ue(t))})),i}normalizeSafeImageUrl(t){try{if("javascript:"===new URL(t).protocol)return""}catch(t){}return t}}S.register({image:{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"/></svg>'}}),pe.items=[{key:"upload",label:"Upload from computer"},{key:"url",label:"Insert via URL"}],fe([r()],pe.prototype,"host",void 0),fe([r()],pe.prototype,"insertImageController",void 0),fe([r()],pe.prototype,"imageInsertedEventEmitter",void 0),fe([r()],pe.prototype,"selectionController",void 0);class ve extends ${constructor(t,e){super(),this.type=W.TRANSFORM_LIST_BLOCK,this.isFlushable=!0,this.listType=t,this.selectedBlocks=e}}class me extends ${constructor(t){super(),this.type=W.TRANSFORM_PARAGRAPH_BLOCK,this.isFlushable=!0,this.selectedBlocks=t}}var be=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ge extends rt{constructor(){super({icon:"list-ul",tooltip:{text:"Bullets"}})}isSelected(){const t=this.selectionController.getSelectedBlocks();return this.isListType(t)}onClick(){this.isSelected()?this.deselectBulletList():this.selectBulletList(),this.popoverRef.hide()}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>t instanceof yt||t instanceof _))}isListType(t,e="bullet-list"){return t.length>0&&t.every((t=>t instanceof Rt&&t.parent.type===e))}deselectBulletList(){const t=this.selectionController.getSelectedBlocks();t[0]&&t[0].parent.apply(new me(t))}selectBulletList(){const t=this.selectionController.getSelectedBlocks();t[0]&&("list-item"===t[0].type?t[0].parent:t[0]).apply(new ve("bullet-list",t))}}be([r()],ge.prototype,"selectionController",void 0),be([r()],ge.prototype,"popoverRef",void 0);var xe=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class we extends rt{constructor(){super({icon:"list-ol",tooltip:{text:"Numbers"}})}isSelected(){const t=this.selectionController.getSelectedBlocks();return this.isListType(t)}onClick(){this.isSelected()?this.deselectNumberList():this.selectNumberList(),this.popoverRef.hide()}isDisabled(){const t=this.selectionController.getSelectedNodes();return super.isDisabled()||t.some((t=>t instanceof yt||t instanceof _))}isListType(t,e="number-list"){return t.length>0&&t.every((t=>t instanceof Rt&&t.parent.type===e))}deselectNumberList(){const t=this.selectionController.getSelectedBlocks();t[0]&&t[0].parent.apply(new me(t))}selectNumberList(){const t=this.selectionController.getSelectedBlocks();t[0]&&("list-item"===t[0].type?t[0].parent:t[0]).apply(new ve("number-list",t))}}xe([r()],we.prototype,"selectionController",void 0),xe([r()],we.prototype,"popoverRef",void 0);var Ce=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ye extends rt{constructor(){super({icon:"list-ul",tooltip:{text:"Bullets"}}),this.bulletsToolbarButtonSlimmer=new ge,this.numbersToolbarButtonSlimmer=new we}componentWillRender(){this.numbersToolbarButtonSlimmer.isSelected()?super.setIcon("list-ol"):super.setIcon("list-ul")}renderBtnWrapper(e){return t("vega-popover",{showArrow:!1,trigger:"click",placement:"bottom",alignment:"center",ref:t=>this.popoverRef=t},t("div",{slot:"popover-content"},e({showArrowIcon:!0})),t("div",{slot:"popover"},this.renderContent()))}renderContent(){return t("vega-flex",{gap:"size-8","justify-content":"center"},t("div",null,this.bulletsToolbarButtonSlimmer.render()),t("div",null,this.numbersToolbarButtonSlimmer.render()))}isSelected(){return!1}isDisabled(){return super.isDisabled()||this.shouldDisabledListToolbar()}shouldDisabledListToolbar(){return this.selectionController.getSelectedBlocks().some((t=>t&&(this.unableToConvertListOrParagraph(t)||this.unableToInsertBlock(t.parent))))}unableToInsertBlock(t){return!(K.canHandle(W.INSERT_CHILDREN_AFTER,t)||K.canHandle(W.INSERT_CHILDREN_BEFORE,t))}unableToConvertListOrParagraph(t){return!K.canHandle(W.TRANSFORM_LIST_BLOCK,t)&&!K.canHandle(W.TRANSFORM_PARAGRAPH_BLOCK,t.parent)}}S.register({"list-ul":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M64 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48-208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0z"/></svg>'},"list-ol":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M24 56c0-13.3 10.7-24 24-24H80c13.3 0 24 10.7 24 24V176h16c13.3 0 24 10.7 24 24s-10.7 24-24 24H40c-13.3 0-24-10.7-24-24s10.7-24 24-24H56V80H48C34.7 80 24 69.3 24 56zM86.7 341.2c-6.5-7.4-18.3-6.9-24 1.2L51.5 357.9c-7.7 10.8-22.7 13.3-33.5 5.6s-13.3-22.7-5.6-33.5l11.1-15.6c23.7-33.2 72.3-35.6 99.2-4.9c21.3 24.4 20.8 60.9-1.1 84.7L86.8 432H120c13.3 0 24 10.7 24 24s-10.7 24-24 24H32c-9.5 0-18.2-5.6-22-14.4s-2.1-18.9 4.3-25.9l72-78c5.3-5.8 5.4-14.6 .3-20.5zM224 64H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 160H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32s14.3-32 32-32z"/></svg>'}}),Ce([r()],ye.prototype,"selectionController",void 0),Ce([a()],ye.prototype,"bulletsToolbarButtonSlimmer",void 0),Ce([a()],ye.prototype,"numbersToolbarButtonSlimmer",void 0),Ce([l("componentWillRender")],ye.prototype,"componentWillRender",null);var Re=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class je extends rt{constructor(){super({icon:"align-left",tooltip:{text:"Left Align"}})}isSelected(){const t=this.selectionController.getSelectedBlocks();return t.length>0&&t.every((t=>{var e;return"left"===(null===(e=t.getAnnotationByType(D.ALIGNMENT))||void 0===e?void 0:e.textAlign)}))}onClick(){this.selectionController.getSelectedBlocks().forEach((t=>t.apply(new q("left")))),this.popoverRef.hide()}}S.register({"align-left":Et}),Re([r()],je.prototype,"selectionController",void 0),Re([r()],je.prototype,"popoverRef",void 0);var ke=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Se extends rt{constructor(){super({icon:"align-center",tooltip:{text:"Center Align"}})}isSelected(){const t=this.selectionController.getSelectedBlocks();return t.length>0&&t.every((t=>{var e;return"center"===(null===(e=t.getAnnotationByType(D.ALIGNMENT))||void 0===e?void 0:e.textAlign)}))}onClick(){this.selectionController.getSelectedBlocks().forEach((t=>t.apply(new q("center")))),this.popoverRef.hide()}}S.register({"align-center":zt}),ke([r()],Se.prototype,"selectionController",void 0),ke([r()],Se.prototype,"popoverRef",void 0);var Oe=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Te extends rt{constructor(){super({icon:"align-right",tooltip:{text:"Right Align"}})}isSelected(){const t=this.selectionController.getSelectedBlocks();return t.length>0&&t.every((t=>{var e;return"right"===(null===(e=t.getAnnotationByType(D.ALIGNMENT))||void 0===e?void 0:e.textAlign)}))}onClick(){this.selectionController.getSelectedBlocks().forEach((t=>t.apply(new q("right")))),this.popoverRef.hide()}}S.register({"align-right":Bt}),Oe([r()],Te.prototype,"selectionController",void 0),Oe([r()],Te.prototype,"popoverRef",void 0);var Le=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ee extends rt{constructor(){super({icon:"align-justify",tooltip:{text:"Justified"}})}isSelected(){const t=this.selectionController.getSelectedBlocks();return t.length>0&&t.every((t=>{var e;return"justify"===(null===(e=t.getAnnotationByType(D.ALIGNMENT))||void 0===e?void 0:e.textAlign)}))}onClick(){this.selectionController.getSelectedBlocks().forEach((t=>t.apply(new q("justify")))),this.popoverRef.hide()}}S.register({"align-justify":Ht}),Le([r()],Ee.prototype,"selectionController",void 0),Le([r()],Ee.prototype,"popoverRef",void 0);var ze=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Be extends rt{constructor(){super({icon:"align-left",tooltip:{text:"Left Align"}}),this.leftAlignToolbarButtonSlimmer=new je,this.centerAlignToolbarButtonSlimmer=new Se,this.rightAlignToolbarButtonSlimmer=new Te,this.justifiedToolbarButtonSlimmer=new Ee}componentWillRender(){this.leftAlignToolbarButtonSlimmer.isSelected()?super.setIcon("align-left"):this.centerAlignToolbarButtonSlimmer.isSelected()?super.setIcon("align-center"):this.rightAlignToolbarButtonSlimmer.isSelected()?super.setIcon("align-right"):this.justifiedToolbarButtonSlimmer.isSelected()?super.setIcon("align-justify"):super.setIcon("align-left")}renderBtnWrapper(e){return t("vega-popover",{trigger:"click",showArrow:!1,alignment:"center",placement:"bottom",ref:t=>this.popoverRef=t},t("div",{slot:"popover-content"},e({showArrowIcon:!0})),t("div",{slot:"popover"},this.renderContent()))}renderContent(){return t("vega-flex",{gap:"size-8","justify-content":"center"},t("div",null,this.leftAlignToolbarButtonSlimmer.render()),t("div",null,this.centerAlignToolbarButtonSlimmer.render()),t("div",null,this.rightAlignToolbarButtonSlimmer.render()),t("div",null,this.justifiedToolbarButtonSlimmer.render()))}isSelected(){return!1}isDisabled(){return super.isDisabled()||this.selectionController.getSelectedBlocks().some((t=>this.shouldDisabledToolbar(t,q.name)))}}ze([r()],Be.prototype,"selectionController",void 0),ze([a()],Be.prototype,"leftAlignToolbarButtonSlimmer",void 0),ze([a()],Be.prototype,"centerAlignToolbarButtonSlimmer",void 0),ze([a()],Be.prototype,"rightAlignToolbarButtonSlimmer",void 0),ze([a()],Be.prototype,"justifiedToolbarButtonSlimmer",void 0),ze([l("componentWillRender")],Be.prototype,"componentWillRender",null);class He{constructor(t,e){this.content=t.clone(!0),this.selection=e.clone(),this.refreshSelectionNodes()}clone(){return new He(this.content,this.selection)}refreshSelectionNodes(){const{startNode:t,endNode:e,startOffset:i,endOffset:o}=this.selection.range;if(t&&e){const s=this.content.findNodeById(t.id),n=this.content.findNodeById(e.id);s&&n&&this.selection.range.updateRTERange({startNode:s,endNode:n,startOffset:i,endOffset:o})}}}var Ie=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Me extends c{connectedCallback(){const t=Ft((()=>{this.valueController.flushChanges(this.value)}),Me.VALUE_CHANGE_DEBOUNCE_TIME,this);this.flushChangeObserver=new Vt(this.isAcceptableFlushChange.bind(this),t),p.register(v.getSubject(this.host,g),this.flushChangeObserver)}disconnectedCallback(){p.unregister(v.getSubject(this.host,g),this.flushChangeObserver)}componentWillLoad(){!this.value||this.value instanceof jt||(this.value=jt.fromJSON(this.value)),this.registerEditorRefAndContent()}watchValueUpdate(){const t=this.sourceEditConfig.autoMatchFormat;!this.value||this.value instanceof jt?this.value&&0!==this.value.children.length?(this.changeEventEmitter.emit(this.value),p.notify(At,{host:this.host,detail:this.value})):this.value=jt.createEmptyContent({autoMatchFormat:t}):this.value=jt.fromJSON(this.value,{autoMatchFormat:t}),this.registerEditorRefAndContent()}async flushChanges(t,e=!0){this.value=t.clone(),e&&this.historyController.registerHistory(new He(this.value,new It(this.selectionController.getCurrentRange()))),await gt(this.host)}isAcceptableFlushChange(){return!0}registerEditorRefAndContent(){this.host&&this.host.value&&G.register(this.host,this.host.value)}}Me.VALUE_CHANGE_DEBOUNCE_TIME=50,Ie([r()],Me.prototype,"host",void 0),Ie([r({writable:!0})],Me.prototype,"value",void 0),Ie([r()],Me.prototype,"changeEventEmitter",void 0),Ie([r()],Me.prototype,"valueController",void 0),Ie([r()],Me.prototype,"historyController",void 0),Ie([r()],Me.prototype,"selectionController",void 0),Ie([r()],Me.prototype,"sourceEditConfig",void 0),Ie([l("connectedCallback")],Me.prototype,"connectedCallback",null),Ie([l("disconnectedCallback")],Me.prototype,"disconnectedCallback",null),Ie([l("componentWillLoad")],Me.prototype,"componentWillLoad",null),Ie([l("watchValueUpdate")],Me.prototype,"watchValueUpdate",null);class De{constructor(t){this.editor=t}syncRichTextContentEditable(){this.editor.richTextContentEditable=!this.editor.disabled}}class Ae{execute(t,e,i,o){this.initCurrentStateAndSelection(t,e),this.setCurrentRichTextEditor(i),this.handleEvent(o)}isRootContainer(t){return t&&t.nodeType===Node.ELEMENT_NODE&&t.classList.contains("rich-text-content")}isEmptyParagraph(t){return t&&t.childNodes&&0===t.childNodes.length}removeSelectionRange(t=!1){p.notify(v.getSubject(this.richTextEditorRef,x),{host:this.richTextEditorRef,detail:t});const e=this.selectionController.getCurrentRange(),i=this.selectionController.getSelectedNodes();return e.startNode||i[0]}createEmptyParagraph(){const t=new B(bt(),"paragraph"),e=new O(`${t.id}1`,"",t);return t.apply(new J([e])),t}initCurrentStateAndSelection(t,e){this.currentState=t,this.selectionController=e}setCurrentRichTextEditor(t){this.richTextEditorRef=t}}class Ve extends ${constructor(t,e){super(),this.type=W.REPLACE_SELECTED_TEXT,this.textToBeInsert="",this.textToBeInsert=t,this.currentRange=e}}class Fe extends ${constructor(t,e,i){super(),this.type=W.INSERT_TEXT_TO_DECORATOR_NODE,this.text="",this.offset=0,this.decoratorNode=t,this.text=e,this.offset=i}}class Ne extends Ae{handleEvent(t){const e=t.data,i=this.selectionController.getCurrentRange(),{startContainer:o,startOffset:s}=i,n=this.selectionController.getSelectedNodes();if(n.length<2){if(!n.length&&this.isRootContainer(o)){const t=this.insertTextToRoot(e);this.selectionController.enqueueSelectionRangeFutureState(t,e.length)}else if(n[0]instanceof O)if(n[0].isContentEditable()){let t=s+e.length,r=!1,l=n[0];"\n"===l.text?(l=this.insertTextToLineBreakNode(l,e),r=!0):(o.nodeValue===Y&&s===Y.length&&l.isEmpty()&&(o.nodeValue="",t-=Y.length),l instanceof O&&(r=!0,l.apply(new Ve(e,i)))),r&&this.selectionController.enqueueSelectionRangeFutureState(l,Math.min(t,l.text.length))}else n[0].parent.apply(new Fe(n[0],e,s))}else{const t=this.removeSelectionRange(!0);t instanceof O&&(t.apply(new Ve(e,i)),this.selectionController.enqueueSelectionRangeFutureState(t,Math.min(s+e.length,t.text.length)))}}insertTextToRoot(t){if(this.currentState&&this.currentState.children[0]&&this.currentState.children[0]instanceof B){const e=this.currentState.children[0].children[0];return e.apply(new X(t)),e}}insertTextToLineBreakNode(t,e){const{startOffset:i,endOffset:o}=this.selectionController.getCurrentRange(),s=t.parent;if(s instanceof B){const n=s.children.indexOf(t);if(0===i&&i===o&&s.children[n+1]){const i=t.cloneWithText(e);return s.apply(new Z(t,i)),i}return t.apply(new X(e)),t}}}class Pe extends Ae{handleEvent(){const t=this.selectionController.getSelectedBlocks();t.length&&(t.length<2?this.breakSingleBlock():this.breakMultipleBlocks())}breakMultipleBlocks(){const t=this.selectionController.getSelectedBlocks(),e=this.selectionController.getCurrentRange(),i=this.removeSelectionRange();if(t.length&&"list-item"===t[0].type||"list-item"===t[t.length-1].type){const o=i.parent,s=t[t.length-1];if(o.type!==s.type&&e.startContainer.nodeType===e.endContainer.nodeType){o.apply(new kt(s));const t=new Q(i,i.text.length);return o.apply(t),void this.switchCaretPositionToNextElement(t.newBlock)}}this.selectionController.enqueueSelectionRangeFutureState(i,e.startOffset)}breakSingleBlock(){const t=this.removeSelectionRange(),e=t instanceof tt?t.parent:t,{startOffset:i}=this.selectionController.getCurrentRange();if(e){const o=new St(t,i);e.apply(o),this.switchCaretPositionToNextElement(o.newBlock)}}switchCaretPositionToNextElement(t){t&&t.children&&this.selectionController.enqueueSelectionRangeFutureState(t.children[0],0)}}class Ue extends ${constructor(t,e){super(),this.type=W.LINE_BREAK_SINGLE_BLOCK,this.startContainerNode=t,this.startOffset=e}}class $e extends ${constructor(t){super(),this.type=W.LINE_BREAK_MULTIPLE_BLOCKS,this.selectedBlocks=t}}class We extends Ae{handleEvent(){const t=this.selectionController.getCurrentRange(),e=this.selectionController.getSelectedBlocks();this.isRootContainer(t.startContainer)&&this.breakNewBlock(),e.length&&(e.length<2?this.breakSingleBlock():this.breakMultipleBlocks())}breakNewBlock(){if(this.currentState&&this.currentState.children[0]&&this.currentState.children[0]instanceof B){const t=new Ue(this.currentState.children[0].children[0],0);this.currentState.children[0].apply(t),this.switchCaretPositionToSpecifiedNode(t.lineBreakNode)}}breakSingleBlock(){const t=this.selectionController.getCurrentRange(),e=this.removeSelectionRange(),i=e.parent;if(i){const o=new Ue(e,t.startOffset);i.apply(o),o.lineBreakNode&&this.switchCaretPositionToSpecifiedNode(o.lineBreakNode)}}breakMultipleBlocks(){const t=this.selectionController.getSelectedBlocks(),e=this.removeSelectionRange(),i=new $e(t);e.parent.apply(i),this.switchCaretPositionToSpecifiedNode(i.lineBreakNode)}switchCaretPositionToSpecifiedNode(t){this.selectionController.enqueueSelectionRangeFutureState(this.getNextRTENode(t),0)}getNextRTENode(t){const e=t.parent.children.indexOf(t);return t.parent.children[e+1]||t}}class _e extends ${constructor(t,e){super(),this.type=W.DELETE_BLOCK_CONTENT,this.startContainerNode=t,this.startOffset=e}}class Ke extends Ae{handleEvent(){this.selectionController.getSelectedBlocks().length<2?this.deleteContentWithSingleBlock():this.deleteContentWithMultipleNodes()}deleteContentWithSingleBlock(){const t=this.selectionController.getCurrentRange(),{startOffset:e,endOffset:i,startContainer:o,endContainer:s}=t,n=this.selectionController.getSelectedBlocks(),r=this.selectionController.getSelectedNodes();if(e!==i||o!==s)this.deleteContentWithMultipleNodes();else if(n[0]){const t=new _e(r[0],e);if(n[0].apply(t),t.previousNode){const i=t.previousNode===r[0]?Math.max(0,e-1):t.previousNode.getRangeEndOffset();this.selectionController.enqueueSelectionRangeFutureState(t.previousNode,i)}else t.nextNode?this.selectionController.enqueueSelectionRangeFutureState(t.nextNode,0):0===this.currentState.children.length&&this.insertDefaultParagraph()}}deleteContentWithMultipleNodes(){const t=this.selectionController.getSelectedNodes(),e=this.removeSelectionRange(!0),i=t[t.length-1];t.length>1&&i instanceof O&&i.isEmpty()&&i.parent.apply(new et(i)),this.convertFirstBlockToParagraph(e.parent)}convertFirstBlockToParagraph(t){if(this.currentState.children[0]===t&&t instanceof B&&1===t.children.length&&t.children[0].isEmpty()&&"paragraph"!==t.type){const e=this.createEmptyParagraph();e.apply(new it(t.children)),t.parent.apply(new Z(t,e)),t.parent.apply(new et(t))}}insertDefaultParagraph(){const t=this.createEmptyParagraph();this.currentState.apply(new J([t])),this.selectionController.enqueueSelectionRangeFutureState(t.children[0],1)}}class qe extends ${constructor(t,e,i,o){super(),this.type=W.PASTE_CONTENT,this.blocksToBeInserted=t,this.startNode=e,this.startOffset=i,this.rteRange=o}}class Ge extends Ae{handleEvent(t){const e=this.parsePastedElements(t),{startContainer:i}=this.selectionController.getCurrentRange();this.isRootContainer(i)?this.insertBlocksToRoot(e):this.isEmptyParagraph(i)?this.insertBlocksBeforeEmptyBlock(e):this.insertBlocksToContent(e)}insertBlocksToRoot(t){this.currentState.apply(new J(t))}insertBlocksToContent(t){const e=this.removeSelectionRange();if(e&&e.parent){const{startOffset:i}=this.selectionController.getCurrentRange(),o=new qe(t,e,i);e.parent.apply(o),o.futureFocusBlock&&this.switchCaretPositionToNextElement(o.futureFocusBlock)}}insertBlocksBeforeEmptyBlock(t){const e=this.removeSelectionRange(),i=null==e?void 0:e.parent;if(i){const e=new qe(t,i.children[0],0,this.selectionController.getCurrentRange());i.apply(e),e.futureFocusBlock&&this.switchCaretPositionToNextElement(e.futureFocusBlock)}}parsePastedElements(t){let e=t.dataTransfer.getData("text/html");if(!e){const i=t.dataTransfer.getData("text/plain");e=this.parsePlainText(i)}const i=Ot.preserve(e),o=i.getProcessedHtml(),s=(new DOMParser).parseFromString(o,"text/html"),n=Array.from(s.body.childNodes);return i.restore(n),Tt.process(n).filter(Boolean).map((t=>t.toDto())).filter(Boolean)}switchCaretPositionToNextElement(t){t&&t.children&&this.selectionController.enqueueSelectionRangeFutureState(t.children[0],0)}parsePlainText(t){return t.split("\n").map((t=>""===t?"<p>\n</p>":`<p>${t}</p>`)).join("")}}var Je=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ye extends c{constructor(){super(...arguments),this.insertTextHandler=new Ne,this.insertParagraphHandler=new Pe,this.insertLineBreakHandler=new We,this.deleteContentHandler=new Ke,this.insertPasteHandler=new Ge,this.handleUserInputAction=t=>{const e=t.inputType;if(t.preventDefault(),this.initValueIfEmpty(),"insertCompositionText"===e||this.isFocusNodeNonEditable())return;this.insertCompositionTextController.removeObserver();let i=!1;switch(e){case"insertParagraph":i=!0,this.insertParagraphHandler.execute(this.value,this.selectionController,this.host,t);break;case"insertText":i=!0,this.insertTextHandler.execute(this.value,this.selectionController,this.host,t);break;case"insertLineBreak":i=!0,this.insertLineBreakHandler.execute(this.value,this.selectionController,this.host,t);break;case"deleteContentBackward":i=!0,this.deleteContentHandler.execute(this.value,this.selectionController,this.host,t);break;case"insertFromPaste":i=!0,this.insertPasteHandler.execute(this.value,this.selectionController,this.host,t)}i&&this.valueController.flushChanges(this.value)}}addActionListener(){const t=this.getEditableElementRef();t&&(t.addEventListener("beforeinput",this.handleUserInputAction),t.addEventListener("drop",this.preventDropEvent))}removeActionListener(){const t=this.getEditableElementRef();t&&(t.removeEventListener("beforeinput",this.handleUserInputAction),t.removeEventListener("drop",this.preventDropEvent))}getEditableElementRef(){return this.editableElementRef||(this.editableElementRef=this.vegaRichTextEditorRenderer.getRTEEditableElementRef()),this.editableElementRef}preventDropEvent(t){t.preventDefault()}initValueIfEmpty(){if(!this.value){const t=bt();this.valueController.flushChanges(jt.fromJSON([{id:t,type:"paragraph",nodes:[{id:`${t}1`,type:"text",text:""}]}]))}}isFocusNodeNonEditable(){const{startContainer:t,endContainer:e}=this.selectionController.getCurrentRange(),i=this.selectionController.getSelectedNodes();if(t&&t===e&&0===i.length){const e=t.nodeType===Node.ELEMENT_NODE?t:t.parentElement;return e&&e.classList.contains(ot.CODE_BLOCK_PLACEHOLDER_CLASS_NAME)}return!1}}Je([r()],Ye.prototype,"host",void 0),Je([r()],Ye.prototype,"value",void 0),Je([r()],Ye.prototype,"valueController",void 0),Je([r()],Ye.prototype,"vegaRichTextEditorRenderer",void 0),Je([r()],Ye.prototype,"selectionController",void 0),Je([r()],Ye.prototype,"insertCompositionTextController",void 0),Je([l("componentDidLoad")],Ye.prototype,"addActionListener",null),Je([l("disconnectedCallback")],Ye.prototype,"removeActionListener",null);class Xe extends ${constructor(t,e,i){super(),this.isFlushable=!0,this.type=W.INSERT_IMAGE_TO_BLOCK,this.splitPointNode=t,this.startOffsetOfNode=e,this.imageBlockToBeInserted=i}}var Ze=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Qe extends c{insertImageToCaretPosition(t,e,i,o){e||(e=this.selectionController.getSelectedBlocks());const s=new Lt(bt()),n=new yt(bt(),t,s);if(n.apply(new lt("md","")),s.apply(new J([n])),e.length<1||this.value.children.length<1)this.value.apply(new J([s])),this.valueController.flushChanges(this.value);else{const{startOffset:t}=o||this.selectionController.getCurrentRange();i||(i=this.selectionController.getSelectedNodes()),e[0].apply(new Xe(i[0],t,s))}return this.updateCaretPosition(n),n}registerObserver(){this.registerImageSelectedObserver()}unRegisterObserver(){this.removeImageSelectedObserver()}updateCaretPosition(t){this.selectionController.enqueueSelectionRangeFutureState(t,1)}registerImageSelectedObserver(){const t=this.vegaRichTextEditorRenderer.getRichTextContentRef();t&&(m.addUniqueObserverToNode(t,w,(t=>{const e=this.selectionController.getCurrentRange();if(!e||e.startContainer!==t.host||0!==e.startOffset){const e=G.getEntityByDOM(t.host.querySelector("img"));this.selectionController.enqueueSelectionRangeFutureState(e,0,e,0,!0)}})),m.addUniqueObserverToNode(t,C,(t=>{const e=this.selectionController.getCurrentRange();e&&e.startContainer===t.host&&1===e.startOffset||this.selectionController.enqueueSelectionRangeFutureState(t.host,1,t.host,1,!0)})))}removeImageSelectedObserver(){const t=this.vegaRichTextEditorRenderer.getRichTextContentRef();t&&(m.removeUniqueObserverFromNode(t,w),m.removeUniqueObserverFromNode(t,C))}}Ze([r()],Qe.prototype,"selectionController",void 0),Ze([r()],Qe.prototype,"value",void 0),Ze([r()],Qe.prototype,"valueController",void 0),Ze([r()],Qe.prototype,"vegaRichTextEditorRenderer",void 0),Ze([l("componentDidLoad")],Qe.prototype,"registerObserver",null),Ze([l("disconnectedCallback")],Qe.prototype,"unRegisterObserver",null);var ti=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ei extends c{constructor(){super(...arguments),this.doFocusOnLastTextNode=async t=>{const e=t.getLastNode(),i=G.getDOMByEntity(e);i&&(e.isContentEditable()?this.setCaretRangeToNodeEnd(i.firstChild,i.firstChild.nodeValue.length):this.setCaretRangeToNodeEnd(i.parentElement,e.getRangeEndOffset()),await this.vegaRichTextEditorRenderer.getRichTextContentRef().vegaFocus())}}async focusOnLastTextNode(t){const e=this.value.children[this.value.children.length-1];if(e instanceof B&&!(null==t?void 0:t.newLine))await this.doFocusOnLastTextNode(e);else{const t=B.from({id:bt(),type:"paragraph",nodes:[{id:bt(),type:"text",text:""}]});e.parent.apply(new st(e,t)),await this.valueController.flushChanges(this.value),await this.doFocusOnLastTextNode(t)}}setCaretRangeToNodeEnd(t,e){const i=new Range;i.setStart(t,e),this.selectionController.setSelectionRange(i)}}ti([r()],ei.prototype,"vegaRichTextEditorRenderer",void 0),ti([r()],ei.prototype,"selectionController",void 0),ti([r()],ei.prototype,"valueController",void 0),ti([r()],ei.prototype,"value",void 0);var ii=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class oi extends c{constructor(){super(...arguments),this.insertCompositionTextEndFlag=!0,this.observerOptions={characterData:!0,characterDataOldValue:!0,subtree:!0,childList:!0},this.updateTextFromDom=t=>{let e=!1;!1!==this.insertCompositionTextEndFlag&&t.forEach((t=>{const{target:i,oldValue:o}=t;if(i.nodeType===Node.TEXT_NODE&&i.parentElement){const t=G.getEntityByDOM(i.parentElement),s=i.textContent;t instanceof O&&t.isContentEditable()&&t.parent instanceof B?e=this.updateCurrentNodeText(t,s,o):s&&(i.parentElement.removeChild(i),e=!0)}})),e&&this.valueController.flushChanges(this.value)},this.handleObserver=t=>{t.every((t=>"characterData"===t.type))&&this.updateTextFromDom(t)},this.handleCompositionStart=()=>{this.insertCompositionTextEndFlag=!1,p.notify(v.getSubject(this.host,x),{host:this.host,detail:!0})},this.handleCompositionEnd=t=>{this.insertCompositionTextEndFlag=!0;const e=t.data;e&&this.dispatchInsertTextEvent(e)}}initMutationObserver(){if(this.mutationObserver){const t=this.getEditableElementRef();t&&(this.mutationObserver.disconnect(),this.mutationObserver.observe(t,this.observerOptions))}}removeObserver(){this.mutationObserver&&this.mutationObserver.disconnect()}isComposing(){return!this.insertCompositionTextEndFlag}addCompositionTextEventListener(){const t=this.getEditableElementRef();t&&(t.addEventListener("compositionstart",this.handleCompositionStart),t.addEventListener("compositionend",this.handleCompositionEnd)),this.mutationObserver=new MutationObserver(this.handleObserver),this.initMutationObserver()}removeCompositionTextEventListener(){const t=this.getEditableElementRef();t&&(t.removeEventListener("compositionstart",this.handleCompositionStart),t.removeEventListener("compositionend",this.handleCompositionEnd)),this.removeObserver()}reConnectObserver(){this.initMutationObserver()}appendLineBreakNode(t){const e=t.parent,i=e.children.indexOf(t);if(e.children[i+1]){const o=t.cloneWithText("\n");e.apply(new Z(e.children[i+1],o))}}updateCurrentNodeText(t,e,i){const o=this.removeZeroWidthSpace(e.replace(/(\n)$/,""));if(t.text!==o){const{startOffset:s}=this.selectionController.getCurrentRange(),n="\n"===t.text;t.apply(new X(o)),n&&this.appendLineBreakNode(t);const r=Math.min(o.length,s-(i?i.length-e.length:0));return this.selectionController.enqueueSelectionRangeFutureState(t,Math.max(0,r)),!0}}getEditableElementRef(){return this.editableElementRef||(this.editableElementRef=this.vegaRichTextEditorRenderer.getRTEEditableElementRef()),this.editableElementRef}removeZeroWidthSpace(t){return t.startsWith(Y)?t.slice(Y.length):t.endsWith(Y)?t.slice(0,t.length-Y.length):t}dispatchInsertTextEvent(t){const e=new CustomEvent("beforeinput");e.data=t,e.inputType="insertText",this.editableElementRef.dispatchEvent(e)}}ii([r()],oi.prototype,"selectionController",void 0),ii([r()],oi.prototype,"host",void 0),ii([r()],oi.prototype,"value",void 0),ii([r()],oi.prototype,"valueController",void 0),ii([r()],oi.prototype,"userInputController",void 0),ii([r()],oi.prototype,"vegaRichTextEditorRenderer",void 0),ii([l("componentDidLoad")],oi.prototype,"addCompositionTextEventListener",null),ii([l("disconnectedCallback")],oi.prototype,"removeCompositionTextEventListener",null),ii([l("componentDidRender")],oi.prototype,"reConnectObserver",null);var si=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class ni extends c{constructor(){super(...arguments),this.deleteActionProcess=t=>{const e=this.selectionController.getCurrentRange(),{startContainer:i,endContainer:o,startOffset:s,endOffset:n}=e;if(i!==o||s!==n){const s=this.removeSelectionRange();!(!t||!t.detail)&&t.detail&&this.mergeRangeStartAndEnd(i,o),this.selectionController.enqueueSelectionRangeFutureState(s,e.startOffset)}}}addDeleteObserver(){m.addUniqueObserverToNode(this.host,x,this.deleteActionProcess)}removeDeleteObserver(){m.removeUniqueObserverFromNode(this.host,x)}removeSelectionRange(){const t=this.selectionController.getCurrentRange(),e=this.selectionController.getSelectedNodes(),{endOffset:i,startOffset:o}=t,s=e[0],n=e[e.length-1];if(e.length>1&&e.filter((t=>t.isContentEditable()?t!==s&&t!==n:t!==s&&(t!==n||this.isEndNodeFullyInTheRange(n,i,t)))).forEach((t=>{t.parent.apply(new et(t))})),this.removeRangeStartAndEndSelectedText(),!s.isContentEditable()&&this.isStartNodeFullyInTheRange(s,n,o,i)){if(1===s.parent.children.length){const t=this.createEmptyParagraph();let e=s.parent;return!e.parent||e.parent instanceof jt||1!==e.parent.children.length||(e=e.parent),e.parent.apply(new Z(e,t)),s.parent.apply(new et(s)),t.children[0]}if(s===s.parent.children[0])return s.parent.apply(new et(s)),s.parent.children[0]}return s}removeRangeStartAndEndSelectedText(){const t=this.selectionController.getSelectedNodes(),e=this.selectionController.getCurrentRange();t[0]instanceof O&&t[0].isContentEditable()&&t[0].apply(new Ve("",e));const i=t[t.length-1];t.length>1&&i instanceof O&&i.isContentEditable()&&t[t.length-1].apply(new Ve("",e))}createEmptyParagraph(){const t=new B(bt(),"paragraph"),e=new O(`${t.id}1`,"",t);return t.apply(new J([e])),t}mergeRangeStartAndEnd(t,e){if(t!==e&&t.nodeType===Node.TEXT_NODE&&e.nodeType===Node.TEXT_NODE){const t=this.selectionController.getSelectedNodes(),e=t[0],i=t[t.length-1];if(e&&e.parent&&i&&i.parent){const t=i.parent;this.shouldMergeTextNode(e,i)&&(e.apply(new X(e.text+i.text)),e.parent===i.parent?e.parent.apply(new et(i)):i.parent.apply(new et(i.parent.children[0]))),e instanceof O&&i instanceof O&&e.parent!==i.parent&&(e.parent.apply(new J(t.children)),t.children=[]),t.children.length<1&&t.parent.apply(new et(t))}}}shouldMergeTextNode(t,e){const{annotations:i}=t.toJSON(),{annotations:o}=e.toJSON();return t instanceof O&&e instanceof O&&JSON.stringify(i)===JSON.stringify(o)}isEndNodeFullyInTheRange(t,e,i){return i instanceof _||i===t&&0!==e}isStartNodeFullyInTheRange(t,e,i,o){return t instanceof _||0===i&&(e!==t||0!==o)}}si([r()],ni.prototype,"host",void 0),si([r()],ni.prototype,"selectionController",void 0),si([r()],ni.prototype,"value",void 0),si([l("connectedCallback")],ni.prototype,"addDeleteObserver",null),si([l("disconnectedCallback")],ni.prototype,"removeDeleteObserver",null);var ri=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class li extends Mt{constructor(){super(...arguments),this.getEffectiveTargets=()=>[this.vegaRichTextEditorRenderer.getRTEEditableElementRef()],this.getIneffectiveTargets=()=>{const t=this.vegaRichTextEditorRenderer.getRTEEditableElementRef();let e=[];return t&&(e=Array.from(t.querySelectorAll(".code-block-container"))),e}}registerInitState(){this.value&&this.registerHistory(new He(this.value,new It(this.selectionController.getCurrentRange())),!0)}async undo(){if(this.undoStack.length>1){const t=this.undoStack.pop().clone();this.redoStack.push(t);const e=this.undoStack[this.undoStack.length-1];e&&await this.restoreState(e)}}async redo(){if(this.redoStack.length>0){const t=this.redoStack.pop().clone();this.undoStack.push(t),await this.restoreState(t)}}async restoreState(t){const{content:e,selection:i}=t.clone();this.selectionController.setSelectionState(i),await this.valueController.flushChanges(e,!1)}}ri([r()],li.prototype,"host",void 0),ri([r()],li.prototype,"vegaRichTextEditorRenderer",void 0),ri([r()],li.prototype,"valueController",void 0),ri([r()],li.prototype,"value",void 0),ri([r()],li.prototype,"selectionController",void 0),ri([l("componentDidLoad")],li.prototype,"registerInitState",null);class ci extends ${constructor(t){super(),this.type=W.TRANSFORM_TO_CODE_BLOCK,this.selectedBlocks=t}}var ai=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class hi extends rt{constructor(){super({icon:"rectangle-code",tooltip:{text:"Code Block"}})}onClick(){if(!this.isSelected()){const t=this.selectionController.getSelectedBlocks(),e=t[0].parent,i=new ci(t);e.apply(i),this.valueController.flushChanges(this.value),this.selectionController.enqueueSelectionRangeFutureState(i.newCodeBlock.children[0],0)}}isSelected(){const t=this.selectionController.getSelectedBlocks();return!(!t.length||!t.every((t=>"code-block"===t.type)))}isDisabled(){const t=this.selectionController.getSelectedBlocks();return super.isDisabled()||t.some((t=>!(t instanceof ot)&&this.shouldDisabledCodeBlockToolbar(t)))}shouldDisabledCodeBlockToolbar(t){return t&&!(t instanceof B&&K.canHandle(W.TRANSFORM_TO_CODE_BLOCK,t.parent))}}S.register({"rectangle-code":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill=\'currentColor\' d="M320.1 175L384.1 239C394.3 248.4 394.3 263.6 384.1 272.1L320.1 336.1C311.6 346.3 296.4 346.3 287 336.1C277.7 327.6 277.7 312.4 287 303L334.1 256L287 208.1C277.7 199.6 277.7 184.4 287 175C296.4 165.7 311.6 165.7 320.1 175V175zM177.9 256L224.1 303C234.3 312.4 234.3 327.6 224.1 336.1C215.6 346.3 200.4 346.3 191 336.1L127 272.1C117.7 263.6 117.7 248.4 127 239L191 175C200.4 165.7 215.6 165.7 224.1 175C234.3 184.4 234.3 199.6 224.1 208.1L177.9 256zM448 32C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96C0 60.65 28.65 32 64 32H448zM448 80H64C55.16 80 48 87.16 48 96V416C48 424.8 55.16 432 64 432H448C456.8 432 464 424.8 464 416V96C464 87.16 456.8 80 448 80z"/></svg>'}}),ai([r()],hi.prototype,"selectionController",void 0),ai([r()],hi.prototype,"valueController",void 0),ai([r()],hi.prototype,"value",void 0);class di extends _t{constructor(){super(1),this.focusNodeOffset=0,this.doTask=async()=>{await this.focusTheCodeBlock(this.shouldFocusNode)}}enqueueSelectionRangeFutureState(t,e,i){this.shouldFocusNode=t,this.focusNodeOffset=e,super.enqueueTheTaskIntoQueue(i)}isCodeBlockSelected(t,e){const i=G.getDOMByEntity(t.children[0]);return t.isSelected()||i&&e.intersectsNode(i.nextSibling)&&e.intersectsNode(i.previousSibling)}async focusTheCodeBlock(t){await Promise.resolve();const e=G.getDOMByEntity(t);e&&e.doFocus()}}var ui=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class fi extends ct{constructor(){super({icon:"display-code",tooltip:{text:"Edit Source"},autoFocusOnClick:!1})}async onClick(){const t=this.sourceView;t?await this.saveSourceCode():this.selectionController.setSelectionRange(new Range),this.sourceView=!t}isSelected(){return this.sourceView}isDisabled(){return super.isDisabled()}async saveSourceCode(){const t=this.richTextEditorSourceViewRenderer.getSourceCode();!t&&this.value.isEmpty()||"string"==typeof t&&await this.valueController.flushChanges(jt.fromHtml(t,{autoMatchFormat:this.sourceEditConfig.autoMatchFormat,filterInlineStyles:this.sourceEditConfig.filterInlineStyles}))}}S.register({"display-code":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M512 48c8.8 0 16 7.2 16 16V352c0 8.8-7.2 16-16 16H336.5c-.3 0-.6 0-.8 0H240.4c-.3 0-.6 0-.8 0H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16H512zM64 416H211.7l-8 48H152c-13.3 0-24 10.7-24 24s10.7 24 24 24h72H352h72c13.3 0 24-10.7 24-24s-10.7-24-24-24H372.3l-8-48H512c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64zm188.3 48l8-48h55.3l8 48H252.3zM249 177c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-48 48c-9.4 9.4-9.4 24.6 0 33.9l48 48c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-31-31 31-31zM361 143c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l31 31-31 31c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l48-48c9.4-9.4 9.4-24.6 0-33.9l-48-48z"/></svg>'}}),ui([r({writable:!0})],fi.prototype,"sourceView",void 0),ui([r()],fi.prototype,"selectionController",void 0),ui([r()],fi.prototype,"valueController",void 0),ui([r()],fi.prototype,"richTextEditorSourceViewRenderer",void 0),ui([r()],fi.prototype,"sourceEditConfig",void 0),ui([r()],fi.prototype,"value",void 0);var pi=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class vi extends c{constructor(){super(...arguments),this.flushValue=(t,e=!1)=>{if(this.host&&t&&(this.valueController.flushChanges(t,!0),e)){const t=this.host.value.getLastNode();t&&this.selectionController.enqueueSelectionRangeFutureState(t,t.getRangeEndOffset())}},this.isSourceEditMode=()=>this.sourceView,this.getSelectedNodes=()=>this.selectionController.getSelectedNodes()}prepareExtensionsBeforeLoad(){if(this.extensions&&this.host)for(const t of this.extensions)t.prepareBeforeLoad(this.host)}initialExtensionContext(){if(this.extensions&&this.host){const t=this.generateExtensionContext();for(const e of this.extensions)e.initialExtensionAfterLoad(t)}}destroyExtension(){if(this.extensions)for(const t of this.extensions)t.destroyExtension()}handleExtensionsChange(t,e){if(e)for(const t of e)t.destroyExtension();Kt(t,e,!1,((t,e)=>t===e?0:1))||(this.prepareExtensionsBeforeLoad(),this.initialExtensionContext())}generateExtensionContext(){return{host:this.host,flushValue:this.flushValue,isSourceEditMode:this.isSourceEditMode,getSelectedNodes:this.getSelectedNodes,setSelectedNodes:this.selectionController.setSelectedNodes.bind(this.selectionController),getSelection:this.selectionController.getSelection.bind(this.selectionController)}}}pi([r()],vi.prototype,"extensions",void 0),pi([r()],vi.prototype,"host",void 0),pi([r()],vi.prototype,"sourceView",void 0),pi([r()],vi.prototype,"valueController",void 0),pi([r()],vi.prototype,"selectionController",void 0),pi([l("componentWillLoad")],vi.prototype,"prepareExtensionsBeforeLoad",null),pi([l("componentDidLoad")],vi.prototype,"initialExtensionContext",null),pi([l("disconnectedCallback")],vi.prototype,"destroyExtension",null),pi([l("watchExtensions")],vi.prototype,"handleExtensionsChange",null);class mi{constructor(){this.format=(t,e={})=>{const{tabWidth:i=4,useTabs:o=!0}=e,s=(o?"\t":" ").repeat(i),n=t.split(/(<\/?[^>]+>)/g).filter((t=>t.length>0));let r=0,l="",c=0;for(let t=0;t<n.length;t++){let e=n[t];const i=mi.getTagName(e);if(mi.PRESERVE_CONTENT_TAGS.has(i)&&(e.startsWith("</")?c=Math.max(0,c-1):e.startsWith("<")&&c++),c>0){l+=e;continue}e.startsWith("</")&&(r=Math.max(0,r-1));const o=s.repeat(r);if(e.startsWith("<")){e=e.replace(/style\s*=\s*"([^"]*)"/g,((t,e)=>`style="${this.formatStyle(e)}"`));const s=mi.INLINE_TAGS.has(i);if(s&&t+1<n.length&&n[t+1]===`</${i}>`)l+=`${o}${e}${n[t+1]}\n`,t+=1;else if(s&&t+2<n.length&&n[t+2]===`</${i}>`){let i=`${e}${n[t+1]}${n[t+2]}`;for(t+=2;t+3<n.length&&n[t+1].startsWith("<")&&mi.INLINE_TAGS.has(mi.getTagName(n[t+1]))&&n[t+3]===`</${mi.getTagName(n[t+1])}>`;)i+=`${n[t+1]}${n[t+2]}${n[t+3]}`,t+=3;l+=`${o}${i}\n`}else l+=`${o}${e}\n`,e.startsWith("</")||e.endsWith("/>")||mi.VOID_TAGS.has(i)||r++}else{const t=e;t.length>0&&(l+=`${s.repeat(r)}${t}\n`)}}return l.trim()}}static getTagName(t){var e;const i=t.match(/^<\/?([a-z0-9]+)/i);return null!==(e=null==i?void 0:i[1].toLowerCase())&&void 0!==e?e:""}formatStyle(t){return t.split(";").map((t=>t.trim())).filter(Boolean).join("; ")}}mi.INLINE_TAGS=new Set(["span","strong","em","a","b","i","u","small","abbr","code","b","u","s","mark","time","del","ins"]),mi.VOID_TAGS=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),mi.PRESERVE_CONTENT_TAGS=new Set(["pre"]);const bi=new mi;var gi=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class xi extends c{constructor(){super(...arguments),this.prevRecord="",this.handleCodeBlockBlur=()=>{var t;if(this.sourceView){const e=Boolean(this.sourceEditConfig.filterInlineStyles),i=this.getSourceCode(),o=jt.fromHtml(i,{autoMatchFormat:null===(t=this.sourceEditConfig.autoMatchFormat)||void 0===t||t,filterInlineStyles:e}).toHtml({filterInlineStyles:e});o!==this.prevRecord&&(this.sourceCodeChangeEventEmitter.emit(o),this.prevRecord=o)}}}clearCodeBlockBlurObserver(){this.sourceCodeBlockRef&&m.removeUniqueObserverFromNode(this.sourceCodeBlockRef,y)}getSourceCode(){if(this.sourceCodeBlockRef)return this.sourceCodeBlockRef.value.code}render(){if(!this.allowSourceEdit)return;const e=this.getSourceTemplate(),i=this.sourceView?bi.format(e):"";return this.prevRecord=e,t("div",{class:{"source-view-container":!0,"vega-hidden":!this.sourceView}},t("vega-code-block",{ref:t=>{this.sourceCodeBlockRef=t,m.addUniqueObserverToNode(t,y,this.handleCodeBlockBlur)},disabled:this.disabled,value:{language:"html",code:i}}))}getSourceTemplate(){return this.value.toHtml({filterInlineStyles:this.sourceEditConfig.filterInlineStyles})}}gi([r()],xi.prototype,"host",void 0),gi([r()],xi.prototype,"allowSourceEdit",void 0),gi([r()],xi.prototype,"sourceView",void 0),gi([r()],xi.prototype,"value",void 0),gi([r()],xi.prototype,"disabled",void 0),gi([r()],xi.prototype,"sourceEditConfig",void 0),gi([r()],xi.prototype,"sourceCodeChangeEventEmitter",void 0),gi([l("disconnectedCallback")],xi.prototype,"clearCodeBlockBlurObserver",null);var wi=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Ci=class{constructor(t){o(this,t),this.vegaChange=s(this,"vegaChange",7),this.change=s(this,"change",7),this.vegaImageInserted=s(this,"vegaImageInserted",7),this.imageInserted=s(this,"imageInserted",7),this.vegaSourceCodeChange=s(this,"vegaSourceCodeChange",7),this.sourceCodeChange=s(this,"sourceCodeChange",7),this.globalSlimmers={},this.translationSlimmer=new $t,this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.formFieldController=new xt({propertyRules:[{propertyName:"required",ruleFactory:t=>t?new Pt:null}],validationRulesName:"validationRules",defaultValue:null,attributeGetter:t=>this[t],inputContainerGetter:()=>this.vegaRichTextEditorRenderer.getRichTextContainerRef(),touchableAreaGetter:()=>[this.vegaRichTextEditorRenderer.getRichTextContentRef()]}),this.changeEventEmitter=wt(Ci,dt),this.vegaRichTextEditorRenderer=new Zt,this.valueController=new Me,this.selectionController=new Dt,this.focusController=new ei,this.darkModeStateControllerSlimmer=new Nt,this.toolbarRenderer=new te,this.clearStyleToolbarButtonSlimmer=new re,this.boldToolbarButtonSlimmer=new ee,this.italicToolbarButtonSlimmer=new ie,this.underlineToolbarButtonSlimmer=new oe,this.textColorToolbarButtonSlimmer=new at,this.textStylesToolbarButtonSlimmer=new ne,this.codeToolbarButtonSlimmer=new le,this.strikethroughToolbarButtonSlimmer=new ce,this.imageToolbarButtonSlimmer=new pe,this.linkToolbarButtonSlimmer=new ae,this.moreIndentToolbarButtonSlimmer=new he,this.lessIndentToolbarButtonSlimmer=new de,this.bulletsNumbersToolbarButtonSlimmer=new ye,this.horizontalAlignmentToolbarButtonSlimmer=new Be,this.codeBlockToolbarButtonSlimmer=new hi,this.sourceEditToolbarButtonSlimmer=new fi,this.placeholderNotifySlimmer=Ct(Ci,"placeholder","watchPlaceholder"),this.disabledNotifySlimmer=Ct(Ci,"richTextContentEditable","watchRichTextContentEditable"),this.richTextContentController=new De(this),this.userInputController=new Ye,this.insertImageController=new Qe,this.insertCompositionTextController=new oi,this.imageInsertedEventEmitter=wt(Ci,ft),this.changeEventPreventSlimmer=new Ut([dt],(()=>this.vegaRichTextEditorRenderer.getRichTextWrapperRef())),this.deleteSelectedNodesController=new ni,this.historyController=new li,this.internalCodeBlockSelectionController=new di,this.rteExtensionController=new vi,this.sourceCodeChangeEventEmitter=wt(Ci,pt),this.richTextEditorSourceViewRenderer=new xi,this.richTextContentEditable=!0,this.selectionMap=new Map,this.isInDarkMode=Wt.isDarkMode(),this.sourceView=!1,this.label="",this.required=!1,this.placeholder="",this.disabled=!1,this.hint="",this.rows=4,this.value=jt.createEmptyContent(),this.toolbarItems=nt,this.allowSourceEdit=!1,this.sourceEditConfig={autoMatchFormat:!0},this.isValid=null,this.autoValidation=!0,this.validationRules=[],this.textStyleItems=[{key:"title"},{key:"subtitle"},{key:"heading-1"},{key:"heading-2"},{key:"heading-3"},{key:"paragraph"}],this.extensions=[]}watchRichTextContentEditable(){}watchPlaceholder(){}watchDisabled(){this.richTextContentController.syncRichTextContentEditable()}watchValueUpdate(){}watchValidationRules(){}watchExtensions(){}componentWillLoad(){this.richTextContentController.syncRichTextContentEditable()}render(){return u(this.vegaRichTextEditorRenderer.render(),this.host)}get host(){return n(this)}static get watchers(){return{richTextContentEditable:["watchRichTextContentEditable"],placeholder:["watchPlaceholder"],disabled:["watchDisabled"],value:["watchValueUpdate"],validationRules:["watchValidationRules"],extensions:["watchExtensions"]}}};wi([d()],Ci.prototype,"globalSlimmers",void 0),wi([a()],Ci.prototype,"translationSlimmer",void 0),wi([a()],Ci.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),wi([a()],Ci.prototype,"formFieldController",void 0),wi([a()],Ci.prototype,"changeEventEmitter",void 0),wi([a()],Ci.prototype,"vegaRichTextEditorRenderer",void 0),wi([a()],Ci.prototype,"valueController",void 0),wi([a()],Ci.prototype,"selectionController",void 0),wi([a()],Ci.prototype,"focusController",void 0),wi([a()],Ci.prototype,"darkModeStateControllerSlimmer",void 0),wi([a()],Ci.prototype,"toolbarRenderer",void 0),wi([a()],Ci.prototype,"clearStyleToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"boldToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"italicToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"underlineToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"textColorToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"textStylesToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"codeToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"strikethroughToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"imageToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"linkToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"moreIndentToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"lessIndentToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"bulletsNumbersToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"horizontalAlignmentToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"codeBlockToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"sourceEditToolbarButtonSlimmer",void 0),wi([a()],Ci.prototype,"placeholderNotifySlimmer",void 0),wi([a()],Ci.prototype,"disabledNotifySlimmer",void 0),wi([a()],Ci.prototype,"richTextContentController",void 0),wi([a()],Ci.prototype,"userInputController",void 0),wi([a()],Ci.prototype,"insertImageController",void 0),wi([a()],Ci.prototype,"insertCompositionTextController",void 0),wi([a()],Ci.prototype,"imageInsertedEventEmitter",void 0),wi([a()],Ci.prototype,"changeEventPreventSlimmer",void 0),wi([a()],Ci.prototype,"deleteSelectedNodesController",void 0),wi([a()],Ci.prototype,"historyController",void 0),wi([a()],Ci.prototype,"internalCodeBlockSelectionController",void 0),wi([a()],Ci.prototype,"rteExtensionController",void 0),wi([a()],Ci.prototype,"sourceCodeChangeEventEmitter",void 0),wi([a()],Ci.prototype,"richTextEditorSourceViewRenderer",void 0),Ci.style=':host{display:block}:host vega-field-label{margin-bottom:8px}:host vega-text{margin-bottom:16px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host vega-text{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host vega-text{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host vega-text{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .rich-text-editor-container{display:flex;box-sizing:content-box;position:relative;box-sizing:content-box;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:8px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));margin-top:12px;overflow:auto;resize:vertical;padding-top:12px;padding-right:16px;padding-bottom:32px;padding-left:16px}:host .rich-text-editor-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host .rich-text-editor-container:focus-within{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}:host .rich-text-editor-container.disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1));cursor:not-allowed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host .rich-text-editor-container.disabled:hover,:host .rich-text-editor-container.disabled:focus-within{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}:host .rich-text-editor-container.disabled:focus-within{outline:none}:host .rich-text-editor-container.disabled vega-rich-text-content{pointer-events:none;opacity:0.35}:host .rich-text-editor-container.error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host .rich-text-editor-container.error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}:host .rich-text-editor-container.error:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1))}:host .rich-text-editor-container .text-editor-counter{position:absolute;bottom:8px;right:8px;display:flex;padding-left:4px;padding-right:4px;padding-top:2px;padding-bottom:2px;border-radius:4px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1));background-color:rgba(var(--v-bg-textarea-count, 4, 4, 28, 0.6))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .rich-text-editor-container .text-editor-counter{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .rich-text-editor-container .text-editor-counter{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .rich-text-editor-container .text-editor-counter{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .rich-text-editor-container .text-editor-counter.counter-exceed-max-length{background-color:rgba(var(--v-bg-textarea-counter-exceed-max-length, 214, 46, 81))}.toolbar-btn-group{display:flex;justify-content:center;align-items:center}.toolbar-btn-group>*:not(:first-child):not(:last-child) ::part(rich-text-editor-toolbar-button){border-radius:0px}.toolbar-btn-group>*:first-child:not(:last-child) ::part(rich-text-editor-toolbar-button){border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0px;border-bottom-right-radius:0px}.toolbar-btn-group>*:last-child:not(:first-child) ::part(rich-text-editor-toolbar-button){border-top-left-radius:0px;border-bottom-left-radius:0px;border-top-right-radius:4px;border-bottom-right-radius:4px}.toolbar-btn-group>*:not(:first-child) ::part(rich-text-editor-toolbar-button){margin-left:-1px}.toolbar-btn-group .toolbar-btn-color-preview-box{display:flex;border:1px solid rgba(var(--v-border-chip, 205, 209, 211, 1));box-sizing:border-box;border-radius:4px;width:16px;height:16px;justify-content:center;align-items:center;margin-left:6px}.toolbar-btn-group .toolbar-btn-color-preview-box.disabled{opacity:0.35}.toolbar-btn-group .toolbar-btn-link-wrapper{position:relative}.toolbar-btn-group .toolbar-btn-link-wrapper vega-rich-text-link-editor{position:absolute;bottom:0;left:0;right:0}.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1));display:block;margin-top:12px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-hidden{display:none !important}.source-view-container{margin-top:12px}.source-view-container vega-code-block::part(editor-toolbar){display:none}';var yi=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Ri extends c{constructor(){super(...arguments),this.handleClick=t=>{this.disabled?t.preventDefault():this.clickEventEmitter.emit(void 0,t)}}render(){return t("button",{part:"rich-text-editor-toolbar-button",class:{"rich-text-editor-toolbar-btn":!0,"rich-text-editor-toolbar-button-disabled":this.disabled,"rich-text-editor-toolbar-button-hidden":this.hidden,"rich-text-editor-toolbar-button-selected":this.selected},onClick:this.handleClick,disabled:this.disabled,hidden:this.hidden},t("vega-flex",{gap:"size-8",justifyContent:"center",alignItems:"center"},this.icon&&t("vega-icon",{size:"size-16",color:this.iconColor,icon:S.getIconKey(this.icon)}),this.showArrowIcon&&t("vega-icon",{size:"size-8",color:"text-secondary",icon:S.getIconKey("chevron-down")})),t("slot",null))}}S.register({"chevron-down":qt}),yi([r()],Ri.prototype,"disabled",void 0),yi([r()],Ri.prototype,"hidden",void 0),yi([r()],Ri.prototype,"selected",void 0),yi([r()],Ri.prototype,"showArrowIcon",void 0),yi([r()],Ri.prototype,"icon",void 0),yi([r()],Ri.prototype,"iconColor",void 0),yi([r()],Ri.prototype,"clickEventEmitter",void 0);var ji=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const ki=class{constructor(t){o(this,t),this.vegaClick=s(this,"vegaClick",7),this.click=s(this,"click",7),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.clickEventEmitter=wt(ki,ut),this.eventPrevent=new Ut([ut],(()=>this.host),{useCapture:!0,customPreventHandle:t=>{this.disabled&&t.stopImmediatePropagation()}}),this.renderer=new Ri,this.disabled=!1,this.hidden=!1,this.selected=!1,this.showArrowIcon=!1,this.icon="",this.iconColor="text-primary"}render(){return u(t(e,null,this.renderer.render()),this.host)}get host(){return n(this)}};ji([d()],ki.prototype,"globalSlimmers",void 0),ji([a()],ki.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ji([a()],ki.prototype,"clickEventEmitter",void 0),ji([a()],ki.prototype,"eventPrevent",void 0),ji([a()],ki.prototype,"renderer",void 0),ki.style=":host{display:inline-block}:host ::slotted(vega-font.v-font-field-label-sm){line-height:16px}.rich-text-editor-toolbar-btn{display:flex;justify-content:center;align-items:center;border-radius:4px;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));padding-top:8px;padding-bottom:8px;padding-left:12px;padding-right:12px;cursor:pointer;position:relative;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.rich-text-editor-toolbar-btn:hover{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));z-index:1}.rich-text-editor-toolbar-btn:active{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));z-index:1}.rich-text-editor-toolbar-btn:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:-1px;z-index:2}.rich-text-editor-toolbar-btn.rich-text-editor-toolbar-button-selected{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));z-index:1}.rich-text-editor-toolbar-btn.rich-text-editor-toolbar-button-disabled{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1));cursor:not-allowed}.rich-text-editor-toolbar-btn.rich-text-editor-toolbar-button-disabled vega-icon{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}.rich-text-editor-toolbar-btn.rich-text-editor-toolbar-button-hidden{display:none}";var Si=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class Oi extends c{constructor(){super(...arguments),this.handleKeyDown=t=>{"Enter"===t.key&&(this.formRef.getValue().then((({alt:t})=>{this.changeEventEmitter.emit({action:"edit",payload:{size:this.size,alt:t}})})),this.popoverRef.hide())}}render(){return t("vega-popover",{style:{width:"100%"},trigger:"click",alignment:"start",placement:"bottom",showArrow:!1,isScreenPosition:!0,ref:t=>{this.popoverRef=t,m.addUniqueObserverToNode(t,vt,(()=>{this.selected=!0,this.notifyImageSelected(),this.formRef.setValue({alt:this.alt})})),m.addUniqueObserverToNode(t,mt,(()=>{this.currentPage=1,this.selected=!1,this.formRef.reset()}))}},t("div",{slot:"popover-content"},t("slot",null)),t("div",{slot:"popover"},this.renderImageEditor(),this.renderAltTextEditor()))}findParentContainerRef(){this.parentContainerRef=Jt(this.host,"vega-rich-text-content")}renderImageEditor(){return t("vega-box",{display:1===this.currentPage?"block":"none"},t("vega-flex",{gap:"size-12",alignItems:"center"},t("vega-font",{variant:"font-field-label-sm",color:"text-primary"},this.translationSlimmer.t("Size"),":"),t("vega-segment-control",{size:"small",segments:[{key:"sm",text:this.translationSlimmer.t("Sm")},{key:"md",text:this.translationSlimmer.t("Md")},{key:"lg",text:this.translationSlimmer.t("Lg")}],selected:this.size,ref:t=>{m.addUniqueObserverToNode(t,dt,(t=>{if(!this.selected)return;const e=t.detail;this.size=e,this.changeEventEmitter.emit({action:"edit",payload:{size:e,alt:this.alt}})}))}}),t("vega-button-group",{variant:"tertiary",size:"small",ref:t=>{m.addUniqueObserverToNode(t,ut,(t=>{"Alt Text"===t.detail?this.currentPage=2:(this.notifyImageDeleteButtonClicked(),this.changeEventEmitter.emit({action:"delete"}),this.popoverRef.hide())}))}},t("vega-button-group-item",{label:this.translationSlimmer.t("Alt Text"),itemKey:"Alt Text"}),t("vega-button-group-item",{label:this.translationSlimmer.t("Delete Image"),icon:S.getIconKey("trash-can"),iconOnly:!0,itemKey:"trash-can"}))))}renderAltTextEditor(){return t("vega-box",{display:2===this.currentPage?"block":"none"},t("vega-form",{ref:t=>this.formRef=t},t("vega-input",{"data-vega-form":"alt",style:{width:"315px"},label:this.translationSlimmer.t("Alt Text"),ref:t=>{t.doFocus()},onKeyDown:this.handleKeyDown})))}notifyImageSelected(){this.parentContainerRef&&p.notify(v.getSubject(this.parentContainerRef,w),{host:this.host})}notifyImageDeleteButtonClicked(){this.parentContainerRef&&p.notify(v.getSubject(this.parentContainerRef,C),{host:this.host})}}S.register({"trash-can":Gt}),Si([r({writable:!0})],Oi.prototype,"currentPage",void 0),Si([r({writable:!0})],Oi.prototype,"selected",void 0),Si([r()],Oi.prototype,"host",void 0),Si([r()],Oi.prototype,"alt",void 0),Si([r({writable:!0})],Oi.prototype,"size",void 0),Si([r()],Oi.prototype,"changeEventEmitter",void 0),Si([r()],Oi.prototype,"translationSlimmer",void 0),Si([l("componentDidLoad")],Oi.prototype,"findParentContainerRef",null);var Ti=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Li=class{constructor(t){o(this,t),this.vegaChange=s(this,"vegaChange",7),this.change=s(this,"change",7),this.globalSlimmers={},this.translationSlimmer=new $t,this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.renderer=new Oi,this.changeEventEmitter=wt(Li,dt),this.currentPage=1,this.selected=!1,this.alt="",this.size="md"}render(){return u(t(e,{class:{"rte-image-selected":this.selected}},this.renderer.render()),this.host)}get host(){return n(this)}};Ti([d()],Li.prototype,"globalSlimmers",void 0),Ti([a()],Li.prototype,"translationSlimmer",void 0),Ti([a()],Li.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Ti([a()],Li.prototype,"renderer",void 0),Ti([a()],Li.prototype,"changeEventEmitter",void 0),Li.style=":host{display:inline-block}:host(.rte-image-selected){outline:2px solid rgba(var(--v-border-color-tile-selected, 19, 98, 226, 1));outline-offset:-2px}";var Ei=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};class zi extends c{constructor(){super(...arguments),this.handleKeyDown=t=>{"Enter"===t.key&&this.formRef.getValue().then((({text:t,url:e})=>{e.length>0&&(this.changeEventEmitter.emit({action:"link",payload:{text:t||e,url:e}}),this.popoverRef.hide())}))}}componentDidLoad(){this.updatePopoverTarget()}componentDidRender(){p.notify(v.getSubject(this.host,b),{})}watchStatusChange(){"linkEdit"===this.status&&setTimeout((()=>{this.urlInputRef.doFocus()}))}watchTargetChange(){this.updatePopoverTarget()}getPopoverRef(){return this.popoverRef}render(){return t("vega-popover",{trigger:"click",alignment:"start",placement:"bottom",showArrow:!1,ref:t=>{this.popoverRef=t,m.addUniqueObserverToNode(t,vt,(()=>{var t,e;"linkEdit"===this.status&&this.urlInputRef.doFocus(),this.formRef.setValue({text:null===(t=this.record)||void 0===t?void 0:t.text,url:null===(e=this.record)||void 0===e?void 0:e.url})})),m.addUniqueObserverToNode(t,mt,(()=>{this.formRef.reset(),this.resetStatusAfterHide&&(this.status="editOrUnlinkSelection")}))}},t("span",{slot:"popover-content"},t("slot",null)),t("div",{slot:"popover"},this.renderLinkUnlinkContent(),this.renderLinkEditContent()))}renderLinkUnlinkContent(){return t("vega-box",{display:"editOrUnlinkSelection"===this.status?"block":"none"},t("vega-button-group",{size:"small",variant:"tertiary",ref:t=>{m.addUniqueObserverToNode(t,ut,(({detail:t})=>{switch(t){case"edit":return void(this.status="linkEdit");case"unlink":this.changeEventEmitter.emit({action:"unlink"}),this.popoverRef.hide()}}))}},t("vega-button-group-item",{label:this.translationSlimmer.t("Edit"),itemKey:"edit"}),t("vega-button-group-item",{label:this.translationSlimmer.t("Unlink"),itemKey:"unlink"})))}renderLinkEditContent(){return t("vega-box",{display:"linkEdit"===this.status?"block":"none"},t("vega-form",{ref:t=>this.formRef=t},t("vega-flex",{style:{width:"419px"},direction:"col",gap:"size-16"},t("vega-input",{"data-vega-form":"url",ref:t=>{this.urlInputRef=t},size:"small",label:this.translationSlimmer.t("URL"),onKeyDown:this.handleKeyDown}),t("vega-input",{size:"small",label:this.translationSlimmer.t("Text"),"data-vega-form":"text",onKeyDown:this.handleKeyDown}))))}updatePopoverTarget(){Yt.call(v.getSubject(this.popoverRef,R),this.target)}}Ei([r()],zi.prototype,"host",void 0),Ei([r({writable:!0})],zi.prototype,"status",void 0),Ei([r({writable:!0})],zi.prototype,"record",void 0),Ei([r()],zi.prototype,"changeEventEmitter",void 0),Ei([r()],zi.prototype,"resetStatusAfterHide",void 0),Ei([r()],zi.prototype,"translationSlimmer",void 0),Ei([r()],zi.prototype,"target",void 0),Ei([l("componentDidLoad")],zi.prototype,"componentDidLoad",null),Ei([l("componentDidRender")],zi.prototype,"componentDidRender",null),Ei([l("watchStatusChange")],zi.prototype,"watchStatusChange",null),Ei([l("watchTargetChange")],zi.prototype,"watchTargetChange",null);var Bi=function(t,e,i,o){var s,n=arguments.length,r=n<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(r=(n<3?s(r):n>3?s(e,i,r):s(e,i))||r);return n>3&&r&&Object.defineProperty(e,i,r),r};const Hi=class{constructor(t){o(this,t),this.vegaChange=s(this,"vegaChange",7),this.change=s(this,"change",7),this.globalSlimmers={},this.translationSlimmer=new $t,this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.renderer=new zi,this.changeEventEmitter=wt(Hi,dt),this.status="editOrUnlinkSelection",this.resetStatusAfterHide=!0}watchStatusChange(){}watchTargetChange(){}async show(){await this.renderer.getPopoverRef().show()}render(){return u(t(e,null,this.renderer.render()),this.host)}get host(){return n(this)}static get watchers(){return{status:["watchStatusChange"],target:["watchTargetChange"]}}};Bi([d()],Hi.prototype,"globalSlimmers",void 0),Bi([a()],Hi.prototype,"translationSlimmer",void 0),Bi([a()],Hi.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Bi([a()],Hi.prototype,"renderer",void 0),Bi([a()],Hi.prototype,"changeEventEmitter",void 0),Hi.style=":host{display:contents}:host vega-popover{display:inline}";export{Ci as vega_rich_text_editor,ki as vega_rich_text_editor_toolbar_button,Li as vega_rich_text_image_editor,Hi as vega_rich_text_link_editor}
@@ -1 +0,0 @@
1
- import{h as e,F as t,r as o,c as r,H as i,g as a}from"./p-6b2342e0.js";import{s as l}from"./p-519a7d55.js";import{c as s,V as n,M as c,I as d}from"./p-6e1ab235.js";import{V as v,I as p}from"./p-4415ad28.js";import{V as h}from"./p-e1fbfd20.js";import{D as f}from"./p-f28a6074.js";import{a as g,i as u,y as b,o as m,z as x,A as w}from"./p-9af0e2e7.js";import{g as C}from"./p-8b5d3a52.js";import{c as y}from"./p-6ac8e655.js";import{t as j}from"./p-aacf6920.js";import{c as F}from"./p-6b5cb920.js";import{C as R}from"./p-2d0d575f.js";import{F as L}from"./p-a528714c.js";import{F as k}from"./p-c347e08a.js";import{F as z}from"./p-0bb860cc.js";import{D as E}from"./p-b19b1c08.js";import{T as M}from"./p-57f220b5.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-6a334573.js";import"./p-331a62d5.js";import"./p-6e70d3cc.js";import"./p-f1c672e4.js";import"./p-b75ee3ba.js";import"./p-02841589.js";import"./p-6c43d54a.js";import"./p-3b791b5d.js";import"./p-f0e828d8.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-ed45b3b6.js";import"./p-abd7aeaa.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";import"./p-af5cb9bc.js";import"./p-280cbcdb.js";var V=function(e,t,o,r){var i,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(t,o,l):i(t,o))||l);return a>3&&l&&Object.defineProperty(t,o,l),l};class I extends n{render(){return e(t,null,e("vega-field-label",{isFieldRequired:this.required,disabled:this.disabled,label:this.label}),this.vegaFileUploaderContainerRenderer.render(),this.hint?e("vega-hint",null,this.hint):null,this.vegaFileUploaderFileListRenderer.render())}}V([s()],I.prototype,"required",void 0),V([s()],I.prototype,"disabled",void 0),V([s()],I.prototype,"label",void 0),V([s()],I.prototype,"hint",void 0),V([s()],I.prototype,"vegaFileUploaderContainerRenderer",void 0),V([s()],I.prototype,"vegaFileUploaderFileListRenderer",void 0);var U=function(e,t,o,r){var i,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(t,o,l):i(t,o))||l);return a>3&&l&&Object.defineProperty(t,o,l),l};class O extends n{constructor(){super(...arguments),this.handleDropAreaClick=e=>{e.stopPropagation(),this.shouldDisableUploadButton()||this.triggerFileInputClick()},this.triggerFileInputClick=()=>{this.inputElementRef.click()},this.inputChangeHandler=e=>{e.stopPropagation();const t=this.getVegaFilesFromFileList(e.target.files);this.selectFileChangeEventEmitHandler(this.filterExceedLimitFiles(t)),this.inputElementRef.value=""},this.dropHandler=e=>{var t;if(e.preventDefault(),!this.shouldDisableUploadButton()){const o=this.getVegaFilesFromFileList(this.dropFileFilterController.process(null===(t=e.dataTransfer)||void 0===t?void 0:t.files));this.selectFileChangeEventEmitHandler(this.filterExceedLimitFiles(o))}}}getUploaderContainerRef(){return this.uploaderContainerRef}render(){return e("div",{class:"vega-file-uploader-container",ref:e=>this.uploaderContainerRef=e},e("input",{onChange:this.inputChangeHandler,type:"file",multiple:!this.fileLimitController.isSingleMode(),accept:this.accept,style:{display:"none"},ref:e=>this.inputElementRef=e}),"uploadButton"===this.variant?this.renderUploadButton():this.renderUploadDropArea())}renderUploadButton(){return e("vega-button",{label:"Upload Document",icon:h.getIconKey("arrow-up-from-line"),variant:"secondary",size:"small",disabled:this.shouldDisableUploadButton(),ref:e=>{f.addUniqueObserverToNode(e,g,this.triggerFileInputClick)}})}renderUploadDropArea(){return e("vega-box",{class:{"vega-file-upload-area":!0,disabled:this.shouldDisableUploadButton()},padding:"size-24",border:"border-input-field",borderStyle:"dashed",backgroundColor:"bg-tertiary",corners:"rounded-8",tabIndex:0,onDrop:this.dropHandler,onDragEnter:this.preventDefaultBehavior,onDragOver:this.preventDefaultBehavior,onClick:this.handleDropAreaClick,onKeyDown:y()},e("vega-flex",{gap:"size-8",alignItems:"center",justifyContent:"center"},e("vega-icon",{color:"text-link",icon:h.getIconKey("arrow-up-from-line")}),e("vega-font",{color:"text-link",variant:"font-btn-label"},this.translationSlimmer.t("Select or drop your file here"))))}preventDefaultBehavior(e){e.preventDefault()}selectFileChangeEventEmitHandler(e){e&&e.length&&(this.selectFileChangeEventEmitter.emit(e).defaultPrevented||this.vegaFileUploaderValueController.setValue(this.value&&this.value.length?(new Array).concat(this.value,e):e))}getVegaFilesFromFileList(e){const t=[];return e&&e.length&&Array.from(e).map((e=>{t.push({key:C(),name:e.name,url:e})})),t}shouldDisableUploadButton(){return this.disabled||!!(this.value&&this.maxCount&&this.value.length>=this.maxCount)}filterExceedLimitFiles(e){const t=Number(this.maxCount);if(!isNaN(t)&&t&&e.length){const o=Math.max(0,t-(this.value?this.value.length:0));return e.slice(0,o)}return e}}h.register({"arrow-up-from-line":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.3V208 320c0 17.7 14.3 32 32 32s32-14.3 32-32V208 141.3l73.4 73.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-128-128zM32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H352c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z"/></svg>'}}),U([s()],O.prototype,"variant",void 0),U([s()],O.prototype,"accept",void 0),U([s()],O.prototype,"disabled",void 0),U([s()],O.prototype,"value",void 0),U([s()],O.prototype,"selectFileChangeEventEmitter",void 0),U([s()],O.prototype,"vegaFileUploaderValueController",void 0),U([s()],O.prototype,"dropFileFilterController",void 0),U([s()],O.prototype,"translationSlimmer",void 0),U([s()],O.prototype,"fileLimitController",void 0),U([s()],O.prototype,"maxCount",void 0);var A=function(e,t,o,r){var i,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(t,o,l):i(t,o))||l);return a>3&&l&&Object.defineProperty(t,o,l),l};class D extends n{constructor(){super(...arguments),this.fileRemoveHandler=e=>{this.removeEventEmitter.emit(e).defaultPrevented||this.vegaFileUploaderValueController.setValue(this.value.filter((t=>t!==e)))},this.fileReUploadHandler=e=>{this.retryEventEmitter.emit(e)},this.filePreviewHandler=e=>{this.previewEventEmitter.emit(e)}}render(){const t=!this.value||this.value.length<1;return e("div",{class:{"vega-file-uploader-file-list":!0,"vega-file-list-hidden":t}},!t&&this.value.map((t=>e("vega-box",{key:t.key,class:"vega-file-uploader-file",padding:"size-8",corners:"rounded-8"},e("vega-flex",{alignItems:"start",justifyContent:"space-between"},e("vega-flex",{class:"vega-file-status-and-name",gap:"size-8",alignItems:"start"},e("div",{style:{paddingTop:"3px"}},this.vegaFileUploaderFileStatusRenderer.render(t.status,t.uploadingPercent)),e("vega-flex",{gap:"size-4",direction:"col"},e("vega-font",{color:"done"===t.status||"error"===t.status?"text-primary":"text-secondary",variant:"font-field-label"},t.name),"error"===t.status&&t.errorMessage&&e("vega-font",{color:"text-error",variant:"font-footnote1-short"},t.errorMessage))),e("vega-flex",{gap:"size-4",class:"vega-file-list-buttons",justifyContent:"end"},t.previewable&&e("vega-button-circle",{class:"vega-file-preview-button",variant:"icon-only",size:"small",icon:"zoom-in",iconColor:"text-secondary",label:"Preview",tooltip:{disableInteractive:!0},ref:e=>{f.addUniqueObserverToNode(e,g,(()=>{this.filePreviewHandler(t)}))}}),"error"===t.status&&e("vega-button-circle",{variant:"icon-only",size:"small",icon:h.getIconKey("arrow-rotate-right"),iconColor:"text-secondary",label:"Retry",tooltip:{disableInteractive:!0},disabled:this.disabled,ref:e=>{f.addUniqueObserverToNode(e,g,(()=>{this.fileReUploadHandler(t)}))}}),e("vega-button-circle",{variant:"icon-only",size:"small",icon:h.getIconKey("trash-can"),iconColor:"text-secondary",label:"Delete",tooltip:{disableInteractive:!0},disabled:this.disabled,ref:e=>{f.addUniqueObserverToNode(e,g,(()=>{this.fileRemoveHandler(t)}))}})))))))}}h.register({"trash-can":j,"arrow-rotate-right":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M456 224c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24s-24 10.7-24 24v80.1l-20-23.5C371 63.4 309.1 32 240 32C116.3 32 16 132.3 16 256s100.3 224 224 224c50.4 0 97-16.7 134.4-44.8c10.6-8 12.7-23 4.8-33.6s-23-12.7-33.6-4.8C316.2 418.9 279.7 432 240 432c-97.2 0-176-78.8-176-176s78.8-176 176-176c54.3 0 102.9 24.6 135.2 63.4l.1 .2 0 0L402.9 176H312c-13.3 0-24 10.7-24 24s10.7 24 24 24H456z"/></svg>'}}),A([s()],D.prototype,"value",void 0),A([s()],D.prototype,"disabled",void 0),A([s()],D.prototype,"vegaFileUploaderFileStatusRenderer",void 0),A([s()],D.prototype,"removeEventEmitter",void 0),A([s()],D.prototype,"vegaFileUploaderValueController",void 0),A([s()],D.prototype,"retryEventEmitter",void 0),A([s()],D.prototype,"previewEventEmitter",void 0);class S extends n{render(t,o){switch(t){case"uploading":return e("vega-loading-indicator",Object.assign({class:"vega-file-list-status",mode:o?"determinate":"indeterminate",size:"micro"},o?{percent:o}:{}));case"done":return e("vega-icon",{class:"vega-file-list-status",color:"text-success",icon:h.getIconKey("circle-check-regular")});case"error":return e("vega-icon",{class:"vega-file-list-status",color:"text-error",icon:h.getIconKey("circle-xmark")});default:return e("vega-loading-indicator",{class:"vega-file-list-status",mode:"determinate",size:"micro"})}}}h.register({"circle-check-regular":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M243.8 339.8C232.9 350.7 215.1 350.7 204.2 339.8L140.2 275.8C129.3 264.9 129.3 247.1 140.2 236.2C151.1 225.3 168.9 225.3 179.8 236.2L224 280.4L332.2 172.2C343.1 161.3 360.9 161.3 371.8 172.2C382.7 183.1 382.7 200.9 371.8 211.8L243.8 339.8zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"/></svg>'},"circle-xmark":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M175 175C184.4 165.7 199.6 165.7 208.1 175L255.1 222.1L303 175C312.4 165.7 327.6 165.7 336.1 175C346.3 184.4 346.3 199.6 336.1 208.1L289.9 255.1L336.1 303C346.3 312.4 346.3 327.6 336.1 336.1C327.6 346.3 312.4 346.3 303 336.1L255.1 289.9L208.1 336.1C199.6 346.3 184.4 346.3 175 336.1C165.7 327.6 165.7 312.4 175 303L222.1 255.1L175 208.1C165.7 199.6 165.7 184.4 175 175V175zM512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM256 48C141.1 48 48 141.1 48 256C48 370.9 141.1 464 256 464C370.9 464 464 370.9 464 256C464 141.1 370.9 48 256 48z"/></svg>'}});var B=function(e,t,o,r){var i,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(t,o,l):i(t,o))||l);return a>3&&l&&Object.defineProperty(t,o,l),l};class H extends n{valueChangeHandler(e){!e||Array.isArray(e)?(this.changeEventEmitter.emit(e),R.notify(L,{host:this.host,detail:this.value})):e&&!Array.isArray(e)&&this.setValue(null)}setValue(e){this.value=e}}B([s()],H.prototype,"host",void 0),B([s({writable:!0})],H.prototype,"value",void 0),B([s()],H.prototype,"changeEventEmitter",void 0),B([c("watchValue")],H.prototype,"valueChangeHandler",null);var N=function(e,t,o,r){var i,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(t,o,l):i(t,o))||l);return a>3&&l&&Object.defineProperty(t,o,l),l};class P extends n{isSingleMode(){return 1===Number(this.maxCount)}checkMaxCount(){null!==this.maxCount&&this.maxCount<1&&(this.maxCount=null)}}N([s({writable:!0})],P.prototype,"maxCount",void 0),N([c("componentDidLoad"),c("watchMaxCount")],P.prototype,"checkMaxCount",null);var q=function(e,t,o,r){var i,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(l=(a<3?i(l):a>3?i(t,o,l):i(t,o))||l);return a>3&&l&&Object.defineProperty(t,o,l),l};const G=class{constructor(e){o(this,e),this.vegaChange=r(this,"vegaChange",7),this.change=r(this,"change",7),this.vegaSelectedFileChange=r(this,"vegaSelectedFileChange",7),this.selectedFileChange=r(this,"selectedFileChange",7),this.vegaRemove=r(this,"vegaRemove",7),this.remove=r(this,"remove",7),this.vegaRetry=r(this,"vegaRetry",7),this.retry=r(this,"retry",7),this.vegaPreview=r(this,"vegaPreview",7),this.preview=r(this,"preview",7),this.globalSlimmers={},this.translationSlimmer=new M,this.vegaComponentUsageRuntimeMetricsSlimmer=new v,this.formFieldController=new k({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new z:null}],validationRulesName:"validationRules",defaultValue:[],attributeGetter:e=>this[e],inputContainerGetter:()=>this.vegaFileUploaderContainerRenderer.getUploaderContainerRef(),touchableAreaGetter:()=>[this.vegaFileUploaderContainerRenderer.getUploaderContainerRef()]}),this.vegaFileUploaderRenderer=new I,this.vegaFileUploaderContainerRenderer=new O,this.vegaFileUploaderFileListRenderer=new D,this.vegaFileUploaderFileStatusRenderer=new S,this.vegaFileUploaderValueController=new H,this.dropFileFilterController=new E,this.fileLimitController=new P,this.changeEventEmitter=F(G,u),this.selectFileChangeEventEmitter=F(G,b),this.removeEventEmitter=F(G,m),this.retryEventEmitter=F(G,x),this.previewEventEmitter=F(G,w),this.label="",this.variant="uploadArea",this.hint="",this.value=[],this.disabled=!1,this.maxCount=null,this.required=!1,this.validationRules=[],this.autoValidation=!0,this.isValid=null}watchValue(e){}watchMaxCount(){}watchValidationRules(){}render(){return l(e(i,null,this.vegaFileUploaderRenderer.render()),this.host)}get host(){return a(this)}static get watchers(){return{value:["watchValue"],maxCount:["watchMaxCount"],validationRules:["watchValidationRules"]}}};q([p()],G.prototype,"globalSlimmers",void 0),q([d()],G.prototype,"translationSlimmer",void 0),q([d()],G.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),q([d()],G.prototype,"formFieldController",void 0),q([d()],G.prototype,"vegaFileUploaderRenderer",void 0),q([d()],G.prototype,"vegaFileUploaderContainerRenderer",void 0),q([d()],G.prototype,"vegaFileUploaderFileListRenderer",void 0),q([d()],G.prototype,"vegaFileUploaderFileStatusRenderer",void 0),q([d()],G.prototype,"vegaFileUploaderValueController",void 0),q([d()],G.prototype,"dropFileFilterController",void 0),q([d()],G.prototype,"fileLimitController",void 0),q([d()],G.prototype,"changeEventEmitter",void 0),q([d()],G.prototype,"selectFileChangeEventEmitter",void 0),q([d()],G.prototype,"removeEventEmitter",void 0),q([d()],G.prototype,"retryEventEmitter",void 0),q([d()],G.prototype,"previewEventEmitter",void 0),G.style=':host{display:inline-block;text-align:left;width:100%;line-height:normal}:host .vega-file-uploader-container .vega-file-upload-area{text-align:center}:host .vega-file-uploader-container .vega-file-upload-area:hover{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border-color:rgba(var(--v-border-color-input-field-hover, 115, 160, 190, 1))}:host .vega-file-uploader-container .vega-file-upload-area:hover vega-icon,:host .vega-file-uploader-container .vega-file-upload-area:hover vega-font{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host .vega-file-uploader-container .vega-file-upload-area:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}:host .vega-file-uploader-container .vega-file-upload-area:active{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border-color:rgba(var(--v-border-color-action-active, 29, 65, 195, 1))}:host .vega-file-uploader-container .vega-file-upload-area:active vega-icon,:host .vega-file-uploader-container .vega-file-upload-area:active vega-font{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host .vega-file-uploader-container .vega-file-upload-area.disabled{border-color:rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1));background-color:rgba(var(--v-bg-tertiary, 240, 243, 247, 1));outline:none}:host .vega-file-uploader-container .vega-file-upload-area.disabled vega-icon,:host .vega-file-uploader-container .vega-file-upload-area.disabled vega-font{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host .vega-file-uploader-container vega-button::part(button):focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;box-shadow:0 0 0}:host .vega-file-uploader-container.error .vega-file-upload-area{border-color:rgba(var(--v-border-color-input-field-danger, 230, 50, 87, 1))}:host .vega-file-uploader-container.error .vega-file-upload-area:hover{border-color:rgba(var(--v-border-color-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-file-uploader-container.error .vega-file-upload-area:focus-visible{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px}:host .vega-file-uploader-container.error .vega-file-upload-area:active{border-color:rgba(var(--v-border-color-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-file-uploader-container.error vega-button::part(button),:host .vega-file-uploader-container.error vega-button::part(button):hover{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1));border-color:rgba(var(--v-border-color-danger, 230, 50, 87, 1))}:host .vega-file-uploader-container.error vega-button::part(button):hover{background-color:rgba(var(--v-bg-danger-tertiary-hover, 255, 87, 114, 0.2));border-color:rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1));color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}:host .vega-file-uploader-container.error vega-button::part(button):focus-visible{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px;box-shadow:0 0 0}:host .vega-file-uploader-container.error vega-button::part(button):active{color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1));border-color:rgba(var(--v-border-color-danger-active, 189, 41, 71, 1));background-color:rgba(var(--v-bg-danger-tertiary-active, 189, 41, 71, 0.2))}:host .vega-file-uploader-file-list .vega-file-uploader-file .vega-file-preview-button{visibility:hidden}:host .vega-file-uploader-file-list .vega-file-uploader-file:hover{background-color:rgba(var(--v-bg-action-tertiary-hover, 4, 4, 28, 0.05))}:host .vega-file-uploader-file-list .vega-file-uploader-file:hover .vega-file-preview-button{visibility:visible}:host .vega-file-uploader-file-list .vega-file-list-buttons{margin-left:8px;flex-shrink:0}:host .vega-file-uploader-file-list .vega-file-list-status svg{width:16px;height:16px}:host .vega-file-uploader-file-list .vega-file-status-and-name{padding-top:5px}:host .vega-file-uploader-file-list .vega-file-status-and-name vega-font{word-break:break-word}:host vega-field-label{margin-bottom:8px}:host .vega-file-uploader-file-list{margin-top:8px}:host .vega-file-uploader-file-list.vega-file-list-hidden{display:none}:host .vega-error{display:inline-block;padding-left:8px;padding-right:8px;padding-top:8px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-hidden{display:none}';export{G as vega_file_uploader}