@gct-paas/core-web 0.1.4-dev.0 → 0.1.4-dev.10

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 (358) hide show
  1. package/dist/index-Bpd2MFJC.js +33732 -0
  2. package/dist/index-CwxW5OnC.js +98 -0
  3. package/dist/index-vFQ1naj3.cjs +98 -0
  4. package/dist/index.esm.min.mjs +41 -0
  5. package/dist/index.min.cjs +1 -20
  6. package/dist/index.min.css +1 -0
  7. package/dist/index.system.min.js +1 -20
  8. package/dist/monaco-editor-5rbNTIph.cjs +19 -0
  9. package/dist/monaco-editor-DHkSqfaq.js +19 -0
  10. package/dist/monaco-editor-DYUIGpkZ.js +20245 -0
  11. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  12. package/es/components/app-modal/app-modal-component.css +149 -0
  13. package/es/components/app-modal/app-modal-component.d.ts +26 -0
  14. package/es/components/app-modal/app-modal-component.mjs +140 -0
  15. package/es/components/assets-svg-icon/assets-svg-icon.css +188 -0
  16. package/es/components/assets-svg-icon/assets-svg-icon.d.ts +134 -0
  17. package/es/components/assets-svg-icon/assets-svg-icon.mjs +238 -0
  18. package/es/components/assets-svg-icon/request.d.ts +2 -0
  19. package/es/components/assets-svg-icon/request.mjs +51 -0
  20. package/es/components/assets-svg-icon/utils.d.ts +9 -0
  21. package/es/components/assets-svg-icon/utils.mjs +21 -0
  22. package/es/components/assets-svg-icon/validate.d.ts +4 -0
  23. package/es/components/assets-svg-icon/validate.mjs +43 -0
  24. package/es/components/base-button/base-button.css +74 -0
  25. package/es/components/base-button/base-button.vue.d.ts +173 -0
  26. package/es/components/base-button/base-button.vue.mjs +7 -0
  27. package/es/components/base-button/base-button.vue3.mjs +179 -0
  28. package/es/components/basic-button/basic-button.css +25 -0
  29. package/es/components/basic-button/basic-button.vue.d.ts +100 -0
  30. package/es/components/basic-button/basic-button.vue.mjs +7 -0
  31. package/es/components/basic-button/basic-button.vue3.mjs +130 -0
  32. package/es/components/code-editor/code-editor.css +67 -0
  33. package/es/components/code-editor/code-editor.d.ts +2 -5
  34. package/es/components/code-editor/code-editor.mjs +16 -22
  35. package/es/components/copy-module-key/copy-module-key.css +24 -0
  36. package/es/components/copy-module-key/copy-module-key.vue.d.ts +74 -0
  37. package/es/components/copy-module-key/copy-module-key.vue.mjs +7 -0
  38. package/es/components/copy-module-key/copy-module-key.vue3.mjs +104 -0
  39. package/es/components/double-input/double-input.vue.d.ts +49 -0
  40. package/es/components/double-input/double-input.vue.mjs +158 -0
  41. package/es/components/double-input/double-input.vue2.mjs +5 -0
  42. package/es/components/index.d.ts +13 -0
  43. package/es/components/index.mjs +25 -6
  44. package/es/components/layout/flex-container/flex-container.css +67 -0
  45. package/es/components/layout/flex-container/flex-container.mjs +13 -9
  46. package/es/components/layout/flex-item/flex-item.mjs +11 -9
  47. package/es/components/layout/grid-container/grid-container.mjs +11 -7
  48. package/es/components/layout/view-container/view-container.css +83 -0
  49. package/es/components/layout/view-container/view-container.mjs +6 -7
  50. package/es/components/svg-icon/svg-icon.css +73 -0
  51. package/es/components/svg-icon/svg-icon.vue.d.ts +40 -0
  52. package/es/components/svg-icon/svg-icon.vue.mjs +50 -0
  53. package/es/components/svg-icon/svg-icon.vue3.mjs +6 -0
  54. package/es/components/wujie-container/wujie-container.css +74 -0
  55. package/es/components/wujie-container/wujie-container.d.ts +11 -0
  56. package/es/components/wujie-container/wujie-container.mjs +84 -0
  57. package/es/create-app-vue.d.ts +9 -0
  58. package/es/create-app-vue.mjs +17 -0
  59. package/es/directives/drag-resize.d.ts +4 -0
  60. package/es/directives/drag-resize.mjs +42 -0
  61. package/es/directives/index.d.ts +8 -0
  62. package/es/directives/index.mjs +9 -0
  63. package/es/directives/target-loading.d.ts +4 -0
  64. package/es/directives/target-loading.mjs +40 -0
  65. package/es/editor/gct-form-check-switch/gct-form-check-switch.d.ts +1 -1
  66. package/es/editor/gct-form-i18n/gct-form-i18n.d.ts +1 -1
  67. package/es/editor/gct-form-info/gct-form-info.d.ts +1 -1
  68. package/es/editor/gct-form-length-unit/gct-form-length-unit.d.ts +1 -1
  69. package/es/editor/gct-form-number/gct-form-number.d.ts +1 -1
  70. package/es/editor/gct-form-radio/gct-form-radio.d.ts +1 -1
  71. package/es/editor/gct-form-select/gct-form-select.d.ts +1 -1
  72. package/es/editor/gct-form-switch/gct-form-switch.d.ts +1 -1
  73. package/es/editor/gct-form-textarea/gct-form-textarea.d.ts +1 -1
  74. package/es/hooks/index.d.ts +3 -0
  75. package/es/hooks/useDragLine.d.ts +6 -0
  76. package/es/hooks/useDragLine.mjs +78 -0
  77. package/es/hooks/useLocale.d.ts +4 -0
  78. package/es/hooks/useLocale.mjs +32 -0
  79. package/es/hooks/useTheme.d.ts +8 -0
  80. package/es/hooks/useTheme.mjs +20 -0
  81. package/es/index.d.ts +9 -7
  82. package/es/index.mjs +41 -23
  83. package/es/modules/code-editor/index.d.ts +163 -0
  84. package/es/modules/code-editor/index.mjs +8 -0
  85. package/es/modules/code-editor/monaco-editor.css +49 -0
  86. package/es/modules/code-editor/monaco-editor.vue.d.ts +143 -0
  87. package/es/modules/code-editor/monaco-editor.vue.mjs +7 -0
  88. package/es/modules/code-editor/monaco-editor.vue2.mjs +440 -0
  89. package/es/modules/code-editor/useEditorConsole.d.ts +54 -0
  90. package/es/modules/code-editor/useEditorConsole.mjs +194 -0
  91. package/es/modules/code-editor/useMonacoEditor.d.ts +26 -0
  92. package/es/modules/code-editor/useMonacoEditor.mjs +26 -0
  93. package/es/modules/color-picker/index.d.ts +2 -0
  94. package/es/modules/color-picker/src/ColorPicker.css +16 -0
  95. package/es/modules/color-picker/src/ColorPicker.vue.d.ts +49 -0
  96. package/es/modules/color-picker/src/ColorPicker.vue.mjs +8 -0
  97. package/es/modules/color-picker/src/ColorPicker.vue2.mjs +545 -0
  98. package/es/modules/color-picker/src/ColorPicker2.css +156 -0
  99. package/es/modules/formula-editor/constants/index.d.ts +7 -0
  100. package/es/modules/formula-editor/constants/index.mjs +8 -0
  101. package/es/modules/formula-editor/formula-editor.d.ts +10 -0
  102. package/es/modules/formula-editor/formula-editor.mjs +55 -0
  103. package/es/modules/formula-editor/index.d.ts +4 -0
  104. package/es/modules/formula-editor/interface/i-formula-editor-options/i-formula-editor-options.d.ts +47 -0
  105. package/es/modules/formula-editor/interface/i-formula-result/i-formula-result.d.ts +20 -0
  106. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.css +72 -0
  107. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.d.ts +37 -0
  108. package/es/modules/gct-dnd/components/gct-dnd-container/gct-dnd-container.mjs +195 -0
  109. package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.css +79 -0
  110. package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.d.ts +29 -0
  111. package/es/modules/gct-dnd/components/gct-dnd-drop-line/gct-dnd-drop-line.mjs +98 -0
  112. package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.css +70 -0
  113. package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.d.ts +50 -0
  114. package/es/modules/gct-dnd/components/gct-dnd-item/gct-dnd-item.mjs +239 -0
  115. package/es/modules/gct-dnd/constants/index.d.ts +22 -0
  116. package/es/modules/gct-dnd/constants/index.mjs +20 -0
  117. package/es/modules/gct-dnd/index.d.ts +5 -0
  118. package/es/modules/gct-dnd/interface/i-gct-dnd-config.d.ts +101 -0
  119. package/es/modules/gct-dnd/interface/i-gct-dnd-data.d.ts +14 -0
  120. package/es/modules/gct-dnd/interface/i-gct-dnd-render-item-options.d.ts +28 -0
  121. package/es/modules/gct-dnd/interface/i-gct-drag-collect.d.ts +24 -0
  122. package/es/modules/gct-dnd/interface/i-gct-drag-dnd-data.d.ts +51 -0
  123. package/es/modules/gct-dnd/interface/i-gct-drop-collect.d.ts +32 -0
  124. package/es/modules/gct-dnd/interface/i-gct-drop-result.d.ts +47 -0
  125. package/es/modules/gct-dnd/interface/index.d.ts +7 -0
  126. package/es/modules/global-modal/index.d.ts +5 -0
  127. package/es/modules/global-modal/index.mjs +16 -0
  128. package/es/modules/global-modal/src/BasicModal.vue.d.ts +518 -0
  129. package/es/modules/global-modal/src/BasicModal.vue.mjs +221 -0
  130. package/es/modules/global-modal/src/BasicModal.vue2.mjs +5 -0
  131. package/es/modules/global-modal/src/components/GlboalModal.d.ts +251 -0
  132. package/es/modules/global-modal/src/components/GlboalModal.mjs +40 -0
  133. package/es/modules/global-modal/src/components/ModalClose.css +95 -0
  134. package/es/modules/global-modal/src/components/ModalClose.vue.d.ts +27 -0
  135. package/es/modules/global-modal/src/components/ModalClose.vue.mjs +79 -0
  136. package/es/modules/global-modal/src/components/ModalClose.vue3.mjs +6 -0
  137. package/es/modules/global-modal/src/components/ModalFooter.vue.d.ts +270 -0
  138. package/es/modules/global-modal/src/components/ModalFooter.vue.mjs +44 -0
  139. package/es/modules/global-modal/src/components/ModalFooter.vue2.mjs +5 -0
  140. package/es/modules/global-modal/src/components/ModalHeader.vue.d.ts +17 -0
  141. package/es/modules/global-modal/src/components/ModalHeader.vue.mjs +11 -0
  142. package/es/modules/global-modal/src/components/ModalHeader.vue2.mjs +13 -0
  143. package/es/modules/global-modal/src/components/ModalWrapper.vue.d.ts +95 -0
  144. package/es/modules/global-modal/src/components/ModalWrapper.vue.mjs +26 -0
  145. package/es/modules/global-modal/src/components/ModalWrapper.vue2.mjs +136 -0
  146. package/es/modules/global-modal/src/hooks/useModal.d.ts +6 -0
  147. package/es/modules/global-modal/src/hooks/useModal.mjs +120 -0
  148. package/es/modules/global-modal/src/hooks/useModalContext.d.ts +5 -0
  149. package/es/modules/global-modal/src/hooks/useModalContext.mjs +11 -0
  150. package/es/modules/global-modal/src/hooks/useModalDrag.d.ts +7 -0
  151. package/es/modules/global-modal/src/hooks/useModalDrag.mjs +82 -0
  152. package/es/modules/global-modal/src/hooks/useModalFullScreen.d.ts +11 -0
  153. package/es/modules/global-modal/src/hooks/useModalFullScreen.mjs +16 -0
  154. package/es/modules/global-modal/src/index.css +153 -0
  155. package/es/modules/global-modal/src/props.d.ts +156 -0
  156. package/es/modules/global-modal/src/props.mjs +57 -0
  157. package/es/modules/global-modal/src/typing.d.ts +174 -0
  158. package/es/modules/target-loading/index.d.ts +4 -0
  159. package/es/modules/target-loading/src/createLoading.d.ts +13 -0
  160. package/es/modules/target-loading/src/createLoading.mjs +57 -0
  161. package/es/modules/target-loading/src/target-loading.css +18 -0
  162. package/es/modules/target-loading/src/target-loading.vue.d.ts +57 -0
  163. package/es/modules/target-loading/src/target-loading.vue.mjs +52 -0
  164. package/es/modules/target-loading/src/target-loading.vue3.mjs +7 -0
  165. package/es/modules/target-loading/src/typing.d.ts +9 -0
  166. package/es/modules/target-loading/src/useLoading.d.ts +9 -0
  167. package/es/setup-app.d.ts +1 -0
  168. package/es/setup-app.mjs +4 -0
  169. package/es/types/index.d.ts +191 -1
  170. package/es/utils/index.d.ts +4 -0
  171. package/es/utils/message-util/message-util.d.ts +7 -0
  172. package/es/utils/message-util/message-util.mjs +26 -0
  173. package/es/utils/monaco-loader/monaco-loader.d.ts +59 -0
  174. package/es/utils/monaco-loader/monaco-loader.mjs +88 -0
  175. package/es/utils/overlay-controller/overlay-controller.d.ts +18 -0
  176. package/es/utils/overlay-controller/overlay-controller.mjs +23 -0
  177. package/es/utils/with-install.d.ts +14 -0
  178. package/es/utils/with-install.mjs +13 -0
  179. package/es/widgets/gct-edit-form/gct-edit-form.d.ts +1 -1
  180. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +1 -1
  181. package/package.json +26 -14
  182. package/dist/core-web.css +0 -1
  183. package/es/_virtual/_commonjsHelpers.mjs +0 -44
  184. package/es/_virtual/node.mjs +0 -7
  185. package/es/_virtual/node2.mjs +0 -3
  186. package/es/components/code-editor/code-editor.scss +0 -3
  187. package/es/components/layout/flex-container/flex-container.scss +0 -3
  188. package/es/components/layout/flex-item/flex-item.scss +0 -17
  189. package/es/components/layout/view-container/view-container.scss +0 -19
  190. package/es/editor/gct-form-check-switch/gct-form-check-switch.mjs +0 -53
  191. package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +0 -6
  192. package/es/editor/gct-form-check-switch/gct-form-check-switch.scss +0 -10
  193. package/es/editor/gct-form-check-switch/index.mjs +0 -12
  194. package/es/editor/gct-form-checkbox/gct-form-checkbox.mjs +0 -70
  195. package/es/editor/gct-form-checkbox/gct-form-checkbox.scss +0 -56
  196. package/es/editor/gct-form-checkbox/index.mjs +0 -19
  197. package/es/editor/gct-form-color/gct-form-color.mjs +0 -45
  198. package/es/editor/gct-form-color/gct-form-color.provider.mjs +0 -6
  199. package/es/editor/gct-form-color/gct-form-color.scss +0 -3
  200. package/es/editor/gct-form-color/index.mjs +0 -17
  201. package/es/editor/gct-form-field-select/gct-form-field-select.mjs +0 -48
  202. package/es/editor/gct-form-field-select/gct-form-field-select.provider.mjs +0 -6
  203. package/es/editor/gct-form-field-select/gct-form-field-select.scss +0 -7
  204. package/es/editor/gct-form-field-select/gct-model-select.vue +0 -70
  205. package/es/editor/gct-form-field-select/index.mjs +0 -12
  206. package/es/editor/gct-form-i18n/gct-form-i18n.mjs +0 -62
  207. package/es/editor/gct-form-i18n/gct-form-i18n.provider.mjs +0 -6
  208. package/es/editor/gct-form-i18n/index.mjs +0 -12
  209. package/es/editor/gct-form-icon-select/gct-form-icon-select.mjs +0 -74
  210. package/es/editor/gct-form-icon-select/gct-form-icon-select.scss +0 -14
  211. package/es/editor/gct-form-icon-select/index.mjs +0 -14
  212. package/es/editor/gct-form-info/gct-form-info.mjs +0 -40
  213. package/es/editor/gct-form-info/gct-form-info.scss +0 -8
  214. package/es/editor/gct-form-info/index.mjs +0 -14
  215. package/es/editor/gct-form-length-unit/gct-form-length-unit.mjs +0 -43
  216. package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +0 -6
  217. package/es/editor/gct-form-length-unit/index.mjs +0 -12
  218. package/es/editor/gct-form-modal-select/gct-form-modal-select.mjs +0 -99
  219. package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.mjs +0 -6
  220. package/es/editor/gct-form-modal-select/gct-form-modal-select.scss +0 -7
  221. package/es/editor/gct-form-modal-select/index.mjs +0 -12
  222. package/es/editor/gct-form-number/gct-form-number.mjs +0 -44
  223. package/es/editor/gct-form-number/gct-form-number.provider.mjs +0 -6
  224. package/es/editor/gct-form-number/gct-form-number.scss +0 -3
  225. package/es/editor/gct-form-number/index.mjs +0 -17
  226. package/es/editor/gct-form-picker/gct-form-picker.mjs +0 -92
  227. package/es/editor/gct-form-picker/gct-form-picker.provider.mjs +0 -6
  228. package/es/editor/gct-form-picker/index.mjs +0 -12
  229. package/es/editor/gct-form-radio/gct-form-radio.mjs +0 -70
  230. package/es/editor/gct-form-radio/gct-form-radio.scss +0 -68
  231. package/es/editor/gct-form-radio/index.mjs +0 -19
  232. package/es/editor/gct-form-select/gct-form-select.mjs +0 -50
  233. package/es/editor/gct-form-select/gct-form-select.provider.mjs +0 -6
  234. package/es/editor/gct-form-select/index.mjs +0 -12
  235. package/es/editor/gct-form-span/gct-form-span.mjs +0 -89
  236. package/es/editor/gct-form-span/gct-form-span.provider.mjs +0 -6
  237. package/es/editor/gct-form-span/gct-form-span.scss +0 -10
  238. package/es/editor/gct-form-span/index.mjs +0 -12
  239. package/es/editor/gct-form-switch/gct-form-switch.mjs +0 -35
  240. package/es/editor/gct-form-switch/gct-form-switch.provider.mjs +0 -6
  241. package/es/editor/gct-form-switch/index.mjs +0 -17
  242. package/es/editor/gct-form-text/gct-form-text.mjs +0 -45
  243. package/es/editor/gct-form-text/gct-form-text.provider.mjs +0 -6
  244. package/es/editor/gct-form-text/index.mjs +0 -17
  245. package/es/editor/gct-form-textarea/gct-form-textarea.mjs +0 -40
  246. package/es/editor/gct-form-textarea/gct-form-textarea.provider.mjs +0 -6
  247. package/es/editor/gct-form-textarea/index.mjs +0 -12
  248. package/es/editor/index.mjs +0 -51
  249. package/es/node_modules/.pnpm/@aesoper_normal-utils@0.1.5/node_modules/@aesoper/normal-utils/NormalUtils.es.mjs +0 -3
  250. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.mjs +0 -142
  251. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/config/index.mjs +0 -7
  252. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/index.mjs +0 -1
  253. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/loader/index.mjs +0 -188
  254. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/compose.mjs +0 -13
  255. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/curry.mjs +0 -19
  256. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.mjs +0 -14
  257. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/isObject.mjs +0 -5
  258. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.mjs +0 -20
  259. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/validators/index.mjs +0 -49
  260. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/createPopper.mjs +0 -200
  261. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.mjs +0 -26
  262. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.mjs +0 -44
  263. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.mjs +0 -72
  264. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.mjs +0 -60
  265. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.mjs +0 -7
  266. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.mjs +0 -9
  267. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.mjs +0 -32
  268. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.mjs +0 -8
  269. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.mjs +0 -28
  270. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.mjs +0 -5
  271. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.mjs +0 -14
  272. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.mjs +0 -71
  273. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.mjs +0 -22
  274. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.mjs +0 -19
  275. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.mjs +0 -34
  276. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.mjs +0 -14
  277. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.mjs +0 -13
  278. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.mjs +0 -16
  279. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.mjs +0 -23
  280. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.mjs +0 -7
  281. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.mjs +0 -13
  282. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.mjs +0 -7
  283. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.mjs +0 -29
  284. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/enums.mjs +0 -33
  285. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/index.mjs +0 -5
  286. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.mjs +0 -87
  287. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.mjs +0 -92
  288. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.mjs +0 -171
  289. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.mjs +0 -51
  290. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.mjs +0 -149
  291. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.mjs +0 -63
  292. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.mjs +0 -9
  293. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.mjs +0 -56
  294. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.mjs +0 -27
  295. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.mjs +0 -144
  296. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.mjs +0 -12
  297. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper.mjs +0 -19
  298. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.mjs +0 -46
  299. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.mjs +0 -73
  300. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.mjs +0 -17
  301. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.mjs +0 -67
  302. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.mjs +0 -8
  303. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.mjs +0 -5
  304. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.mjs +0 -7
  305. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.mjs +0 -10
  306. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.mjs +0 -5
  307. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.mjs +0 -13
  308. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.mjs +0 -11
  309. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.mjs +0 -5
  310. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/math.mjs +0 -5
  311. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.mjs +0 -16
  312. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.mjs +0 -7
  313. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.mjs +0 -46
  314. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.mjs +0 -10
  315. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.mjs +0 -13
  316. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/within.mjs +0 -11
  317. package/es/node_modules/.pnpm/@vueuse_core@10.11.1_vue@3.5.13_typescript@5.8.3_/node_modules/@vueuse/core/index.mjs +0 -7487
  318. package/es/node_modules/.pnpm/@vueuse_shared@10.11.1_vue@3.5.13_typescript@5.8.3_/node_modules/@vueuse/shared/index.mjs +0 -1576
  319. package/es/node_modules/.pnpm/gradient-parser@1.0.2/node_modules/gradient-parser/build/node.mjs +0 -528
  320. package/es/node_modules/.pnpm/state-local@1.0.7/node_modules/state-local/lib/es/state-local.mjs +0 -193
  321. package/es/node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/esm/tinycolor.mjs +0 -1180
  322. package/es/node_modules/.pnpm/vue-demi@0.14.10_vue@3.5.13_typescript@5.8.3_/node_modules/vue-demi/lib/index.mjs +0 -29
  323. package/es/node_modules/.pnpm/vue-types@3.0.2_vue@3.5.13_typescript@5.8.3_/node_modules/vue-types/dist/vue-types.m.mjs +0 -3
  324. package/es/node_modules/.pnpm/vue3-colorpicker@2.3.0_@aesoper_normal-utils@0.1.5_@popperjs_core@2.11.8_@vueuse_core@1_9cfe46f6a11310063dbf07d888abdb76/node_modules/vue3-colorpicker/index.es.mjs +0 -1815
  325. package/es/vite-env.d.ts +0 -1
  326. package/es/widgets/gct-edit-form/gct-edit-form.mjs +0 -126
  327. package/es/widgets/gct-edit-form/index.mjs +0 -10
  328. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +0 -73
  329. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +0 -11
  330. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.scss +0 -62
  331. package/es/widgets/gct-form/gct-form-collapse/index.mjs +0 -15
  332. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +0 -71
  333. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +0 -13
  334. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.scss +0 -23
  335. package/es/widgets/gct-form/gct-form-collapse-pane/index.mjs +0 -15
  336. package/es/widgets/gct-form/gct-form-group/gct-form-group.mjs +0 -88
  337. package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +0 -11
  338. package/es/widgets/gct-form/gct-form-group/gct-form-group.scss +0 -28
  339. package/es/widgets/gct-form/gct-form-group/index.mjs +0 -15
  340. package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +0 -13
  341. package/es/widgets/gct-form/gct-form-item/gct-form-item.mjs +0 -141
  342. package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +0 -11
  343. package/es/widgets/gct-form/gct-form-item/gct-form-item.scss +0 -115
  344. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +0 -53
  345. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +0 -11
  346. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.scss +0 -63
  347. package/es/widgets/gct-form/gct-form-tab/index.mjs +0 -12
  348. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +0 -65
  349. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +0 -11
  350. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.scss +0 -16
  351. package/es/widgets/gct-form/gct-form-tab-pane/index.mjs +0 -15
  352. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +0 -71
  353. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +0 -11
  354. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.scss +0 -25
  355. package/es/widgets/gct-form/gct-form-title-group/index.mjs +0 -16
  356. package/es/widgets/gct-form/gct-form.mjs +0 -110
  357. package/es/widgets/gct-form/gct-form.scss +0 -11
  358. package/es/widgets/gct-form/index.mjs +0 -31
