@globalpayments/vega 2.90.0 → 2.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (500) hide show
  1. package/dist/cjs/{app-globals-08924736.js → app-globals-7bb10088.js} +20 -12
  2. package/dist/cjs/{aria-dialog-focusable-trap-slimmer-a0ff1263.js → aria-dialog-focusable-trap-slimmer-73b4c0cb.js} +1 -1
  3. package/dist/cjs/{child-nodes-event-prevent-slimmer-85a7fdb0.js → child-nodes-event-prevent-slimmer-76d19d56.js} +2 -2
  4. package/dist/cjs/{code-block-89850671.js → code-block-c1039791.js} +9 -3
  5. package/dist/cjs/{component-value-history-controller-slimmer.abstract-a8da4087.js → component-value-history-controller-slimmer.abstract-1d36641d.js} +59 -4
  6. package/dist/cjs/{content-state-e1c3efe6.js → content-state-a6105949.js} +3 -3
  7. package/dist/cjs/{create-public-api-runtime-metrics-slimmer-122350c3.js → create-public-api-runtime-metrics-slimmer-91b0cbfb.js} +3 -2
  8. package/dist/cjs/{date-required-rule-3437acbc.js → date-required-rule-c4997459.js} +1 -1
  9. package/dist/cjs/{design-token-939bf72c.js → design-token-f65eab4a.js} +4 -4
  10. package/dist/cjs/{element-appender-slimmer-14e85a91.js → element-appender-slimmer-316668d0.js} +4 -4
  11. package/dist/cjs/{event-emit-slimmer-146316b2.js → event-emit-slimmer-5bab10c2.js} +1 -1
  12. package/dist/cjs/{feature-flag-controller-5fa21654.js → feature-flag-controller-438a1510.js} +12 -0
  13. package/dist/cjs/{file-uploader-required-rule-313ec9e3.js → file-uploader-required-rule-cc51d4ab.js} +1 -1
  14. package/dist/cjs/{form-field-controller-slimmer-c4ebee27.js → form-field-controller-slimmer-b0c35330.js} +3 -3
  15. package/dist/cjs/{icon-manager-e855446d.js → icon-manager-be358b32.js} +2 -2
  16. package/dist/cjs/{image-annotation-action-f86690fd.js → image-annotation-action-e4596726.js} +4 -4
  17. package/dist/cjs/index-58ea899e.js +4 -4
  18. package/dist/cjs/index.cjs.js +29 -27
  19. package/dist/cjs/{inject-keyboard-manager-743de047.js → inject-keyboard-manager-1f5bbb19.js} +1 -1
  20. package/dist/cjs/internal-calendar-period-factory-9c66cf36.js +78 -0
  21. package/dist/cjs/{internal-icon-manager-66c48800.js → internal-icon-manager-40bcac72.js} +1 -1
  22. package/dist/cjs/{internal-translation-controller-9785d4e8.js → internal-translation-controller-5905469e.js} +5 -0
  23. package/dist/cjs/{internal-vega-event-manager-6e49d1ca.js → internal-vega-event-manager-7196a847.js} +3 -1
  24. package/dist/cjs/{keyboard-manager-5396083a.js → keyboard-manager-61e8ce38.js} +1 -1
  25. package/dist/cjs/{keyboard-manager-slimmer-eedcfbc8.js → keyboard-manager-slimmer-079a7e87.js} +1 -1
  26. package/dist/cjs/{legend-input-processor-1e53e5bc.js → legend-input-processor-ce9b38f8.js} +1 -1
  27. package/dist/cjs/{link-extension-dafeeed0.js → link-extension-a7ac28f3.js} +3 -3
  28. package/dist/cjs/loader.cjs.js +21 -20
  29. package/dist/cjs/month-view-generator-48215a05.js +33 -0
  30. package/dist/cjs/{public-rules-b032050f.js → public-rules-66540638.js} +13 -11
  31. package/dist/cjs/{range-efdf6f78.js → range-dea19a90.js} +1 -1
  32. package/dist/cjs/{replace-selected-text-action-0f7b7c78.js → replace-selected-text-action-6d1ebbf9.js} +1 -1
  33. package/dist/cjs/{required-field-rule-d73c1d8c.js → required-field-rule-b12a29e1.js} +10 -1
  34. package/dist/cjs/{responsive-format-facade-d112aa9f.js → responsive-format-facade-10ff730e.js} +2 -2
  35. package/dist/cjs/{rich-text-editor-required-rule-86d9cd4d.js → rich-text-editor-required-rule-63492ca3.js} +1 -1
  36. package/dist/cjs/{split-cell-operation-b41344bd.js → split-cell-operation-30e5dd4a.js} +5 -5
  37. package/dist/cjs/{state-border-formatter-c3c9b90d.js → state-border-formatter-e7779964.js} +1 -1
  38. package/dist/cjs/{string-format-strategy.abstract-d51050cd.js → string-format-strategy.abstract-a22f0cb1.js} +1 -1
  39. package/dist/cjs/{string-input-formatter-slimmer-23fdb50e.js → string-input-formatter-slimmer-8179eb40.js} +3 -3
  40. package/dist/cjs/{string-mask-strategy-10fe0f6d.js → string-mask-strategy-8b9bb0c1.js} +2 -2
  41. package/dist/cjs/{style-formatter-11c95331.js → style-formatter-380b9a86.js} +2 -2
  42. package/dist/cjs/{sub-state-notify-slimmer-450277b6.js → sub-state-notify-slimmer-18891389.js} +1 -1
  43. package/dist/cjs/{sub-state-observer-slimmer-5bfe8e97.js → sub-state-observer-slimmer-eee2f0ae.js} +1 -1
  44. package/dist/cjs/{time-required-rule-2fd7c828.js → time-required-rule-080d975b.js} +1 -1
  45. package/dist/cjs/{token-extension-2e3e1631.js → token-extension-619379a3.js} +40 -19
  46. package/dist/cjs/{translation-slimmer-e8549aff.js → translation-slimmer-2af6f141.js} +1 -1
  47. package/dist/cjs/{type-guard-9917b11f.js → type-guard-0171e779.js} +119 -4
  48. package/dist/cjs/{typography-4560e7f1.js → typography-3ea4fe41.js} +10 -10
  49. package/dist/cjs/{valid-credit-card-number-rule-8c541bcd.js → valid-credit-card-number-rule-fdfca83e.js} +1 -1
  50. package/dist/cjs/vega-accordion.cjs.entry.js +14 -14
  51. package/dist/cjs/vega-app-footer.cjs.entry.js +61 -7
  52. package/dist/cjs/vega-app-header-button.cjs.entry.js +14 -14
  53. package/dist/cjs/vega-banner.cjs.entry.js +7 -7
  54. package/dist/cjs/vega-bar-chart.cjs.entry.js +3 -3
  55. package/dist/cjs/vega-box.cjs.entry.js +8 -8
  56. package/dist/cjs/vega-brand-logo.cjs.entry.js +3 -3
  57. package/dist/cjs/vega-breadcrumb.cjs.entry.js +5 -5
  58. package/dist/cjs/vega-button-circle.cjs.entry.js +12 -12
  59. package/dist/cjs/vega-button-group_2.cjs.entry.js +8 -8
  60. package/dist/cjs/vega-button-link.cjs.entry.js +5 -5
  61. package/dist/cjs/vega-button.cjs.entry.js +10 -10
  62. package/dist/cjs/{vega-calendar_4.cjs.entry.js → vega-calendar_5.cjs.entry.js} +669 -398
  63. package/dist/cjs/vega-card.cjs.entry.js +7 -7
  64. package/dist/cjs/vega-carousel.cjs.entry.js +8 -8
  65. package/dist/cjs/vega-checkbox_2.cjs.entry.js +10 -10
  66. package/dist/cjs/vega-chip.cjs.entry.js +11 -11
  67. package/dist/cjs/vega-code-block.cjs.entry.js +18 -18
  68. package/dist/cjs/vega-color-picker.cjs.entry.js +10 -8
  69. package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +15 -15
  70. package/dist/cjs/vega-color-swatch.cjs.entry.js +5 -5
  71. package/dist/cjs/vega-combo-box.cjs.entry.js +18 -18
  72. package/dist/cjs/vega-date-picker_2.cjs.entry.js +26 -26
  73. package/dist/cjs/{vega-dialog-controller-6df7825e.js → vega-dialog-controller-16be85d5.js} +2 -2
  74. package/dist/cjs/vega-dialog_2.cjs.entry.js +11 -11
  75. package/dist/cjs/vega-divider.cjs.entry.js +7 -7
  76. package/dist/cjs/vega-dropdown_5.cjs.entry.js +17 -17
  77. package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
  78. package/dist/cjs/{vega-event-id-37c1716f.js → vega-event-id-df22d80e.js} +2 -0
  79. package/dist/cjs/vega-field-label.cjs.entry.js +5 -5
  80. package/dist/cjs/vega-file-uploader.cjs.entry.js +15 -13
  81. package/dist/cjs/vega-flag-icon.cjs.entry.js +10 -10
  82. package/dist/cjs/vega-flex.cjs.entry.js +8 -8
  83. package/dist/cjs/vega-font.cjs.entry.js +14 -8
  84. package/dist/cjs/vega-form.cjs.entry.js +12 -12
  85. package/dist/cjs/vega-grid.cjs.entry.js +7 -7
  86. package/dist/cjs/vega-icon.cjs.entry.js +9 -9
  87. package/dist/cjs/vega-image-uploader.cjs.entry.js +17 -17
  88. package/dist/cjs/vega-input-credit-card.cjs.entry.js +18 -18
  89. package/dist/cjs/vega-input-numeric.cjs.entry.js +15 -15
  90. package/dist/cjs/vega-input-passcode.cjs.entry.js +14 -14
  91. package/dist/cjs/vega-input-phone-number.cjs.entry.js +15 -15
  92. package/dist/cjs/vega-input-range.cjs.entry.js +10 -10
  93. package/dist/cjs/vega-input-select.cjs.entry.js +19 -27
  94. package/dist/cjs/vega-input.cjs.entry.js +19 -17
  95. package/dist/cjs/{vega-internal-event-id-e138d4d6.js → vega-internal-event-id-ecc5b87a.js} +2 -0
  96. package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
  97. package/dist/cjs/vega-left-nav_5.cjs.entry.js +18 -18
  98. package/dist/cjs/vega-line-chart.cjs.entry.js +3 -3
  99. package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +5 -5
  100. package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
  101. package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +5 -5
  102. package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +4 -4
  103. package/dist/cjs/vega-pagination.cjs.entry.js +11 -11
  104. package/dist/cjs/vega-pie-chart.cjs.entry.js +2 -2
  105. package/dist/cjs/vega-popover_2.cjs.entry.js +15 -15
  106. package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +11 -11
  107. package/dist/cjs/vega-radio_2.cjs.entry.js +15 -15
  108. package/dist/cjs/vega-rich-text-content.cjs.entry.js +15 -15
  109. package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +39 -37
  110. package/dist/cjs/vega-rich-text-special-characters-panel.cjs.entry.js +9 -9
  111. package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +17 -17
  112. package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
  113. package/dist/cjs/vega-selection-chip_2.cjs.entry.js +14 -14
  114. package/dist/cjs/vega-selection-tile_2.cjs.entry.js +11 -11
  115. package/dist/cjs/vega-sidenav_3.cjs.entry.js +14 -14
  116. package/dist/cjs/vega-signature-capture.cjs.entry.js +18 -18
  117. package/dist/cjs/vega-stepper.cjs.entry.js +9 -9
  118. package/dist/cjs/vega-tab-group_2.cjs.entry.js +5 -5
  119. package/dist/cjs/vega-table_11.cjs.entry.js +16 -16
  120. package/dist/cjs/vega-textarea.cjs.entry.js +11 -11
  121. package/dist/cjs/vega-time-picker_2.cjs.entry.js +17 -17
  122. package/dist/cjs/vega-toggle-switch.cjs.entry.js +7 -7
  123. package/dist/cjs/vega-tooltip_2.cjs.entry.js +9 -9
  124. package/dist/cjs/vega.cjs.js +21 -20
  125. package/dist/cjs/{wait-for-component-did-render-762084fc.js → wait-for-component-did-render-02ca4bee.js} +1 -1
  126. package/dist/cjs/{y-axis-input-processor-54a26515.js → y-axis-input-processor-d3a3839c.js} +1 -1
  127. package/dist/collection/collection-manifest.json +10 -8
  128. package/dist/collection/components/vega-app-footer/slimmers/renderers/vega-app-footer-additional-links-renderer.js +45 -0
  129. package/dist/collection/components/vega-app-footer/vega-app-footer.js +63 -12
  130. package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +21 -24
  131. package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +13 -79
  132. package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-current-period-controller.js +153 -0
  133. package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-state-controller.js +32 -0
  134. package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/slimmers/renderers/vega-calendar-period-renderer.js +55 -0
  135. package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.css +20 -0
  136. package/dist/collection/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.js +309 -0
  137. package/dist/collection/components/vega-calendar/vega-calendar.css +0 -9
  138. package/dist/collection/components/vega-calendar/vega-calendar.js +73 -1
  139. package/dist/collection/components/vega-combo-box/vega-combo-box.js +1 -1
  140. package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +7 -0
  141. package/dist/collection/components/vega-font/vega-font.css +72 -10
  142. package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +1 -9
  143. package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.css +3 -1
  144. package/dist/collection/components/vega-rich-text-editor/constants/constant.js +5 -0
  145. package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +55 -0
  146. package/dist/collection/components/vega-rich-text-editor/slimmers/renderers/vega-rich-text-editor-renderer.js +10 -1
  147. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +2 -2
  148. package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +3 -10
  149. package/dist/collection/constants/tokens/typography.js +10 -10
  150. package/dist/collection/constants/ui.js +1 -0
  151. package/dist/collection/global/scripts/before-vega-load.js +8 -0
  152. package/dist/collection/helpers/calendar/calendar-period/day-period.js +9 -0
  153. package/dist/collection/helpers/calendar/calendar-period/internal-calendar-period-factory.js +76 -0
  154. package/dist/collection/helpers/calendar/calendar-period/month-period.js +9 -0
  155. package/dist/collection/helpers/calendar/calendar-period/vega-calendar-period-factory.js +19 -0
  156. package/dist/collection/helpers/calendar/calendar-period/week-period.js +14 -0
  157. package/dist/collection/helpers/calendar/index.js +1 -0
  158. package/dist/collection/helpers/common/wait-for-vega-handler.js +1 -1
  159. package/dist/collection/helpers/dialog/vega-dialog-controller.js +1 -1
  160. package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +3 -1
  161. package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
  162. package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
  163. package/dist/collection/helpers/event-manager/vega-event-manager.js +1 -1
  164. package/dist/collection/helpers/feature-control/feature-flags-map.js +12 -0
  165. package/dist/collection/helpers/icon/icon-manager.js +1 -1
  166. package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +1 -1
  167. package/dist/collection/helpers/notify/vega-notify-controller.js +1 -1
  168. package/dist/collection/helpers/public-api.js +1 -0
  169. package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +1 -1
  170. package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +3 -2
  171. package/dist/collection/helpers/theme/theme-manager.js +1 -1
  172. package/dist/collection/helpers/translation/locales/en.js +5 -0
  173. package/dist/collection/helpers/translation/translation.js +1 -1
  174. package/dist/collection/helpers/validator/rules/required-field-rule.js +10 -1
  175. package/dist/collection/helpers/zindex/vega-z-index-manager.js +1 -1
  176. package/dist/esm/{app-globals-a4134d21.js → app-globals-6041f52f.js} +20 -12
  177. package/dist/esm/{aria-dialog-focusable-trap-slimmer-7db3d5a7.js → aria-dialog-focusable-trap-slimmer-1332c071.js} +1 -1
  178. package/dist/esm/{child-nodes-event-prevent-slimmer-1e3ac106.js → child-nodes-event-prevent-slimmer-50022584.js} +2 -2
  179. package/dist/esm/{code-block-9a17d89b.js → code-block-37294847.js} +9 -4
  180. package/dist/esm/{component-value-history-controller-slimmer.abstract-a64c3678.js → component-value-history-controller-slimmer.abstract-45ccddc9.js} +59 -4
  181. package/dist/esm/{content-state-d59b4560.js → content-state-67950b80.js} +3 -3
  182. package/dist/esm/{create-public-api-runtime-metrics-slimmer-da6615bf.js → create-public-api-runtime-metrics-slimmer-48f85199.js} +3 -2
  183. package/dist/esm/{date-required-rule-cb960229.js → date-required-rule-958cf380.js} +1 -1
  184. package/dist/esm/{design-token-f73ebce9.js → design-token-e7e78f18.js} +4 -4
  185. package/dist/esm/{element-appender-slimmer-c62cf540.js → element-appender-slimmer-ebda526d.js} +4 -4
  186. package/dist/esm/{event-emit-slimmer-3eb4d8ad.js → event-emit-slimmer-b94cec83.js} +1 -1
  187. package/dist/esm/{feature-flag-controller-5ebc0cec.js → feature-flag-controller-2a89f20c.js} +12 -0
  188. package/dist/esm/{file-uploader-required-rule-ad886d01.js → file-uploader-required-rule-82188a61.js} +1 -1
  189. package/dist/esm/{form-field-controller-slimmer-514a3195.js → form-field-controller-slimmer-0a2ba886.js} +3 -3
  190. package/dist/esm/{icon-manager-691c8682.js → icon-manager-4ef3f6dd.js} +2 -2
  191. package/dist/esm/{image-annotation-action-f4ea265c.js → image-annotation-action-7f7a5678.js} +4 -4
  192. package/dist/esm/index-090d31ca.js +4 -4
  193. package/dist/esm/index.js +28 -27
  194. package/dist/esm/{inject-keyboard-manager-6522df5c.js → inject-keyboard-manager-2b19c121.js} +1 -1
  195. package/dist/esm/internal-calendar-period-factory-fff8aaee.js +76 -0
  196. package/dist/esm/{internal-icon-manager-276f968f.js → internal-icon-manager-e7c57096.js} +1 -1
  197. package/dist/esm/{internal-translation-controller-653bd7e3.js → internal-translation-controller-aa09ca87.js} +5 -0
  198. package/dist/esm/{internal-vega-event-manager-a9758b6e.js → internal-vega-event-manager-956cf128.js} +3 -1
  199. package/dist/esm/{keyboard-manager-9615fa9b.js → keyboard-manager-3e5b157f.js} +1 -1
  200. package/dist/esm/{keyboard-manager-slimmer-21bdc3a4.js → keyboard-manager-slimmer-ba5cc767.js} +1 -1
  201. package/dist/esm/{legend-input-processor-122008c5.js → legend-input-processor-3b2de4b7.js} +1 -1
  202. package/dist/esm/{link-extension-be164793.js → link-extension-afb404fb.js} +3 -3
  203. package/dist/esm/loader.js +21 -20
  204. package/dist/esm/month-view-generator-7a0c869c.js +31 -0
  205. package/dist/esm/{public-rules-58f31834.js → public-rules-f64b0b78.js} +13 -11
  206. package/dist/esm/{range-1c1c20fa.js → range-4d09a305.js} +1 -1
  207. package/dist/esm/{replace-selected-text-action-1abc5200.js → replace-selected-text-action-12bc8b82.js} +1 -1
  208. package/dist/esm/{required-field-rule-ab4bdc47.js → required-field-rule-a4634842.js} +10 -1
  209. package/dist/esm/{responsive-format-facade-12697af2.js → responsive-format-facade-844c5e09.js} +2 -2
  210. package/dist/esm/{rich-text-editor-required-rule-050d292b.js → rich-text-editor-required-rule-d62d418e.js} +1 -1
  211. package/dist/esm/{split-cell-operation-8251d2a1.js → split-cell-operation-c515669e.js} +5 -5
  212. package/dist/esm/{state-border-formatter-55cee24d.js → state-border-formatter-f53847a5.js} +1 -1
  213. package/dist/esm/{string-format-strategy.abstract-14c1e874.js → string-format-strategy.abstract-a0327405.js} +1 -1
  214. package/dist/esm/{string-input-formatter-slimmer-ec297247.js → string-input-formatter-slimmer-12de4a25.js} +3 -3
  215. package/dist/esm/{string-mask-strategy-18760123.js → string-mask-strategy-3bb03155.js} +2 -2
  216. package/dist/esm/{style-formatter-6073ae27.js → style-formatter-df7bf8ec.js} +2 -2
  217. package/dist/esm/{sub-state-notify-slimmer-d5a21bb3.js → sub-state-notify-slimmer-7ef94141.js} +1 -1
  218. package/dist/esm/{sub-state-observer-slimmer-d924288a.js → sub-state-observer-slimmer-d9ad2bdd.js} +1 -1
  219. package/dist/esm/{time-required-rule-9b775d24.js → time-required-rule-db0dee53.js} +1 -1
  220. package/dist/esm/{token-extension-6cb7dcb2.js → token-extension-8ff92d14.js} +40 -20
  221. package/dist/esm/{translation-slimmer-d32eb861.js → translation-slimmer-4904e7fe.js} +1 -1
  222. package/dist/esm/{type-guard-fd1f4760.js → type-guard-a2cbaae9.js} +117 -3
  223. package/dist/esm/{typography-396de03f.js → typography-19c3b9be.js} +10 -10
  224. package/dist/esm/{valid-credit-card-number-rule-dfd3e0a6.js → valid-credit-card-number-rule-a3f9858d.js} +1 -1
  225. package/dist/esm/vega-accordion.entry.js +14 -14
  226. package/dist/esm/vega-app-footer.entry.js +63 -9
  227. package/dist/esm/vega-app-header-button.entry.js +14 -14
  228. package/dist/esm/vega-banner.entry.js +7 -7
  229. package/dist/esm/vega-bar-chart.entry.js +3 -3
  230. package/dist/esm/vega-box.entry.js +8 -8
  231. package/dist/esm/vega-brand-logo.entry.js +3 -3
  232. package/dist/esm/vega-breadcrumb.entry.js +5 -5
  233. package/dist/esm/vega-button-circle.entry.js +12 -12
  234. package/dist/esm/vega-button-group_2.entry.js +8 -8
  235. package/dist/esm/vega-button-link.entry.js +5 -5
  236. package/dist/esm/vega-button.entry.js +10 -10
  237. package/dist/esm/{vega-calendar_4.entry.js → vega-calendar_5.entry.js} +666 -396
  238. package/dist/esm/vega-card.entry.js +7 -7
  239. package/dist/esm/vega-carousel.entry.js +8 -8
  240. package/dist/esm/vega-checkbox_2.entry.js +10 -10
  241. package/dist/esm/vega-chip.entry.js +11 -11
  242. package/dist/esm/vega-code-block.entry.js +18 -18
  243. package/dist/esm/vega-color-picker.entry.js +10 -8
  244. package/dist/esm/vega-color-swatch-picker.entry.js +15 -15
  245. package/dist/esm/vega-color-swatch.entry.js +5 -5
  246. package/dist/esm/vega-combo-box.entry.js +18 -18
  247. package/dist/esm/vega-date-picker_2.entry.js +26 -26
  248. package/dist/esm/{vega-dialog-controller-389e7f7c.js → vega-dialog-controller-726b74f9.js} +2 -2
  249. package/dist/esm/vega-dialog_2.entry.js +11 -11
  250. package/dist/esm/vega-divider.entry.js +7 -7
  251. package/dist/esm/vega-dropdown_5.entry.js +17 -17
  252. package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
  253. package/dist/esm/{vega-event-id-92848bf5.js → vega-event-id-268f8def.js} +2 -1
  254. package/dist/esm/vega-field-label.entry.js +5 -5
  255. package/dist/esm/vega-file-uploader.entry.js +15 -13
  256. package/dist/esm/vega-flag-icon.entry.js +10 -10
  257. package/dist/esm/vega-flex.entry.js +8 -8
  258. package/dist/esm/vega-font.entry.js +14 -8
  259. package/dist/esm/vega-form.entry.js +12 -12
  260. package/dist/esm/vega-grid.entry.js +7 -7
  261. package/dist/esm/vega-icon.entry.js +9 -9
  262. package/dist/esm/vega-image-uploader.entry.js +17 -17
  263. package/dist/esm/vega-input-credit-card.entry.js +18 -18
  264. package/dist/esm/vega-input-numeric.entry.js +15 -15
  265. package/dist/esm/vega-input-passcode.entry.js +14 -14
  266. package/dist/esm/vega-input-phone-number.entry.js +15 -15
  267. package/dist/esm/vega-input-range.entry.js +10 -10
  268. package/dist/esm/vega-input-select.entry.js +19 -27
  269. package/dist/esm/vega-input.entry.js +19 -17
  270. package/dist/esm/{vega-internal-event-id-913e8be6.js → vega-internal-event-id-22151a4d.js} +2 -1
  271. package/dist/esm/vega-item-toggle.entry.js +3 -3
  272. package/dist/esm/vega-left-nav_5.entry.js +18 -18
  273. package/dist/esm/vega-line-chart.entry.js +3 -3
  274. package/dist/esm/vega-loader-wrapper_2.entry.js +5 -5
  275. package/dist/esm/vega-page-notification_2.entry.js +1 -1
  276. package/dist/esm/vega-pagination-page-selector-mobile.entry.js +5 -5
  277. package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +4 -4
  278. package/dist/esm/vega-pagination.entry.js +11 -11
  279. package/dist/esm/vega-pie-chart.entry.js +2 -2
  280. package/dist/esm/vega-popover_2.entry.js +15 -15
  281. package/dist/esm/vega-progress-tracker_2.entry.js +11 -11
  282. package/dist/esm/vega-radio_2.entry.js +15 -15
  283. package/dist/esm/vega-rich-text-content.entry.js +15 -15
  284. package/dist/esm/vega-rich-text-editor_4.entry.js +39 -37
  285. package/dist/esm/vega-rich-text-special-characters-panel.entry.js +9 -9
  286. package/dist/esm/vega-rich-text-table-properties_3.entry.js +17 -17
  287. package/dist/esm/vega-segment-control.entry.js +3 -3
  288. package/dist/esm/vega-selection-chip_2.entry.js +14 -14
  289. package/dist/esm/vega-selection-tile_2.entry.js +11 -11
  290. package/dist/esm/vega-sidenav_3.entry.js +14 -14
  291. package/dist/esm/vega-signature-capture.entry.js +18 -18
  292. package/dist/esm/vega-stepper.entry.js +9 -9
  293. package/dist/esm/vega-tab-group_2.entry.js +5 -5
  294. package/dist/esm/vega-table_11.entry.js +16 -16
  295. package/dist/esm/vega-textarea.entry.js +11 -11
  296. package/dist/esm/vega-time-picker_2.entry.js +17 -17
  297. package/dist/esm/vega-toggle-switch.entry.js +7 -7
  298. package/dist/esm/vega-tooltip_2.entry.js +9 -9
  299. package/dist/esm/vega.js +21 -20
  300. package/dist/esm/{wait-for-component-did-render-b378bf16.js → wait-for-component-did-render-0488922a.js} +1 -1
  301. package/dist/esm/{y-axis-input-processor-c7e05353.js → y-axis-input-processor-c6b2a914.js} +1 -1
  302. package/dist/sri/vega-sri-manifest.json +414 -410
  303. package/dist/types/components/vega-app-footer/slimmers/renderers/vega-app-footer-additional-links-renderer.d.ts +13 -0
  304. package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +18 -1
  305. package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +11 -6
  306. package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +2 -29
  307. package/dist/types/components/vega-calendar/types.d.ts +7 -1
  308. package/dist/types/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-current-period-controller.d.ts +63 -0
  309. package/dist/types/components/vega-calendar/vega-calendar-period-switcher/slimmers/controllers/vega-calendar-period-state-controller.d.ts +10 -0
  310. package/dist/types/components/vega-calendar/vega-calendar-period-switcher/slimmers/renderers/vega-calendar-period-renderer.d.ts +11 -0
  311. package/dist/types/components/vega-calendar/vega-calendar-period-switcher/vega-calendar-period-switcher.d.ts +82 -0
  312. package/dist/types/components/vega-calendar/vega-calendar.d.ts +15 -1
  313. package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +2 -10
  314. package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +0 -1
  315. package/dist/types/components/vega-rich-text-editor/constants/constant.d.ts +5 -0
  316. package/dist/types/components/vega-rich-text-editor/slimmers/controllers/selection-controller.d.ts +22 -0
  317. package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +5 -2
  318. package/dist/types/components.d.ts +99 -6
  319. package/dist/types/constants/ui.d.ts +1 -1
  320. package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +6 -0
  321. package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +4 -0
  322. package/dist/types/helpers/calendar/calendar-period/internal-calendar-period-factory.d.ts +33 -0
  323. package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +4 -0
  324. package/dist/types/helpers/calendar/calendar-period/vega-calendar-period-factory.d.ts +16 -0
  325. package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +5 -0
  326. package/dist/types/helpers/calendar/index.d.ts +1 -0
  327. package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
  328. package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
  329. package/dist/types/helpers/feature-control/feature-flag.d.ts +3 -1
  330. package/dist/types/helpers/public-api.d.ts +1 -0
  331. package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +2 -1
  332. package/dist/types/helpers/translation/interface.d.ts +6 -1
  333. package/dist/types/types/components.type.d.ts +1 -0
  334. package/dist/vega/index.esm.js +1 -1
  335. package/dist/vega/{p-97e7da55.js → p-014e2cf9.js} +1 -1
  336. package/dist/vega/{p-88c29aae.entry.js → p-044496e0.entry.js} +1 -1
  337. package/dist/vega/{p-99ea0fa0.entry.js → p-0605c656.entry.js} +1 -1
  338. package/dist/vega/p-0707aa21.js +1 -0
  339. package/dist/vega/{p-a809b33a.js → p-0e03daa6.js} +1 -1
  340. package/dist/vega/{p-d6422004.entry.js → p-12b5c5e3.entry.js} +1 -1
  341. package/dist/vega/{p-881622fd.js → p-141f74ff.js} +1 -1
  342. package/dist/vega/p-144d4b30.js +1 -0
  343. package/dist/vega/p-14bfc113.js +1 -0
  344. package/dist/vega/p-15da9d58.entry.js +1 -0
  345. package/dist/vega/{p-bcd3bd79.entry.js → p-1acd5f04.entry.js} +1 -1
  346. package/dist/vega/{p-6528739f.entry.js → p-216ef41e.entry.js} +1 -1
  347. package/dist/vega/p-21775cc7.js +1 -0
  348. package/dist/vega/p-2944c76e.entry.js +1 -0
  349. package/dist/vega/p-2b22091e.js +1 -0
  350. package/dist/vega/{p-581d89bb.entry.js → p-2f48162f.entry.js} +1 -1
  351. package/dist/vega/{p-ed1dbc98.entry.js → p-316a1e5c.entry.js} +1 -1
  352. package/dist/vega/{p-1827a459.entry.js → p-329c808e.entry.js} +1 -1
  353. package/dist/vega/{p-4386625c.entry.js → p-335e3237.entry.js} +1 -1
  354. package/dist/vega/{p-1ee185d9.entry.js → p-3372f34a.entry.js} +1 -1
  355. package/dist/vega/p-3863187f.entry.js +1 -0
  356. package/dist/vega/{p-740f3325.entry.js → p-3911e760.entry.js} +1 -1
  357. package/dist/vega/{p-8666f206.entry.js → p-3cf298a4.entry.js} +1 -1
  358. package/dist/vega/{p-d0e7c14b.entry.js → p-3fe43f7a.entry.js} +1 -1
  359. package/dist/vega/{p-2c7e1bcb.js → p-4037126d.js} +1 -1
  360. package/dist/vega/p-42a1d300.entry.js +1 -0
  361. package/dist/vega/{p-6d99a0b3.entry.js → p-42ed76ee.entry.js} +1 -1
  362. package/dist/vega/{p-c0a6ed53.entry.js → p-42f3c0b1.entry.js} +1 -1
  363. package/dist/vega/{p-465590d1.entry.js → p-4644ccf9.entry.js} +1 -1
  364. package/dist/vega/{p-566ba295.js → p-4979fd7d.js} +1 -1
  365. package/dist/vega/p-49b4ab2b.js +1 -0
  366. package/dist/vega/{p-46e0c6ca.js → p-4cef4812.js} +1 -1
  367. package/dist/vega/p-507612f6.entry.js +1 -0
  368. package/dist/vega/{p-f5c8024e.entry.js → p-50d7a1c4.entry.js} +1 -1
  369. package/dist/vega/p-522dd15f.entry.js +1 -0
  370. package/dist/vega/p-53ed3b1f.js +1 -0
  371. package/dist/vega/p-57f7c257.js +1 -0
  372. package/dist/vega/p-58a00869.entry.js +1 -0
  373. package/dist/vega/{p-3ed6a602.js → p-5a4e598f.js} +1 -1
  374. package/dist/vega/{p-f9ae396b.entry.js → p-5bed3fd2.entry.js} +1 -1
  375. package/dist/vega/{p-7fe292af.entry.js → p-5df53125.entry.js} +1 -1
  376. package/dist/vega/p-5e1cd1cc.js +1 -0
  377. package/dist/vega/p-5e1ec2b8.entry.js +1 -0
  378. package/dist/vega/{p-f0d6e2f2.js → p-5e282e41.js} +1 -1
  379. package/dist/vega/p-5f377954.js +1 -1
  380. package/dist/vega/{p-850ea38b.entry.js → p-5fcb825c.entry.js} +1 -1
  381. package/dist/vega/{p-3a93730e.js → p-5ffc7cb8.js} +1 -1
  382. package/dist/vega/{p-724df1f5.js → p-6031bed1.js} +1 -1
  383. package/dist/vega/{p-8e34b266.js → p-6096ffc3.js} +1 -1
  384. package/dist/vega/p-61d42e9b.entry.js +1 -0
  385. package/dist/vega/p-63ae5ada.entry.js +1 -0
  386. package/dist/vega/{p-6fec4d46.entry.js → p-64b5fe2a.entry.js} +1 -1
  387. package/dist/vega/{p-6cedb325.js → p-66905cbf.js} +1 -1
  388. package/dist/vega/{p-54141828.entry.js → p-6820b488.entry.js} +1 -1
  389. package/dist/vega/{p-d871e8eb.entry.js → p-689070f9.entry.js} +1 -1
  390. package/dist/vega/{p-456890f5.entry.js → p-6e7c1b19.entry.js} +1 -1
  391. package/dist/vega/{p-4694fe27.entry.js → p-6ecb3c7d.entry.js} +1 -1
  392. package/dist/vega/p-70352240.entry.js +1 -0
  393. package/dist/vega/p-73b9868f.js +1 -0
  394. package/dist/vega/{p-3755d8d3.entry.js → p-74fa0f5b.entry.js} +1 -1
  395. package/dist/vega/{p-e4917e76.js → p-7b9ed949.js} +1 -1
  396. package/dist/vega/p-7bb39b97.js +1 -0
  397. package/dist/vega/{p-99545fd7.entry.js → p-7f086e54.entry.js} +1 -1
  398. package/dist/vega/p-7f139b74.js +1 -0
  399. package/dist/vega/{p-b7c90543.js → p-8019c156.js} +1 -1
  400. package/dist/vega/p-81591449.entry.js +1 -0
  401. package/dist/vega/{p-328dbe8e.js → p-822f70b0.js} +1 -1
  402. package/dist/vega/p-85d78ac1.js +1 -0
  403. package/dist/vega/p-8982796b.entry.js +1 -0
  404. package/dist/vega/{p-44f81987.entry.js → p-8bc23bcf.entry.js} +1 -1
  405. package/dist/vega/{p-8a054a13.js → p-92a144bc.js} +1 -1
  406. package/dist/vega/{p-a9a70696.entry.js → p-94845302.entry.js} +1 -1
  407. package/dist/vega/{p-e8c5a446.entry.js → p-9756c6b9.entry.js} +1 -1
  408. package/dist/vega/{p-00d2a013.entry.js → p-9abf7d0a.entry.js} +1 -1
  409. package/dist/vega/{p-1b4abd76.entry.js → p-9e327397.entry.js} +1 -1
  410. package/dist/vega/p-9f608b97.js +1 -0
  411. package/dist/vega/p-9fb3aeeb.entry.js +1 -0
  412. package/dist/vega/{p-1d16a7fa.entry.js → p-a04b95aa.entry.js} +1 -1
  413. package/dist/vega/p-a14d8767.js +1 -0
  414. package/dist/vega/{p-c5621f60.entry.js → p-a4826f3f.entry.js} +1 -1
  415. package/dist/vega/{p-616d7096.entry.js → p-aaa6e976.entry.js} +1 -1
  416. package/dist/vega/{p-f70cfac5.entry.js → p-aca134a3.entry.js} +1 -1
  417. package/dist/vega/{p-bce9f489.entry.js → p-ae728041.entry.js} +1 -1
  418. package/dist/vega/{p-277c306b.js → p-aea912ac.js} +1 -1
  419. package/dist/vega/{p-9a6bd32c.js → p-afcd8f04.js} +1 -1
  420. package/dist/vega/{p-ecea4d24.js → p-b2f89dbd.js} +1 -1
  421. package/dist/vega/{p-8d9c4338.entry.js → p-b2f9698a.entry.js} +1 -1
  422. package/dist/vega/p-b438e68b.js +1 -0
  423. package/dist/vega/p-b504a8b4.entry.js +1 -0
  424. package/dist/vega/{p-dfda6e01.entry.js → p-b77e85e0.entry.js} +1 -1
  425. package/dist/vega/{p-fd2a49be.entry.js → p-b7b0930a.entry.js} +1 -1
  426. package/dist/vega/{p-600f0316.entry.js → p-bb0040d4.entry.js} +1 -1
  427. package/dist/vega/{p-dcf162e9.js → p-bc73ce30.js} +1 -1
  428. package/dist/vega/{p-5a6e2c08.entry.js → p-bd94b904.entry.js} +1 -1
  429. package/dist/vega/{p-1be90bab.entry.js → p-c04a90d8.entry.js} +1 -1
  430. package/dist/vega/{p-85dcd07b.js → p-c0c2a917.js} +1 -1
  431. package/dist/vega/p-c40555c4.entry.js +1 -0
  432. package/dist/vega/{p-92e493ea.entry.js → p-c65a5778.entry.js} +1 -1
  433. package/dist/vega/{p-0278cd2b.entry.js → p-c75872a4.entry.js} +1 -1
  434. package/dist/vega/{p-30487f0e.js → p-c87c7ef4.js} +1 -1
  435. package/dist/vega/{p-fcefb62c.js → p-cb4033ef.js} +1 -1
  436. package/dist/vega/{p-02492864.entry.js → p-cc8bf6e7.entry.js} +1 -1
  437. package/dist/vega/{p-d2916121.js → p-cd21adb8.js} +1 -1
  438. package/dist/vega/{p-844b7826.js → p-cd2a1ffb.js} +1 -1
  439. package/dist/vega/{p-285e5e52.entry.js → p-ce27c273.entry.js} +1 -1
  440. package/dist/vega/{p-788a7a5a.js → p-cec8ffdc.js} +1 -1
  441. package/dist/vega/{p-820ff54c.js → p-d0060bdb.js} +1 -1
  442. package/dist/vega/p-d00b3910.js +1 -0
  443. package/dist/vega/{p-a58cacca.js → p-d14ddf80.js} +1 -1
  444. package/dist/vega/{p-6845ed5c.entry.js → p-da067259.entry.js} +1 -1
  445. package/dist/vega/p-da2b1fd0.entry.js +1 -0
  446. package/dist/vega/p-dc78e8d6.js +1 -0
  447. package/dist/vega/{p-eb927e2b.js → p-ddc2d219.js} +1 -1
  448. package/dist/vega/p-e75e75c9.entry.js +1 -0
  449. package/dist/vega/p-e8f50fc5.js +1 -0
  450. package/dist/vega/{p-fe573f85.entry.js → p-e9a82603.entry.js} +1 -1
  451. package/dist/vega/{p-d7790113.js → p-ef44d516.js} +1 -1
  452. package/dist/vega/p-f362c07b.entry.js +1 -0
  453. package/dist/vega/{p-0cc4a052.entry.js → p-fb1ef3e6.entry.js} +1 -1
  454. package/dist/vega/p-fc103347.entry.js +1 -0
  455. package/dist/vega/{p-0a1c7f80.js → p-fea33425.js} +1 -1
  456. package/dist/vega/{p-1704ff25.js → p-ffdc25ec.js} +1 -1
  457. package/dist/vega/vega.css +1 -1
  458. package/dist/vega/vega.esm.js +1 -1
  459. package/package.json +1 -1
  460. package/style/vega.css +1 -1
  461. package/dist/cjs/month-view-generator-c7492e06.js +0 -101
  462. package/dist/esm/month-view-generator-1b7c9bb8.js +0 -97
  463. package/dist/vega/p-018756ad.entry.js +0 -1
  464. package/dist/vega/p-0542b8ac.js +0 -1
  465. package/dist/vega/p-0bb860cc.js +0 -1
  466. package/dist/vega/p-203f4ce9.entry.js +0 -1
  467. package/dist/vega/p-2620a164.js +0 -1
  468. package/dist/vega/p-2649051e.entry.js +0 -1
  469. package/dist/vega/p-280cbcdb.js +0 -1
  470. package/dist/vega/p-30a6b7aa.entry.js +0 -1
  471. package/dist/vega/p-350d1b75.entry.js +0 -1
  472. package/dist/vega/p-355ea330.entry.js +0 -1
  473. package/dist/vega/p-35d617d5.js +0 -1
  474. package/dist/vega/p-3e956269.entry.js +0 -1
  475. package/dist/vega/p-44f39eee.js +0 -1
  476. package/dist/vega/p-46cab60a.js +0 -1
  477. package/dist/vega/p-47ffdc0f.entry.js +0 -1
  478. package/dist/vega/p-4fdd0a71.js +0 -1
  479. package/dist/vega/p-5f048811.entry.js +0 -1
  480. package/dist/vega/p-667c980d.entry.js +0 -1
  481. package/dist/vega/p-716a393e.entry.js +0 -1
  482. package/dist/vega/p-73ce8fef.js +0 -1
  483. package/dist/vega/p-8258dc37.entry.js +0 -1
  484. package/dist/vega/p-82c133aa.js +0 -1
  485. package/dist/vega/p-8a34c08a.js +0 -1
  486. package/dist/vega/p-939c486f.entry.js +0 -1
  487. package/dist/vega/p-aae71499.entry.js +0 -1
  488. package/dist/vega/p-b0f55f5f.js +0 -1
  489. package/dist/vega/p-b5c08306.entry.js +0 -1
  490. package/dist/vega/p-b6be1f33.js +0 -1
  491. package/dist/vega/p-c1c5bd2c.entry.js +0 -1
  492. package/dist/vega/p-c596bb49.js +0 -1
  493. package/dist/vega/p-c9c42a07.js +0 -1
  494. package/dist/vega/p-d76cb9da.entry.js +0 -1
  495. package/dist/vega/p-d884c644.js +0 -1
  496. package/dist/vega/p-d905159c.entry.js +0 -1
  497. package/dist/vega/p-e30a4f3e.js +0 -1
  498. package/dist/vega/p-f0b99c3a.entry.js +0 -1
  499. package/dist/vega/p-f251a907.entry.js +0 -1
  500. package/dist/vega/p-f830deb8.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as i,H as e,g as n}from"./p-6b2342e0.js";import{c as a}from"./p-3a620268.js";import{s as o}from"./p-519a7d55.js";import{g as s,D as r,a as p}from"./p-528748fa.js";import{I as g}from"./p-6e1ab235.js";import{V as f,I as c}from"./p-8ce9e214.js";import{D as h}from"./p-526e3634.js";import{a as l}from"./p-fcefb62c.js";import"./p-2d0d575f.js";import"./p-331a62d5.js";var x=function(t,i,e,n){var a,o=arguments.length,s=o<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,n);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(s=(o<3?a(s):o>3?a(i,e,s):a(i,e))||s);return o>3&&s&&Object.defineProperty(i,e,s),s};const m={success:"checkmark-circle",warning:"warning-triangle-filled",error:"help-filled",info:"info-circle-filled"},d=class{constructor(e){t(this,e),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new f,this.isMobileDevice=s()===r.MOBILE,this.notificationTitle="",this.message="",this.type="info",this.duration=5e3,this.showCloseButton=!0,this.actionButtons=[],this.renderPrefixIcon=()=>i("div",{class:"vega-page-notification-prefix"},i("vega-icon",{icon:m[this.type],size:this.isMobileDevice?"size-16":"size-24"})),this.renderContent=()=>i("div",{class:"vega-page-notification-content"},this.notificationTitle&&i("div",{class:"vega-page-notification-title"},this.notificationTitle),i("div",{class:"vega-page-notification-message"},this.message)),this.autoCloseAfterDuration=()=>{this.duration>0&&setTimeout((()=>{this.close()}),this.duration)}}componentDidLoad(){this.autoCloseAfterDuration()}async close(){this.host.classList.add("vega-page-notification-fade-out"),setTimeout((()=>{this.host.remove()}),300)}render(){const t=p([this.type,this.isMobileDevice&&"mobile"].filter(Boolean));return o(i(e,{class:t},i("vega-box",{padding:this.isMobileDevice?"size-16":"size-24"},i("vega-flex",{gap:"size-16"},this.renderPrefixIcon(),this.renderContent(),this.renderCloseButtons()),this.renderActionButtons())),this.host)}renderCloseButtons(){if(this.showCloseButton)return i("div",{"aria-label":"Close Button",class:"vega-page-notification-close-btn",onClick:()=>this.close(),role:"button",tabIndex:0,onKeyDown:a()},i("vega-icon",{icon:"close",size:this.isMobileDevice?"size-12":"size-16"}))}renderActionButtons(){if(this.actionButtons&&0!==this.actionButtons.length)return i("div",{class:"vega-page-notification-actions-container"},this.actionButtons.map((t=>i("vega-button",{size:this.isMobileDevice?"small":"default",label:t.label,variant:"secondary",ref:i=>{h.addUniqueObserverToNode(i,l,t.onVegaClick)}}))))}get host(){return n(this)}};x([c()],d.prototype,"globalSlimmers",void 0),x([g()],d.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),d.style=':host{display:inline-block;box-sizing:border-box;border-radius:12px;max-width:480px;box-shadow:0 4px 8px rgba(2, 2, 15, 0.1), 0 12px 20px rgba(2, 2, 15, 0.15);animation:fade-in-right 300ms ease-in-out}:host(.mobile){width:100%;max-width:100%;animation:fade-in-up 300ms ease-in-out}:host(.vega-page-notification-fade-out){opacity:0;animation:fade-out 300ms ease-in-out}:host vega-icon{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1))}:host .vega-page-notification-prefix{display:flex}:host(.mobile) .vega-page-notification-prefix{padding-top:4px}:host .vega-page-notification-content{flex:1 1 0%;overflow:auto}:host .vega-page-notification-close-btn{cursor:pointer;display:inline-flex;margin-top:4px}:host(.mobile) .vega-page-notification-close-btn{padding:2px}:host .vega-page-notification-actions-container{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;justify-content:flex-end;margin-top:24px}:host(.mobile) .vega-page-notification-actions-container{margin-top:16px}:host .vega-page-notification-title{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px;overflow-wrap:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}:host .vega-page-notification-message{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px;overflow-wrap:break-word;margin-top:2px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));border:2px solid rgba(var(--v-text-page-notification-content, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.success){background-color:rgba(var(--v-bg-status-success, 160, 233, 167, 1))}:host(.warning){background-color:rgba(var(--v-bg-status-warning, 255, 220, 131, 1))}:host(.error){background-color:rgba(var(--v-bg-status-error, 255, 110, 139, 1))}:host(.info){background-color:rgba(var(--v-bg-status-info, 205, 209, 211, 1))}.vega-page-notification-list{display:flex;flex-direction:column;align-items:flex-end;position:fixed}.vega-page-notification-list-topRight{top:24px;right:24px}.vega-page-notification-list-bottom{left:0px;right:0px;padding-left:16px;padding-right:16px;align-items:center;bottom:0px}@keyframes fade-in-right{from{opacity:0;transform:translateX(100%)}to{opacity:1;transform:none}}@keyframes fade-in-up{from{opacity:0;transform:translateY(100%)}to{opacity:1;transform:none}}@keyframes fade-out{from{opacity:1}to{opacity:0}}';var v=function(t,i,e,n){var a,o=arguments.length,s=o<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,n);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(s=(o<3?a(s):o>3?a(i,e,s):a(i,e))||s);return o>3&&s&&Object.defineProperty(i,e,s),s};const b=class{constructor(i){t(this,i),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new f}render(){return i(e,null,i("slot",null))}get host(){return n(this)}};v([c()],b.prototype,"globalSlimmers",void 0),v([g()],b.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),b.style=":host{position:fixed;display:flex;flex-direction:column;align-items:flex-end}:host(.vega-page-notification-list-topRight){top:24px;right:24px}:host(.vega-page-notification-list-bottom){align-items:center;padding-left:16px;padding-right:16px;left:0px;right:0px;bottom:0px}";export{d as vega_page_notification,b as vega_page_notification_list}
1
+ import{r as t,h as i,H as e,g as n}from"./p-6b2342e0.js";import{c as a}from"./p-3a620268.js";import{s as o}from"./p-519a7d55.js";import{g as s,D as r,a as p}from"./p-528748fa.js";import{I as g}from"./p-6e1ab235.js";import{V as f,I as c}from"./p-8ce9e214.js";import{D as h}from"./p-526e3634.js";import{a as l}from"./p-cb4033ef.js";import"./p-2d0d575f.js";import"./p-331a62d5.js";var x=function(t,i,e,n){var a,o=arguments.length,s=o<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,n);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(s=(o<3?a(s):o>3?a(i,e,s):a(i,e))||s);return o>3&&s&&Object.defineProperty(i,e,s),s};const m={success:"checkmark-circle",warning:"warning-triangle-filled",error:"help-filled",info:"info-circle-filled"},d=class{constructor(e){t(this,e),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new f,this.isMobileDevice=s()===r.MOBILE,this.notificationTitle="",this.message="",this.type="info",this.duration=5e3,this.showCloseButton=!0,this.actionButtons=[],this.renderPrefixIcon=()=>i("div",{class:"vega-page-notification-prefix"},i("vega-icon",{icon:m[this.type],size:this.isMobileDevice?"size-16":"size-24"})),this.renderContent=()=>i("div",{class:"vega-page-notification-content"},this.notificationTitle&&i("div",{class:"vega-page-notification-title"},this.notificationTitle),i("div",{class:"vega-page-notification-message"},this.message)),this.autoCloseAfterDuration=()=>{this.duration>0&&setTimeout((()=>{this.close()}),this.duration)}}componentDidLoad(){this.autoCloseAfterDuration()}async close(){this.host.classList.add("vega-page-notification-fade-out"),setTimeout((()=>{this.host.remove()}),300)}render(){const t=p([this.type,this.isMobileDevice&&"mobile"].filter(Boolean));return o(i(e,{class:t},i("vega-box",{padding:this.isMobileDevice?"size-16":"size-24"},i("vega-flex",{gap:"size-16"},this.renderPrefixIcon(),this.renderContent(),this.renderCloseButtons()),this.renderActionButtons())),this.host)}renderCloseButtons(){if(this.showCloseButton)return i("div",{"aria-label":"Close Button",class:"vega-page-notification-close-btn",onClick:()=>this.close(),role:"button",tabIndex:0,onKeyDown:a()},i("vega-icon",{icon:"close",size:this.isMobileDevice?"size-12":"size-16"}))}renderActionButtons(){if(this.actionButtons&&0!==this.actionButtons.length)return i("div",{class:"vega-page-notification-actions-container"},this.actionButtons.map((t=>i("vega-button",{size:this.isMobileDevice?"small":"default",label:t.label,variant:"secondary",ref:i=>{h.addUniqueObserverToNode(i,l,t.onVegaClick)}}))))}get host(){return n(this)}};x([c()],d.prototype,"globalSlimmers",void 0),x([g()],d.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),d.style=':host{display:inline-block;box-sizing:border-box;border-radius:12px;max-width:480px;box-shadow:0 4px 8px rgba(2, 2, 15, 0.1), 0 12px 20px rgba(2, 2, 15, 0.15);animation:fade-in-right 300ms ease-in-out}:host(.mobile){width:100%;max-width:100%;animation:fade-in-up 300ms ease-in-out}:host(.vega-page-notification-fade-out){opacity:0;animation:fade-out 300ms ease-in-out}:host vega-icon{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1))}:host .vega-page-notification-prefix{display:flex}:host(.mobile) .vega-page-notification-prefix{padding-top:4px}:host .vega-page-notification-content{flex:1 1 0%;overflow:auto}:host .vega-page-notification-close-btn{cursor:pointer;display:inline-flex;margin-top:4px}:host(.mobile) .vega-page-notification-close-btn{padding:2px}:host .vega-page-notification-actions-container{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;justify-content:flex-end;margin-top:24px}:host(.mobile) .vega-page-notification-actions-container{margin-top:16px}:host .vega-page-notification-title{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px;overflow-wrap:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.mobile) .vega-page-notification-title{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}:host .vega-page-notification-message{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px;overflow-wrap:break-word;margin-top:2px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.mobile) .vega-page-notification-message{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));border:2px solid rgba(var(--v-text-page-notification-content, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.success){background-color:rgba(var(--v-bg-status-success, 160, 233, 167, 1))}:host(.warning){background-color:rgba(var(--v-bg-status-warning, 255, 220, 131, 1))}:host(.error){background-color:rgba(var(--v-bg-status-error, 255, 110, 139, 1))}:host(.info){background-color:rgba(var(--v-bg-status-info, 205, 209, 211, 1))}.vega-page-notification-list{display:flex;flex-direction:column;align-items:flex-end;position:fixed}.vega-page-notification-list-topRight{top:24px;right:24px}.vega-page-notification-list-bottom{left:0px;right:0px;padding-left:16px;padding-right:16px;align-items:center;bottom:0px}@keyframes fade-in-right{from{opacity:0;transform:translateX(100%)}to{opacity:1;transform:none}}@keyframes fade-in-up{from{opacity:0;transform:translateY(100%)}to{opacity:1;transform:none}}@keyframes fade-out{from{opacity:1}to{opacity:0}}';var v=function(t,i,e,n){var a,o=arguments.length,s=o<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,i,e,n);else for(var r=t.length-1;r>=0;r--)(a=t[r])&&(s=(o<3?a(s):o>3?a(i,e,s):a(i,e))||s);return o>3&&s&&Object.defineProperty(i,e,s),s};const b=class{constructor(i){t(this,i),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new f}render(){return i(e,null,i("slot",null))}get host(){return n(this)}};v([c()],b.prototype,"globalSlimmers",void 0),v([g()],b.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),b.style=":host{position:fixed;display:flex;flex-direction:column;align-items:flex-end}:host(.vega-page-notification-list-topRight){top:24px;right:24px}:host(.vega-page-notification-list-bottom){align-items:center;padding-left:16px;padding-right:16px;left:0px;right:0px;bottom:0px}";export{d as vega_page_notification,b as vega_page_notification_list}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as i,H as r,g as s}from"./p-6b2342e0.js";import{R as o}from"./p-14bfc113.js";import{c as a}from"./p-3a620268.js";import{s as n}from"./p-519a7d55.js";import{a as p,h as l,c as h}from"./p-528748fa.js";import{F as d}from"./p-141f74ff.js";import{I as c}from"./p-6e1ab235.js";import{V as m,I as f}from"./p-8ce9e214.js";import{F as g}from"./p-cb378636.js";import{c as x}from"./p-ef44d516.js";import{C as b}from"./p-2d0d575f.js";import{j as v}from"./p-cb4033ef.js";import"./p-abd7aeaa.js";import"./p-bc73ce30.js";import"./p-982747ef.js";import"./p-02841589.js";import"./p-331a62d5.js";import"./p-8b5d3a52.js";import"./p-6a334573.js";import"./p-526e3634.js";import"./p-5ffc7cb8.js";import"./p-ddc2d219.js";import"./p-f0e828d8.js";import"./p-b75ee3ba.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-ed45b3b6.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";import"./p-d14ddf80.js";import"./p-53ed3b1f.js";const u=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether automatic validation should be implemented for the color picker when a color is selected",payloadValue:e=>!0===e.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether automatic validation should be implemented for the color picker when a color is selected",payloadValue:e=>!1===e.autoValidation}];var w=function(e,t,i,r){var s,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(a=(o<3?s(a):o>3?s(t,i,a):s(t,i))||a);return o>3&&a&&Object.defineProperty(t,i,a),a};const j=class{constructor(r){e(this,r),this.vegaChange=t(this,"vegaChange",7),this.change=t(this,"change",7),this.globalSlimmers={},this.formFieldController=new d({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new o:null}],validationRulesName:"validationRules",defaultValue:"",attributeGetter:e=>this[e],inputContainerGetter:()=>this.colorPickerContainerRef,touchableAreaGetter:()=>[this.colorPickerTouchableAreaRef]}),this.changeEventEmitter=x(j,v),this.vegaComponentUsageRuntimeMetricsSlimmer=new m(u),this.value="",this.hint="",this.disabled=!1,this.required=!1,this.optional=!1,this.label="",this.isValid=null,this.autoValidation=!0,this.validationRules=[],this.colors=["#73E6DC","#806BFF","#FFDC83","#FF9571","#00BBFF","#FF82C9","#259F9F","#563D82"],this.isInline=!1,this.columns=8,this.renderColorPickerContainer=()=>{const e=this.getValidColumns();return i("div",{class:p([this.isInline?null:"color-picker-inline"]),ref:e=>this.colorPickerContainerRef=e},i("vega-flex",{direction:"row",gap:"size-8",alignItems:"center",style:{maxWidth:34*e-8+"px"}},this.colors.map((e=>{const t=this.value===e;return i("div",{id:e,class:{"color-picker-inline-items":!0,selected:t},ref:e=>this.colorPickerTouchableAreaRef=e,style:{backgroundColor:e},onClick:this.updateValueProp,role:"button",tabIndex:0,"aria-label":"color",onKeyDown:a()},t?i("vega-icon",{icon:"checkmark",size:"size-16",class:{"v-text-black":this.isDarkColorCheckmark(this.value),"v-text-white":!this.isDarkColorCheckmark(this.value)}}):null)}))))},this.renderHintMessage=()=>i("vega-text",{text:this.hint}),this.updateValueProp=async e=>{this.disabled||(this.value=String(e.currentTarget.getAttribute("id")))}}watchValue(){this.resetValueIfInvalid(),this.changeEventEmitter.emit(this.value),b.notify(g,{host:this.host,detail:this.value})}watchValidationRules(){}connectedCallback(){this.resetValueIfInvalid()}render(){return n(i(r,{class:{disabled:this.disabled}},this.renderLabelDom(),this.renderColorPickerContainer(),this.hint&&this.renderHintMessage()),this.host)}renderLabelDom(){return i("vega-field-label",{"is-field-required":this.required,optional:this.optional,disabled:this.disabled,label:this.label})}getValidColumns(){const e=Math.floor(this.columns);return Number.isFinite(e)&&e>0?e:1}isDarkColorCheckmark(e,t="#fcfcfc",i="#203645"){const r=this.getLuminance(e),s=this.getLuminance(t),o=this.getLuminance(i);return r>Math.sqrt((s+.05)*(o+.05))-.05}getLuminance(e){const t=[l(e).r/255,l(e).g/255,l(e).b/255].map((e=>e<=.03928?e/12.92:((e+.055)/1.055)**2.4));return.2126*t[0]+.7152*t[1]+.0722*t[2]}resetValueIfInvalid(){this.colors.some((e=>h(e).toUpperCase()==h(this.value).toUpperCase()))||(this.value="")}get host(){return s(this)}static get watchers(){return{value:["watchValue"],validationRules:["watchValidationRules"]}}};w([f()],j.prototype,"globalSlimmers",void 0),w([c()],j.prototype,"formFieldController",void 0),w([c()],j.prototype,"changeEventEmitter",void 0),w([c()],j.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),j.style=':host{display:inline-block;text-align:left;line-height:normal}:host vega-field-label{margin-bottom:8px}:host(.disabled) .color-picker-inline{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))}:host(.disabled) .color-picker-inline-items:hover{box-shadow:none}:host(.disabled) .color-picker-inline-items:focus-within{box-shadow:none}:host .color-picker-inline{border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:8px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));padding:12px;max-width:max-content}:host .color-picker-inline-items{display:flex;border:1px solid rgba(var(--v-border-chip, 205, 209, 211, 1));border-radius:4px;width:24px;height:24px;cursor:pointer;align-items:center;justify-content:center}:host .color-picker-inline-items.selected{border-color:rgba(var(--v-bg-inverted-primary, 4, 4, 28, 1))}:host .color-picker-inline-items:hover{box-shadow:0 0 0 4px rgba(var(--v-ring-input-focus, 19, 98, 226, 0.25))}:host .color-picker-inline-items:focus-visible{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:0px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1));box-shadow:0px 0px 0px 1px rgba(var(--v-bg-primary, 252, 252, 252, 1)) inset;border:1px solid rgba(var(--v-bg-primary, 252, 252, 252, 1))}:host .checkmark-black{color:rgba(var(--v-text-black, 32, 54, 69, 1))}:host .checkmark-white{color:rgba(var(--v-text-white, 252, 252, 252, 1))}:host vega-text{padding-left:8px;padding-right:8px;padding-top:4px;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 .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 .color-picker-inline.error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host .vega-hidden{display:none}:host vega-flex{flex-wrap:wrap}';export{j as vega_color_picker}
@@ -0,0 +1 @@
1
+ import{C as e,a as t,b as a,W as r}from"./p-2b22091e.js";class n{static createCalendarPeriod(n,o="month",s,d=!0){const c=e.fromString(n,"MM/DD/YYYY",s);let i;switch(o){case"week":i=new r(c,d,s);break;case"day":i=new a(c,d,s);break;default:i=new t(c,d,s)}return i}static fromCalendarPeriodType(e,t,a=!0){const{currentPeriod:r,viewMode:o}=e,{year:s,month:d,startDate:c}=r;let i=`${d}/01/${s}`;return"day"!==o&&"week"!==o||(i=`${c.month}/${c.date}/${c.year}`),n.createCalendarPeriod(i,o,t,a)}static toCalendarPeriodType(e){const{current:t,startDate:a,endDate:r}=e;return{viewMode:e.type,currentPeriod:{year:t.year,month:t.month,startDate:{date:a.date,month:a.month,year:a.year},endDate:{date:r.date,month:r.month,year:r.year}}}}}export{n as I}
@@ -1 +1 @@
1
- import{h as t,r as e,c as i,H as n,g as s}from"./p-6b2342e0.js";import{s as a}from"./p-519a7d55.js";import{c as o,V as r,I as l}from"./p-6e1ab235.js";import{V as p,I as h}from"./p-8ce9e214.js";import{c as f}from"./p-d7790113.js";import{a as d,A as c}from"./p-fcefb62c.js";import{c as m}from"./p-3a620268.js";import{T as x}from"./p-0a1c7f80.js";import"./p-6a334573.js";import"./p-2d0d575f.js";import"./p-526e3634.js";import"./p-331a62d5.js";import"./p-528748fa.js";import"./p-46cab60a.js";import"./p-b75ee3ba.js";import"./p-eb927e2b.js";import"./p-cb378636.js";var g=function(t,e,i,n){var s,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};class b extends r{constructor(){super(...arguments),this.handleSuffixButtonClick=t=>{t.stopPropagation(),this.suffixButtonClickEventEmitter.emit()}}render(){if(this.suffixButtonConfig||this.suffixButtonProps){const{icon:e,text:i,size:n,minWidth:s,maxWidth:a,placement:o="right",alignment:r="start",trigger:l="hover"}=this.suffixButtonConfig||this.suffixButtonProps&&{icon:this.suffixButtonProps.icon,text:this.suffixButtonProps.tooltipText,trigger:this.suffixButtonProps.trigger};return t("div",{class:"label-suffix-button",role:"button",tabIndex:0,onClick:this.handleSuffixButtonClick,onKeyDown:m()},i?t("vega-tooltip",{trigger:l,text:i,size:n,minWidth:s,maxWidth:a,alignment:r,placement:o},this.renderSuffixButton(e)):this.renderSuffixButton(e))}}renderSuffixButton(e){return t("vega-button-circle",{size:"extra-small",variant:"icon-only",iconColor:"text-link",showTooltip:!1,icon:e})}}g([o()],b.prototype,"suffixButtonProps",void 0),g([o()],b.prototype,"suffixButtonConfig",void 0),g([o()],b.prototype,"suffixButtonClickEventEmitter",void 0);var u=function(t,e,i,n){var s,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};class v extends r{render(){return this.label&&t("span",{class:"aria-announcement"},this.generateAnnouncement())}generateAnnouncement(){let t=this.label;return this.isFieldRequired?t+=`, ${this.translationSlimmer.t("Required")}`:this.optional&&(t+=`, ${this.translationSlimmer.t("Optional")}`),this.disabled&&(t+=`, ${this.translationSlimmer.t("Disabled")}`),t}}u([o()],v.prototype,"label",void 0),u([o()],v.prototype,"isFieldRequired",void 0),u([o()],v.prototype,"optional",void 0),u([o()],v.prototype,"disabled",void 0),u([o()],v.prototype,"translationSlimmer",void 0);var w=function(t,e,i,n){var s,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const y=class{constructor(t){e(this,t),this.vegaClick=i(this,"vegaClick",7),this.vegaLabelButtonClick=i(this,"vegaLabelButtonClick",1),this.labelButtonClick=i(this,"labelButtonClick",1),this.globalSlimmers={},this.clickEventEmitter=f(y,d),this.suffixButtonClickEventEmitter=f(y,c),this.vegaComponentUsageRuntimeMetricsSlimmer=new p,this.suffixElementRenderer=new b,this.labelAnnouncementRenderer=new v,this.translationSlimmer=new x,this.suffixButtonProps=null,this.suffixButtonConfig=null,this.label="",this.isFieldRequired=!1,this.disabled=!1,this.optional=!1,this.handleClick=t=>{this.clickEventEmitter.emit(void 0,t)}}componentWillLoad(){""===this.label&&(this.label=this.host.textContent,this.host.textContent="")}render(){return a(t(n,{class:{hidden:""===this.label,disabled:this.disabled},onClick:this.handleClick},this.labelAnnouncementRenderer.render(),t("label",{"aria-hidden":"true",part:"container"},t("span",{class:"vega-field-label",part:"label"},this.label),!this.isFieldRequired&&this.optional&&t("span",{class:"optional"},"(",this.translationSlimmer.t("Optional"),")"),t("span",{class:{"vega-field-label-required":!0,hidden:!this.isFieldRequired}},"*")),this.suffixElementRenderer.render()),this.host)}get host(){return s(this)}};w([h()],y.prototype,"globalSlimmers",void 0),w([l()],y.prototype,"clickEventEmitter",void 0),w([l()],y.prototype,"suffixButtonClickEventEmitter",void 0),w([l()],y.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),w([l()],y.prototype,"suffixElementRenderer",void 0),w([l()],y.prototype,"labelAnnouncementRenderer",void 0),w([l()],y.prototype,"translationSlimmer",void 0),y.style=':host{display:inline-block}:host(.disabled){pointer-events:none}:host(.hidden){display:none}label:first-of-type{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;word-break:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){label:first-of-type{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){label:first-of-type{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){label:first-of-type{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.disabled)>label>span.vega-field-label{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}.vega-field-label-required{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px}.vega-field-label-required.hidden{display:none}.label-suffix-button{display:inline-block;margin-left:4px;vertical-align:top}.optional{margin-left:4px;font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.optional{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.optional{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.optional{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}.aria-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';export{y as vega_field_label}
1
+ import{h as t,r as e,c as i,H as n,g as s}from"./p-6b2342e0.js";import{s as a}from"./p-519a7d55.js";import{c as o,V as r,I as l}from"./p-6e1ab235.js";import{V as p,I as f}from"./p-8ce9e214.js";import{c as h}from"./p-ef44d516.js";import{a as d,B as c}from"./p-cb4033ef.js";import{c as m}from"./p-3a620268.js";import{T as x}from"./p-fea33425.js";import"./p-6a334573.js";import"./p-2d0d575f.js";import"./p-526e3634.js";import"./p-331a62d5.js";import"./p-528748fa.js";import"./p-53ed3b1f.js";import"./p-b75ee3ba.js";import"./p-ddc2d219.js";import"./p-cb378636.js";var g=function(t,e,i,n){var s,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};class b extends r{constructor(){super(...arguments),this.handleSuffixButtonClick=t=>{t.stopPropagation(),this.suffixButtonClickEventEmitter.emit()}}render(){if(this.suffixButtonConfig||this.suffixButtonProps){const{icon:e,text:i,size:n,minWidth:s,maxWidth:a,placement:o="right",alignment:r="start",trigger:l="hover"}=this.suffixButtonConfig||this.suffixButtonProps&&{icon:this.suffixButtonProps.icon,text:this.suffixButtonProps.tooltipText,trigger:this.suffixButtonProps.trigger};return t("div",{class:"label-suffix-button",role:"button",tabIndex:0,onClick:this.handleSuffixButtonClick,onKeyDown:m()},i?t("vega-tooltip",{trigger:l,text:i,size:n,minWidth:s,maxWidth:a,alignment:r,placement:o},this.renderSuffixButton(e)):this.renderSuffixButton(e))}}renderSuffixButton(e){return t("vega-button-circle",{size:"extra-small",variant:"icon-only",iconColor:"text-link",showTooltip:!1,icon:e})}}g([o()],b.prototype,"suffixButtonProps",void 0),g([o()],b.prototype,"suffixButtonConfig",void 0),g([o()],b.prototype,"suffixButtonClickEventEmitter",void 0);var u=function(t,e,i,n){var s,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};class v extends r{render(){return this.label&&t("span",{class:"aria-announcement"},this.generateAnnouncement())}generateAnnouncement(){let t=this.label;return this.isFieldRequired?t+=`, ${this.translationSlimmer.t("Required")}`:this.optional&&(t+=`, ${this.translationSlimmer.t("Optional")}`),this.disabled&&(t+=`, ${this.translationSlimmer.t("Disabled")}`),t}}u([o()],v.prototype,"label",void 0),u([o()],v.prototype,"isFieldRequired",void 0),u([o()],v.prototype,"optional",void 0),u([o()],v.prototype,"disabled",void 0),u([o()],v.prototype,"translationSlimmer",void 0);var w=function(t,e,i,n){var s,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,i,n);else for(var r=t.length-1;r>=0;r--)(s=t[r])&&(o=(a<3?s(o):a>3?s(e,i,o):s(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o};const y=class{constructor(t){e(this,t),this.vegaClick=i(this,"vegaClick",7),this.vegaLabelButtonClick=i(this,"vegaLabelButtonClick",1),this.labelButtonClick=i(this,"labelButtonClick",1),this.globalSlimmers={},this.clickEventEmitter=h(y,d),this.suffixButtonClickEventEmitter=h(y,c),this.vegaComponentUsageRuntimeMetricsSlimmer=new p,this.suffixElementRenderer=new b,this.labelAnnouncementRenderer=new v,this.translationSlimmer=new x,this.suffixButtonProps=null,this.suffixButtonConfig=null,this.label="",this.isFieldRequired=!1,this.disabled=!1,this.optional=!1,this.handleClick=t=>{this.clickEventEmitter.emit(void 0,t)}}componentWillLoad(){""===this.label&&(this.label=this.host.textContent,this.host.textContent="")}render(){return a(t(n,{class:{hidden:""===this.label,disabled:this.disabled},onClick:this.handleClick},this.labelAnnouncementRenderer.render(),t("label",{"aria-hidden":"true",part:"container"},t("span",{class:"vega-field-label",part:"label"},this.label),!this.isFieldRequired&&this.optional&&t("span",{class:"optional"},"(",this.translationSlimmer.t("Optional"),")"),t("span",{class:{"vega-field-label-required":!0,hidden:!this.isFieldRequired}},"*")),this.suffixElementRenderer.render()),this.host)}get host(){return s(this)}};w([f()],y.prototype,"globalSlimmers",void 0),w([l()],y.prototype,"clickEventEmitter",void 0),w([l()],y.prototype,"suffixButtonClickEventEmitter",void 0),w([l()],y.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),w([l()],y.prototype,"suffixElementRenderer",void 0),w([l()],y.prototype,"labelAnnouncementRenderer",void 0),w([l()],y.prototype,"translationSlimmer",void 0),y.style=':host{display:inline-block}:host(.disabled){pointer-events:none}:host(.hidden){display:none}label:first-of-type{color:rgba(var(--v-text-primary, 32, 54, 69, 1));font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;word-break:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){label:first-of-type{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){label:first-of-type{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){label:first-of-type{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.disabled)>label>span.vega-field-label{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}.vega-field-label-required{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px}.vega-field-label-required.hidden{display:none}.label-suffix-button{display:inline-block;margin-left:4px;vertical-align:top}.optional{margin-left:4px;font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.optional{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.optional{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.optional{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}.aria-announcement{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}';export{y as vega_field_label}
@@ -1 +1 @@
1
- import{g as t}from"./p-d27ae9ff.js";import{b as e}from"./p-d884c644.js";import{a as r,b as s}from"./p-0c667d6a.js";class i{constructor(t){this.context=t}}class n{constructor(t,e){this._groups=t,this._datum=e}select(t){const e=this._groups[0];if(!e)return new n([]);const r=e.querySelector(t);return new n(r?[r]:[])}selectAll(t){const e=this._groups[0];if(!e)return new n([]);const r=Array.from(e.querySelectorAll(t));return new n(r)}append(t){const e=[];for(const r of this._groups){let s;s="function"==typeof t?t():r.ownerDocument.createElementNS("http://www.w3.org/2000/svg",t),r.appendChild(s),e.push(s)}return new n(e,this._datum)}attr(...t){const e=t[0];if(1===t.length){const t=this._groups[0];return t?t.getAttribute(e):null}const r=t[1];for(let t=0;t<this._groups.length;t++){const s=this._groups[t],i="function"==typeof r?r.call(s,this._datum,t,this._groups):r;null==i?s.removeAttribute(e):s.setAttribute(e,String(i))}return this}property(t,e){for(const r of this._groups)r[t]=e;return this}text(t){for(const e of this._groups)e.textContent=t;return this}datum(t){return new n(this._groups,t)}call(t,...e){return t(this,...e),this}node(){return this._groups[0]||null}nodes(){return[...this._groups]}each(t){for(let e=0;e<this._groups.length;e++)t.call(this._groups[e],this._datum,e,this._groups);return this}remove(){var t;for(const e of this._groups)null===(t=e.parentNode)||void 0===t||t.removeChild(e);return this}clone(){var t;const e=[];for(const r of this._groups){const s=r.cloneNode(!1);null===(t=r.parentNode)||void 0===t||t.insertBefore(s,r.nextSibling),e.push(s)}return new n(e,this._datum)}transition(t){return this}duration(t){return this}}function a(t){return new n([t])}function o(t){const e=t.split(":"),r=document.createElementNS("http://www.w3.org/2000/svg",e.length>1?e[1]:e[0]);return new n([r])}class c{constructor(){this.xAccessor=t=>{var e;return null!==(e=t.x)&&void 0!==e?e:t[0]},this.yAccessor=t=>{var e;return null!==(e=t.y)&&void 0!==e?e:t[1]}}x(t){return this.xAccessor=t,this}y(t){return this.yAccessor=t,this}generate(t){if(!t||0===t.length)return"";const e=[];for(let r=0;r<t.length;r++){const s=this.xAccessor(t[r],r),i=this.yAccessor(t[r],r);e.push(0===r?`M${s},${i}`:`L${s},${i}`)}return e.join("")}}function h(){const t=new c,e=e=>t.generate(e);return e.x=r=>(t.x(r),e),e.y=r=>(t.y(r),e),e.generate=e=>t.generate(e),e}class g{constructor(){this.innerRadiusValue=0,this.outerRadiusValue=0}innerRadius(t){return this.innerRadiusValue=t,this}outerRadius(t){return this.outerRadiusValue=t,this}generate(t){const e=t.startAngle-Math.PI/2,r=t.endAngle-Math.PI/2,s=this.innerRadiusValue,i=this.outerRadiusValue,n=Math.abs(r-e)>=Math.PI?1:0,a=i*Math.cos(e),o=i*Math.sin(e),c=i*Math.cos(r),h=i*Math.sin(r);return s>0?[`M${a},${o}`,`A${i},${i},0,${n},1,${c},${h}`,`L${s*Math.cos(r)},${s*Math.sin(r)}`,`A${s},${s},0,${n},0,${s*Math.cos(e)},${s*Math.sin(e)}`,"Z"].join(""):[`M${a},${o}`,`A${i},${i},0,${n},1,${c},${h}`,"L0,0","Z"].join("")}}function d(){const t=new g,e=e=>t.generate(e);return e.innerRadius=r=>(t.innerRadius(r),e),e.outerRadius=r=>(t.outerRadius(r),e),e.generate=e=>t.generate(e),e}class l{constructor(){this.valueAccessor=t=>{var e;return null!==(e=t.value)&&void 0!==e?e:0}}value(t){return this.valueAccessor=t,this}generate(t){const e=t.map((t=>this.valueAccessor(t))),r=e.reduce(((t,e)=>t+e),0),s=t.length,i=Array.from({length:s},((t,e)=>e));i.sort(((t,r)=>e[r]-e[t]));const n=new Array(s);let a=0;for(const s of i){const i=r>0?e[s]/r*2*Math.PI:0;n[s]={data:t[s],index:s,value:e[s],startAngle:a,endAngle:a+i,padAngle:0},a+=i}return n}}function u(){const t=new l,e=e=>t.generate(e);return e.value=r=>(t.value(r),e),e.generate=e=>t.generate(e),e}class b{constructor(t,e){this._tickCount=10,this._tickFormatter=null,this._scale=t,this._orientation=e}setTickCount(t){this._tickCount=t}setTickFormatter(t){this._tickFormatter=t}render(t){const e=t.node();if(!e)return;const r=e.ownerDocument,s=this.getTickValues(),i=this.getFormatter(),n="function"==typeof this._scale.bandwidth?Math.max(0,this._scale.bandwidth()-1)/2:0,a=this._scale.range(),o=+a[0]+.5,c=+a[a.length-1]+.5,h=r.createElementNS("http://www.w3.org/2000/svg","path");h.setAttribute("class","domain"),h.setAttribute("stroke","currentColor"),h.setAttribute("d","bottom"===this._orientation?`M${o},6V0.5H${c}V6`:`M-6,${o}H0.5V${c}H-6`),e.appendChild(h);for(const t of s){const s=this._scale(t);if(void 0===s)continue;const a=s+n+.5,o=r.createElementNS("http://www.w3.org/2000/svg","g");o.setAttribute("class","tick"),o.setAttribute("opacity","1");const c=r.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("stroke","currentColor");const h=r.createElementNS("http://www.w3.org/2000/svg","text");h.setAttribute("fill","currentColor"),h.textContent=i(t);const g="bottom"===this._orientation?"0.71em":"0.32em";"bottom"===this._orientation?(o.setAttribute("transform",`translate(${a},0)`),c.setAttribute("y2","6"),h.setAttribute("y","9"),h.setAttribute("dy",g)):(o.setAttribute("transform",`translate(0,${a})`),c.setAttribute("x2","-6"),h.setAttribute("x","-9"),h.setAttribute("dy",g)),o.appendChild(c),o.appendChild(h),e.appendChild(o)}e.setAttribute("fill","none"),e.setAttribute("font-size","10"),e.setAttribute("font-family","sans-serif"),e.setAttribute("text-anchor","bottom"===this._orientation?"middle":"end")}getTickValues(){return this._scale.ticks?this._scale.ticks(this._tickCount):this._scale.domain?this._scale.domain():[]}getFormatter(){return this._tickFormatter?this._tickFormatter:this._scale.tickFormat?this._scale.tickFormat(this._tickCount):t=>String(t)}}class F extends i{setLayout(t,e,r,s){a(this.context).attr("width",t).attr("height",e).attr("viewBox",[0,0,t,e]).property("style","display:block;max-width:100%;height:auto;").call((t=>{t.append("g").attr("class","vega-chart-draw-g").attr("transform",`translate(${s},${r})`)})).call((t=>{t.append("g").attr("class","vega-chart-legend-g").attr("transform",`translate(${s/3},${r/4})`)}))}drawLine(t,e,r){a(this.context).select(".vega-chart-draw-g").append("line").attr("x1",t.x).attr("y1",t.y).attr("x2",e.x).attr("y2",e.y).attr("stroke",r)}drawXAxis(t,e,r){const{scale:s,end:i,labelFormatter:n,direction:o,height:c}=t;let h=function(t){const e=new b(t,"bottom"),r=Object.assign((t=>{e.render(t)}),{ticks:t=>(e.setTickCount(t),r),tickFormat:t=>(e.setTickFormatter(t),r)});return r}(s);n&&(h=h.tickFormat(n)),a(this.context).select(".vega-chart-draw-g").append("g").attr("class","vega-chart-x-axis").attr("transform",`translate(0, ${i.y})`).call(h).call((t=>{t.select(".domain").attr("stroke-width",2).attr("stroke",e)})).call((t=>{t.selectAll("line").attr("stroke",e),t.selectAll("text").property("style",r)})).call((t=>{"horizontal"===o&&(t.selectAll("line").clone().attr("y2",""+-c),t.select(".domain").attr("stroke-width",0))}))}drawYAxis(t,e,r){const{scale:s,labelFormatter:i,width:n,tickSize:o,direction:c}=t;let h=function(t){const e=new b(t,"left"),r=Object.assign((t=>{e.render(t)}),{ticks:t=>(e.setTickCount(t),r),tickFormat:t=>(e.setTickFormatter(t),r)});return r}(s).ticks(o);i&&(h=h.tickFormat(i)),a(this.context).select(".vega-chart-draw-g").append("g").attr("class","vega-chart-y-axis").call(h).call((t=>{t.select(".domain").attr("stroke-width",0).attr("stroke",e)})).call((t=>{t.selectAll("line").attr("stroke-width",2).attr("stroke",e),t.selectAll("text").property("style",r)})).call((t=>{"horizontal"!==c?t.selectAll("line").clone().attr("x2",`${n}`):t.select(".domain").attr("stroke-width",2).attr("stroke",e)}))}drawCircle(t,e,r,s,i){a(this.context).select(".vega-chart-draw-g").append((()=>this.getCircleNode(t,e,r,s,i)))}drawText(t,e,r,s,i){a(this.context).select(".vega-chart-draw-g").append((()=>this.getTextNode(t,e,r,s,i)))}drawLegend(t,e,r,s){return a(this.context).select(".vega-chart-legend-g").append("g").attr("class","vega-chart-legend-item").attr("data-legend",e).attr("transform",`translate(${t.x},${t.y})`).call((t=>{t.append((()=>this.getCircleNode({x:-4,y:-4},4,r))),t.append((()=>this.getTextNode({x:8,y:0},e,s)))})).node()}drawRect(t,e,r,s){a(this.context).select(".vega-chart-draw-g").append("rect").attr("fill",s).attr("x",t.x).attr("y",t.y).attr("width",e).attr("height",r)}drawLinePath(t,e){a(this.context).select(".vega-chart-draw-g").append("path").attr("class","vega-chart-line-path").datum(t).attr("fill","none").attr("stroke",e).attr("stroke-width",3).attr("stroke-linecap","round").attr("stroke-linejoin","round").attr("d",h().x((t=>t.x)).y((t=>t.y)))}drawArcPath(t,e,r,s,i){return a(this.context).select(".vega-chart-draw-g").append("path").datum(e).attr("class","vega-chart-arc-path").attr("data-name",(t=>t.data.name)).attr("transform",`translate(${t.x},${t.y})`).attr("fill",r).attr("stroke-width",0).attr("d",d().innerRadius(i).outerRadius(s)).attr("data-d",d().innerRadius(i).outerRadius(s+10)).node()}clear(){a(this.context).selectAll(".vega-chart-draw-g").remove(),a(this.context).selectAll(".vega-chart-legend-g").remove()}getTextNode(t,e,r,s="start",i=0){return o("svg:text").property("style",r).attr("x",t.x).attr("y",t.y).attr("text-anchor",s).attr("rotate",i).text(e).node()}getCircleNode(t,e,r,s,i){return o("svg:circle").attr("r",e).attr("cx",t.x).attr("cy",t.y).attr("fill",r).attr("stroke-width",s||0).attr("stroke",i).node()}}class w extends i{setLayout(t,e){this.context.width=t,this.context.height=e,this.context.style.display="block",this.initCanvasContext2d()}drawLine(t,e){const r=this.getContext2d();r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(e.x,e.y),r.closePath()}drawXAxis(t){this.drawLine(t.start,t.end)}drawYAxis(t){this.drawLine(t.start,t.end)}drawCircle(t,e,r,s,i){const n=this.getContext2d();s&&i&&(n.fillStyle=i,n.beginPath(),n.arc(t.x,t.y,e,0,2*Math.PI),n.fill()),n.fillStyle=r,n.beginPath(),n.arc(t.x,t.y,e-(s||0),0,2*Math.PI),n.fill()}drawLegend(t,e,r){return this.drawCircle(t,4,r),this.drawText(t,e),this.context}drawText(t,e){this.getContext2d().fillText(e,t.x,t.y)}drawRect(t,e,r,s){const i=this.getContext2d();i.fillStyle=s,i.fillRect(t.x,t.y,e,r)}drawLinePath(t,e){const r=o("svg:path").datum(t).attr("d",h().x((t=>t.x)).y((t=>t.y))).node(),s=new Path2D(r.getAttribute("d")),i=this.getContext2d();i.lineWidth=3,i.strokeStyle=e,i.stroke(s)}drawArcPath(t,e,r,s,i){const n=this.getContext2d();return n.beginPath(),n.moveTo(t.x,t.y),n.arc(t.x,t.y,s,e.startAngle,e.endAngle),n.fillStyle=r,n.fill(),i&&this.drawCircle(t,i,"#F0F3F7"),this.context}clear(){this.getContext2d().clearRect(0,0,this.context.width,this.context.height)}initCanvasContext2d(){this.canvasContext2d=this.context.getContext("2d")}getContext2d(){return this.canvasContext2d||this.initCanvasContext2d(),this.canvasContext2d}}const v={width:void 0,height:void 0,margin:{top:30,right:30,bottom:30,left:30}};class y{constructor(t){this.container=t}setContainerWidthAndHeight(t){const{width:e,height:s}=t;void 0!==e&&(this.container.style.width=r(e)),void 0!==s&&(this.container.style.height=r(s))}getContainerClientWidth(t){return this.container.clientWidth||s((null==t?void 0:t.width)||this.container.style.width)}getContainerClientHeight(t){return this.container.clientHeight||s((null==t?void 0:t.height)||this.container.style.height)}getContainerInnerWidth(t){const e=this.getContainerClientWidth(t),{left:r,right:s}=(null==t?void 0:t.margin)||v.margin;return e?e-s-r:0}getContainerInnerHeight(t){const e=this.getContainerClientHeight(t),{top:r,bottom:s}=(null==t?void 0:t.margin)||v.margin;return e?e-r-s:0}mergeLayout(t,e,r){return{width:e&&e.width?e.width:v.width,height:e&&e.height?e.height:v.height,margin:Object.assign({},v.margin,{top:r?60:v.margin.top,left:"VEGA-LINE-CHART"===t||"VEGA-BAR-CHART"===t?60:v.margin.left},e&&e.margin?e.margin:{})}}}class p{constructor(t){this.context=t,this.interactingEntryForEventRegistry=new Map,this.interactingEntryForDrawerRegistry=new WeakMap}register(t,e,r){const s=r.eventType;this.interactingEntryForEventRegistry.get(s)||this.interactingEntryForEventRegistry.set(s,[]),this.interactingEntryForEventRegistry.get(s).push(r),this.interactingEntryForDrawerRegistry.get(t)||this.interactingEntryForDrawerRegistry.set(t,new WeakMap),this.interactingEntryForDrawerRegistry.get(t).get(e)||this.interactingEntryForDrawerRegistry.get(t).set(e,[]),this.interactingEntryForDrawerRegistry.get(t).get(e).push(r)}unregisterByDrawer(t){const e=t.drawPiece;e&&this.interactingEntryForDrawerRegistry.has(t)&&this.interactingEntryForDrawerRegistry.get(t)&&this.interactingEntryForDrawerRegistry.get(t).has(e)&&this.interactingEntryForDrawerRegistry.get(t).get(e)&&this.interactingEntryForEventRegistry.forEach(((r,s)=>{this.interactingEntryForEventRegistry.set(s,r.filter((r=>this.interactingEntryForDrawerRegistry.get(t).get(e).indexOf(r)<0)))})),this.interactingEntryForDrawerRegistry.delete(t)}callRegistry(t,e){const r=this.interactingEntryForEventRegistry.get(t);r&&r.forEach((t=>{t.shouldHandle(e)&&t.handle(e)}))}}class f extends p{}class m extends p{constructor(t){super(t),this.addContextListener()}addContextListener(){this.context.addEventListener("click",(t=>{this.callRegistry("click",t)})),this.context.addEventListener("mouseover",(t=>{this.callRegistry("mouseover",t)}))}}class C{constructor(t){this.options=t,this.isLayoutSet=!1,this.drawers=[];const e=class{static get(t,e){if("canvas"===t){const t=e.querySelector("canvas");let r;return t?r=t:(r=document.createElement("canvas"),r=e.appendChild(r)),r}{const t=e.querySelector("svg");let r;return t?r=t:(r=document.createElementNS("http://www.w3.org/2000/svg","svg"),r=e.appendChild(r)),r}}}.get(t.mode,t.container.shadowRoot?t.container.shadowRoot:t.container);this.dimensionController=new y(t.container),this.renderer=class{static get(t){if(t instanceof SVGElement)return new F(t);if(t instanceof HTMLCanvasElement)return new w(t);throw new Error("Invalid context")}}.get(e),this.interactor=class{static get(t){if(t instanceof SVGElement)return new m(t);if(t instanceof HTMLCanvasElement)return new f(t);throw new Error("Invalid context")}}.get(e),this.initLayoutOptions(t)}clear(){this.renderer.clear()}updateOptions(t){this.initLayoutOptions(t),this.isLayoutSet=!1,this.render()}reRender(){this.updateOptions(this.options)}render(){this.unregisterByDrawer(),this.drawers=this.createDrawerChain(this.renderer,this.interactor),this.clear(),this.isLayoutSet||(this.setLayout(),this.isLayoutSet=!0),this.drawers.forEach((t=>t.execute()))}setLayout(){const t=this.options.layout,e=this.dimensionController.getContainerClientWidth(t),r=this.dimensionController.getContainerClientHeight(t),s=(null==t?void 0:t.margin)||v.margin;this.renderer.setLayout(e,r,s.top,s.left)}initLayoutOptions(t){const e=this.dimensionController.mergeLayout(t.container.tagName,t.layout,!(!t.legends||!t.legends.length));this.options=Object.assign(t,{layout:e}),this.dimensionController.setContainerWidthAndHeight(e),this.options.container.style.display="block"}unregisterByDrawer(){this.drawers&&this.drawers.forEach((t=>{this.interactor.unregisterByDrawer(t)}))}}const E={"bg-brand":"#33393D","bg-page":"#F0F3F7","bg-primary":"#FCFCFC","bg-secondary":"#F5F7F7","bg-tertiary":"#F0F3F7","bg-quaternary":"#F1F8FB","bg-inverted-primary":"#04041C","bg-inverted-secondary":"#121227","bg-inverted-tertiary":"#181830","bg-inverted-quaternary":"#464765","bg-action":"#1362E2","bg-action-hover":"#0470EC","bg-action-focus":"#1362E2","bg-action-active":"#1D41C3","bg-action-quaternary":"#DEE1E3","bg-action-quaternary-hover":"#EFEFEF","bg-action-quaternary-active":"#CDD1D3","bg-action-secondary":"#FCFCFC","bg-action-secondary-hover":"#0470EC","bg-action-secondary-active":"#1D41C3","bg-action-tertiary":"#000000","bg-action-tertiary-hover":"#04041C","bg-action-tertiary-active":"#04041C","bg-app-header":"#F0F3F7","bg-backdrop-modal":"#121227","bg-backdrop-popover":"#203645","bg-backdrop-sidebar":"#121227","bg-chip":"#203645","bg-chip-hover":"#203645","bg-chip-active":"#203645","bg-danger":"#BD2947","bg-danger-hover":"#E94768","bg-danger-focus":"#BD2947","bg-danger-active":"#E63257","bg-danger-tertiary":"#000000","bg-danger-tertiary-hover":"#FF5772","bg-danger-tertiary-active":"#BD2947","bg-disabled":"#B0B4B5","bg-divider":"#ABC6D8","bg-divider-secondary":"#C7D9E5","bg-keypad-btn-active":"#E5EFFF","bg-loading-progress":"#99C0FF","bg-loading-track":"#E5EFFF","bg-segment-hover":"#CDD1D3","bg-segment-control":"#596063","bg-selected":"#0097FF","bg-sidebar":"#121227","bg-sidebar-icon":"#BCBAD5","bg-sidebar-icon-hover":"#121227","bg-sidebar-icon-selected":"#FCFCFC","bg-sidebar-item-hover":"#FCFCFC","bg-sidebar-item-selected":"#1362E2","bg-site-footer":"#33393D","bg-site-footer-action":"#ABC6D8","bg-site-footer-action-hover":"#C7D9E5","bg-site-footer-action-active":"#8FB3CB","bg-site-footer-field":"#596063","bg-slider-handle":"#FCFCFC","bg-status-error":"#FF6E8B","bg-status-info":"#CDD1D3","bg-status-success":"#A0E9A7","bg-status-warning":"#FFDC83","bg-tab":"#F0F3F7","bg-tab-hover":"#F5F7F7","bg-tab-selected":"#203645","bg-table-alt-row":"#F5F7F7","bg-table-header":"#F0F3F7","bg-table-row-hover":"#F1F8FB","bg-table-row-selected-expanded":"#E5EFFF","bg-table-selected-row":"#CCDFFF","bg-textarea-count":"#04041C","bg-tile":"#FCFCFC","bg-tile-hover":"#F5F7F7","bg-tile-selected":"#F2F7FF","bg-tile-selected-hover":"#E5EFFF","bg-toggle-switch":"#6B747D","bg-toggle-switch-hover":"#6B747D","bg-toggle-switch-selected-disabled":"#99C0FF","bg-transparent":"#000000","bg-accent1-primary":"#73E6DC","bg-accent1-secondary":"#C1F4EF","bg-accent1-tertiary":"#E0F9F7","bg-accent2-primary":"#806BFF","bg-accent2-secondary":"#C7BDFF","bg-accent2-tertiary":"#E3DEFF","bg-accent3-primary":"#FFDC83","bg-accent3-secondary":"#FFEFC8","bg-accent3-tertiary":"#FFF7E3","bg-accent4-primary":"#FF9571","bg-accent4-secondary":"#FFD0C0","bg-accent4-tertiary":"#FFE7DF","bg-accent5-primary":"#00BBFF","bg-accent5-secondary":"#8EDFF9","bg-accent5-tertiary":"#E3F7FD","bg-accent6-primary":"#FF82C9","bg-accent6-secondary":"#FFC7E7","bg-accent6-tertiary":"#FFE3F3","bg-accent7-primary":"#259F9F","bg-accent7-secondary":"#9BD4D6","bg-accent7-tertiary":"#D0EFEF","bg-accent8-primary":"#563D82","bg-accent8-secondary":"#C7A2CC","bg-accent8-tertiary":"#E6D6EA","bg-accent9-primary":"#FFBF3F","bg-accent9-secondary":"#FED78E","bg-accent9-tertiary":"#FBE2B9","bg-accent10-primary":"#ED7A23","bg-accent10-secondary":"#F19255","bg-accent10-tertiary":"#F5BB94","bg-date-picker-range":"#E5EFFF"},x=["bg-accent1-primary","bg-accent2-primary","bg-accent3-primary","bg-accent4-primary","bg-accent5-primary","bg-accent6-primary","bg-accent7-primary","bg-accent8-primary","bg-accent9-primary","bg-accent10-primary"],k=Object.keys(e).reduce(((t,r)=>(t[r]='font-family:"Inter", sans-serif;'+e[r].filter((t=>t.indexOf("@apply")<0)).join(";"),t)),{"v-text-secondary":"color:rgba(107, 116, 125, 1);"});class D{constructor(t,e,r){this.renderer=t,this.interactor=e,this.options=r}execute(){const t=this.draw();this.drawPiece=t,this.addInteractionSupport(t)}getColorByIndex(t,e){return(e=e&&e.length?e:x)[t%=e.length]}getColorFromToken(t){return E[t]}getStyleTextFromToken(t){return t.split(" ").map((t=>k[t])).join(";")}}class ${generate(t){return{eventType:this.eventType,shouldHandle:this.createShouldHandle(t),handle:this.createHandle(t)}}}class B extends ${constructor(){super(...arguments),this.eventType="mouseover"}createShouldHandle(){return this.shouldHandle}createHandle(t){return e=>{this.handle(e,t)}}shouldHandle(t){var e;const r=t.target,s=t.currentTarget;return"VEGA-PIE-CHART"===(s.parentElement&&11!==s.parentElement.nodeType?s.parentElement:s.parentNode.host).tagName&&(r.classList.contains("vega-chart-legend-item")||!!(null===(e=r.parentElement)||void 0===e?void 0:e.classList.contains("vega-chart-legend-item")))}handle(t,e){var r;const s=a(t.currentTarget),i=t.target,n="text"===i.tagName?i:"circle"===i.tagName?i.nextElementSibling:i.querySelector("text"),o=n?n.textContent:"",c=o?e.data.indexOf(o):0;null===(r=s.selectAll("path.vega-chart-arc-path").nodes()[c])||void 0===r||r.dispatchEvent(new MouseEvent("mouseover",{bubbles:!0}))}}class A extends D{constructor(){super(...arguments),this.pieLegendHoverGenerator=new B}addInteractionSupport(t){var e;(null===(e=this.options.renderOptions.data)||void 0===e?void 0:e.length)&&this.interactor.register(this,t,this.pieLegendHoverGenerator.generate(this.options.renderOptions))}draw(){const{data:e=[],colors:r,position:s,width:i}=this.options.renderOptions,n=this.getChartLegendOptions(e,r,s);if(n){const r=t(e);return n.legends.map(((t,e)=>{const s=this.getLegendPosition(n.position,e,r,i);return this.renderer.drawLegend(s,t.field,t.color,this.getStyleTextFromToken("v-font-footnote2-short"))}))}}getChartLegendOptions(t,e,r){if(t&&t.length)return{position:r=r?Object.assign({x:10,y:0},r):{x:10,y:0},legends:t.map(((t,r)=>({field:t,color:this.getColorFromToken(this.getColorByIndex(r,e)),icon:""})))}}getLegendPosition(t,e,r,s){if(s){const i=7*r+24,n=18,a=Math.max(Number(((s-t.x)/i).toFixed(0)),1),o=parseInt((e/a).toString());return{x:t.x+i*(e%a),y:t.y+o*n}}return{x:0,y:0}}}class M{process(t){const{container:e,layout:r}=t,{top:s,right:i,bottom:n,left:a}=(null==r?void 0:r.margin)||v.margin,o=new y(e);return{width:o.getContainerClientWidth(r),height:o.getContainerClientHeight(r),innerWidth:o.getContainerInnerWidth(r),innerHeight:o.getContainerInnerHeight(r),top:s,right:i,bottom:n,left:a}}}class L{constructor(t){this.processors=t}process(t){let e;for(const r of this.processors)e=r.process(t,e);return e}}class H{process(t,e){const{colors:r,legends:s=[]}=t,{width:i,height:n}=e;return{data:s,colors:r,position:{x:10,y:10},width:i,height:n}}}export{D as B,$ as I,M as L,L as P,C as a,H as b,A as c,u as p,a as s}
1
+ import{g as t}from"./p-d27ae9ff.js";import{b as e}from"./p-b438e68b.js";import{a as r,b as s}from"./p-0c667d6a.js";class i{constructor(t){this.context=t}}class n{constructor(t,e){this._groups=t,this._datum=e}select(t){const e=this._groups[0];if(!e)return new n([]);const r=e.querySelector(t);return new n(r?[r]:[])}selectAll(t){const e=this._groups[0];if(!e)return new n([]);const r=Array.from(e.querySelectorAll(t));return new n(r)}append(t){const e=[];for(const r of this._groups){let s;s="function"==typeof t?t():r.ownerDocument.createElementNS("http://www.w3.org/2000/svg",t),r.appendChild(s),e.push(s)}return new n(e,this._datum)}attr(...t){const e=t[0];if(1===t.length){const t=this._groups[0];return t?t.getAttribute(e):null}const r=t[1];for(let t=0;t<this._groups.length;t++){const s=this._groups[t],i="function"==typeof r?r.call(s,this._datum,t,this._groups):r;null==i?s.removeAttribute(e):s.setAttribute(e,String(i))}return this}property(t,e){for(const r of this._groups)r[t]=e;return this}text(t){for(const e of this._groups)e.textContent=t;return this}datum(t){return new n(this._groups,t)}call(t,...e){return t(this,...e),this}node(){return this._groups[0]||null}nodes(){return[...this._groups]}each(t){for(let e=0;e<this._groups.length;e++)t.call(this._groups[e],this._datum,e,this._groups);return this}remove(){var t;for(const e of this._groups)null===(t=e.parentNode)||void 0===t||t.removeChild(e);return this}clone(){var t;const e=[];for(const r of this._groups){const s=r.cloneNode(!1);null===(t=r.parentNode)||void 0===t||t.insertBefore(s,r.nextSibling),e.push(s)}return new n(e,this._datum)}transition(t){return this}duration(t){return this}}function a(t){return new n([t])}function o(t){const e=t.split(":"),r=document.createElementNS("http://www.w3.org/2000/svg",e.length>1?e[1]:e[0]);return new n([r])}class c{constructor(){this.xAccessor=t=>{var e;return null!==(e=t.x)&&void 0!==e?e:t[0]},this.yAccessor=t=>{var e;return null!==(e=t.y)&&void 0!==e?e:t[1]}}x(t){return this.xAccessor=t,this}y(t){return this.yAccessor=t,this}generate(t){if(!t||0===t.length)return"";const e=[];for(let r=0;r<t.length;r++){const s=this.xAccessor(t[r],r),i=this.yAccessor(t[r],r);e.push(0===r?`M${s},${i}`:`L${s},${i}`)}return e.join("")}}function h(){const t=new c,e=e=>t.generate(e);return e.x=r=>(t.x(r),e),e.y=r=>(t.y(r),e),e.generate=e=>t.generate(e),e}class g{constructor(){this.innerRadiusValue=0,this.outerRadiusValue=0}innerRadius(t){return this.innerRadiusValue=t,this}outerRadius(t){return this.outerRadiusValue=t,this}generate(t){const e=t.startAngle-Math.PI/2,r=t.endAngle-Math.PI/2,s=this.innerRadiusValue,i=this.outerRadiusValue,n=Math.abs(r-e)>=Math.PI?1:0,a=i*Math.cos(e),o=i*Math.sin(e),c=i*Math.cos(r),h=i*Math.sin(r);return s>0?[`M${a},${o}`,`A${i},${i},0,${n},1,${c},${h}`,`L${s*Math.cos(r)},${s*Math.sin(r)}`,`A${s},${s},0,${n},0,${s*Math.cos(e)},${s*Math.sin(e)}`,"Z"].join(""):[`M${a},${o}`,`A${i},${i},0,${n},1,${c},${h}`,"L0,0","Z"].join("")}}function d(){const t=new g,e=e=>t.generate(e);return e.innerRadius=r=>(t.innerRadius(r),e),e.outerRadius=r=>(t.outerRadius(r),e),e.generate=e=>t.generate(e),e}class l{constructor(){this.valueAccessor=t=>{var e;return null!==(e=t.value)&&void 0!==e?e:0}}value(t){return this.valueAccessor=t,this}generate(t){const e=t.map((t=>this.valueAccessor(t))),r=e.reduce(((t,e)=>t+e),0),s=t.length,i=Array.from({length:s},((t,e)=>e));i.sort(((t,r)=>e[r]-e[t]));const n=new Array(s);let a=0;for(const s of i){const i=r>0?e[s]/r*2*Math.PI:0;n[s]={data:t[s],index:s,value:e[s],startAngle:a,endAngle:a+i,padAngle:0},a+=i}return n}}function b(){const t=new l,e=e=>t.generate(e);return e.value=r=>(t.value(r),e),e.generate=e=>t.generate(e),e}class u{constructor(t,e){this._tickCount=10,this._tickFormatter=null,this._scale=t,this._orientation=e}setTickCount(t){this._tickCount=t}setTickFormatter(t){this._tickFormatter=t}render(t){const e=t.node();if(!e)return;const r=e.ownerDocument,s=this.getTickValues(),i=this.getFormatter(),n="function"==typeof this._scale.bandwidth?Math.max(0,this._scale.bandwidth()-1)/2:0,a=this._scale.range(),o=+a[0]+.5,c=+a[a.length-1]+.5,h=r.createElementNS("http://www.w3.org/2000/svg","path");h.setAttribute("class","domain"),h.setAttribute("stroke","currentColor"),h.setAttribute("d","bottom"===this._orientation?`M${o},6V0.5H${c}V6`:`M-6,${o}H0.5V${c}H-6`),e.appendChild(h);for(const t of s){const s=this._scale(t);if(void 0===s)continue;const a=s+n+.5,o=r.createElementNS("http://www.w3.org/2000/svg","g");o.setAttribute("class","tick"),o.setAttribute("opacity","1");const c=r.createElementNS("http://www.w3.org/2000/svg","line");c.setAttribute("stroke","currentColor");const h=r.createElementNS("http://www.w3.org/2000/svg","text");h.setAttribute("fill","currentColor"),h.textContent=i(t);const g="bottom"===this._orientation?"0.71em":"0.32em";"bottom"===this._orientation?(o.setAttribute("transform",`translate(${a},0)`),c.setAttribute("y2","6"),h.setAttribute("y","9"),h.setAttribute("dy",g)):(o.setAttribute("transform",`translate(0,${a})`),c.setAttribute("x2","-6"),h.setAttribute("x","-9"),h.setAttribute("dy",g)),o.appendChild(c),o.appendChild(h),e.appendChild(o)}e.setAttribute("fill","none"),e.setAttribute("font-size","10"),e.setAttribute("font-family","sans-serif"),e.setAttribute("text-anchor","bottom"===this._orientation?"middle":"end")}getTickValues(){return this._scale.ticks?this._scale.ticks(this._tickCount):this._scale.domain?this._scale.domain():[]}getFormatter(){return this._tickFormatter?this._tickFormatter:this._scale.tickFormat?this._scale.tickFormat(this._tickCount):t=>String(t)}}class F extends i{setLayout(t,e,r,s){a(this.context).attr("width",t).attr("height",e).attr("viewBox",[0,0,t,e]).property("style","display:block;max-width:100%;height:auto;").call((t=>{t.append("g").attr("class","vega-chart-draw-g").attr("transform",`translate(${s},${r})`)})).call((t=>{t.append("g").attr("class","vega-chart-legend-g").attr("transform",`translate(${s/3},${r/4})`)}))}drawLine(t,e,r){a(this.context).select(".vega-chart-draw-g").append("line").attr("x1",t.x).attr("y1",t.y).attr("x2",e.x).attr("y2",e.y).attr("stroke",r)}drawXAxis(t,e,r){const{scale:s,end:i,labelFormatter:n,direction:o,height:c}=t;let h=function(t){const e=new u(t,"bottom"),r=Object.assign((t=>{e.render(t)}),{ticks:t=>(e.setTickCount(t),r),tickFormat:t=>(e.setTickFormatter(t),r)});return r}(s);n&&(h=h.tickFormat(n)),a(this.context).select(".vega-chart-draw-g").append("g").attr("class","vega-chart-x-axis").attr("transform",`translate(0, ${i.y})`).call(h).call((t=>{t.select(".domain").attr("stroke-width",2).attr("stroke",e)})).call((t=>{t.selectAll("line").attr("stroke",e),t.selectAll("text").property("style",r)})).call((t=>{"horizontal"===o&&(t.selectAll("line").clone().attr("y2",""+-c),t.select(".domain").attr("stroke-width",0))}))}drawYAxis(t,e,r){const{scale:s,labelFormatter:i,width:n,tickSize:o,direction:c}=t;let h=function(t){const e=new u(t,"left"),r=Object.assign((t=>{e.render(t)}),{ticks:t=>(e.setTickCount(t),r),tickFormat:t=>(e.setTickFormatter(t),r)});return r}(s).ticks(o);i&&(h=h.tickFormat(i)),a(this.context).select(".vega-chart-draw-g").append("g").attr("class","vega-chart-y-axis").call(h).call((t=>{t.select(".domain").attr("stroke-width",0).attr("stroke",e)})).call((t=>{t.selectAll("line").attr("stroke-width",2).attr("stroke",e),t.selectAll("text").property("style",r)})).call((t=>{"horizontal"!==c?t.selectAll("line").clone().attr("x2",`${n}`):t.select(".domain").attr("stroke-width",2).attr("stroke",e)}))}drawCircle(t,e,r,s,i){a(this.context).select(".vega-chart-draw-g").append((()=>this.getCircleNode(t,e,r,s,i)))}drawText(t,e,r,s,i){a(this.context).select(".vega-chart-draw-g").append((()=>this.getTextNode(t,e,r,s,i)))}drawLegend(t,e,r,s){return a(this.context).select(".vega-chart-legend-g").append("g").attr("class","vega-chart-legend-item").attr("data-legend",e).attr("transform",`translate(${t.x},${t.y})`).call((t=>{t.append((()=>this.getCircleNode({x:-4,y:-4},4,r))),t.append((()=>this.getTextNode({x:8,y:0},e,s)))})).node()}drawRect(t,e,r,s){a(this.context).select(".vega-chart-draw-g").append("rect").attr("fill",s).attr("x",t.x).attr("y",t.y).attr("width",e).attr("height",r)}drawLinePath(t,e){a(this.context).select(".vega-chart-draw-g").append("path").attr("class","vega-chart-line-path").datum(t).attr("fill","none").attr("stroke",e).attr("stroke-width",3).attr("stroke-linecap","round").attr("stroke-linejoin","round").attr("d",h().x((t=>t.x)).y((t=>t.y)))}drawArcPath(t,e,r,s,i){return a(this.context).select(".vega-chart-draw-g").append("path").datum(e).attr("class","vega-chart-arc-path").attr("data-name",(t=>t.data.name)).attr("transform",`translate(${t.x},${t.y})`).attr("fill",r).attr("stroke-width",0).attr("d",d().innerRadius(i).outerRadius(s)).attr("data-d",d().innerRadius(i).outerRadius(s+10)).node()}clear(){a(this.context).selectAll(".vega-chart-draw-g").remove(),a(this.context).selectAll(".vega-chart-legend-g").remove()}getTextNode(t,e,r,s="start",i=0){return o("svg:text").property("style",r).attr("x",t.x).attr("y",t.y).attr("text-anchor",s).attr("rotate",i).text(e).node()}getCircleNode(t,e,r,s,i){return o("svg:circle").attr("r",e).attr("cx",t.x).attr("cy",t.y).attr("fill",r).attr("stroke-width",s||0).attr("stroke",i).node()}}class w extends i{setLayout(t,e){this.context.width=t,this.context.height=e,this.context.style.display="block",this.initCanvasContext2d()}drawLine(t,e){const r=this.getContext2d();r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(e.x,e.y),r.closePath()}drawXAxis(t){this.drawLine(t.start,t.end)}drawYAxis(t){this.drawLine(t.start,t.end)}drawCircle(t,e,r,s,i){const n=this.getContext2d();s&&i&&(n.fillStyle=i,n.beginPath(),n.arc(t.x,t.y,e,0,2*Math.PI),n.fill()),n.fillStyle=r,n.beginPath(),n.arc(t.x,t.y,e-(s||0),0,2*Math.PI),n.fill()}drawLegend(t,e,r){return this.drawCircle(t,4,r),this.drawText(t,e),this.context}drawText(t,e){this.getContext2d().fillText(e,t.x,t.y)}drawRect(t,e,r,s){const i=this.getContext2d();i.fillStyle=s,i.fillRect(t.x,t.y,e,r)}drawLinePath(t,e){const r=o("svg:path").datum(t).attr("d",h().x((t=>t.x)).y((t=>t.y))).node(),s=new Path2D(r.getAttribute("d")),i=this.getContext2d();i.lineWidth=3,i.strokeStyle=e,i.stroke(s)}drawArcPath(t,e,r,s,i){const n=this.getContext2d();return n.beginPath(),n.moveTo(t.x,t.y),n.arc(t.x,t.y,s,e.startAngle,e.endAngle),n.fillStyle=r,n.fill(),i&&this.drawCircle(t,i,"#F0F3F7"),this.context}clear(){this.getContext2d().clearRect(0,0,this.context.width,this.context.height)}initCanvasContext2d(){this.canvasContext2d=this.context.getContext("2d")}getContext2d(){return this.canvasContext2d||this.initCanvasContext2d(),this.canvasContext2d}}const v={width:void 0,height:void 0,margin:{top:30,right:30,bottom:30,left:30}};class y{constructor(t){this.container=t}setContainerWidthAndHeight(t){const{width:e,height:s}=t;void 0!==e&&(this.container.style.width=r(e)),void 0!==s&&(this.container.style.height=r(s))}getContainerClientWidth(t){return this.container.clientWidth||s((null==t?void 0:t.width)||this.container.style.width)}getContainerClientHeight(t){return this.container.clientHeight||s((null==t?void 0:t.height)||this.container.style.height)}getContainerInnerWidth(t){const e=this.getContainerClientWidth(t),{left:r,right:s}=(null==t?void 0:t.margin)||v.margin;return e?e-s-r:0}getContainerInnerHeight(t){const e=this.getContainerClientHeight(t),{top:r,bottom:s}=(null==t?void 0:t.margin)||v.margin;return e?e-r-s:0}mergeLayout(t,e,r){return{width:e&&e.width?e.width:v.width,height:e&&e.height?e.height:v.height,margin:Object.assign({},v.margin,{top:r?60:v.margin.top,left:"VEGA-LINE-CHART"===t||"VEGA-BAR-CHART"===t?60:v.margin.left},e&&e.margin?e.margin:{})}}}class p{constructor(t){this.context=t,this.interactingEntryForEventRegistry=new Map,this.interactingEntryForDrawerRegistry=new WeakMap}register(t,e,r){const s=r.eventType;this.interactingEntryForEventRegistry.get(s)||this.interactingEntryForEventRegistry.set(s,[]),this.interactingEntryForEventRegistry.get(s).push(r),this.interactingEntryForDrawerRegistry.get(t)||this.interactingEntryForDrawerRegistry.set(t,new WeakMap),this.interactingEntryForDrawerRegistry.get(t).get(e)||this.interactingEntryForDrawerRegistry.get(t).set(e,[]),this.interactingEntryForDrawerRegistry.get(t).get(e).push(r)}unregisterByDrawer(t){const e=t.drawPiece;e&&this.interactingEntryForDrawerRegistry.has(t)&&this.interactingEntryForDrawerRegistry.get(t)&&this.interactingEntryForDrawerRegistry.get(t).has(e)&&this.interactingEntryForDrawerRegistry.get(t).get(e)&&this.interactingEntryForEventRegistry.forEach(((r,s)=>{this.interactingEntryForEventRegistry.set(s,r.filter((r=>this.interactingEntryForDrawerRegistry.get(t).get(e).indexOf(r)<0)))})),this.interactingEntryForDrawerRegistry.delete(t)}callRegistry(t,e){const r=this.interactingEntryForEventRegistry.get(t);r&&r.forEach((t=>{t.shouldHandle(e)&&t.handle(e)}))}}class f extends p{}class m extends p{constructor(t){super(t),this.addContextListener()}addContextListener(){this.context.addEventListener("click",(t=>{this.callRegistry("click",t)})),this.context.addEventListener("mouseover",(t=>{this.callRegistry("mouseover",t)}))}}class C{constructor(t){this.options=t,this.isLayoutSet=!1,this.drawers=[];const e=class{static get(t,e){if("canvas"===t){const t=e.querySelector("canvas");let r;return t?r=t:(r=document.createElement("canvas"),r=e.appendChild(r)),r}{const t=e.querySelector("svg");let r;return t?r=t:(r=document.createElementNS("http://www.w3.org/2000/svg","svg"),r=e.appendChild(r)),r}}}.get(t.mode,t.container.shadowRoot?t.container.shadowRoot:t.container);this.dimensionController=new y(t.container),this.renderer=class{static get(t){if(t instanceof SVGElement)return new F(t);if(t instanceof HTMLCanvasElement)return new w(t);throw new Error("Invalid context")}}.get(e),this.interactor=class{static get(t){if(t instanceof SVGElement)return new m(t);if(t instanceof HTMLCanvasElement)return new f(t);throw new Error("Invalid context")}}.get(e),this.initLayoutOptions(t)}clear(){this.renderer.clear()}updateOptions(t){this.initLayoutOptions(t),this.isLayoutSet=!1,this.render()}reRender(){this.updateOptions(this.options)}render(){this.unregisterByDrawer(),this.drawers=this.createDrawerChain(this.renderer,this.interactor),this.clear(),this.isLayoutSet||(this.setLayout(),this.isLayoutSet=!0),this.drawers.forEach((t=>t.execute()))}setLayout(){const t=this.options.layout,e=this.dimensionController.getContainerClientWidth(t),r=this.dimensionController.getContainerClientHeight(t),s=(null==t?void 0:t.margin)||v.margin;this.renderer.setLayout(e,r,s.top,s.left)}initLayoutOptions(t){const e=this.dimensionController.mergeLayout(t.container.tagName,t.layout,!(!t.legends||!t.legends.length));this.options=Object.assign(t,{layout:e}),this.dimensionController.setContainerWidthAndHeight(e),this.options.container.style.display="block"}unregisterByDrawer(){this.drawers&&this.drawers.forEach((t=>{this.interactor.unregisterByDrawer(t)}))}}const E={"bg-brand":"#33393D","bg-page":"#F0F3F7","bg-primary":"#FCFCFC","bg-secondary":"#F5F7F7","bg-tertiary":"#F0F3F7","bg-quaternary":"#F1F8FB","bg-inverted-primary":"#04041C","bg-inverted-secondary":"#121227","bg-inverted-tertiary":"#181830","bg-inverted-quaternary":"#464765","bg-action":"#1362E2","bg-action-hover":"#0470EC","bg-action-focus":"#1362E2","bg-action-active":"#1D41C3","bg-action-quaternary":"#DEE1E3","bg-action-quaternary-hover":"#EFEFEF","bg-action-quaternary-active":"#CDD1D3","bg-action-secondary":"#FCFCFC","bg-action-secondary-hover":"#0470EC","bg-action-secondary-active":"#1D41C3","bg-action-tertiary":"#000000","bg-action-tertiary-hover":"#04041C","bg-action-tertiary-active":"#04041C","bg-app-header":"#F0F3F7","bg-backdrop-modal":"#121227","bg-backdrop-popover":"#203645","bg-backdrop-sidebar":"#121227","bg-chip":"#203645","bg-chip-hover":"#203645","bg-chip-active":"#203645","bg-danger":"#BD2947","bg-danger-hover":"#E94768","bg-danger-focus":"#BD2947","bg-danger-active":"#E63257","bg-danger-tertiary":"#000000","bg-danger-tertiary-hover":"#FF5772","bg-danger-tertiary-active":"#BD2947","bg-disabled":"#B0B4B5","bg-divider":"#ABC6D8","bg-divider-secondary":"#C7D9E5","bg-keypad-btn-active":"#E5EFFF","bg-loading-progress":"#99C0FF","bg-loading-track":"#E5EFFF","bg-segment-hover":"#CDD1D3","bg-segment-control":"#596063","bg-selected":"#0097FF","bg-sidebar":"#121227","bg-sidebar-icon":"#BCBAD5","bg-sidebar-icon-hover":"#121227","bg-sidebar-icon-selected":"#FCFCFC","bg-sidebar-item-hover":"#FCFCFC","bg-sidebar-item-selected":"#1362E2","bg-site-footer":"#33393D","bg-site-footer-action":"#ABC6D8","bg-site-footer-action-hover":"#C7D9E5","bg-site-footer-action-active":"#8FB3CB","bg-site-footer-field":"#596063","bg-slider-handle":"#FCFCFC","bg-status-error":"#FF6E8B","bg-status-info":"#CDD1D3","bg-status-success":"#A0E9A7","bg-status-warning":"#FFDC83","bg-tab":"#F0F3F7","bg-tab-hover":"#F5F7F7","bg-tab-selected":"#203645","bg-table-alt-row":"#F5F7F7","bg-table-header":"#F0F3F7","bg-table-row-hover":"#F1F8FB","bg-table-row-selected-expanded":"#E5EFFF","bg-table-selected-row":"#CCDFFF","bg-textarea-count":"#04041C","bg-tile":"#FCFCFC","bg-tile-hover":"#F5F7F7","bg-tile-selected":"#F2F7FF","bg-tile-selected-hover":"#E5EFFF","bg-toggle-switch":"#6B747D","bg-toggle-switch-hover":"#6B747D","bg-toggle-switch-selected-disabled":"#99C0FF","bg-transparent":"#000000","bg-accent1-primary":"#73E6DC","bg-accent1-secondary":"#C1F4EF","bg-accent1-tertiary":"#E0F9F7","bg-accent2-primary":"#806BFF","bg-accent2-secondary":"#C7BDFF","bg-accent2-tertiary":"#E3DEFF","bg-accent3-primary":"#FFDC83","bg-accent3-secondary":"#FFEFC8","bg-accent3-tertiary":"#FFF7E3","bg-accent4-primary":"#FF9571","bg-accent4-secondary":"#FFD0C0","bg-accent4-tertiary":"#FFE7DF","bg-accent5-primary":"#00BBFF","bg-accent5-secondary":"#8EDFF9","bg-accent5-tertiary":"#E3F7FD","bg-accent6-primary":"#FF82C9","bg-accent6-secondary":"#FFC7E7","bg-accent6-tertiary":"#FFE3F3","bg-accent7-primary":"#259F9F","bg-accent7-secondary":"#9BD4D6","bg-accent7-tertiary":"#D0EFEF","bg-accent8-primary":"#563D82","bg-accent8-secondary":"#C7A2CC","bg-accent8-tertiary":"#E6D6EA","bg-accent9-primary":"#FFBF3F","bg-accent9-secondary":"#FED78E","bg-accent9-tertiary":"#FBE2B9","bg-accent10-primary":"#ED7A23","bg-accent10-secondary":"#F19255","bg-accent10-tertiary":"#F5BB94","bg-date-picker-range":"#E5EFFF"},x=["bg-accent1-primary","bg-accent2-primary","bg-accent3-primary","bg-accent4-primary","bg-accent5-primary","bg-accent6-primary","bg-accent7-primary","bg-accent8-primary","bg-accent9-primary","bg-accent10-primary"],k=Object.keys(e).reduce(((t,r)=>(t[r]='font-family:"Inter", sans-serif;'+e[r].filter((t=>t.indexOf("@apply")<0)).join(";"),t)),{"v-text-secondary":"color:rgba(107, 116, 125, 1);"});class D{constructor(t,e,r){this.renderer=t,this.interactor=e,this.options=r}execute(){const t=this.draw();this.drawPiece=t,this.addInteractionSupport(t)}getColorByIndex(t,e){return(e=e&&e.length?e:x)[t%=e.length]}getColorFromToken(t){return E[t]}getStyleTextFromToken(t){return t.split(" ").map((t=>k[t])).join(";")}}class ${generate(t){return{eventType:this.eventType,shouldHandle:this.createShouldHandle(t),handle:this.createHandle(t)}}}class B extends ${constructor(){super(...arguments),this.eventType="mouseover"}createShouldHandle(){return this.shouldHandle}createHandle(t){return e=>{this.handle(e,t)}}shouldHandle(t){var e;const r=t.target,s=t.currentTarget;return"VEGA-PIE-CHART"===(s.parentElement&&11!==s.parentElement.nodeType?s.parentElement:s.parentNode.host).tagName&&(r.classList.contains("vega-chart-legend-item")||!!(null===(e=r.parentElement)||void 0===e?void 0:e.classList.contains("vega-chart-legend-item")))}handle(t,e){var r;const s=a(t.currentTarget),i=t.target,n="text"===i.tagName?i:"circle"===i.tagName?i.nextElementSibling:i.querySelector("text"),o=n?n.textContent:"",c=o?e.data.indexOf(o):0;null===(r=s.selectAll("path.vega-chart-arc-path").nodes()[c])||void 0===r||r.dispatchEvent(new MouseEvent("mouseover",{bubbles:!0}))}}class A extends D{constructor(){super(...arguments),this.pieLegendHoverGenerator=new B}addInteractionSupport(t){var e;(null===(e=this.options.renderOptions.data)||void 0===e?void 0:e.length)&&this.interactor.register(this,t,this.pieLegendHoverGenerator.generate(this.options.renderOptions))}draw(){const{data:e=[],colors:r,position:s,width:i}=this.options.renderOptions,n=this.getChartLegendOptions(e,r,s);if(n){const r=t(e);return n.legends.map(((t,e)=>{const s=this.getLegendPosition(n.position,e,r,i);return this.renderer.drawLegend(s,t.field,t.color,this.getStyleTextFromToken("v-font-footnote2-short"))}))}}getChartLegendOptions(t,e,r){if(t&&t.length)return{position:r=r?Object.assign({x:10,y:0},r):{x:10,y:0},legends:t.map(((t,r)=>({field:t,color:this.getColorFromToken(this.getColorByIndex(r,e)),icon:""})))}}getLegendPosition(t,e,r,s){if(s){const i=7*r+24,n=18,a=Math.max(Number(((s-t.x)/i).toFixed(0)),1),o=parseInt((e/a).toString());return{x:t.x+i*(e%a),y:t.y+o*n}}return{x:0,y:0}}}class M{process(t){const{container:e,layout:r}=t,{top:s,right:i,bottom:n,left:a}=(null==r?void 0:r.margin)||v.margin,o=new y(e);return{width:o.getContainerClientWidth(r),height:o.getContainerClientHeight(r),innerWidth:o.getContainerInnerWidth(r),innerHeight:o.getContainerInnerHeight(r),top:s,right:i,bottom:n,left:a}}}class L{constructor(t){this.processors=t}process(t){let e;for(const r of this.processors)e=r.process(t,e);return e}}class H{process(t,e){const{colors:r,legends:s=[]}=t,{width:i,height:n}=e;return{data:s,colors:r,position:{x:10,y:10},width:i,height:n}}}export{D as B,$ as I,M as L,L as P,C as a,H as b,A as c,b as p,a as s}
@@ -0,0 +1 @@
1
+ import{R as s}from"./p-14bfc113.js";class t extends s{constructor(){super(...arguments),this.checkArrayItemType=s=>!(!s||"object"!=typeof s)}}export{t as F}
@@ -1 +1 @@
1
- import{r as o,h as t,H as a,g as s}from"./p-6b2342e0.js";import{f as e}from"./p-820ff54c.js";import{s as p}from"./p-519a7d55.js";import{a as r}from"./p-528748fa.js";import{I as i}from"./p-6e1ab235.js";import{V as g,I as m}from"./p-8ce9e214.js";import"./p-b0f55f5f.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-d884c644.js";import"./p-eb927e2b.js";import"./p-2d0d575f.js";import"./p-cb378636.js";import"./p-c596bb49.js";import"./p-49a2e141.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-d27ae9ff.js";import"./p-dcf162e9.js";import"./p-982747ef.js";import"./p-e30a4f3e.js";var v=function(o,t,a,s){var e,p=arguments.length,r=p<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,t,a,s);else for(var i=o.length-1;i>=0;i--)(e=o[i])&&(r=(p<3?e(r):p>3?e(t,a,r):e(t,a))||r);return p>3&&r&&Object.defineProperty(t,a,r),r};const l=class{constructor(t){o(this,t),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new g,this.column=1,this.row=1}render(){const o=[e(this.column,"gridColumn"),e(this.row,"gridRow"),e(this.gap,"gap"),e(this.justifyItems,"gridJustifyItems")];return p(t(a,{class:r(o)},t("slot",null)),this.host)}get host(){return s(this)}};v([m()],l.prototype,"globalSlimmers",void 0),v([i()],l.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),l.style=":host(.v-gap-0),.v-gap-0{gap:0px}:host(.v-gap-row-0),.v-gap-row-0{row-gap:0px}:host(.v-gap-col-0),.v-gap-col-0{column-gap:0px}:host(.v-gap-size-0),.v-gap-size-0{gap:0px}:host(.v-gap-row-size-0),.v-gap-row-size-0{row-gap:0px}:host(.v-gap-col-size-0),.v-gap-col-size-0{column-gap:0px}:host(.v-gap-size-4),.v-gap-size-4{gap:4px}:host(.v-gap-row-size-4),.v-gap-row-size-4{row-gap:4px}:host(.v-gap-col-size-4),.v-gap-col-size-4{column-gap:4px}:host(.v-gap-size-8),.v-gap-size-8{gap:8px}:host(.v-gap-row-size-8),.v-gap-row-size-8{row-gap:8px}:host(.v-gap-col-size-8),.v-gap-col-size-8{column-gap:8px}:host(.v-gap-size-12),.v-gap-size-12{gap:12px}:host(.v-gap-row-size-12),.v-gap-row-size-12{row-gap:12px}:host(.v-gap-col-size-12),.v-gap-col-size-12{column-gap:12px}:host(.v-gap-size-16),.v-gap-size-16{gap:16px}:host(.v-gap-row-size-16),.v-gap-row-size-16{row-gap:16px}:host(.v-gap-col-size-16),.v-gap-col-size-16{column-gap:16px}:host(.v-gap-size-20),.v-gap-size-20{gap:20px}:host(.v-gap-row-size-20),.v-gap-row-size-20{row-gap:20px}:host(.v-gap-col-size-20),.v-gap-col-size-20{column-gap:20px}:host(.v-gap-size-24),.v-gap-size-24{gap:24px}:host(.v-gap-row-size-24),.v-gap-row-size-24{row-gap:24px}:host(.v-gap-col-size-24),.v-gap-col-size-24{column-gap:24px}:host(.v-gap-size-32),.v-gap-size-32{gap:32px}:host(.v-gap-row-size-32),.v-gap-row-size-32{row-gap:32px}:host(.v-gap-col-size-32),.v-gap-col-size-32{column-gap:32px}:host(.v-gap-size-40),.v-gap-size-40{gap:40px}:host(.v-gap-row-size-40),.v-gap-row-size-40{row-gap:40px}:host(.v-gap-col-size-40),.v-gap-col-size-40{column-gap:40px}:host(.v-gap-size-48),.v-gap-size-48{gap:48px}:host(.v-gap-row-size-48),.v-gap-row-size-48{row-gap:48px}:host(.v-gap-col-size-48),.v-gap-col-size-48{column-gap:48px}:host(.v-gap-size-64),.v-gap-size-64{gap:64px}:host(.v-gap-row-size-64),.v-gap-row-size-64{row-gap:64px}:host(.v-gap-col-size-64),.v-gap-col-size-64{column-gap:64px}:host(.v-gap-size-72),.v-gap-size-72{gap:72px}:host(.v-gap-row-size-72),.v-gap-row-size-72{row-gap:72px}:host(.v-gap-col-size-72),.v-gap-col-size-72{column-gap:72px}:host(.v-gap-size-80),.v-gap-size-80{gap:80px}:host(.v-gap-row-size-80),.v-gap-row-size-80{row-gap:80px}:host(.v-gap-col-size-80),.v-gap-col-size-80{column-gap:80px}:host(.v-gap-size-112),.v-gap-size-112{gap:112px}:host(.v-gap-row-size-112),.v-gap-row-size-112{row-gap:112px}:host(.v-gap-col-size-112),.v-gap-col-size-112{column-gap:112px}:host(.v-gap-size-2),.v-gap-size-2{gap:2px}:host(.v-gap-row-size-2),.v-gap-row-size-2{row-gap:2px}:host(.v-gap-col-size-2),.v-gap-col-size-2{column-gap:2px}@media (min-width: 320px){:host(.S\\:v-gap-0),.S\\:v-gap-0{gap:0px}:host(.S\\:v-gap-row-0),.S\\:v-gap-row-0{row-gap:0px}:host(.S\\:v-gap-col-0),.S\\:v-gap-col-0{column-gap:0px}:host(.S\\:v-gap-size-0),.S\\:v-gap-size-0{gap:0px}:host(.S\\:v-gap-row-size-0),.S\\:v-gap-row-size-0{row-gap:0px}:host(.S\\:v-gap-col-size-0),.S\\:v-gap-col-size-0{column-gap:0px}:host(.S\\:v-gap-size-4),.S\\:v-gap-size-4{gap:4px}:host(.S\\:v-gap-row-size-4),.S\\:v-gap-row-size-4{row-gap:4px}:host(.S\\:v-gap-col-size-4),.S\\:v-gap-col-size-4{column-gap:4px}:host(.S\\:v-gap-size-8),.S\\:v-gap-size-8{gap:8px}:host(.S\\:v-gap-row-size-8),.S\\:v-gap-row-size-8{row-gap:8px}:host(.S\\:v-gap-col-size-8),.S\\:v-gap-col-size-8{column-gap:8px}:host(.S\\:v-gap-size-12),.S\\:v-gap-size-12{gap:12px}:host(.S\\:v-gap-row-size-12),.S\\:v-gap-row-size-12{row-gap:12px}:host(.S\\:v-gap-col-size-12),.S\\:v-gap-col-size-12{column-gap:12px}:host(.S\\:v-gap-size-16),.S\\:v-gap-size-16{gap:16px}:host(.S\\:v-gap-row-size-16),.S\\:v-gap-row-size-16{row-gap:16px}:host(.S\\:v-gap-col-size-16),.S\\:v-gap-col-size-16{column-gap:16px}:host(.S\\:v-gap-size-20),.S\\:v-gap-size-20{gap:20px}:host(.S\\:v-gap-row-size-20),.S\\:v-gap-row-size-20{row-gap:20px}:host(.S\\:v-gap-col-size-20),.S\\:v-gap-col-size-20{column-gap:20px}:host(.S\\:v-gap-size-24),.S\\:v-gap-size-24{gap:24px}:host(.S\\:v-gap-row-size-24),.S\\:v-gap-row-size-24{row-gap:24px}:host(.S\\:v-gap-col-size-24),.S\\:v-gap-col-size-24{column-gap:24px}:host(.S\\:v-gap-size-32),.S\\:v-gap-size-32{gap:32px}:host(.S\\:v-gap-row-size-32),.S\\:v-gap-row-size-32{row-gap:32px}:host(.S\\:v-gap-col-size-32),.S\\:v-gap-col-size-32{column-gap:32px}:host(.S\\:v-gap-size-40),.S\\:v-gap-size-40{gap:40px}:host(.S\\:v-gap-row-size-40),.S\\:v-gap-row-size-40{row-gap:40px}:host(.S\\:v-gap-col-size-40),.S\\:v-gap-col-size-40{column-gap:40px}:host(.S\\:v-gap-size-48),.S\\:v-gap-size-48{gap:48px}:host(.S\\:v-gap-row-size-48),.S\\:v-gap-row-size-48{row-gap:48px}:host(.S\\:v-gap-col-size-48),.S\\:v-gap-col-size-48{column-gap:48px}:host(.S\\:v-gap-size-64),.S\\:v-gap-size-64{gap:64px}:host(.S\\:v-gap-row-size-64),.S\\:v-gap-row-size-64{row-gap:64px}:host(.S\\:v-gap-col-size-64),.S\\:v-gap-col-size-64{column-gap:64px}:host(.S\\:v-gap-size-72),.S\\:v-gap-size-72{gap:72px}:host(.S\\:v-gap-row-size-72),.S\\:v-gap-row-size-72{row-gap:72px}:host(.S\\:v-gap-col-size-72),.S\\:v-gap-col-size-72{column-gap:72px}:host(.S\\:v-gap-size-80),.S\\:v-gap-size-80{gap:80px}:host(.S\\:v-gap-row-size-80),.S\\:v-gap-row-size-80{row-gap:80px}:host(.S\\:v-gap-col-size-80),.S\\:v-gap-col-size-80{column-gap:80px}:host(.S\\:v-gap-size-112),.S\\:v-gap-size-112{gap:112px}:host(.S\\:v-gap-row-size-112),.S\\:v-gap-row-size-112{row-gap:112px}:host(.S\\:v-gap-col-size-112),.S\\:v-gap-col-size-112{column-gap:112px}:host(.S\\:v-gap-size-2),.S\\:v-gap-size-2{gap:2px}:host(.S\\:v-gap-row-size-2),.S\\:v-gap-row-size-2{row-gap:2px}:host(.S\\:v-gap-col-size-2),.S\\:v-gap-col-size-2{column-gap:2px}}@media (min-width: 768px){:host(.M\\:v-gap-0),.M\\:v-gap-0{gap:0px}:host(.M\\:v-gap-row-0),.M\\:v-gap-row-0{row-gap:0px}:host(.M\\:v-gap-col-0),.M\\:v-gap-col-0{column-gap:0px}:host(.M\\:v-gap-size-0),.M\\:v-gap-size-0{gap:0px}:host(.M\\:v-gap-row-size-0),.M\\:v-gap-row-size-0{row-gap:0px}:host(.M\\:v-gap-col-size-0),.M\\:v-gap-col-size-0{column-gap:0px}:host(.M\\:v-gap-size-4),.M\\:v-gap-size-4{gap:4px}:host(.M\\:v-gap-row-size-4),.M\\:v-gap-row-size-4{row-gap:4px}:host(.M\\:v-gap-col-size-4),.M\\:v-gap-col-size-4{column-gap:4px}:host(.M\\:v-gap-size-8),.M\\:v-gap-size-8{gap:8px}:host(.M\\:v-gap-row-size-8),.M\\:v-gap-row-size-8{row-gap:8px}:host(.M\\:v-gap-col-size-8),.M\\:v-gap-col-size-8{column-gap:8px}:host(.M\\:v-gap-size-12),.M\\:v-gap-size-12{gap:12px}:host(.M\\:v-gap-row-size-12),.M\\:v-gap-row-size-12{row-gap:12px}:host(.M\\:v-gap-col-size-12),.M\\:v-gap-col-size-12{column-gap:12px}:host(.M\\:v-gap-size-16),.M\\:v-gap-size-16{gap:16px}:host(.M\\:v-gap-row-size-16),.M\\:v-gap-row-size-16{row-gap:16px}:host(.M\\:v-gap-col-size-16),.M\\:v-gap-col-size-16{column-gap:16px}:host(.M\\:v-gap-size-20),.M\\:v-gap-size-20{gap:20px}:host(.M\\:v-gap-row-size-20),.M\\:v-gap-row-size-20{row-gap:20px}:host(.M\\:v-gap-col-size-20),.M\\:v-gap-col-size-20{column-gap:20px}:host(.M\\:v-gap-size-24),.M\\:v-gap-size-24{gap:24px}:host(.M\\:v-gap-row-size-24),.M\\:v-gap-row-size-24{row-gap:24px}:host(.M\\:v-gap-col-size-24),.M\\:v-gap-col-size-24{column-gap:24px}:host(.M\\:v-gap-size-32),.M\\:v-gap-size-32{gap:32px}:host(.M\\:v-gap-row-size-32),.M\\:v-gap-row-size-32{row-gap:32px}:host(.M\\:v-gap-col-size-32),.M\\:v-gap-col-size-32{column-gap:32px}:host(.M\\:v-gap-size-40),.M\\:v-gap-size-40{gap:40px}:host(.M\\:v-gap-row-size-40),.M\\:v-gap-row-size-40{row-gap:40px}:host(.M\\:v-gap-col-size-40),.M\\:v-gap-col-size-40{column-gap:40px}:host(.M\\:v-gap-size-48),.M\\:v-gap-size-48{gap:48px}:host(.M\\:v-gap-row-size-48),.M\\:v-gap-row-size-48{row-gap:48px}:host(.M\\:v-gap-col-size-48),.M\\:v-gap-col-size-48{column-gap:48px}:host(.M\\:v-gap-size-64),.M\\:v-gap-size-64{gap:64px}:host(.M\\:v-gap-row-size-64),.M\\:v-gap-row-size-64{row-gap:64px}:host(.M\\:v-gap-col-size-64),.M\\:v-gap-col-size-64{column-gap:64px}:host(.M\\:v-gap-size-72),.M\\:v-gap-size-72{gap:72px}:host(.M\\:v-gap-row-size-72),.M\\:v-gap-row-size-72{row-gap:72px}:host(.M\\:v-gap-col-size-72),.M\\:v-gap-col-size-72{column-gap:72px}:host(.M\\:v-gap-size-80),.M\\:v-gap-size-80{gap:80px}:host(.M\\:v-gap-row-size-80),.M\\:v-gap-row-size-80{row-gap:80px}:host(.M\\:v-gap-col-size-80),.M\\:v-gap-col-size-80{column-gap:80px}:host(.M\\:v-gap-size-112),.M\\:v-gap-size-112{gap:112px}:host(.M\\:v-gap-row-size-112),.M\\:v-gap-row-size-112{row-gap:112px}:host(.M\\:v-gap-col-size-112),.M\\:v-gap-col-size-112{column-gap:112px}:host(.M\\:v-gap-size-2),.M\\:v-gap-size-2{gap:2px}:host(.M\\:v-gap-row-size-2),.M\\:v-gap-row-size-2{row-gap:2px}:host(.M\\:v-gap-col-size-2),.M\\:v-gap-col-size-2{column-gap:2px}}@media (min-width: 1024px){:host(.L\\:v-gap-0),.L\\:v-gap-0{gap:0px}:host(.L\\:v-gap-row-0),.L\\:v-gap-row-0{row-gap:0px}:host(.L\\:v-gap-col-0),.L\\:v-gap-col-0{column-gap:0px}:host(.L\\:v-gap-size-0),.L\\:v-gap-size-0{gap:0px}:host(.L\\:v-gap-row-size-0),.L\\:v-gap-row-size-0{row-gap:0px}:host(.L\\:v-gap-col-size-0),.L\\:v-gap-col-size-0{column-gap:0px}:host(.L\\:v-gap-size-4),.L\\:v-gap-size-4{gap:4px}:host(.L\\:v-gap-row-size-4),.L\\:v-gap-row-size-4{row-gap:4px}:host(.L\\:v-gap-col-size-4),.L\\:v-gap-col-size-4{column-gap:4px}:host(.L\\:v-gap-size-8),.L\\:v-gap-size-8{gap:8px}:host(.L\\:v-gap-row-size-8),.L\\:v-gap-row-size-8{row-gap:8px}:host(.L\\:v-gap-col-size-8),.L\\:v-gap-col-size-8{column-gap:8px}:host(.L\\:v-gap-size-12),.L\\:v-gap-size-12{gap:12px}:host(.L\\:v-gap-row-size-12),.L\\:v-gap-row-size-12{row-gap:12px}:host(.L\\:v-gap-col-size-12),.L\\:v-gap-col-size-12{column-gap:12px}:host(.L\\:v-gap-size-16),.L\\:v-gap-size-16{gap:16px}:host(.L\\:v-gap-row-size-16),.L\\:v-gap-row-size-16{row-gap:16px}:host(.L\\:v-gap-col-size-16),.L\\:v-gap-col-size-16{column-gap:16px}:host(.L\\:v-gap-size-20),.L\\:v-gap-size-20{gap:20px}:host(.L\\:v-gap-row-size-20),.L\\:v-gap-row-size-20{row-gap:20px}:host(.L\\:v-gap-col-size-20),.L\\:v-gap-col-size-20{column-gap:20px}:host(.L\\:v-gap-size-24),.L\\:v-gap-size-24{gap:24px}:host(.L\\:v-gap-row-size-24),.L\\:v-gap-row-size-24{row-gap:24px}:host(.L\\:v-gap-col-size-24),.L\\:v-gap-col-size-24{column-gap:24px}:host(.L\\:v-gap-size-32),.L\\:v-gap-size-32{gap:32px}:host(.L\\:v-gap-row-size-32),.L\\:v-gap-row-size-32{row-gap:32px}:host(.L\\:v-gap-col-size-32),.L\\:v-gap-col-size-32{column-gap:32px}:host(.L\\:v-gap-size-40),.L\\:v-gap-size-40{gap:40px}:host(.L\\:v-gap-row-size-40),.L\\:v-gap-row-size-40{row-gap:40px}:host(.L\\:v-gap-col-size-40),.L\\:v-gap-col-size-40{column-gap:40px}:host(.L\\:v-gap-size-48),.L\\:v-gap-size-48{gap:48px}:host(.L\\:v-gap-row-size-48),.L\\:v-gap-row-size-48{row-gap:48px}:host(.L\\:v-gap-col-size-48),.L\\:v-gap-col-size-48{column-gap:48px}:host(.L\\:v-gap-size-64),.L\\:v-gap-size-64{gap:64px}:host(.L\\:v-gap-row-size-64),.L\\:v-gap-row-size-64{row-gap:64px}:host(.L\\:v-gap-col-size-64),.L\\:v-gap-col-size-64{column-gap:64px}:host(.L\\:v-gap-size-72),.L\\:v-gap-size-72{gap:72px}:host(.L\\:v-gap-row-size-72),.L\\:v-gap-row-size-72{row-gap:72px}:host(.L\\:v-gap-col-size-72),.L\\:v-gap-col-size-72{column-gap:72px}:host(.L\\:v-gap-size-80),.L\\:v-gap-size-80{gap:80px}:host(.L\\:v-gap-row-size-80),.L\\:v-gap-row-size-80{row-gap:80px}:host(.L\\:v-gap-col-size-80),.L\\:v-gap-col-size-80{column-gap:80px}:host(.L\\:v-gap-size-112),.L\\:v-gap-size-112{gap:112px}:host(.L\\:v-gap-row-size-112),.L\\:v-gap-row-size-112{row-gap:112px}:host(.L\\:v-gap-col-size-112),.L\\:v-gap-col-size-112{column-gap:112px}:host(.L\\:v-gap-size-2),.L\\:v-gap-size-2{gap:2px}:host(.L\\:v-gap-row-size-2),.L\\:v-gap-row-size-2{row-gap:2px}:host(.L\\:v-gap-col-size-2),.L\\:v-gap-col-size-2{column-gap:2px}}@media (min-width: 1440px){:host(.XL\\:v-gap-0),.XL\\:v-gap-0{gap:0px}:host(.XL\\:v-gap-row-0),.XL\\:v-gap-row-0{row-gap:0px}:host(.XL\\:v-gap-col-0),.XL\\:v-gap-col-0{column-gap:0px}:host(.XL\\:v-gap-size-0),.XL\\:v-gap-size-0{gap:0px}:host(.XL\\:v-gap-row-size-0),.XL\\:v-gap-row-size-0{row-gap:0px}:host(.XL\\:v-gap-col-size-0),.XL\\:v-gap-col-size-0{column-gap:0px}:host(.XL\\:v-gap-size-4),.XL\\:v-gap-size-4{gap:4px}:host(.XL\\:v-gap-row-size-4),.XL\\:v-gap-row-size-4{row-gap:4px}:host(.XL\\:v-gap-col-size-4),.XL\\:v-gap-col-size-4{column-gap:4px}:host(.XL\\:v-gap-size-8),.XL\\:v-gap-size-8{gap:8px}:host(.XL\\:v-gap-row-size-8),.XL\\:v-gap-row-size-8{row-gap:8px}:host(.XL\\:v-gap-col-size-8),.XL\\:v-gap-col-size-8{column-gap:8px}:host(.XL\\:v-gap-size-12),.XL\\:v-gap-size-12{gap:12px}:host(.XL\\:v-gap-row-size-12),.XL\\:v-gap-row-size-12{row-gap:12px}:host(.XL\\:v-gap-col-size-12),.XL\\:v-gap-col-size-12{column-gap:12px}:host(.XL\\:v-gap-size-16),.XL\\:v-gap-size-16{gap:16px}:host(.XL\\:v-gap-row-size-16),.XL\\:v-gap-row-size-16{row-gap:16px}:host(.XL\\:v-gap-col-size-16),.XL\\:v-gap-col-size-16{column-gap:16px}:host(.XL\\:v-gap-size-20),.XL\\:v-gap-size-20{gap:20px}:host(.XL\\:v-gap-row-size-20),.XL\\:v-gap-row-size-20{row-gap:20px}:host(.XL\\:v-gap-col-size-20),.XL\\:v-gap-col-size-20{column-gap:20px}:host(.XL\\:v-gap-size-24),.XL\\:v-gap-size-24{gap:24px}:host(.XL\\:v-gap-row-size-24),.XL\\:v-gap-row-size-24{row-gap:24px}:host(.XL\\:v-gap-col-size-24),.XL\\:v-gap-col-size-24{column-gap:24px}:host(.XL\\:v-gap-size-32),.XL\\:v-gap-size-32{gap:32px}:host(.XL\\:v-gap-row-size-32),.XL\\:v-gap-row-size-32{row-gap:32px}:host(.XL\\:v-gap-col-size-32),.XL\\:v-gap-col-size-32{column-gap:32px}:host(.XL\\:v-gap-size-40),.XL\\:v-gap-size-40{gap:40px}:host(.XL\\:v-gap-row-size-40),.XL\\:v-gap-row-size-40{row-gap:40px}:host(.XL\\:v-gap-col-size-40),.XL\\:v-gap-col-size-40{column-gap:40px}:host(.XL\\:v-gap-size-48),.XL\\:v-gap-size-48{gap:48px}:host(.XL\\:v-gap-row-size-48),.XL\\:v-gap-row-size-48{row-gap:48px}:host(.XL\\:v-gap-col-size-48),.XL\\:v-gap-col-size-48{column-gap:48px}:host(.XL\\:v-gap-size-64),.XL\\:v-gap-size-64{gap:64px}:host(.XL\\:v-gap-row-size-64),.XL\\:v-gap-row-size-64{row-gap:64px}:host(.XL\\:v-gap-col-size-64),.XL\\:v-gap-col-size-64{column-gap:64px}:host(.XL\\:v-gap-size-72),.XL\\:v-gap-size-72{gap:72px}:host(.XL\\:v-gap-row-size-72),.XL\\:v-gap-row-size-72{row-gap:72px}:host(.XL\\:v-gap-col-size-72),.XL\\:v-gap-col-size-72{column-gap:72px}:host(.XL\\:v-gap-size-80),.XL\\:v-gap-size-80{gap:80px}:host(.XL\\:v-gap-row-size-80),.XL\\:v-gap-row-size-80{row-gap:80px}:host(.XL\\:v-gap-col-size-80),.XL\\:v-gap-col-size-80{column-gap:80px}:host(.XL\\:v-gap-size-112),.XL\\:v-gap-size-112{gap:112px}:host(.XL\\:v-gap-row-size-112),.XL\\:v-gap-row-size-112{row-gap:112px}:host(.XL\\:v-gap-col-size-112),.XL\\:v-gap-col-size-112{column-gap:112px}:host(.XL\\:v-gap-size-2),.XL\\:v-gap-size-2{gap:2px}:host(.XL\\:v-gap-row-size-2),.XL\\:v-gap-row-size-2{row-gap:2px}:host(.XL\\:v-gap-col-size-2),.XL\\:v-gap-col-size-2{column-gap:2px}}:host{display:grid}:host(.v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}@media (min-width: 320px){:host(.S\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.S\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.S\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.S\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.S\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.S\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.S\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.S\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.S\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.S\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.S\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.S\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.S\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.S\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.S\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.S\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.S\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.S\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.S\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.S\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.S\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.S\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.S\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.S\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 768px){:host(.M\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.M\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.M\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.M\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.M\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.M\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.M\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.M\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.M\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.M\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.M\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.M\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.M\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.M\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.M\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.M\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.M\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.M\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.M\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.M\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.M\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.M\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.M\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.M\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 1024px){:host(.L\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.L\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.L\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.L\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.L\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.L\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.L\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.L\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.L\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.L\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.L\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.L\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.L\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.L\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.L\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.L\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.L\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.L\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.L\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.L\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.L\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.L\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.L\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.L\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 1440px){:host(.XL\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.XL\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.XL\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.XL\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.XL\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.XL\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.XL\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.XL\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.XL\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.XL\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.XL\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.XL\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 320px){:host(.S\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.S\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.S\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.S\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.S\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.S\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.S\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.S\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.S\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.S\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.S\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.S\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.S\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.S\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.S\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.S\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.S\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.S\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.S\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.S\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.S\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.S\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.S\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.S\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}@media (min-width: 768px){:host(.M\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.M\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.M\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.M\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.M\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.M\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.M\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.M\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.M\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.M\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.M\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.M\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.M\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.M\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.M\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.M\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.M\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.M\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.M\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.M\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.M\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.M\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.M\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.M\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}@media (min-width: 1024px){:host(.L\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.L\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.L\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.L\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.L\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.L\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.L\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.L\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.L\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.L\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.L\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.L\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.L\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.L\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.L\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.L\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.L\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.L\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.L\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.L\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.L\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.L\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.L\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.L\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}@media (min-width: 1440px){:host(.XL\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.XL\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.XL\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.XL\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.XL\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.XL\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.XL\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.XL\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.XL\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.XL\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.XL\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.XL\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}:host(.v-justify-items-start){justify-items:start}:host(.v-justify-items-center){justify-items:center}:host(.v-justify-items-end){justify-items:end}:host(.v-justify-items-stretch){justify-items:stretch}@media (min-width: 320px){:host(.S\\:v-justify-items-start){justify-items:start}:host(.S\\:v-justify-items-center){justify-items:center}:host(.S\\:v-justify-items-end){justify-items:end}:host(.S\\:v-justify-items-stretch){justify-items:stretch}}@media (min-width: 768px){:host(.M\\:v-justify-items-start){justify-items:start}:host(.M\\:v-justify-items-center){justify-items:center}:host(.M\\:v-justify-items-end){justify-items:end}:host(.M\\:v-justify-items-stretch){justify-items:stretch}}@media (min-width: 1024px){:host(.L\\:v-justify-items-start){justify-items:start}:host(.L\\:v-justify-items-center){justify-items:center}:host(.L\\:v-justify-items-end){justify-items:end}:host(.L\\:v-justify-items-stretch){justify-items:stretch}}@media (min-width: 1440px){:host(.XL\\:v-justify-items-start){justify-items:start}:host(.XL\\:v-justify-items-center){justify-items:center}:host(.XL\\:v-justify-items-end){justify-items:end}:host(.XL\\:v-justify-items-stretch){justify-items:stretch}}";export{l as vega_grid}
1
+ import{r as o,h as t,H as a,g as s}from"./p-6b2342e0.js";import{f as e}from"./p-d0060bdb.js";import{s as p}from"./p-519a7d55.js";import{a as r}from"./p-528748fa.js";import{I as i}from"./p-6e1ab235.js";import{V as g,I as m}from"./p-8ce9e214.js";import"./p-2b22091e.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-b438e68b.js";import"./p-ddc2d219.js";import"./p-2d0d575f.js";import"./p-cb378636.js";import"./p-a14d8767.js";import"./p-49a2e141.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-d27ae9ff.js";import"./p-bc73ce30.js";import"./p-982747ef.js";import"./p-0707aa21.js";var v=function(o,t,a,s){var e,p=arguments.length,r=p<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,a):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(o,t,a,s);else for(var i=o.length-1;i>=0;i--)(e=o[i])&&(r=(p<3?e(r):p>3?e(t,a,r):e(t,a))||r);return p>3&&r&&Object.defineProperty(t,a,r),r};const l=class{constructor(t){o(this,t),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new g,this.column=1,this.row=1}render(){const o=[e(this.column,"gridColumn"),e(this.row,"gridRow"),e(this.gap,"gap"),e(this.justifyItems,"gridJustifyItems")];return p(t(a,{class:r(o)},t("slot",null)),this.host)}get host(){return s(this)}};v([m()],l.prototype,"globalSlimmers",void 0),v([i()],l.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),l.style=":host(.v-gap-0),.v-gap-0{gap:0px}:host(.v-gap-row-0),.v-gap-row-0{row-gap:0px}:host(.v-gap-col-0),.v-gap-col-0{column-gap:0px}:host(.v-gap-size-0),.v-gap-size-0{gap:0px}:host(.v-gap-row-size-0),.v-gap-row-size-0{row-gap:0px}:host(.v-gap-col-size-0),.v-gap-col-size-0{column-gap:0px}:host(.v-gap-size-4),.v-gap-size-4{gap:4px}:host(.v-gap-row-size-4),.v-gap-row-size-4{row-gap:4px}:host(.v-gap-col-size-4),.v-gap-col-size-4{column-gap:4px}:host(.v-gap-size-8),.v-gap-size-8{gap:8px}:host(.v-gap-row-size-8),.v-gap-row-size-8{row-gap:8px}:host(.v-gap-col-size-8),.v-gap-col-size-8{column-gap:8px}:host(.v-gap-size-12),.v-gap-size-12{gap:12px}:host(.v-gap-row-size-12),.v-gap-row-size-12{row-gap:12px}:host(.v-gap-col-size-12),.v-gap-col-size-12{column-gap:12px}:host(.v-gap-size-16),.v-gap-size-16{gap:16px}:host(.v-gap-row-size-16),.v-gap-row-size-16{row-gap:16px}:host(.v-gap-col-size-16),.v-gap-col-size-16{column-gap:16px}:host(.v-gap-size-20),.v-gap-size-20{gap:20px}:host(.v-gap-row-size-20),.v-gap-row-size-20{row-gap:20px}:host(.v-gap-col-size-20),.v-gap-col-size-20{column-gap:20px}:host(.v-gap-size-24),.v-gap-size-24{gap:24px}:host(.v-gap-row-size-24),.v-gap-row-size-24{row-gap:24px}:host(.v-gap-col-size-24),.v-gap-col-size-24{column-gap:24px}:host(.v-gap-size-32),.v-gap-size-32{gap:32px}:host(.v-gap-row-size-32),.v-gap-row-size-32{row-gap:32px}:host(.v-gap-col-size-32),.v-gap-col-size-32{column-gap:32px}:host(.v-gap-size-40),.v-gap-size-40{gap:40px}:host(.v-gap-row-size-40),.v-gap-row-size-40{row-gap:40px}:host(.v-gap-col-size-40),.v-gap-col-size-40{column-gap:40px}:host(.v-gap-size-48),.v-gap-size-48{gap:48px}:host(.v-gap-row-size-48),.v-gap-row-size-48{row-gap:48px}:host(.v-gap-col-size-48),.v-gap-col-size-48{column-gap:48px}:host(.v-gap-size-64),.v-gap-size-64{gap:64px}:host(.v-gap-row-size-64),.v-gap-row-size-64{row-gap:64px}:host(.v-gap-col-size-64),.v-gap-col-size-64{column-gap:64px}:host(.v-gap-size-72),.v-gap-size-72{gap:72px}:host(.v-gap-row-size-72),.v-gap-row-size-72{row-gap:72px}:host(.v-gap-col-size-72),.v-gap-col-size-72{column-gap:72px}:host(.v-gap-size-80),.v-gap-size-80{gap:80px}:host(.v-gap-row-size-80),.v-gap-row-size-80{row-gap:80px}:host(.v-gap-col-size-80),.v-gap-col-size-80{column-gap:80px}:host(.v-gap-size-112),.v-gap-size-112{gap:112px}:host(.v-gap-row-size-112),.v-gap-row-size-112{row-gap:112px}:host(.v-gap-col-size-112),.v-gap-col-size-112{column-gap:112px}:host(.v-gap-size-2),.v-gap-size-2{gap:2px}:host(.v-gap-row-size-2),.v-gap-row-size-2{row-gap:2px}:host(.v-gap-col-size-2),.v-gap-col-size-2{column-gap:2px}@media (min-width: 320px){:host(.S\\:v-gap-0),.S\\:v-gap-0{gap:0px}:host(.S\\:v-gap-row-0),.S\\:v-gap-row-0{row-gap:0px}:host(.S\\:v-gap-col-0),.S\\:v-gap-col-0{column-gap:0px}:host(.S\\:v-gap-size-0),.S\\:v-gap-size-0{gap:0px}:host(.S\\:v-gap-row-size-0),.S\\:v-gap-row-size-0{row-gap:0px}:host(.S\\:v-gap-col-size-0),.S\\:v-gap-col-size-0{column-gap:0px}:host(.S\\:v-gap-size-4),.S\\:v-gap-size-4{gap:4px}:host(.S\\:v-gap-row-size-4),.S\\:v-gap-row-size-4{row-gap:4px}:host(.S\\:v-gap-col-size-4),.S\\:v-gap-col-size-4{column-gap:4px}:host(.S\\:v-gap-size-8),.S\\:v-gap-size-8{gap:8px}:host(.S\\:v-gap-row-size-8),.S\\:v-gap-row-size-8{row-gap:8px}:host(.S\\:v-gap-col-size-8),.S\\:v-gap-col-size-8{column-gap:8px}:host(.S\\:v-gap-size-12),.S\\:v-gap-size-12{gap:12px}:host(.S\\:v-gap-row-size-12),.S\\:v-gap-row-size-12{row-gap:12px}:host(.S\\:v-gap-col-size-12),.S\\:v-gap-col-size-12{column-gap:12px}:host(.S\\:v-gap-size-16),.S\\:v-gap-size-16{gap:16px}:host(.S\\:v-gap-row-size-16),.S\\:v-gap-row-size-16{row-gap:16px}:host(.S\\:v-gap-col-size-16),.S\\:v-gap-col-size-16{column-gap:16px}:host(.S\\:v-gap-size-20),.S\\:v-gap-size-20{gap:20px}:host(.S\\:v-gap-row-size-20),.S\\:v-gap-row-size-20{row-gap:20px}:host(.S\\:v-gap-col-size-20),.S\\:v-gap-col-size-20{column-gap:20px}:host(.S\\:v-gap-size-24),.S\\:v-gap-size-24{gap:24px}:host(.S\\:v-gap-row-size-24),.S\\:v-gap-row-size-24{row-gap:24px}:host(.S\\:v-gap-col-size-24),.S\\:v-gap-col-size-24{column-gap:24px}:host(.S\\:v-gap-size-32),.S\\:v-gap-size-32{gap:32px}:host(.S\\:v-gap-row-size-32),.S\\:v-gap-row-size-32{row-gap:32px}:host(.S\\:v-gap-col-size-32),.S\\:v-gap-col-size-32{column-gap:32px}:host(.S\\:v-gap-size-40),.S\\:v-gap-size-40{gap:40px}:host(.S\\:v-gap-row-size-40),.S\\:v-gap-row-size-40{row-gap:40px}:host(.S\\:v-gap-col-size-40),.S\\:v-gap-col-size-40{column-gap:40px}:host(.S\\:v-gap-size-48),.S\\:v-gap-size-48{gap:48px}:host(.S\\:v-gap-row-size-48),.S\\:v-gap-row-size-48{row-gap:48px}:host(.S\\:v-gap-col-size-48),.S\\:v-gap-col-size-48{column-gap:48px}:host(.S\\:v-gap-size-64),.S\\:v-gap-size-64{gap:64px}:host(.S\\:v-gap-row-size-64),.S\\:v-gap-row-size-64{row-gap:64px}:host(.S\\:v-gap-col-size-64),.S\\:v-gap-col-size-64{column-gap:64px}:host(.S\\:v-gap-size-72),.S\\:v-gap-size-72{gap:72px}:host(.S\\:v-gap-row-size-72),.S\\:v-gap-row-size-72{row-gap:72px}:host(.S\\:v-gap-col-size-72),.S\\:v-gap-col-size-72{column-gap:72px}:host(.S\\:v-gap-size-80),.S\\:v-gap-size-80{gap:80px}:host(.S\\:v-gap-row-size-80),.S\\:v-gap-row-size-80{row-gap:80px}:host(.S\\:v-gap-col-size-80),.S\\:v-gap-col-size-80{column-gap:80px}:host(.S\\:v-gap-size-112),.S\\:v-gap-size-112{gap:112px}:host(.S\\:v-gap-row-size-112),.S\\:v-gap-row-size-112{row-gap:112px}:host(.S\\:v-gap-col-size-112),.S\\:v-gap-col-size-112{column-gap:112px}:host(.S\\:v-gap-size-2),.S\\:v-gap-size-2{gap:2px}:host(.S\\:v-gap-row-size-2),.S\\:v-gap-row-size-2{row-gap:2px}:host(.S\\:v-gap-col-size-2),.S\\:v-gap-col-size-2{column-gap:2px}}@media (min-width: 768px){:host(.M\\:v-gap-0),.M\\:v-gap-0{gap:0px}:host(.M\\:v-gap-row-0),.M\\:v-gap-row-0{row-gap:0px}:host(.M\\:v-gap-col-0),.M\\:v-gap-col-0{column-gap:0px}:host(.M\\:v-gap-size-0),.M\\:v-gap-size-0{gap:0px}:host(.M\\:v-gap-row-size-0),.M\\:v-gap-row-size-0{row-gap:0px}:host(.M\\:v-gap-col-size-0),.M\\:v-gap-col-size-0{column-gap:0px}:host(.M\\:v-gap-size-4),.M\\:v-gap-size-4{gap:4px}:host(.M\\:v-gap-row-size-4),.M\\:v-gap-row-size-4{row-gap:4px}:host(.M\\:v-gap-col-size-4),.M\\:v-gap-col-size-4{column-gap:4px}:host(.M\\:v-gap-size-8),.M\\:v-gap-size-8{gap:8px}:host(.M\\:v-gap-row-size-8),.M\\:v-gap-row-size-8{row-gap:8px}:host(.M\\:v-gap-col-size-8),.M\\:v-gap-col-size-8{column-gap:8px}:host(.M\\:v-gap-size-12),.M\\:v-gap-size-12{gap:12px}:host(.M\\:v-gap-row-size-12),.M\\:v-gap-row-size-12{row-gap:12px}:host(.M\\:v-gap-col-size-12),.M\\:v-gap-col-size-12{column-gap:12px}:host(.M\\:v-gap-size-16),.M\\:v-gap-size-16{gap:16px}:host(.M\\:v-gap-row-size-16),.M\\:v-gap-row-size-16{row-gap:16px}:host(.M\\:v-gap-col-size-16),.M\\:v-gap-col-size-16{column-gap:16px}:host(.M\\:v-gap-size-20),.M\\:v-gap-size-20{gap:20px}:host(.M\\:v-gap-row-size-20),.M\\:v-gap-row-size-20{row-gap:20px}:host(.M\\:v-gap-col-size-20),.M\\:v-gap-col-size-20{column-gap:20px}:host(.M\\:v-gap-size-24),.M\\:v-gap-size-24{gap:24px}:host(.M\\:v-gap-row-size-24),.M\\:v-gap-row-size-24{row-gap:24px}:host(.M\\:v-gap-col-size-24),.M\\:v-gap-col-size-24{column-gap:24px}:host(.M\\:v-gap-size-32),.M\\:v-gap-size-32{gap:32px}:host(.M\\:v-gap-row-size-32),.M\\:v-gap-row-size-32{row-gap:32px}:host(.M\\:v-gap-col-size-32),.M\\:v-gap-col-size-32{column-gap:32px}:host(.M\\:v-gap-size-40),.M\\:v-gap-size-40{gap:40px}:host(.M\\:v-gap-row-size-40),.M\\:v-gap-row-size-40{row-gap:40px}:host(.M\\:v-gap-col-size-40),.M\\:v-gap-col-size-40{column-gap:40px}:host(.M\\:v-gap-size-48),.M\\:v-gap-size-48{gap:48px}:host(.M\\:v-gap-row-size-48),.M\\:v-gap-row-size-48{row-gap:48px}:host(.M\\:v-gap-col-size-48),.M\\:v-gap-col-size-48{column-gap:48px}:host(.M\\:v-gap-size-64),.M\\:v-gap-size-64{gap:64px}:host(.M\\:v-gap-row-size-64),.M\\:v-gap-row-size-64{row-gap:64px}:host(.M\\:v-gap-col-size-64),.M\\:v-gap-col-size-64{column-gap:64px}:host(.M\\:v-gap-size-72),.M\\:v-gap-size-72{gap:72px}:host(.M\\:v-gap-row-size-72),.M\\:v-gap-row-size-72{row-gap:72px}:host(.M\\:v-gap-col-size-72),.M\\:v-gap-col-size-72{column-gap:72px}:host(.M\\:v-gap-size-80),.M\\:v-gap-size-80{gap:80px}:host(.M\\:v-gap-row-size-80),.M\\:v-gap-row-size-80{row-gap:80px}:host(.M\\:v-gap-col-size-80),.M\\:v-gap-col-size-80{column-gap:80px}:host(.M\\:v-gap-size-112),.M\\:v-gap-size-112{gap:112px}:host(.M\\:v-gap-row-size-112),.M\\:v-gap-row-size-112{row-gap:112px}:host(.M\\:v-gap-col-size-112),.M\\:v-gap-col-size-112{column-gap:112px}:host(.M\\:v-gap-size-2),.M\\:v-gap-size-2{gap:2px}:host(.M\\:v-gap-row-size-2),.M\\:v-gap-row-size-2{row-gap:2px}:host(.M\\:v-gap-col-size-2),.M\\:v-gap-col-size-2{column-gap:2px}}@media (min-width: 1024px){:host(.L\\:v-gap-0),.L\\:v-gap-0{gap:0px}:host(.L\\:v-gap-row-0),.L\\:v-gap-row-0{row-gap:0px}:host(.L\\:v-gap-col-0),.L\\:v-gap-col-0{column-gap:0px}:host(.L\\:v-gap-size-0),.L\\:v-gap-size-0{gap:0px}:host(.L\\:v-gap-row-size-0),.L\\:v-gap-row-size-0{row-gap:0px}:host(.L\\:v-gap-col-size-0),.L\\:v-gap-col-size-0{column-gap:0px}:host(.L\\:v-gap-size-4),.L\\:v-gap-size-4{gap:4px}:host(.L\\:v-gap-row-size-4),.L\\:v-gap-row-size-4{row-gap:4px}:host(.L\\:v-gap-col-size-4),.L\\:v-gap-col-size-4{column-gap:4px}:host(.L\\:v-gap-size-8),.L\\:v-gap-size-8{gap:8px}:host(.L\\:v-gap-row-size-8),.L\\:v-gap-row-size-8{row-gap:8px}:host(.L\\:v-gap-col-size-8),.L\\:v-gap-col-size-8{column-gap:8px}:host(.L\\:v-gap-size-12),.L\\:v-gap-size-12{gap:12px}:host(.L\\:v-gap-row-size-12),.L\\:v-gap-row-size-12{row-gap:12px}:host(.L\\:v-gap-col-size-12),.L\\:v-gap-col-size-12{column-gap:12px}:host(.L\\:v-gap-size-16),.L\\:v-gap-size-16{gap:16px}:host(.L\\:v-gap-row-size-16),.L\\:v-gap-row-size-16{row-gap:16px}:host(.L\\:v-gap-col-size-16),.L\\:v-gap-col-size-16{column-gap:16px}:host(.L\\:v-gap-size-20),.L\\:v-gap-size-20{gap:20px}:host(.L\\:v-gap-row-size-20),.L\\:v-gap-row-size-20{row-gap:20px}:host(.L\\:v-gap-col-size-20),.L\\:v-gap-col-size-20{column-gap:20px}:host(.L\\:v-gap-size-24),.L\\:v-gap-size-24{gap:24px}:host(.L\\:v-gap-row-size-24),.L\\:v-gap-row-size-24{row-gap:24px}:host(.L\\:v-gap-col-size-24),.L\\:v-gap-col-size-24{column-gap:24px}:host(.L\\:v-gap-size-32),.L\\:v-gap-size-32{gap:32px}:host(.L\\:v-gap-row-size-32),.L\\:v-gap-row-size-32{row-gap:32px}:host(.L\\:v-gap-col-size-32),.L\\:v-gap-col-size-32{column-gap:32px}:host(.L\\:v-gap-size-40),.L\\:v-gap-size-40{gap:40px}:host(.L\\:v-gap-row-size-40),.L\\:v-gap-row-size-40{row-gap:40px}:host(.L\\:v-gap-col-size-40),.L\\:v-gap-col-size-40{column-gap:40px}:host(.L\\:v-gap-size-48),.L\\:v-gap-size-48{gap:48px}:host(.L\\:v-gap-row-size-48),.L\\:v-gap-row-size-48{row-gap:48px}:host(.L\\:v-gap-col-size-48),.L\\:v-gap-col-size-48{column-gap:48px}:host(.L\\:v-gap-size-64),.L\\:v-gap-size-64{gap:64px}:host(.L\\:v-gap-row-size-64),.L\\:v-gap-row-size-64{row-gap:64px}:host(.L\\:v-gap-col-size-64),.L\\:v-gap-col-size-64{column-gap:64px}:host(.L\\:v-gap-size-72),.L\\:v-gap-size-72{gap:72px}:host(.L\\:v-gap-row-size-72),.L\\:v-gap-row-size-72{row-gap:72px}:host(.L\\:v-gap-col-size-72),.L\\:v-gap-col-size-72{column-gap:72px}:host(.L\\:v-gap-size-80),.L\\:v-gap-size-80{gap:80px}:host(.L\\:v-gap-row-size-80),.L\\:v-gap-row-size-80{row-gap:80px}:host(.L\\:v-gap-col-size-80),.L\\:v-gap-col-size-80{column-gap:80px}:host(.L\\:v-gap-size-112),.L\\:v-gap-size-112{gap:112px}:host(.L\\:v-gap-row-size-112),.L\\:v-gap-row-size-112{row-gap:112px}:host(.L\\:v-gap-col-size-112),.L\\:v-gap-col-size-112{column-gap:112px}:host(.L\\:v-gap-size-2),.L\\:v-gap-size-2{gap:2px}:host(.L\\:v-gap-row-size-2),.L\\:v-gap-row-size-2{row-gap:2px}:host(.L\\:v-gap-col-size-2),.L\\:v-gap-col-size-2{column-gap:2px}}@media (min-width: 1440px){:host(.XL\\:v-gap-0),.XL\\:v-gap-0{gap:0px}:host(.XL\\:v-gap-row-0),.XL\\:v-gap-row-0{row-gap:0px}:host(.XL\\:v-gap-col-0),.XL\\:v-gap-col-0{column-gap:0px}:host(.XL\\:v-gap-size-0),.XL\\:v-gap-size-0{gap:0px}:host(.XL\\:v-gap-row-size-0),.XL\\:v-gap-row-size-0{row-gap:0px}:host(.XL\\:v-gap-col-size-0),.XL\\:v-gap-col-size-0{column-gap:0px}:host(.XL\\:v-gap-size-4),.XL\\:v-gap-size-4{gap:4px}:host(.XL\\:v-gap-row-size-4),.XL\\:v-gap-row-size-4{row-gap:4px}:host(.XL\\:v-gap-col-size-4),.XL\\:v-gap-col-size-4{column-gap:4px}:host(.XL\\:v-gap-size-8),.XL\\:v-gap-size-8{gap:8px}:host(.XL\\:v-gap-row-size-8),.XL\\:v-gap-row-size-8{row-gap:8px}:host(.XL\\:v-gap-col-size-8),.XL\\:v-gap-col-size-8{column-gap:8px}:host(.XL\\:v-gap-size-12),.XL\\:v-gap-size-12{gap:12px}:host(.XL\\:v-gap-row-size-12),.XL\\:v-gap-row-size-12{row-gap:12px}:host(.XL\\:v-gap-col-size-12),.XL\\:v-gap-col-size-12{column-gap:12px}:host(.XL\\:v-gap-size-16),.XL\\:v-gap-size-16{gap:16px}:host(.XL\\:v-gap-row-size-16),.XL\\:v-gap-row-size-16{row-gap:16px}:host(.XL\\:v-gap-col-size-16),.XL\\:v-gap-col-size-16{column-gap:16px}:host(.XL\\:v-gap-size-20),.XL\\:v-gap-size-20{gap:20px}:host(.XL\\:v-gap-row-size-20),.XL\\:v-gap-row-size-20{row-gap:20px}:host(.XL\\:v-gap-col-size-20),.XL\\:v-gap-col-size-20{column-gap:20px}:host(.XL\\:v-gap-size-24),.XL\\:v-gap-size-24{gap:24px}:host(.XL\\:v-gap-row-size-24),.XL\\:v-gap-row-size-24{row-gap:24px}:host(.XL\\:v-gap-col-size-24),.XL\\:v-gap-col-size-24{column-gap:24px}:host(.XL\\:v-gap-size-32),.XL\\:v-gap-size-32{gap:32px}:host(.XL\\:v-gap-row-size-32),.XL\\:v-gap-row-size-32{row-gap:32px}:host(.XL\\:v-gap-col-size-32),.XL\\:v-gap-col-size-32{column-gap:32px}:host(.XL\\:v-gap-size-40),.XL\\:v-gap-size-40{gap:40px}:host(.XL\\:v-gap-row-size-40),.XL\\:v-gap-row-size-40{row-gap:40px}:host(.XL\\:v-gap-col-size-40),.XL\\:v-gap-col-size-40{column-gap:40px}:host(.XL\\:v-gap-size-48),.XL\\:v-gap-size-48{gap:48px}:host(.XL\\:v-gap-row-size-48),.XL\\:v-gap-row-size-48{row-gap:48px}:host(.XL\\:v-gap-col-size-48),.XL\\:v-gap-col-size-48{column-gap:48px}:host(.XL\\:v-gap-size-64),.XL\\:v-gap-size-64{gap:64px}:host(.XL\\:v-gap-row-size-64),.XL\\:v-gap-row-size-64{row-gap:64px}:host(.XL\\:v-gap-col-size-64),.XL\\:v-gap-col-size-64{column-gap:64px}:host(.XL\\:v-gap-size-72),.XL\\:v-gap-size-72{gap:72px}:host(.XL\\:v-gap-row-size-72),.XL\\:v-gap-row-size-72{row-gap:72px}:host(.XL\\:v-gap-col-size-72),.XL\\:v-gap-col-size-72{column-gap:72px}:host(.XL\\:v-gap-size-80),.XL\\:v-gap-size-80{gap:80px}:host(.XL\\:v-gap-row-size-80),.XL\\:v-gap-row-size-80{row-gap:80px}:host(.XL\\:v-gap-col-size-80),.XL\\:v-gap-col-size-80{column-gap:80px}:host(.XL\\:v-gap-size-112),.XL\\:v-gap-size-112{gap:112px}:host(.XL\\:v-gap-row-size-112),.XL\\:v-gap-row-size-112{row-gap:112px}:host(.XL\\:v-gap-col-size-112),.XL\\:v-gap-col-size-112{column-gap:112px}:host(.XL\\:v-gap-size-2),.XL\\:v-gap-size-2{gap:2px}:host(.XL\\:v-gap-row-size-2),.XL\\:v-gap-row-size-2{row-gap:2px}:host(.XL\\:v-gap-col-size-2),.XL\\:v-gap-col-size-2{column-gap:2px}}:host{display:grid}:host(.v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}:host(.v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}@media (min-width: 320px){:host(.S\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.S\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.S\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.S\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.S\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.S\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.S\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.S\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.S\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.S\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.S\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.S\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.S\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.S\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.S\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.S\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.S\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.S\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.S\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.S\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.S\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.S\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.S\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.S\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 768px){:host(.M\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.M\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.M\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.M\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.M\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.M\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.M\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.M\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.M\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.M\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.M\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.M\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.M\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.M\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.M\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.M\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.M\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.M\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.M\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.M\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.M\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.M\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.M\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.M\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 1024px){:host(.L\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.L\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.L\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.L\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.L\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.L\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.L\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.L\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.L\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.L\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.L\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.L\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.L\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.L\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.L\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.L\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.L\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.L\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.L\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.L\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.L\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.L\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.L\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.L\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 1440px){:host(.XL\\:v-grid-rows-1){grid-template-rows:repeat(1, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-2){grid-template-rows:repeat(2, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-3){grid-template-rows:repeat(3, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-4){grid-template-rows:repeat(4, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-5){grid-template-rows:repeat(5, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-6){grid-template-rows:repeat(6, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-7){grid-template-rows:repeat(7, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-8){grid-template-rows:repeat(8, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-9){grid-template-rows:repeat(9, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-10){grid-template-rows:repeat(10, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-11){grid-template-rows:repeat(11, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-12){grid-template-rows:repeat(12, minmax(0, 1fr))}:host(.XL\\:v-grid-rows-1-auto){grid-template-rows:repeat(1, auto)}:host(.XL\\:v-grid-rows-2-auto){grid-template-rows:repeat(2, auto)}:host(.XL\\:v-grid-rows-3-auto){grid-template-rows:repeat(3, auto)}:host(.XL\\:v-grid-rows-4-auto){grid-template-rows:repeat(4, auto)}:host(.XL\\:v-grid-rows-5-auto){grid-template-rows:repeat(5, auto)}:host(.XL\\:v-grid-rows-6-auto){grid-template-rows:repeat(6, auto)}:host(.XL\\:v-grid-rows-7-auto){grid-template-rows:repeat(7, auto)}:host(.XL\\:v-grid-rows-8-auto){grid-template-rows:repeat(8, auto)}:host(.XL\\:v-grid-rows-9-auto){grid-template-rows:repeat(9, auto)}:host(.XL\\:v-grid-rows-10-auto){grid-template-rows:repeat(1, auto)}:host(.XL\\:v-grid-rows-11-auto){grid-template-rows:repeat(1, auto)}:host(.XL\\:v-grid-rows-12-auto){grid-template-rows:repeat(1, auto)}}@media (min-width: 320px){:host(.S\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.S\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.S\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.S\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.S\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.S\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.S\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.S\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.S\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.S\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.S\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.S\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.S\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.S\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.S\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.S\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.S\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.S\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.S\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.S\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.S\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.S\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.S\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.S\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}@media (min-width: 768px){:host(.M\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.M\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.M\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.M\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.M\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.M\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.M\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.M\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.M\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.M\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.M\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.M\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.M\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.M\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.M\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.M\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.M\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.M\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.M\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.M\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.M\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.M\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.M\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.M\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}@media (min-width: 1024px){:host(.L\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.L\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.L\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.L\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.L\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.L\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.L\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.L\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.L\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.L\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.L\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.L\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.L\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.L\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.L\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.L\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.L\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.L\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.L\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.L\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.L\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.L\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.L\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.L\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}@media (min-width: 1440px){:host(.XL\\:v-grid-cols-1){grid-template-columns:repeat(1, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-2){grid-template-columns:repeat(2, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-3){grid-template-columns:repeat(3, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-4){grid-template-columns:repeat(4, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-5){grid-template-columns:repeat(5, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-6){grid-template-columns:repeat(6, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-7){grid-template-columns:repeat(7, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-8){grid-template-columns:repeat(8, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-9){grid-template-columns:repeat(9, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-10){grid-template-columns:repeat(10, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-11){grid-template-columns:repeat(11, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-12){grid-template-columns:repeat(12, minmax(0, 1fr))}:host(.XL\\:v-grid-cols-1-auto){grid-template-columns:repeat(1, auto)}:host(.XL\\:v-grid-cols-2-auto){grid-template-columns:repeat(2, auto)}:host(.XL\\:v-grid-cols-3-auto){grid-template-columns:repeat(3, auto)}:host(.XL\\:v-grid-cols-4-auto){grid-template-columns:repeat(4, auto)}:host(.XL\\:v-grid-cols-5-auto){grid-template-columns:repeat(5, auto)}:host(.XL\\:v-grid-cols-6-auto){grid-template-columns:repeat(6, auto)}:host(.XL\\:v-grid-cols-7-auto){grid-template-columns:repeat(7, auto)}:host(.XL\\:v-grid-cols-8-auto){grid-template-columns:repeat(8, auto)}:host(.XL\\:v-grid-cols-9-auto){grid-template-columns:repeat(9, auto)}:host(.XL\\:v-grid-cols-10-auto){grid-template-columns:repeat(1, auto)}:host(.XL\\:v-grid-cols-11-auto){grid-template-columns:repeat(1, auto)}:host(.XL\\:v-grid-cols-12-auto){grid-template-columns:repeat(1, auto)}}:host(.v-justify-items-start){justify-items:start}:host(.v-justify-items-center){justify-items:center}:host(.v-justify-items-end){justify-items:end}:host(.v-justify-items-stretch){justify-items:stretch}@media (min-width: 320px){:host(.S\\:v-justify-items-start){justify-items:start}:host(.S\\:v-justify-items-center){justify-items:center}:host(.S\\:v-justify-items-end){justify-items:end}:host(.S\\:v-justify-items-stretch){justify-items:stretch}}@media (min-width: 768px){:host(.M\\:v-justify-items-start){justify-items:start}:host(.M\\:v-justify-items-center){justify-items:center}:host(.M\\:v-justify-items-end){justify-items:end}:host(.M\\:v-justify-items-stretch){justify-items:stretch}}@media (min-width: 1024px){:host(.L\\:v-justify-items-start){justify-items:start}:host(.L\\:v-justify-items-center){justify-items:center}:host(.L\\:v-justify-items-end){justify-items:end}:host(.L\\:v-justify-items-stretch){justify-items:stretch}}@media (min-width: 1440px){:host(.XL\\:v-justify-items-start){justify-items:start}:host(.XL\\:v-justify-items-center){justify-items:center}:host(.XL\\:v-justify-items-end){justify-items:end}:host(.XL\\:v-justify-items-stretch){justify-items:stretch}}";export{l as vega_grid}
@@ -0,0 +1 @@
1
+ import{c as t,M as e}from"./p-6e1ab235.js";import{a8 as s,R as i,ad as n,ag as o,h as r,s as a,a as c,f as h,o as f,p as d}from"./p-9f608b97.js";import{d as l}from"./p-1bc5b3bc.js";import{g as u}from"./p-519a7d55.js";import{C as p}from"./p-2d0d575f.js";import{d as m,D as O}from"./p-526e3634.js";import{e as b,c as g}from"./p-5ffc7cb8.js";import{O as w}from"./p-331a62d5.js";import{R as C}from"./p-cd2a1ffb.js";import{A as v}from"./p-4d65756f.js";import{i as N}from"./p-528748fa.js";import{K as S}from"./p-66905cbf.js";let R=!1;class y{constructor(){this.rangeCount=0,this.ranges=[]}getRangeAt(t){return this.ranges[t]}addRange(t){if(this.ranges.push(t),this.rangeCount=this.ranges.length,!R){const e=window.getSelection();e.removeAllRanges(),e.setBaseAndExtent(t.startContainer,t.startOffset,t.endContainer,t.endOffset)}}removeAllRanges(){this.ranges=[],this.rangeCount=0}}const j=new class{constructor(){this.supportShadowSelection="function"==typeof window.ShadowRoot.prototype.getSelection,this.supportBeforeInput="function"==typeof window.InputEvent.prototype.getTargetRanges,this.isFirefox=window.navigator.userAgent.toLowerCase().indexOf("firefox")>0,this.listen()}getSelection(t){return this.supportShadowSelection?t.getSelection():this.isFirefox?this.getFirefoxSelection():this.polyfilledShadowSelection}getFirefoxSelection(){const t=document.getSelection();if(t.rangeCount>0){const e=t.getRangeAt(0),s=e.startContainer,i=e.endContainer;if(s!==i&&s.textContent.length===e.startOffset){const t=s.nodeType===Node.TEXT_NODE?s.parentNode.nextSibling:s.nextSibling;e.setStart(t.firstChild,0)}if(i!==s&&0===e.endOffset){const t=i.nodeType===Node.TEXT_NODE?i.parentNode.previousSibling:i.previousSibling;e.setEnd(t.lastChild,t.lastChild.textContent.length)}}return t}listen(){this.isFirefox||this.supportShadowSelection||!this.supportBeforeInput||(this.polyfilledShadowSelection=new y,window.addEventListener("selectionchange",(()=>{if(!R){R=!0;const t=u();t&&t.hasAttribute("contenteditable")?document.execCommand("indent"):this.polyfilledShadowSelection.removeAllRanges(),R=!1}}),!0),window.addEventListener("beforeinput",(t=>{if(R){const e=t.getTargetRanges()[0],s=new Range;s.setStart(e.startContainer,e.startOffset),s.setEnd(e.endContainer,e.endOffset),this.polyfilledShadowSelection.removeAllRanges(),this.polyfilledShadowSelection.addRange(s),t.preventDefault(),t.stopImmediatePropagation()}}),!0))}};class k{constructor(t){this.range=t}clone(){const t=this.range.clone();return new k(t)}}var x=function(t,e,s,i){var n,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(r=(o<3?n(r):o>3?n(e,s,r):n(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r};class D extends v{constructor(){super(1),this.currentRange=new C,this.handleSelectionWithDebounce=l(this.handleSelectionChange,D.SELECTION_CHANGE_DEBOUNCE_TIME,this),this.pendingRestoreSelectionNodes=[],this.doTask=async()=>{await Promise.resolve();const t=this.currentRange.toNativeRange();t&&(this.setSelectionRange(t),this.scrollCaretIntoView(t))}}connectedCallback(){this.registerSelectionRangeChangeObserver()}disconnectedCallback(){p.unregister(m.getSubject(this.host,b),this.selectionRangeChangeObserver),O.removeUniqueObserverFromNode(this.host,g)}componentDidLoad(){document.addEventListener("selectionchange",this.handleSelectionWithDebounce),this.registerUpdateCaretPositionObserver()}watchValueUpdate(){this.prepareRestoreSelectionState(),this.restoreSelection()}getCurrentRange(){return this.currentRange}getSelectedNodes(){return Array.from(this.selectionMap.values()).flat()}setSelectedNodes(t,e){this.clearSelectionMap(),this.addNodesToSelectionMap(t),e&&(this.currentRange=this.currentRange.updateRTERange(e))}getSelectedBlocks(){return Array.from(this.selectionMap.keys())}setSelectionState(t){this.selectionState=t}enqueueSelectionRangeFutureState(t,e,i,n,o=!1){t instanceof s?this.internalCodeBlockSelectionController.enqueueSelectionRangeFutureState(t,e,o):(this.currentRange=this.currentRange.updateRTERange({startNode:t,endNode:i=i||t,startOffset:e,endOffset:n=n||0===n?n:e}),super.enqueueTheTaskIntoQueue(o))}setSelectionRange(t){const e=this.getSelection();e&&(e.removeAllRanges(),e.addRange(t),this.saveSelection())}getSelection(){const t=this.vegaRichTextEditorRenderer.getRichTextContentRef();return j.getSelection(t.shadowRoot)}scrollCaretIntoView(t){const e=this.vegaRichTextEditorRenderer.getRichTextContentRef(),s=this.getCaretRect(t);if(!e||!s)return;const i=e.getBoundingClientRect();0===i.width||0===i.height||0===s.top&&0===s.bottom&&0===s.left&&0===s.right||(s.bottom>i.bottom?e.scrollTop+=s.bottom-i.bottom:s.top<i.top&&(e.scrollTop-=i.top-s.top))}getCaretRect(t){if("function"!=typeof t.getBoundingClientRect)return null;const e=t.getBoundingClientRect();if(e.height>0)return e;const s=t.startContainer,i=s.nodeType===Node.TEXT_NODE?s.parentElement:s;return i?i.getBoundingClientRect():null}saveSelection(){const t=this.getSelection();if(t&&t.rangeCount>0&&0===this.autoRunTaskQueue.queue.length&&!this.insertCompositionTextController.isComposing()){const e=t.getRangeAt(0),{startContainer:s,endContainer:i,startOffset:n,endOffset:o}=e;this.currentRange=this.currentRange.updateRTERange({startNode:s,endNode:i,startOffset:n,endOffset:o},e)}}restoreSelection(){if(this.selectionState){const{startNode:t,endNode:e,startOffset:s,endOffset:o}=this.selectionState.range;t instanceof i&&t===e&&0===t.text.length?this.enqueueSelectionRangeFutureState(t,n.length):t===e&&t instanceof i&&!t.isContentEditable()||this.enqueueSelectionRangeFutureState(t,s,e,o),this.selectionState=null}}handleSelectionChange(){if(this.disabled||this.sourceView)return;this.clearSelectionMap();const t=this.getSelection();if(!t||0===t.rangeCount)return;this.saveSelection();const e=t.getRangeAt(0),s=[],i=t=>{if(e.intersectsNode(t)){if(t.nodeType===Node.TEXT_NODE){const e=a.getEntityByDOM(t.parentElement);if(e instanceof h)return void s.push(e)}if(N(t)){const i=f.isDecoratorNodeContainerElement(t)?f.getDecoratorNodeElement(t):t,n=a.getEntityByDOM(i);if(n instanceof d)return void(this.internalCodeBlockSelectionController.isCodeBlockSelected(n,e)&&s.push(n.children[0]));if(n instanceof h)return void s.push(n);if(n instanceof c&&e.collapsed)return void this.tryToFindTheNearestSelectedNode(e,s)}t.childNodes.forEach(i)}};i(e.commonAncestorContainer),this.addNodesToSelectionMap(s),this.getSelectedNodes().forEach((t=>t.apply(new o(e))))}addNodesToSelectionMap(t){t.forEach((t=>{this.selectionMap.has(t.parent)?this.selectionMap.get(t.parent).push(t):this.selectionMap.set(t.parent,[t])}))}clearSelectionMap(){this.getSelectedNodes().filter((t=>"CODE_BLOCK_NODE"!==t.type)).forEach((t=>{t.annotationMap.delete(r.SELECTION_RANGE)})),this.selectionMap=new Map}isAcceptableSelectionRangeChange(){return!0}registerSelectionRangeChangeObserver(){this.selectionRangeChangeObserver=new w(this.isAcceptableSelectionRangeChange.bind(this),(t=>{t.updateDirectly?this.enqueueSelectionRangeFutureState(t.node,t.offset):this.pendingRestoreSelectionNodes.push(t.node)})),p.register(m.getSubject(this.host,b),this.selectionRangeChangeObserver)}prepareRestoreSelectionState(){if(this.pendingRestoreSelectionNodes.length>0){const t=this.pendingRestoreSelectionNodes[0],e=this.pendingRestoreSelectionNodes.length>1?this.pendingRestoreSelectionNodes[this.pendingRestoreSelectionNodes.length-1]:t,{startOffset:s,endOffset:i,endContainer:n,startContainer:o}=this.currentRange;o&&a.getDOMByEntity(t)===o.parentElement&&n&&a.getDOMByEntity(e)===n.parentElement?(this.currentRange=this.currentRange.updateRTERange({startNode:t,endNode:e,startOffset:s,endOffset:i}),this.selectionState=new k(this.currentRange)):(this.currentRange=this.currentRange.updateRTERange({startNode:t,endNode:e,startOffset:0,endOffset:e.getRangeEndOffset()}),this.selectionState=new k(this.currentRange)),this.pendingRestoreSelectionNodes=[]}}registerUpdateCaretPositionObserver(){O.addUniqueObserverToNode(this.host,g,(t=>{const{node:e,updateDirectly:s}=t,i="number"==typeof t.offset?t.offset:e.getRangeEndOffset();this.enqueueSelectionRangeFutureState(e,i,e,i,s)}))}tryToFindTheNearestSelectedNode(t,e){const{startContainer:s,startOffset:i,collapsed:n}=t;if(0===e.length&&N(s)&&n){const n=a.getEntityByDOM(s);if(n instanceof c&&n.children.length>=i){const s=this.detectNearestElement(n,i);if(s){const{startNode:i,startOffset:n}=s;e.push(i),this.currentRange=this.currentRange.updateRTERange({startNode:i,endNode:i,startOffset:n,endOffset:n},t)}else this.selectionMap.set(n,[])}}}detectNearestElement(t,e){if(t.children){const s=t.children[e],i=t.children[e-1];if(s&&s instanceof h)return{startNode:s,startOffset:0};if(i&&i instanceof h)return{startNode:i,startOffset:i.getRangeEndOffset()}}}}D.SELECTION_CHANGE_DEBOUNCE_TIME=50,x([t()],D.prototype,"vegaRichTextEditorRenderer",void 0),x([t({writable:!0})],D.prototype,"selectionMap",void 0),x([t()],D.prototype,"host",void 0),x([t()],D.prototype,"value",void 0),x([t()],D.prototype,"disabled",void 0),x([t()],D.prototype,"sourceView",void 0),x([t()],D.prototype,"valueController",void 0),x([t()],D.prototype,"insertCompositionTextController",void 0),x([t()],D.prototype,"historyController",void 0),x([t()],D.prototype,"internalCodeBlockSelectionController",void 0),x([e("connectedCallback")],D.prototype,"connectedCallback",null),x([e("disconnectedCallback")],D.prototype,"disconnectedCallback",null),x([e("componentDidLoad")],D.prototype,"componentDidLoad",null),x([e("watchValueUpdate")],D.prototype,"watchValueUpdate",null);class A extends S{constructor(){super((()=>this.getKeyboardShortcutOptions.call(this))),this.redoStack=[],this.undoStack=[],this.hasPendingHistory=!1,this.registerHistoryDelay=300,this.registerHistoryDebounced=l((t=>{this.internalRegisterHistory(t)}),this.registerHistoryDelay,this)}registerHistory(t,e=!1){e?this.internalRegisterHistory(t):(this.hasPendingHistory=!0,this.redoStack=[],this.registerHistoryDebounced(t))}canUndo(){return this.undoStack.length>1||this.hasPendingHistory}canRedo(){return this.redoStack.length>0}internalRegisterHistory(t){this.hasPendingHistory=!1,this.redoStack=[],this.undoStack.push(t)}getKeyboardShortcutOptions(){const t={keyCode:"KeyZ",activeElementInScope:this.getEffectiveTargets(),activeElementOutScope:this.getIneffectiveTargets.bind(this),eventName:"keydown",modifierPressed:!0};return[Object.assign(Object.assign({},t),{shiftKey:!1,callback:t=>{t.preventDefault(),this.canUndo()&&this.undo()}}),Object.assign(Object.assign({},t),{shiftKey:!0,callback:t=>{t.preventDefault(),this.canRedo()&&this.redo()}})]}}export{A as C,k as R,j as S,D as a}
@@ -1 +1 @@
1
- import{h as t}from"./p-6b2342e0.js";import{V as e}from"./p-724df1f5.js";import{c as o,V as s}from"./p-6e1ab235.js";import{A as r,Z as i,R as n,ah as c,N as l,j as h}from"./p-35d617d5.js";import{D as a}from"./p-526e3634.js";import{a as u,c as d,b as p,i as f}from"./p-fcefb62c.js";import{a as v}from"./p-3e09aeed.js";import{g as m}from"./p-85dcd07b.js";var b=function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};class C extends s{constructor({icon:e,tooltip:o,autoFocusOnClick:s=!0}){super(),this.renderBtn=({showArrowIcon:e,iconColor:o}={})=>{var s;return t("vega-tooltip",{text:this.translationSlimmer.t(this.tooltip.text),placement:["bottom","top"]},t("vega-rich-text-editor-toolbar-button",Object.assign({showArrowIcon:e,icon:this.icon,iconColor:o,ref:t=>{a.addUniqueObserverToNode(t,u,(()=>{this.handleClick()}))},selected:this.isSelected(),disabled:this.isDisabled(),hidden:this.isHidden()},this.preventLostFocus()),null===(s=this.renderSlotContent)||void 0===s?void 0:s.call(this)))},this.handleClick=()=>{"function"==typeof this.onClick&&(!this.selectionController.getSelectedNodes().length&&this.autoFocusOnClick?this.focusController.focusOnLastTextNode().then((()=>{this.onClick()})):this.onClick())},this.icon=e,this.tooltip=o,this.autoFocusOnClick=s}setIcon(t){this.icon=t}isHidden(){return!1}render(){return"function"==typeof this.renderBtnWrapper?this.renderBtnWrapper(this.renderBtn):this.renderBtn()}isDisabled(){return this.disabled}preventLostFocus(){return{onMouseDown:t=>t.preventDefault()}}}b([o()],C.prototype,"translationSlimmer",void 0),b([o()],C.prototype,"selectionController",void 0),b([o()],C.prototype,"focusController",void 0),b([o()],C.prototype,"disabled",void 0);class w extends C{constructor(t){super(t)}isHidden(){return this.sourceView}isDisabled(){return super.isDisabled()&&!this.sourceView}shouldDisabledToolbar(t,e){return t&&!r.canHandle(e,t)}}!function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);i>3&&n&&Object.defineProperty(e,o,n)}([o()],w.prototype,"sourceView",void 0);var j=function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};class x extends w{constructor(){super({icon:"text",tooltip:{text:"Text Color"}}),this.popoverShow=!1,v.registerCustomDarkModeColor(x.formatDarkModeColor())}static formatDarkModeColor(){return i.reduce(((t,e)=>(e.dark&&(t[`rich-text-editor-${e.key}`]=e.dark),t)),{})}renderSlotContent(){return t("div",{class:{"toolbar-btn-color-preview-box":!0,disabled:this.isDisabled()},style:{backgroundColor:this.getCurrentColor()}})}handlePopoverShowChange(){this.popoverShow=!0}handlePopoverHideChange(){this.popoverShow=!1}renderBtnWrapper(e){return t("vega-popover",{placement:"bottom",alignment:"center",ref:t=>{this.popoverRef=t,a.addUniqueObserverToNode(t,d,this.handlePopoverShowChange.bind(this)),a.addUniqueObserverToNode(t,p,this.handlePopoverHideChange.bind(this))}},t("div",{slot:"popover-content"},e({showArrowIcon:!1})),t("div",Object.assign({slot:"popover",style:{userSelect:"none"}},super.preventLostFocus()),this.renderPopoverContent()))}renderPopoverContent(){return t("vega-color-picker",{isInline:!0,colors:i.map((t=>t[this.isInDarkMode?"dark":"light"])),ref:t=>{a.addUniqueObserverToNode(t,f,this.handleChange.bind(this))},value:this.getCurrentColor()})}async handleChange(t){this.popoverShow&&(this.selectionController.getSelectedNodes().length||await this.focusController.focusOnLastTextNode(),this.selectionController.getSelectedNodes().filter((t=>t instanceof n)).forEach((e=>e.apply(new c(this.matchColor(t.detail).key))))),this.popoverRef.hide()}matchColor(t){return i.find((e=>e[this.isInDarkMode?"dark":"light"]===t))}getCurrentColor(){let t=i[0];const e=this.selectionController.getSelectedNodes();return e.length>1&&(t=this.isSelectedSameColor(e)?this.getTextColor(e[0]):null),1===e.length&&(t=this.getTextColor(e[0])),t?t[this.isInDarkMode?"dark":"light"]:null}isSelected(){return!1}isSelectedSameColor(t){return t.every((e=>this.getTextColor(e).key===this.getTextColor(t[0]).key))}getTextColor(t){var e;return(null===(e=t.getAnnotationByType("TEXT_COLOR"))||void 0===e?void 0:e.textColor)||i[0]}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)||t.getAnnotationByType(l.LINK)||this.shouldDisabledToolbar(t,c.name)}))}}e.register({text:{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="M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"/></svg>'}}),j([o()],x.prototype,"host",void 0),j([o()],x.prototype,"isInDarkMode",void 0),j([o()],x.prototype,"selectionController",void 0),j([o()],x.prototype,"focusController",void 0);const g=/^((\w+:(\/{2,})?)|(\W))/i;function y(t,e){const o=(t||"").trim();if(!o)return o;const s=(e||"").trim();return!s||g.test(o)?o:`${s}${o}`}class O extends h{constructor(t,e){super(),this.isFlushable=!0,this.size=t,this.alt=e}toAnnotation(){return new m(this.size,this.alt)}}export{O as I,x as T,w as V,C as a,y as n}
1
+ import{h as t}from"./p-6b2342e0.js";import{V as e}from"./p-6031bed1.js";import{c as o,V as s}from"./p-6e1ab235.js";import{A as r,Z as i,R as n,ah as c,N as l,j as a}from"./p-9f608b97.js";import{D as h}from"./p-526e3634.js";import{a as u,c as d,b as p,j as f}from"./p-cb4033ef.js";import{a as v}from"./p-3e09aeed.js";import{g as m}from"./p-c0c2a917.js";var b=function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};class C extends s{constructor({icon:e,tooltip:o,autoFocusOnClick:s=!0}){super(),this.renderBtn=({showArrowIcon:e,iconColor:o}={})=>{var s;return t("vega-tooltip",{text:this.translationSlimmer.t(this.tooltip.text),placement:["bottom","top"]},t("vega-rich-text-editor-toolbar-button",Object.assign({showArrowIcon:e,icon:this.icon,iconColor:o,ref:t=>{h.addUniqueObserverToNode(t,u,(()=>{this.handleClick()}))},selected:this.isSelected(),disabled:this.isDisabled(),hidden:this.isHidden()},this.preventLostFocus()),null===(s=this.renderSlotContent)||void 0===s?void 0:s.call(this)))},this.handleClick=()=>{"function"==typeof this.onClick&&(!this.selectionController.getSelectedNodes().length&&this.autoFocusOnClick?this.focusController.focusOnLastTextNode().then((()=>{this.onClick()})):this.onClick())},this.icon=e,this.tooltip=o,this.autoFocusOnClick=s}setIcon(t){this.icon=t}isHidden(){return!1}render(){return"function"==typeof this.renderBtnWrapper?this.renderBtnWrapper(this.renderBtn):this.renderBtn()}isDisabled(){return this.disabled}preventLostFocus(){return{onMouseDown:t=>t.preventDefault()}}}b([o()],C.prototype,"translationSlimmer",void 0),b([o()],C.prototype,"selectionController",void 0),b([o()],C.prototype,"focusController",void 0),b([o()],C.prototype,"disabled",void 0);class w extends C{constructor(t){super(t)}isHidden(){return this.sourceView}isDisabled(){return super.isDisabled()&&!this.sourceView}shouldDisabledToolbar(t,e){return t&&!r.canHandle(e,t)}}!function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);i>3&&n&&Object.defineProperty(e,o,n)}([o()],w.prototype,"sourceView",void 0);var j=function(t,e,o,s){var r,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};class x extends w{constructor(){super({icon:"text",tooltip:{text:"Text Color"}}),this.popoverShow=!1,v.registerCustomDarkModeColor(x.formatDarkModeColor())}static formatDarkModeColor(){return i.reduce(((t,e)=>(e.dark&&(t[`rich-text-editor-${e.key}`]=e.dark),t)),{})}renderSlotContent(){return t("div",{class:{"toolbar-btn-color-preview-box":!0,disabled:this.isDisabled()},style:{backgroundColor:this.getCurrentColor()}})}handlePopoverShowChange(){this.popoverShow=!0}handlePopoverHideChange(){this.popoverShow=!1}renderBtnWrapper(e){return t("vega-popover",{placement:"bottom",alignment:"center",ref:t=>{this.popoverRef=t,h.addUniqueObserverToNode(t,d,this.handlePopoverShowChange.bind(this)),h.addUniqueObserverToNode(t,p,this.handlePopoverHideChange.bind(this))}},t("div",{slot:"popover-content"},e({showArrowIcon:!1})),t("div",Object.assign({slot:"popover",style:{userSelect:"none"}},super.preventLostFocus()),this.renderPopoverContent()))}renderPopoverContent(){return t("vega-color-picker",{isInline:!0,colors:i.map((t=>t[this.isInDarkMode?"dark":"light"])),ref:t=>{h.addUniqueObserverToNode(t,f,this.handleChange.bind(this))},value:this.getCurrentColor()})}async handleChange(t){this.popoverShow&&(this.selectionController.getSelectedNodes().length||await this.focusController.focusOnLastTextNode(),this.selectionController.getSelectedNodes().filter((t=>t instanceof n)).forEach((e=>e.apply(new c(this.matchColor(t.detail).key))))),this.popoverRef.hide()}matchColor(t){return i.find((e=>e[this.isInDarkMode?"dark":"light"]===t))}getCurrentColor(){let t=i[0];const e=this.selectionController.getSelectedNodes();return e.length>1&&(t=this.isSelectedSameColor(e)?this.getTextColor(e[0]):null),1===e.length&&(t=this.getTextColor(e[0])),t?t[this.isInDarkMode?"dark":"light"]:null}isSelected(){return!1}isSelectedSameColor(t){return t.every((e=>this.getTextColor(e).key===this.getTextColor(t[0]).key))}getTextColor(t){var e;return(null===(e=t.getAnnotationByType("TEXT_COLOR"))||void 0===e?void 0:e.textColor)||i[0]}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)||t.getAnnotationByType(l.LINK)||this.shouldDisabledToolbar(t,c.name)}))}}e.register({text:{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="M64 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V80C0 53.5 21.5 32 48 32H224 400c26.5 0 48 21.5 48 48v48c0 17.7-14.3 32-32 32s-32-14.3-32-32V96H256l0 320h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H144c-17.7 0-32-14.3-32-32s14.3-32 32-32h48l0-320H64z"/></svg>'}}),j([o()],x.prototype,"host",void 0),j([o()],x.prototype,"isInDarkMode",void 0),j([o()],x.prototype,"selectionController",void 0),j([o()],x.prototype,"focusController",void 0);const g=/^((\w+:(\/{2,})?)|(\W))/i;function y(t,e){const o=(t||"").trim();if(!o)return o;const s=(e||"").trim();return!s||g.test(o)?o:`${s}${o}`}class O extends a{constructor(t,e){super(),this.isFlushable=!0,this.size=t,this.alt=e}toAnnotation(){return new m(this.size,this.alt)}}export{O as I,x as T,w as V,C as a,y as n}
@@ -0,0 +1 @@
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 d,I as c}from"./p-6e1ab235.js";import{V as v,I as p}from"./p-8ce9e214.js";import{V as h}from"./p-6031bed1.js";import{D as f}from"./p-526e3634.js";import{a as g,j as u,C as b,r as m,D as x,E as w}from"./p-cb4033ef.js";import{g as C}from"./p-8b5d3a52.js";import{c as y}from"./p-3a620268.js";import{t as j}from"./p-aacf6920.js";import{c as F}from"./p-ef44d516.js";import{C as R}from"./p-2d0d575f.js";import{F as L}from"./p-cb378636.js";import{F as k}from"./p-141f74ff.js";import{F as z}from"./p-7bb39b97.js";import{D as E}from"./p-b19b1c08.js";import{T as M}from"./p-fea33425.js";import"./p-ffdc25ec.js";import"./p-afcd8f04.js";import"./p-6a334573.js";import"./p-331a62d5.js";import"./p-528748fa.js";import"./p-53ed3b1f.js";import"./p-b75ee3ba.js";import"./p-02841589.js";import"./p-5ffc7cb8.js";import"./p-ddc2d219.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-d14ddf80.js";import"./p-14bfc113.js";import"./p-bc73ce30.js";import"./p-982747ef.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,optional:this.optional,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,"optional",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 D=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 A 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>'}}),D([s()],A.prototype,"value",void 0),D([s()],A.prototype,"disabled",void 0),D([s()],A.prototype,"vegaFileUploaderFileStatusRenderer",void 0),D([s()],A.prototype,"removeEventEmitter",void 0),D([s()],A.prototype,"vegaFileUploaderValueController",void 0),D([s()],A.prototype,"retryEventEmitter",void 0),D([s()],A.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([d("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([d("componentDidLoad"),d("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 A,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.optional=!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([c()],G.prototype,"translationSlimmer",void 0),q([c()],G.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),q([c()],G.prototype,"formFieldController",void 0),q([c()],G.prototype,"vegaFileUploaderRenderer",void 0),q([c()],G.prototype,"vegaFileUploaderContainerRenderer",void 0),q([c()],G.prototype,"vegaFileUploaderFileListRenderer",void 0),q([c()],G.prototype,"vegaFileUploaderFileStatusRenderer",void 0),q([c()],G.prototype,"vegaFileUploaderValueController",void 0),q([c()],G.prototype,"dropFileFilterController",void 0),q([c()],G.prototype,"fileLimitController",void 0),q([c()],G.prototype,"changeEventEmitter",void 0),q([c()],G.prototype,"selectFileChangeEventEmitter",void 0),q([c()],G.prototype,"removeEventEmitter",void 0),q([c()],G.prototype,"retryEventEmitter",void 0),q([c()],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}
@@ -1 +1 @@
1
- import{c as t,M as e,V as s}from"./p-6e1ab235.js";import{i,j as n}from"./p-46cab60a.js";import{v as r}from"./p-5f377954.js";import{F as h}from"./p-dcf162e9.js";var o=function(t,e,s,i){var n,r=arguments.length,h=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(h=(r<3?n(h):r>3?n(e,s,h):n(e,s))||h);return r>3&&h&&Object.defineProperty(e,s,h),h};class a extends s{constructor(t,e,s,i){if(super(),this.eventIds=[],this.useCapture=!1,this.isEventListenerAdded=!1,this.disabled=!1,this.preventChildEvent=t=>{const e=this.getHostElement();if(!this.shouldSkipEventPrevent())if("function"==typeof this.customPreventHandle)this.customPreventHandle(t);else{const s=t.composedPath();e===t.target&&e===s[0]||t.stopImmediatePropagation()}},this.eventIds=t,this.getHostElement=e,!0===s)this.useCapture=!0;else if(s){const{useCapture:t=!1,customPreventHandle:e}=s;this.useCapture=t,this.customPreventHandle=e}this.disabled=!0===i}setup(){this.addOrRemoveEventListener("add")}checkEventListenerStatus(){this.isEventListenerAdded||this.setup(),this.setSkipEventPreventFlag()}destroy(){this.addOrRemoveEventListener("remove")}setSkipEventPreventFlag(){h.isEnabled("VEGA_REACT.SKIP_NATIVE_EVENT_PREVENT_BY_DEFAULT")&&this.disabled&&this.host&&"react"===r.getVegaEnv().framework&&"native"===i.getSemantics(this.host).namespace&&this.getHostElement().setAttribute("data-vega-no-event-prevent","true")}addOrRemoveEventListener(t){const e=this.getHostElement();this.eventIds&&this.eventIds.length&&e&&(this.eventIds.filter((t=>this.shouldPrevent(t))).forEach((s=>{e["add"===t?"addEventListener":"removeEventListener"](this.getCurrentEventName(s),this.preventChildEvent,this.useCapture)})),this.isEventListenerAdded="add"===t)}getCurrentEventName(t){return t.getCurrentName(i.getSemantics(this.host))}shouldPrevent(t){const{namespace:e,jqueryDelegatedEvent:s}=i.getSemantics(this.host);return!("native"===e&&s&&n.isSupportDelegated(this.host,t))}shouldSkipEventPrevent(){const t=this.getHostElement();return t&&"true"===t.dataset.vegaNoEventPrevent}}o([t()],a.prototype,"host",void 0),o([e("connectedCallback")],a.prototype,"setup",null),o([e("componentDidLoad")],a.prototype,"checkEventListenerStatus",null),o([e("disconnectedCallback")],a.prototype,"destroy",null);export{a as C}
1
+ import{c as t,M as e,V as s}from"./p-6e1ab235.js";import{i,j as n}from"./p-53ed3b1f.js";import{v as r}from"./p-5f377954.js";import{F as h}from"./p-bc73ce30.js";var o=function(t,e,s,i){var n,r=arguments.length,h=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,s,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(h=(r<3?n(h):r>3?n(e,s,h):n(e,s))||h);return r>3&&h&&Object.defineProperty(e,s,h),h};class a extends s{constructor(t,e,s,i){if(super(),this.eventIds=[],this.useCapture=!1,this.isEventListenerAdded=!1,this.disabled=!1,this.preventChildEvent=t=>{const e=this.getHostElement();if(!this.shouldSkipEventPrevent())if("function"==typeof this.customPreventHandle)this.customPreventHandle(t);else{const s=t.composedPath();e===t.target&&e===s[0]||t.stopImmediatePropagation()}},this.eventIds=t,this.getHostElement=e,!0===s)this.useCapture=!0;else if(s){const{useCapture:t=!1,customPreventHandle:e}=s;this.useCapture=t,this.customPreventHandle=e}this.disabled=!0===i}setup(){this.addOrRemoveEventListener("add")}checkEventListenerStatus(){this.isEventListenerAdded||this.setup(),this.setSkipEventPreventFlag()}destroy(){this.addOrRemoveEventListener("remove")}setSkipEventPreventFlag(){h.isEnabled("VEGA_REACT.SKIP_NATIVE_EVENT_PREVENT_BY_DEFAULT")&&this.disabled&&this.host&&"react"===r.getVegaEnv().framework&&"native"===i.getSemantics(this.host).namespace&&this.getHostElement().setAttribute("data-vega-no-event-prevent","true")}addOrRemoveEventListener(t){const e=this.getHostElement();this.eventIds&&this.eventIds.length&&e&&(this.eventIds.filter((t=>this.shouldPrevent(t))).forEach((s=>{e["add"===t?"addEventListener":"removeEventListener"](this.getCurrentEventName(s),this.preventChildEvent,this.useCapture)})),this.isEventListenerAdded="add"===t)}getCurrentEventName(t){return t.getCurrentName(i.getSemantics(this.host))}shouldPrevent(t){const{namespace:e,jqueryDelegatedEvent:s}=i.getSemantics(this.host);return!("native"===e&&s&&n.isSupportDelegated(this.host,t))}shouldSkipEventPrevent(){const t=this.getHostElement();return t&&"true"===t.dataset.vegaNoEventPrevent}}o([t()],a.prototype,"host",void 0),o([e("connectedCallback")],a.prototype,"setup",null),o([e("componentDidLoad")],a.prototype,"checkEventListenerStatus",null),o([e("disconnectedCallback")],a.prototype,"destroy",null);export{a as C}