@@ -0,0 +1 @@
1
+ @charset "UTF-8";.gct-modal{--gct-modal-z-index: var(--gct-z-index-modal);--gct-modal-background-color: var(--gct-color-bg-1)}.gct-modal__full-screen{position:absolute;top:0;right:48px;padding:16px 8px;color:#212528;font-size:16px;line-height:1;line-height:22px;cursor:pointer}.gct-modal.is-hidden-footer>.ant-modal-content>.ant-modal-footer{display:none;padding:16px}.gct-modal.is-hidden-close-btn>.ant-modal-content>.ant-modal-close{display:none}.gct-modal.is-hidden-cancel-btn>.ant-modal-content>.ant-modal-footer>button:first-child{display:none}.gct-modal.is-full-screen{top:0;width:100vw!important;height:100vh!important;max-width:100%;max-height:fit-content;margin:0;padding-bottom:0}.gct-modal.is-full-screen .ant-modal-content{display:flex;flex-direction:column;width:100vw;max-width:100vw;height:100vh;max-height:100vh}.gct-modal>.ant-modal-content{display:flex;flex-direction:column;width:100%;height:100%;max-height:85vh}.gct-modal>.ant-modal-content>.ant-modal-close>.ant-modal-close-x{width:auto;height:auto;padding:16px;color:#212528;line-height:1;line-height:22px}.gct-modal>.ant-modal-content>.ant-modal-header{border-bottom:1px solid #e0e3ea}.gct-modal>.ant-modal-content>.ant-modal-footer{border-top:1px solid #e0e3ea}.gct-modal>.ant-modal-content>.ant-modal-header,.gct-modal>.ant-modal-content>.ant-modal-footer{flex-shrink:0;padding:16px}.gct-modal>.ant-modal-content>.ant-modal-header .ant-modal-title{color:#000;font-weight:600;min-height:22px}.gct-modal>.ant-modal-content>.ant-modal-body{flex-grow:1;padding:0;overflow:hidden auto}.gct-svg-icon{display:inline-block;overflow:hidden;fill:currentcolor;vertical-align:-.15em}.gct-svg-icon--spin{animation:loadingCircle 1s infinite linear}.gct-assets-svg-icon{display:inline-block;width:1em;height:1em;contain:strict;fill:currentcolor;box-sizing:content-box!important}.gct-assets-svg-icon .ionicon{stroke:currentcolor}.gct-assets-svg-icon .ionicon-fill-none{fill:none}.gct-assets-svg-icon .ionicon-stroke-width{stroke-width:var(--ionicon-stroke-width, 32px)}.gct-assets-svg-icon .icon-inner,.gct-assets-svg-icon .ionicon,.gct-assets-svg-icon svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){.gct-assets-svg-icon.icon-rtl .icon-inner{transform:scaleX(-1)}}.gct-assets-svg-icon.icon-rtl .icon-inner,.gct-assets-svg-icon.flip-rtl[dir=rtl] .icon-inner{transform:scaleX(-1)}@supports selector(:dir(rtl)){.gct-assets-svg-icon.flip-rtl:dir(rtl) .icon-inner{transform:scaleX(-1)}.gct-assets-svg-icon.flip-rtl:dir(ltr) .icon-inner{transform:scaleX(1)}}.gct-assets-svg-icon.icon-small{font-size:1.125rem!important}.gct-assets-svg-icon.icon-large{font-size:2rem!important}.gct-assets-svg-icon.ion-color{color:var(--ion-color-base)!important}.gct-assets-svg-icon.ion-color-primary{--ion-color-base: var(--ion-color-primary, #3880ff) !important}.gct-assets-svg-icon.ion-color-secondary{--ion-color-base: var(--ion-color-secondary, #3dc2ff) !important}.gct-assets-svg-icon.ion-color-tertiary{--ion-color-base: var(--ion-color-tertiary, #5260ff) !important}.gct-assets-svg-icon.ion-color-success{--ion-color-base: var(--ion-color-success, #2dd36f) !important}.gct-assets-svg-icon.ion-color-warning{--ion-color-base: var(--ion-color-warning, #ffc409) !important}.gct-assets-svg-icon.ion-color-danger{--ion-color-base: var(--ion-color-danger, #eb445a) !important}.gct-assets-svg-icon.ion-color-light{--ion-color-base: var(--ion-color-light, #f4f5f8) !important}.gct-assets-svg-icon.ion-color-medium{--ion-color-base: var(--ion-color-medium, #92949c) !important}.gct-assets-svg-icon.ion-color-dark{--ion-color-base: var(--ion-color-dark, #222428) !important}.ant-btn[data-v-5375ec2b]{display:flex;align-items:center;justify-content:center}.ant-btn.btn-font-color[data-v-5375ec2b]{color:var(--v8d035854)!important}.ant-btn.btn-bg-style[data-v-5375ec2b]{border-color:var(--e376d652)!important;background:var(--v4ee5fd6d)!important}.square[data-v-5375ec2b]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:72px;height:72px;padding:0;border-radius:4px}.square .icon-next[data-v-5375ec2b]{margin:0!important}.square .btn-title[data-v-5375ec2b]{width:inherit;padding:0 8px}.square.ant-btn-sm[data-v-5375ec2b]{width:72px;height:64px;font-size:14px}.square.ant-btn-sm .btn-title[data-v-5375ec2b]{padding:0 4px}.square.ant-btn-lg[data-v-5375ec2b]{width:80px;height:88px}.squaref[data-v-5375ec2b]{min-width:72px;height:56px;padding:0}.line[data-v-5375ec2b]{display:flex;align-items:center;justify-content:center}[data-v-5375ec2b] .group .ant-btn{height:100%}[data-v-5375ec2b] .ant-btn-loading-icon{width:0;height:0;line-height:0}[data-v-5375ec2b] .ant-btn-icon-only{vertical-align:-2px}.gct-text-overflow-2[data-v-5375ec2b]{display:-webkit-inline-box;display:-moz-inline-box;display:inline-flexbox;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;-moz-box-orient:vertical;box-orient:2}.square[data-v-1dbcb2fa]{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:72px;height:72px;padding:0}.squaref[data-v-1dbcb2fa]{min-width:72px;height:72px;padding:0}.line[data-v-1dbcb2fa]{display:flex;align-items:center;justify-content:center}[data-v-1dbcb2fa] .group .ant-btn{height:100%}[data-v-1dbcb2fa] .ant-btn-loading-icon{height:0}.gct-wujie-container{height:100%;width:100%}.gct-wujie-container .__vue-devtools-container__{display:none}.gct-wujie-container iframe{border:0}.copy-wrap[data-v-531b3cd2]{display:inline-block}.iconfont.icon-fuzhi[data-v-531b3cd2]{margin-left:4px;line-height:.8;cursor:pointer;position:relative;top:2px}.copy-wrap-tooltip[data-v-531b3cd2]{display:flex}.copy-wrap-tooltip .copy-key[data-v-531b3cd2]{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.gct-code-editor{height:100%}.gct-flex-container{display:flex}.gct-view-container{background-color:#fff;height:100%;display:flex;flex-direction:column}.gct-view-container-header{flex-shrink:0}.gct-view-container-content{flex-grow:1;overflow:hidden auto}.gct-view-container-footer{flex-shrink:0}.gct-dnd-item{background-color:rgb(var(--gct-gray-2))}.gct-dnd-item.is-dragging{background-color:var(--gct-color-bg-3)!important}.gct-dnd-drop-line{background-color:transparent;padding:var(--gct-padding-1) 0}.gct-dnd-drop-line__line{border-top:1px solid transparent}.gct-dnd-drop-line.is-shallow-over .gct-dnd-drop-line__line,.gct-dnd-drop-line.is-active .gct-dnd-drop-line__line{border-color:var(--gct-color-primary)}.gct-dnd-container{border:1px dashed transparent;border-radius:var(--gct-border-radius-s)}.gct-dnd-container.is-over{border-color:var(--gct-color-border-hover);background-color:var(--gct-color-primary-light)}.vben.fullscreen-modal{overflow:hidden}.vben.fullscreen-modal .ant-modal{inset:0!important;width:100%!important;max-width:100vw!important;height:100%}.vben.fullscreen-modal .ant-modal-content{height:100%}.vben .ant-modal{width:520px;padding-bottom:0}.vben .ant-modal .ant-modal-body>.scrollbar{height:100%;padding:14px}.vben .ant-modal .ant-modal-body>.scrollbar .scrollbar__wrap{max-height:calc(88vh - 152px)}.vben .ant-modal-title{font-size:16px;font-weight:700}.vben .ant-modal-title .base-title{cursor:move!important}.vben .ant-modal .ant-modal-body{height:calc(100% - 120px);max-height:calc(88vh - 120px);padding:0}.vben .ant-modal .ant-modal-body>.scrollbar>.scrollbar__bar.is-horizontal{display:none}.vben .ant-modal-large{top:60px}.vben .ant-modal-large--mini{top:16px}.vben .ant-modal-header{padding:16px}.vben .ant-modal-content{box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.vben .ant-modal-footer{padding:16px}.vben .ant-modal-footer button+button{margin-left:16px}.vben .ant-modal-close{outline:none;font-weight:400}.vben .ant-modal-close-x{display:inline-block;width:96px;height:56px;line-height:56px}.vben .ant-modal-confirm-body .ant-modal-confirm-content>*{color:#909399}.vben .ant-modal-confirm-confirm.error .ant-modal-confirm-body>.anticon{color:var(--gct-color-error)}.vben .ant-modal-confirm-btns .ant-btn:last-child{margin-right:0}.vben .ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:var(--gct-color-warning)}.vben .ant-modal-confirm-confirm.success .ant-modal-confirm-body>.anticon{color:var(--gct-color-success)}.vben .ant-modal-confirm .ant-modal-body{padding:24px!important}@media screen and (max-height:600px){.ant-modal{top:60px}}@media screen and (max-height:540px){.ant-modal{top:30px}}@media screen and (max-height:480px){.ant-modal{top:10px}}.options-field-modal.ant-modal .ant-modal-content .ant-modal-body{padding-bottom:0}.ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger){margin-left:16px}.ant-modal{max-height:88vh}.ant-modal .ant-modal-content{border-radius:4px}.ant-modal.ant-modal-confirm .ant-modal-body{padding:16px}.ant-modal .ant-modal-confirm-body>.anticon{margin-right:8px}.ant-modal .ant-modal-confirm-body>.anticon .iconfont{top:4px!important;font-size:14px}.ant-modal .ant-modal-confirm-body>.anticon>svg{width:14px;height:14px;margin-top:3px}.ant-modal .ant-modal-confirm-body>.ant-modal-confirm-title{color:#1a1d23;font-size:14px;line-height:unset}.ant-modal .ant-modal-confirm-body>.ant-modal-confirm-content{color:#5a5f6b;font-size:12px}.ant-modal .ant-modal-confirm-body .anticon+.ant-modal-confirm-title+.ant-modal-confirm-content{margin-left:22px}.ant-modal .ant-modal-confirm-btns{margin-top:12px}.ant-modal .ant-modal-confirm-btns>.ant-btn{height:24px;padding:2px 10px;color:#384356;line-height:16px}.ant-modal .ant-modal-confirm-btns>.ant-btn.ant-btn-primary{color:#fff}.vben .ant-modal-close{right:16px}.vben .ant-modal-close-x .anticon.anticon-close{margin-left:27px}.gct-basic-modal-close{display:flex;align-items:center;height:95%}.gct-basic-modal-close>span{margin-left:48px;font-size:16px}.gct-basic-modal-close--can-full>span{margin-left:12px}.gct-basic-modal-close:not(.gct-basic-modal-close--can-full)>span:nth-child(1):hover{font-weight:700}.gct-basic-modal-close span:nth-child(1){display:inline-block;padding:10px}.gct-basic-modal-close span:nth-child(1):hover{color:var(--ant-primary-color)}.gct-basic-modal-close span:last-child:hover{color:var(--ant-error-color)}.full-loading[data-v-d448466c]{display:flex;position:fixed;z-index:200;top:0;left:0;align-items:center;justify-content:center;width:100%;height:100%;background-color:#f0f2f566}.full-loading.absolute[data-v-d448466c]{position:absolute;z-index:300;top:0;left:0}.component[data-v-7bfd9ca3]{display:inline-block;position:relative;outline:none;font-size:14px;text-align:left;cursor:pointer}.component .box[data-v-7bfd9ca3]{display:flex;align-items:center;border:1px solid var(--gct-color-text-1);border-radius:4px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAWElEQVRIiWM8fubkfwYygKWJOSM5+mCAhRLNoxaPWjxq8ajFoxbTyeL/DAfJ0Xjs3Cl7Siwmu4Yht1aDgZEYx6MWj1o8avGoxaMWD3qLya5X//4nqx6HAQC7RBGFzolqTAAAAABJRU5ErkJggg==);background-size:10px 10px}.color-picker__popover .ant-popover-inner-content{padding:0}.color-picker__popover .color-picker{z-index:9;width:var(--w);padding:10px;background:#fff;box-shadow:0 0 1px 1px #0000001a;-webkit-user-select:none;user-select:none}.color-picker__popover .color-picker-saturation{position:relative;width:100%;height:200px;margin-bottom:10px;box-shadow:1px 1px 1px #0000001a;cursor:pointer}.color-picker__popover .color-picker-saturation div{position:absolute;top:0;left:0;width:100%;height:100%}.color-picker__popover .color-picker-saturation .point{position:absolute;z-index:9;box-sizing:border-box;width:6px;height:6px;transform:translate(-50%,-50%);border:2px solid #ccc;border-radius:50%;background-color:transparent}.color-picker__popover .color-picker-saturation-t{background:linear-gradient(to right,#fff,#fff0)}.color-picker__popover .color-picker-saturation-h{background:linear-gradient(to top,#000,#fff0)}.color-picker__popover .color-picker-middle{display:flex;width:100%;margin-bottom:10px}.color-picker__popover .color-picker-middle .hue-slider{position:relative;height:10px;margin-bottom:6px;background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red);box-shadow:1px 1px 1px #0000001a}.color-picker__popover .color-picker-middle .alpha-slider{position:relative;height:10px;background:#fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAWElEQVRIiWM8fubkfwYygKWJOSM5+mCAhRLNoxaPWjxq8ajFoxbTyeL/DAfJ0Xjs3Cl7Siwmu4Yht1aDgZEYx6MWj1o8avGoxaMWD3qLya5X//4nqx6HAQC7RBGFzolqTAAAAABJRU5ErkJggg==);background-size:10px 10px;box-shadow:1px 1px 1px #0000001a}.color-picker__popover .color-picker-middle .slider{position:absolute;box-sizing:border-box;width:6px;height:100%;background-color:#fff;box-shadow:0 0 2px #0009;cursor:pointer}.color-picker__popover .color-picker-diamond{position:relative;width:26px;height:26px;margin-left:5px;overflow:hidden;border-radius:3px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAWElEQVRIiWM8fubkfwYygKWJOSM5+mCAhRLNoxaPWjxq8ajFoxbTyeL/DAfJ0Xjs3Cl7Siwmu4Yht1aDgZEYx6MWj1o8avGoxaMWD3qLya5X//4nqx6HAQC7RBGFzolqTAAAAABJRU5ErkJggg==);background-size:10px 10px}.color-picker__popover .color-picker-value{display:flex;justify-content:space-between;width:100%}.color-picker__popover .color-picker-value div{padding:0 3px;text-align:center}.color-picker__popover .color-picker-value input{box-sizing:border-box;width:34px;height:24px;margin:0;padding:0;border:1px solid #ccc;border-radius:3px;outline:none;font-size:12px;text-align:center}.color-picker__popover .color-picker-value p{margin:3px 0 0;font-size:12px}.color-picker__popover .color-picker-value .rgba-a{padding-right:0}.color-picker__popover .color-picker-value .hex{flex:1;padding-left:0}.color-picker__popover .color-picker-value .hex input{width:100%;height:24px}.color-picker__popover .color-picker .presetColor .title{margin-bottom:10px;padding-top:8px;border-top:1px solid #eaeaea;font-size:12px}.color-picker__popover .color-picker .presetColor .preset{display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%;margin:10px 0 0;padding:0;list-style:none}.color-picker__popover .color-picker .presetColor .preset li{width:20px;height:20px;margin-right:6px;margin-bottom:6px;border:1px solid #ccc;border-radius:6px;cursor:pointer}.color-picker__popover .color-value .color-value .color-value .hex input{width:100%;height:24px}.m-e[data-v-254c9227]{width:100%;height:100%}.m-e .m-e-main[data-v-254c9227]{display:flex;flex-direction:column;width:calc(100% - 2px);height:calc(100% - 2px)}.m-e .m-e-main .m-e-main_toolbar[data-v-254c9227]{position:relative;z-index:10;height:40px;box-shadow:0 2px 5px #000}.m-e .m-e-main .m-e-main_toolbar .m-e-main_toolbar_left span[data-v-254c9227]{padding-left:10px;font-size:15px;line-height:40px;-webkit-user-select:none;user-select:none}.m-e .m-e-main .m-e-main_toolbar .m-e-main_toolbar_right[data-v-254c9227]{display:flex;align-items:center}.m-e .m-e-main .m-e-main_toolbar .m-e-main_toolbar_right .icon[data-v-254c9227]{display:inline-block;margin-left:10px;transition:ease all .3s;border-radius:2px;text-align:center;cursor:pointer}.m-e .m-e-main .m-e-main_toolbar .m-e-main_toolbar_right .icon[data-v-254c9227]:hover{background-color:#ffffff1a}.m-e .m-e-main .m-e-main_toolbar .m-e-main_toolbar_right .icon.icon-active[data-v-254c9227]{color:#1890ff;background-color:#1890ff1a;box-shadow:0 0 4px #1890ff80;transform:scale(1.1)}.m-e .m-e-main .m-e-main_container[data-v-254c9227]{flex:1;width:100%;height:100%;min-height:400px}
@@ -1,20 +1 @@
1
- var Jb=Object.defineProperty;var Zb=(Xe,Je,P)=>Je in Xe?Jb(Xe,Je,{enumerable:!0,configurable:!0,writable:!0,value:P}):Xe[Je]=P;var z=(Xe,Je,P)=>Zb(Xe,typeof Je!="symbol"?Je+"":Je,P);System.register(["vue","@gct-paas/core","ant-design-vue","lodash-es"],(function(Xe,Je){"use strict";var P,S,L,M,Wt,qa,Fe,T,ne,pe,te,$,_r,k,kr,Ba,Kt,Er,pn,Na,Da,Ga,La,Ce,gn,mn,Ha,V,ue,ie,Ze,Ot,K,zt,Va,Yt,Ar,Tr,it,lt,yn,Ua,bn,H,Wa,Ka,we,J,le,st,Cn,za,Ya,Xa,Ja,Za,Qa,ei,Le,ti,ri,ni,oi,wn,ai,ii,li,si,Sn,ui,ci,xn,On,Xt;return{setters:[O=>{P=O.defineComponent,S=O.createVNode,L=O.computed,M=O.ref,Wt=O.onMounted,qa=O.onUnmounted,Fe=O.isVNode,T=O.resolveComponent,ne=O.mergeProps,pe=O.watch,te=O.createBlock,$=O.openBlock,_r=O.withCtx,k=O.createElementVNode,kr=O.createTextVNode,Ba=O.toRefs,Kt=O.nextTick,Er=O.getCurrentInstance,pn=O.readonly,Na=O.unref,Da=O.getCurrentScope,Ga=O.onScopeDispose,La=O.shallowRef,Ce=O.reactive,gn=O.inject,mn=O.provide,Ha=O.useSlots,V=O.createElementBlock,ue=O.normalizeClass,ie=O.normalizeStyle,Ze=O.Fragment,Ot=O.renderList,K=O.createCommentVNode,zt=O.withDirectives,Va=O.vModelText,Yt=O.toDisplayString,Ar=O.renderSlot,Tr=O.vShow,it=O.pushScopeId,lt=O.popScopeId,yn=O.resolveDynamicComponent,Ua=O.Teleport,bn=O.h},O=>{H=O.useNamespace,Wa=O.deepMerge,Ka=O.LengthUnitEditorController,we=O.useGctFormValue,J=O.widthEditorInstall,le=O.EditorTypeOld,st=O.EditorType,Cn=O.EditorController,za=O.useForm,Ya=O.useCopyToClipboard,Xa=O.useGctFormValueByText,Ja=O.useEditFormController,Za=O.EditFormController,Qa=O.useModal,ei=O.EditorRegisterConst,Le=O.useFormItemController,ti=O.FormItemController,ri=O.FormHiddenItemController,ni=O.FormCollapsePaneController,oi=O.FormCollapseController,wn=O.FormGroupController,ai=O.FormTabController,ii=O.FormTabPaneController,li=O.FormContainerType},O=>{si=O.message,Sn=O.RadioGroup,ui=O.RadioButton,ci=O.CheckboxGroup,xn=O.Collapse},O=>{On=O.cloneDeep,Xt=O.merge}],execute:(function(){function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function di(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fi(Object(r),!0).forEach(function(n){O(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ic(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Fc(e,t){if(e==null)return{};var r=Ic(e,t),n,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Mc(e,t){return qc(e)||Bc(e,t)||Nc(e,t)||Dc()}function qc(e){if(Array.isArray(e))return e}function Bc(e,t){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,o=!1,a=void 0;try{for(var s=e[Symbol.iterator](),i;!(n=(i=s.next()).done)&&(r.push(i.value),!(t&&r.length===t));n=!0);}catch(l){o=!0,a=l}finally{try{!n&&s.return!=null&&s.return()}finally{if(o)throw a}}return r}}function Nc(e,t){if(e){if(typeof e=="string")return hi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hi(e,t)}}function hi(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Dc(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Gc=require("../internals/export"),Lc=require("../internals/array-includes").includes,Hc=require("../internals/fails"),Vc=require("../internals/add-to-unscopables"),Uc=Hc(function(){return!Array(1).includes()});Gc({target:"Array",proto:!0,forced:Uc},{includes:function(t){return Lc(this,t,arguments.length>1?arguments[1]:void 0)}}),Vc("includes");function Wc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function pi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vi(Object(r),!0).forEach(function(n){Wc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Kc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return t.reduceRight(function(o,a){return a(o)},n)}}function Jt(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var s=arguments.length,i=new Array(s),l=0;l<s;l++)i[l]=arguments[l];return t.apply(r,[].concat(o,i))}}}function Rr(e){return{}.toString.call(e).includes("Object")}function zc(e){return!Object.keys(e).length}function Zt(e){return typeof e=="function"}function Yc(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Xc(e,t){return Rr(t)||Qe("changeType"),Object.keys(t).some(function(r){return!Yc(e,r)})&&Qe("changeField"),t}function Jc(e){Zt(e)||Qe("selectorType")}function Zc(e){Zt(e)||Rr(e)||Qe("handlerType"),Rr(e)&&Object.values(e).some(function(t){return!Zt(t)})&&Qe("handlersType")}function Qc(e){e||Qe("initialIsRequired"),Rr(e)||Qe("initialType"),zc(e)&&Qe("initialContent")}function ef(e,t){throw new Error(e[t]||e.default)}var tf={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},Qe=Jt(ef)(tf),jr={changes:Xc,selector:Jc,handler:Zc,initial:Qc};function rf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};jr.initial(e),jr.handler(t);var r={current:e},n=Jt(af)(r,t),o=Jt(of)(r),a=Jt(jr.changes)(e),s=Jt(nf)(r);function i(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(u){return u};return jr.selector(c),c(r.current)}function l(c){Kc(n,o,a,s)(c)}return[i,l]}function nf(e,t){return Zt(t)?t(e.current):t}function of(e,t){return e.current=pi(pi({},e.current),t),t}function af(e,t,r){return Zt(t)?t(e.current):Object.keys(r).forEach(function(n){var o;return(o=t[n])===null||o===void 0?void 0:o.call(t,e.current[n])}),r}var lf={create:rf},sf={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}};function uf(e){return function t(){for(var r=this,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return o.length>=e.length?e.apply(this,o):function(){for(var s=arguments.length,i=new Array(s),l=0;l<s;l++)i[l]=arguments[l];return t.apply(r,[].concat(o,i))}}}function cf(e){return{}.toString.call(e).includes("Object")}function ff(e){return e||mi("configIsRequired"),cf(e)||mi("configType"),e.urls?(df(),{paths:{vs:e.urls.monacoBase}}):e}function df(){console.warn(gi.deprecation)}function hf(e,t){throw new Error(e[t]||e.default)}var gi={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
3
- You are using deprecated way of configuration.
4
-
5
- Instead of using
6
- monaco.config({ urls: { monacoBase: '...' } })
7
- use
8
- monaco.config({ paths: { vs: '...' } })
9
-
10
- For more please check the link https://github.com/suren-atoyan/monaco-loader#config
11
- `},mi=uf(hf)(gi),vf={config:ff},pf=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(o){return r.reduceRight(function(a,s){return s(a)},o)}};function yi(e,t){return Object.keys(t).forEach(function(r){t[r]instanceof Object&&e[r]&&Object.assign(t[r],yi(e[r],t[r]))}),di(di({},e),t)}var gf={type:"cancelation",msg:"operation is manually canceled"};function _n(e){var t=!1,r=new Promise(function(n,o){e.then(function(a){return t?o(gf):n(a)}),e.catch(o)});return r.cancel=function(){return t=!0},r}var mf=lf.create({config:sf,isInitialized:!1,resolve:null,reject:null,monaco:null}),bi=Mc(mf,2),Qt=bi[0],Pr=bi[1];function yf(e){var t=vf.config(e),r=t.monaco,n=Fc(t,["monaco"]);Pr(function(o){return{config:yi(o.config,n),monaco:r}})}function bf(){var e=Qt(function(t){var r=t.monaco,n=t.isInitialized,o=t.resolve;return{monaco:r,isInitialized:n,resolve:o}});if(!e.isInitialized){if(Pr({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),_n(kn);if(window.monaco&&window.monaco.editor)return Ci(window.monaco),e.resolve(window.monaco),_n(kn);pf(Cf,Sf)(xf)}return _n(kn)}function Cf(e){return document.body.appendChild(e)}function wf(e){var t=document.createElement("script");return e&&(t.src=e),t}function Sf(e){var t=Qt(function(n){var o=n.config,a=n.reject;return{config:o,reject:a}}),r=wf("".concat(t.config.paths.vs,"/loader.js"));return r.onload=function(){return e()},r.onerror=t.reject,r}function xf(){var e=Qt(function(r){var n=r.config,o=r.resolve,a=r.reject;return{config:n,resolve:o,reject:a}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(r){Ci(r),e.resolve(r)},function(r){e.reject(r)})}function Ci(e){Qt().monaco||Pr({monaco:e})}function Of(){return Qt(function(e){var t=e.monaco;return t})}var kn=new Promise(function(e,t){return Pr({resolve:e,reject:t})}),_f={config:yf,init:bf,__getMonacoInstance:Of};const wi=Xe("CodeEditor",P({name:"CodeEditor",props:{value:{type:String,default:""},config:{type:Object,default:()=>({})},language:{type:String,default:"typescript"}},emits:["update:value"],setup(e,{emit:t}){const r=H("code-editor"),n=L({get(){return e.value||""},set(s){t("update:value",s)}}),o=M(null);let a=null;return Wt(()=>{_f.init().then(s=>{o.value&&(a=s.editor.create(o.value,Wa({value:n.value,language:e.language,automaticLayout:!0,minimap:{enabled:!1}},e.config)),a.onDidBlurEditorText(()=>{n.value=a.getValue()}))})}),qa(()=>{a==null||a.dispose()}),{ns:r,el:o}},render(){return S("div",{ref:"el",class:this.ns.b()},null)}})),En=P({name:"FlexItem",props:{layout:Object},setup(e){return{ns:H("flex-item"),getStyle:()=>{const n={};if(e.layout){const{order:o,alignSelf:a,flexBasis:s,flexGrow:i,flexShrink:l}=e.layout;o!=null&&(n.order=o),a!=null&&(n["align-self"]=a),s!=null&&(n["flex-basis"]=s),i!=null&&(n["flex-grow"]=i),l!=null&&(n["flex-shrink"]=l)}return n}}},render(){var e,t;return S("div",{class:this.ns.b(),style:this.getStyle()},[(t=(e=this.$slots).default)==null?void 0:t.call(e)])}});function kf(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const Si=P({name:"FlexContainer",props:{layout:Object},setup(e){return{ns:H("flex-container"),getStyle:()=>{const o={};if(e.layout){const{alignContent:a,alignItems:s,flexDirection:i,flexWrap:l,justifyContent:c}=e.layout;a!=null&&(o.alignContent=a),s!=null&&(o.alignItems=s),i!=null&&(o.flexDirection=i),l!=null&&(o.flexWrap=l),c!=null&&(o.justifyContent=c)}return o},getItemStyle:o=>{const a={};if(o){const{width:s,height:i}=o;s!=null&&(a.width=s),i!=null&&(a.height=i)}return a}}},render(){var t,r;let e=((r=(t=this.$slots).default)==null?void 0:r.call(t))||[];return e.length>0&&(e=e[0].children||[]),S("div",{class:this.ns.b(),style:this.getStyle()},[e.map(n=>{if(!n)return null;const o=n.props.model.flexItem;return S(En,{layout:o,style:this.getItemStyle(n.props.model)},kf(n)?n:{default:()=>[n]})})])}});function xi(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const Oi=P({name:"GridContainer",props:{layout:Object},setup(){return{ns:H("grid-container")}},render(){var n,o;let e;const t=this.layout||{};let r=((o=(n=this.$slots).default)==null?void 0:o.call(n))||[];return r.length>0&&(r=r[0].children||[]),S(T("a-row"),{class:this.ns.b(),wrap:!0,gutter:t.gutter},xi(e=r.map(a=>{if(!a)return null;const s=a.props.model.gridItem;return S(T("a-col"),{span:s?s.span??24:24,offset:s?s.offset??0:0},xi(a)?a:{default:()=>[a]})}))?e:{default:()=>[e]})}}),_i=P({name:"ViewContainer",props:{context:{type:Object},params:{type:Object},modal:{type:Object,required:!0}},setup(){return{ns:H("view-container")}},render(){var e,t;return S("div",{class:this.ns.b()},[this.$slots.header?S("div",{class:this.ns.b("header")},[this.$slots.header()]):null,S("div",{class:this.ns.b("content")},[(t=(e=this.$slots).default)==null?void 0:t.call(e)]),this.$slots.footer?S("div",{class:this.ns.b("footer")},[this.$slots.footer()]):null])}}),Ef=P({name:"GctFormLengthUnit",inheritAttrs:!1,props:{itemModel:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,required:!0}},emits:["update:value"],setup(e){const t=H("form-length-unit"),r=new Ka(e.model),n=we();return{ns:t,c:r,val:n}},render(){return S(T("length-unit-editor"),ne({value:this.val,"onUpdate:value":e=>this.val=e},this.model.props||{},{class:[this.ns.b(),this.ns.is("readonly",this.model.readonly)]}),null)}});class Af{constructor(){z(this,"component","gct-form-length-unit")}}const Tf=J(le.LENGTH_UNIT,()=>new Af,Ef),ki=P({name:"GctFormColor",inheritAttrs:!1,props:{itemModel:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String}},emits:["update:value"],setup(){const e=H("form-color"),t=we();return{ns:e,val:t}},render(){return S(T("color-picker"),ne({pureColor:this.val,"onUpdate:pureColor":e=>this.val=e,format:"rgba",shape:"circle","use-type":"pure","picker-type":"chrome",class:[this.ns.b(),this.ns.is("readonly",this.model.readonly)]},this.model.props||{}),null)}});class Ei{constructor(){z(this,"component","gct-form-color")}}const Rf=J(st.COLOR,()=>new Ei,ki),jf=J(le.COLOR,()=>new Ei,ki);class Pf{constructor(){z(this,"component","gct-form-check-switch")}}const $f=P({name:"GctFormCheckSwitch",props:{itemModel:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:Boolean,default:!1}},emits:["update:value"],setup(e){const t=H("gct-form-check-switch"),r=new Cn(e.model),n=we();return{ns:t,c:r,val:n}},render(){return this.model.isSwitch?S("div",{class:[this.ns.b(),this.ns.m("switch"),this.ns.is("readonly",this.model.readonly)]},[S(T("a-switch"),ne({checked:this.val,"onUpdate:checked":e=>this.val=e},this.model.props||{}),null)]):S(T("a-checkbox"),ne({checked:this.val,"onUpdate:checked":e=>this.val=e},this.model.props||{},{class:[this.ns.b(),this.ns.m("checkbox"),this.ns.is("readonly",this.model.readonly)]}),{default:()=>[this.model.label]})}}),If=J(le.CHECK_SWITCH,()=>new Pf,$f);class Ff{constructor(){z(this,"component","gct-form-i18n")}}const Mf=P({name:"GctFormI18n",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=H("gct-form-i18n"),r=za().item.i18nConfig,n=we(),o=L({get:()=>r?r.value:"",set:a=>{r&&(r.value=a)}});return{ns:e,val:n,i18nConfigValue:o}},render(){return S(T("i18n-select-input"),ne(this.model.props||{},{i18nText:this.val,"onUpdate:i18nText":e=>this.val=e,i18nConfig:this.i18nConfigValue,"onUpdate:i18nConfig":e=>this.i18nConfigValue=e,inputExtraProps:{showCount:!0,maxlength:32,disabled:this.c.state.disabled}}),null)}}),qf=J(le.I18N,()=>new Ff,Mf),Bf=P({name:"GctFormIconSelect",props:{value:{type:Object},model:{type:Object,required:!0}},emits:["update:value"],setup(e,{emit:t}){var l,c,u;const r=H("gct-form-icon-select"),n=M(e.value),o=M(((l=n.value)==null?void 0:l.icon)||e.model.defaultIcon),a=M(((c=n.value)==null?void 0:c.color)||e.model.defaultColor),s=M(((u=n.value)==null?void 0:u.background)||e.model.defaultBackground);pe(()=>e.value,f=>{n.value=f,f&&(o.value=f.icon,a.value=f.color)}),pe([o,a,s],()=>{n.value={icon:o.value,color:a.value},t("update:value",n.value)});const i=L(()=>{if(e.model.size)return{"--box-size":e.model.size+"px"}});return{ns:r,icon:o,color:a,background:s,nextPickerStyle:i}},render(){return S("div",{class:this.ns.b()},[S(T("icon-next-picker"),{value:this.icon,"onUpdate:value":e=>this.icon=e,color:this.color,"onUpdate:color":e=>this.color=e,background:"#f5f5f5",disabled:this.model.disabled,showColor:this.model.showColor!==!1,style:this.nextPickerStyle},null),this.model.label?S("span",{class:this.ns.e("title")},[this.model.label]):null])}});let Nf=class{constructor(){z(this,"component","gct-form-icon-select")}};const Df=J(le.ICON_SELECT,()=>new Nf,Bf);class Ai{constructor(){z(this,"component","gct-form-number")}}const Ti=P({name:"GctFormNumber",props:{model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=H("gct-form-number"),t=we();return{ns:e,val:t}},render(){return S(T("a-input-number"),ne({value:this.val,"onUpdate:value":e=>this.val=e,class:this.ns.b(),prefix:this.model.prefix,suffix:this.model.suffix,addonBefore:this.model.addonBefore,addonAfter:this.model.addonAfter,placeholder:this.model.placeholder,max:this.model.max,min:this.model.min,precision:this.model.precision},this.model.props||{}),null)}}),Gf=J(st.NUMBER,()=>new Ai,Ti),Lf=J(le.NUMBER,()=>new Ai,Ti);class Hf{constructor(){z(this,"component","gct-form-picker")}}const Vf=P({name:"GctFormPicker",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:null}},emits:["update:value"],setup(e,{emit:t}){const r=H("gct-form-picker"),n=L({get(){return e.model.nameField?e.c.data[e.model.nameField]:""},set(i){e.model.nameField&&(e.c.data[e.model.nameField]=i)}}),o=L({get:()=>!e.c.state.options.find(l=>l.value===e.value)&&n.value?n.value:e.value,set:i=>{typeof i=="string"&&(i=i.trim()),!(typeof i!="object"&&e.value==i)&&t("update:value",i)}}),a=()=>e.c.loadDictionary();return o.value!=null&&e.c.loadDictionary(),{ns:r,val:o,nameVal:n,loadOptions:a,onChange:(i,l)=>{n.value=l.label}}},render(){return S(T("a-select"),ne({value:this.val,"onUpdate:value":e=>this.val=e},this.model.props||{},{class:this.ns.b(),disabled:this.c.state.disabled,loading:this.c.state.loading,options:this.c.state.options,placeholder:this.model.placeholder,onDropdownVisibleChange:this.loadOptions,onChange:this.onChange}),null)}}),Uf=J(le.PICKER,()=>new Hf,Vf);class Wf{constructor(){z(this,"component","gct-form-select")}}const Kf=P({name:"GctFormSelect",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(e){const t=H("gct-form-select"),r=we(),n=L(()=>e.c.state.options&&e.c.state.options.length>0?e.c.state.options:[]);return{ns:t,val:r,options:n}},render(){return S(T("a-select"),ne({value:this.val,"onUpdate:value":e=>this.val=e},this.model.props||{},{class:this.ns.b(),options:this.options,allowClear:!0,disabled:this.c.state.disabled}),null)}}),zf=J(le.SELECT,()=>new Wf,Kf);class Yf{constructor(){z(this,"component","gct-form-Modal-select")}}const Xf=P({name:"GctFormModalSelect",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=H("gct-form-modal-select"),t=M("1"),r=we(),n=L({get(){return r.value||void 0},set(a){r.value=a}}),o=L(()=>[{label:"默认",options:[{value:"1",label:"模型一"},{value:"2",label:"模型二"}]},{label:"产品建模",options:[{value:"3",label:"产品信息"},{value:"4",label:"产品类型"}]}]);return{ns:e,val:n,options:o,modelCategory:t}},render(){return S(T("a-input-group"),{class:this.ns.b()},{default:()=>[S(T("a-form-item-rest"),null,{default:()=>[S(T("a-select"),ne({value:this.modelCategory,"onUpdate:value":e=>this.modelCategory=e},this.model.props||{},{placeholder:"请选择",options:[{value:"1",label:"实体"},{value:"2",label:"视图"},{value:"3",label:"数据"}],disabled:this.c.state.disabled}),null)]}),S(T("a-select"),ne({class:this.ns.e("select"),value:this.val,"onUpdate:value":e=>this.val=e},this.model.props||{},{placeholder:"请选择",options:this.options,allowClear:!0,disabled:this.c.state.disabled}),null)]})}}),Jf=J(le.MODEL_SELECT,()=>new Yf,Xf);class Zf{constructor(){z(this,"component","gct-form-field-select")}}const Qf={class:"gct-box"},Ri=((e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r})(P({__name:"gct-model-select",props:{value:{type:Boolean}},emits:["update:value"],setup(e,{emit:t}){const r=e,n=t,o=L({get(){return r.value},set(c){n("update:value",c)}}),a=M([{key:0,title:"公司名称"},{key:1,title:"ID"},{key:2,title:"创建人"},{key:3,title:"创建部门"},{key:4,title:"修改时间"},{key:5,title:"修改人"},{key:6,title:"修改部门"}]),s=M([]),i=(c,u)=>{console.log()};function l(){o.value=!1}return(c,u)=>{const f=T("a-transfer"),d=T("a-modal");return $(),te(d,{visible:o.value,"onUpdate:visible":u[1]||(u[1]=h=>o.value=h),width:"600px",title:"关联模型字段","ok-text":"确认","cancel-text":"取消",onOk:l},{default:_r(()=>[u[2]||(u[2]=k("div",null,"所属模型:公司",-1)),k("div",Qf,[S(f,{"target-keys":s.value,"onUpdate:targetKeys":u[0]||(u[0]=h=>s.value=h),locale:{itemUnit:"项已选",itemsUnit:"项未选",searchPlaceholder:"请输入搜索内容"},"data-source":a.value,"show-search":"","filter-option":i,render:h=>h.title},null,8,["target-keys","data-source","render"])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-bff0c27a"]]),ed=P({name:"GctFormFieldSelect",components:{modal:Ri},props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=H("gct-form-field-select"),t=M(!1);return{ns:e,visible:t}},render(){return S("div",null,[S(T("a-button"),{onClick:()=>this.visible=!0,block:!0},{default:()=>[kr("选择模型字段")]}),S(Ri,{value:this.visible,"onUpdate:value":e=>this.visible=e},null)])}}),td=J(le.Field_SELECT,()=>new Zf,ed);class rd{constructor(){z(this,"component","gct-form-span")}}const nd=P({name:"GctFormSpan",props:{c:{type:Object,required:!0},itemModel:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},setup(e){const t=H("form-span"),{model:r,itemModel:n,c:o}=Ba(e);function a(){const{isSuccessRef:i}=Ya(e.value);i.value&&si.success(_gct.t("sys.copySuccess"))}o.value.loadDictionary();const s=L(()=>{if(r.value.format&&typeof r.value.format=="function")return r.value.format(o.value.data,n.value,o.value);if(e.value==null||e.value==="")return e.value;if(n.value.dictionary){const l=(n.value.dictionary.items||[]).find(c=>c.value==e.value);if(l)return l.label}if(o.value.state.options.length>0){const i=o.value.state.options.find(l=>l.value==e.value);if(i)return i.label}return e.value});return{ns:t,val:s,handleClipboardKey:a}},render(){return S("div",{class:this.ns.b()},[S("span",{class:this.ns.e("info")},[this.val]),this.model.copy&&S("span",{class:this.ns.e("copy")},[S("i",{class:"iconfont icon-fuzhi primary-gct",onClick:this.handleClipboardKey},null)])])}}),od=J(le.SPAN,()=>new rd,nd);class ji{constructor(){z(this,"component","gct-form-switch")}}const Pi=P({name:"GctFormSwitch",props:{model:{type:Object,required:!0},value:{type:String,default:""}},setup(){const e=H("gct-form-switch"),t=we();return{ns:e,val:t}},render(){return S("div",{class:this.ns.b()},[S(T("a-switch"),ne({checked:this.val,"onUpdate:checked":e=>this.val=e},this.model.props||{}),null)])}}),ad=J(st.SWITCH,()=>new ji,Pi),id=J(le.SWITCH,()=>new ji,Pi);class $i{constructor(){z(this,"component","gct-form-text")}}const Ii=P({name:"GctFormText",props:{model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(e){const t=H("gct-form-text"),r=new Cn(e.model),n=Xa(e.model.prefix||e.model.addonBefore,e.model.suffix||e.model.addonAfter);return{ns:t,c:r,val:n}},render(){return S(T("a-input"),ne({value:this.val,"onUpdate:value":e=>this.val=e},this.model.props||{},{class:this.ns.b(),prefix:this.model.prefix,suffix:this.model.suffix,addonBefore:this.model.addonBefore,addonAfter:this.model.addonAfter,placeholder:this.model.placeholder,"show-count":this.model.max!=null,maxlength:this.model.max}),null)}}),ld=J(st.TEXT,()=>new $i,Ii),sd=J(le.TEXT,()=>new $i,Ii);class ud{constructor(){z(this,"component","gct-form-textarea")}}const cd=P({name:"GctFormTextarea",props:{model:{type:Object,required:!0},value:{type:String,default:null}},emits:["update:value"],setup(){const e=H("gct-form-textarea"),t=we();return{ns:e,val:t}},render(){return S(T("a-textarea"),ne({value:this.val,"onUpdate:value":e=>this.val=e},this.model.props||{},{class:this.ns.b(),"auto-size":this.model.autoSize,"show-count":this.model.max!=null,maxlength:this.model.max,placeholder:this.model.placeholder}),null)}}),fd=J(le.TEXTAREA,()=>new ud,cd);function dd(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const Fi=P({name:"GctFormRadio",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=H("gct-form-radio"),t=we();return{ns:e,val:t}},render(){const e={...this.model.props||{},class:[this.ns.b()],allowClear:!0,disabled:this.c.state.disabled};if(this.model.buttonMode){let t;return e.class.push(this.ns.m("button")),S(Sn,ne({value:this.val,"onUpdate:value":r=>this.val=r,size:"small","button-style":"solid"},e),dd(t=this.c.state.options.map(r=>S(ui,{key:r.value,value:r.value},{default:()=>[r.label]})))?t:{default:()=>[t]})}return e.class.push(this.ns.m("radio")),S(Sn,ne({value:this.val,"onUpdate:value":t=>this.val=t,options:this.c.state.options},e),null)}});let Mi=class{constructor(){z(this,"component","gct-form-radio")}};const hd=J(st.RADIO,()=>new Mi,Fi),vd=J(le.RADIO,()=>new Mi,Fi),pd=P({name:"GctFormInfo",props:{value:{type:String,default:""},model:{type:Object,required:!0}},emits:["update:value"],setup(){const e=H("gct-form-info"),t=we();return{ns:e,val:t}},render(){return S("div",{class:this.ns.b()},[this.model.icon?S("span",{class:this.ns.e("icon")},[S("i",{class:`iconfont ${this.model.icon}`},null)]):null,S("span",{class:this.ns.e("content")},[this.val||this.model.content])])}});let gd=class{constructor(){z(this,"component","gct-form-info")}};const md=J(le.INFO,()=>new gd,pd),qi=P({name:"GctFormCheckbox",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(e,{emit:t}){const r=H("gct-form-checkbox"),n=we(),o=L(()=>n.value),a=L(()=>On(e.c.state.options));return{ns:r,checked:o,onChange:i=>{a.value.forEach(l=>{e.model.minLength&&i.length<=e.model.minLength&&i.includes(l.value)?l.disabled=!0:l.disabled=!1,l.checked=i.includes(l.value)}),t("update:value",i)},options:a}},render(){const e={...this.model.props||{},class:[this.ns.b(),this.ns.m("checkbox"),this.model.layout==="column"&&"isColumn"],disabled:this.c.state.disabled};return S(ci,ne({value:this.checked,"onUpdate:value":t=>this.checked=t,options:this.options},e,{onChange:this.onChange}),null)}});class Bi{constructor(){z(this,"component","gct-form-checkbox")}}const yd=J(st.CHECKBOX,()=>new Bi,qi),bd=J(le.CHECKBOX,()=>new Bi,qi);var Ni=require("../internals/global-this"),Di=require("../internals/function-call"),An=require("../internals/array-buffer-view-core"),Cd=require("../internals/length-of-array-like"),wd=require("../internals/to-offset"),Sd=require("../internals/to-object"),Gi=require("../internals/fails"),xd=Ni.RangeError,Tn=Ni.Int8Array,Li=Tn&&Tn.prototype,Hi=Li&&Li.set,Od=An.aTypedArray,_d=An.exportTypedArrayMethod,Rn=!Gi(function(){var e=new Uint8ClampedArray(2);return Di(Hi,e,{length:1,0:3},1),e[1]!==3}),kd=Rn&&An.NATIVE_ARRAY_BUFFER_VIEWS&&Gi(function(){var e=new Tn(2);return e.set(1),e.set("2",1),e[0]!==0||e[1]!==2});_d("set",function(t){Od(this);var r=wd(arguments.length>1?arguments[1]:void 0,1),n=Sd(t);if(Rn)return Di(Hi,this,n,r);var o=this.length,a=Cd(n),s=0;if(a+r>o)throw new xd("Wrong length");for(;s<a;)this[r+s]=n[s++]},!Rn||kd);function Vi(e){return Da()?(Ga(e),!0):!1}function ut(e){return typeof e=="function"?e():Na(e)}const $r=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ed=Object.prototype.toString,Ad=e=>Ed.call(e)==="[object Object]",_t=()=>{},Td=Rd();function Rd(){var e,t;return $r&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ui(e,t){function r(...n){return new Promise((o,a)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(a)})}return r}const Wi=e=>e();function jd(e,t={}){let r,n,o=_t;const a=i=>{clearTimeout(i),o(),o=_t};return i=>{const l=ut(e),c=ut(t.maxWait);return r&&a(r),l<=0||c!==void 0&&c<=0?(n&&(a(n),n=null),Promise.resolve(i())):new Promise((u,f)=>{o=t.rejectOnCancel?f:u,c&&!n&&(n=setTimeout(()=>{r&&a(r),n=null,u(i())},c)),r=setTimeout(()=>{n&&a(n),n=null,u(i())},l)})}}function Pd(e=Wi){const t=M(!0);function r(){t.value=!1}function n(){t.value=!0}const o=(...a)=>{t.value&&e(...a)};return{isActive:pn(t),pause:r,resume:n,eventFilter:o}}function $d(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{const n=t;t=void 0,n&&await n},r}function Id(e){return Er()}function He(e,t=200,r={}){return Ui(jd(t,r),e)}function Fd(e,t,r={}){const{eventFilter:n=Wi,...o}=r;return pe(e,Ui(n,t),o)}function Md(e,t,r={}){const{eventFilter:n,...o}=r,{eventFilter:a,pause:s,resume:i,isActive:l}=Pd(n);return{stop:Fd(e,t,{...o,eventFilter:a}),pause:s,resume:i,isActive:l}}function ct(e,t=!0,r){Id()?Wt(e,r):t?e():Kt(e)}function qd(e,t,r={}){const{immediate:n=!0}=r,o=M(!1);let a=null;function s(){a&&(clearTimeout(a),a=null)}function i(){o.value=!1,s()}function l(...c){s(),o.value=!0,a=setTimeout(()=>{o.value=!1,a=null,e(...c)},ut(t))}return n&&(o.value=!0,$r&&l()),Vi(i),{isPending:pn(o),start:l,stop:i}}function fe(e,t,r){const n=pe(e,(o,a,s)=>{o&&(r!=null&&r.once&&Kt(()=>n()),t(o,a,s))},{...r,once:!1});return n}function er(e){var t;const r=ut(e);return(t=r==null?void 0:r.$el)!=null?t:r}const tr=$r?window:void 0,Ki=$r?window.navigator:void 0;function ft(...e){let t,r,n,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,n,o]=e,t=tr):[t,r,n,o]=e,!t)return _t;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],s=()=>{a.forEach(u=>u()),a.length=0},i=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=pe(()=>[er(t),ut(o)],([u,f])=>{if(s(),!u)return;const d=Ad(f)?{...f}:f;a.push(...r.flatMap(h=>n.map(p=>i(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return Vi(c),c}let zi=!1;function Bd(e,t,r={}){const{window:n=tr,ignore:o=[],capture:a=!0,detectIframe:s=!1}=r;if(!n)return _t;Td&&!zi&&(zi=!0,Array.from(n.document.body.children).forEach(d=>d.addEventListener("click",_t)),n.document.documentElement.addEventListener("click",_t));let i=!0;const l=d=>o.some(h=>{if(typeof h=="string")return Array.from(n.document.querySelectorAll(h)).some(p=>p===d.target||d.composedPath().includes(p));{const p=er(h);return p&&(d.target===p||d.composedPath().includes(p))}}),u=[ft(n,"click",d=>{const h=er(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(i=!l(d)),!i){i=!0;return}t(d)}},{passive:!0,capture:a}),ft(n,"pointerdown",d=>{const h=er(e);i=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),s&&ft(n,"blur",d=>{setTimeout(()=>{var h;const p=er(e);((h=n.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(p!=null&&p.contains(n.document.activeElement))&&t(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function Nd(){const e=M(!1),t=Er();return t&&Wt(()=>{e.value=!0},t),e}function Yi(e){const t=Nd();return L(()=>(t.value,!!e()))}function Xi(e,t={}){const{controls:r=!1,navigator:n=Ki}=t,o=Yi(()=>n&&"permissions"in n);let a;const s=typeof e=="string"?{name:e}:e,i=M(),l=()=>{a&&(i.value=a.state)},c=$d(async()=>{if(o.value){if(!a)try{a=await n.permissions.query(s),ft(a,"change",l),l()}catch{i.value="prompt"}return a}});return c(),r?{state:i,isSupported:o,query:c}:i}function Dd(e={}){const{navigator:t=Ki,read:r=!1,source:n,copiedDuring:o=1500,legacy:a=!1}=e,s=Yi(()=>t&&"clipboard"in t),i=Xi("clipboard-read"),l=Xi("clipboard-write"),c=L(()=>s.value||a),u=M(""),f=M(!1),d=qd(()=>f.value=!1,o);function h(){s.value&&y(i.value)?t.clipboard.readText().then(v=>{u.value=v}):u.value=g()}c.value&&r&&ft(["copy","cut"],h);async function p(v=ut(n)){c.value&&v!=null&&(s.value&&y(l.value)?await t.clipboard.writeText(v):m(v),u.value=v,f.value=!0,d.start())}function m(v){const C=document.createElement("textarea");C.value=v??"",C.style.position="absolute",C.style.opacity="0",document.body.appendChild(C),C.select(),document.execCommand("copy"),C.remove()}function g(){var v,C,w;return(w=(C=(v=document==null?void 0:document.getSelection)==null?void 0:v.call(document))==null?void 0:C.toString())!=null?w:""}function y(v){return v==="granted"||v==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}const Ir=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fr="__vueuse_ssr_handlers__",Gd=Ld();function Ld(){return Fr in Ir||(Ir[Fr]=Ir[Fr]||{}),Ir[Fr]}function Hd(e,t){return Gd[e]||t}function Vd(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ud={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ji="vueuse-storage";function Wd(e,t,r,n={}){var o;const{flush:a="pre",deep:s=!0,listenToStorageChanges:i=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=tr,eventFilter:d,onError:h=R=>{console.error(R)},initOnMounted:p}=n,m=(u?La:M)(typeof t=="function"?t():t);if(!r)try{r=Hd("getDefaultStorage",()=>{var R;return(R=tr)==null?void 0:R.localStorage})()}catch(R){h(R)}if(!r)return m;const g=ut(t),y=Vd(g),v=(o=n.serializer)!=null?o:Ud[y],{pause:C,resume:w}=Md(m,()=>E(m.value),{flush:a,deep:s,eventFilter:d});f&&i&&ct(()=>{ft(f,"storage",D),ft(f,Ji,B),p&&D()}),p||D();function _(R,b){f&&f.dispatchEvent(new CustomEvent(Ji,{detail:{key:e,oldValue:R,newValue:b,storageArea:r}}))}function E(R){try{const b=r.getItem(e);if(R==null)_(b,null),r.removeItem(e);else{const A=v.write(R);b!==A&&(r.setItem(e,A),_(b,A))}}catch(b){h(b)}}function F(R){const b=R?R.newValue:r.getItem(e);if(b==null)return l&&g!=null&&r.setItem(e,v.write(g)),g;if(!R&&c){const A=v.read(b);return typeof c=="function"?c(A,g):y==="object"&&!Array.isArray(A)?{...g,...A}:A}else return typeof b!="string"?b:v.read(b)}function D(R){if(!(R&&R.storageArea!==r)){if(R&&R.key==null){m.value=g;return}if(!(R&&R.key!==e)){C();try{(R==null?void 0:R.newValue)!==v.write(m.value)&&(m.value=F(R))}catch(b){h(b)}finally{R?Kt(w):w()}}}}function B(R){D(R.detail)}return m}function jn(e,t,r={}){const{window:n=tr}=r;return Wd(e,t,n==null?void 0:n.localStorage,r)}function Mr(e){"@babel/helpers - typeof";return Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mr(e)}var Kd=/^\s+/,zd=/\s+$/;function x(e,t){if(e=e||"",t=t||{},e instanceof x)return e;if(!(this instanceof x))return new x(e,t);var r=Yd(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=r.ok}x.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},getLuminance:function(){var t=this.toRgb(),r,n,o,a,s,i;return r=t.r/255,n=t.g/255,o=t.b/255,r<=.03928?a=r/12.92:a=Math.pow((r+.055)/1.055,2.4),n<=.03928?s=n/12.92:s=Math.pow((n+.055)/1.055,2.4),o<=.03928?i=o/12.92:i=Math.pow((o+.055)/1.055,2.4),.2126*a+.7152*s+.0722*i},setAlpha:function(t){return this._a=nl(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=Qi(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=Qi(this._r,this._g,this._b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.v*100);return this._a==1?"hsv("+r+", "+n+"%, "+o+"%)":"hsva("+r+", "+n+"%, "+o+"%, "+this._roundA+")"},toHsl:function(){var t=Zi(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=Zi(this._r,this._g,this._b),r=Math.round(t.h*360),n=Math.round(t.s*100),o=Math.round(t.l*100);return this._a==1?"hsl("+r+", "+n+"%, "+o+"%)":"hsla("+r+", "+n+"%, "+o+"%, "+this._roundA+")"},toHex:function(t){return el(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return Qd(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(Z(this._r,255)*100)+"%",g:Math.round(Z(this._g,255)*100)+"%",b:Math.round(Z(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(Z(this._r,255)*100)+"%, "+Math.round(Z(this._g,255)*100)+"%, "+Math.round(Z(this._b,255)*100)+"%)":"rgba("+Math.round(Z(this._r,255)*100)+"%, "+Math.round(Z(this._g,255)*100)+"%, "+Math.round(Z(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:fh[el(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var r="#"+tl(this._r,this._g,this._b,this._a),n=r,o=this._gradientType?"GradientType = 1, ":"";if(t){var a=x(t);n="#"+tl(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+r+",endColorstr="+n+")"},toString:function(t){var r=!!t;t=t||this._format;var n=!1,o=this._a<1&&this._a>=0,a=!r&&o&&(t==="hex"||t==="hex6"||t==="hex3"||t==="hex4"||t==="hex8"||t==="name");return a?t==="name"&&this._a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return x(this.toString())},_applyModification:function(t,r){var n=t.apply(null,[this].concat([].slice.call(r)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(nh,arguments)},brighten:function(){return this._applyModification(oh,arguments)},darken:function(){return this._applyModification(ah,arguments)},desaturate:function(){return this._applyModification(eh,arguments)},saturate:function(){return this._applyModification(th,arguments)},greyscale:function(){return this._applyModification(rh,arguments)},spin:function(){return this._applyModification(ih,arguments)},_applyCombination:function(t,r){return t.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(uh,arguments)},complement:function(){return this._applyCombination(lh,arguments)},monochromatic:function(){return this._applyCombination(ch,arguments)},splitcomplement:function(){return this._applyCombination(sh,arguments)},triad:function(){return this._applyCombination(rl,[3])},tetrad:function(){return this._applyCombination(rl,[4])}},x.fromRatio=function(e,t){if(Mr(e)=="object"){var r={};for(var n in e)e.hasOwnProperty(n)&&(n==="a"?r[n]=e[n]:r[n]=rr(e[n]));e=r}return x(e,t)};function Yd(e){var t={r:0,g:0,b:0},r=1,n=null,o=null,a=null,s=!1,i=!1;return typeof e=="string"&&(e=ph(e)),Mr(e)=="object"&&(Ve(e.r)&&Ve(e.g)&&Ve(e.b)?(t=Xd(e.r,e.g,e.b),s=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ve(e.h)&&Ve(e.s)&&Ve(e.v)?(n=rr(e.s),o=rr(e.v),t=Zd(e.h,n,o),s=!0,i="hsv"):Ve(e.h)&&Ve(e.s)&&Ve(e.l)&&(n=rr(e.s),a=rr(e.l),t=Jd(e.h,n,a),s=!0,i="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=nl(r),{ok:s,format:e.format||i,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}function Xd(e,t,r){return{r:Z(e,255)*255,g:Z(t,255)*255,b:Z(r,255)*255}}function Zi(e,t,r){e=Z(e,255),t=Z(t,255),r=Z(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a,s,i=(n+o)/2;if(n==o)a=s=0;else{var l=n-o;switch(s=i>.5?l/(2-n-o):l/(n+o),n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4;break}a/=6}return{h:a,s,l:i}}function Jd(e,t,r){var n,o,a;e=Z(e,360),t=Z(t,100),r=Z(r,100);function s(c,u,f){return f<0&&(f+=1),f>1&&(f-=1),f<1/6?c+(u-c)*6*f:f<1/2?u:f<2/3?c+(u-c)*(2/3-f)*6:c}if(t===0)n=o=a=r;else{var i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=s(l,i,e+1/3),o=s(l,i,e),a=s(l,i,e-1/3)}return{r:n*255,g:o*255,b:a*255}}function Qi(e,t,r){e=Z(e,255),t=Z(t,255),r=Z(r,255);var n=Math.max(e,t,r),o=Math.min(e,t,r),a,s,i=n,l=n-o;if(s=n===0?0:l/n,n==o)a=0;else{switch(n){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4;break}a/=6}return{h:a,s,v:i}}function Zd(e,t,r){e=Z(e,360)*6,t=Z(t,100),r=Z(r,100);var n=Math.floor(e),o=e-n,a=r*(1-t),s=r*(1-o*t),i=r*(1-(1-o)*t),l=n%6,c=[r,s,a,a,i,r][l],u=[i,r,r,s,a,a][l],f=[a,a,i,r,r,s][l];return{r:c*255,g:u*255,b:f*255}}function el(e,t,r,n){var o=[Pe(Math.round(e).toString(16)),Pe(Math.round(t).toString(16)),Pe(Math.round(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function Qd(e,t,r,n,o){var a=[Pe(Math.round(e).toString(16)),Pe(Math.round(t).toString(16)),Pe(Math.round(r).toString(16)),Pe(ol(n))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function tl(e,t,r,n){var o=[Pe(ol(n)),Pe(Math.round(e).toString(16)),Pe(Math.round(t).toString(16)),Pe(Math.round(r).toString(16))];return o.join("")}x.equals=function(e,t){return!e||!t?!1:x(e).toRgbString()==x(t).toRgbString()},x.random=function(){return x.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function eh(e,t){t=t===0?0:t||10;var r=x(e).toHsl();return r.s-=t/100,r.s=qr(r.s),x(r)}function th(e,t){t=t===0?0:t||10;var r=x(e).toHsl();return r.s+=t/100,r.s=qr(r.s),x(r)}function rh(e){return x(e).desaturate(100)}function nh(e,t){t=t===0?0:t||10;var r=x(e).toHsl();return r.l+=t/100,r.l=qr(r.l),x(r)}function oh(e,t){t=t===0?0:t||10;var r=x(e).toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),x(r)}function ah(e,t){t=t===0?0:t||10;var r=x(e).toHsl();return r.l-=t/100,r.l=qr(r.l),x(r)}function ih(e,t){var r=x(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,x(r)}function lh(e){var t=x(e).toHsl();return t.h=(t.h+180)%360,x(t)}function rl(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=x(e).toHsl(),n=[x(e)],o=360/t,a=1;a<t;a++)n.push(x({h:(r.h+a*o)%360,s:r.s,l:r.l}));return n}function sh(e){var t=x(e).toHsl(),r=t.h;return[x(e),x({h:(r+72)%360,s:t.s,l:t.l}),x({h:(r+216)%360,s:t.s,l:t.l})]}function uh(e,t,r){t=t||6,r=r||30;var n=x(e).toHsl(),o=360/r,a=[x(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(x(n));return a}function ch(e,t){t=t||6;for(var r=x(e).toHsv(),n=r.h,o=r.s,a=r.v,s=[],i=1/t;t--;)s.push(x({h:n,s:o,v:a})),a=(a+i)%1;return s}x.mix=function(e,t,r){r=r===0?0:r||50;var n=x(e).toRgb(),o=x(t).toRgb(),a=r/100,s={r:(o.r-n.r)*a+n.r,g:(o.g-n.g)*a+n.g,b:(o.b-n.b)*a+n.b,a:(o.a-n.a)*a+n.a};return x(s)},x.readability=function(e,t){var r=x(e),n=x(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},x.isReadable=function(e,t,r){var n=x.readability(e,t),o,a;switch(a=!1,o=gh(r),o.level+o.size){case"AAsmall":case"AAAlarge":a=n>=4.5;break;case"AAlarge":a=n>=3;break;case"AAAsmall":a=n>=7;break}return a},x.mostReadable=function(e,t,r){var n=null,o=0,a,s,i,l;r=r||{},s=r.includeFallbackColors,i=r.level,l=r.size;for(var c=0;c<t.length;c++)a=x.readability(e,t[c]),a>o&&(o=a,n=x(t[c]));return x.isReadable(e,n,{level:i,size:l})||!s?n:(r.includeFallbackColors=!1,x.mostReadable(e,["#fff","#000"],r))};var Pn=x.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},fh=x.hexNames=dh(Pn);function dh(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function nl(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Z(e,t){hh(e)&&(e="100%");var r=vh(e);return e=Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function qr(e){return Math.min(1,Math.max(0,e))}function Se(e){return parseInt(e,16)}function hh(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function vh(e){return typeof e=="string"&&e.indexOf("%")!=-1}function Pe(e){return e.length==1?"0"+e:""+e}function rr(e){return e<=1&&(e=e*100+"%"),e}function ol(e){return Math.round(parseFloat(e)*255).toString(16)}function al(e){return Se(e)/255}var $e=(function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",r="(?:"+t+")|(?:"+e+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",o="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function Ve(e){return!!$e.CSS_UNIT.exec(e)}function ph(e){e=e.replace(Kd,"").replace(zd,"").toLowerCase();var t=!1;if(Pn[e])e=Pn[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=$e.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=$e.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=$e.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=$e.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=$e.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=$e.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=$e.hex8.exec(e))?{r:Se(r[1]),g:Se(r[2]),b:Se(r[3]),a:al(r[4]),format:t?"name":"hex8"}:(r=$e.hex6.exec(e))?{r:Se(r[1]),g:Se(r[2]),b:Se(r[3]),format:t?"name":"hex"}:(r=$e.hex4.exec(e))?{r:Se(r[1]+""+r[1]),g:Se(r[2]+""+r[2]),b:Se(r[3]+""+r[3]),a:al(r[4]+""+r[4]),format:t?"name":"hex8"}:(r=$e.hex3.exec(e))?{r:Se(r[1]+""+r[1]),g:Se(r[2]+""+r[2]),b:Se(r[3]+""+r[3]),format:t?"name":"hex"}:!1}function gh(e){var t,r;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),t!=="AA"&&t!=="AAA"&&(t="AA"),r!=="small"&&r!=="large"&&(r="small"),{level:t,size:r}}var il=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Br={},ll;function mh(){if(ll)return Br;ll=1;var e=e||{};e.stringify=(function(){var t={"visit_linear-gradient":function(r){return t.visit_gradient(r)},"visit_repeating-linear-gradient":function(r){return t.visit_gradient(r)},"visit_radial-gradient":function(r){return t.visit_gradient(r)},"visit_repeating-radial-gradient":function(r){return t.visit_gradient(r)},visit_gradient:function(r){var n=t.visit(r.orientation);return n&&(n+=", "),r.type+"("+n+t.visit(r.colorStops)+")"},visit_shape:function(r){var n=r.value,o=t.visit(r.at),a=t.visit(r.style);return a&&(n+=" "+a),o&&(n+=" at "+o),n},"visit_default-radial":function(r){var n="",o=t.visit(r.at);return o&&(n+=o),n},"visit_extent-keyword":function(r){var n=r.value,o=t.visit(r.at);return o&&(n+=" at "+o),n},"visit_position-keyword":function(r){return r.value},visit_position:function(r){return t.visit(r.value.x)+" "+t.visit(r.value.y)},"visit_%":function(r){return r.value+"%"},visit_em:function(r){return r.value+"em"},visit_px:function(r){return r.value+"px"},visit_literal:function(r){return t.visit_color(r.value,r)},visit_hex:function(r){return t.visit_color("#"+r.value,r)},visit_rgb:function(r){return t.visit_color("rgb("+r.value.join(", ")+")",r)},visit_rgba:function(r){return t.visit_color("rgba("+r.value.join(", ")+")",r)},visit_color:function(r,n){var o=r,a=t.visit(n.length);return a&&(o+=" "+a),o},visit_angular:function(r){return r.value+"deg"},visit_directional:function(r){return"to "+r.value},visit_array:function(r){var n="",o=r.length;return r.forEach(function(a,s){n+=t.visit(a),s<o-1&&(n+=", ")}),n},visit:function(r){if(!r)return"";var n="";if(r instanceof Array)return t.visit_array(r,n);if(r.type){var o=t["visit_"+r.type];if(o)return o(r);throw Error("Missing visitor visit_"+r.type)}else throw Error("Invalid node.")}};return function(r){return t.visit(r)}})();var e=e||{};return e.parse=(function(){var t={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},r="";function n(j){var N=new Error(r+": "+j);throw N.source=r,N}function o(){var j=a();return r.length>0&&n("Invalid input not EOF"),j}function a(){return w(s)}function s(){return i("linear-gradient",t.linearGradient,c)||i("repeating-linear-gradient",t.repeatingLinearGradient,c)||i("radial-gradient",t.radialGradient,d)||i("repeating-radial-gradient",t.repeatingRadialGradient,d)}function i(j,N,W){return l(N,function(be){var De=W();return De&&(X(t.comma)||n("Missing comma before color stops")),{type:j,orientation:De,colorStops:w(_)}})}function l(j,N){var W=X(j);if(W){X(t.startCall)||n("Missing (");var be=N(W);return X(t.endCall)||n("Missing )"),be}}function c(){return u()||f()}function u(){return G("directional",t.sideOrCorner,1)}function f(){return G("angular",t.angleValue,1)}function d(){var j,N=h(),W;return N&&(j=[],j.push(N),W=r,X(t.comma)&&(N=h(),N?j.push(N):r=W)),j}function h(){var j=p()||m();if(j)j.at=y();else{var N=g();if(N){j=N;var W=y();W&&(j.at=W)}else{var be=v();be&&(j={type:"default-radial",at:be})}}return j}function p(){var j=G("shape",/^(circle)/i,0);return j&&(j.style=U()||g()),j}function m(){var j=G("shape",/^(ellipse)/i,0);return j&&(j.style=A()||g()),j}function g(){return G("extent-keyword",t.extentKeywords,1)}function y(){if(G("position",/^at/,0)){var j=v();return j||n("Missing positioning value"),j}}function v(){var j=C();if(j.x||j.y)return{type:"position",value:j}}function C(){return{x:A(),y:A()}}function w(j){var N=j(),W=[];if(N)for(W.push(N);X(t.comma);)N=j(),N?W.push(N):n("One extra comma");return W}function _(){var j=E();return j||n("Expected color definition"),j.length=A(),j}function E(){return D()||R()||B()||F()}function F(){return G("literal",t.literalColor,0)}function D(){return G("hex",t.hexColor,1)}function B(){return l(t.rgbColor,function(){return{type:"rgb",value:w(b)}})}function R(){return l(t.rgbaColor,function(){return{type:"rgba",value:w(b)}})}function b(){return X(t.number)[1]}function A(){return G("%",t.percentageValue,1)||q()||U()}function q(){return G("position-keyword",t.positionKeywords,1)}function U(){return G("px",t.pixelValue,1)||G("em",t.emValue,1)}function G(j,N,W){var be=X(N);if(be)return{type:j,value:be[W]}}function X(j){var N,W;return W=/^[\n\r\t\s]+/.exec(r),W&&ce(W[0].length),N=j.exec(r),N&&ce(N[0].length),N}function ce(j){r=r.substr(j)}return function(j){return r=j.toString(),o()}})(),Br.parse=e.parse,Br.stringify=e.stringify,Br}var sl=mh(),ge="top",ke="bottom",Ee="right",me="left",$n="auto",nr=[ge,ke,Ee,me],kt="start",or="end",yh="clippingParents",ul="viewport",ar="popper",bh="reference",cl=nr.reduce(function(e,t){return e.concat([t+"-"+kt,t+"-"+or])},[]),fl=[].concat(nr,[$n]).reduce(function(e,t){return e.concat([t,t+"-"+kt,t+"-"+or])},[]),Ch="beforeRead",wh="read",Sh="afterRead",xh="beforeMain",Oh="main",_h="afterMain",kh="beforeWrite",Eh="write",Ah="afterWrite",Th=[Ch,wh,Sh,xh,Oh,_h,kh,Eh,Ah];function Me(e){return e?(e.nodeName||"").toLowerCase():null}function xe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function dt(e){var t=xe(e).Element;return e instanceof t||e instanceof Element}function Ae(e){var t=xe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function In(e){if(typeof ShadowRoot>"u")return!1;var t=xe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rh(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!Ae(a)||!Me(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(s){var i=o[s];i===!1?a.removeAttribute(s):a.setAttribute(s,i===!0?"":i)}))})}function jh(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=s.reduce(function(l,c){return l[c]="",l},{});!Ae(o)||!Me(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(l){o.removeAttribute(l)}))})}}const Ph={name:"applyStyles",enabled:!0,phase:"write",fn:Rh,effect:jh,requires:["computeStyles"]};function qe(e){return e.split("-")[0]}var ht=Math.max,Nr=Math.min,Et=Math.round;function Fn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function dl(){return!/^((?!chrome|android).)*safari/i.test(Fn())}function At(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Ae(e)&&(o=e.offsetWidth>0&&Et(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Et(n.height)/e.offsetHeight||1);var s=dt(e)?xe(e):window,i=s.visualViewport,l=!dl()&&r,c=(n.left+(l&&i?i.offsetLeft:0))/o,u=(n.top+(l&&i?i.offsetTop:0))/a,f=n.width/o,d=n.height/a;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Mn(e){var t=At(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function hl(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&In(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ue(e){return xe(e).getComputedStyle(e)}function $h(e){return["table","td","th"].indexOf(Me(e))>=0}function et(e){return((dt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Dr(e){return Me(e)==="html"?e:e.assignedSlot||e.parentNode||(In(e)?e.host:null)||et(e)}function vl(e){return!Ae(e)||Ue(e).position==="fixed"?null:e.offsetParent}function Ih(e){var t=/firefox/i.test(Fn()),r=/Trident/i.test(Fn());if(r&&Ae(e)){var n=Ue(e);if(n.position==="fixed")return null}var o=Dr(e);for(In(o)&&(o=o.host);Ae(o)&&["html","body"].indexOf(Me(o))<0;){var a=Ue(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function ir(e){for(var t=xe(e),r=vl(e);r&&$h(r)&&Ue(r).position==="static";)r=vl(r);return r&&(Me(r)==="html"||Me(r)==="body"&&Ue(r).position==="static")?t:r||Ih(e)||t}function qn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lr(e,t,r){return ht(e,Nr(t,r))}function Fh(e,t,r){var n=lr(e,t,r);return n>r?r:n}function pl(){return{top:0,right:0,bottom:0,left:0}}function gl(e){return Object.assign({},pl(),e)}function ml(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Mh=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,gl(typeof t!="number"?t:ml(t,nr))};function qh(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,i=qe(r.placement),l=qn(i),c=[me,Ee].indexOf(i)>=0,u=c?"height":"width";if(!(!a||!s)){var f=Mh(o.padding,r),d=Mn(a),h=l==="y"?ge:me,p=l==="y"?ke:Ee,m=r.rects.reference[u]+r.rects.reference[l]-s[l]-r.rects.popper[u],g=s[l]-r.rects.reference[l],y=ir(a),v=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,C=m/2-g/2,w=f[h],_=v-d[u]-f[p],E=v/2-d[u]/2+C,F=lr(w,E,_),D=l;r.modifiersData[n]=(t={},t[D]=F,t.centerOffset=F-E,t)}}function Bh(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||hl(t.elements.popper,o)&&(t.elements.arrow=o))}const Nh={name:"arrow",enabled:!0,phase:"main",fn:qh,effect:Bh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Tt(e){return e.split("-")[1]}var Dh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gh(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Et(r*o)/o||0,y:Et(n*o)/o||0}}function yl(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,s=e.offsets,i=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=s.x,h=d===void 0?0:d,p=s.y,m=p===void 0?0:p,g=typeof u=="function"?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var y=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),C=me,w=ge,_=window;if(c){var E=ir(r),F="clientHeight",D="clientWidth";if(E===xe(r)&&(E=et(r),Ue(E).position!=="static"&&i==="absolute"&&(F="scrollHeight",D="scrollWidth")),E=E,o===ge||(o===me||o===Ee)&&a===or){w=ke;var B=f&&E===_&&_.visualViewport?_.visualViewport.height:E[F];m-=B-n.height,m*=l?1:-1}if(o===me||(o===ge||o===ke)&&a===or){C=Ee;var R=f&&E===_&&_.visualViewport?_.visualViewport.width:E[D];h-=R-n.width,h*=l?1:-1}}var b=Object.assign({position:i},c&&Dh),A=u===!0?Gh({x:h,y:m},xe(r)):{x:h,y:m};if(h=A.x,m=A.y,l){var q;return Object.assign({},b,(q={},q[w]=v?"0":"",q[C]=y?"0":"",q.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",q))}return Object.assign({},b,(t={},t[w]=v?m+"px":"",t[C]=y?h+"px":"",t.transform="",t))}function Lh(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,s=a===void 0?!0:a,i=r.roundOffsets,l=i===void 0?!0:i,c={placement:qe(t.placement),variation:Tt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,yl(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,yl(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Hh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Lh,data:{}};var Gr={passive:!0};function Vh(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,s=n.resize,i=s===void 0?!0:s,l=xe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",r.update,Gr)}),i&&l.addEventListener("resize",r.update,Gr),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",r.update,Gr)}),i&&l.removeEventListener("resize",r.update,Gr)}}const Uh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vh,data:{}};var Wh={left:"right",right:"left",bottom:"top",top:"bottom"};function Lr(e){return e.replace(/left|right|bottom|top/g,function(t){return Wh[t]})}var Kh={start:"end",end:"start"};function bl(e){return e.replace(/start|end/g,function(t){return Kh[t]})}function Bn(e){var t=xe(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Nn(e){return At(et(e)).left+Bn(e).scrollLeft}function zh(e,t){var r=xe(e),n=et(e),o=r.visualViewport,a=n.clientWidth,s=n.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;var c=dl();(c||!c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i+Nn(e),y:l}}function Yh(e){var t,r=et(e),n=Bn(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=ht(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=ht(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-n.scrollLeft+Nn(e),l=-n.scrollTop;return Ue(o||r).direction==="rtl"&&(i+=ht(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}function Dn(e){var t=Ue(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Cl(e){return["html","body","#document"].indexOf(Me(e))>=0?e.ownerDocument.body:Ae(e)&&Dn(e)?e:Cl(Dr(e))}function sr(e,t){var r;t===void 0&&(t=[]);var n=Cl(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=xe(n),s=o?[a].concat(a.visualViewport||[],Dn(n)?n:[]):n,i=t.concat(s);return o?i:i.concat(sr(Dr(s)))}function Gn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Xh(e,t){var r=At(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function wl(e,t,r){return t===ul?Gn(zh(e,r)):dt(t)?Xh(t,r):Gn(Yh(et(e)))}function Jh(e){var t=sr(Dr(e)),r=["absolute","fixed"].indexOf(Ue(e).position)>=0,n=r&&Ae(e)?ir(e):e;return dt(n)?t.filter(function(o){return dt(o)&&hl(o,n)&&Me(o)!=="body"}):[]}function Zh(e,t,r,n){var o=t==="clippingParents"?Jh(e):[].concat(t),a=[].concat(o,[r]),s=a[0],i=a.reduce(function(l,c){var u=wl(e,c,n);return l.top=ht(u.top,l.top),l.right=Nr(u.right,l.right),l.bottom=Nr(u.bottom,l.bottom),l.left=ht(u.left,l.left),l},wl(e,s,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Sl(e){var t=e.reference,r=e.element,n=e.placement,o=n?qe(n):null,a=n?Tt(n):null,s=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,l;switch(o){case ge:l={x:s,y:t.y-r.height};break;case ke:l={x:s,y:t.y+t.height};break;case Ee:l={x:t.x+t.width,y:i};break;case me:l={x:t.x-r.width,y:i};break;default:l={x:t.x,y:t.y}}var c=o?qn(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case kt:l[c]=l[c]-(t[u]/2-r[u]/2);break;case or:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function ur(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,s=a===void 0?e.strategy:a,i=r.boundary,l=i===void 0?yh:i,c=r.rootBoundary,u=c===void 0?ul:c,f=r.elementContext,d=f===void 0?ar:f,h=r.altBoundary,p=h===void 0?!1:h,m=r.padding,g=m===void 0?0:m,y=gl(typeof g!="number"?g:ml(g,nr)),v=d===ar?bh:ar,C=e.rects.popper,w=e.elements[p?v:d],_=Zh(dt(w)?w:w.contextElement||et(e.elements.popper),l,u,s),E=At(e.elements.reference),F=Sl({reference:E,element:C,placement:o}),D=Gn(Object.assign({},C,F)),B=d===ar?D:E,R={top:_.top-B.top+y.top,bottom:B.bottom-_.bottom+y.bottom,left:_.left-B.left+y.left,right:B.right-_.right+y.right},b=e.modifiersData.offset;if(d===ar&&b){var A=b[o];Object.keys(R).forEach(function(q){var U=[Ee,ke].indexOf(q)>=0?1:-1,G=[ge,ke].indexOf(q)>=0?"y":"x";R[q]+=A[G]*U})}return R}function Qh(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,s=r.padding,i=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?fl:l,u=Tt(n),f=u?i?cl:cl.filter(function(p){return Tt(p)===u}):nr,d=f.filter(function(p){return c.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,m){return p[m]=ur(e,{placement:m,boundary:o,rootBoundary:a,padding:s})[qe(m)],p},{});return Object.keys(h).sort(function(p,m){return h[p]-h[m]})}function ev(e){if(qe(e)===$n)return[];var t=Lr(e);return[bl(e),t,bl(t)]}function tv(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,s=r.altAxis,i=s===void 0?!0:s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,p=h===void 0?!0:h,m=r.allowedAutoPlacements,g=t.options.placement,y=qe(g),v=y===g,C=l||(v||!p?[Lr(g)]:ev(g)),w=[g].concat(C).reduce(function(at,Ge){return at.concat(qe(Ge)===$n?Qh(t,{placement:Ge,boundary:u,rootBoundary:f,padding:c,flipVariations:p,allowedAutoPlacements:m}):Ge)},[]),_=t.rects.reference,E=t.rects.popper,F=new Map,D=!0,B=w[0],R=0;R<w.length;R++){var b=w[R],A=qe(b),q=Tt(b)===kt,U=[ge,ke].indexOf(A)>=0,G=U?"width":"height",X=ur(t,{placement:b,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),ce=U?q?Ee:me:q?ke:ge;_[G]>E[G]&&(ce=Lr(ce));var j=Lr(ce),N=[];if(a&&N.push(X[A]<=0),i&&N.push(X[ce]<=0,X[j]<=0),N.every(function(at){return at})){B=b,D=!1;break}F.set(b,N)}if(D)for(var W=p?3:1,be=function(Ge){var Or=w.find(function(hn){var St=F.get(hn);if(St)return St.slice(0,Ge).every(function(Ia){return Ia})});if(Or)return B=Or,"break"},De=W;De>0;De--){var Ut=be(De);if(Ut==="break")break}t.placement!==B&&(t.modifiersData[n]._skip=!0,t.placement=B,t.reset=!0)}}const rv={name:"flip",enabled:!0,phase:"main",fn:tv,requiresIfExists:["offset"],data:{_skip:!1}};function xl(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ol(e){return[ge,Ee,ke,me].some(function(t){return e[t]>=0})}function nv(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=ur(t,{elementContext:"reference"}),i=ur(t,{altBoundary:!0}),l=xl(s,n),c=xl(i,o,a),u=Ol(l),f=Ol(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const ov={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:nv};function av(e,t,r){var n=qe(e),o=[me,ge].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=a[0],i=a[1];return s=s||0,i=(i||0)*o,[me,Ee].indexOf(n)>=0?{x:i,y:s}:{x:s,y:i}}function iv(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,s=fl.reduce(function(u,f){return u[f]=av(f,t.rects,a),u},{}),i=s[t.placement],l=i.x,c=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=s}const lv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:iv};function sv(e){var t=e.state,r=e.name;t.modifiersData[r]=Sl({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const uv={name:"popperOffsets",enabled:!0,phase:"read",fn:sv,data:{}};function cv(e){return e==="x"?"y":"x"}function fv(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,s=r.altAxis,i=s===void 0?!1:s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,f=r.padding,d=r.tether,h=d===void 0?!0:d,p=r.tetherOffset,m=p===void 0?0:p,g=ur(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),y=qe(t.placement),v=Tt(t.placement),C=!v,w=qn(y),_=cv(w),E=t.modifiersData.popperOffsets,F=t.rects.reference,D=t.rects.popper,B=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,R=typeof B=="number"?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),b=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(E){if(a){var q,U=w==="y"?ge:me,G=w==="y"?ke:Ee,X=w==="y"?"height":"width",ce=E[w],j=ce+g[U],N=ce-g[G],W=h?-D[X]/2:0,be=v===kt?F[X]:D[X],De=v===kt?-D[X]:-F[X],Ut=t.elements.arrow,at=h&&Ut?Mn(Ut):{width:0,height:0},Ge=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pl(),Or=Ge[U],hn=Ge[G],St=lr(0,F[X],at[X]),Ia=C?F[X]/2-W-St-Or-R.mainAxis:be-St-Or-R.mainAxis,Ub=C?-F[X]/2+W+St+hn+R.mainAxis:De+St+hn+R.mainAxis,Fa=t.elements.arrow&&ir(t.elements.arrow),Wb=Fa?w==="y"?Fa.clientTop||0:Fa.clientLeft||0:0,_c=(q=b==null?void 0:b[w])!=null?q:0,Kb=ce+Ia-_c-Wb,zb=ce+Ub-_c,kc=lr(h?Nr(j,Kb):j,ce,h?ht(N,zb):N);E[w]=kc,A[w]=kc-ce}if(i){var Ec,Yb=w==="x"?ge:me,Xb=w==="x"?ke:Ee,xt=E[_],vn=_==="y"?"height":"width",Ac=xt+g[Yb],Tc=xt-g[Xb],Ma=[ge,me].indexOf(y)!==-1,Rc=(Ec=b==null?void 0:b[_])!=null?Ec:0,jc=Ma?Ac:xt-F[vn]-D[vn]-Rc+R.altAxis,Pc=Ma?xt+F[vn]+D[vn]-Rc-R.altAxis:Tc,$c=h&&Ma?Fh(jc,xt,Pc):lr(h?jc:Ac,xt,h?Pc:Tc);E[_]=$c,A[_]=$c-xt}t.modifiersData[n]=A}}const dv={name:"preventOverflow",enabled:!0,phase:"main",fn:fv,requiresIfExists:["offset"]};function hv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function vv(e){return e===xe(e)||!Ae(e)?Bn(e):hv(e)}function pv(e){var t=e.getBoundingClientRect(),r=Et(t.width)/e.offsetWidth||1,n=Et(t.height)/e.offsetHeight||1;return r!==1||n!==1}function gv(e,t,r){r===void 0&&(r=!1);var n=Ae(t),o=Ae(t)&&pv(t),a=et(t),s=At(e,o,r),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Me(t)!=="body"||Dn(a))&&(i=vv(t)),Ae(t)?(l=At(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Nn(a))),{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function mv(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(i){if(!r.has(i)){var l=t.get(i);l&&o(l)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||o(a)}),n}function yv(e){var t=mv(e);return Th.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function bv(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Cv(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var _l={placement:"bottom",modifiers:[],strategy:"absolute"};function kl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function wv(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,a=o===void 0?_l:o;return function(i,l,c){c===void 0&&(c=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},_l,a),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:u,setOptions:function(y){var v=typeof y=="function"?y(u.options):y;m(),u.options=Object.assign({},a,u.options,v),u.scrollParents={reference:dt(i)?sr(i):i.contextElement?sr(i.contextElement):[],popper:sr(l)};var C=yv(Cv([].concat(n,u.options.modifiers)));return u.orderedModifiers=C.filter(function(w){return w.enabled}),p(),h.update()},forceUpdate:function(){if(!d){var y=u.elements,v=y.reference,C=y.popper;if(kl(v,C)){u.rects={reference:gv(v,ir(C),u.options.strategy==="fixed"),popper:Mn(C)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(R){return u.modifiersData[R.name]=Object.assign({},R.data)});for(var w=0;w<u.orderedModifiers.length;w++){if(u.reset===!0){u.reset=!1,w=-1;continue}var _=u.orderedModifiers[w],E=_.fn,F=_.options,D=F===void 0?{}:F,B=_.name;typeof E=="function"&&(u=E({state:u,options:D,name:B,instance:h})||u)}}}},update:bv(function(){return new Promise(function(g){h.forceUpdate(),g(u)})}),destroy:function(){m(),d=!0}};if(!kl(i,l))return h;h.setOptions(c).then(function(g){!d&&c.onFirstUpdate&&c.onFirstUpdate(g)});function p(){u.orderedModifiers.forEach(function(g){var y=g.name,v=g.options,C=v===void 0?{}:v,w=g.effect;if(typeof w=="function"){var _=w({state:u,name:y,instance:h,options:C}),E=function(){};f.push(_||E)}})}function m(){f.forEach(function(g){return g()}),f=[]}return h}}var Sv=[Uh,uv,Hh,Ph,lv,rv,dv,Nh,ov],xv=wv({defaultModifiers:Sv});function Ov(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function El(e,t,r){return r&&Ov(e,r),e}function Hr(){return(Hr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Al(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Tl(e,t){if(e==null)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}function Rl(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var jl=Object.prototype,Pl=jl.toString,_v=jl.hasOwnProperty,$l=/^\s*function (\w+)/;function Il(e){var t,r=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(r){var n=r.toString().match($l);return n?n[1]:""}return""}var vt=function(e){var t,r;return Rl(e)!==!1&&typeof(t=e.constructor)=="function"&&Rl(r=t.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1},Fl=function(e){return e},ye=Fl;if(process.env.NODE_ENV!=="production"){var kv=typeof console<"u";ye=kv?function(e){console.warn("[VueTypes warn]: "+e)}:Fl}var cr=function(e,t){return _v.call(e,t)},Ev=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},Rt=Array.isArray||function(e){return Pl.call(e)==="[object Array]"},jt=function(e){return Pl.call(e)==="[object Function]"},Vr=function(e){return vt(e)&&cr(e,"_vueTypes_name")},Ml=function(e){return vt(e)&&(cr(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return cr(e,t)}))};function Ln(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function pt(e,t,r){var n,o=!0,a="";n=vt(e)?e:{type:e};var s=Vr(n)?n._vueTypes_name+" - ":"";if(Ml(n)&&n.type!==null){if(n.type===void 0||n.type===!0||!n.required&&t===void 0)return o;Rt(n.type)?(o=n.type.some(function(f){return pt(f,t)===!0}),a=n.type.map(function(f){return Il(f)}).join(" or ")):o=(a=Il(n))==="Array"?Rt(t):a==="Object"?vt(t):a==="String"||a==="Number"||a==="Boolean"||a==="Function"?(function(f){if(f==null)return"";var d=f.constructor.toString().match($l);return d?d[1]:""})(t)===a:t instanceof n.type}if(!o){var i=s+'value "'+t+'" should be of type "'+a+'"';return i}if(cr(n,"validator")&&jt(n.validator)){var l=ye,c=[];if(ye=function(f){c.push(f)},o=n.validator(t),ye=l,!o){var u=(c.length>1?"* ":"")+c.join(`
12
- * `);return c.length=0,u}}return o}function Oe(e,t){var r=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(o){return o!==void 0||this.default?jt(o)||pt(this,o)===!0?(this.default=Rt(o)?function(){return[].concat(o)}:vt(o)?function(){return Object.assign({},o)}:o,this):(ye(this._vueTypes_name+' - invalid default value: "'+o+'"'),this):this}}}),n=r.validator;return jt(n)&&(r.validator=Ln(n,r)),r}function Be(e,t){var r=Oe(e,t);return Object.defineProperty(r,"validate",{value:function(n){return jt(this.validator)&&ye(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info:
13
- `+JSON.stringify(this)),this.validator=Ln(n,this),this}})}function ql(e,t,r){var n,o,a=(n=t,o={},Object.getOwnPropertyNames(n).forEach(function(f){o[f]=Object.getOwnPropertyDescriptor(n,f)}),Object.defineProperties({},o));if(a._vueTypes_name=e,!vt(r))return a;var s,i,l=r.validator,c=Tl(r,["validator"]);if(jt(l)){var u=a.validator;u&&(u=(i=(s=u).__original)!==null&&i!==void 0?i:s),a.validator=Ln(u?function(f){return u.call(this,f)&&l.call(this,f)}:l,a)}return Object.assign(a,c)}function Ur(e){return e.replace(/^(?!\s*$)/gm," ")}var Av=function(){return Be("any",{})},Tv=function(){return Be("function",{type:Function})},Rv=function(){return Be("boolean",{type:Boolean})},jv=function(){return Be("string",{type:String})},Pv=function(){return Be("number",{type:Number})},$v=function(){return Be("array",{type:Array})},Iv=function(){return Be("object",{type:Object})},Fv=function(){return Oe("integer",{type:Number,validator:function(e){return Ev(e)}})},Mv=function(){return Oe("symbol",{validator:function(e){return typeof e=="symbol"}})};function qv(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return Oe(e.name||"<<anonymous function>>",{validator:function(r){var n=e(r);return n||ye(this._vueTypes_name+" - "+t),n}})}function Bv(e){if(!Rt(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',r=e.reduce(function(n,o){if(o!=null){var a=o.constructor;n.indexOf(a)===-1&&n.push(a)}return n},[]);return Oe("oneOf",{type:r.length>0?r:void 0,validator:function(n){var o=e.indexOf(n)!==-1;return o||ye(t),o}})}function Nv(e){if(!Rt(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,r=[],n=0;n<e.length;n+=1){var o=e[n];if(Ml(o)){if(Vr(o)&&o._vueTypes_name==="oneOf"){r=r.concat(o.type);continue}if(jt(o.validator)&&(t=!0),o.type!==!0&&o.type){r=r.concat(o.type);continue}}r.push(o)}return r=r.filter(function(a,s){return r.indexOf(a)===s}),Oe("oneOfType",t?{type:r,validator:function(a){var s=[],i=e.some(function(l){var c=pt(Vr(l)&&l._vueTypes_name==="oneOf"?l.type||null:l,a);return typeof c=="string"&&s.push(c),c===!0});return i||ye("oneOfType - provided value does not match any of the "+s.length+` passed-in validators:
14
- `+Ur(s.join(`
15
- `))),i}}:{type:r})}function Dv(e){return Oe("arrayOf",{type:Array,validator:function(t){var r,n=t.every(function(o){return(r=pt(e,o))===!0});return n||ye(`arrayOf - value validation error:
16
- `+Ur(r)),n}})}function Gv(e){return Oe("instanceOf",{type:e})}function Lv(e){return Oe("objectOf",{type:Object,validator:function(t){var r,n=Object.keys(t).every(function(o){return(r=pt(e,t[o]))===!0});return n||ye(`objectOf - value validation error:
17
- `+Ur(r)),n}})}function Hv(e){var t=Object.keys(e),r=t.filter(function(o){var a;return!!(!((a=e[o])===null||a===void 0)&&a.required)}),n=Oe("shape",{type:Object,validator:function(o){var a=this;if(!vt(o))return!1;var s=Object.keys(o);if(r.length>0&&r.some(function(l){return s.indexOf(l)===-1})){var i=r.filter(function(l){return s.indexOf(l)===-1});return ye(i.length===1?'shape - required property "'+i[0]+'" is not defined.':'shape - required properties "'+i.join('", "')+'" are not defined.'),!1}return s.every(function(l){if(t.indexOf(l)===-1)return a._vueTypes_isLoose===!0||(ye('shape - shape definition does not include a "'+l+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var c=pt(e[l],o[l]);return typeof c=="string"&&ye('shape - "'+l+`" property validation error:
18
- `+Ur(c)),c===!0})}});return Object.defineProperty(n,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(n,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),n}var Ne=(function(){function e(){}return e.extend=function(t){var r=this;if(Rt(t))return t.forEach(function(f){return r.extend(f)}),this;var n=t.name,o=t.validate,a=o!==void 0&&o,s=t.getter,i=s!==void 0&&s,l=Tl(t,["name","validate","getter"]);if(cr(this,n))throw new TypeError('[VueTypes error]: Type "'+n+'" already defined');var c,u=l.type;return Vr(u)?(delete l.type,Object.defineProperty(this,n,i?{get:function(){return ql(n,u,l)}}:{value:function(){var f,d=ql(n,u,l);return d.validator&&(d.validator=(f=d.validator).bind.apply(f,[d].concat([].slice.call(arguments)))),d}})):(c=i?{get:function(){var f=Object.assign({},l);return a?Be(n,f):Oe(n,f)},enumerable:!0}:{value:function(){var f,d,h=Object.assign({},l);return f=a?Be(n,h):Oe(n,h),h.validator&&(f.validator=(d=h.validator).bind.apply(d,[f].concat([].slice.call(arguments)))),f},enumerable:!0},Object.defineProperty(this,n,c))},El(e,null,[{key:"any",get:function(){return Av()}},{key:"func",get:function(){return Tv().def(this.defaults.func)}},{key:"bool",get:function(){return Rv().def(this.defaults.bool)}},{key:"string",get:function(){return jv().def(this.defaults.string)}},{key:"number",get:function(){return Pv().def(this.defaults.number)}},{key:"array",get:function(){return $v().def(this.defaults.array)}},{key:"object",get:function(){return Iv().def(this.defaults.object)}},{key:"integer",get:function(){return Fv().def(this.defaults.integer)}},{key:"symbol",get:function(){return Mv()}}]),e})();function Vv(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=(function(r){function n(){return r.apply(this,arguments)||this}return Al(n,r),El(n,null,[{key:"sensibleDefaults",get:function(){return Hr({},this.defaults)},set:function(o){this.defaults=o!==!1?Hr({},o!==!0?o:e):{}}}]),n})(Ne)).defaults=Hr({},e),t}Ne.defaults={},Ne.custom=qv,Ne.oneOf=Bv,Ne.instanceOf=Gv,Ne.oneOfType=Nv,Ne.arrayOf=Dv,Ne.objectOf=Lv,Ne.shape=Hv,Ne.utils={validate:function(e,t){return pt(t,e)===!0},toType:function(e,t,r){return r===void 0&&(r=!1),r?Be(e,t):Oe(e,t)}};var I=(function(e){function t(){return e.apply(this,arguments)||this}return Al(t,e),t})(Vv()),Bl={},Hn,Nl;function gt(){return Nl||(Nl=1,Hn=function(e){try{return!!e()}catch{return!0}}),Hn}var Vn,Dl;function mt(){if(Dl)return Vn;Dl=1;var e=gt();return Vn=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Vn}var Un={exports:{}},Wn,Gl;function Ll(){if(Gl)return Wn;Gl=1;var e=gt();return Wn=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),Wn}var Kn,Hl;function fr(){if(Hl)return Kn;Hl=1;var e=Ll(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return Kn=e?n:function(o){return function(){return r.apply(o,arguments)}},Kn}var zn,Vl;function tt(){if(Vl)return zn;Vl=1;var e=typeof document=="object"&&document.all;return zn=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},zn}var Yn,Ul;function Wl(){return Ul||(Ul=1,Yn=function(e){return e==null}),Yn}var Xn,Kl;function Uv(){if(Kl)return Xn;Kl=1;var e=Wl(),t=TypeError;return Xn=function(r){if(e(r))throw new t("Can't call method on "+r);return r},Xn}var Jn,zl;function Wv(){if(zl)return Jn;zl=1;var e=Uv(),t=Object;return Jn=function(r){return t(e(r))},Jn}var Zn,Yl;function Wr(){if(Yl)return Zn;Yl=1;var e=fr(),t=Wv(),r=e({}.hasOwnProperty);return Zn=Object.hasOwn||function(o,a){return r(t(o),a)},Zn}var Qn,Xl;function Kv(){if(Xl)return Qn;Xl=1;var e=mt(),t=Wr(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,o=t(r,"name"),a=o&&(function(){}).name==="something",s=o&&(!e||e&&n(r,"name").configurable);return Qn={EXISTS:o,PROPER:a,CONFIGURABLE:s},Qn}var eo={exports:{}},to,Jl;function zv(){return Jl||(Jl=1,to=!1),to}var dr,Zl;function Ie(){if(Zl)return dr;Zl=1;var e=function(t){return t&&t.Math===Math&&t};return dr=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof il=="object"&&il)||e(typeof dr=="object"&&dr)||(function(){return this})()||Function("return this")(),dr}var ro,Ql;function Yv(){if(Ql)return ro;Ql=1;var e=Ie(),t=Object.defineProperty;return ro=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},ro}var es;function no(){if(es)return eo.exports;es=1;var e=zv(),t=Ie(),r=Yv(),n="__core-js_shared__",o=eo.exports=t[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.45.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.0/LICENSE",source:"https://github.com/zloirock/core-js"}),eo.exports}var oo,ts;function Xv(){if(ts)return oo;ts=1;var e=fr(),t=tt(),r=no(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(o){return n(o)}),oo=r.inspectSource,oo}var ao,rs;function Jv(){if(rs)return ao;rs=1;var e=Ie(),t=tt(),r=e.WeakMap;return ao=t(r)&&/native code/.test(String(r)),ao}var io,ns;function hr(){if(ns)return io;ns=1;var e=tt();return io=function(t){return typeof t=="object"?t!==null:e(t)},io}var lo={},so,os;function Zv(){if(os)return so;os=1;var e=Ie(),t=hr(),r=e.document,n=t(r)&&t(r.createElement);return so=function(o){return n?r.createElement(o):{}},so}var uo,as;function Qv(){if(as)return uo;as=1;var e=mt(),t=gt(),r=Zv();return uo=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),uo}var co,is;function ep(){if(is)return co;is=1;var e=mt(),t=gt();return co=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),co}var fo,ls;function ss(){if(ls)return fo;ls=1;var e=hr(),t=String,r=TypeError;return fo=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},fo}var ho,us;function cs(){if(us)return ho;us=1;var e=Ll(),t=Function.prototype.call;return ho=e?t.bind(t):function(){return t.apply(t,arguments)},ho}var vo,fs;function tp(){if(fs)return vo;fs=1;var e=Ie(),t=tt(),r=function(n){return t(n)?n:void 0};return vo=function(n,o){return arguments.length<2?r(e[n]):e[n]&&e[n][o]},vo}var po,ds;function rp(){if(ds)return po;ds=1;var e=fr();return po=e({}.isPrototypeOf),po}var go,hs;function np(){if(hs)return go;hs=1;var e=Ie(),t=e.navigator,r=t&&t.userAgent;return go=r?String(r):"",go}var mo,vs;function op(){if(vs)return mo;vs=1;var e=Ie(),t=np(),r=e.process,n=e.Deno,o=r&&r.versions||n&&n.version,a=o&&o.v8,s,i;return a&&(s=a.split("."),i=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!i&&t&&(s=t.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=t.match(/Chrome\/(\d+)/),s&&(i=+s[1]))),mo=i,mo}var yo,ps;function gs(){if(ps)return yo;ps=1;var e=op(),t=gt(),r=Ie(),n=r.String;return yo=!!Object.getOwnPropertySymbols&&!t(function(){var o=Symbol("symbol detection");return!n(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&e&&e<41}),yo}var bo,ms;function ys(){if(ms)return bo;ms=1;var e=gs();return bo=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",bo}var Co,bs;function Cs(){if(bs)return Co;bs=1;var e=tp(),t=tt(),r=rp(),n=ys(),o=Object;return Co=n?function(a){return typeof a=="symbol"}:function(a){var s=e("Symbol");return t(s)&&r(s.prototype,o(a))},Co}var wo,ws;function ap(){if(ws)return wo;ws=1;var e=String;return wo=function(t){try{return e(t)}catch{return"Object"}},wo}var So,Ss;function ip(){if(Ss)return So;Ss=1;var e=tt(),t=ap(),r=TypeError;return So=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},So}var xo,xs;function lp(){if(xs)return xo;xs=1;var e=ip(),t=Wl();return xo=function(r,n){var o=r[n];return t(o)?void 0:e(o)},xo}var Oo,Os;function sp(){if(Os)return Oo;Os=1;var e=cs(),t=tt(),r=hr(),n=TypeError;return Oo=function(o,a){var s,i;if(a==="string"&&t(s=o.toString)&&!r(i=e(s,o))||t(s=o.valueOf)&&!r(i=e(s,o))||a!=="string"&&t(s=o.toString)&&!r(i=e(s,o)))return i;throw new n("Can't convert object to primitive value")},Oo}var _o,_s;function ks(){if(_s)return _o;_s=1;var e=no();return _o=function(t,r){return e[t]||(e[t]=r||{})},_o}var ko,Es;function As(){if(Es)return ko;Es=1;var e=fr(),t=0,r=Math.random(),n=e(1.1.toString);return ko=function(o){return"Symbol("+(o===void 0?"":o)+")_"+n(++t+r,36)},ko}var Eo,Ts;function up(){if(Ts)return Eo;Ts=1;var e=Ie(),t=ks(),r=Wr(),n=As(),o=gs(),a=ys(),s=e.Symbol,i=t("wks"),l=a?s.for||s:s&&s.withoutSetter||n;return Eo=function(c){return r(i,c)||(i[c]=o&&r(s,c)?s[c]:l("Symbol."+c)),i[c]},Eo}var Ao,Rs;function cp(){if(Rs)return Ao;Rs=1;var e=cs(),t=hr(),r=Cs(),n=lp(),o=sp(),a=up(),s=TypeError,i=a("toPrimitive");return Ao=function(l,c){if(!t(l)||r(l))return l;var u=n(l,i),f;if(u){if(c===void 0&&(c="default"),f=e(u,l,c),!t(f)||r(f))return f;throw new s("Can't convert object to primitive value")}return c===void 0&&(c="number"),o(l,c)},Ao}var To,js;function fp(){if(js)return To;js=1;var e=cp(),t=Cs();return To=function(r){var n=e(r,"string");return t(n)?n:n+""},To}var Ps;function $s(){if(Ps)return lo;Ps=1;var e=mt(),t=Qv(),r=ep(),n=ss(),o=fp(),a=TypeError,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",u="writable";return lo.f=e?r?function(d,h,p){if(n(d),h=o(h),n(p),typeof d=="function"&&h==="prototype"&&"value"in p&&u in p&&!p[u]){var m=i(d,h);m&&m[u]&&(d[h]=p.value,p={configurable:c in p?p[c]:m[c],enumerable:l in p?p[l]:m[l],writable:!1})}return s(d,h,p)}:s:function(d,h,p){if(n(d),h=o(h),n(p),t)try{return s(d,h,p)}catch{}if("get"in p||"set"in p)throw new a("Accessors not supported");return"value"in p&&(d[h]=p.value),d},lo}var Ro,Is;function dp(){return Is||(Is=1,Ro=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),Ro}var jo,Fs;function hp(){if(Fs)return jo;Fs=1;var e=mt(),t=$s(),r=dp();return jo=e?function(n,o,a){return t.f(n,o,r(1,a))}:function(n,o,a){return n[o]=a,n},jo}var Po,Ms;function vp(){if(Ms)return Po;Ms=1;var e=ks(),t=As(),r=e("keys");return Po=function(n){return r[n]||(r[n]=t(n))},Po}var $o,qs;function pp(){return qs||(qs=1,$o={}),$o}var Io,Bs;function gp(){if(Bs)return Io;Bs=1;var e=Jv(),t=Ie(),r=hr(),n=hp(),o=Wr(),a=no(),s=vp(),i=pp(),l="Object already initialized",c=t.TypeError,u=t.WeakMap,f,d,h,p=function(v){return h(v)?d(v):f(v,{})},m=function(v){return function(C){var w;if(!r(C)||(w=d(C)).type!==v)throw new c("Incompatible receiver, "+v+" required");return w}};if(e||a.state){var g=a.state||(a.state=new u);g.get=g.get,g.has=g.has,g.set=g.set,f=function(v,C){if(g.has(v))throw new c(l);return C.facade=v,g.set(v,C),C},d=function(v){return g.get(v)||{}},h=function(v){return g.has(v)}}else{var y=s("state");i[y]=!0,f=function(v,C){if(o(v,y))throw new c(l);return C.facade=v,n(v,y,C),C},d=function(v){return o(v,y)?v[y]:{}},h=function(v){return o(v,y)}}return Io={set:f,get:d,has:h,enforce:p,getterFor:m},Io}var Ns;function mp(){if(Ns)return Un.exports;Ns=1;var e=fr(),t=gt(),r=tt(),n=Wr(),o=mt(),a=Kv().CONFIGURABLE,s=Xv(),i=gp(),l=i.enforce,c=i.get,u=String,f=Object.defineProperty,d=e("".slice),h=e("".replace),p=e([].join),m=o&&!t(function(){return f(function(){},"length",{value:8}).length!==8}),g=String(String).split("String"),y=Un.exports=function(v,C,w){d(u(C),0,7)==="Symbol("&&(C="["+h(u(C),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),w&&w.getter&&(C="get "+C),w&&w.setter&&(C="set "+C),(!n(v,"name")||a&&v.name!==C)&&(o?f(v,"name",{value:C,configurable:!0}):v.name=C),m&&w&&n(w,"arity")&&v.length!==w.arity&&f(v,"length",{value:w.arity});try{w&&n(w,"constructor")&&w.constructor?o&&f(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch{}var _=l(v);return n(_,"source")||(_.source=p(g,typeof C=="string"?C:"")),v};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||s(this)},"toString"),Un.exports}var Fo,Ds;function yp(){if(Ds)return Fo;Ds=1;var e=mp(),t=$s();return Fo=function(r,n,o){return o.get&&e(o.get,n,{getter:!0}),o.set&&e(o.set,n,{setter:!0}),t.f(r,n,o)},Fo}var Mo,Gs;function bp(){if(Gs)return Mo;Gs=1;var e=Ie(),t=gt(),r=e.RegExp,n=!t(function(){var o=!0;try{r(".","d")}catch{o=!1}var a={},s="",i=o?"dgimsy":"gimsy",l=function(d,h){Object.defineProperty(a,d,{get:function(){return s+=h,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};o&&(c.hasIndices="d");for(var u in c)l(u,c[u]);var f=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return f!==i||s!==i});return Mo={correct:n},Mo}var qo,Ls;function Cp(){if(Ls)return qo;Ls=1;var e=ss();return qo=function(){var t=e(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},qo}var Hs;function wp(){if(Hs)return Bl;Hs=1;var e=mt(),t=yp(),r=bp(),n=Cp();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),Bl}wp();var Vs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bo(e){var t={exports:{}};return e(t,t.exports),t.exports}var Kr=function(e){return e&&e.Math==Math&&e},ae=Kr(typeof globalThis=="object"&&globalThis)||Kr(typeof window=="object"&&window)||Kr(typeof self=="object"&&self)||Kr(typeof Vs=="object"&&Vs)||(function(){return this})()||Function("return this")(),Y=function(e){try{return!!e()}catch{return!0}},Te=!Y(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Us={}.propertyIsEnumerable,Ws=Object.getOwnPropertyDescriptor,Sp={f:Ws&&!Us.call({1:2},1)?function(e){var t=Ws(this,e);return!!t&&t.enumerable}:Us},zr=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},xp={}.toString,We=function(e){return xp.call(e).slice(8,-1)},Op="".split,Yr=Y(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return We(e)=="String"?Op.call(e,""):Object(e)}:Object,rt=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},Pt=function(e){return Yr(rt(e))},se=function(e){return typeof e=="object"?e!==null:typeof e=="function"},No=function(e,t){if(!se(e))return e;var r,n;if(t&&typeof(r=e.toString)=="function"&&!se(n=r.call(e))||typeof(r=e.valueOf)=="function"&&!se(n=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!se(n=r.call(e)))return n;throw TypeError("Can't convert object to primitive value")},_p={}.hasOwnProperty,oe=function(e,t){return _p.call(e,t)},Do=ae.document,kp=se(Do)&&se(Do.createElement),Ks=function(e){return kp?Do.createElement(e):{}},zs=!Te&&!Y(function(){return Object.defineProperty(Ks("div"),"a",{get:function(){return 7}}).a!=7}),Ys=Object.getOwnPropertyDescriptor,Go={f:Te?Ys:function(e,t){if(e=Pt(e),t=No(t,!0),zs)try{return Ys(e,t)}catch{}if(oe(e,t))return zr(!Sp.f.call(e,t),e[t])}},ve=function(e){if(!se(e))throw TypeError(String(e)+" is not an object");return e},Xs=Object.defineProperty,Ke={f:Te?Xs:function(e,t,r){if(ve(e),t=No(t,!0),ve(r),zs)try{return Xs(e,t,r)}catch{}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},Re=Te?function(e,t,r){return Ke.f(e,t,zr(1,r))}:function(e,t,r){return e[t]=r,e},Lo=function(e,t){try{Re(ae,e,t)}catch{ae[e]=t}return t},yt=ae["__core-js_shared__"]||Lo("__core-js_shared__",{}),Ep=Function.toString;typeof yt.inspectSource!="function"&&(yt.inspectSource=function(e){return Ep.call(e)});var Xr,vr,Jr,Js=yt.inspectSource,Zs=ae.WeakMap,Ap=typeof Zs=="function"&&/native code/.test(Js(Zs)),Qs=Bo(function(e){(e.exports=function(t,r){return yt[t]||(yt[t]=r!==void 0?r:{})})("versions",[]).push({version:"3.8.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Tp=0,Rp=Math.random(),Ho=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++Tp+Rp).toString(36)},eu=Qs("keys"),Vo=function(e){return eu[e]||(eu[e]=Ho(e))},Zr={},jp=ae.WeakMap;if(Ap){var $t=yt.state||(yt.state=new jp),Pp=$t.get,$p=$t.has,Ip=$t.set;Xr=function(e,t){return t.facade=e,Ip.call($t,e,t),t},vr=function(e){return Pp.call($t,e)||{}},Jr=function(e){return $p.call($t,e)}}else{var pr=Vo("state");Zr[pr]=!0,Xr=function(e,t){return t.facade=e,Re(e,pr,t),t},vr=function(e){return oe(e,pr)?e[pr]:{}},Jr=function(e){return oe(e,pr)}}var nt={set:Xr,get:vr,has:Jr,enforce:function(e){return Jr(e)?vr(e):Xr(e,{})},getterFor:function(e){return function(t){var r;if(!se(t)||(r=vr(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}},ot=Bo(function(e){var t=nt.get,r=nt.enforce,n=String(String).split("String");(e.exports=function(o,a,s,i){var l,c=!!i&&!!i.unsafe,u=!!i&&!!i.enumerable,f=!!i&&!!i.noTargetGet;typeof s=="function"&&(typeof a!="string"||oe(s,"name")||Re(s,"name",a),(l=r(s)).source||(l.source=n.join(typeof a=="string"?a:""))),o!==ae?(c?!f&&o[a]&&(u=!0):delete o[a],u?o[a]=s:Re(o,a,s)):u?o[a]=s:Lo(a,s)})(Function.prototype,"toString",function(){return typeof this=="function"&&t(this).source||Js(this)})}),Uo=ae,tu=function(e){return typeof e=="function"?e:void 0},Qr=function(e,t){return arguments.length<2?tu(Uo[e])||tu(ae[e]):Uo[e]&&Uo[e][t]||ae[e]&&ae[e][t]},Fp=Math.ceil,Mp=Math.floor,It=function(e){return isNaN(e=+e)?0:(e>0?Mp:Fp)(e)},qp=Math.min,_e=function(e){return e>0?qp(It(e),9007199254740991):0},Bp=Math.max,Np=Math.min,en=function(e,t){var r=It(e);return r<0?Bp(r+t,0):Np(r,t)},Dp=function(e){return function(t,r,n){var o,a=Pt(t),s=_e(a.length),i=en(n,s);if(e&&r!=r){for(;s>i;)if((o=a[i++])!=o)return!0}else for(;s>i;i++)if((e||i in a)&&a[i]===r)return e||i||0;return!e&&-1}},ru={indexOf:Dp(!1)},Gp=ru.indexOf,nu=function(e,t){var r,n=Pt(e),o=0,a=[];for(r in n)!oe(Zr,r)&&oe(n,r)&&a.push(r);for(;t.length>o;)oe(n,r=t[o++])&&(~Gp(a,r)||a.push(r));return a},tn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Lp=tn.concat("length","prototype"),Hp={f:Object.getOwnPropertyNames||function(e){return nu(e,Lp)}},Vp={f:Object.getOwnPropertySymbols},Up=Qr("Reflect","ownKeys")||function(e){var t=Hp.f(ve(e)),r=Vp.f;return r?t.concat(r(e)):t},Wp=function(e,t){for(var r=Up(t),n=Ke.f,o=Go.f,a=0;a<r.length;a++){var s=r[a];oe(e,s)||n(e,s,o(t,s))}},Kp=/#|\.prototype\./,gr=function(e,t){var r=Yp[zp(e)];return r==Jp||r!=Xp&&(typeof t=="function"?Y(t):!!t)},zp=gr.normalize=function(e){return String(e).replace(Kp,".").toLowerCase()},Yp=gr.data={},Xp=gr.NATIVE="N",Jp=gr.POLYFILL="P",Wo=gr,Zp=Go.f,de=function(e,t){var r,n,o,a,s,i=e.target,l=e.global,c=e.stat;if(r=l?ae:c?ae[i]||Lo(i,{}):(ae[i]||{}).prototype)for(n in t){if(a=t[n],o=e.noTargetGet?(s=Zp(r,n))&&s.value:r[n],!Wo(l?n:i+(c?".":"#")+n,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;Wp(a,o)}(e.sham||o&&o.sham)&&Re(a,"sham",!0),ot(r,n,a,e)}},Ko=function(e,t){var r=[][e];return!!r&&Y(function(){r.call(null,t||function(){throw 1},1)})},Qp=Object.defineProperty,zo={},ou=function(e){throw e},Ft=function(e,t){if(oe(zo,e))return zo[e];t||(t={});var r=[][e],n=!!oe(t,"ACCESSORS")&&t.ACCESSORS,o=oe(t,0)?t[0]:ou,a=oe(t,1)?t[1]:void 0;return zo[e]=!!r&&!Y(function(){if(n&&!Te)return!0;var s={length:-1};n?Qp(s,1,{enumerable:!0,get:ou}):s[1]=1,r.call(s,o,a)})},eg=ru.indexOf,au=[].indexOf,iu=!!au&&1/[1].indexOf(1,-0)<0,tg=Ko("indexOf"),rg=Ft("indexOf",{ACCESSORS:!0,1:0});function bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ng(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ct(e,t,r){return r&&ng(e,r),e}de({target:"Array",proto:!0,forced:iu||!tg||!rg},{indexOf:function(e){return iu?au.apply(this,arguments)||0:eg(this,e,arguments.length>1?arguments[1]:void 0)}}),(function(){function e(){bt(this,e)}return Ct(e,null,[{key:"isInBrowser",value:function(){return typeof window<"u"}},{key:"isServer",value:function(){return typeof window>"u"}},{key:"getUA",value:function(){return e.isInBrowser()?window.navigator.userAgent.toLowerCase():""}},{key:"isMobile",value:function(){return/Mobile|mini|Fennec|Android|iP(ad|od|hone)/.test(navigator.appVersion)}},{key:"isOpera",value:function(){return navigator.userAgent.indexOf("Opera")!==-1}},{key:"isIE",value:function(){var t=e.getUA();return t!==""&&t.indexOf("msie")>0}},{key:"isIE9",value:function(){var t=e.getUA();return t!==""&&t.indexOf("msie 9.0")>0}},{key:"isEdge",value:function(){var t=e.getUA();return t!==""&&t.indexOf("edge/")>0}},{key:"isChrome",value:function(){var t=e.getUA();return t!==""&&/chrome\/\d+/.test(t)&&!e.isEdge()}},{key:"isPhantomJS",value:function(){var t=e.getUA();return t!==""&&/phantomjs/.test(t)}},{key:"isFirefox",value:function(){var t=e.getUA();return t!==""&&/firefox/.test(t)}}]),e})();var og=[].join,ag=Yr!=Object,ig=Ko("join",",");de({target:"Array",proto:!0,forced:ag||!ig},{join:function(e){return og.call(Pt(this),e===void 0?",":e)}});var Mt,rn,ze=function(e){return Object(rt(e))},qt=Array.isArray||function(e){return We(e)=="Array"},lu=!!Object.getOwnPropertySymbols&&!Y(function(){return!String(Symbol())}),lg=lu&&!Symbol.sham&&typeof Symbol.iterator=="symbol",nn=Qs("wks"),mr=ae.Symbol,sg=lg?mr:mr&&mr.withoutSetter||Ho,Q=function(e){return oe(nn,e)||(lu&&oe(mr,e)?nn[e]=mr[e]:nn[e]=sg("Symbol."+e)),nn[e]},ug=Q("species"),on=function(e,t){var r;return qt(e)&&(typeof(r=e.constructor)!="function"||r!==Array&&!qt(r.prototype)?se(r)&&(r=r[ug])===null&&(r=void 0):r=void 0),new(r===void 0?Array:r)(t===0?0:t)},Bt=function(e,t,r){var n=No(t);n in e?Ke.f(e,n,zr(0,r)):e[n]=r},Yo=Qr("navigator","userAgent")||"",su=ae.process,uu=su&&su.versions,cu=uu&&uu.v8;cu?rn=(Mt=cu.split("."))[0]+Mt[1]:Yo&&(!(Mt=Yo.match(/Edge\/(\d+)/))||Mt[1]>=74)&&(Mt=Yo.match(/Chrome\/(\d+)/))&&(rn=Mt[1]);var an=rn&&+rn,cg=Q("species"),Xo=function(e){return an>=51||!Y(function(){var t=[];return(t.constructor={})[cg]=function(){return{foo:1}},t[e](Boolean).foo!==1})},fg=Xo("splice"),dg=Ft("splice",{ACCESSORS:!0,0:0,1:2}),hg=Math.max,vg=Math.min;de({target:"Array",proto:!0,forced:!fg||!dg},{splice:function(e,t){var r,n,o,a,s,i,l=ze(this),c=_e(l.length),u=en(e,c),f=arguments.length;if(f===0?r=n=0:f===1?(r=0,n=c-u):(r=f-2,n=vg(hg(It(t),0),c-u)),c+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=on(l,n),a=0;a<n;a++)(s=u+a)in l&&Bt(o,a,l[s]);if(o.length=n,r<n){for(a=u;a<c-n;a++)i=a+r,(s=a+n)in l?l[i]=l[s]:delete l[i];for(a=c;a>c-n+r;a--)delete l[a-1]}else if(r>n)for(a=c-n;a>u;a--)i=a+r-1,(s=a+n-1)in l?l[i]=l[s]:delete l[i];for(a=0;a<r;a++)l[a+u]=arguments[a+2];return l.length=c-n+r,o}});var fu={};fu[Q("toStringTag")]="z";var Jo=String(fu)==="[object z]",pg=Q("toStringTag"),gg=We((function(){return arguments})())=="Arguments",du=Jo?We:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=(function(o,a){try{return o[a]}catch{}})(t=Object(e),pg))=="string"?r:gg?We(t):(n=We(t))=="Object"&&typeof t.callee=="function"?"Arguments":n},mg=Jo?{}.toString:function(){return"[object "+du(this)+"]"};Jo||ot(Object.prototype,"toString",mg,{unsafe:!0});var hu=function(){var e=ve(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function vu(e,t){return RegExp(e,t)}var Zo,Qo,pu={UNSUPPORTED_Y:Y(function(){var e=vu("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),BROKEN_CARET:Y(function(){var e=vu("^r","gy");return e.lastIndex=2,e.exec("str")!=null})},ln=RegExp.prototype.exec,yg=String.prototype.replace,gu=ln,ea=(Zo=/a/,Qo=/b*/g,ln.call(Zo,"a"),ln.call(Qo,"a"),Zo.lastIndex!==0||Qo.lastIndex!==0),mu=pu.UNSUPPORTED_Y||pu.BROKEN_CARET,ta=/()??/.exec("")[1]!==void 0;(ea||ta||mu)&&(gu=function(e){var t,r,n,o,a=this,s=mu&&a.sticky,i=hu.call(a),l=a.source,c=0,u=e;return s&&((i=i.replace("y","")).indexOf("g")===-1&&(i+="g"),u=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&e[a.lastIndex-1]!==`
19
- `)&&(l="(?: "+l+")",u=" "+u,c++),r=new RegExp("^(?:"+l+")",i)),ta&&(r=new RegExp("^"+l+"$(?!\\s)",i)),ea&&(t=a.lastIndex),n=ln.call(s?r:a,u),s?n?(n.input=n.input.slice(c),n[0]=n[0].slice(c),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:ea&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),ta&&n&&n.length>1&&yg.call(n[0],r,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(n[o]=void 0)}),n});var yr=gu;de({target:"RegExp",proto:!0,forced:/./.exec!==yr},{exec:yr});var yu=RegExp.prototype,bu=yu.toString,bg=Y(function(){return bu.call({source:"a",flags:"b"})!="/a/b"}),Cg=bu.name!="toString";(bg||Cg)&&ot(RegExp.prototype,"toString",function(){var e=ve(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(r===void 0&&e instanceof RegExp&&!("flags"in yu)?hu.call(e):r)},{unsafe:!0});var wg=Q("species"),Sg=!Y(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"}),Cu="a".replace(/./,"$0")==="$0",wu=Q("replace"),Su=!!/./[wu]&&/./[wu]("a","$0")==="",xg=!Y(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),xu=function(e,t,r,n){var o=Q(e),a=!Y(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),s=a&&!Y(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[wg]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!a||!s||e==="replace"&&(!Sg||!Cu||Su)||e==="split"&&!xg){var i=/./[o],l=r(o,""[e],function(f,d,h,p,m){return d.exec===yr?a&&!m?{done:!0,value:i.call(d,h,p)}:{done:!0,value:f.call(h,d,p)}:{done:!1}},{REPLACE_KEEPS_$0:Cu,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Su}),c=l[0],u=l[1];ot(String.prototype,e,c),ot(RegExp.prototype,o,function(f,d){return u.call(f,this,d)})}n&&Re(RegExp.prototype[o],"sham",!0)},Og=Q("match"),Ou=function(e){var t;return se(e)&&((t=e[Og])!==void 0?!!t:We(e)=="RegExp")},ra=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e},_g=Q("species"),kg=function(e){return function(t,r){var n,o,a=String(rt(t)),s=It(r),i=a.length;return s<0||s>=i?e?"":void 0:(n=a.charCodeAt(s))<55296||n>56319||s+1===i||(o=a.charCodeAt(s+1))<56320||o>57343?e?a.charAt(s):n:e?a.slice(s,s+2):o-56320+(n-55296<<10)+65536}},_u={charAt:kg(!0)},Eg=_u.charAt,ku=function(e,t,r){return t+(r?Eg(e,t).length:1)},na=function(e,t){var r=e.exec;if(typeof r=="function"){var n=r.call(e,t);if(typeof n!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return n}if(We(e)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return yr.call(e,t)},Ag=[].push,Tg=Math.min,Nt=!Y(function(){return!RegExp(4294967295,"y")});xu("split",2,function(e,t,r){var n;return n="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,a){var s=String(rt(this)),i=a===void 0?4294967295:a>>>0;if(i===0)return[];if(o===void 0)return[s];if(!Ou(o))return t.call(s,o,i);for(var l,c,u,f=[],d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),h=0,p=new RegExp(o.source,d+"g");(l=yr.call(p,s))&&!((c=p.lastIndex)>h&&(f.push(s.slice(h,l.index)),l.length>1&&l.index<s.length&&Ag.apply(f,l.slice(1)),u=l[0].length,h=c,f.length>=i));)p.lastIndex===l.index&&p.lastIndex++;return h===s.length?!u&&p.test("")||f.push(""):f.push(s.slice(h)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(o,a){return o===void 0&&a===0?[]:t.call(this,o,a)}:t,[function(o,a){var s=rt(this),i=o==null?void 0:o[e];return i!==void 0?i.call(o,s,a):n.call(String(s),o,a)},function(o,a){var s=r(n,o,this,a,n!==t);if(s.done)return s.value;var i=ve(o),l=String(this),c=(function(w,_){var E,F=ve(w).constructor;return F===void 0||(E=ve(F)[_g])==null?_:ra(E)})(i,RegExp),u=i.unicode,f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Nt?"y":"g"),d=new c(Nt?i:"^(?:"+i.source+")",f),h=a===void 0?4294967295:a>>>0;if(h===0)return[];if(l.length===0)return na(d,l)===null?[l]:[];for(var p=0,m=0,g=[];m<l.length;){d.lastIndex=Nt?m:0;var y,v=na(d,Nt?l:l.slice(m));if(v===null||(y=Tg(_e(d.lastIndex+(Nt?0:m)),l.length))===p)m=ku(l,m,u);else{if(g.push(l.slice(p,m)),g.length===h)return g;for(var C=1;C<=v.length-1;C++)if(g.push(v[C]),g.length===h)return g;m=p=y}}return g.push(l.slice(p)),g}]},!Nt);var oa=`
20
- \v\f\r                 \u2028\u2029\uFEFF`,sn="["+oa+"]",Rg=RegExp("^"+sn+sn+"*"),jg=RegExp(sn+sn+"*$"),Pg=function(e){return function(t){var r=String(rt(t));return 1&e&&(r=r.replace(Rg,"")),2&e&&(r=r.replace(jg,"")),r}},$g={trim:Pg(3)},Ig=$g.trim;de({target:"String",proto:!0,forced:(function(e){return Y(function(){return!!oa[e]()||"​…᠎"[e]()!="​…᠎"||oa[e].name!==e})})("trim")},{trim:function(){return Ig(this)}});var Fg=Xo("slice"),Mg=Ft("slice",{ACCESSORS:!0,0:0,1:2}),qg=Q("species"),Bg=[].slice,Ng=Math.max;de({target:"Array",proto:!0,forced:!Fg||!Mg},{slice:function(e,t){var r,n,o,a=Pt(this),s=_e(a.length),i=en(e,s),l=en(t===void 0?s:t,s);if(qt(a)&&(typeof(r=a.constructor)!="function"||r!==Array&&!qt(r.prototype)?se(r)&&(r=r[qg])===null&&(r=void 0):r=void 0,r===Array||r===void 0))return Bg.call(a,i,l);for(n=new(r===void 0?Array:r)(Ng(l-i,0)),o=0;i<l;i++,o++)i in a&&Bt(n,o,a[i]);return n.length=o,n}});var aa=Object.keys||function(e){return nu(e,tn)},Dg=Y(function(){aa(1)});de({target:"Object",stat:!0,forced:Dg},{keys:function(e){return aa(ze(e))}});var ia,Gg=function(e){if(Ou(e))throw TypeError("The method doesn't accept regular expressions");return e},Lg=Q("match"),Hg=Go.f,Eu="".startsWith,Vg=Math.min,Au=(function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[Lg]=!1,"/./"[e](t)}catch{}}return!1})("startsWith"),Ug=!(Au||(ia=Hg(String.prototype,"startsWith"),!ia||ia.writable));function Tu(e){return(Tu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}de({target:"String",proto:!0,forced:!Ug&&!Au},{startsWith:function(e){var t=String(rt(this));Gg(e);var r=_e(Vg(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return Eu?Eu.call(t,n,r):t.slice(r,r+n.length)===n}});var Dt=function(e){return typeof e=="string"},Gt=function(e){return e!==null&&Tu(e)==="object"},br=(function(){function e(){bt(this,e)}return Ct(e,null,[{key:"isWindow",value:function(t){return t===window}},{key:"addEventListener",value:function(t,r,n){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3];t&&r&&n&&t.addEventListener(r,n,o)}},{key:"removeEventListener",value:function(t,r,n){var o=arguments.length>3&&arguments[3]!==void 0&&arguments[3];t&&r&&n&&t.removeEventListener(r,n,o)}},{key:"triggerDragEvent",value:function(t,r){var n=!1,o=function(s){var i;(i=r.drag)===null||i===void 0||i.call(r,s)},a=function s(i){var l;e.removeEventListener(document,"mousemove",o),e.removeEventListener(document,"mouseup",s),document.onselectstart=null,document.ondragstart=null,n=!1,(l=r.end)===null||l===void 0||l.call(r,i)};e.addEventListener(t,"mousedown",function(s){var i;n||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},e.addEventListener(document,"mousemove",o),e.addEventListener(document,"mouseup",a),n=!0,(i=r.start)===null||i===void 0||i.call(r,s))})}},{key:"getBoundingClientRect",value:function(t){return t&&Gt(t)&&t.nodeType===1?t.getBoundingClientRect():null}},{key:"hasClass",value:function(t,r){return!!(t&&Gt(t)&&Dt(r)&&t.nodeType===1)&&t.classList.contains(r.trim())}},{key:"addClass",value:function(t,r){if(t&&Gt(t)&&Dt(r)&&t.nodeType===1&&(r=r.trim(),!e.hasClass(t,r))){var n=t.className;t.className=n?n+" "+r:r}}},{key:"removeClass",value:function(t,r){if(t&&Gt(t)&&Dt(r)&&t.nodeType===1&&typeof t.className=="string"){r=r.trim();for(var n=t.className.trim().split(" "),o=n.length-1;o>=0;o--)n[o]=n[o].trim(),n[o]&&n[o]!==r||n.splice(o,1);t.className=n.join(" ")}}},{key:"toggleClass",value:function(t,r,n){t&&Gt(t)&&Dt(r)&&t.nodeType===1&&t.classList.toggle(r,n)}},{key:"replaceClass",value:function(t,r,n){t&&Gt(t)&&Dt(r)&&Dt(n)&&t.nodeType===1&&(r=r.trim(),n=n.trim(),e.removeClass(t,r),e.addClass(t,n))}},{key:"getScrollTop",value:function(t){var r="scrollTop"in t?t.scrollTop:t.pageYOffset;return Math.max(r,0)}},{key:"setScrollTop",value:function(t,r){"scrollTop"in t?t.scrollTop=r:t.scrollTo(t.scrollX,r)}},{key:"getRootScrollTop",value:function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}},{key:"setRootScrollTop",value:function(t){e.setScrollTop(window,t),e.setScrollTop(document.body,t)}},{key:"getElementTop",value:function(t,r){if(e.isWindow(t))return 0;var n=r?e.getScrollTop(r):e.getRootScrollTop();return t.getBoundingClientRect().top+n}},{key:"getVisibleHeight",value:function(t){return e.isWindow(t)?t.innerHeight:t.getBoundingClientRect().height}},{key:"isHidden",value:function(t){if(!t)return!1;var r=window.getComputedStyle(t),n=r.display==="none",o=t.offsetParent===null&&r.position!=="fixed";return n||o}},{key:"triggerEvent",value:function(t,r){if("createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent(r,!1,!0),t.dispatchEvent(n)}}},{key:"calcAngle",value:function(t,r){var n=t.getBoundingClientRect(),o=n.left+n.width/2,a=n.top+n.height/2,s=Math.abs(o-r.clientX),i=Math.abs(a-r.clientY),l=i/Math.sqrt(Math.pow(s,2)+Math.pow(i,2)),c=Math.acos(l),u=Math.floor(180/(Math.PI/c));return r.clientX>o&&r.clientY>a&&(u=180-u),r.clientX==o&&r.clientY>a&&(u=180),r.clientX>o&&r.clientY==a&&(u=90),r.clientX<o&&r.clientY>a&&(u=180+u),r.clientX<o&&r.clientY==a&&(u=270),r.clientX<o&&r.clientY<a&&(u=360-u),u}},{key:"querySelector",value:function(t,r){return r?r.querySelector(t):document.querySelector(t)}},{key:"createElement",value:function(t){for(var r=document.createElement(t),n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];for(var s=0;s<o.length;s++)o[s]&&r.classList.add(o[s]);return r}},{key:"appendChild",value:function(t){for(var r=0;r<(arguments.length<=1?0:arguments.length-1);r++)t.appendChild(r+1<1||arguments.length<=r+1?void 0:arguments[r+1])}},{key:"getWindow",value:function(t){if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}},{key:"isElement",value:function(t){return t instanceof this.getWindow(t).Element||t instanceof Element}},{key:"isHTMLElement",value:function(t){return t instanceof this.getWindow(t).HTMLElement||t instanceof HTMLElement}},{key:"isShadowRoot",value:function(t){return typeof ShadowRoot<"u"&&(t instanceof this.getWindow(t).ShadowRoot||t instanceof ShadowRoot)}},{key:"getWindowScroll",value:function(t){var r=this.getWindow(t);return{scrollLeft:r.pageXOffset||0,scrollTop:r.pageYOffset||0}}}]),e})(),Wg=Math.floor,Kg="".replace,zg=/\$([$&'`]|\d\d?|<[^>]*>)/g,Yg=/\$([$&'`]|\d\d?)/g,Xg=function(e,t,r,n,o,a){var s=r+e.length,i=n.length,l=Yg;return o!==void 0&&(o=ze(o),l=zg),Kg.call(a,l,function(c,u){var f;switch(u.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(s);case"<":f=o[u.slice(1,-1)];break;default:var d=+u;if(d===0)return c;if(d>i){var h=Wg(d/10);return h===0?c:h<=i?n[h-1]===void 0?u.charAt(1):n[h-1]+u.charAt(1):c}f=n[d-1]}return f===void 0?"":f})},Jg=Math.max,Zg=Math.min;xu("replace",2,function(e,t,r,n){var o=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,a=n.REPLACE_KEEPS_$0,s=o?"$":"$0";return[function(i,l){var c=rt(this),u=i==null?void 0:i[e];return u!==void 0?u.call(i,c,l):t.call(String(c),i,l)},function(i,l){if(!o&&a||typeof l=="string"&&l.indexOf(s)===-1){var c=r(t,i,this,l);if(c.done)return c.value}var u=ve(i),f=String(this),d=typeof l=="function";d||(l=String(l));var h=u.global;if(h){var p=u.unicode;u.lastIndex=0}for(var m=[];;){var g=na(u,f);if(g===null||(m.push(g),!h))break;String(g[0])===""&&(u.lastIndex=ku(f,_e(u.lastIndex),p))}for(var y,v="",C=0,w=0;w<m.length;w++){g=m[w];for(var _=String(g[0]),E=Jg(Zg(It(g.index),f.length),0),F=[],D=1;D<g.length;D++)F.push((y=g[D])===void 0?y:String(y));var B=g.groups;if(d){var R=[_].concat(F,E,f);B!==void 0&&R.push(B);var b=String(l.apply(void 0,R))}else b=Xg(_,f,E,F,B,l);E>=C&&(v+=f.slice(C,E)+b,C=E+_.length)}return v+f.slice(C)}]}),(function(){function e(){bt(this,e)}return Ct(e,null,[{key:"camelize",value:function(t){return t.replace(/-(\w)/g,function(r,n){return n?n.toUpperCase():""})}},{key:"capitalize",value:function(t){return t.charAt(0).toUpperCase()+t.slice(1)}}]),e})(),(function(){function e(){bt(this,e)}return Ct(e,null,[{key:"_clone",value:function(){}}]),e})();var Ru=Q("isConcatSpreadable"),Qg=an>=51||!Y(function(){var e=[];return e[Ru]=!1,e.concat()[0]!==e}),em=Xo("concat"),tm=function(e){if(!se(e))return!1;var t=e[Ru];return t!==void 0?!!t:qt(e)};de({target:"Array",proto:!0,forced:!Qg||!em},{concat:function(e){var t,r,n,o,a,s=ze(this),i=on(s,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(tm(a=t===-1?s:arguments[t])){if(l+(o=_e(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,l++)r in a&&Bt(i,l,a[r])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Bt(i,l++,a)}return i.length=l,i}});var la,Cr=function(e,t,r){if(ra(e),t===void 0)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,a){return e.call(t,n,o,a)}}return function(){return e.apply(t,arguments)}},ju=[].push,Pu=function(e){var t=e==1,r=e==2,n=e==3,o=e==4,a=e==6,s=e==7,i=e==5||a;return function(l,c,u,f){for(var d,h,p=ze(l),m=Yr(p),g=Cr(c,u,3),y=_e(m.length),v=0,C=f||on,w=t?C(l,y):r||s?C(l,0):void 0;y>v;v++)if((i||v in m)&&(h=g(d=m[v],v,p),e))if(t)w[v]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return v;case 2:ju.call(w,d)}else switch(e){case 4:return!1;case 7:ju.call(w,d)}return a?-1:n||o?o:w}},$u={find:Pu(5),findIndex:Pu(6)},rm=Te?Object.defineProperties:function(e,t){ve(e);for(var r,n=aa(t),o=n.length,a=0;o>a;)Ke.f(e,r=n[a++],t[r]);return e},nm=Qr("document","documentElement"),Iu=Vo("IE_PROTO"),sa=function(){},Fu=function(e){return"<script>"+e+"<\/script>"},un=function(){try{la=document.domain&&new ActiveXObject("htmlfile")}catch{}var e,t;un=la?(function(n){n.write(Fu("")),n.close();var o=n.parentWindow.Object;return n=null,o})(la):((t=Ks("iframe")).style.display="none",nm.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(Fu("document.F=Object")),e.close(),e.F);for(var r=tn.length;r--;)delete un.prototype[tn[r]];return un()};Zr[Iu]=!0;var ua=Object.create||function(e,t){var r;return e!==null?(sa.prototype=ve(e),r=new sa,sa.prototype=null,r[Iu]=e):r=un(),t===void 0?r:rm(r,t)},ca=Q("unscopables"),fa=Array.prototype;fa[ca]==null&&Ke.f(fa,ca,{configurable:!0,value:ua(null)});var Lt=function(e){fa[ca][e]=!0},om=$u.find,Mu=!0,am=Ft("find");"find"in[]&&Array(1).find(function(){Mu=!1}),de({target:"Array",proto:!0,forced:Mu||!am},{find:function(e){return om(this,e,arguments.length>1?arguments[1]:void 0)}}),Lt("find");var im=$u.findIndex,qu=!0,lm=Ft("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){qu=!1}),de({target:"Array",proto:!0,forced:qu||!lm},{findIndex:function(e){return im(this,e,arguments.length>1?arguments[1]:void 0)}}),Lt("findIndex");var Bu=function(e,t,r,n,o,a,s,i){for(var l,c=o,u=0,f=!!s&&Cr(s,i,3);u<n;){if(u in r){if(l=f?f(r[u],u,t):r[u],a>0&&qt(l))c=Bu(e,t,l,_e(l.length),c,a-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},sm=Bu;de({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=ze(this),r=_e(t.length),n=on(t,0);return n.length=sm(n,t,t,r,0,e===void 0?1:It(e)),n}});var da=function(e){var t=e.return;if(t!==void 0)return ve(t.call(e)).value},um=function(e,t,r,n){try{return n?t(ve(r)[0],r[1]):t(r)}catch(o){throw da(e),o}},Ht={},cm=Q("iterator"),fm=Array.prototype,Nu=function(e){return e!==void 0&&(Ht.Array===e||fm[cm]===e)},dm=Q("iterator"),Du=function(e){if(e!=null)return e[dm]||e["@@iterator"]||Ht[du(e)]},Gu=Q("iterator"),Lu=!1;try{var hm=0,Hu={next:function(){return{done:!!hm++}},return:function(){Lu=!0}};Hu[Gu]=function(){return this},Array.from(Hu,function(){throw 2})}catch{}var Vu=function(e,t){if(!Lu)return!1;var r=!1;try{var n={};n[Gu]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},vm=!Vu(function(e){Array.from(e)});de({target:"Array",stat:!0,forced:vm},{from:function(e){var t,r,n,o,a,s,i=ze(e),l=typeof this=="function"?this:Array,c=arguments.length,u=c>1?arguments[1]:void 0,f=u!==void 0,d=Du(i),h=0;if(f&&(u=Cr(u,c>2?arguments[2]:void 0,2)),d==null||l==Array&&Nu(d))for(r=new l(t=_e(i.length));t>h;h++)s=f?u(i[h],h):i[h],Bt(r,h,s);else for(a=(o=d.call(i)).next,r=new l;!(n=a.call(o)).done;h++)s=f?um(o,u,[n.value,h],!0):n.value,Bt(r,h,s);return r.length=h,r}});var pm=function(e){return function(t,r,n,o){ra(r);var a=ze(t),s=Yr(a),i=_e(a.length),l=e?i-1:0,c=e?-1:1;if(n<2)for(;;){if(l in s){o=s[l],l+=c;break}if(l+=c,e?l<0:i<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:i>l;l+=c)l in s&&(o=r(o,s[l],l,a));return o}},gm={left:pm(!1)},mm=We(ae.process)=="process",ym=gm.left,bm=Ko("reduce"),Cm=Ft("reduce",{1:0});de({target:"Array",proto:!0,forced:!bm||!Cm||!mm&&an>79&&an<83},{reduce:function(e){return ym(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}}),Lt("flat");var wt,Uu,Wu,wm=!Y(function(){return Object.isExtensible(Object.preventExtensions({}))}),Ku=Bo(function(e){var t=Ke.f,r=Ho("meta"),n=0,o=Object.isExtensible||function(){return!0},a=function(i){t(i,r,{value:{objectID:"O"+ ++n,weakData:{}}})},s=e.exports={REQUIRED:!1,fastKey:function(i,l){if(!se(i))return typeof i=="symbol"?i:(typeof i=="string"?"S":"P")+i;if(!oe(i,r)){if(!o(i))return"F";if(!l)return"E";a(i)}return i[r].objectID},getWeakData:function(i,l){if(!oe(i,r)){if(!o(i))return!0;if(!l)return!1;a(i)}return i[r].weakData},onFreeze:function(i){return wm&&s.REQUIRED&&o(i)&&!oe(i,r)&&a(i),i}};Zr[r]=!0}),wr=function(e,t){this.stopped=e,this.result=t},zu=function(e,t,r){var n,o,a,s,i,l,c,u=r&&r.that,f=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),p=Cr(t,u,1+f+h),m=function(y){return n&&da(n),new wr(!0,y)},g=function(y){return f?(ve(y),h?p(y[0],y[1],m):p(y[0],y[1])):h?p(y,m):p(y)};if(d)n=e;else{if(typeof(o=Du(e))!="function")throw TypeError("Target is not iterable");if(Nu(o)){for(a=0,s=_e(e.length);s>a;a++)if((i=g(e[a]))&&i instanceof wr)return i;return new wr(!1)}n=o.call(e)}for(l=n.next;!(c=l.call(n)).done;){try{i=g(c.value)}catch(y){throw da(n),y}if(typeof i=="object"&&i&&i instanceof wr)return i}return new wr(!1)},Yu=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e},Sm=Ke.f,Xu=Q("toStringTag"),ha=function(e,t,r){e&&!oe(e=r?e:e.prototype,Xu)&&Sm(e,Xu,{configurable:!0,value:t})},cn=Object.setPrototypeOf||("__proto__"in{}?(function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch{}return function(n,o){return ve(n),(function(a){if(!se(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype")})(o),t?e.call(n,o):n.__proto__=o,n}})():void 0),Ju=function(e,t,r){for(var n in t)ot(e,n,t[n],r);return e},xm=!Y(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Zu=Vo("IE_PROTO"),Om=Object.prototype,fn=xm?Object.getPrototypeOf:function(e){return e=ze(e),oe(e,Zu)?e[Zu]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Om:null},va=Q("iterator"),Qu=!1;[].keys&&("next"in(Wu=[].keys())?(Uu=fn(fn(Wu)))!==Object.prototype&&(wt=Uu):Qu=!0),(wt==null||Y(function(){var e={};return wt[va].call(e)!==e}))&&(wt={}),oe(wt,va)||Re(wt,va,function(){return this});var pa={IteratorPrototype:wt,BUGGY_SAFARI_ITERATORS:Qu},_m=pa.IteratorPrototype,km=function(){return this},ga=pa.IteratorPrototype,dn=pa.BUGGY_SAFARI_ITERATORS,Sr=Q("iterator"),Em=function(){return this},ma=function(e,t,r,n,o,a,s){(function(y,v,C){var w=v+" Iterator";y.prototype=ua(_m,{next:zr(1,C)}),ha(y,w,!1),Ht[w]=km})(r,t,n);var i,l,c,u=function(y){if(y===o&&m)return m;if(!dn&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new r(this,y)}}return function(){return new r(this)}},f=t+" Iterator",d=!1,h=e.prototype,p=h[Sr]||h["@@iterator"]||o&&h[o],m=!dn&&p||u(o),g=t=="Array"&&h.entries||p;if(g&&(i=fn(g.call(new e)),ga!==Object.prototype&&i.next&&(fn(i)!==ga&&(cn?cn(i,ga):typeof i[Sr]!="function"&&Re(i,Sr,Em)),ha(i,f,!0))),o=="values"&&p&&p.name!=="values"&&(d=!0,m=function(){return p.call(this)}),h[Sr]!==m&&Re(h,Sr,m),Ht[t]=m,o)if(l={values:u("values"),keys:a?m:u("keys"),entries:u("entries")},s)for(c in l)(dn||d||!(c in h))&&ot(h,c,l[c]);else de({target:t,proto:!0,forced:dn||d},l);return l},ec=Q("species"),Am=Ke.f,tc=Ku.fastKey,rc=nt.set,ya=nt.getterFor;(function(e,t,r){var n=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,a=n?"set":"add",s=ae[e],i=s&&s.prototype,l=s,c={},u=function(g){var y=i[g];ot(i,g,g=="add"?function(v){return y.call(this,v===0?0:v),this}:g=="delete"?function(v){return!(o&&!se(v))&&y.call(this,v===0?0:v)}:g=="get"?function(v){return o&&!se(v)?void 0:y.call(this,v===0?0:v)}:g=="has"?function(v){return!(o&&!se(v))&&y.call(this,v===0?0:v)}:function(v,C){return y.call(this,v===0?0:v,C),this})};if(Wo(e,typeof s!="function"||!(o||i.forEach&&!Y(function(){new s().entries().next()}))))l=r.getConstructor(t,e,n,a),Ku.REQUIRED=!0;else if(Wo(e,!0)){var f=new l,d=f[a](o?{}:-0,1)!=f,h=Y(function(){f.has(1)}),p=Vu(function(g){new s(g)}),m=!o&&Y(function(){for(var g=new s,y=5;y--;)g[a](y,y);return!g.has(-0)});p||((l=t(function(g,y){Yu(g,l,e);var v=(function(C,w,_){var E,F;return cn&&typeof(E=w.constructor)=="function"&&E!==_&&se(F=E.prototype)&&F!==_.prototype&&cn(C,F),C})(new s,g,l);return y!=null&&zu(y,v[a],{that:v,AS_ENTRIES:n}),v})).prototype=i,i.constructor=l),(h||m)&&(u("delete"),u("has"),n&&u("get")),(m||d)&&u(a),o&&i.clear&&delete i.clear}c[e]=l,de({global:!0,forced:l!=s},c),ha(l,e),o||r.setStrong(l,e,n)})("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},{getConstructor:function(e,t,r,n){var o=e(function(l,c){Yu(l,o,t),rc(l,{type:t,index:ua(null),first:void 0,last:void 0,size:0}),Te||(l.size=0),c!=null&&zu(c,l[n],{that:l,AS_ENTRIES:r})}),a=ya(t),s=function(l,c,u){var f,d,h=a(l),p=i(l,c);return p?p.value=u:(h.last=p={index:d=tc(c,!0),key:c,value:u,previous:f=h.last,next:void 0,removed:!1},h.first||(h.first=p),f&&(f.next=p),Te?h.size++:l.size++,d!=="F"&&(h.index[d]=p)),l},i=function(l,c){var u,f=a(l),d=tc(c);if(d!=="F")return f.index[d];for(u=f.first;u;u=u.next)if(u.key==c)return u};return Ju(o.prototype,{clear:function(){for(var l=a(this),c=l.index,u=l.first;u;)u.removed=!0,u.previous&&(u.previous=u.previous.next=void 0),delete c[u.index],u=u.next;l.first=l.last=void 0,Te?l.size=0:this.size=0},delete:function(l){var c=this,u=a(c),f=i(c,l);if(f){var d=f.next,h=f.previous;delete u.index[f.index],f.removed=!0,h&&(h.next=d),d&&(d.previous=h),u.first==f&&(u.first=d),u.last==f&&(u.last=h),Te?u.size--:c.size--}return!!f},forEach:function(l){for(var c,u=a(this),f=Cr(l,arguments.length>1?arguments[1]:void 0,3);c=c?c.next:u.first;)for(f(c.value,c.key,this);c&&c.removed;)c=c.previous},has:function(l){return!!i(this,l)}}),Ju(o.prototype,r?{get:function(l){var c=i(this,l);return c&&c.value},set:function(l,c){return s(this,l===0?0:l,c)}}:{add:function(l){return s(this,l=l===0?0:l,l)}}),Te&&Am(o.prototype,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,r){var n=t+" Iterator",o=ya(t),a=ya(n);ma(e,t,function(s,i){rc(this,{type:n,target:s,state:o(s),kind:i,last:void 0})},function(){for(var s=a(this),i=s.kind,l=s.last;l&&l.removed;)l=l.previous;return s.target&&(s.last=l=l?l.next:s.state.first)?i=="keys"?{value:l.key,done:!1}:i=="values"?{value:l.value,done:!1}:{value:[l.key,l.value],done:!1}:(s.target=void 0,{value:void 0,done:!0})},r?"entries":"values",!r,!0),(function(s){var i=Qr(s),l=Ke.f;Te&&i&&!i[ec]&&l(i,ec,{configurable:!0,get:function(){return this}})})(t)}});var Tm=_u.charAt,Rm=nt.set,jm=nt.getterFor("String Iterator");ma(String,"String",function(e){Rm(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=jm(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=Tm(r,n),t.index+=e.length,{value:e,done:!1})});var nc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Pm=nt.set,$m=nt.getterFor("Array Iterator"),xr=ma(Array,"Array",function(e,t){Pm(this,{type:"Array Iterator",target:Pt(e),index:0,kind:t})},function(){var e=$m(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values");Ht.Arguments=Ht.Array,Lt("keys"),Lt("values"),Lt("entries");var ba=Q("iterator"),oc=Q("toStringTag"),Ca=xr.values;for(var wa in nc){var ac=ae[wa],Ye=ac&&ac.prototype;if(Ye){if(Ye[ba]!==Ca)try{Re(Ye,ba,Ca)}catch{Ye[ba]=Ca}if(Ye[oc]||Re(Ye,oc,wa),nc[wa]){for(var Vt in xr)if(Ye[Vt]!==xr[Vt])try{Re(Ye,Vt,xr[Vt])}catch{Ye[Vt]=xr[Vt]}}}}(function(){function e(){bt(this,e)}return Ct(e,null,[{key:"deduplicate",value:function(t){return Array.from(new Set(t))}},{key:"flat",value:function(t){return t.reduce(function(r,n){var o=Array.isArray(n)?e.flat(n):n;return r.concat(o)},[])}},{key:"find",value:function(t,r){return t.find(r)}},{key:"findIndex",value:function(t,r){return t.findIndex(r)}}]),e})(),(function(){function e(){bt(this,e)}return Ct(e,null,[{key:"today",value:function(){return new Date}}]),e})(),(function(){function e(){bt(this,e)}return Ct(e,null,[{key:"range",value:function(t,r,n){return Math.min(Math.max(t,r),n)}},{key:"clamp",value:function(t,r,n){return r<n?t<r?r:t>n?n:t:t<n?n:t>r?r:t}}]),e})();var Im=Object.defineProperty,Fm=(e,t,r)=>t in e?Im(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,he=(e,t,r)=>(Fm(e,typeof t!="symbol"?t+"":t,r),r);const re=e=>Math.round(e*100)/100;class ee{constructor(t){he(this,"instance"),he(this,"alphaValue",0),he(this,"redValue",0),he(this,"greenValue",0),he(this,"blueValue",0),he(this,"hueValue",0),he(this,"saturationValue",0),he(this,"brightnessValue",0),he(this,"hslSaturationValue",0),he(this,"lightnessValue",0),he(this,"initAlpha",()=>{const r=this.instance.getAlpha();this.alphaValue=Math.min(1,r)*100}),he(this,"initLightness",()=>{const{s:r,l:n}=this.instance.toHsl();this.hslSaturationValue=re(r),this.lightnessValue=re(n)}),he(this,"initRgb",()=>{const{r,g:n,b:o}=this.instance.toRgb();this.redValue=re(r),this.greenValue=re(n),this.blueValue=re(o)}),he(this,"initHsb",()=>{const{h:r,s:n,v:o}=this.instance.toHsv();this.hueValue=Math.min(360,Math.ceil(r)),this.saturationValue=re(n),this.brightnessValue=re(o)}),he(this,"toHexString",()=>this.instance.toHexString()),he(this,"toRgbString",()=>this.instance.toRgbString()),this.instance=x(t),this.initRgb(),this.initHsb(),this.initLightness(),this.initAlpha()}toString(t){return this.instance.toString(t)}get hex(){return this.instance.toHex()}set hex(t){this.instance=x(t),this.initHsb(),this.initRgb(),this.initAlpha(),this.initLightness()}set hue(t){this.saturation===0&&this.brightness===0&&(this.saturationValue=1,this.brightnessValue=1),this.instance=x({h:re(t),s:this.saturation,v:this.brightness,a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.hueValue=re(t)}get hue(){return this.hueValue}set saturation(t){this.instance=x({h:this.hue,s:re(t),v:this.brightness,a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.saturationValue=re(t)}get saturation(){return this.saturationValue}set brightness(t){this.instance=x({h:this.hue,s:this.saturation,v:re(t),a:this.alphaValue/100}),this.initRgb(),this.initLightness(),this.brightnessValue=re(t)}get brightness(){return this.brightnessValue}set lightness(t){this.instance=x({h:this.hue,s:this.hslSaturationValue,l:re(t),a:this.alphaValue/100}),this.initRgb(),this.initHsb(),this.lightnessValue=re(t)}get lightness(){return this.lightnessValue}set red(t){const r=this.instance.toRgb();this.instance=x({...r,r:re(t),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.redValue=re(t)}get red(){return this.redValue}set green(t){const r=this.instance.toRgb();this.instance=x({...r,g:re(t),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.greenValue=re(t)}get green(){return this.greenValue}set blue(t){const r=this.instance.toRgb();this.instance=x({...r,b:re(t),a:this.alphaValue/100}),this.initHsb(),this.initLightness(),this.blueValue=re(t)}get blue(){return this.blueValue}set alpha(t){this.instance.setAlpha(t/100),this.alphaValue=t}get alpha(){return this.alphaValue}get RGB(){return[this.red,this.green,this.blue,parseFloat((this.alpha/100).toFixed(2))]}get HSB(){return[this.hue,this.saturation,this.brightness,parseFloat((this.alpha/100).toFixed(2))]}get HSL(){return[this.hue,this.hslSaturationValue,this.lightness,parseFloat((this.alpha/100).toFixed(2))]}}function ic(e,t,r,n){return`rgba(${[e,t,r,n/100].join(",")})`}const Sa=(e,t,r)=>t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e,xa="color-history",Oa=8,je=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},Mm=P({name:"Alpha",props:{color:I.instanceOf(ee),size:I.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const r=M(null),n=M(null);let o=e.color||new ee;const a=Ce({red:o.red,green:o.green,blue:o.blue,alpha:o.alpha});pe(()=>e.color,f=>{f&&(o=f,Xt(a,{red:f.red,green:f.green,blue:f.blue,alpha:f.alpha}))},{deep:!0});const s=L(()=>{const f=ic(a.red,a.green,a.blue,0),d=ic(a.red,a.green,a.blue,100);return{background:`linear-gradient(to right, ${f} , ${d})`}}),i=()=>{if(r.value&&n.value){const f=a.alpha/100,d=r.value.getBoundingClientRect(),h=n.value.offsetWidth;return Math.round(f*(d.width-h)+h/2)}return 0},l=L(()=>({left:i()+"px",top:0})),c=f=>{f.target!==r.value&&u(f)},u=f=>{if(f.stopPropagation(),r.value&&n.value){const d=r.value.getBoundingClientRect(),h=n.value.offsetWidth;let p=f.clientX-d.left;p=Math.max(h/2,p),p=Math.min(p,d.width-h/2);const m=Math.round((p-h/2)/(d.width-h)*100);o.alpha=m,a.alpha=m,t("change",m)}};return ct(()=>{const f={drag:d=>{u(d)},end:d=>{u(d)}};r.value&&n.value&&br.triggerDragEvent(r.value,f)}),{barElement:r,cursorElement:n,getCursorStyle:l,getBackgroundStyle:s,onClickSider:c}}}),qm=e=>(it("data-v-18925ba6"),e=e(),lt(),e),Bm=qm(()=>k("div",{class:"vc-alpha-slider__bar-handle"},null,-1)),Nm=[Bm];function Dm(e,t,r,n,o,a){return $(),V("div",{class:ue(["vc-alpha-slider","transparent",{"small-slider":e.size==="small"}])},[k("div",{ref:"barElement",class:"vc-alpha-slider__bar",style:ie(e.getBackgroundStyle),onClick:t[0]||(t[0]=(...s)=>e.onClickSider&&e.onClickSider(...s))},[k("div",{class:ue(["vc-alpha-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:ie(e.getCursorStyle)},Nm,6)],4)],2)}const _a=je(Mm,[["render",Dm],["__scopeId","data-v-18925ba6"]]),Gm=[["#fcc02e","#f67c01","#e64a19","#d81b43","#8e24aa","#512da7","#1f87e8","#008781","#05a045"],["#fed835","#fb8c00","#f5511e","#eb1d4e","#9c28b1","#5d35b0","#2097f3","#029688","#4cb050"],["#ffeb3c","#ffa727","#fe5722","#eb4165","#aa47bc","#673bb7","#42a5f6","#26a59a","#83c683"],["#fff176","#ffb74e","#ff8a66","#f1627e","#b968c7","#7986cc","#64b5f6","#80cbc4","#a5d6a7"],["#fff59c","#ffcc80","#ffab91","#fb879e","#cf93d9","#9ea8db","#90caf8","#b2dfdc","#c8e6ca"],["transparent","#ffffff","#dedede","#a9a9a9","#4b4b4b","#353535","#212121","#000000","advance"]],Lm=P({name:"Palette",emits:["change"],setup(e,{emit:t}){return{palettes:Gm,computedBgStyle:r=>r==="transparent"?r:r==="advance"?{}:{background:x(r).toRgbString()},onColorChange:r=>{t("change",r)}}}}),Hm={class:"vc-compact"},Vm=["onClick"];function Um(e,t,r,n,o,a){return $(),V("div",Hm,[($(!0),V(Ze,null,Ot(e.palettes,(s,i)=>($(),V("div",{key:i,class:"vc-compact__row"},[($(!0),V(Ze,null,Ot(s,(l,c)=>($(),V("div",{key:c,class:"vc-compact__color-cube--wrap",onClick:u=>e.onColorChange(l)},[k("div",{class:ue(["vc-compact__color_cube",{advance:l==="advance",transparent:l==="transparent"}]),style:ie(e.computedBgStyle(l))},null,6)],8,Vm))),128))]))),128))])}const lc=je(Lm,[["render",Um],["__scopeId","data-v-b969fd48"]]),Wm=P({name:"Board",props:{color:I.instanceOf(ee),round:I.bool.def(!1),hide:I.bool.def(!0)},emits:["change"],setup(e,{emit:t}){var r,n,o;const a=Er(),s={h:((r=e.color)==null?void 0:r.hue)||0,s:1,v:1},i=new ee(s).toHexString(),l=Ce({hueColor:i,saturation:((n=e.color)==null?void 0:n.saturation)||0,brightness:((o=e.color)==null?void 0:o.brightness)||0}),c=M(0),u=M(0),f=M(),d=L(()=>({top:c.value+"px",left:u.value+"px"})),h=()=>{if(a){const C=a.vnode.el;u.value=l.saturation*(C==null?void 0:C.clientWidth),c.value=(1-l.brightness)*(C==null?void 0:C.clientHeight)}};let p=!1;const m=C=>{p=!0,v(C)},g=C=>{p&&v(C)},y=()=>{p=!1},v=C=>{if(a){const w=a.vnode.el,_=w==null?void 0:w.getBoundingClientRect();let E=C.clientX-_.left,F=C.clientY-_.top;E=Sa(E,0,_.width),F=Sa(F,0,_.height);const D=E/_.width,B=Sa(-(F/_.height)+1,0,1);u.value=E,c.value=F,l.saturation=D,l.brightness=B,t("change",D,B)}};return ct(()=>{a&&a.vnode.el&&f.value&&Kt(()=>{h()})}),fe(()=>e.color,C=>{Xt(l,{hueColor:new ee({h:C.hue,s:1,v:1}).toHexString(),saturation:C.saturation,brightness:C.brightness}),h()},{deep:!0}),{state:l,cursorElement:f,getCursorStyle:d,onClickBoard:m,onDrag:g,onDragEnd:y}}}),ka=e=>(it("data-v-7f0cdcdf"),e=e(),lt(),e),Km=ka(()=>k("div",{class:"vc-saturation__white"},null,-1)),zm=ka(()=>k("div",{class:"vc-saturation__black"},null,-1)),Ym=ka(()=>k("div",null,null,-1)),Xm=[Ym];function Jm(e,t,r,n,o,a){return $(),V("div",{ref:"boardElement",class:ue(["vc-saturation",{"vc-saturation__chrome":e.round,"vc-saturation__hidden":e.hide}]),style:ie({backgroundColor:e.state.hueColor}),onMousedown:t[0]||(t[0]=(...s)=>e.onClickBoard&&e.onClickBoard(...s)),onMousemove:t[1]||(t[1]=(...s)=>e.onDrag&&e.onDrag(...s)),onMouseup:t[2]||(t[2]=(...s)=>e.onDragEnd&&e.onDragEnd(...s))},[Km,zm,k("div",{class:"vc-saturation__cursor",ref:"cursorElement",style:ie(e.getCursorStyle)},Xm,4)],38)}const Ea=je(Wm,[["render",Jm],["__scopeId","data-v-7f0cdcdf"]]),Zm=P({name:"Hue",props:{color:I.instanceOf(ee),size:I.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const r=M(null),n=M(null);let o=e.color||new ee;const a=Ce({hue:o.hue||0});pe(()=>e.color,u=>{u&&(o=u,Xt(a,{hue:o.hue}))},{deep:!0});const s=()=>{if(r.value&&n.value){const u=r.value.getBoundingClientRect(),f=n.value.offsetWidth;return a.hue===360?u.width-f/2:a.hue%360*(u.width-f)/360+f/2}return 0},i=L(()=>({left:s()+"px",top:0})),l=u=>{u.target!==r.value&&c(u)},c=u=>{if(u.stopPropagation(),r.value&&n.value){const f=r.value.getBoundingClientRect(),d=n.value.offsetWidth;let h=u.clientX-f.left;h=Math.min(h,f.width-d/2),h=Math.max(d/2,h);const p=Math.round((h-d/2)/(f.width-d)*360);o.hue=p,a.hue=p,t("change",p)}};return ct(()=>{const u={drag:f=>{c(f)},end:f=>{c(f)}};r.value&&n.value&&br.triggerDragEvent(r.value,u)}),{barElement:r,cursorElement:n,getCursorStyle:i,onClickSider:l}}}),Qm=e=>(it("data-v-e1a08576"),e=e(),lt(),e),ey=Qm(()=>k("div",{class:"vc-hue-slider__bar-handle"},null,-1)),ty=[ey];function ry(e,t,r,n,o,a){return $(),V("div",{class:ue(["vc-hue-slider",{"small-slider":e.size==="small"}])},[k("div",{ref:"barElement",class:"vc-hue-slider__bar",onClick:t[0]||(t[0]=(...s)=>e.onClickSider&&e.onClickSider(...s))},[k("div",{class:ue(["vc-hue-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:ie(e.getCursorStyle)},ty,6)],512)],2)}const Aa=je(Zm,[["render",ry],["__scopeId","data-v-e1a08576"]]),ny=P({name:"Lightness",props:{color:I.instanceOf(ee),size:I.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const r=M(null),n=M(null);let o=e.color||new ee;const[a,s,i]=o.HSL,l=Ce({hue:a,saturation:s,lightness:i});pe(()=>e.color,p=>{if(p){o=p;const[m,g,y]=o.HSL;Xt(l,{hue:m,saturation:g,lightness:y})}},{deep:!0});const c=L(()=>{const p=x({h:l.hue,s:l.saturation,l:.8}).toPercentageRgbString(),m=x({h:l.hue,s:l.saturation,l:.6}).toPercentageRgbString(),g=x({h:l.hue,s:l.saturation,l:.4}).toPercentageRgbString(),y=x({h:l.hue,s:l.saturation,l:.2}).toPercentageRgbString();return{background:[`linear-gradient(to right, rgb(255, 255, 255), ${p}, ${m}, ${g}, ${y}, rgb(0, 0, 0))`,`-webkit-linear-gradient(left, rgb(255, 255, 255), ${p}, ${m}, ${g}, ${y}, rgb(0, 0, 0))`,`-moz-linear-gradient(left, rgb(255, 255, 255), ${p}, ${m}, ${g}, ${y}, rgb(0, 0, 0))`,`-ms-linear-gradient(left, rgb(255, 255, 255), ${p}, ${m}, ${g}, ${y}, rgb(0, 0, 0))`]}}),u=()=>{if(r.value&&n.value){const p=l.lightness,m=r.value.getBoundingClientRect(),g=n.value.offsetWidth;return(1-p)*(m.width-g)+g/2}return 0},f=L(()=>({left:u()+"px",top:0})),d=p=>{p.target!==r.value&&h(p)},h=p=>{if(p.stopPropagation(),r.value&&n.value){const m=r.value.getBoundingClientRect(),g=n.value.offsetWidth;let y=p.clientX-m.left;y=Math.max(g/2,y),y=Math.min(y,m.width-g/2);const v=1-(y-g/2)/(m.width-g);o.lightness=v,t("change",v)}};return ct(()=>{const p={drag:m=>{h(m)},end:m=>{h(m)}};r.value&&n.value&&br.triggerDragEvent(r.value,p)}),{barElement:r,cursorElement:n,getCursorStyle:f,getBackgroundStyle:c,onClickSider:d}}}),oy=e=>(it("data-v-94a50a9e"),e=e(),lt(),e),ay=oy(()=>k("div",{class:"vc-lightness-slider__bar-handle"},null,-1)),iy=[ay];function ly(e,t,r,n,o,a){return $(),V("div",{class:ue(["vc-lightness-slider",{"small-slider":e.size==="small"}])},[k("div",{ref:"barElement",class:"vc-lightness-slider__bar",style:ie(e.getBackgroundStyle),onClick:t[0]||(t[0]=(...s)=>e.onClickSider&&e.onClickSider(...s))},[k("div",{class:ue(["vc-lightness-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:ie(e.getCursorStyle)},iy,6)],4)],2)}const sc=je(ny,[["render",ly],["__scopeId","data-v-94a50a9e"]]),sy=P({name:"History",props:{colors:I.arrayOf(String).def(()=>[]),round:I.bool.def(!1)},emits:["change"],setup(e,{emit:t}){return{onColorSelect:r=>{t("change",r)}}}}),uy={key:0,class:"vc-colorPicker__record"},cy={class:"color-list"},fy=["onClick"];function dy(e,t,r,n,o,a){return e.colors&&e.colors.length>0?($(),V("div",uy,[k("div",cy,[($(!0),V(Ze,null,Ot(e.colors,(s,i)=>($(),V("div",{key:i,class:ue(["color-item","transparent",{"color-item__round":e.round}]),onClick:l=>e.onColorSelect(s)},[k("div",{class:"color-item__display",style:ie({backgroundColor:s})},null,4)],10,fy))),128))])])):K("",!0)}const Ta=je(sy,[["render",dy],["__scopeId","data-v-0f657238"]]),hy=P({name:"Display",props:{color:I.instanceOf(ee),disableAlpha:I.bool.def(!1)},emits:["update:color","change"],setup(e,{emit:t}){var r,n,o,a;const{copy:s,copied:i,isSupported:l}=Dd(),c=M("hex"),u=Ce({color:e.color,hex:(r=e.color)==null?void 0:r.hex,alpha:Math.round(((n=e.color)==null?void 0:n.alpha)||100),rgba:(o=e.color)==null?void 0:o.RGB,previewBgColor:(a=e.color)==null?void 0:a.toRgbString()}),f=L(()=>({background:u.previewBgColor})),d=()=>{c.value=c.value==="rgba"?"hex":"rgba"},h=He(y=>{if(!y.target.value)return;let v=parseInt(y.target.value.replace("%",""));v>100&&(y.target.value="100",v=100),v<0&&(y.target.value="0",v=0),isNaN(v)&&(y.target.value="100",v=100),!isNaN(v)&&u.color&&(u.color.alpha=v),t("change",u.color)},300),p=He((y,v)=>{if(u.color){if(c.value==="hex"){const C=y.target.value.replace("#","");x(C).isValid()?[3,4].includes(C.length)&&(u.color.hex=C):u.color.hex="000000",t("change",u.color)}else if(c.value==="rgba"&&v===3&&y.target.value.toString()==="0."&&u.rgba){u.rgba[v]=y.target.value;const[C,w,_,E]=u.rgba;u.color.hex=x({r:C,g:w,b:_}).toHex(),u.color.alpha=Math.round(E*100),t("change",u.color)}}},100),m=He((y,v)=>{if(y.target.value){if(c.value==="hex"){const C=y.target.value.replace("#","");x(C).isValid()&&u.color&&[6,8].includes(C.length)&&(u.color.hex=C)}else if(v!==void 0&&u.rgba&&u.color){if(y.target.value<0&&(y.target.value=0),v===3&&((y.target.value>1||isNaN(y.target.value))&&(y.target.value=1),y.target.value.toString()==="0."))return;v<3&&y.target.value>255&&(y.target.value=255),u.rgba[v]=y.target.value;const[C,w,_,E]=u.rgba;u.color.hex=x({r:C,g:w,b:_}).toHex(),u.color.alpha=Math.round(E*100)}t("change",u.color)}},300),g=()=>{if(l&&u.color){const y=c.value==="hex"?u.color.toString(u.color.alpha===100?"hex6":"hex8"):u.color.toRgbString();s(y||"")}};return fe(()=>e.color,y=>{y&&(u.color=y,u.alpha=Math.round(u.color.alpha),u.hex=u.color.hex,u.rgba=u.color.RGB)},{deep:!0}),fe(()=>u.color,()=>{u.color&&(u.previewBgColor=u.color.toRgbString())},{deep:!0}),{state:u,getBgColorStyle:f,inputType:c,copied:i,onInputTypeChange:d,onAlphaBlur:h,onInputChange:m,onBlurChange:p,onCopyColorStr:g}}}),vy={class:"vc-display"},py={class:"vc-current-color vc-transparent"},gy={key:0,class:"copy-text"},my={key:0,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},yy={class:"vc-color-input"},by={key:0,class:"vc-alpha-input"},Cy=["value"],wy={key:1,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},Sy=["value","onInput","onBlur"];function xy(e,t,r,n,o,a){return $(),V("div",vy,[k("div",py,[k("div",{class:"color-cube",style:ie(e.getBgColorStyle),onClick:t[0]||(t[0]=(...s)=>e.onCopyColorStr&&e.onCopyColorStr(...s))},[e.copied?($(),V("span",gy,"Copied!")):K("",!0)],4)]),e.inputType==="hex"?($(),V("div",my,[k("div",yy,[zt(k("input",{"onUpdate:modelValue":t[1]||(t[1]=s=>e.state.hex=s),maxlength:"8",onInput:t[2]||(t[2]=(...s)=>e.onInputChange&&e.onInputChange(...s)),onBlur:t[3]||(t[3]=(...s)=>e.onBlurChange&&e.onBlurChange(...s))},null,544),[[Va,e.state.hex]])]),e.disableAlpha?K("",!0):($(),V("div",by,[k("input",{class:"vc-alpha-input__inner",value:e.state.alpha,onInput:t[4]||(t[4]=(...s)=>e.onAlphaBlur&&e.onAlphaBlur(...s))},null,40,Cy),kr("% ")]))])):e.state.rgba?($(),V("div",wy,[($(!0),V(Ze,null,Ot(e.state.rgba,(s,i)=>($(),V("div",{class:"vc-color-input",key:i},[k("input",{value:s,onInput:l=>e.onInputChange(l,i),onBlur:l=>e.onBlurChange(l,i)},null,40,Sy)]))),128))])):K("",!0),k("div",{class:"vc-input-toggle",onClick:t[5]||(t[5]=(...s)=>e.onInputTypeChange&&e.onInputTypeChange(...s))},Yt(e.inputType),1)])}const Ra=je(hy,[["render",xy],["__scopeId","data-v-7334ac20"]]),Oy=P({name:"FkColorPicker",components:{Display:Ra,Alpha:_a,Palette:lc,Board:Ea,Hue:Aa,Lightness:sc,History:Ta},props:{color:I.instanceOf(ee),disableHistory:I.bool.def(!1),roundHistory:I.bool.def(!1),disableAlpha:I.bool.def(!1)},emits:["update:color","change","advanceChange"],setup(e,{emit:t}){const r=e.color||new ee,n=Ce({color:r,hex:r.toHexString(),rgb:r.toRgbString()}),o=M(!1),a=L(()=>({background:n.rgb})),s=()=>{o.value=!1,t("advanceChange",!1)},i=jn(xa,[],{}),l=He(()=>{if(e.disableHistory)return;const m=n.color.toRgbString();if(i.value=i.value.filter(g=>!x.equals(g,m)),!i.value.includes(m)){for(;i.value.length>Oa;)i.value.pop();i.value.unshift(m)}},500),c=m=>{m==="advance"?(o.value=!0,t("advanceChange",!0)):(n.color.hex=m,t("advanceChange",!1))},u=m=>{n.color.alpha=m},f=m=>{n.color.hue=m},d=(m,g)=>{n.color.saturation=m,n.color.brightness=g},h=m=>{n.color.lightness=m},p=m=>{const g=m.target.value.replace("#","");x(g).isValid()&&(n.color.hex=g)};return fe(()=>e.color,m=>{m&&(n.color=m)},{deep:!0}),fe(()=>n.color,()=>{n.hex=n.color.hex,n.rgb=n.color.toRgbString(),l(),t("update:color",n.color),t("change",n.color)},{deep:!0}),{state:n,advancePanelShow:o,onBack:s,onCompactChange:c,onAlphaChange:u,onHueChange:f,onBoardChange:d,onLightChange:h,onInputChange:p,previewStyle:a,historyColors:i}}}),_y=e=>(it("data-v-48e3c224"),e=e(),lt(),e),ky={class:"vc-fk-colorPicker"},Ey={class:"vc-fk-colorPicker__inner"},Ay={class:"vc-fk-colorPicker__header"},Ty=_y(()=>k("div",{class:"back"},null,-1)),Ry=[Ty];function jy(e,t,r,n,o,a){const s=T("Palette"),i=T("Board"),l=T("Hue"),c=T("Lightness"),u=T("Alpha"),f=T("Display"),d=T("History");return $(),V("div",ky,[k("div",Ey,[k("div",Ay,[e.advancePanelShow?($(),V("span",{key:0,style:{cursor:"pointer"},onClick:t[0]||(t[0]=(...h)=>e.onBack&&e.onBack(...h))},Ry)):K("",!0)]),e.advancePanelShow?K("",!0):($(),te(s,{key:0,onChange:e.onCompactChange},null,8,["onChange"])),e.advancePanelShow?($(),te(i,{key:1,color:e.state.color,onChange:e.onBoardChange},null,8,["color","onChange"])):K("",!0),e.advancePanelShow?($(),te(l,{key:2,color:e.state.color,onChange:e.onHueChange},null,8,["color","onChange"])):K("",!0),e.advancePanelShow?K("",!0):($(),te(c,{key:3,color:e.state.color,onChange:e.onLightChange},null,8,["color","onChange"])),e.disableAlpha?K("",!0):($(),te(u,{key:4,color:e.state.color,onChange:e.onAlphaChange},null,8,["color","onChange"])),S(f,{color:e.state.color,"disable-alpha":e.disableAlpha},null,8,["color","disable-alpha"]),e.disableHistory?K("",!0):($(),te(d,{key:5,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])])}const uc=je(Oy,[["render",jy],["__scopeId","data-v-48e3c224"]]),Py=P({name:"ChromeColorPicker",components:{Display:Ra,Alpha:_a,Board:Ea,Hue:Aa,History:Ta},props:{color:I.instanceOf(ee),disableHistory:I.bool.def(!1),roundHistory:I.bool.def(!1),disableAlpha:I.bool.def(!1)},emits:["update:color","change"],setup(e,{emit:t}){const r=e.color||new ee,n=Ce({color:r,hex:r.toHexString(),rgb:r.toRgbString()}),o=L(()=>({background:n.rgb})),a=jn(xa,[],{}),s=He(()=>{if(e.disableHistory)return;const d=n.color.toRgbString();if(a.value=a.value.filter(h=>!x.equals(h,d)),!a.value.includes(d)){for(;a.value.length>Oa;)a.value.pop();a.value.unshift(d)}},500),i=d=>{n.color.alpha=d},l=d=>{n.color.hue=d},c=d=>{d.hex!==void 0&&(n.color.hex=d.hex),d.alpha!==void 0&&(n.color.alpha=d.alpha)},u=(d,h)=>{n.color.saturation=d,n.color.brightness=h},f=d=>{d!=="advance"&&(n.color.hex=d)};return fe(()=>e.color,d=>{d&&(n.color=d)},{deep:!0}),fe(()=>n.color,()=>{n.hex=n.color.hex,n.rgb=n.color.toRgbString(),s(),t("update:color",n.color),t("change",n.color)},{deep:!0}),{state:n,previewStyle:o,historyColors:a,onAlphaChange:i,onHueChange:l,onBoardChange:u,onInputChange:c,onCompactChange:f}}}),$y={class:"vc-chrome-colorPicker"},Iy={class:"vc-chrome-colorPicker-body"},Fy={class:"chrome-controls"},My={class:"chrome-sliders"};function qy(e,t,r,n,o,a){const s=T("Board"),i=T("Hue"),l=T("Alpha"),c=T("Display"),u=T("History");return $(),V("div",$y,[S(s,{round:!0,hide:!1,color:e.state.color,onChange:e.onBoardChange},null,8,["color","onChange"]),k("div",Iy,[k("div",Fy,[k("div",My,[S(i,{size:"small",color:e.state.color,onChange:e.onHueChange},null,8,["color","onChange"]),e.disableAlpha?K("",!0):($(),te(l,{key:0,size:"small",color:e.state.color,onChange:e.onAlphaChange},null,8,["color","onChange"]))])]),S(c,{color:e.state.color,"disable-alpha":e.disableAlpha},null,8,["color","disable-alpha"]),e.disableHistory?K("",!0):($(),te(u,{key:0,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])])}const cc=je(Py,[["render",qy],["__scopeId","data-v-2611d66c"]]),ja="Vue3ColorPickerProvider",By=(e,t)=>{const r=e.getBoundingClientRect(),n=r.left+r.width/2,o=r.top+r.height/2,a=Math.abs(n-t.clientX),s=Math.abs(o-t.clientY),i=Math.sqrt(Math.pow(a,2)+Math.pow(s,2)),l=s/i,c=Math.acos(l);let u=Math.floor(180/(Math.PI/c));return t.clientX>n&&t.clientY>o&&(u=180-u),t.clientX==n&&t.clientY>o&&(u=180),t.clientX>n&&t.clientY==o&&(u=90),t.clientX<n&&t.clientY>o&&(u=180+u),t.clientX<n&&t.clientY==o&&(u=270),t.clientX<n&&t.clientY<o&&(u=360-u),u};let Pa=!1;const Ny=(e,t)=>{const r=function(o){var a;(a=t.drag)==null||a.call(t,o)},n=function(o){var a;document.removeEventListener("mousemove",r,!1),document.removeEventListener("mouseup",n,!1),document.onselectstart=null,document.ondragstart=null,Pa=!1,(a=t.end)==null||a.call(t,o)};e&&e.addEventListener("mousedown",o=>{var a;Pa||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",r,!1),document.addEventListener("mouseup",n,!1),Pa=!0,(a=t.start)==null||a.call(t,o))})},Dy={angle:{type:Number,default:0},size:{type:Number,default:16,validator:e=>e>=16},borderWidth:{type:Number,default:1,validator:e=>e>=1},borderColor:{type:String,default:"#666"}},Gy=P({name:"Angle",props:Dy,emits:["update:angle","change"],setup(e,{emit:t}){const r=M(null),n=M(0);pe(()=>e.angle,i=>{n.value=i});const o=()=>{let i=Number(n.value);isNaN(i)||(i=i>360||i<0?e.angle:i,n.value=i===360?0:i,t("update:angle",n.value),t("change",n.value))},a=L(()=>({width:e.size+"px",height:e.size+"px",borderWidth:e.borderWidth+"px",borderColor:e.borderColor,transform:`rotate(${n.value}deg)`})),s=i=>{r.value&&(n.value=By(r.value,i)%360,o())};return Wt(()=>{const i={drag:l=>{s(l)},end:l=>{s(l)}};r.value&&Ny(r.value,i)}),()=>S("div",{class:"bee-angle"},[S("div",{class:"bee-angle__round",ref:r,style:a.value},null)])}}),Ly=P({name:"GradientColorPicker",components:{Angle:Gy,Display:Ra,Alpha:_a,Palette:lc,Board:Ea,Hue:Aa,Lightness:sc,History:Ta},props:{startColor:I.instanceOf(ee).isRequired,endColor:I.instanceOf(ee).isRequired,startColorStop:I.number.def(0),endColorStop:I.number.def(100),angle:I.number.def(0),type:I.oneOf(["linear","radial"]).def("linear"),disableHistory:I.bool.def(!1),roundHistory:I.bool.def(!1),disableAlpha:I.bool.def(!1),pickerType:I.oneOf(["fk","chrome"]).def("fk")},emits:["update:startColor","update:endColor","update:angle","update:startColorStop","update:endColorStop","startColorChange","endColorChange","advanceChange","angleChange","startColorStopChange","endColorStopChange","typeChange"],setup(e,{emit:t}){const r=Ce({startActive:!0,startColor:e.startColor,endColor:e.endColor,startColorStop:e.startColorStop,endColorStop:e.endColorStop,angle:e.angle,type:e.type,startColorRgba:e.startColor.toRgbString(),endColorRgba:e.endColor.toRgbString()}),n=gn(ja),o=M(e.pickerType==="chrome"),a=M(),s=M(),i=M();pe(()=>[e.startColor,e.endColor,e.angle],b=>{r.startColor=b[0],r.endColor=b[1],r.angle=b[2]}),pe(()=>e.type,b=>{r.type=b});const l=L({get:()=>r.startActive?r.startColor:r.endColor,set:b=>{if(r.startActive){r.startColor=b;return}r.endColor=b}}),c=L(()=>{if(i.value&&a.value){const b=r.startColorStop/100,A=i.value.getBoundingClientRect(),q=a.value.offsetWidth;return Math.round(b*(A.width-q)+q/2)}return 0}),u=L(()=>{if(i.value&&s.value){const b=r.endColorStop/100,A=i.value.getBoundingClientRect(),q=s.value.offsetWidth;return Math.round(b*(A.width-q)+q/2)}return 0}),f=L(()=>{let b=`background: linear-gradient(${r.angle}deg, ${r.startColorRgba} ${r.startColorStop}%, ${r.endColorRgba} ${r.endColorStop}%)`;return r.type==="radial"&&(b=`background: radial-gradient(circle, ${r.startColorRgba} ${r.startColorStop}%, ${r.endColorRgba} ${r.endColorStop}%)`),b}),d=b=>{var A;if(r.startActive=!0,i.value&&a.value){const q=(A=i.value)==null?void 0:A.getBoundingClientRect();let U=b.clientX-q.left;U=Math.max(a.value.offsetWidth/2,U),U=Math.min(U,q.width-a.value.offsetWidth/2),r.startColorStop=Math.round((U-a.value.offsetWidth/2)/(q.width-a.value.offsetWidth)*100),t("update:startColorStop",r.startColorStop),t("startColorStopChange",r.startColorStop)}},h=b=>{var A;if(r.startActive=!1,i.value&&s.value){const q=(A=i.value)==null?void 0:A.getBoundingClientRect();let U=b.clientX-q.left;U=Math.max(s.value.offsetWidth/2,U),U=Math.min(U,q.width-s.value.offsetWidth/2),r.endColorStop=Math.round((U-s.value.offsetWidth/2)/(q.width-s.value.offsetWidth)*100),t("update:endColorStop",r.endColorStop),t("endColorStopChange",r.endColorStop)}},p=b=>{const A=b.target,q=parseInt(A.value.replace("°",""));isNaN(q)||(r.angle=q%360),t("update:angle",r.angle),t("angleChange",r.angle)},m=b=>{r.angle=b,t("update:angle",r.angle),t("angleChange",r.angle)},g=b=>{b==="advance"?(o.value=!0,t("advanceChange",!0)):(l.value.hex=b,t("advanceChange",!1)),E()},y=b=>{l.value.alpha=b,E()},v=b=>{l.value.hue=b,E()},C=(b,A)=>{l.value.saturation=b,l.value.brightness=A,E()},w=b=>{l.value.lightness=b,E()},_=()=>{E()},E=()=>{r.startActive?(t("update:startColor",r.startColor),t("startColorChange",r.startColor)):(t("update:endColor",r.endColor),t("endColorChange",r.endColor))},F=()=>{o.value=!1,t("advanceChange",!1)},D=()=>{r.type=r.type==="linear"?"radial":"linear",t("typeChange",r.type)},B=jn(xa,[],{}),R=He(()=>{if(e.disableHistory)return;const b=l.value.toRgbString();if(B.value=B.value.filter(A=>!x.equals(A,b)),!B.value.includes(b)){for(;B.value.length>Oa;)B.value.pop();B.value.unshift(b)}},500);return ct(()=>{s.value&&a.value&&(br.triggerDragEvent(s.value,{drag:b=>{h(b)},end:b=>{h(b)}}),br.triggerDragEvent(a.value,{drag:b=>{d(b)},end:b=>{d(b)}}))}),fe(()=>r.startColor,b=>{r.startColorRgba=b.toRgbString()},{deep:!0}),fe(()=>r.endColor,b=>{r.endColorRgba=b.toRgbString()},{deep:!0}),fe(()=>l.value,()=>{R()},{deep:!0}),{startGradientRef:a,stopGradientRef:s,colorRangeRef:i,state:r,currentColor:l,getStartColorLeft:c,getEndColorLeft:u,gradientBg:f,advancePanelShow:o,onDegreeBlur:p,onCompactChange:g,onAlphaChange:y,onHueChange:v,onBoardChange:C,onLightChange:w,historyColors:B,onBack:F,onDegreeChange:m,onDisplayChange:_,onTypeChange:D,lang:n==null?void 0:n.lang}}}),fc=e=>(it("data-v-c4d6d6ea"),e=e(),lt(),e),Hy={class:"vc-gradient-picker"},Vy={class:"vc-gradient-picker__header"},Uy={class:"vc-gradient__types"},Wy={class:"vc-gradient-wrap__types"},Ky={class:"vc-picker-degree-input vc-degree-input"},zy={class:"vc-degree-input__control"},Yy=["value"],Xy={class:"vc-degree-input__panel"},Jy={class:"vc-degree-input__disk"},Zy={class:"vc-gradient-picker__body"},Qy={class:"vc-color-range",ref:"colorRangeRef"},eb={class:"vc-color-range__container"},tb={class:"vc-gradient__stop__container"},rb=["title"],nb=fc(()=>k("span",{class:"vc-gradient__stop--inner"},null,-1)),ob=[nb],ab=["title"],ib=fc(()=>k("span",{class:"vc-gradient__stop--inner"},null,-1)),lb=[ib];function sb(e,t,r,n,o,a){var s,i;const l=T("Angle"),c=T("Board"),u=T("Hue"),f=T("Palette"),d=T("Lightness"),h=T("Alpha"),p=T("Display"),m=T("History");return $(),V("div",Hy,[k("div",Vy,[k("div",null,[zt(k("div",{class:"back",style:{cursor:"pointer"},onClick:t[0]||(t[0]=(...g)=>e.onBack&&e.onBack(...g))},null,512),[[Tr,e.pickerType==="fk"&&e.advancePanelShow]])]),k("div",Uy,[k("div",Wy,[($(),V(Ze,null,Ot(["linear","radial"],g=>k("div",{class:ue(["vc-gradient__type",{active:e.state.type===g}]),key:g,onClick:t[1]||(t[1]=(...y)=>e.onTypeChange&&e.onTypeChange(...y))},Yt(e.lang?e.lang[g]:g),3)),64))]),zt(k("div",Ky,[k("div",zy,[k("input",{value:e.state.angle,onBlur:t[2]||(t[2]=(...g)=>e.onDegreeBlur&&e.onDegreeBlur(...g))},null,40,Yy),kr("deg ")]),k("div",Xy,[k("div",Jy,[S(l,{angle:e.state.angle,"onUpdate:angle":t[3]||(t[3]=g=>e.state.angle=g),size:40,onChange:e.onDegreeChange},null,8,["angle","onChange"])])])],512),[[Tr,e.state.type==="linear"]])])]),k("div",Zy,[k("div",Qy,[k("div",eb,[k("div",{class:"vc-background",style:ie(e.gradientBg)},null,4),k("div",tb,[k("div",{class:ue(["vc-gradient__stop",{"vc-gradient__stop--current":e.state.startActive}]),ref:"startGradientRef",title:(s=e.lang)==null?void 0:s.start,style:ie({left:e.getStartColorLeft+"px",backgroundColor:e.state.startColorRgba})},ob,14,rb),k("div",{class:ue(["vc-gradient__stop",{"vc-gradient__stop--current":!e.state.startActive}]),ref:"stopGradientRef",title:(i=e.lang)==null?void 0:i.end,style:ie({left:e.getEndColorLeft+"px",backgroundColor:e.state.endColorRgba})},lb,14,ab)])])],512)]),e.advancePanelShow?($(),te(c,{key:0,color:e.currentColor,onChange:e.onBoardChange},null,8,["color","onChange"])):K("",!0),e.advancePanelShow?($(),te(u,{key:1,color:e.currentColor,onChange:e.onHueChange},null,8,["color","onChange"])):K("",!0),e.advancePanelShow?K("",!0):($(),te(f,{key:2,onChange:e.onCompactChange},null,8,["onChange"])),e.advancePanelShow?K("",!0):($(),te(d,{key:3,color:e.currentColor,onChange:e.onLightChange},null,8,["color","onChange"])),e.disableAlpha?K("",!0):($(),te(h,{key:4,color:e.currentColor,onChange:e.onAlphaChange},null,8,["color","onChange"])),S(p,{color:e.currentColor,"disable-alpha":e.disableAlpha,onChange:e.onDisplayChange},null,8,["color","disable-alpha","onChange"]),e.disableHistory?K("",!0):($(),te(m,{key:5,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])}const dc=je(Ly,[["render",sb],["__scopeId","data-v-c4d6d6ea"]]),ub=P({name:"WrapContainer",props:{theme:I.oneOf(["white","black"]).def("white"),showTab:I.bool.def(!1),activeKey:I.oneOf(["pure","gradient"]).def("pure")},emits:["update:activeKey","change"],setup(e,{emit:t}){const r=Ce({activeKey:e.activeKey}),n=gn(ja),o=a=>{r.activeKey=a,t("update:activeKey",a),t("change",a)};return fe(()=>e.activeKey,a=>{r.activeKey=a}),{state:r,onActiveKeyChange:o,lang:n==null?void 0:n.lang}}}),cb={class:"vc-colorpicker--container"},fb={key:0,class:"vc-colorpicker--tabs"},db={class:"vc-colorpicker--tabs__inner"},hb={class:"vc-btn__content"},vb={class:"vc-btn__content"};function pb(e,t,r,n,o,a){var s,i;return $(),V("div",{class:ue(["vc-colorpicker",e.theme])},[k("div",cb,[e.showTab?($(),V("div",fb,[k("div",db,[k("div",{class:ue(["vc-colorpicker--tabs__btn",{"vc-btn-active":e.state.activeKey==="pure"}]),onClick:t[0]||(t[0]=l=>e.onActiveKeyChange("pure"))},[k("button",null,[k("div",hb,Yt((s=e.lang)==null?void 0:s.pure),1)])],2),k("div",{class:ue(["vc-colorpicker--tabs__btn",{"vc-btn-active":e.state.activeKey==="gradient"}]),onClick:t[1]||(t[1]=l=>e.onActiveKeyChange("gradient"))},[k("button",null,[k("div",vb,Yt((i=e.lang)==null?void 0:i.gradient),1)])],2),k("div",{class:"vc-colorpicker--tabs__bg",style:ie({width:"50%",left:`calc(${e.state.activeKey==="gradient"?50:0}%)`})},null,4)])])):K("",!0),Ar(e.$slots,"default",{},void 0,!0)])],2)}const gb=je(ub,[["render",pb],["__scopeId","data-v-0492277d"]]),mb={start:"Start",end:"End",pure:"Pure",gradient:"Gradient",linear:"linear",radial:"radial"},yb={start:"开始",end:"结束",pure:"纯色",gradient:"渐变",linear:"线性",radial:"径向"},bb={En:mb,"ZH-cn":yb},Cb={isWidget:I.bool.def(!1),pickerType:I.oneOf(["fk","chrome"]).def("fk"),shape:I.oneOf(["circle","square"]).def("square"),pureColor:{type:[String,Object],default:"#000000"},gradientColor:I.string.def("linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 100%)"),format:{type:String,default:"rgb"},disableAlpha:I.bool.def(!1),disableHistory:I.bool.def(!1),roundHistory:I.bool.def(!1),useType:I.oneOf(["pure","gradient","both"]).def("pure"),activeKey:I.oneOf(["pure","gradient"]).def("pure"),lang:{type:String,default:"ZH-cn"},zIndex:I.number.def(9999),pickerContainer:{type:[String,HTMLElement],default:"body"},debounce:I.number.def(100),theme:I.oneOf(["white","black"]).def("white"),blurClose:I.bool.def(!1),defaultPopup:I.bool.def(!1)},wb=P({name:"ColorPicker",components:{FkColorPicker:uc,ChromeColorPicker:cc,GradientColorPicker:dc,WrapContainer:gb},inheritAttrs:!1,props:Cb,emits:["update:pureColor","pureColorChange","update:gradientColor","gradientColorChange","update:activeKey","activeKeyChange"],setup(e,{emit:t}){mn(ja,{lang:L(()=>bb[e.lang||"ZH-cn"])});const r=!!Ha().extra,n=Ce({pureColor:e.pureColor||"",activeKey:e.useType==="gradient"?"gradient":e.activeKey,isAdvanceMode:!1}),o=new ee("#000"),a=new ee("#000"),s=new ee(n.pureColor),i=Ce({startColor:o,endColor:a,startColorStop:0,endColorStop:100,angle:0,type:"linear",gradientColor:e.gradientColor}),l=M(s),c=M(e.defaultPopup),u=M(null),f=M(null);let d=null;const h=L(()=>({background:n.activeKey!=="gradient"?x(n.pureColor).toRgbString():i.gradientColor})),p=L(()=>n.activeKey==="gradient"?dc.name:e.pickerType==="fk"?uc.name:cc.name),m=b=>{n.isAdvanceMode=b},g=L(()=>{const b={disableAlpha:e.disableAlpha,disableHistory:e.disableHistory,roundHistory:e.roundHistory,pickerType:e.pickerType};return n.activeKey==="gradient"?{...b,startColor:i.startColor,endColor:i.endColor,angle:i.angle,type:i.type,startColorStop:i.startColorStop,endColorStop:i.endColorStop,onStartColorChange:A=>{i.startColor=A,_()},onEndColorChange:A=>{i.endColor=A,_()},onStartColorStopChange:A=>{i.startColorStop=A,_()},onEndColorStopChange:A=>{i.endColorStop=A,_()},onAngleChange:A=>{i.angle=A,_()},onTypeChange:A=>{i.type=A,_()},onAdvanceChange:m}:{...b,disableAlpha:e.disableAlpha,disableHistory:e.disableHistory,roundHistory:e.roundHistory,color:l.value,onChange:D,onAdvanceChange:m}}),y=()=>{c.value=!0,d?d.update():F()},v=()=>{c.value=!1},C=He(()=>{!e.isWidget&&e.blurClose&&v()},100);Bd(f,()=>{v()});const w=()=>{var b,A,q,U;try{const[G]=sl.parse(i.gradientColor);if(G&&G.type.includes("gradient")&&G.colorStops.length>=2){const X=G.colorStops[0],ce=G.colorStops[1];i.startColorStop=Number((b=X.length)==null?void 0:b.value)||0,i.endColorStop=Number((A=ce.length)==null?void 0:A.value)||0,G.type==="linear-gradient"&&((q=G.orientation)==null?void 0:q.type)==="angular"&&(i.angle=Number((U=G.orientation)==null?void 0:U.value)||0),i.type=G.type.split("-")[0];const[j,N,W,be]=X.value,[De,Ut,at,Ge]=ce.value;i.startColor=new ee({r:Number(j),g:Number(N),b:Number(W),a:Number(be)}),i.endColor=new ee({r:Number(De),g:Number(Ut),b:Number(at),a:Number(Ge)})}}catch(G){console.log(`[Parse Color]: ${G}`)}},_=He(()=>{const b=E();try{i.gradientColor=sl.stringify(b),t("update:gradientColor",i.gradientColor),t("gradientColorChange",i.gradientColor)}catch(A){console.log(A)}},e.debounce),E=()=>{const b=[],A=i.startColor.RGB.map(G=>G.toString()),q=i.endColor.RGB.map(G=>G.toString()),U=[{type:"rgba",value:[A[0],A[1],A[2],A[3]],length:{value:i.startColorStop+"",type:"%"}},{type:"rgba",value:[q[0],q[1],q[2],q[3]],length:{value:i.endColorStop+"",type:"%"}}];return i.type==="linear"?b.push({type:"linear-gradient",orientation:{type:"angular",value:i.angle+""},colorStops:U}):i.type==="radial"&&b.push({type:"radial-gradient",orientation:[{type:"shape",value:"circle"}],colorStops:U}),b},F=()=>{u.value&&f.value&&(d=xv(u.value,f.value,{placement:"auto",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{allowedAutoPlacements:["top","bottom","left","right"],rootBoundary:"viewport"}}]}))},D=b=>{l.value=b,n.pureColor=b.toString(e.format),B()},B=He(()=>{t("update:pureColor",n.pureColor),t("pureColorChange",n.pureColor)},e.debounce),R=b=>{n.activeKey=b,t("update:activeKey",b),t("activeKeyChange",b)};return ct(()=>{w(),d||F()}),fe(()=>e.gradientColor,b=>{b!=i.gradientColor&&(i.gradientColor=b)}),fe(()=>i.gradientColor,()=>{w()}),fe(()=>e.activeKey,b=>{n.activeKey=b}),fe(()=>e.useType,b=>{n.activeKey!=="gradient"&&b==="gradient"?n.activeKey="gradient":n.activeKey="pure"}),fe(()=>e.pureColor,b=>{x.equals(b,n.pureColor)||(n.pureColor=b,l.value=new ee(b))},{deep:!0}),{colorCubeRef:u,pickerRef:f,showPicker:c,colorInstance:l,getBgColorStyle:h,getComponentName:p,getBindArgs:g,state:n,hasExtra:r,onColorChange:D,onShowPicker:y,onActiveKeyChange:R,onAutoClose:C}}}),Sb={key:0,class:"vc-color-extra"},xb={key:0,class:"vc-color-extra"};function Ob(e,t,r,n,o,a){const s=T("WrapContainer");return $(),V(Ze,null,[e.isWidget?($(),te(s,{key:0,"active-key":e.state.activeKey,"onUpdate:activeKey":t[0]||(t[0]=i=>e.state.activeKey=i),"show-tab":e.useType==="both",style:ie({zIndex:e.zIndex}),theme:e.theme,onChange:e.onActiveKeyChange},{default:_r(()=>[($(),te(yn(e.getComponentName),ne({key:e.getComponentName},e.getBindArgs),null,16)),e.hasExtra?($(),V("div",Sb,[Ar(e.$slots,"extra",{},void 0,!0)])):K("",!0)]),_:3},8,["active-key","show-tab","style","theme","onChange"])):K("",!0),e.isWidget?K("",!0):($(),V(Ze,{key:1},[k("div",{class:ue(["vc-color-wrap transparent",{round:e.shape==="circle"}]),ref:"colorCubeRef"},[k("div",{class:"current-color",style:ie(e.getBgColorStyle),onClick:t[1]||(t[1]=(...i)=>e.onShowPicker&&e.onShowPicker(...i))},null,4)],2),($(),te(Ua,{to:e.pickerContainer},[zt(k("div",{ref:"pickerRef",style:ie({zIndex:e.zIndex}),onMouseleave:t[3]||(t[3]=(...i)=>e.onAutoClose&&e.onAutoClose(...i))},[e.showPicker?($(),te(s,{key:0,"show-tab":e.useType==="both"&&!e.state.isAdvanceMode,theme:e.theme,"active-key":e.state.activeKey,"onUpdate:activeKey":t[2]||(t[2]=i=>e.state.activeKey=i),onChange:e.onActiveKeyChange},{default:_r(()=>[($(),te(yn(e.getComponentName),ne({key:e.getComponentName},e.getBindArgs),null,16)),e.hasExtra?($(),V("div",xb,[Ar(e.$slots,"extra",{},void 0,!0)])):K("",!0)]),_:3},8,["show-tab","theme","active-key","onChange"])):K("",!0)],36),[[Tr,e.showPicker]])],8,["to"]))],64))],64)}const _b=je(wb,[["render",Ob],["__scopeId","data-v-354ca836"]]),kb={install(e){e.use(Tf),e.use(Rf),e.use(If),e.use(qf),e.use(Df),e.use(Gf),e.use(Uf),e.use(zf),e.use(Jf),e.use(td),e.use(od),e.use(ad),e.use(ld),e.use(fd),e.use(hd),e.use(md),e.use(yd),e.use(bd),e.use(jf),e.use(vd),e.use(id),e.use(sd),e.use(Lf),e.component("ColorPicker",_b)}},hc=P({name:"GctEditForm",props:{embed:{type:Boolean,default:!1},context:{type:Object,default:()=>({})},params:{type:Object,default:()=>({})},controller:{type:Object},model:{type:Object,required:!0},data:{type:Object}},emits:["update:data"],setup(e,{emit:t}){const r=H("gct-edit-form");if(!e.model)throw new Error("未传递表单模型配置");const n=e.controller||Ja(()=>new Za(e.model)),o=M(null),a=async()=>{try{await o.value.formRef.validate()}catch(i){return console.error(i),!1}return!0},s=async i=>{try{await o.value.formRef.validateFields(i)}catch(l){return console.error(l),!1}return!0};return n.validate=a,n.validateItem=s,pe(e.context,()=>{Object.assign(n.context,e.context),n.state.isNew=!n.context.id},{immediate:!0}),pe(e.params,()=>{Object.assign(n.params,e.params)}),Qa(async()=>{try{await o.value.formRef.validate();const i=await n.save();if(i)return{ok:!0,data:[On(i)]}}catch(i){console.error(i)}return{ok:!1}}),e.data?(Object.assign(n.state.data,e.data),n.loaded()):n.state.isNew!==!0?n.load().then(()=>{n.loaded()}):n.loaded(),e.embed&&n.evt.on("change",()=>{t("update:data",n.getData())}),{ns:r,c:n,formRef:o}},render(){let e=null;return(this.c.state.isNew||this.c.state.isNew==!1&&this.c.state.loaded)&&(e=S(T("gct-form"),{class:"h-full",ref:"formRef",model:this.model,c:this.c},null)),S("div",{class:this.ns.b()},[e])}}),Eb={install(e){e.component(hc.name,hc)}};function Ab(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const vc=P({name:"GctFormItem",props:{c:{type:Object,required:!0},formModel:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=H("gct-form-item"),r={};e.formModel.labelWidth&&(r[t.cssVarName("form-item-label-width")]=e.formModel.labelWidth),e.model.labelWidth&&(r[t.cssVarName("form-item-label-width")]=e.model.labelWidth),e.model.labelAlign&&(r[t.cssVarName("form-item-label-align")]=e.model.labelAlign),e.model.editorAlign&&(r[t.cssVarName("form-item-editor-align")]=e.model.editorAlign),e.model.width&&(r[t.cssVarName("form-item-width")]=e.model.width),e.model.margin&&(r.margin=e.model.margin),e.model.padding&&(r.padding=e.model.padding);const n=L(()=>{var a;return!!((a=e.model.rules)!=null&&a.find(s=>s.required))});return{ns:t,style:r,required:n,renderLabelTooltip:()=>e.model.labelTooltip?S(T("a-tooltip"),{class:t.e("label-tooltip"),placement:"topLeft",title:e.model.labelTooltip},{default:()=>[S("span",{class:"iconfont icon-assist ml5px text-[#bfbfbf]"},null)]}):null}},render(){const e=_gct.register.editor.get(ei.PREFIX+this.model.editor.type);if(!e)return console.error(`未找到表单项${this.model.name}的编辑器${this.model.editor.type}的适配器实例:`,this.model),null;const t=this.model.labelPosition||"left";let r=null;e?e.render?r=e.render(this.c.editorValue,this.c.data,this.model):e.component?r=bn(typeof e.component=="string"?T(e.component):e.component,{key:this.model.name,c:this.c,value:this.c.editorValue,itemModel:this.model,model:this.model.editor,data:this.c.data,disabled:this.c.state.disabled,readonly:this.c.state.readonly,keepalive:this.c.state.keepalive,visible:this.c.state.visible,class:[this.ns.e("editor"),this.ns.e(t),this.model.editor.class],style:this.model.editor.style,"onUpdate:value":o=>{this.c.editorValue=o}}):console.error(`未找到编辑器绘制组件:${this.model.name} - ${this.model.editor.type},请实现 component 或 render 方法`):console.error(`未找到编辑器适配器:${this.model.name} - ${this.model.editor.type}`),this.model.label&&t==="top"&&(r=[S("div",{class:[this.ns.e("label"),this.ns.em("label",t)]},[this.model.label,this.renderLabelTooltip()]),r]);const n={default:()=>r};return t==="left"&&this.model.label&&(n.label=()=>[S("span",null,[this.model.label]),this.renderLabelTooltip()]),S(T("a-form-item"),{key:this.c.model.name,colon:this.formModel.noColon===!0?!1:this.model.noColon!==!0,name:this.model.name,label:void 0,class:[this.ns.b(),this.ns.is("readonly",this.model.editor.readonly===!0),this.ns.is("required",this.required),this.ns.is("hidden",this.c.state.visible===!1),this.ns.is("hidden-label",!this.model.label),this.ns.m("label-"+t)],style:this.style,rules:this.c.state.visible===!0?this.model.rules:[],layout:"horizontal"},Ab(n)?n:{default:()=>[n]})}});function Tb(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const pc=P({name:"GctForm",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=H("gct-form");mn("formController",e.c);const r=M(null),n=e.c;Object.keys(n.item).forEach(c=>{const u=n.item[c];u.state=Ce(u.state)});const a=c=>S(T("gct-form-item"),{class:c.class,style:c.style,c:n.item[c.name],formModel:e.model,model:c},null),s=c=>{const u=n.provider[c.name];if(!u)return console.error(`未找到表单项适配器实例:${c.name}`,c),null;if(u)return bn(typeof u.component=="string"?T(u.component):u.component,{key:c.name,model:c,formModel:e.model,c:n.item[c.name],data:n.state.data,class:c.class,style:c.style},i(c.children||[]));console.error(`未找到表单容器适配器:${c.name} - ${c.type}`)},i=c=>{if(!c)return[];const u=[];return c.forEach(f=>{if(f.type==="hidden")return null;let d=null;const h=f;h.type==="container"||h.container?d=s(h):d=a(f),d&&u.push(d)}),u},l={};return e.model.labelWidth&&(l[t.cssVarName("form-item-label-width")]=e.model.labelWidth),{ns:t,formRef:r,staticStyle:l,renderItem:a,renderContainer:s,renderChildren:i}},render(){let e;return S(T("a-form"),{ref:"formRef",layout:this.model.layout,model:this.c.state.data,class:[this.ns.b(),this.ns.is("info",this.model.info===!0)],autocomplete:"off",style:this.staticStyle},Tb(e=this.model.children.map(t=>this.renderContainer(t)))?e:{default:()=>[e]})}});class Rb{constructor(){z(this,"component","gct-form-item")}createController(t,r){return Le(()=>new ti(t,r))}}class jb{constructor(){z(this,"component","gct-form-hidden-item")}createController(t,r){return Le(()=>new ri(t,r))}}class Pb{constructor(){z(this,"component","gct-form-collapse-pane")}createController(t,r){return Le(()=>new ni(t,r))}}function gc(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const mc=P({name:"GctFormCollapsePane",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=H("form-collapse-pane"),r={};function n(o){if(e.model.layout==="flex")return S(T("flex-container"),{layout:e.model.flex},gc(o)?o:{default:()=>[o]});if(e.model.layout==="grid")return S(T("grid-container"),{layout:e.model.grid},gc(o)?o:{default:()=>[o]});console.error("不支持的layout类型"+e.model.layout)}return e.model.width&&(r[t.cssVarName("form-collapse-pane-width")]=e.model.width),e.model.height&&(r[t.cssVarName("form-collapse-pane-height")]=e.model.height),{ns:t,style:r,renderContainer:n}},render(){var r,n;if(this.c.state.keepalive!==!0&&this.c.state.visible===!1)return null;const e=((n=(r=this.$slots).default)==null?void 0:n.call(r))||[],t=e[e.length-1];return t&&(t.props=ne(t.props||{},{class:this.ns.e("last-child")})),S("div",{class:[this.ns.b(),this.ns.is("hidden",this.c.state.visible===!1)],style:this.style},[this.renderContainer(e)])}}),$b={install(e){_gct.register.formItem.register("collapse-pane",()=>new Pb),e.component(mc.name,mc)}};class Ib{constructor(){z(this,"component","gct-form-collapse")}createController(t,r){return Le(()=>new oi(t,r))}}const yc=P({name:"GctFormCollapse",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){var s;const t=H("form-collapse"),r=M([0]),n={};e.model.width&&(n[t.cssVarName("form-collapse-width")]=e.model.width),e.model.height&&(n[t.cssVarName("form-collapse-height")]=e.model.height);const o=M([]);o.value=((s=e.model.children)==null?void 0:s.map(i=>i.name))||[];const a=L(()=>e.model.expandIconPosition==="left"?"left":"right");return{ns:t,keys:r,style:n,activeKeys:o,expandIconPosition:a}},render(){var t,r;if(this.c.state.keepalive!==!0&&this.c.state.visible===!1)return null;const e=((r=(t=this.$slots).default)==null?void 0:r.call(t))||[];return S(xn,{class:[this.ns.b(),this.ns.is("hidden",this.c.state.visible===!1),this.ns.m("icon-"+(this.model.expandIconStyle||"up-down"))],style:this.style,accordion:this.model.accordion,expandIconPosition:this.expandIconPosition,activeKey:this.activeKeys,"onUpdate:activeKey":n=>this.activeKeys=n},{default:()=>{var n;return[(n=this.model.children)==null?void 0:n.map((o,a)=>{if(e[a].props.c.state.visible===!1)return;const i=o.collapsible!==!1?void 0:"disabled";return S(xn.Panel,{key:o.name,header:o.title,collapsible:i},{default:()=>[e[a]]})})]}})}}),Fb={install(e){_gct.register.formItem.register("collapse",()=>new Ib),e.component(yc.name,yc)}};class Mb{constructor(){z(this,"component","gct-form-group")}createController(t,r){return Le(()=>new wn(t,r))}}function $a(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const bc=P({name:"GctFormGroup",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=H("gct-form-group"),r=M([0]);function n(a){if(e.model.layout==="flex")return S(T("flex-container"),{layout:e.model.flex},$a(a)?a:{default:()=>[a]});if(e.model.layout==="grid")return S(T("grid-container"),{layout:e.model.grid},$a(a)?a:{default:()=>[a]});console.error("不支持的layout类型"+e.model.layout)}const o={};return e.model.width&&(o[t.cssVarName("form-group-width")]=e.model.width),e.model.height&&(o[t.cssVarName("form-group-height")]=e.model.height),{ns:t,keys:r,style:o,renderContainer:n}},render(){var t,r;if(this.c.state.keepalive!==!0&&this.c.state.visible===!1)return null;const e=((r=(t=this.$slots).default)==null?void 0:r.call(t))||[];if(this.model.isCollapse){let n;return S(T("a-collapse"),{activeKey:this.keys,"onUpdate:activeKey":o=>this.keys=o,class:[this.ns.b(),this.ns.is("hidden-header",this.model.showHeader===!1),this.ns.is("hidden",this.c.state.visible===!1)],style:this.style,ghost:!0},{default:()=>[S(T("a-collapse-panel"),{key:"0",header:this.model.title},$a(n=this.renderContainer(e))?n:{default:()=>[n]})]})}return S("div",{class:[this.ns.b(),this.ns.is("hidden-header",this.model.showHeader===!1),this.ns.is("hidden",this.c.state.visible===!1)],style:this.style},[this.model.showHeader===!1?S("div",{class:this.ns.e("title")},[this.model.title]):null,S("div",{class:this.ns.e("content")},[this.renderContainer(e)])])}}),qb={install(e){_gct.register.formItem.register("container",()=>new Mb),e.component(bc.name,bc)}};class Bb{constructor(){z(this,"component","gct-form-tab")}createController(t,r){return Le(()=>new ai(t,r))}}const Cc=P({name:"GctFormTab",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=H("form-tab"),r={};return e.model.width&&(r[t.cssVarName("form-tab-width")]=e.model.width),e.model.height&&(r[t.cssVarName("form-tab-height")]=e.model.height),{ns:t,style:r}},render(){var t,r;if(this.c.state.keepalive!==!0&&this.c.state.visible===!1)return null;const e=((r=(t=this.$slots).default)==null?void 0:r.call(t))||[];return S(T("a-tabs"),{class:[this.ns.b(),this.ns.is("hidden",this.c.state.visible===!1),this.ns.m(this.model.navPosition||"left")],style:this.style},{default:()=>{var n;return[(n=this.model.children)==null?void 0:n.map((o,a)=>S(T("a-tab-pane"),{key:o.name,tab:o.title},{default:()=>[e[a]]}))]}})}}),Nb={install(e){_gct.register.formItem.register("tab",()=>new Bb),e.component(Cc.name,Cc)}};class Db{constructor(){z(this,"component","gct-form-tab-pane")}createController(t,r){return Le(()=>new ii(t,r))}}function wc(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const Sc=P({name:"GctFormTabPane",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=H("form-tab-pane"),r={};function n(o){if(e.model.layout==="flex")return S(T("flex-container"),{layout:e.model.flex},wc(o)?o:{default:()=>[o]});if(e.model.layout==="grid")return S(T("grid-container"),{layout:e.model.grid},wc(o)?o:{default:()=>[o]});console.error("不支持的layout类型"+e.model.layout)}return e.model.width&&(r[t.cssVarName("form-tab-pane-width")]=e.model.width),e.model.height&&(r[t.cssVarName("form-tab-pane-height")]=e.model.height),{ns:t,style:r,renderContainer:n}},render(){var t,r;if(this.c.state.keepalive!==!0&&this.c.state.visible===!1)return null;const e=((r=(t=this.$slots).default)==null?void 0:r.call(t))||[];return S("div",{class:[this.ns.b(),this.ns.is("hidden",this.c.state.visible===!1)],style:this.style},[this.renderContainer(e)])}}),Gb={install(e){_gct.register.formItem.register("tab-pane",()=>new Db),e.component(Sc.name,Sc)}};class Lb{constructor(){z(this,"component","gct-form-title-group")}createController(t,r){return Le(()=>new wn(t,r))}}function xc(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Fe(e)}const Oc=P({name:"GctFormTitleGroup",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=H("gct-form-title-group"),r=M([0]);function n(a){if(e.model.layout==="flex")return S(T("flex-container"),{layout:e.model.flex},xc(a)?a:{default:()=>[a]});if(e.model.layout==="grid")return S(T("grid-container"),{layout:e.model.grid},xc(a)?a:{default:()=>[a]});console.error("不支持的layout类型"+e.model.layout)}const o={};return e.model.width&&(o[t.cssVarName("form-title-group-width")]=e.model.width),e.model.height&&(o[t.cssVarName("form-title-group-height")]=e.model.height),{ns:t,keys:r,style:o,renderContainer:n}},render(){var t,r;if(this.c.state.keepalive!==!0&&this.c.state.visible===!1)return null;const e=((r=(t=this.$slots).default)==null?void 0:r.call(t))||[];return S("div",{class:[this.ns.b(),this.ns.is("hidden",this.c.state.visible===!1)],style:this.style},[S("div",{class:this.ns.e("title")},[this.model.title]),S("div",{class:this.ns.e("content")},[this.renderContainer(e)])])}}),Hb={install(e){_gct.register.formItem.register(li.FORM_TITLE_GROUP,()=>new Lb),e.component(Oc.name,Oc)}},Vb={install(e){_gct.register.formItem.register("item",()=>new Rb),_gct.register.formItem.register("hidden",()=>new jb),e.use($b),e.use(Fb),e.use(qb),e.use(Nb),e.use(Gb),e.use(Hb),e.component(pc.name,pc),e.component(vc.name,vc)}},t0=Xe("default",{install(e){e.use(kb),e.use(Eb),e.use(Vb),e.component(wi.name,wi),e.component(Si.name,Si),e.component(En.name,En),e.component(Oi.name,Oi),e.component(_i.name,_i)}})})}}));
1
+ System.register(["./index-CwxW5OnC.js"],(function(t,r){"use strict";return{setters:[n=>{t({AssetsSvgIcon:n.A,BaseButton:n.b,BasicButton:n.c,BasicModal:n.B,CodeEditor:n.d,CopyModuleKey:n.e,DoubleInput:n.f,FlexContainer:n.h,FlexItem:n.i,GCT_DND_INSERT_POS:n.G,GctDndContainer:n.j,GctDndDropLine:n.k,GctDndItem:n.l,GridContainer:n.n,Lang:n.L,MessageUtil:n.M,MonacoEditor:n.o,OverlayController:n.O,Prop:n.P,SvgIcon:n.p,Theme:n.T,UseDragByLine:n.q,ViewContainer:n.V,WUJIE_FORMULA_EVENTS:n.W,WuJieContainer:n.r,coreWebCreateAppVue:n.s,coreWebSetupApp:n.t,monacoLoader:n.m,openFormulaEditor:n.u,overlay:n.v,useEditorConsole:n.w,useEditorConsoleInner:n.x,useLocale:n.y,useModal:n.z,useModalContext:n.E,useModalInner:n.H,useTheme:n.I,withInstall:n.J})}],execute:(function(){})}}));