@gct-paas/core-web 0.1.4-dev.1 → 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 (357) 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 +8 -7
  82. package/es/index.mjs +40 -24
  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 -1
  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.mjs +0 -1
  178. package/es/widgets/gct-edit-form/gct-edit-form.d.ts +1 -1
  179. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.d.ts +1 -1
  180. package/package.json +26 -13
  181. package/dist/core-web.css +0 -1
  182. package/es/_virtual/_commonjsHelpers.mjs +0 -44
  183. package/es/_virtual/node.mjs +0 -7
  184. package/es/_virtual/node2.mjs +0 -3
  185. package/es/components/code-editor/code-editor.scss +0 -3
  186. package/es/components/layout/flex-container/flex-container.scss +0 -3
  187. package/es/components/layout/flex-item/flex-item.scss +0 -17
  188. package/es/components/layout/view-container/view-container.scss +0 -19
  189. package/es/editor/gct-form-check-switch/gct-form-check-switch.mjs +0 -53
  190. package/es/editor/gct-form-check-switch/gct-form-check-switch.provider.mjs +0 -6
  191. package/es/editor/gct-form-check-switch/gct-form-check-switch.scss +0 -10
  192. package/es/editor/gct-form-check-switch/index.mjs +0 -12
  193. package/es/editor/gct-form-checkbox/gct-form-checkbox.mjs +0 -70
  194. package/es/editor/gct-form-checkbox/gct-form-checkbox.scss +0 -56
  195. package/es/editor/gct-form-checkbox/index.mjs +0 -19
  196. package/es/editor/gct-form-color/gct-form-color.mjs +0 -45
  197. package/es/editor/gct-form-color/gct-form-color.provider.mjs +0 -6
  198. package/es/editor/gct-form-color/gct-form-color.scss +0 -3
  199. package/es/editor/gct-form-color/index.mjs +0 -17
  200. package/es/editor/gct-form-field-select/gct-form-field-select.mjs +0 -48
  201. package/es/editor/gct-form-field-select/gct-form-field-select.provider.mjs +0 -6
  202. package/es/editor/gct-form-field-select/gct-form-field-select.scss +0 -7
  203. package/es/editor/gct-form-field-select/gct-model-select.vue +0 -70
  204. package/es/editor/gct-form-field-select/index.mjs +0 -12
  205. package/es/editor/gct-form-i18n/gct-form-i18n.mjs +0 -62
  206. package/es/editor/gct-form-i18n/gct-form-i18n.provider.mjs +0 -6
  207. package/es/editor/gct-form-i18n/index.mjs +0 -12
  208. package/es/editor/gct-form-icon-select/gct-form-icon-select.mjs +0 -74
  209. package/es/editor/gct-form-icon-select/gct-form-icon-select.scss +0 -14
  210. package/es/editor/gct-form-icon-select/index.mjs +0 -14
  211. package/es/editor/gct-form-info/gct-form-info.mjs +0 -40
  212. package/es/editor/gct-form-info/gct-form-info.scss +0 -8
  213. package/es/editor/gct-form-info/index.mjs +0 -14
  214. package/es/editor/gct-form-length-unit/gct-form-length-unit.mjs +0 -43
  215. package/es/editor/gct-form-length-unit/gct-form-length-unit.provider.mjs +0 -6
  216. package/es/editor/gct-form-length-unit/index.mjs +0 -12
  217. package/es/editor/gct-form-modal-select/gct-form-modal-select.mjs +0 -99
  218. package/es/editor/gct-form-modal-select/gct-form-modal-select.provider.mjs +0 -6
  219. package/es/editor/gct-form-modal-select/gct-form-modal-select.scss +0 -7
  220. package/es/editor/gct-form-modal-select/index.mjs +0 -12
  221. package/es/editor/gct-form-number/gct-form-number.mjs +0 -44
  222. package/es/editor/gct-form-number/gct-form-number.provider.mjs +0 -6
  223. package/es/editor/gct-form-number/gct-form-number.scss +0 -3
  224. package/es/editor/gct-form-number/index.mjs +0 -17
  225. package/es/editor/gct-form-picker/gct-form-picker.mjs +0 -92
  226. package/es/editor/gct-form-picker/gct-form-picker.provider.mjs +0 -6
  227. package/es/editor/gct-form-picker/index.mjs +0 -12
  228. package/es/editor/gct-form-radio/gct-form-radio.mjs +0 -70
  229. package/es/editor/gct-form-radio/gct-form-radio.scss +0 -68
  230. package/es/editor/gct-form-radio/index.mjs +0 -19
  231. package/es/editor/gct-form-select/gct-form-select.mjs +0 -50
  232. package/es/editor/gct-form-select/gct-form-select.provider.mjs +0 -6
  233. package/es/editor/gct-form-select/index.mjs +0 -12
  234. package/es/editor/gct-form-span/gct-form-span.mjs +0 -89
  235. package/es/editor/gct-form-span/gct-form-span.provider.mjs +0 -6
  236. package/es/editor/gct-form-span/gct-form-span.scss +0 -10
  237. package/es/editor/gct-form-span/index.mjs +0 -12
  238. package/es/editor/gct-form-switch/gct-form-switch.mjs +0 -35
  239. package/es/editor/gct-form-switch/gct-form-switch.provider.mjs +0 -6
  240. package/es/editor/gct-form-switch/index.mjs +0 -17
  241. package/es/editor/gct-form-text/gct-form-text.mjs +0 -45
  242. package/es/editor/gct-form-text/gct-form-text.provider.mjs +0 -6
  243. package/es/editor/gct-form-text/index.mjs +0 -17
  244. package/es/editor/gct-form-textarea/gct-form-textarea.mjs +0 -40
  245. package/es/editor/gct-form-textarea/gct-form-textarea.provider.mjs +0 -6
  246. package/es/editor/gct-form-textarea/index.mjs +0 -12
  247. package/es/editor/index.mjs +0 -51
  248. package/es/node_modules/.pnpm/@aesoper_normal-utils@0.1.5/node_modules/@aesoper/normal-utils/NormalUtils.es.mjs +0 -3
  249. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/_virtual/_rollupPluginBabelHelpers.mjs +0 -142
  250. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/config/index.mjs +0 -7
  251. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/index.mjs +0 -1
  252. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/loader/index.mjs +0 -188
  253. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/compose.mjs +0 -13
  254. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/curry.mjs +0 -19
  255. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/deepMerge.mjs +0 -14
  256. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/isObject.mjs +0 -5
  257. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/utils/makeCancelable.mjs +0 -20
  258. package/es/node_modules/.pnpm/@monaco-editor_loader@1.5.0/node_modules/@monaco-editor/loader/lib/es/validators/index.mjs +0 -49
  259. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/createPopper.mjs +0 -200
  260. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/contains.mjs +0 -26
  261. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.mjs +0 -44
  262. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.mjs +0 -72
  263. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.mjs +0 -60
  264. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.mjs +0 -7
  265. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.mjs +0 -9
  266. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.mjs +0 -32
  267. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.mjs +0 -8
  268. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.mjs +0 -28
  269. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeName.mjs +0 -5
  270. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.mjs +0 -14
  271. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.mjs +0 -71
  272. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getParentNode.mjs +0 -22
  273. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.mjs +0 -19
  274. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.mjs +0 -34
  275. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindow.mjs +0 -14
  276. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.mjs +0 -13
  277. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.mjs +0 -16
  278. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/instanceOf.mjs +0 -23
  279. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.mjs +0 -7
  280. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.mjs +0 -13
  281. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/isTableElement.mjs +0 -7
  282. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.mjs +0 -29
  283. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/enums.mjs +0 -33
  284. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/index.mjs +0 -5
  285. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/applyStyles.mjs +0 -87
  286. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/arrow.mjs +0 -92
  287. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/computeStyles.mjs +0 -171
  288. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/eventListeners.mjs +0 -51
  289. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/flip.mjs +0 -149
  290. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/hide.mjs +0 -63
  291. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/index.mjs +0 -9
  292. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/offset.mjs +0 -56
  293. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/popperOffsets.mjs +0 -27
  294. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/modifiers/preventOverflow.mjs +0 -144
  295. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper-lite.mjs +0 -12
  296. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/popper.mjs +0 -19
  297. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.mjs +0 -46
  298. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/computeOffsets.mjs +0 -73
  299. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/debounce.mjs +0 -17
  300. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/detectOverflow.mjs +0 -67
  301. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/expandToHashMap.mjs +0 -8
  302. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getAltAxis.mjs +0 -5
  303. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getBasePlacement.mjs +0 -7
  304. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getFreshSideObject.mjs +0 -10
  305. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.mjs +0 -5
  306. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositePlacement.mjs +0 -13
  307. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.mjs +0 -11
  308. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/getVariation.mjs +0 -5
  309. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/math.mjs +0 -5
  310. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergeByName.mjs +0 -16
  311. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/mergePaddingObject.mjs +0 -7
  312. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/orderModifiers.mjs +0 -46
  313. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/rectToClientRect.mjs +0 -10
  314. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/userAgent.mjs +0 -13
  315. package/es/node_modules/.pnpm/@popperjs_core@2.11.8/node_modules/@popperjs/core/lib/utils/within.mjs +0 -11
  316. package/es/node_modules/.pnpm/@vueuse_core@13.7.0_vue@3.5.18_typescript@5.9.2_/node_modules/@vueuse/core/index.mjs +0 -8285
  317. package/es/node_modules/.pnpm/@vueuse_shared@13.7.0_vue@3.5.18_typescript@5.9.2_/node_modules/@vueuse/shared/index.mjs +0 -1641
  318. package/es/node_modules/.pnpm/gradient-parser@1.0.2/node_modules/gradient-parser/build/node.mjs +0 -528
  319. package/es/node_modules/.pnpm/state-local@1.0.7/node_modules/state-local/lib/es/state-local.mjs +0 -193
  320. package/es/node_modules/.pnpm/tinycolor2@1.6.0/node_modules/tinycolor2/esm/tinycolor.mjs +0 -1180
  321. package/es/node_modules/.pnpm/vue-types@3.0.2_vue@3.5.18_typescript@5.9.2_/node_modules/vue-types/dist/vue-types.m.mjs +0 -3
  322. package/es/node_modules/.pnpm/vue3-colorpicker@2.3.0_@aesoper_normal-utils@0.1.5_@popperjs_core@2.11.8_@vueuse_core@1_c6850a6c65df63e96440af393dfce213/node_modules/vue3-colorpicker/index.es.mjs +0 -1815
  323. package/es/utils/index.mjs +0 -3
  324. package/es/vite-env.d.ts +0 -1
  325. package/es/widgets/gct-edit-form/gct-edit-form.mjs +0 -126
  326. package/es/widgets/gct-edit-form/index.mjs +0 -10
  327. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.mjs +0 -73
  328. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.provider.mjs +0 -11
  329. package/es/widgets/gct-form/gct-form-collapse/gct-form-collapse.scss +0 -62
  330. package/es/widgets/gct-form/gct-form-collapse/index.mjs +0 -15
  331. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.mjs +0 -71
  332. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.provider.mjs +0 -13
  333. package/es/widgets/gct-form/gct-form-collapse-pane/gct-form-collapse-pane.scss +0 -23
  334. package/es/widgets/gct-form/gct-form-collapse-pane/index.mjs +0 -15
  335. package/es/widgets/gct-form/gct-form-group/gct-form-group.mjs +0 -88
  336. package/es/widgets/gct-form/gct-form-group/gct-form-group.provider.mjs +0 -11
  337. package/es/widgets/gct-form/gct-form-group/gct-form-group.scss +0 -28
  338. package/es/widgets/gct-form/gct-form-group/index.mjs +0 -15
  339. package/es/widgets/gct-form/gct-form-hidden-item/gct-form-hidden-item.provider.mjs +0 -13
  340. package/es/widgets/gct-form/gct-form-item/gct-form-item.mjs +0 -141
  341. package/es/widgets/gct-form/gct-form-item/gct-form-item.provider.mjs +0 -11
  342. package/es/widgets/gct-form/gct-form-item/gct-form-item.scss +0 -115
  343. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.mjs +0 -53
  344. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.provider.mjs +0 -11
  345. package/es/widgets/gct-form/gct-form-tab/gct-form-tab.scss +0 -63
  346. package/es/widgets/gct-form/gct-form-tab/index.mjs +0 -12
  347. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.mjs +0 -65
  348. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.provider.mjs +0 -11
  349. package/es/widgets/gct-form/gct-form-tab-pane/gct-form-tab-pane.scss +0 -16
  350. package/es/widgets/gct-form/gct-form-tab-pane/index.mjs +0 -15
  351. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.mjs +0 -71
  352. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.provider.mjs +0 -11
  353. package/es/widgets/gct-form/gct-form-title-group/gct-form-title-group.scss +0 -25
  354. package/es/widgets/gct-form/gct-form-title-group/index.mjs +0 -16
  355. package/es/widgets/gct-form/gct-form.mjs +0 -110
  356. package/es/widgets/gct-form/gct-form.scss +0 -11
  357. 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 o0=Object.defineProperty;var a0=(He,Qe,$)=>Qe in He?o0(He,Qe,{enumerable:!0,configurable:!0,writable:!0,value:$}):He[Qe]=$;var Y=(He,Qe,$)=>a0(He,typeof Qe!="symbol"?Qe+"":Qe,$);System.register(["vue","@gct-paas/core","ant-design-vue","lodash-es"],(function(He,Qe){"use strict";var $,S,G,B,Kt,Ba,Me,T,ne,ve,te,I,kr,E,Er,Da,zt,Ar,et,Ga,ge,La,Ha,gn,Va,Ua,Wa,Ka,we,mn,yn,za,U,ue,ie,tt,kt,z,Yt,Ya,Xt,Tr,Rr,ut,ct,bn,Xa,Cn,V,Ja,Za,Se,J,le,ft,wn,Qa,ei,ti,ri,ni,oi,ai,Ve,ii,li,si,ui,Sn,ci,fi,di,hi,xn,vi,pi,On,_n,Jt;return{setters:[x=>{$=x.defineComponent,S=x.createVNode,G=x.computed,B=x.ref,Kt=x.onMounted,Ba=x.onUnmounted,Me=x.isVNode,T=x.resolveComponent,ne=x.mergeProps,ve=x.watch,te=x.createBlock,I=x.openBlock,kr=x.withCtx,E=x.createElementVNode,Er=x.createTextVNode,Da=x.toRefs,zt=x.nextTick,Ar=x.getCurrentInstance,et=x.shallowRef,Ga=x.shallowReadonly,ge=x.toValue,La=x.getCurrentScope,Ha=x.onScopeDispose,gn=x.readonly,Va=x.toRef,Ua=x.customRef,Wa=x.unref,Ka=x.toRaw,we=x.reactive,mn=x.inject,yn=x.provide,za=x.useSlots,U=x.createElementBlock,ue=x.normalizeClass,ie=x.normalizeStyle,tt=x.Fragment,kt=x.renderList,z=x.createCommentVNode,Yt=x.withDirectives,Ya=x.vModelText,Xt=x.toDisplayString,Tr=x.renderSlot,Rr=x.vShow,ut=x.pushScopeId,ct=x.popScopeId,bn=x.resolveDynamicComponent,Xa=x.Teleport,Cn=x.h},x=>{V=x.useNamespace,Ja=x.deepMerge,Za=x.LengthUnitEditorController,Se=x.useGctFormValue,J=x.widthEditorInstall,le=x.EditorTypeOld,ft=x.EditorType,wn=x.EditorController,Qa=x.useForm,ei=x.useCopyToClipboard,ti=x.useGctFormValueByText,ri=x.useEditFormController,ni=x.EditFormController,oi=x.useModal,ai=x.EditorRegisterConst,Ve=x.useFormItemController,ii=x.FormItemController,li=x.FormHiddenItemController,si=x.FormCollapsePaneController,ui=x.FormCollapseController,Sn=x.FormGroupController,ci=x.FormTabController,fi=x.FormTabPaneController,di=x.FormContainerType},x=>{hi=x.message,xn=x.RadioGroup,vi=x.RadioButton,pi=x.CheckboxGroup,On=x.Collapse},x=>{_n=x.cloneDeep,Jt=x.merge}],execute:(function(){function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gi(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 mi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gi(Object(r),!0).forEach(function(n){x(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Bc(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 Dc(e,t){if(e==null)return{};var r=Bc(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 Gc(e,t){return Lc(e)||Hc(e,t)||Vc(e,t)||Uc()}function Lc(e){if(Array.isArray(e))return e}function Hc(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 Vc(e,t){if(e){if(typeof e=="string")return yi(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 yi(e,t)}}function yi(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 Uc(){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 Wc=require("../internals/export"),Kc=require("../internals/array-includes").includes,zc=require("../internals/fails"),Yc=require("../internals/add-to-unscopables"),Xc=zc(function(){return!Array(1).includes()});Wc({target:"Array",proto:!0,forced:Xc},{includes:function(t){return Kc(this,t,arguments.length>1?arguments[1]:void 0)}}),Yc("includes");function Jc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bi(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 Ci(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bi(Object(r),!0).forEach(function(n){Jc(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bi(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Zc(){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 Zt(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 jr(e){return{}.toString.call(e).includes("Object")}function Qc(e){return!Object.keys(e).length}function Qt(e){return typeof e=="function"}function ef(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function tf(e,t){return jr(t)||rt("changeType"),Object.keys(t).some(function(r){return!ef(e,r)})&&rt("changeField"),t}function rf(e){Qt(e)||rt("selectorType")}function nf(e){Qt(e)||jr(e)||rt("handlerType"),jr(e)&&Object.values(e).some(function(t){return!Qt(t)})&&rt("handlersType")}function of(e){e||rt("initialIsRequired"),jr(e)||rt("initialType"),Qc(e)&&rt("initialContent")}function af(e,t){throw new Error(e[t]||e.default)}var lf={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"},rt=Zt(af)(lf),Pr={changes:tf,selector:rf,handler:nf,initial:of};function sf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Pr.initial(e),Pr.handler(t);var r={current:e},n=Zt(ff)(r,t),o=Zt(cf)(r),a=Zt(Pr.changes)(e),s=Zt(uf)(r);function i(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(u){return u};return Pr.selector(c),c(r.current)}function l(c){Zc(n,o,a,s)(c)}return[i,l]}function uf(e,t){return Qt(t)?t(e.current):t}function cf(e,t){return e.current=Ci(Ci({},e.current),t),t}function ff(e,t,r){return Qt(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 df={create:sf},hf={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.52.2/min/vs"}};function vf(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 pf(e){return{}.toString.call(e).includes("Object")}function gf(e){return e||Si("configIsRequired"),pf(e)||Si("configType"),e.urls?(mf(),{paths:{vs:e.urls.monacoBase}}):e}function mf(){console.warn(wi.deprecation)}function yf(e,t){throw new Error(e[t]||e.default)}var wi={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
- `},Si=vf(yf)(wi),bf={config:gf},Cf=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 xi(e,t){return Object.keys(t).forEach(function(r){t[r]instanceof Object&&e[r]&&Object.assign(t[r],xi(e[r],t[r]))}),mi(mi({},e),t)}var wf={type:"cancelation",msg:"operation is manually canceled"};function kn(e){var t=!1,r=new Promise(function(n,o){e.then(function(a){return t?o(wf):n(a)}),e.catch(o)});return r.cancel=function(){return t=!0},r}var Sf=df.create({config:hf,isInitialized:!1,resolve:null,reject:null,monaco:null}),Oi=Gc(Sf,2),er=Oi[0],$r=Oi[1];function xf(e){var t=bf.config(e),r=t.monaco,n=Dc(t,["monaco"]);$r(function(o){return{config:xi(o.config,n),monaco:r}})}function Of(){var e=er(function(t){var r=t.monaco,n=t.isInitialized,o=t.resolve;return{monaco:r,isInitialized:n,resolve:o}});if(!e.isInitialized){if($r({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),kn(En);if(window.monaco&&window.monaco.editor)return _i(window.monaco),e.resolve(window.monaco),kn(En);Cf(_f,Ef)(Af)}return kn(En)}function _f(e){return document.body.appendChild(e)}function kf(e){var t=document.createElement("script");return e&&(t.src=e),t}function Ef(e){var t=er(function(n){var o=n.config,a=n.reject;return{config:o,reject:a}}),r=kf("".concat(t.config.paths.vs,"/loader.js"));return r.onload=function(){return e()},r.onerror=t.reject,r}function Af(){var e=er(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){_i(r),e.resolve(r)},function(r){e.reject(r)})}function _i(e){er().monaco||$r({monaco:e})}function Tf(){return er(function(e){var t=e.monaco;return t})}var En=new Promise(function(e,t){return $r({resolve:e,reject:t})}),Rf={config:xf,init:Of,__getMonacoInstance:Tf};const ki=He("CodeEditor",$({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=V("code-editor"),n=G({get(){return e.value||""},set(s){t("update:value",s)}}),o=B(null);let a=null;return Kt(()=>{Rf.init().then(s=>{o.value&&(a=s.editor.create(o.value,Ja({value:n.value,language:e.language,automaticLayout:!0,minimap:{enabled:!1}},e.config)),a.onDidBlurEditorText(()=>{n.value=a.getValue()}))})}),Ba(()=>{a==null||a.dispose()}),{ns:r,el:o}},render(){return S("div",{ref:"el",class:this.ns.b()},null)}})),An=$({name:"FlexItem",props:{layout:Object},setup(e){return{ns:V("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 jf(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Ei=$({name:"FlexContainer",props:{layout:Object},setup(e){return{ns:V("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(An,{layout:o,style:this.getItemStyle(n.props.model)},jf(n)?n:{default:()=>[n]})})])}});function Ai(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Ti=$({name:"GridContainer",props:{layout:Object},setup(){return{ns:V("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},Ai(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},Ai(a)?a:{default:()=>[a]})}))?e:{default:()=>[e]})}}),Ri=$({name:"ViewContainer",props:{context:{type:Object},params:{type:Object},modal:{type:Object,required:!0}},setup(){return{ns:V("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])}}),Pf=$({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=V("form-length-unit"),r=new Za(e.model),n=Se();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 $f{constructor(){Y(this,"component","gct-form-length-unit")}}const If=J(le.LENGTH_UNIT,()=>new $f,Pf),ji=$({name:"GctFormColor",inheritAttrs:!1,props:{itemModel:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String}},emits:["update:value"],setup(){const e=V("form-color"),t=Se();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 Pi{constructor(){Y(this,"component","gct-form-color")}}const Ff=J(ft.COLOR,()=>new Pi,ji),Mf=J(le.COLOR,()=>new Pi,ji);class qf{constructor(){Y(this,"component","gct-form-check-switch")}}const Nf=$({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=V("gct-form-check-switch"),r=new wn(e.model),n=Se();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]})}}),Bf=J(le.CHECK_SWITCH,()=>new qf,Nf);class Df{constructor(){Y(this,"component","gct-form-i18n")}}const Gf=$({name:"GctFormI18n",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=V("gct-form-i18n"),r=Qa().item.i18nConfig,n=Se(),o=G({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)}}),Lf=J(le.I18N,()=>new Df,Gf),Hf=$({name:"GctFormIconSelect",props:{value:{type:Object},model:{type:Object,required:!0}},emits:["update:value"],setup(e,{emit:t}){var l,c,u;const r=V("gct-form-icon-select"),n=B(e.value),o=B(((l=n.value)==null?void 0:l.icon)||e.model.defaultIcon),a=B(((c=n.value)==null?void 0:c.color)||e.model.defaultColor),s=B(((u=n.value)==null?void 0:u.background)||e.model.defaultBackground);ve(()=>e.value,f=>{n.value=f,f&&(o.value=f.icon,a.value=f.color)}),ve([o,a,s],()=>{n.value={icon:o.value,color:a.value},t("update:value",n.value)});const i=G(()=>{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 Vf=class{constructor(){Y(this,"component","gct-form-icon-select")}};const Uf=J(le.ICON_SELECT,()=>new Vf,Hf);class $i{constructor(){Y(this,"component","gct-form-number")}}const Ii=$({name:"GctFormNumber",props:{model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=V("gct-form-number"),t=Se();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)}}),Wf=J(ft.NUMBER,()=>new $i,Ii),Kf=J(le.NUMBER,()=>new $i,Ii);class zf{constructor(){Y(this,"component","gct-form-picker")}}const Yf=$({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=V("gct-form-picker"),n=G({get(){return e.model.nameField?e.c.data[e.model.nameField]:""},set(i){e.model.nameField&&(e.c.data[e.model.nameField]=i)}}),o=G({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)}}),Xf=J(le.PICKER,()=>new zf,Yf);class Jf{constructor(){Y(this,"component","gct-form-select")}}const Zf=$({name:"GctFormSelect",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(e){const t=V("gct-form-select"),r=Se(),n=G(()=>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)}}),Qf=J(le.SELECT,()=>new Jf,Zf);class ed{constructor(){Y(this,"component","gct-form-Modal-select")}}const td=$({name:"GctFormModalSelect",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=V("gct-form-modal-select"),t=B("1"),r=Se(),n=G({get(){return r.value||void 0},set(a){r.value=a}}),o=G(()=>[{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)]})}}),rd=J(le.MODEL_SELECT,()=>new ed,td);class nd{constructor(){Y(this,"component","gct-form-field-select")}}const od={class:"gct-box"},Fi=((e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r})($({__name:"gct-model-select",props:{value:{type:Boolean}},emits:["update:value"],setup(e,{emit:t}){const r=e,n=t,o=G({get(){return r.value},set(c){n("update:value",c)}}),a=B([{key:0,title:"公司名称"},{key:1,title:"ID"},{key:2,title:"创建人"},{key:3,title:"创建部门"},{key:4,title:"修改时间"},{key:5,title:"修改人"},{key:6,title:"修改部门"}]),s=B([]),i=(c,u)=>{console.log()};function l(){o.value=!1}return(c,u)=>{const f=T("a-transfer"),d=T("a-modal");return I(),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:kr(()=>[u[2]||(u[2]=E("div",null,"所属模型:公司",-1)),E("div",od,[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,__:[2]},8,["visible"])}}}),[["__scopeId","data-v-bff0c27a"]]),ad=$({name:"GctFormFieldSelect",components:{modal:Fi},props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=V("gct-form-field-select"),t=B(!1);return{ns:e,visible:t}},render(){return S("div",null,[S(T("a-button"),{onClick:()=>this.visible=!0,block:!0},{default:()=>[Er("选择模型字段")]}),S(Fi,{value:this.visible,"onUpdate:value":e=>this.visible=e},null)])}}),id=J(le.Field_SELECT,()=>new nd,ad);class ld{constructor(){Y(this,"component","gct-form-span")}}const sd=$({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=V("form-span"),{model:r,itemModel:n,c:o}=Da(e);function a(){const{isSuccessRef:i}=ei(e.value);i.value&&hi.success(_gct.t("sys.copySuccess"))}o.value.loadDictionary();const s=G(()=>{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)])])}}),ud=J(le.SPAN,()=>new ld,sd);class Mi{constructor(){Y(this,"component","gct-form-switch")}}const qi=$({name:"GctFormSwitch",props:{model:{type:Object,required:!0},value:{type:String,default:""}},setup(){const e=V("gct-form-switch"),t=Se();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)])}}),cd=J(ft.SWITCH,()=>new Mi,qi),fd=J(le.SWITCH,()=>new Mi,qi);class Ni{constructor(){Y(this,"component","gct-form-text")}}const Bi=$({name:"GctFormText",props:{model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(e){const t=V("gct-form-text"),r=new wn(e.model),n=ti(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)}}),dd=J(ft.TEXT,()=>new Ni,Bi),hd=J(le.TEXT,()=>new Ni,Bi);class vd{constructor(){Y(this,"component","gct-form-textarea")}}const pd=$({name:"GctFormTextarea",props:{model:{type:Object,required:!0},value:{type:String,default:null}},emits:["update:value"],setup(){const e=V("gct-form-textarea"),t=Se();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)}}),gd=J(le.TEXTAREA,()=>new vd,pd);function md(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Di=$({name:"GctFormRadio",props:{c:{type:Object,required:!0},model:{type:Object,required:!0},value:{type:String,default:""}},emits:["update:value"],setup(){const e=V("gct-form-radio"),t=Se();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(xn,ne({value:this.val,"onUpdate:value":r=>this.val=r,size:"small","button-style":"solid"},e),md(t=this.c.state.options.map(r=>S(vi,{key:r.value,value:r.value},{default:()=>[r.label]})))?t:{default:()=>[t]})}return e.class.push(this.ns.m("radio")),S(xn,ne({value:this.val,"onUpdate:value":t=>this.val=t,options:this.c.state.options},e),null)}});let Gi=class{constructor(){Y(this,"component","gct-form-radio")}};const yd=J(ft.RADIO,()=>new Gi,Di),bd=J(le.RADIO,()=>new Gi,Di),Cd=$({name:"GctFormInfo",props:{value:{type:String,default:""},model:{type:Object,required:!0}},emits:["update:value"],setup(){const e=V("gct-form-info"),t=Se();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 wd=class{constructor(){Y(this,"component","gct-form-info")}};const Sd=J(le.INFO,()=>new wd,Cd),Li=$({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=V("gct-form-checkbox"),n=Se(),o=G(()=>n.value),a=G(()=>_n(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(pi,ne({value:this.checked,"onUpdate:value":t=>this.checked=t,options:this.options},e,{onChange:this.onChange}),null)}});class Hi{constructor(){Y(this,"component","gct-form-checkbox")}}const xd=J(ft.CHECKBOX,()=>new Hi,Li),Od=J(le.CHECKBOX,()=>new Hi,Li);var Vi=require("../internals/global-this"),Ui=require("../internals/function-call"),Tn=require("../internals/array-buffer-view-core"),_d=require("../internals/length-of-array-like"),kd=require("../internals/to-offset"),Ed=require("../internals/to-object"),Wi=require("../internals/fails"),Ad=Vi.RangeError,Rn=Vi.Int8Array,Ki=Rn&&Rn.prototype,zi=Ki&&Ki.set,Td=Tn.aTypedArray,Rd=Tn.exportTypedArrayMethod,jn=!Wi(function(){var e=new Uint8ClampedArray(2);return Ui(zi,e,{length:1,0:3},1),e[1]!==3}),jd=jn&&Tn.NATIVE_ARRAY_BUFFER_VIEWS&&Wi(function(){var e=new Rn(2);return e.set(1),e.set("2",1),e[0]!==0||e[1]!==2});Rd("set",function(t){Td(this);var r=kd(arguments.length>1?arguments[1]:void 0,1),n=Ed(t);if(jn)return Ui(zi,this,n,r);var o=this.length,a=_d(n),s=0;if(a+r>o)throw new Ad("Wrong length");for(;s<a;)this[r+s]=n[s++]},!jn||jd);function Yi(e){return La()?(Ha(e),!0):!1}const Ir=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Pd=Object.prototype.toString,$d=e=>Pd.call(e)==="[object Object]",Ue=()=>{},Id=Fd();function Fd(){var e,t;return Ir&&((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 Md(...e){if(e.length!==1)return Va(...e);const t=e[0];return typeof t=="function"?gn(Ua(()=>({get:t,set:Ue}))):B(t)}function Xi(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 Ji=e=>e();function qd(e,t={}){let r,n,o=Ue;const a=l=>{clearTimeout(l),o(),o=Ue};let s;return l=>{const c=ge(e),u=ge(t.maxWait);return r&&a(r),c<=0||u!==void 0&&u<=0?(n&&(a(n),n=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=l,u&&!n&&(n=setTimeout(()=>{r&&a(r),n=void 0,f(s())},u)),r=setTimeout(()=>{n&&a(n),n=void 0,f(l())},c)})}}function Nd(e=Ji,t={}){const{initialState:r="active"}=t,n=Md(r==="active");function o(){n.value=!1}function a(){n.value=!0}const s=(...i)=>{n.value&&e(...i)};return{isActive:gn(n),pause:o,resume:a,eventFilter:s}}function Bd(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 Pn(e){return Array.isArray(e)?e:[e]}function Dd(e){return Ar()}function We(e,t=200,r={}){return Xi(qd(t,r),e)}function Gd(e,t,r={}){const{eventFilter:n=Ji,...o}=r;return ve(e,Xi(n,t),o)}function Ld(e,t,r={}){const{eventFilter:n,initialState:o="active",...a}=r,{eventFilter:s,pause:i,resume:l,isActive:c}=Nd(n,{initialState:o});return{stop:Gd(e,t,{...a,eventFilter:s}),pause:i,resume:l,isActive:c}}function dt(e,t=!0,r){Dd()?Kt(e,r):t?e():zt(e)}function Hd(e,t,r={}){const{immediate:n=!0,immediateCallback:o=!1}=r,a=et(!1);let s;function i(){s&&(clearTimeout(s),s=void 0)}function l(){a.value=!1,i()}function c(...u){o&&e(),i(),a.value=!0,s=setTimeout(()=>{a.value=!1,s=void 0,e(...u)},ge(t))}return n&&(a.value=!0,Ir&&c()),Yi(l),{isPending:Ga(a),start:c,stop:l}}function Vd(e,t,r){return ve(e,t,{...r,immediate:!0})}function fe(e,t,r){const n=ve(e,(o,a,s)=>{o&&(r!=null&&r.once&&zt(()=>n()),t(o,a,s))},{...r,once:!1});return n}const tr=Ir?window:void 0,Zi=Ir?window.navigator:void 0;function rr(e){var t;const r=ge(e);return(t=r==null?void 0:r.$el)!=null?t:r}function ht(...e){const t=[],r=()=>{t.forEach(i=>i()),t.length=0},n=(i,l,c,u)=>(i.addEventListener(l,c,u),()=>i.removeEventListener(l,c,u)),o=G(()=>{const i=Pn(ge(e[0])).filter(l=>l!=null);return i.every(l=>typeof l!="string")?i:void 0}),a=Vd(()=>{var i,l;return[(l=(i=o.value)==null?void 0:i.map(c=>rr(c)))!=null?l:[tr].filter(c=>c!=null),Pn(ge(o.value?e[1]:e[0])),Pn(Wa(o.value?e[2]:e[1])),ge(o.value?e[3]:e[2])]},([i,l,c,u])=>{if(r(),!(i!=null&&i.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const f=$d(u)?{...u}:u;t.push(...i.flatMap(d=>l.flatMap(h=>c.map(m=>n(d,h,m,f)))))},{flush:"post"}),s=()=>{a(),r()};return Yi(r),s}let Qi=!1;function Ud(e,t,r={}){const{window:n=tr,ignore:o=[],capture:a=!0,detectIframe:s=!1,controls:i=!1}=r;if(!n)return i?{stop:Ue,cancel:Ue,trigger:Ue}:Ue;if(Id&&!Qi){Qi=!0;const v={passive:!0};Array.from(n.document.body.children).forEach(p=>p.addEventListener("click",Ue,v)),n.document.documentElement.addEventListener("click",Ue,v)}let l=!0;const c=v=>ge(o).some(p=>{if(typeof p=="string")return Array.from(n.document.querySelectorAll(p)).some(g=>g===v.target||v.composedPath().includes(g));{const g=rr(p);return g&&(v.target===g||v.composedPath().includes(g))}});function u(v){const p=ge(v);return p&&p.$.subTree.shapeFlag===16}function f(v,p){const g=ge(v),b=g.$.subTree&&g.$.subTree.children;return b==null||!Array.isArray(b)?!1:b.some(w=>w.el===p.target||p.composedPath().includes(w.el))}const d=v=>{const p=rr(e);if(v.target!=null&&!(!(p instanceof Element)&&u(e)&&f(e,v))&&!(!p||p===v.target||v.composedPath().includes(p))){if("detail"in v&&v.detail===0&&(l=!c(v)),!l){l=!0;return}t(v)}};let h=!1;const m=[ht(n,"click",v=>{h||(h=!0,setTimeout(()=>{h=!1},0),d(v))},{passive:!0,capture:a}),ht(n,"pointerdown",v=>{const p=rr(e);l=!c(v)&&!!(p&&!v.composedPath().includes(p))},{passive:!0}),s&&ht(n,"blur",v=>{setTimeout(()=>{var p;const g=rr(e);((p=n.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(g!=null&&g.contains(n.document.activeElement))&&t(v)},0)},{passive:!0})].filter(Boolean),y=()=>m.forEach(v=>v());return i?{stop:y,cancel:()=>{l=!1},trigger:v=>{l=!0,d(v),l=!1}}:y}function Wd(){const e=et(!1),t=Ar();return t&&Kt(()=>{e.value=!0},t),e}function el(e){const t=Wd();return G(()=>(t.value,!!e()))}function tl(e,t={}){const{controls:r=!1,navigator:n=Zi}=t,o=el(()=>n&&"permissions"in n),a=et(),s=typeof e=="string"?{name:e}:e,i=et(),l=()=>{var u,f;i.value=(f=(u=a.value)==null?void 0:u.state)!=null?f:"prompt"};ht(a,"change",l,{passive:!0});const c=Bd(async()=>{if(o.value){if(!a.value)try{a.value=await n.permissions.query(s)}catch{a.value=void 0}finally{l()}if(r)return Ka(a.value)}});return c(),r?{state:i,isSupported:o,query:c}:i}function Kd(e={}){const{navigator:t=Zi,read:r=!1,source:n,copiedDuring:o=1500,legacy:a=!1}=e,s=el(()=>t&&"clipboard"in t),i=tl("clipboard-read"),l=tl("clipboard-write"),c=G(()=>s.value||a),u=et(""),f=et(!1),d=Hd(()=>f.value=!1,o,{immediate:!1});async function h(){let g=!(s.value&&p(i.value));if(!g)try{u.value=await t.clipboard.readText()}catch{g=!0}g&&(u.value=v())}c.value&&r&&ht(["copy","cut"],h,{passive:!0});async function m(g=ge(n)){if(c.value&&g!=null){let b=!(s.value&&p(l.value));if(!b)try{await t.clipboard.writeText(g)}catch{b=!0}b&&y(g),u.value=g,f.value=!0,d.start()}}function y(g){const b=document.createElement("textarea");b.value=g??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function v(){var g,b,w;return(w=(b=(g=document==null?void 0:document.getSelection)==null?void 0:g.call(document))==null?void 0:b.toString())!=null?w:""}function p(g){return g==="granted"||g==="prompt"}return{isSupported:c,text:u,copied:f,copy:m}}const Fr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mr="__vueuse_ssr_handlers__",zd=Yd();function Yd(){return Mr in Fr||(Fr[Mr]=Fr[Mr]||{}),Fr[Mr]}function Xd(e,t){return zd[e]||t}function Jd(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 Zd={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()}},rl="vueuse-storage";function Qd(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=A=>{console.error(A)},initOnMounted:m}=n,y=(u?et:B)(typeof t=="function"?t():t),v=G(()=>ge(e));if(!r)try{r=Xd("getDefaultStorage",()=>{var A;return(A=tr)==null?void 0:A.localStorage})()}catch(A){h(A)}if(!r)return y;const p=ge(t),g=Jd(p),b=(o=n.serializer)!=null?o:Zd[g],{pause:w,resume:k}=Ld(y,A=>W(A),{flush:a,deep:s,eventFilter:d});ve(v,()=>R(),{flush:a});let _=!1;const M=A=>{m&&!_||R(A)},H=A=>{m&&!_||q(A)};f&&i&&(r instanceof Storage?ht(f,"storage",M,{passive:!0}):ht(f,rl,H)),m?dt(()=>{_=!0,R()}):R();function N(A,P){if(f){const L={key:v.value,oldValue:A,newValue:P,storageArea:r};f.dispatchEvent(r instanceof Storage?new StorageEvent("storage",L):new CustomEvent(rl,{detail:L}))}}function W(A){try{const P=r.getItem(v.value);if(A==null)N(P,null),r.removeItem(v.value);else{const L=b.write(A);P!==L&&(r.setItem(v.value,L),N(P,L))}}catch(P){h(P)}}function C(A){const P=A?A.newValue:r.getItem(v.value);if(P==null)return l&&p!=null&&r.setItem(v.value,b.write(p)),p;if(!A&&c){const L=b.read(P);return typeof c=="function"?c(L,p):g==="object"&&!Array.isArray(L)?{...p,...L}:L}else return typeof P!="string"?P:b.read(P)}function R(A){if(!(A&&A.storageArea!==r)){if(A&&A.key==null){y.value=p;return}if(!(A&&A.key!==v.value)){w();try{const P=b.write(y.value);(A===void 0||(A==null?void 0:A.newValue)!==P)&&(y.value=C(A))}catch(P){h(P)}finally{A?zt(k):k()}}}}function q(A){R(A.detail)}return y}function $n(e,t,r={}){const{window:n=tr}=r;return Qd(e,t,n==null?void 0:n.localStorage,r)}function qr(e){"@babel/helpers - typeof";return qr=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},qr(e)}var eh=/^\s+/,th=/\s+$/;function O(e,t){if(e=e||"",t=t||{},e instanceof O)return e;if(!(this instanceof O))return new O(e,t);var r=rh(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}O.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=sl(t),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var t=ol(this._r,this._g,this._b);return{h:t.h*360,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=ol(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=nl(this._r,this._g,this._b);return{h:t.h*360,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=nl(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 al(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return ih(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:yh[al(this._r,this._g,this._b,!0)]||!1},toFilter:function(t){var r="#"+il(this._r,this._g,this._b,this._a),n=r,o=this._gradientType?"GradientType = 1, ":"";if(t){var a=O(t);n="#"+il(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 O(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(ch,arguments)},brighten:function(){return this._applyModification(fh,arguments)},darken:function(){return this._applyModification(dh,arguments)},desaturate:function(){return this._applyModification(lh,arguments)},saturate:function(){return this._applyModification(sh,arguments)},greyscale:function(){return this._applyModification(uh,arguments)},spin:function(){return this._applyModification(hh,arguments)},_applyCombination:function(t,r){return t.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(gh,arguments)},complement:function(){return this._applyCombination(vh,arguments)},monochromatic:function(){return this._applyCombination(mh,arguments)},splitcomplement:function(){return this._applyCombination(ph,arguments)},triad:function(){return this._applyCombination(ll,[3])},tetrad:function(){return this._applyCombination(ll,[4])}},O.fromRatio=function(e,t){if(qr(e)=="object"){var r={};for(var n in e)e.hasOwnProperty(n)&&(n==="a"?r[n]=e[n]:r[n]=nr(e[n]));e=r}return O(e,t)};function rh(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=Sh(e)),qr(e)=="object"&&(Ke(e.r)&&Ke(e.g)&&Ke(e.b)?(t=nh(e.r,e.g,e.b),s=!0,i=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ke(e.h)&&Ke(e.s)&&Ke(e.v)?(n=nr(e.s),o=nr(e.v),t=ah(e.h,n,o),s=!0,i="hsv"):Ke(e.h)&&Ke(e.s)&&Ke(e.l)&&(n=nr(e.s),a=nr(e.l),t=oh(e.h,n,a),s=!0,i="hsl"),e.hasOwnProperty("a")&&(r=e.a)),r=sl(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 nh(e,t,r){return{r:Z(e,255)*255,g:Z(t,255)*255,b:Z(r,255)*255}}function nl(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 oh(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 ol(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 ah(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 al(e,t,r,n){var o=[$e(Math.round(e).toString(16)),$e(Math.round(t).toString(16)),$e(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 ih(e,t,r,n,o){var a=[$e(Math.round(e).toString(16)),$e(Math.round(t).toString(16)),$e(Math.round(r).toString(16)),$e(ul(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 il(e,t,r,n){var o=[$e(ul(n)),$e(Math.round(e).toString(16)),$e(Math.round(t).toString(16)),$e(Math.round(r).toString(16))];return o.join("")}O.equals=function(e,t){return!e||!t?!1:O(e).toRgbString()==O(t).toRgbString()},O.random=function(){return O.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function lh(e,t){t=t===0?0:t||10;var r=O(e).toHsl();return r.s-=t/100,r.s=Nr(r.s),O(r)}function sh(e,t){t=t===0?0:t||10;var r=O(e).toHsl();return r.s+=t/100,r.s=Nr(r.s),O(r)}function uh(e){return O(e).desaturate(100)}function ch(e,t){t=t===0?0:t||10;var r=O(e).toHsl();return r.l+=t/100,r.l=Nr(r.l),O(r)}function fh(e,t){t=t===0?0:t||10;var r=O(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)))),O(r)}function dh(e,t){t=t===0?0:t||10;var r=O(e).toHsl();return r.l-=t/100,r.l=Nr(r.l),O(r)}function hh(e,t){var r=O(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,O(r)}function vh(e){var t=O(e).toHsl();return t.h=(t.h+180)%360,O(t)}function ll(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var r=O(e).toHsl(),n=[O(e)],o=360/t,a=1;a<t;a++)n.push(O({h:(r.h+a*o)%360,s:r.s,l:r.l}));return n}function ph(e){var t=O(e).toHsl(),r=t.h;return[O(e),O({h:(r+72)%360,s:t.s,l:t.l}),O({h:(r+216)%360,s:t.s,l:t.l})]}function gh(e,t,r){t=t||6,r=r||30;var n=O(e).toHsl(),o=360/r,a=[O(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,a.push(O(n));return a}function mh(e,t){t=t||6;for(var r=O(e).toHsv(),n=r.h,o=r.s,a=r.v,s=[],i=1/t;t--;)s.push(O({h:n,s:o,v:a})),a=(a+i)%1;return s}O.mix=function(e,t,r){r=r===0?0:r||50;var n=O(e).toRgb(),o=O(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 O(s)},O.readability=function(e,t){var r=O(e),n=O(t);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)},O.isReadable=function(e,t,r){var n=O.readability(e,t),o,a;switch(a=!1,o=xh(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},O.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=O.readability(e,t[c]),a>o&&(o=a,n=O(t[c]));return O.isReadable(e,n,{level:i,size:l})||!s?n:(r.includeFallbackColors=!1,O.mostReadable(e,["#fff","#000"],r))};var In=O.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"},yh=O.hexNames=bh(In);function bh(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function sl(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Z(e,t){Ch(e)&&(e="100%");var r=wh(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 Nr(e){return Math.min(1,Math.max(0,e))}function xe(e){return parseInt(e,16)}function Ch(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function wh(e){return typeof e=="string"&&e.indexOf("%")!=-1}function $e(e){return e.length==1?"0"+e:""+e}function nr(e){return e<=1&&(e=e*100+"%"),e}function ul(e){return Math.round(parseFloat(e)*255).toString(16)}function cl(e){return xe(e)/255}var Ie=(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 Ke(e){return!!Ie.CSS_UNIT.exec(e)}function Sh(e){e=e.replace(eh,"").replace(th,"").toLowerCase();var t=!1;if(In[e])e=In[e],t=!0;else if(e=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=Ie.rgb.exec(e))?{r:r[1],g:r[2],b:r[3]}:(r=Ie.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Ie.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=Ie.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Ie.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=Ie.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Ie.hex8.exec(e))?{r:xe(r[1]),g:xe(r[2]),b:xe(r[3]),a:cl(r[4]),format:t?"name":"hex8"}:(r=Ie.hex6.exec(e))?{r:xe(r[1]),g:xe(r[2]),b:xe(r[3]),format:t?"name":"hex"}:(r=Ie.hex4.exec(e))?{r:xe(r[1]+""+r[1]),g:xe(r[2]+""+r[2]),b:xe(r[3]+""+r[3]),a:cl(r[4]+""+r[4]),format:t?"name":"hex8"}:(r=Ie.hex3.exec(e))?{r:xe(r[1]+""+r[1]),g:xe(r[2]+""+r[2]),b:xe(r[3]+""+r[3]),format:t?"name":"hex"}:!1}function xh(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 fl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Br={},dl;function Oh(){if(dl)return Br;dl=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 D=new Error(r+": "+j);throw D.source=r,D}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,D,K){return l(D,function(Ce){var Ge=K();return Ge&&(L(t.comma)||n("Missing comma before color stops")),{type:j,orientation:Ge,colorStops:w(k)}})}function l(j,D){var K=L(j);if(K){L(t.startCall)||n("Missing (");var Ce=D(K);return L(t.endCall)||n("Missing )"),Ce}}function c(){return u()||f()}function u(){return P("directional",t.sideOrCorner,1)}function f(){return P("angular",t.angleValue,1)}function d(){var j,D=h(),K;return D&&(j=[],j.push(D),K=r,L(t.comma)&&(D=h(),D?j.push(D):r=K)),j}function h(){var j=m()||y();if(j)j.at=p();else{var D=v();if(D){j=D;var K=p();K&&(j.at=K)}else{var Ce=g();Ce&&(j={type:"default-radial",at:Ce})}}return j}function m(){var j=P("shape",/^(circle)/i,0);return j&&(j.style=A()||v()),j}function y(){var j=P("shape",/^(ellipse)/i,0);return j&&(j.style=R()||v()),j}function v(){return P("extent-keyword",t.extentKeywords,1)}function p(){if(P("position",/^at/,0)){var j=g();return j||n("Missing positioning value"),j}}function g(){var j=b();if(j.x||j.y)return{type:"position",value:j}}function b(){return{x:R(),y:R()}}function w(j){var D=j(),K=[];if(D)for(K.push(D);L(t.comma);)D=j(),D?K.push(D):n("One extra comma");return K}function k(){var j=_();return j||n("Expected color definition"),j.length=R(),j}function _(){return H()||W()||N()||M()}function M(){return P("literal",t.literalColor,0)}function H(){return P("hex",t.hexColor,1)}function N(){return l(t.rgbColor,function(){return{type:"rgb",value:w(C)}})}function W(){return l(t.rgbaColor,function(){return{type:"rgba",value:w(C)}})}function C(){return L(t.number)[1]}function R(){return P("%",t.percentageValue,1)||q()||A()}function q(){return P("position-keyword",t.positionKeywords,1)}function A(){return P("px",t.pixelValue,1)||P("em",t.emValue,1)}function P(j,D,K){var Ce=L(D);if(Ce)return{type:j,value:Ce[K]}}function L(j){var D,K;return K=/^[\n\r\t\s]+/.exec(r),K&&ce(K[0].length),D=j.exec(r),D&&ce(D[0].length),D}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 hl=Oh(),me="top",Ee="bottom",Ae="right",ye="left",Fn="auto",or=[me,Ee,Ae,ye],Et="start",ar="end",_h="clippingParents",vl="viewport",ir="popper",kh="reference",pl=or.reduce(function(e,t){return e.concat([t+"-"+Et,t+"-"+ar])},[]),gl=[].concat(or,[Fn]).reduce(function(e,t){return e.concat([t,t+"-"+Et,t+"-"+ar])},[]),Eh="beforeRead",Ah="read",Th="afterRead",Rh="beforeMain",jh="main",Ph="afterMain",$h="beforeWrite",Ih="write",Fh="afterWrite",Mh=[Eh,Ah,Th,Rh,jh,Ph,$h,Ih,Fh];function qe(e){return e?(e.nodeName||"").toLowerCase():null}function Oe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function vt(e){var t=Oe(e).Element;return e instanceof t||e instanceof Element}function Te(e){var t=Oe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Mn(e){if(typeof ShadowRoot>"u")return!1;var t=Oe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function qh(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];!Te(a)||!qe(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 Nh(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},{});!Te(o)||!qe(o)||(Object.assign(o.style,i),Object.keys(a).forEach(function(l){o.removeAttribute(l)}))})}}const Bh={name:"applyStyles",enabled:!0,phase:"write",fn:qh,effect:Nh,requires:["computeStyles"]};function Ne(e){return e.split("-")[0]}var pt=Math.max,Dr=Math.min,At=Math.round;function qn(){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 ml(){return!/^((?!chrome|android).)*safari/i.test(qn())}function Tt(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&Te(e)&&(o=e.offsetWidth>0&&At(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&At(n.height)/e.offsetHeight||1);var s=vt(e)?Oe(e):window,i=s.visualViewport,l=!ml()&&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 Nn(e){var t=Tt(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 yl(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Mn(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ze(e){return Oe(e).getComputedStyle(e)}function Dh(e){return["table","td","th"].indexOf(qe(e))>=0}function nt(e){return((vt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Gr(e){return qe(e)==="html"?e:e.assignedSlot||e.parentNode||(Mn(e)?e.host:null)||nt(e)}function bl(e){return!Te(e)||ze(e).position==="fixed"?null:e.offsetParent}function Gh(e){var t=/firefox/i.test(qn()),r=/Trident/i.test(qn());if(r&&Te(e)){var n=ze(e);if(n.position==="fixed")return null}var o=Gr(e);for(Mn(o)&&(o=o.host);Te(o)&&["html","body"].indexOf(qe(o))<0;){var a=ze(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 lr(e){for(var t=Oe(e),r=bl(e);r&&Dh(r)&&ze(r).position==="static";)r=bl(r);return r&&(qe(r)==="html"||qe(r)==="body"&&ze(r).position==="static")?t:r||Gh(e)||t}function Bn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sr(e,t,r){return pt(e,Dr(t,r))}function Lh(e,t,r){var n=sr(e,t,r);return n>r?r:n}function Cl(){return{top:0,right:0,bottom:0,left:0}}function wl(e){return Object.assign({},Cl(),e)}function Sl(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Hh=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,wl(typeof t!="number"?t:Sl(t,or))};function Vh(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,i=Ne(r.placement),l=Bn(i),c=[ye,Ae].indexOf(i)>=0,u=c?"height":"width";if(!(!a||!s)){var f=Hh(o.padding,r),d=Nn(a),h=l==="y"?me:ye,m=l==="y"?Ee:Ae,y=r.rects.reference[u]+r.rects.reference[l]-s[l]-r.rects.popper[u],v=s[l]-r.rects.reference[l],p=lr(a),g=p?l==="y"?p.clientHeight||0:p.clientWidth||0:0,b=y/2-v/2,w=f[h],k=g-d[u]-f[m],_=g/2-d[u]/2+b,M=sr(w,_,k),H=l;r.modifiersData[n]=(t={},t[H]=M,t.centerOffset=M-_,t)}}function Uh(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)||yl(t.elements.popper,o)&&(t.elements.arrow=o))}const Wh={name:"arrow",enabled:!0,phase:"main",fn:Vh,effect:Uh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Rt(e){return e.split("-")[1]}var Kh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zh(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:At(r*o)/o||0,y:At(n*o)/o||0}}function xl(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,m=s.y,y=m===void 0?0:m,v=typeof u=="function"?u({x:h,y}):{x:h,y};h=v.x,y=v.y;var p=s.hasOwnProperty("x"),g=s.hasOwnProperty("y"),b=ye,w=me,k=window;if(c){var _=lr(r),M="clientHeight",H="clientWidth";if(_===Oe(r)&&(_=nt(r),ze(_).position!=="static"&&i==="absolute"&&(M="scrollHeight",H="scrollWidth")),_=_,o===me||(o===ye||o===Ae)&&a===ar){w=Ee;var N=f&&_===k&&k.visualViewport?k.visualViewport.height:_[M];y-=N-n.height,y*=l?1:-1}if(o===ye||(o===me||o===Ee)&&a===ar){b=Ae;var W=f&&_===k&&k.visualViewport?k.visualViewport.width:_[H];h-=W-n.width,h*=l?1:-1}}var C=Object.assign({position:i},c&&Kh),R=u===!0?zh({x:h,y},Oe(r)):{x:h,y};if(h=R.x,y=R.y,l){var q;return Object.assign({},C,(q={},q[w]=g?"0":"",q[b]=p?"0":"",q.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",q))}return Object.assign({},C,(t={},t[w]=g?y+"px":"",t[b]=p?h+"px":"",t.transform="",t))}function Yh(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:Ne(t.placement),variation:Rt(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,xl(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,xl(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 Xh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Yh,data:{}};var Lr={passive:!0};function Jh(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=Oe(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",r.update,Lr)}),i&&l.addEventListener("resize",r.update,Lr),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",r.update,Lr)}),i&&l.removeEventListener("resize",r.update,Lr)}}const Zh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Jh,data:{}};var Qh={left:"right",right:"left",bottom:"top",top:"bottom"};function Hr(e){return e.replace(/left|right|bottom|top/g,function(t){return Qh[t]})}var ev={start:"end",end:"start"};function Ol(e){return e.replace(/start|end/g,function(t){return ev[t]})}function Dn(e){var t=Oe(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Gn(e){return Tt(nt(e)).left+Dn(e).scrollLeft}function tv(e,t){var r=Oe(e),n=nt(e),o=r.visualViewport,a=n.clientWidth,s=n.clientHeight,i=0,l=0;if(o){a=o.width,s=o.height;var c=ml();(c||!c&&t==="fixed")&&(i=o.offsetLeft,l=o.offsetTop)}return{width:a,height:s,x:i+Gn(e),y:l}}function rv(e){var t,r=nt(e),n=Dn(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=pt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=pt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),i=-n.scrollLeft+Gn(e),l=-n.scrollTop;return ze(o||r).direction==="rtl"&&(i+=pt(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:s,x:i,y:l}}function Ln(e){var t=ze(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function _l(e){return["html","body","#document"].indexOf(qe(e))>=0?e.ownerDocument.body:Te(e)&&Ln(e)?e:_l(Gr(e))}function ur(e,t){var r;t===void 0&&(t=[]);var n=_l(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Oe(n),s=o?[a].concat(a.visualViewport||[],Ln(n)?n:[]):n,i=t.concat(s);return o?i:i.concat(ur(Gr(s)))}function Hn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nv(e,t){var r=Tt(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 kl(e,t,r){return t===vl?Hn(tv(e,r)):vt(t)?nv(t,r):Hn(rv(nt(e)))}function ov(e){var t=ur(Gr(e)),r=["absolute","fixed"].indexOf(ze(e).position)>=0,n=r&&Te(e)?lr(e):e;return vt(n)?t.filter(function(o){return vt(o)&&yl(o,n)&&qe(o)!=="body"}):[]}function av(e,t,r,n){var o=t==="clippingParents"?ov(e):[].concat(t),a=[].concat(o,[r]),s=a[0],i=a.reduce(function(l,c){var u=kl(e,c,n);return l.top=pt(u.top,l.top),l.right=Dr(u.right,l.right),l.bottom=Dr(u.bottom,l.bottom),l.left=pt(u.left,l.left),l},kl(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 El(e){var t=e.reference,r=e.element,n=e.placement,o=n?Ne(n):null,a=n?Rt(n):null,s=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,l;switch(o){case me:l={x:s,y:t.y-r.height};break;case Ee:l={x:s,y:t.y+t.height};break;case Ae:l={x:t.x+t.width,y:i};break;case ye:l={x:t.x-r.width,y:i};break;default:l={x:t.x,y:t.y}}var c=o?Bn(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case Et:l[c]=l[c]-(t[u]/2-r[u]/2);break;case ar:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function cr(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?_h:i,c=r.rootBoundary,u=c===void 0?vl:c,f=r.elementContext,d=f===void 0?ir:f,h=r.altBoundary,m=h===void 0?!1:h,y=r.padding,v=y===void 0?0:y,p=wl(typeof v!="number"?v:Sl(v,or)),g=d===ir?kh:ir,b=e.rects.popper,w=e.elements[m?g:d],k=av(vt(w)?w:w.contextElement||nt(e.elements.popper),l,u,s),_=Tt(e.elements.reference),M=El({reference:_,element:b,placement:o}),H=Hn(Object.assign({},b,M)),N=d===ir?H:_,W={top:k.top-N.top+p.top,bottom:N.bottom-k.bottom+p.bottom,left:k.left-N.left+p.left,right:N.right-k.right+p.right},C=e.modifiersData.offset;if(d===ir&&C){var R=C[o];Object.keys(W).forEach(function(q){var A=[Ae,Ee].indexOf(q)>=0?1:-1,P=[me,Ee].indexOf(q)>=0?"y":"x";W[q]+=R[P]*A})}return W}function iv(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?gl:l,u=Rt(n),f=u?i?pl:pl.filter(function(m){return Rt(m)===u}):or,d=f.filter(function(m){return c.indexOf(m)>=0});d.length===0&&(d=f);var h=d.reduce(function(m,y){return m[y]=cr(e,{placement:y,boundary:o,rootBoundary:a,padding:s})[Ne(y)],m},{});return Object.keys(h).sort(function(m,y){return h[m]-h[y]})}function lv(e){if(Ne(e)===Fn)return[];var t=Hr(e);return[Ol(e),t,Ol(t)]}function sv(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,m=h===void 0?!0:h,y=r.allowedAutoPlacements,v=t.options.placement,p=Ne(v),g=p===v,b=l||(g||!m?[Hr(v)]:lv(v)),w=[v].concat(b).reduce(function(st,Le){return st.concat(Ne(Le)===Fn?iv(t,{placement:Le,boundary:u,rootBoundary:f,padding:c,flipVariations:m,allowedAutoPlacements:y}):Le)},[]),k=t.rects.reference,_=t.rects.popper,M=new Map,H=!0,N=w[0],W=0;W<w.length;W++){var C=w[W],R=Ne(C),q=Rt(C)===Et,A=[me,Ee].indexOf(R)>=0,P=A?"width":"height",L=cr(t,{placement:C,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),ce=A?q?Ae:ye:q?Ee:me;k[P]>_[P]&&(ce=Hr(ce));var j=Hr(ce),D=[];if(a&&D.push(L[R]<=0),i&&D.push(L[ce]<=0,L[j]<=0),D.every(function(st){return st})){N=C,H=!1;break}M.set(C,D)}if(H)for(var K=m?3:1,Ce=function(Le){var _r=w.find(function(vn){var Ot=M.get(vn);if(Ot)return Ot.slice(0,Le).every(function(Ma){return Ma})});if(_r)return N=_r,"break"},Ge=K;Ge>0;Ge--){var Wt=Ce(Ge);if(Wt==="break")break}t.placement!==N&&(t.modifiersData[n]._skip=!0,t.placement=N,t.reset=!0)}}const uv={name:"flip",enabled:!0,phase:"main",fn:sv,requiresIfExists:["offset"],data:{_skip:!1}};function Al(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 Tl(e){return[me,Ae,Ee,ye].some(function(t){return e[t]>=0})}function cv(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,s=cr(t,{elementContext:"reference"}),i=cr(t,{altBoundary:!0}),l=Al(s,n),c=Al(i,o,a),u=Tl(l),f=Tl(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 fv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:cv};function dv(e,t,r){var n=Ne(e),o=[ye,me].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,[ye,Ae].indexOf(n)>=0?{x:i,y:s}:{x:s,y:i}}function hv(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,s=gl.reduce(function(u,f){return u[f]=dv(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 vv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hv};function pv(e){var t=e.state,r=e.name;t.modifiersData[r]=El({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const gv={name:"popperOffsets",enabled:!0,phase:"read",fn:pv,data:{}};function mv(e){return e==="x"?"y":"x"}function yv(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,m=r.tetherOffset,y=m===void 0?0:m,v=cr(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),p=Ne(t.placement),g=Rt(t.placement),b=!g,w=Bn(p),k=mv(w),_=t.modifiersData.popperOffsets,M=t.rects.reference,H=t.rects.popper,N=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,W=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(_){if(a){var q,A=w==="y"?me:ye,P=w==="y"?Ee:Ae,L=w==="y"?"height":"width",ce=_[w],j=ce+v[A],D=ce-v[P],K=h?-H[L]/2:0,Ce=g===Et?M[L]:H[L],Ge=g===Et?-H[L]:-M[L],Wt=t.elements.arrow,st=h&&Wt?Nn(Wt):{width:0,height:0},Le=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Cl(),_r=Le[A],vn=Le[P],Ot=sr(0,M[L],st[L]),Ma=b?M[L]/2-K-Ot-_r-W.mainAxis:Ce-Ot-_r-W.mainAxis,Zb=b?-M[L]/2+K+Ot+vn+W.mainAxis:Ge+Ot+vn+W.mainAxis,qa=t.elements.arrow&&lr(t.elements.arrow),Qb=qa?w==="y"?qa.clientTop||0:qa.clientLeft||0:0,Rc=(q=C==null?void 0:C[w])!=null?q:0,e0=ce+Ma-Rc-Qb,t0=ce+Zb-Rc,jc=sr(h?Dr(j,e0):j,ce,h?pt(D,t0):D);_[w]=jc,R[w]=jc-ce}if(i){var Pc,r0=w==="x"?me:ye,n0=w==="x"?Ee:Ae,_t=_[k],pn=k==="y"?"height":"width",$c=_t+v[r0],Ic=_t-v[n0],Na=[me,ye].indexOf(p)!==-1,Fc=(Pc=C==null?void 0:C[k])!=null?Pc:0,Mc=Na?$c:_t-M[pn]-H[pn]-Fc+W.altAxis,qc=Na?_t+M[pn]+H[pn]-Fc-W.altAxis:Ic,Nc=h&&Na?Lh(Mc,_t,qc):sr(h?Mc:$c,_t,h?qc:Ic);_[k]=Nc,R[k]=Nc-_t}t.modifiersData[n]=R}}const bv={name:"preventOverflow",enabled:!0,phase:"main",fn:yv,requiresIfExists:["offset"]};function Cv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function wv(e){return e===Oe(e)||!Te(e)?Dn(e):Cv(e)}function Sv(e){var t=e.getBoundingClientRect(),r=At(t.width)/e.offsetWidth||1,n=At(t.height)/e.offsetHeight||1;return r!==1||n!==1}function xv(e,t,r){r===void 0&&(r=!1);var n=Te(t),o=Te(t)&&Sv(t),a=nt(t),s=Tt(e,o,r),i={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((qe(t)!=="body"||Ln(a))&&(i=wv(t)),Te(t)?(l=Tt(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Gn(a))),{x:s.left+i.scrollLeft-l.x,y:s.top+i.scrollTop-l.y,width:s.width,height:s.height}}function Ov(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 _v(e){var t=Ov(e);return Mh.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function kv(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Ev(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 Rl={placement:"bottom",modifiers:[],strategy:"absolute"};function jl(){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 Av(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,a=o===void 0?Rl:o;return function(i,l,c){c===void 0&&(c=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rl,a),modifiersData:{},elements:{reference:i,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:u,setOptions:function(p){var g=typeof p=="function"?p(u.options):p;y(),u.options=Object.assign({},a,u.options,g),u.scrollParents={reference:vt(i)?ur(i):i.contextElement?ur(i.contextElement):[],popper:ur(l)};var b=_v(Ev([].concat(n,u.options.modifiers)));return u.orderedModifiers=b.filter(function(w){return w.enabled}),m(),h.update()},forceUpdate:function(){if(!d){var p=u.elements,g=p.reference,b=p.popper;if(jl(g,b)){u.rects={reference:xv(g,lr(b),u.options.strategy==="fixed"),popper:Nn(b)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(W){return u.modifiersData[W.name]=Object.assign({},W.data)});for(var w=0;w<u.orderedModifiers.length;w++){if(u.reset===!0){u.reset=!1,w=-1;continue}var k=u.orderedModifiers[w],_=k.fn,M=k.options,H=M===void 0?{}:M,N=k.name;typeof _=="function"&&(u=_({state:u,options:H,name:N,instance:h})||u)}}}},update:kv(function(){return new Promise(function(v){h.forceUpdate(),v(u)})}),destroy:function(){y(),d=!0}};if(!jl(i,l))return h;h.setOptions(c).then(function(v){!d&&c.onFirstUpdate&&c.onFirstUpdate(v)});function m(){u.orderedModifiers.forEach(function(v){var p=v.name,g=v.options,b=g===void 0?{}:g,w=v.effect;if(typeof w=="function"){var k=w({state:u,name:p,instance:h,options:b}),_=function(){};f.push(k||_)}})}function y(){f.forEach(function(v){return v()}),f=[]}return h}}var Tv=[Zh,gv,Xh,Bh,vv,uv,bv,Wh,fv],Rv=Av({defaultModifiers:Tv});function jv(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 Pl(e,t,r){return r&&jv(e,r),e}function Vr(){return(Vr=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 $l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Il(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 Fl(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var Ml=Object.prototype,ql=Ml.toString,Pv=Ml.hasOwnProperty,Nl=/^\s*function (\w+)/;function Bl(e){var t,r=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(r){var n=r.toString().match(Nl);return n?n[1]:""}return""}var gt=function(e){var t,r;return Fl(e)!==!1&&typeof(t=e.constructor)=="function"&&Fl(r=t.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1},Dl=function(e){return e},be=Dl;if(process.env.NODE_ENV!=="production"){var $v=typeof console<"u";be=$v?function(e){console.warn("[VueTypes warn]: "+e)}:Dl}var fr=function(e,t){return Pv.call(e,t)},Iv=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},jt=Array.isArray||function(e){return ql.call(e)==="[object Array]"},Pt=function(e){return ql.call(e)==="[object Function]"},Ur=function(e){return gt(e)&&fr(e,"_vueTypes_name")},Gl=function(e){return gt(e)&&(fr(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return fr(e,t)}))};function Vn(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function mt(e,t,r){var n,o=!0,a="";n=gt(e)?e:{type:e};var s=Ur(n)?n._vueTypes_name+" - ":"";if(Gl(n)&&n.type!==null){if(n.type===void 0||n.type===!0||!n.required&&t===void 0)return o;jt(n.type)?(o=n.type.some(function(f){return mt(f,t)===!0}),a=n.type.map(function(f){return Bl(f)}).join(" or ")):o=(a=Bl(n))==="Array"?jt(t):a==="Object"?gt(t):a==="String"||a==="Number"||a==="Boolean"||a==="Function"?(function(f){if(f==null)return"";var d=f.constructor.toString().match(Nl);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(fr(n,"validator")&&Pt(n.validator)){var l=be,c=[];if(be=function(f){c.push(f)},o=n.validator(t),be=l,!o){var u=(c.length>1?"* ":"")+c.join(`
12
- * `);return c.length=0,u}}return o}function _e(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?Pt(o)||mt(this,o)===!0?(this.default=jt(o)?function(){return[].concat(o)}:gt(o)?function(){return Object.assign({},o)}:o,this):(be(this._vueTypes_name+' - invalid default value: "'+o+'"'),this):this}}}),n=r.validator;return Pt(n)&&(r.validator=Vn(n,r)),r}function Be(e,t){var r=_e(e,t);return Object.defineProperty(r,"validate",{value:function(n){return Pt(this.validator)&&be(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info:
13
- `+JSON.stringify(this)),this.validator=Vn(n,this),this}})}function Ll(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,!gt(r))return a;var s,i,l=r.validator,c=Il(r,["validator"]);if(Pt(l)){var u=a.validator;u&&(u=(i=(s=u).__original)!==null&&i!==void 0?i:s),a.validator=Vn(u?function(f){return u.call(this,f)&&l.call(this,f)}:l,a)}return Object.assign(a,c)}function Wr(e){return e.replace(/^(?!\s*$)/gm," ")}var Fv=function(){return Be("any",{})},Mv=function(){return Be("function",{type:Function})},qv=function(){return Be("boolean",{type:Boolean})},Nv=function(){return Be("string",{type:String})},Bv=function(){return Be("number",{type:Number})},Dv=function(){return Be("array",{type:Array})},Gv=function(){return Be("object",{type:Object})},Lv=function(){return _e("integer",{type:Number,validator:function(e){return Iv(e)}})},Hv=function(){return _e("symbol",{validator:function(e){return typeof e=="symbol"}})};function Vv(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 _e(e.name||"<<anonymous function>>",{validator:function(r){var n=e(r);return n||be(this._vueTypes_name+" - "+t),n}})}function Uv(e){if(!jt(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 _e("oneOf",{type:r.length>0?r:void 0,validator:function(n){var o=e.indexOf(n)!==-1;return o||be(t),o}})}function Wv(e){if(!jt(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(Gl(o)){if(Ur(o)&&o._vueTypes_name==="oneOf"){r=r.concat(o.type);continue}if(Pt(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}),_e("oneOfType",t?{type:r,validator:function(a){var s=[],i=e.some(function(l){var c=mt(Ur(l)&&l._vueTypes_name==="oneOf"?l.type||null:l,a);return typeof c=="string"&&s.push(c),c===!0});return i||be("oneOfType - provided value does not match any of the "+s.length+` passed-in validators:
14
- `+Wr(s.join(`
15
- `))),i}}:{type:r})}function Kv(e){return _e("arrayOf",{type:Array,validator:function(t){var r,n=t.every(function(o){return(r=mt(e,o))===!0});return n||be(`arrayOf - value validation error:
16
- `+Wr(r)),n}})}function zv(e){return _e("instanceOf",{type:e})}function Yv(e){return _e("objectOf",{type:Object,validator:function(t){var r,n=Object.keys(t).every(function(o){return(r=mt(e,t[o]))===!0});return n||be(`objectOf - value validation error:
17
- `+Wr(r)),n}})}function Xv(e){var t=Object.keys(e),r=t.filter(function(o){var a;return!!(!((a=e[o])===null||a===void 0)&&a.required)}),n=_e("shape",{type:Object,validator:function(o){var a=this;if(!gt(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 be(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||(be('shape - shape definition does not include a "'+l+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var c=mt(e[l],o[l]);return typeof c=="string"&&be('shape - "'+l+`" property validation error:
18
- `+Wr(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 De=(function(){function e(){}return e.extend=function(t){var r=this;if(jt(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=Il(t,["name","validate","getter"]);if(fr(this,n))throw new TypeError('[VueTypes error]: Type "'+n+'" already defined');var c,u=l.type;return Ur(u)?(delete l.type,Object.defineProperty(this,n,i?{get:function(){return Ll(n,u,l)}}:{value:function(){var f,d=Ll(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):_e(n,f)},enumerable:!0}:{value:function(){var f,d,h=Object.assign({},l);return f=a?Be(n,h):_e(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))},Pl(e,null,[{key:"any",get:function(){return Fv()}},{key:"func",get:function(){return Mv().def(this.defaults.func)}},{key:"bool",get:function(){return qv().def(this.defaults.bool)}},{key:"string",get:function(){return Nv().def(this.defaults.string)}},{key:"number",get:function(){return Bv().def(this.defaults.number)}},{key:"array",get:function(){return Dv().def(this.defaults.array)}},{key:"object",get:function(){return Gv().def(this.defaults.object)}},{key:"integer",get:function(){return Lv().def(this.defaults.integer)}},{key:"symbol",get:function(){return Hv()}}]),e})();function Jv(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 $l(n,r),Pl(n,null,[{key:"sensibleDefaults",get:function(){return Vr({},this.defaults)},set:function(o){this.defaults=o!==!1?Vr({},o!==!0?o:e):{}}}]),n})(De)).defaults=Vr({},e),t}De.defaults={},De.custom=Vv,De.oneOf=Uv,De.instanceOf=zv,De.oneOfType=Wv,De.arrayOf=Kv,De.objectOf=Yv,De.shape=Xv,De.utils={validate:function(e,t){return mt(t,e)===!0},toType:function(e,t,r){return r===void 0&&(r=!1),r?Be(e,t):_e(e,t)}};var F=(function(e){function t(){return e.apply(this,arguments)||this}return $l(t,e),t})(Jv()),Hl={},Un,Vl;function yt(){return Vl||(Vl=1,Un=function(e){try{return!!e()}catch{return!0}}),Un}var Wn,Ul;function bt(){if(Ul)return Wn;Ul=1;var e=yt();return Wn=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Wn}var Kn={exports:{}},zn,Wl;function Kl(){if(Wl)return zn;Wl=1;var e=yt();return zn=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),zn}var Yn,zl;function dr(){if(zl)return Yn;zl=1;var e=Kl(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return Yn=e?n:function(o){return function(){return r.apply(o,arguments)}},Yn}var Xn,Yl;function ot(){if(Yl)return Xn;Yl=1;var e=typeof document=="object"&&document.all;return Xn=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},Xn}var Jn,Xl;function Jl(){return Xl||(Xl=1,Jn=function(e){return e==null}),Jn}var Zn,Zl;function Zv(){if(Zl)return Zn;Zl=1;var e=Jl(),t=TypeError;return Zn=function(r){if(e(r))throw new t("Can't call method on "+r);return r},Zn}var Qn,Ql;function Qv(){if(Ql)return Qn;Ql=1;var e=Zv(),t=Object;return Qn=function(r){return t(e(r))},Qn}var eo,es;function Kr(){if(es)return eo;es=1;var e=dr(),t=Qv(),r=e({}.hasOwnProperty);return eo=Object.hasOwn||function(o,a){return r(t(o),a)},eo}var to,ts;function ep(){if(ts)return to;ts=1;var e=bt(),t=Kr(),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 to={EXISTS:o,PROPER:a,CONFIGURABLE:s},to}var ro={exports:{}},no,rs;function tp(){return rs||(rs=1,no=!1),no}var hr,ns;function Fe(){if(ns)return hr;ns=1;var e=function(t){return t&&t.Math===Math&&t};return hr=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof fl=="object"&&fl)||e(typeof hr=="object"&&hr)||(function(){return this})()||Function("return this")(),hr}var oo,os;function rp(){if(os)return oo;os=1;var e=Fe(),t=Object.defineProperty;return oo=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},oo}var as;function ao(){if(as)return ro.exports;as=1;var e=tp(),t=Fe(),r=rp(),n="__core-js_shared__",o=ro.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"}),ro.exports}var io,is;function np(){if(is)return io;is=1;var e=dr(),t=ot(),r=ao(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(o){return n(o)}),io=r.inspectSource,io}var lo,ls;function op(){if(ls)return lo;ls=1;var e=Fe(),t=ot(),r=e.WeakMap;return lo=t(r)&&/native code/.test(String(r)),lo}var so,ss;function vr(){if(ss)return so;ss=1;var e=ot();return so=function(t){return typeof t=="object"?t!==null:e(t)},so}var uo={},co,us;function ap(){if(us)return co;us=1;var e=Fe(),t=vr(),r=e.document,n=t(r)&&t(r.createElement);return co=function(o){return n?r.createElement(o):{}},co}var fo,cs;function ip(){if(cs)return fo;cs=1;var e=bt(),t=yt(),r=ap();return fo=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),fo}var ho,fs;function lp(){if(fs)return ho;fs=1;var e=bt(),t=yt();return ho=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),ho}var vo,ds;function hs(){if(ds)return vo;ds=1;var e=vr(),t=String,r=TypeError;return vo=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},vo}var po,vs;function ps(){if(vs)return po;vs=1;var e=Kl(),t=Function.prototype.call;return po=e?t.bind(t):function(){return t.apply(t,arguments)},po}var go,gs;function sp(){if(gs)return go;gs=1;var e=Fe(),t=ot(),r=function(n){return t(n)?n:void 0};return go=function(n,o){return arguments.length<2?r(e[n]):e[n]&&e[n][o]},go}var mo,ms;function up(){if(ms)return mo;ms=1;var e=dr();return mo=e({}.isPrototypeOf),mo}var yo,ys;function cp(){if(ys)return yo;ys=1;var e=Fe(),t=e.navigator,r=t&&t.userAgent;return yo=r?String(r):"",yo}var bo,bs;function fp(){if(bs)return bo;bs=1;var e=Fe(),t=cp(),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]))),bo=i,bo}var Co,Cs;function ws(){if(Cs)return Co;Cs=1;var e=fp(),t=yt(),r=Fe(),n=r.String;return Co=!!Object.getOwnPropertySymbols&&!t(function(){var o=Symbol("symbol detection");return!n(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&e&&e<41}),Co}var wo,Ss;function xs(){if(Ss)return wo;Ss=1;var e=ws();return wo=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",wo}var So,Os;function _s(){if(Os)return So;Os=1;var e=sp(),t=ot(),r=up(),n=xs(),o=Object;return So=n?function(a){return typeof a=="symbol"}:function(a){var s=e("Symbol");return t(s)&&r(s.prototype,o(a))},So}var xo,ks;function dp(){if(ks)return xo;ks=1;var e=String;return xo=function(t){try{return e(t)}catch{return"Object"}},xo}var Oo,Es;function hp(){if(Es)return Oo;Es=1;var e=ot(),t=dp(),r=TypeError;return Oo=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},Oo}var _o,As;function vp(){if(As)return _o;As=1;var e=hp(),t=Jl();return _o=function(r,n){var o=r[n];return t(o)?void 0:e(o)},_o}var ko,Ts;function pp(){if(Ts)return ko;Ts=1;var e=ps(),t=ot(),r=vr(),n=TypeError;return ko=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")},ko}var Eo,Rs;function js(){if(Rs)return Eo;Rs=1;var e=ao();return Eo=function(t,r){return e[t]||(e[t]=r||{})},Eo}var Ao,Ps;function $s(){if(Ps)return Ao;Ps=1;var e=dr(),t=0,r=Math.random(),n=e(1.1.toString);return Ao=function(o){return"Symbol("+(o===void 0?"":o)+")_"+n(++t+r,36)},Ao}var To,Is;function gp(){if(Is)return To;Is=1;var e=Fe(),t=js(),r=Kr(),n=$s(),o=ws(),a=xs(),s=e.Symbol,i=t("wks"),l=a?s.for||s:s&&s.withoutSetter||n;return To=function(c){return r(i,c)||(i[c]=o&&r(s,c)?s[c]:l("Symbol."+c)),i[c]},To}var Ro,Fs;function mp(){if(Fs)return Ro;Fs=1;var e=ps(),t=vr(),r=_s(),n=vp(),o=pp(),a=gp(),s=TypeError,i=a("toPrimitive");return Ro=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)},Ro}var jo,Ms;function yp(){if(Ms)return jo;Ms=1;var e=mp(),t=_s();return jo=function(r){var n=e(r,"string");return t(n)?n:n+""},jo}var qs;function Ns(){if(qs)return uo;qs=1;var e=bt(),t=ip(),r=lp(),n=hs(),o=yp(),a=TypeError,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",u="writable";return uo.f=e?r?function(d,h,m){if(n(d),h=o(h),n(m),typeof d=="function"&&h==="prototype"&&"value"in m&&u in m&&!m[u]){var y=i(d,h);y&&y[u]&&(d[h]=m.value,m={configurable:c in m?m[c]:y[c],enumerable:l in m?m[l]:y[l],writable:!1})}return s(d,h,m)}:s:function(d,h,m){if(n(d),h=o(h),n(m),t)try{return s(d,h,m)}catch{}if("get"in m||"set"in m)throw new a("Accessors not supported");return"value"in m&&(d[h]=m.value),d},uo}var Po,Bs;function bp(){return Bs||(Bs=1,Po=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),Po}var $o,Ds;function Cp(){if(Ds)return $o;Ds=1;var e=bt(),t=Ns(),r=bp();return $o=e?function(n,o,a){return t.f(n,o,r(1,a))}:function(n,o,a){return n[o]=a,n},$o}var Io,Gs;function wp(){if(Gs)return Io;Gs=1;var e=js(),t=$s(),r=e("keys");return Io=function(n){return r[n]||(r[n]=t(n))},Io}var Fo,Ls;function Sp(){return Ls||(Ls=1,Fo={}),Fo}var Mo,Hs;function xp(){if(Hs)return Mo;Hs=1;var e=op(),t=Fe(),r=vr(),n=Cp(),o=Kr(),a=ao(),s=wp(),i=Sp(),l="Object already initialized",c=t.TypeError,u=t.WeakMap,f,d,h,m=function(g){return h(g)?d(g):f(g,{})},y=function(g){return function(b){var w;if(!r(b)||(w=d(b)).type!==g)throw new c("Incompatible receiver, "+g+" required");return w}};if(e||a.state){var v=a.state||(a.state=new u);v.get=v.get,v.has=v.has,v.set=v.set,f=function(g,b){if(v.has(g))throw new c(l);return b.facade=g,v.set(g,b),b},d=function(g){return v.get(g)||{}},h=function(g){return v.has(g)}}else{var p=s("state");i[p]=!0,f=function(g,b){if(o(g,p))throw new c(l);return b.facade=g,n(g,p,b),b},d=function(g){return o(g,p)?g[p]:{}},h=function(g){return o(g,p)}}return Mo={set:f,get:d,has:h,enforce:m,getterFor:y},Mo}var Vs;function Op(){if(Vs)return Kn.exports;Vs=1;var e=dr(),t=yt(),r=ot(),n=Kr(),o=bt(),a=ep().CONFIGURABLE,s=np(),i=xp(),l=i.enforce,c=i.get,u=String,f=Object.defineProperty,d=e("".slice),h=e("".replace),m=e([].join),y=o&&!t(function(){return f(function(){},"length",{value:8}).length!==8}),v=String(String).split("String"),p=Kn.exports=function(g,b,w){d(u(b),0,7)==="Symbol("&&(b="["+h(u(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),w&&w.getter&&(b="get "+b),w&&w.setter&&(b="set "+b),(!n(g,"name")||a&&g.name!==b)&&(o?f(g,"name",{value:b,configurable:!0}):g.name=b),y&&w&&n(w,"arity")&&g.length!==w.arity&&f(g,"length",{value:w.arity});try{w&&n(w,"constructor")&&w.constructor?o&&f(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch{}var k=l(g);return n(k,"source")||(k.source=m(v,typeof b=="string"?b:"")),g};return Function.prototype.toString=p(function(){return r(this)&&c(this).source||s(this)},"toString"),Kn.exports}var qo,Us;function _p(){if(Us)return qo;Us=1;var e=Op(),t=Ns();return qo=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)},qo}var No,Ws;function kp(){if(Ws)return No;Ws=1;var e=Fe(),t=yt(),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 No={correct:n},No}var Bo,Ks;function Ep(){if(Ks)return Bo;Ks=1;var e=hs();return Bo=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},Bo}var zs;function Ap(){if(zs)return Hl;zs=1;var e=bt(),t=_p(),r=kp(),n=Ep();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),Hl}Ap();var Ys=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Do(e){var t={exports:{}};return e(t,t.exports),t.exports}var zr=function(e){return e&&e.Math==Math&&e},ae=zr(typeof globalThis=="object"&&globalThis)||zr(typeof window=="object"&&window)||zr(typeof self=="object"&&self)||zr(typeof Ys=="object"&&Ys)||(function(){return this})()||Function("return this")(),X=function(e){try{return!!e()}catch{return!0}},Re=!X(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Xs={}.propertyIsEnumerable,Js=Object.getOwnPropertyDescriptor,Tp={f:Js&&!Xs.call({1:2},1)?function(e){var t=Js(this,e);return!!t&&t.enumerable}:Xs},Yr=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Rp={}.toString,Ye=function(e){return Rp.call(e).slice(8,-1)},jp="".split,Xr=X(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return Ye(e)=="String"?jp.call(e,""):Object(e)}:Object,at=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},$t=function(e){return Xr(at(e))},se=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Go=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")},Pp={}.hasOwnProperty,oe=function(e,t){return Pp.call(e,t)},Lo=ae.document,$p=se(Lo)&&se(Lo.createElement),Zs=function(e){return $p?Lo.createElement(e):{}},Qs=!Re&&!X(function(){return Object.defineProperty(Zs("div"),"a",{get:function(){return 7}}).a!=7}),eu=Object.getOwnPropertyDescriptor,Ho={f:Re?eu:function(e,t){if(e=$t(e),t=Go(t,!0),Qs)try{return eu(e,t)}catch{}if(oe(e,t))return Yr(!Tp.f.call(e,t),e[t])}},pe=function(e){if(!se(e))throw TypeError(String(e)+" is not an object");return e},tu=Object.defineProperty,Xe={f:Re?tu:function(e,t,r){if(pe(e),t=Go(t,!0),pe(r),Qs)try{return tu(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}},je=Re?function(e,t,r){return Xe.f(e,t,Yr(1,r))}:function(e,t,r){return e[t]=r,e},Vo=function(e,t){try{je(ae,e,t)}catch{ae[e]=t}return t},Ct=ae["__core-js_shared__"]||Vo("__core-js_shared__",{}),Ip=Function.toString;typeof Ct.inspectSource!="function"&&(Ct.inspectSource=function(e){return Ip.call(e)});var Jr,pr,Zr,ru=Ct.inspectSource,nu=ae.WeakMap,Fp=typeof nu=="function"&&/native code/.test(ru(nu)),ou=Do(function(e){(e.exports=function(t,r){return Ct[t]||(Ct[t]=r!==void 0?r:{})})("versions",[]).push({version:"3.8.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Mp=0,qp=Math.random(),Uo=function(e){return"Symbol("+String(e===void 0?"":e)+")_"+(++Mp+qp).toString(36)},au=ou("keys"),Wo=function(e){return au[e]||(au[e]=Uo(e))},Qr={},Np=ae.WeakMap;if(Fp){var It=Ct.state||(Ct.state=new Np),Bp=It.get,Dp=It.has,Gp=It.set;Jr=function(e,t){return t.facade=e,Gp.call(It,e,t),t},pr=function(e){return Bp.call(It,e)||{}},Zr=function(e){return Dp.call(It,e)}}else{var gr=Wo("state");Qr[gr]=!0,Jr=function(e,t){return t.facade=e,je(e,gr,t),t},pr=function(e){return oe(e,gr)?e[gr]:{}},Zr=function(e){return oe(e,gr)}}var it={set:Jr,get:pr,has:Zr,enforce:function(e){return Zr(e)?pr(e):Jr(e,{})},getterFor:function(e){return function(t){var r;if(!se(t)||(r=pr(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}},lt=Do(function(e){var t=it.get,r=it.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")||je(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:je(o,a,s)):u?o[a]=s:Vo(a,s)})(Function.prototype,"toString",function(){return typeof this=="function"&&t(this).source||ru(this)})}),Ko=ae,iu=function(e){return typeof e=="function"?e:void 0},en=function(e,t){return arguments.length<2?iu(Ko[e])||iu(ae[e]):Ko[e]&&Ko[e][t]||ae[e]&&ae[e][t]},Lp=Math.ceil,Hp=Math.floor,Ft=function(e){return isNaN(e=+e)?0:(e>0?Hp:Lp)(e)},Vp=Math.min,ke=function(e){return e>0?Vp(Ft(e),9007199254740991):0},Up=Math.max,Wp=Math.min,tn=function(e,t){var r=Ft(e);return r<0?Up(r+t,0):Wp(r,t)},Kp=function(e){return function(t,r,n){var o,a=$t(t),s=ke(a.length),i=tn(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}},lu={indexOf:Kp(!1)},zp=lu.indexOf,su=function(e,t){var r,n=$t(e),o=0,a=[];for(r in n)!oe(Qr,r)&&oe(n,r)&&a.push(r);for(;t.length>o;)oe(n,r=t[o++])&&(~zp(a,r)||a.push(r));return a},rn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Yp=rn.concat("length","prototype"),Xp={f:Object.getOwnPropertyNames||function(e){return su(e,Yp)}},Jp={f:Object.getOwnPropertySymbols},Zp=en("Reflect","ownKeys")||function(e){var t=Xp.f(pe(e)),r=Jp.f;return r?t.concat(r(e)):t},Qp=function(e,t){for(var r=Zp(t),n=Xe.f,o=Ho.f,a=0;a<r.length;a++){var s=r[a];oe(e,s)||n(e,s,o(t,s))}},eg=/#|\.prototype\./,mr=function(e,t){var r=rg[tg(e)];return r==og||r!=ng&&(typeof t=="function"?X(t):!!t)},tg=mr.normalize=function(e){return String(e).replace(eg,".").toLowerCase()},rg=mr.data={},ng=mr.NATIVE="N",og=mr.POLYFILL="P",zo=mr,ag=Ho.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]||Vo(i,{}):(ae[i]||{}).prototype)for(n in t){if(a=t[n],o=e.noTargetGet?(s=ag(r,n))&&s.value:r[n],!zo(l?n:i+(c?".":"#")+n,e.forced)&&o!==void 0){if(typeof a==typeof o)continue;Qp(a,o)}(e.sham||o&&o.sham)&&je(a,"sham",!0),lt(r,n,a,e)}},Yo=function(e,t){var r=[][e];return!!r&&X(function(){r.call(null,t||function(){throw 1},1)})},ig=Object.defineProperty,Xo={},uu=function(e){throw e},Mt=function(e,t){if(oe(Xo,e))return Xo[e];t||(t={});var r=[][e],n=!!oe(t,"ACCESSORS")&&t.ACCESSORS,o=oe(t,0)?t[0]:uu,a=oe(t,1)?t[1]:void 0;return Xo[e]=!!r&&!X(function(){if(n&&!Re)return!0;var s={length:-1};n?ig(s,1,{enumerable:!0,get:uu}):s[1]=1,r.call(s,o,a)})},lg=lu.indexOf,cu=[].indexOf,fu=!!cu&&1/[1].indexOf(1,-0)<0,sg=Yo("indexOf"),ug=Mt("indexOf",{ACCESSORS:!0,1:0});function wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cg(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 St(e,t,r){return r&&cg(e,r),e}de({target:"Array",proto:!0,forced:fu||!sg||!ug},{indexOf:function(e){return fu?cu.apply(this,arguments)||0:lg(this,e,arguments.length>1?arguments[1]:void 0)}}),(function(){function e(){wt(this,e)}return St(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 fg=[].join,dg=Xr!=Object,hg=Yo("join",",");de({target:"Array",proto:!0,forced:dg||!hg},{join:function(e){return fg.call($t(this),e===void 0?",":e)}});var qt,nn,Je=function(e){return Object(at(e))},Nt=Array.isArray||function(e){return Ye(e)=="Array"},du=!!Object.getOwnPropertySymbols&&!X(function(){return!String(Symbol())}),vg=du&&!Symbol.sham&&typeof Symbol.iterator=="symbol",on=ou("wks"),yr=ae.Symbol,pg=vg?yr:yr&&yr.withoutSetter||Uo,Q=function(e){return oe(on,e)||(du&&oe(yr,e)?on[e]=yr[e]:on[e]=pg("Symbol."+e)),on[e]},gg=Q("species"),an=function(e,t){var r;return Nt(e)&&(typeof(r=e.constructor)!="function"||r!==Array&&!Nt(r.prototype)?se(r)&&(r=r[gg])===null&&(r=void 0):r=void 0),new(r===void 0?Array:r)(t===0?0:t)},Bt=function(e,t,r){var n=Go(t);n in e?Xe.f(e,n,Yr(0,r)):e[n]=r},Jo=en("navigator","userAgent")||"",hu=ae.process,vu=hu&&hu.versions,pu=vu&&vu.v8;pu?nn=(qt=pu.split("."))[0]+qt[1]:Jo&&(!(qt=Jo.match(/Edge\/(\d+)/))||qt[1]>=74)&&(qt=Jo.match(/Chrome\/(\d+)/))&&(nn=qt[1]);var ln=nn&&+nn,mg=Q("species"),Zo=function(e){return ln>=51||!X(function(){var t=[];return(t.constructor={})[mg]=function(){return{foo:1}},t[e](Boolean).foo!==1})},yg=Zo("splice"),bg=Mt("splice",{ACCESSORS:!0,0:0,1:2}),Cg=Math.max,wg=Math.min;de({target:"Array",proto:!0,forced:!yg||!bg},{splice:function(e,t){var r,n,o,a,s,i,l=Je(this),c=ke(l.length),u=tn(e,c),f=arguments.length;if(f===0?r=n=0:f===1?(r=0,n=c-u):(r=f-2,n=wg(Cg(Ft(t),0),c-u)),c+r-n>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=an(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 gu={};gu[Q("toStringTag")]="z";var Qo=String(gu)==="[object z]",Sg=Q("toStringTag"),xg=Ye((function(){return arguments})())=="Arguments",mu=Qo?Ye: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),Sg))=="string"?r:xg?Ye(t):(n=Ye(t))=="Object"&&typeof t.callee=="function"?"Arguments":n},Og=Qo?{}.toString:function(){return"[object "+mu(this)+"]"};Qo||lt(Object.prototype,"toString",Og,{unsafe:!0});var yu=function(){var e=pe(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 bu(e,t){return RegExp(e,t)}var ea,ta,Cu={UNSUPPORTED_Y:X(function(){var e=bu("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),BROKEN_CARET:X(function(){var e=bu("^r","gy");return e.lastIndex=2,e.exec("str")!=null})},sn=RegExp.prototype.exec,_g=String.prototype.replace,wu=sn,ra=(ea=/a/,ta=/b*/g,sn.call(ea,"a"),sn.call(ta,"a"),ea.lastIndex!==0||ta.lastIndex!==0),Su=Cu.UNSUPPORTED_Y||Cu.BROKEN_CARET,na=/()??/.exec("")[1]!==void 0;(ra||na||Su)&&(wu=function(e){var t,r,n,o,a=this,s=Su&&a.sticky,i=yu.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)),na&&(r=new RegExp("^"+l+"$(?!\\s)",i)),ra&&(t=a.lastIndex),n=sn.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:ra&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),na&&n&&n.length>1&&_g.call(n[0],r,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(n[o]=void 0)}),n});var br=wu;de({target:"RegExp",proto:!0,forced:/./.exec!==br},{exec:br});var xu=RegExp.prototype,Ou=xu.toString,kg=X(function(){return Ou.call({source:"a",flags:"b"})!="/a/b"}),Eg=Ou.name!="toString";(kg||Eg)&&lt(RegExp.prototype,"toString",function(){var e=pe(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(r===void 0&&e instanceof RegExp&&!("flags"in xu)?yu.call(e):r)},{unsafe:!0});var Ag=Q("species"),Tg=!X(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"}),_u="a".replace(/./,"$0")==="$0",ku=Q("replace"),Eu=!!/./[ku]&&/./[ku]("a","$0")==="",Rg=!X(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"}),Au=function(e,t,r,n){var o=Q(e),a=!X(function(){var f={};return f[o]=function(){return 7},""[e](f)!=7}),s=a&&!X(function(){var f=!1,d=/a/;return e==="split"&&((d={}).constructor={},d.constructor[Ag]=function(){return d},d.flags="",d[o]=/./[o]),d.exec=function(){return f=!0,null},d[o](""),!f});if(!a||!s||e==="replace"&&(!Tg||!_u||Eu)||e==="split"&&!Rg){var i=/./[o],l=r(o,""[e],function(f,d,h,m,y){return d.exec===br?a&&!y?{done:!0,value:i.call(d,h,m)}:{done:!0,value:f.call(h,d,m)}:{done:!1}},{REPLACE_KEEPS_$0:_u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Eu}),c=l[0],u=l[1];lt(String.prototype,e,c),lt(RegExp.prototype,o,function(f,d){return u.call(f,this,d)})}n&&je(RegExp.prototype[o],"sham",!0)},jg=Q("match"),Tu=function(e){var t;return se(e)&&((t=e[jg])!==void 0?!!t:Ye(e)=="RegExp")},oa=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e},Pg=Q("species"),$g=function(e){return function(t,r){var n,o,a=String(at(t)),s=Ft(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}},Ru={charAt:$g(!0)},Ig=Ru.charAt,ju=function(e,t,r){return t+(r?Ig(e,t).length:1)},aa=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(Ye(e)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return br.call(e,t)},Fg=[].push,Mg=Math.min,Dt=!X(function(){return!RegExp(4294967295,"y")});Au("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(at(this)),i=a===void 0?4294967295:a>>>0;if(i===0)return[];if(o===void 0)return[s];if(!Tu(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,m=new RegExp(o.source,d+"g");(l=br.call(m,s))&&!((c=m.lastIndex)>h&&(f.push(s.slice(h,l.index)),l.length>1&&l.index<s.length&&Fg.apply(f,l.slice(1)),u=l[0].length,h=c,f.length>=i));)m.lastIndex===l.index&&m.lastIndex++;return h===s.length?!u&&m.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=at(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=pe(o),l=String(this),c=(function(w,k){var _,M=pe(w).constructor;return M===void 0||(_=pe(M)[Pg])==null?k:oa(_)})(i,RegExp),u=i.unicode,f=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Dt?"y":"g"),d=new c(Dt?i:"^(?:"+i.source+")",f),h=a===void 0?4294967295:a>>>0;if(h===0)return[];if(l.length===0)return aa(d,l)===null?[l]:[];for(var m=0,y=0,v=[];y<l.length;){d.lastIndex=Dt?y:0;var p,g=aa(d,Dt?l:l.slice(y));if(g===null||(p=Mg(ke(d.lastIndex+(Dt?0:y)),l.length))===m)y=ju(l,y,u);else{if(v.push(l.slice(m,y)),v.length===h)return v;for(var b=1;b<=g.length-1;b++)if(v.push(g[b]),v.length===h)return v;y=m=p}}return v.push(l.slice(m)),v}]},!Dt);var ia=`
20
- \v\f\r                 \u2028\u2029\uFEFF`,un="["+ia+"]",qg=RegExp("^"+un+un+"*"),Ng=RegExp(un+un+"*$"),Bg=function(e){return function(t){var r=String(at(t));return 1&e&&(r=r.replace(qg,"")),2&e&&(r=r.replace(Ng,"")),r}},Dg={trim:Bg(3)},Gg=Dg.trim;de({target:"String",proto:!0,forced:(function(e){return X(function(){return!!ia[e]()||"​…᠎"[e]()!="​…᠎"||ia[e].name!==e})})("trim")},{trim:function(){return Gg(this)}});var Lg=Zo("slice"),Hg=Mt("slice",{ACCESSORS:!0,0:0,1:2}),Vg=Q("species"),Ug=[].slice,Wg=Math.max;de({target:"Array",proto:!0,forced:!Lg||!Hg},{slice:function(e,t){var r,n,o,a=$t(this),s=ke(a.length),i=tn(e,s),l=tn(t===void 0?s:t,s);if(Nt(a)&&(typeof(r=a.constructor)!="function"||r!==Array&&!Nt(r.prototype)?se(r)&&(r=r[Vg])===null&&(r=void 0):r=void 0,r===Array||r===void 0))return Ug.call(a,i,l);for(n=new(r===void 0?Array:r)(Wg(l-i,0)),o=0;i<l;i++,o++)i in a&&Bt(n,o,a[i]);return n.length=o,n}});var la=Object.keys||function(e){return su(e,rn)},Kg=X(function(){la(1)});de({target:"Object",stat:!0,forced:Kg},{keys:function(e){return la(Je(e))}});var sa,zg=function(e){if(Tu(e))throw TypeError("The method doesn't accept regular expressions");return e},Yg=Q("match"),Xg=Ho.f,Pu="".startsWith,Jg=Math.min,$u=(function(e){var t=/./;try{"/./"[e](t)}catch{try{return t[Yg]=!1,"/./"[e](t)}catch{}}return!1})("startsWith"),Zg=!($u||(sa=Xg(String.prototype,"startsWith"),!sa||sa.writable));function Iu(e){return(Iu=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:!Zg&&!$u},{startsWith:function(e){var t=String(at(this));zg(e);var r=ke(Jg(arguments.length>1?arguments[1]:void 0,t.length)),n=String(e);return Pu?Pu.call(t,n,r):t.slice(r,r+n.length)===n}});var Gt=function(e){return typeof e=="string"},Lt=function(e){return e!==null&&Iu(e)==="object"},Cr=(function(){function e(){wt(this,e)}return St(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&&Lt(t)&&t.nodeType===1?t.getBoundingClientRect():null}},{key:"hasClass",value:function(t,r){return!!(t&&Lt(t)&&Gt(r)&&t.nodeType===1)&&t.classList.contains(r.trim())}},{key:"addClass",value:function(t,r){if(t&&Lt(t)&&Gt(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&&Lt(t)&&Gt(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&&Lt(t)&&Gt(r)&&t.nodeType===1&&t.classList.toggle(r,n)}},{key:"replaceClass",value:function(t,r,n){t&&Lt(t)&&Gt(r)&&Gt(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})(),Qg=Math.floor,em="".replace,tm=/\$([$&'`]|\d\d?|<[^>]*>)/g,rm=/\$([$&'`]|\d\d?)/g,nm=function(e,t,r,n,o,a){var s=r+e.length,i=n.length,l=rm;return o!==void 0&&(o=Je(o),l=tm),em.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=Qg(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})},om=Math.max,am=Math.min;Au("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=at(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=pe(i),f=String(this),d=typeof l=="function";d||(l=String(l));var h=u.global;if(h){var m=u.unicode;u.lastIndex=0}for(var y=[];;){var v=aa(u,f);if(v===null||(y.push(v),!h))break;String(v[0])===""&&(u.lastIndex=ju(f,ke(u.lastIndex),m))}for(var p,g="",b=0,w=0;w<y.length;w++){v=y[w];for(var k=String(v[0]),_=om(am(Ft(v.index),f.length),0),M=[],H=1;H<v.length;H++)M.push((p=v[H])===void 0?p:String(p));var N=v.groups;if(d){var W=[k].concat(M,_,f);N!==void 0&&W.push(N);var C=String(l.apply(void 0,W))}else C=nm(k,f,_,M,N,l);_>=b&&(g+=f.slice(b,_)+C,b=_+k.length)}return g+f.slice(b)}]}),(function(){function e(){wt(this,e)}return St(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(){wt(this,e)}return St(e,null,[{key:"_clone",value:function(){}}]),e})();var Fu=Q("isConcatSpreadable"),im=ln>=51||!X(function(){var e=[];return e[Fu]=!1,e.concat()[0]!==e}),lm=Zo("concat"),sm=function(e){if(!se(e))return!1;var t=e[Fu];return t!==void 0?!!t:Nt(e)};de({target:"Array",proto:!0,forced:!im||!lm},{concat:function(e){var t,r,n,o,a,s=Je(this),i=an(s,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(sm(a=t===-1?s:arguments[t])){if(l+(o=ke(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 ua,wr=function(e,t,r){if(oa(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)}},Mu=[].push,qu=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,m=Je(l),y=Xr(m),v=wr(c,u,3),p=ke(y.length),g=0,b=f||an,w=t?b(l,p):r||s?b(l,0):void 0;p>g;g++)if((i||g in y)&&(h=v(d=y[g],g,m),e))if(t)w[g]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return g;case 2:Mu.call(w,d)}else switch(e){case 4:return!1;case 7:Mu.call(w,d)}return a?-1:n||o?o:w}},Nu={find:qu(5),findIndex:qu(6)},um=Re?Object.defineProperties:function(e,t){pe(e);for(var r,n=la(t),o=n.length,a=0;o>a;)Xe.f(e,r=n[a++],t[r]);return e},cm=en("document","documentElement"),Bu=Wo("IE_PROTO"),ca=function(){},Du=function(e){return"<script>"+e+"<\/script>"},cn=function(){try{ua=document.domain&&new ActiveXObject("htmlfile")}catch{}var e,t;cn=ua?(function(n){n.write(Du("")),n.close();var o=n.parentWindow.Object;return n=null,o})(ua):((t=Zs("iframe")).style.display="none",cm.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write(Du("document.F=Object")),e.close(),e.F);for(var r=rn.length;r--;)delete cn.prototype[rn[r]];return cn()};Qr[Bu]=!0;var fa=Object.create||function(e,t){var r;return e!==null?(ca.prototype=pe(e),r=new ca,ca.prototype=null,r[Bu]=e):r=cn(),t===void 0?r:um(r,t)},da=Q("unscopables"),ha=Array.prototype;ha[da]==null&&Xe.f(ha,da,{configurable:!0,value:fa(null)});var Ht=function(e){ha[da][e]=!0},fm=Nu.find,Gu=!0,dm=Mt("find");"find"in[]&&Array(1).find(function(){Gu=!1}),de({target:"Array",proto:!0,forced:Gu||!dm},{find:function(e){return fm(this,e,arguments.length>1?arguments[1]:void 0)}}),Ht("find");var hm=Nu.findIndex,Lu=!0,vm=Mt("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){Lu=!1}),de({target:"Array",proto:!0,forced:Lu||!vm},{findIndex:function(e){return hm(this,e,arguments.length>1?arguments[1]:void 0)}}),Ht("findIndex");var Hu=function(e,t,r,n,o,a,s,i){for(var l,c=o,u=0,f=!!s&&wr(s,i,3);u<n;){if(u in r){if(l=f?f(r[u],u,t):r[u],a>0&&Nt(l))c=Hu(e,t,l,ke(l.length),c,a-1)-1;else{if(c>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[c]=l}c++}u++}return c},pm=Hu;de({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=Je(this),r=ke(t.length),n=an(t,0);return n.length=pm(n,t,t,r,0,e===void 0?1:Ft(e)),n}});var va=function(e){var t=e.return;if(t!==void 0)return pe(t.call(e)).value},gm=function(e,t,r,n){try{return n?t(pe(r)[0],r[1]):t(r)}catch(o){throw va(e),o}},Vt={},mm=Q("iterator"),ym=Array.prototype,Vu=function(e){return e!==void 0&&(Vt.Array===e||ym[mm]===e)},bm=Q("iterator"),Uu=function(e){if(e!=null)return e[bm]||e["@@iterator"]||Vt[mu(e)]},Wu=Q("iterator"),Ku=!1;try{var Cm=0,zu={next:function(){return{done:!!Cm++}},return:function(){Ku=!0}};zu[Wu]=function(){return this},Array.from(zu,function(){throw 2})}catch{}var Yu=function(e,t){if(!Ku)return!1;var r=!1;try{var n={};n[Wu]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},wm=!Yu(function(e){Array.from(e)});de({target:"Array",stat:!0,forced:wm},{from:function(e){var t,r,n,o,a,s,i=Je(e),l=typeof this=="function"?this:Array,c=arguments.length,u=c>1?arguments[1]:void 0,f=u!==void 0,d=Uu(i),h=0;if(f&&(u=wr(u,c>2?arguments[2]:void 0,2)),d==null||l==Array&&Vu(d))for(r=new l(t=ke(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?gm(o,u,[n.value,h],!0):n.value,Bt(r,h,s);return r.length=h,r}});var Sm=function(e){return function(t,r,n,o){oa(r);var a=Je(t),s=Xr(a),i=ke(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}},xm={left:Sm(!1)},Om=Ye(ae.process)=="process",_m=xm.left,km=Yo("reduce"),Em=Mt("reduce",{1:0});de({target:"Array",proto:!0,forced:!km||!Em||!Om&&ln>79&&ln<83},{reduce:function(e){return _m(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}}),Ht("flat");var xt,Xu,Ju,Am=!X(function(){return Object.isExtensible(Object.preventExtensions({}))}),Zu=Do(function(e){var t=Xe.f,r=Uo("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 Am&&s.REQUIRED&&o(i)&&!oe(i,r)&&a(i),i}};Qr[r]=!0}),Sr=function(e,t){this.stopped=e,this.result=t},Qu=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),m=wr(t,u,1+f+h),y=function(p){return n&&va(n),new Sr(!0,p)},v=function(p){return f?(pe(p),h?m(p[0],p[1],y):m(p[0],p[1])):h?m(p,y):m(p)};if(d)n=e;else{if(typeof(o=Uu(e))!="function")throw TypeError("Target is not iterable");if(Vu(o)){for(a=0,s=ke(e.length);s>a;a++)if((i=v(e[a]))&&i instanceof Sr)return i;return new Sr(!1)}n=o.call(e)}for(l=n.next;!(c=l.call(n)).done;){try{i=v(c.value)}catch(p){throw va(n),p}if(typeof i=="object"&&i&&i instanceof Sr)return i}return new Sr(!1)},ec=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e},Tm=Xe.f,tc=Q("toStringTag"),pa=function(e,t,r){e&&!oe(e=r?e:e.prototype,tc)&&Tm(e,tc,{configurable:!0,value:t})},fn=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 pe(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),rc=function(e,t,r){for(var n in t)lt(e,n,t[n],r);return e},Rm=!X(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),nc=Wo("IE_PROTO"),jm=Object.prototype,dn=Rm?Object.getPrototypeOf:function(e){return e=Je(e),oe(e,nc)?e[nc]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?jm:null},ga=Q("iterator"),oc=!1;[].keys&&("next"in(Ju=[].keys())?(Xu=dn(dn(Ju)))!==Object.prototype&&(xt=Xu):oc=!0),(xt==null||X(function(){var e={};return xt[ga].call(e)!==e}))&&(xt={}),oe(xt,ga)||je(xt,ga,function(){return this});var ma={IteratorPrototype:xt,BUGGY_SAFARI_ITERATORS:oc},Pm=ma.IteratorPrototype,$m=function(){return this},ya=ma.IteratorPrototype,hn=ma.BUGGY_SAFARI_ITERATORS,xr=Q("iterator"),Im=function(){return this},ba=function(e,t,r,n,o,a,s){(function(p,g,b){var w=g+" Iterator";p.prototype=fa(Pm,{next:Yr(1,b)}),pa(p,w,!1),Vt[w]=$m})(r,t,n);var i,l,c,u=function(p){if(p===o&&y)return y;if(!hn&&p in h)return h[p];switch(p){case"keys":case"values":case"entries":return function(){return new r(this,p)}}return function(){return new r(this)}},f=t+" Iterator",d=!1,h=e.prototype,m=h[xr]||h["@@iterator"]||o&&h[o],y=!hn&&m||u(o),v=t=="Array"&&h.entries||m;if(v&&(i=dn(v.call(new e)),ya!==Object.prototype&&i.next&&(dn(i)!==ya&&(fn?fn(i,ya):typeof i[xr]!="function"&&je(i,xr,Im)),pa(i,f,!0))),o=="values"&&m&&m.name!=="values"&&(d=!0,y=function(){return m.call(this)}),h[xr]!==y&&je(h,xr,y),Vt[t]=y,o)if(l={values:u("values"),keys:a?y:u("keys"),entries:u("entries")},s)for(c in l)(hn||d||!(c in h))&&lt(h,c,l[c]);else de({target:t,proto:!0,forced:hn||d},l);return l},ac=Q("species"),Fm=Xe.f,ic=Zu.fastKey,lc=it.set,Ca=it.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(v){var p=i[v];lt(i,v,v=="add"?function(g){return p.call(this,g===0?0:g),this}:v=="delete"?function(g){return!(o&&!se(g))&&p.call(this,g===0?0:g)}:v=="get"?function(g){return o&&!se(g)?void 0:p.call(this,g===0?0:g)}:v=="has"?function(g){return!(o&&!se(g))&&p.call(this,g===0?0:g)}:function(g,b){return p.call(this,g===0?0:g,b),this})};if(zo(e,typeof s!="function"||!(o||i.forEach&&!X(function(){new s().entries().next()}))))l=r.getConstructor(t,e,n,a),Zu.REQUIRED=!0;else if(zo(e,!0)){var f=new l,d=f[a](o?{}:-0,1)!=f,h=X(function(){f.has(1)}),m=Yu(function(v){new s(v)}),y=!o&&X(function(){for(var v=new s,p=5;p--;)v[a](p,p);return!v.has(-0)});m||((l=t(function(v,p){ec(v,l,e);var g=(function(b,w,k){var _,M;return fn&&typeof(_=w.constructor)=="function"&&_!==k&&se(M=_.prototype)&&M!==k.prototype&&fn(b,M),b})(new s,v,l);return p!=null&&Qu(p,g[a],{that:g,AS_ENTRIES:n}),g})).prototype=i,i.constructor=l),(h||y)&&(u("delete"),u("has"),n&&u("get")),(y||d)&&u(a),o&&i.clear&&delete i.clear}c[e]=l,de({global:!0,forced:l!=s},c),pa(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){ec(l,o,t),lc(l,{type:t,index:fa(null),first:void 0,last:void 0,size:0}),Re||(l.size=0),c!=null&&Qu(c,l[n],{that:l,AS_ENTRIES:r})}),a=Ca(t),s=function(l,c,u){var f,d,h=a(l),m=i(l,c);return m?m.value=u:(h.last=m={index:d=ic(c,!0),key:c,value:u,previous:f=h.last,next:void 0,removed:!1},h.first||(h.first=m),f&&(f.next=m),Re?h.size++:l.size++,d!=="F"&&(h.index[d]=m)),l},i=function(l,c){var u,f=a(l),d=ic(c);if(d!=="F")return f.index[d];for(u=f.first;u;u=u.next)if(u.key==c)return u};return rc(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,Re?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),Re?u.size--:c.size--}return!!f},forEach:function(l){for(var c,u=a(this),f=wr(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)}}),rc(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)}}),Re&&Fm(o.prototype,"size",{get:function(){return a(this).size}}),o},setStrong:function(e,t,r){var n=t+" Iterator",o=Ca(t),a=Ca(n);ba(e,t,function(s,i){lc(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=en(s),l=Xe.f;Re&&i&&!i[ac]&&l(i,ac,{configurable:!0,get:function(){return this}})})(t)}});var Mm=Ru.charAt,qm=it.set,Nm=it.getterFor("String Iterator");ba(String,"String",function(e){qm(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=Nm(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=Mm(r,n),t.index+=e.length,{value:e,done:!1})});var sc={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},Bm=it.set,Dm=it.getterFor("Array Iterator"),Or=ba(Array,"Array",function(e,t){Bm(this,{type:"Array Iterator",target:$t(e),index:0,kind:t})},function(){var e=Dm(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");Vt.Arguments=Vt.Array,Ht("keys"),Ht("values"),Ht("entries");var wa=Q("iterator"),uc=Q("toStringTag"),Sa=Or.values;for(var xa in sc){var cc=ae[xa],Ze=cc&&cc.prototype;if(Ze){if(Ze[wa]!==Sa)try{je(Ze,wa,Sa)}catch{Ze[wa]=Sa}if(Ze[uc]||je(Ze,uc,xa),sc[xa]){for(var Ut in Or)if(Ze[Ut]!==Or[Ut])try{je(Ze,Ut,Or[Ut])}catch{Ze[Ut]=Or[Ut]}}}}(function(){function e(){wt(this,e)}return St(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(){wt(this,e)}return St(e,null,[{key:"today",value:function(){return new Date}}]),e})(),(function(){function e(){wt(this,e)}return St(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 Gm=Object.defineProperty,Lm=(e,t,r)=>t in e?Gm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,he=(e,t,r)=>(Lm(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=O(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=O(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=O({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=O({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=O({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=O({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=O({...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=O({...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=O({...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 fc(e,t,r,n){return`rgba(${[e,t,r,n/100].join(",")})`}const Oa=(e,t,r)=>t<r?e<t?t:e>r?r:e:e<r?r:e>t?t:e,_a="color-history",ka=8,Pe=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},Hm=$({name:"Alpha",props:{color:F.instanceOf(ee),size:F.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const r=B(null),n=B(null);let o=e.color||new ee;const a=we({red:o.red,green:o.green,blue:o.blue,alpha:o.alpha});ve(()=>e.color,f=>{f&&(o=f,Jt(a,{red:f.red,green:f.green,blue:f.blue,alpha:f.alpha}))},{deep:!0});const s=G(()=>{const f=fc(a.red,a.green,a.blue,0),d=fc(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=G(()=>({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 m=f.clientX-d.left;m=Math.max(h/2,m),m=Math.min(m,d.width-h/2);const y=Math.round((m-h/2)/(d.width-h)*100);o.alpha=y,a.alpha=y,t("change",y)}};return dt(()=>{const f={drag:d=>{u(d)},end:d=>{u(d)}};r.value&&n.value&&Cr.triggerDragEvent(r.value,f)}),{barElement:r,cursorElement:n,getCursorStyle:l,getBackgroundStyle:s,onClickSider:c}}}),Vm=e=>(ut("data-v-18925ba6"),e=e(),ct(),e),Um=Vm(()=>E("div",{class:"vc-alpha-slider__bar-handle"},null,-1)),Wm=[Um];function Km(e,t,r,n,o,a){return I(),U("div",{class:ue(["vc-alpha-slider","transparent",{"small-slider":e.size==="small"}])},[E("div",{ref:"barElement",class:"vc-alpha-slider__bar",style:ie(e.getBackgroundStyle),onClick:t[0]||(t[0]=(...s)=>e.onClickSider&&e.onClickSider(...s))},[E("div",{class:ue(["vc-alpha-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:ie(e.getCursorStyle)},Wm,6)],4)],2)}const Ea=Pe(Hm,[["render",Km],["__scopeId","data-v-18925ba6"]]),zm=[["#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"]],Ym=$({name:"Palette",emits:["change"],setup(e,{emit:t}){return{palettes:zm,computedBgStyle:r=>r==="transparent"?r:r==="advance"?{}:{background:O(r).toRgbString()},onColorChange:r=>{t("change",r)}}}}),Xm={class:"vc-compact"},Jm=["onClick"];function Zm(e,t,r,n,o,a){return I(),U("div",Xm,[(I(!0),U(tt,null,kt(e.palettes,(s,i)=>(I(),U("div",{key:i,class:"vc-compact__row"},[(I(!0),U(tt,null,kt(s,(l,c)=>(I(),U("div",{key:c,class:"vc-compact__color-cube--wrap",onClick:u=>e.onColorChange(l)},[E("div",{class:ue(["vc-compact__color_cube",{advance:l==="advance",transparent:l==="transparent"}]),style:ie(e.computedBgStyle(l))},null,6)],8,Jm))),128))]))),128))])}const dc=Pe(Ym,[["render",Zm],["__scopeId","data-v-b969fd48"]]),Qm=$({name:"Board",props:{color:F.instanceOf(ee),round:F.bool.def(!1),hide:F.bool.def(!0)},emits:["change"],setup(e,{emit:t}){var r,n,o;const a=Ar(),s={h:((r=e.color)==null?void 0:r.hue)||0,s:1,v:1},i=new ee(s).toHexString(),l=we({hueColor:i,saturation:((n=e.color)==null?void 0:n.saturation)||0,brightness:((o=e.color)==null?void 0:o.brightness)||0}),c=B(0),u=B(0),f=B(),d=G(()=>({top:c.value+"px",left:u.value+"px"})),h=()=>{if(a){const b=a.vnode.el;u.value=l.saturation*(b==null?void 0:b.clientWidth),c.value=(1-l.brightness)*(b==null?void 0:b.clientHeight)}};let m=!1;const y=b=>{m=!0,g(b)},v=b=>{m&&g(b)},p=()=>{m=!1},g=b=>{if(a){const w=a.vnode.el,k=w==null?void 0:w.getBoundingClientRect();let _=b.clientX-k.left,M=b.clientY-k.top;_=Oa(_,0,k.width),M=Oa(M,0,k.height);const H=_/k.width,N=Oa(-(M/k.height)+1,0,1);u.value=_,c.value=M,l.saturation=H,l.brightness=N,t("change",H,N)}};return dt(()=>{a&&a.vnode.el&&f.value&&zt(()=>{h()})}),fe(()=>e.color,b=>{Jt(l,{hueColor:new ee({h:b.hue,s:1,v:1}).toHexString(),saturation:b.saturation,brightness:b.brightness}),h()},{deep:!0}),{state:l,cursorElement:f,getCursorStyle:d,onClickBoard:y,onDrag:v,onDragEnd:p}}}),Aa=e=>(ut("data-v-7f0cdcdf"),e=e(),ct(),e),ey=Aa(()=>E("div",{class:"vc-saturation__white"},null,-1)),ty=Aa(()=>E("div",{class:"vc-saturation__black"},null,-1)),ry=Aa(()=>E("div",null,null,-1)),ny=[ry];function oy(e,t,r,n,o,a){return I(),U("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))},[ey,ty,E("div",{class:"vc-saturation__cursor",ref:"cursorElement",style:ie(e.getCursorStyle)},ny,4)],38)}const Ta=Pe(Qm,[["render",oy],["__scopeId","data-v-7f0cdcdf"]]),ay=$({name:"Hue",props:{color:F.instanceOf(ee),size:F.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const r=B(null),n=B(null);let o=e.color||new ee;const a=we({hue:o.hue||0});ve(()=>e.color,u=>{u&&(o=u,Jt(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=G(()=>({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 m=Math.round((h-d/2)/(f.width-d)*360);o.hue=m,a.hue=m,t("change",m)}};return dt(()=>{const u={drag:f=>{c(f)},end:f=>{c(f)}};r.value&&n.value&&Cr.triggerDragEvent(r.value,u)}),{barElement:r,cursorElement:n,getCursorStyle:i,onClickSider:l}}}),iy=e=>(ut("data-v-e1a08576"),e=e(),ct(),e),ly=iy(()=>E("div",{class:"vc-hue-slider__bar-handle"},null,-1)),sy=[ly];function uy(e,t,r,n,o,a){return I(),U("div",{class:ue(["vc-hue-slider",{"small-slider":e.size==="small"}])},[E("div",{ref:"barElement",class:"vc-hue-slider__bar",onClick:t[0]||(t[0]=(...s)=>e.onClickSider&&e.onClickSider(...s))},[E("div",{class:ue(["vc-hue-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:ie(e.getCursorStyle)},sy,6)],512)],2)}const Ra=Pe(ay,[["render",uy],["__scopeId","data-v-e1a08576"]]),cy=$({name:"Lightness",props:{color:F.instanceOf(ee),size:F.oneOf(["small","default"]).def("default")},emits:["change"],setup(e,{emit:t}){const r=B(null),n=B(null);let o=e.color||new ee;const[a,s,i]=o.HSL,l=we({hue:a,saturation:s,lightness:i});ve(()=>e.color,m=>{if(m){o=m;const[y,v,p]=o.HSL;Jt(l,{hue:y,saturation:v,lightness:p})}},{deep:!0});const c=G(()=>{const m=O({h:l.hue,s:l.saturation,l:.8}).toPercentageRgbString(),y=O({h:l.hue,s:l.saturation,l:.6}).toPercentageRgbString(),v=O({h:l.hue,s:l.saturation,l:.4}).toPercentageRgbString(),p=O({h:l.hue,s:l.saturation,l:.2}).toPercentageRgbString();return{background:[`linear-gradient(to right, rgb(255, 255, 255), ${m}, ${y}, ${v}, ${p}, rgb(0, 0, 0))`,`-webkit-linear-gradient(left, rgb(255, 255, 255), ${m}, ${y}, ${v}, ${p}, rgb(0, 0, 0))`,`-moz-linear-gradient(left, rgb(255, 255, 255), ${m}, ${y}, ${v}, ${p}, rgb(0, 0, 0))`,`-ms-linear-gradient(left, rgb(255, 255, 255), ${m}, ${y}, ${v}, ${p}, rgb(0, 0, 0))`]}}),u=()=>{if(r.value&&n.value){const m=l.lightness,y=r.value.getBoundingClientRect(),v=n.value.offsetWidth;return(1-m)*(y.width-v)+v/2}return 0},f=G(()=>({left:u()+"px",top:0})),d=m=>{m.target!==r.value&&h(m)},h=m=>{if(m.stopPropagation(),r.value&&n.value){const y=r.value.getBoundingClientRect(),v=n.value.offsetWidth;let p=m.clientX-y.left;p=Math.max(v/2,p),p=Math.min(p,y.width-v/2);const g=1-(p-v/2)/(y.width-v);o.lightness=g,t("change",g)}};return dt(()=>{const m={drag:y=>{h(y)},end:y=>{h(y)}};r.value&&n.value&&Cr.triggerDragEvent(r.value,m)}),{barElement:r,cursorElement:n,getCursorStyle:f,getBackgroundStyle:c,onClickSider:d}}}),fy=e=>(ut("data-v-94a50a9e"),e=e(),ct(),e),dy=fy(()=>E("div",{class:"vc-lightness-slider__bar-handle"},null,-1)),hy=[dy];function vy(e,t,r,n,o,a){return I(),U("div",{class:ue(["vc-lightness-slider",{"small-slider":e.size==="small"}])},[E("div",{ref:"barElement",class:"vc-lightness-slider__bar",style:ie(e.getBackgroundStyle),onClick:t[0]||(t[0]=(...s)=>e.onClickSider&&e.onClickSider(...s))},[E("div",{class:ue(["vc-lightness-slider__bar-pointer",{"small-bar":e.size==="small"}]),ref:"cursorElement",style:ie(e.getCursorStyle)},hy,6)],4)],2)}const hc=Pe(cy,[["render",vy],["__scopeId","data-v-94a50a9e"]]),py=$({name:"History",props:{colors:F.arrayOf(String).def(()=>[]),round:F.bool.def(!1)},emits:["change"],setup(e,{emit:t}){return{onColorSelect:r=>{t("change",r)}}}}),gy={key:0,class:"vc-colorPicker__record"},my={class:"color-list"},yy=["onClick"];function by(e,t,r,n,o,a){return e.colors&&e.colors.length>0?(I(),U("div",gy,[E("div",my,[(I(!0),U(tt,null,kt(e.colors,(s,i)=>(I(),U("div",{key:i,class:ue(["color-item","transparent",{"color-item__round":e.round}]),onClick:l=>e.onColorSelect(s)},[E("div",{class:"color-item__display",style:ie({backgroundColor:s})},null,4)],10,yy))),128))])])):z("",!0)}const ja=Pe(py,[["render",by],["__scopeId","data-v-0f657238"]]),Cy=$({name:"Display",props:{color:F.instanceOf(ee),disableAlpha:F.bool.def(!1)},emits:["update:color","change"],setup(e,{emit:t}){var r,n,o,a;const{copy:s,copied:i,isSupported:l}=Kd(),c=B("hex"),u=we({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=G(()=>({background:u.previewBgColor})),d=()=>{c.value=c.value==="rgba"?"hex":"rgba"},h=We(p=>{if(!p.target.value)return;let g=parseInt(p.target.value.replace("%",""));g>100&&(p.target.value="100",g=100),g<0&&(p.target.value="0",g=0),isNaN(g)&&(p.target.value="100",g=100),!isNaN(g)&&u.color&&(u.color.alpha=g),t("change",u.color)},300),m=We((p,g)=>{if(u.color){if(c.value==="hex"){const b=p.target.value.replace("#","");O(b).isValid()?[3,4].includes(b.length)&&(u.color.hex=b):u.color.hex="000000",t("change",u.color)}else if(c.value==="rgba"&&g===3&&p.target.value.toString()==="0."&&u.rgba){u.rgba[g]=p.target.value;const[b,w,k,_]=u.rgba;u.color.hex=O({r:b,g:w,b:k}).toHex(),u.color.alpha=Math.round(_*100),t("change",u.color)}}},100),y=We((p,g)=>{if(p.target.value){if(c.value==="hex"){const b=p.target.value.replace("#","");O(b).isValid()&&u.color&&[6,8].includes(b.length)&&(u.color.hex=b)}else if(g!==void 0&&u.rgba&&u.color){if(p.target.value<0&&(p.target.value=0),g===3&&((p.target.value>1||isNaN(p.target.value))&&(p.target.value=1),p.target.value.toString()==="0."))return;g<3&&p.target.value>255&&(p.target.value=255),u.rgba[g]=p.target.value;const[b,w,k,_]=u.rgba;u.color.hex=O({r:b,g:w,b:k}).toHex(),u.color.alpha=Math.round(_*100)}t("change",u.color)}},300),v=()=>{if(l&&u.color){const p=c.value==="hex"?u.color.toString(u.color.alpha===100?"hex6":"hex8"):u.color.toRgbString();s(p||"")}};return fe(()=>e.color,p=>{p&&(u.color=p,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:y,onBlurChange:m,onCopyColorStr:v}}}),wy={class:"vc-display"},Sy={class:"vc-current-color vc-transparent"},xy={key:0,class:"copy-text"},Oy={key:0,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},_y={class:"vc-color-input"},ky={key:0,class:"vc-alpha-input"},Ey=["value"],Ay={key:1,style:{display:"flex",flex:"1",gap:"4px",height:"100%"}},Ty=["value","onInput","onBlur"];function Ry(e,t,r,n,o,a){return I(),U("div",wy,[E("div",Sy,[E("div",{class:"color-cube",style:ie(e.getBgColorStyle),onClick:t[0]||(t[0]=(...s)=>e.onCopyColorStr&&e.onCopyColorStr(...s))},[e.copied?(I(),U("span",xy,"Copied!")):z("",!0)],4)]),e.inputType==="hex"?(I(),U("div",Oy,[E("div",_y,[Yt(E("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),[[Ya,e.state.hex]])]),e.disableAlpha?z("",!0):(I(),U("div",ky,[E("input",{class:"vc-alpha-input__inner",value:e.state.alpha,onInput:t[4]||(t[4]=(...s)=>e.onAlphaBlur&&e.onAlphaBlur(...s))},null,40,Ey),Er("% ")]))])):e.state.rgba?(I(),U("div",Ay,[(I(!0),U(tt,null,kt(e.state.rgba,(s,i)=>(I(),U("div",{class:"vc-color-input",key:i},[E("input",{value:s,onInput:l=>e.onInputChange(l,i),onBlur:l=>e.onBlurChange(l,i)},null,40,Ty)]))),128))])):z("",!0),E("div",{class:"vc-input-toggle",onClick:t[5]||(t[5]=(...s)=>e.onInputTypeChange&&e.onInputTypeChange(...s))},Xt(e.inputType),1)])}const Pa=Pe(Cy,[["render",Ry],["__scopeId","data-v-7334ac20"]]),jy=$({name:"FkColorPicker",components:{Display:Pa,Alpha:Ea,Palette:dc,Board:Ta,Hue:Ra,Lightness:hc,History:ja},props:{color:F.instanceOf(ee),disableHistory:F.bool.def(!1),roundHistory:F.bool.def(!1),disableAlpha:F.bool.def(!1)},emits:["update:color","change","advanceChange"],setup(e,{emit:t}){const r=e.color||new ee,n=we({color:r,hex:r.toHexString(),rgb:r.toRgbString()}),o=B(!1),a=G(()=>({background:n.rgb})),s=()=>{o.value=!1,t("advanceChange",!1)},i=$n(_a,[],{}),l=We(()=>{if(e.disableHistory)return;const y=n.color.toRgbString();if(i.value=i.value.filter(v=>!O.equals(v,y)),!i.value.includes(y)){for(;i.value.length>ka;)i.value.pop();i.value.unshift(y)}},500),c=y=>{y==="advance"?(o.value=!0,t("advanceChange",!0)):(n.color.hex=y,t("advanceChange",!1))},u=y=>{n.color.alpha=y},f=y=>{n.color.hue=y},d=(y,v)=>{n.color.saturation=y,n.color.brightness=v},h=y=>{n.color.lightness=y},m=y=>{const v=y.target.value.replace("#","");O(v).isValid()&&(n.color.hex=v)};return fe(()=>e.color,y=>{y&&(n.color=y)},{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:m,previewStyle:a,historyColors:i}}}),Py=e=>(ut("data-v-48e3c224"),e=e(),ct(),e),$y={class:"vc-fk-colorPicker"},Iy={class:"vc-fk-colorPicker__inner"},Fy={class:"vc-fk-colorPicker__header"},My=Py(()=>E("div",{class:"back"},null,-1)),qy=[My];function Ny(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 I(),U("div",$y,[E("div",Iy,[E("div",Fy,[e.advancePanelShow?(I(),U("span",{key:0,style:{cursor:"pointer"},onClick:t[0]||(t[0]=(...h)=>e.onBack&&e.onBack(...h))},qy)):z("",!0)]),e.advancePanelShow?z("",!0):(I(),te(s,{key:0,onChange:e.onCompactChange},null,8,["onChange"])),e.advancePanelShow?(I(),te(i,{key:1,color:e.state.color,onChange:e.onBoardChange},null,8,["color","onChange"])):z("",!0),e.advancePanelShow?(I(),te(l,{key:2,color:e.state.color,onChange:e.onHueChange},null,8,["color","onChange"])):z("",!0),e.advancePanelShow?z("",!0):(I(),te(c,{key:3,color:e.state.color,onChange:e.onLightChange},null,8,["color","onChange"])),e.disableAlpha?z("",!0):(I(),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?z("",!0):(I(),te(d,{key:5,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])])}const vc=Pe(jy,[["render",Ny],["__scopeId","data-v-48e3c224"]]),By=$({name:"ChromeColorPicker",components:{Display:Pa,Alpha:Ea,Board:Ta,Hue:Ra,History:ja},props:{color:F.instanceOf(ee),disableHistory:F.bool.def(!1),roundHistory:F.bool.def(!1),disableAlpha:F.bool.def(!1)},emits:["update:color","change"],setup(e,{emit:t}){const r=e.color||new ee,n=we({color:r,hex:r.toHexString(),rgb:r.toRgbString()}),o=G(()=>({background:n.rgb})),a=$n(_a,[],{}),s=We(()=>{if(e.disableHistory)return;const d=n.color.toRgbString();if(a.value=a.value.filter(h=>!O.equals(h,d)),!a.value.includes(d)){for(;a.value.length>ka;)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}}}),Dy={class:"vc-chrome-colorPicker"},Gy={class:"vc-chrome-colorPicker-body"},Ly={class:"chrome-controls"},Hy={class:"chrome-sliders"};function Vy(e,t,r,n,o,a){const s=T("Board"),i=T("Hue"),l=T("Alpha"),c=T("Display"),u=T("History");return I(),U("div",Dy,[S(s,{round:!0,hide:!1,color:e.state.color,onChange:e.onBoardChange},null,8,["color","onChange"]),E("div",Gy,[E("div",Ly,[E("div",Hy,[S(i,{size:"small",color:e.state.color,onChange:e.onHueChange},null,8,["color","onChange"]),e.disableAlpha?z("",!0):(I(),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?z("",!0):(I(),te(u,{key:0,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])])}const pc=Pe(By,[["render",Vy],["__scopeId","data-v-2611d66c"]]),$a="Vue3ColorPickerProvider",Uy=(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 Ia=!1;const Wy=(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,Ia=!1,(a=t.end)==null||a.call(t,o)};e&&e.addEventListener("mousedown",o=>{var a;Ia||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",r,!1),document.addEventListener("mouseup",n,!1),Ia=!0,(a=t.start)==null||a.call(t,o))})},Ky={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"}},zy=$({name:"Angle",props:Ky,emits:["update:angle","change"],setup(e,{emit:t}){const r=B(null),n=B(0);ve(()=>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=G(()=>({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=Uy(r.value,i)%360,o())};return Kt(()=>{const i={drag:l=>{s(l)},end:l=>{s(l)}};r.value&&Wy(r.value,i)}),()=>S("div",{class:"bee-angle"},[S("div",{class:"bee-angle__round",ref:r,style:a.value},null)])}}),Yy=$({name:"GradientColorPicker",components:{Angle:zy,Display:Pa,Alpha:Ea,Palette:dc,Board:Ta,Hue:Ra,Lightness:hc,History:ja},props:{startColor:F.instanceOf(ee).isRequired,endColor:F.instanceOf(ee).isRequired,startColorStop:F.number.def(0),endColorStop:F.number.def(100),angle:F.number.def(0),type:F.oneOf(["linear","radial"]).def("linear"),disableHistory:F.bool.def(!1),roundHistory:F.bool.def(!1),disableAlpha:F.bool.def(!1),pickerType:F.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=we({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=mn($a),o=B(e.pickerType==="chrome"),a=B(),s=B(),i=B();ve(()=>[e.startColor,e.endColor,e.angle],C=>{r.startColor=C[0],r.endColor=C[1],r.angle=C[2]}),ve(()=>e.type,C=>{r.type=C});const l=G({get:()=>r.startActive?r.startColor:r.endColor,set:C=>{if(r.startActive){r.startColor=C;return}r.endColor=C}}),c=G(()=>{if(i.value&&a.value){const C=r.startColorStop/100,R=i.value.getBoundingClientRect(),q=a.value.offsetWidth;return Math.round(C*(R.width-q)+q/2)}return 0}),u=G(()=>{if(i.value&&s.value){const C=r.endColorStop/100,R=i.value.getBoundingClientRect(),q=s.value.offsetWidth;return Math.round(C*(R.width-q)+q/2)}return 0}),f=G(()=>{let C=`background: linear-gradient(${r.angle}deg, ${r.startColorRgba} ${r.startColorStop}%, ${r.endColorRgba} ${r.endColorStop}%)`;return r.type==="radial"&&(C=`background: radial-gradient(circle, ${r.startColorRgba} ${r.startColorStop}%, ${r.endColorRgba} ${r.endColorStop}%)`),C}),d=C=>{var R;if(r.startActive=!0,i.value&&a.value){const q=(R=i.value)==null?void 0:R.getBoundingClientRect();let A=C.clientX-q.left;A=Math.max(a.value.offsetWidth/2,A),A=Math.min(A,q.width-a.value.offsetWidth/2),r.startColorStop=Math.round((A-a.value.offsetWidth/2)/(q.width-a.value.offsetWidth)*100),t("update:startColorStop",r.startColorStop),t("startColorStopChange",r.startColorStop)}},h=C=>{var R;if(r.startActive=!1,i.value&&s.value){const q=(R=i.value)==null?void 0:R.getBoundingClientRect();let A=C.clientX-q.left;A=Math.max(s.value.offsetWidth/2,A),A=Math.min(A,q.width-s.value.offsetWidth/2),r.endColorStop=Math.round((A-s.value.offsetWidth/2)/(q.width-s.value.offsetWidth)*100),t("update:endColorStop",r.endColorStop),t("endColorStopChange",r.endColorStop)}},m=C=>{const R=C.target,q=parseInt(R.value.replace("°",""));isNaN(q)||(r.angle=q%360),t("update:angle",r.angle),t("angleChange",r.angle)},y=C=>{r.angle=C,t("update:angle",r.angle),t("angleChange",r.angle)},v=C=>{C==="advance"?(o.value=!0,t("advanceChange",!0)):(l.value.hex=C,t("advanceChange",!1)),_()},p=C=>{l.value.alpha=C,_()},g=C=>{l.value.hue=C,_()},b=(C,R)=>{l.value.saturation=C,l.value.brightness=R,_()},w=C=>{l.value.lightness=C,_()},k=()=>{_()},_=()=>{r.startActive?(t("update:startColor",r.startColor),t("startColorChange",r.startColor)):(t("update:endColor",r.endColor),t("endColorChange",r.endColor))},M=()=>{o.value=!1,t("advanceChange",!1)},H=()=>{r.type=r.type==="linear"?"radial":"linear",t("typeChange",r.type)},N=$n(_a,[],{}),W=We(()=>{if(e.disableHistory)return;const C=l.value.toRgbString();if(N.value=N.value.filter(R=>!O.equals(R,C)),!N.value.includes(C)){for(;N.value.length>ka;)N.value.pop();N.value.unshift(C)}},500);return dt(()=>{s.value&&a.value&&(Cr.triggerDragEvent(s.value,{drag:C=>{h(C)},end:C=>{h(C)}}),Cr.triggerDragEvent(a.value,{drag:C=>{d(C)},end:C=>{d(C)}}))}),fe(()=>r.startColor,C=>{r.startColorRgba=C.toRgbString()},{deep:!0}),fe(()=>r.endColor,C=>{r.endColorRgba=C.toRgbString()},{deep:!0}),fe(()=>l.value,()=>{W()},{deep:!0}),{startGradientRef:a,stopGradientRef:s,colorRangeRef:i,state:r,currentColor:l,getStartColorLeft:c,getEndColorLeft:u,gradientBg:f,advancePanelShow:o,onDegreeBlur:m,onCompactChange:v,onAlphaChange:p,onHueChange:g,onBoardChange:b,onLightChange:w,historyColors:N,onBack:M,onDegreeChange:y,onDisplayChange:k,onTypeChange:H,lang:n==null?void 0:n.lang}}}),gc=e=>(ut("data-v-c4d6d6ea"),e=e(),ct(),e),Xy={class:"vc-gradient-picker"},Jy={class:"vc-gradient-picker__header"},Zy={class:"vc-gradient__types"},Qy={class:"vc-gradient-wrap__types"},eb={class:"vc-picker-degree-input vc-degree-input"},tb={class:"vc-degree-input__control"},rb=["value"],nb={class:"vc-degree-input__panel"},ob={class:"vc-degree-input__disk"},ab={class:"vc-gradient-picker__body"},ib={class:"vc-color-range",ref:"colorRangeRef"},lb={class:"vc-color-range__container"},sb={class:"vc-gradient__stop__container"},ub=["title"],cb=gc(()=>E("span",{class:"vc-gradient__stop--inner"},null,-1)),fb=[cb],db=["title"],hb=gc(()=>E("span",{class:"vc-gradient__stop--inner"},null,-1)),vb=[hb];function pb(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"),m=T("Display"),y=T("History");return I(),U("div",Xy,[E("div",Jy,[E("div",null,[Yt(E("div",{class:"back",style:{cursor:"pointer"},onClick:t[0]||(t[0]=(...v)=>e.onBack&&e.onBack(...v))},null,512),[[Rr,e.pickerType==="fk"&&e.advancePanelShow]])]),E("div",Zy,[E("div",Qy,[(I(),U(tt,null,kt(["linear","radial"],v=>E("div",{class:ue(["vc-gradient__type",{active:e.state.type===v}]),key:v,onClick:t[1]||(t[1]=(...p)=>e.onTypeChange&&e.onTypeChange(...p))},Xt(e.lang?e.lang[v]:v),3)),64))]),Yt(E("div",eb,[E("div",tb,[E("input",{value:e.state.angle,onBlur:t[2]||(t[2]=(...v)=>e.onDegreeBlur&&e.onDegreeBlur(...v))},null,40,rb),Er("deg ")]),E("div",nb,[E("div",ob,[S(l,{angle:e.state.angle,"onUpdate:angle":t[3]||(t[3]=v=>e.state.angle=v),size:40,onChange:e.onDegreeChange},null,8,["angle","onChange"])])])],512),[[Rr,e.state.type==="linear"]])])]),E("div",ab,[E("div",ib,[E("div",lb,[E("div",{class:"vc-background",style:ie(e.gradientBg)},null,4),E("div",sb,[E("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})},fb,14,ub),E("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})},vb,14,db)])])],512)]),e.advancePanelShow?(I(),te(c,{key:0,color:e.currentColor,onChange:e.onBoardChange},null,8,["color","onChange"])):z("",!0),e.advancePanelShow?(I(),te(u,{key:1,color:e.currentColor,onChange:e.onHueChange},null,8,["color","onChange"])):z("",!0),e.advancePanelShow?z("",!0):(I(),te(f,{key:2,onChange:e.onCompactChange},null,8,["onChange"])),e.advancePanelShow?z("",!0):(I(),te(d,{key:3,color:e.currentColor,onChange:e.onLightChange},null,8,["color","onChange"])),e.disableAlpha?z("",!0):(I(),te(h,{key:4,color:e.currentColor,onChange:e.onAlphaChange},null,8,["color","onChange"])),S(m,{color:e.currentColor,"disable-alpha":e.disableAlpha,onChange:e.onDisplayChange},null,8,["color","disable-alpha","onChange"]),e.disableHistory?z("",!0):(I(),te(y,{key:5,round:e.roundHistory,colors:e.historyColors,onChange:e.onCompactChange},null,8,["round","colors","onChange"]))])}const mc=Pe(Yy,[["render",pb],["__scopeId","data-v-c4d6d6ea"]]),gb=$({name:"WrapContainer",props:{theme:F.oneOf(["white","black"]).def("white"),showTab:F.bool.def(!1),activeKey:F.oneOf(["pure","gradient"]).def("pure")},emits:["update:activeKey","change"],setup(e,{emit:t}){const r=we({activeKey:e.activeKey}),n=mn($a),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}}}),mb={class:"vc-colorpicker--container"},yb={key:0,class:"vc-colorpicker--tabs"},bb={class:"vc-colorpicker--tabs__inner"},Cb={class:"vc-btn__content"},wb={class:"vc-btn__content"};function Sb(e,t,r,n,o,a){var s,i;return I(),U("div",{class:ue(["vc-colorpicker",e.theme])},[E("div",mb,[e.showTab?(I(),U("div",yb,[E("div",bb,[E("div",{class:ue(["vc-colorpicker--tabs__btn",{"vc-btn-active":e.state.activeKey==="pure"}]),onClick:t[0]||(t[0]=l=>e.onActiveKeyChange("pure"))},[E("button",null,[E("div",Cb,Xt((s=e.lang)==null?void 0:s.pure),1)])],2),E("div",{class:ue(["vc-colorpicker--tabs__btn",{"vc-btn-active":e.state.activeKey==="gradient"}]),onClick:t[1]||(t[1]=l=>e.onActiveKeyChange("gradient"))},[E("button",null,[E("div",wb,Xt((i=e.lang)==null?void 0:i.gradient),1)])],2),E("div",{class:"vc-colorpicker--tabs__bg",style:ie({width:"50%",left:`calc(${e.state.activeKey==="gradient"?50:0}%)`})},null,4)])])):z("",!0),Tr(e.$slots,"default",{},void 0,!0)])],2)}const xb=Pe(gb,[["render",Sb],["__scopeId","data-v-0492277d"]]),Ob={start:"Start",end:"End",pure:"Pure",gradient:"Gradient",linear:"linear",radial:"radial"},_b={start:"开始",end:"结束",pure:"纯色",gradient:"渐变",linear:"线性",radial:"径向"},kb={En:Ob,"ZH-cn":_b},Eb={isWidget:F.bool.def(!1),pickerType:F.oneOf(["fk","chrome"]).def("fk"),shape:F.oneOf(["circle","square"]).def("square"),pureColor:{type:[String,Object],default:"#000000"},gradientColor:F.string.def("linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 1) 100%)"),format:{type:String,default:"rgb"},disableAlpha:F.bool.def(!1),disableHistory:F.bool.def(!1),roundHistory:F.bool.def(!1),useType:F.oneOf(["pure","gradient","both"]).def("pure"),activeKey:F.oneOf(["pure","gradient"]).def("pure"),lang:{type:String,default:"ZH-cn"},zIndex:F.number.def(9999),pickerContainer:{type:[String,HTMLElement],default:"body"},debounce:F.number.def(100),theme:F.oneOf(["white","black"]).def("white"),blurClose:F.bool.def(!1),defaultPopup:F.bool.def(!1)},Ab=$({name:"ColorPicker",components:{FkColorPicker:vc,ChromeColorPicker:pc,GradientColorPicker:mc,WrapContainer:xb},inheritAttrs:!1,props:Eb,emits:["update:pureColor","pureColorChange","update:gradientColor","gradientColorChange","update:activeKey","activeKeyChange"],setup(e,{emit:t}){yn($a,{lang:G(()=>kb[e.lang||"ZH-cn"])});const r=!!za().extra,n=we({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=we({startColor:o,endColor:a,startColorStop:0,endColorStop:100,angle:0,type:"linear",gradientColor:e.gradientColor}),l=B(s),c=B(e.defaultPopup),u=B(null),f=B(null);let d=null;const h=G(()=>({background:n.activeKey!=="gradient"?O(n.pureColor).toRgbString():i.gradientColor})),m=G(()=>n.activeKey==="gradient"?mc.name:e.pickerType==="fk"?vc.name:pc.name),y=C=>{n.isAdvanceMode=C},v=G(()=>{const C={disableAlpha:e.disableAlpha,disableHistory:e.disableHistory,roundHistory:e.roundHistory,pickerType:e.pickerType};return n.activeKey==="gradient"?{...C,startColor:i.startColor,endColor:i.endColor,angle:i.angle,type:i.type,startColorStop:i.startColorStop,endColorStop:i.endColorStop,onStartColorChange:R=>{i.startColor=R,k()},onEndColorChange:R=>{i.endColor=R,k()},onStartColorStopChange:R=>{i.startColorStop=R,k()},onEndColorStopChange:R=>{i.endColorStop=R,k()},onAngleChange:R=>{i.angle=R,k()},onTypeChange:R=>{i.type=R,k()},onAdvanceChange:y}:{...C,disableAlpha:e.disableAlpha,disableHistory:e.disableHistory,roundHistory:e.roundHistory,color:l.value,onChange:H,onAdvanceChange:y}}),p=()=>{c.value=!0,d?d.update():M()},g=()=>{c.value=!1},b=We(()=>{!e.isWidget&&e.blurClose&&g()},100);Ud(f,()=>{g()});const w=()=>{var C,R,q,A;try{const[P]=hl.parse(i.gradientColor);if(P&&P.type.includes("gradient")&&P.colorStops.length>=2){const L=P.colorStops[0],ce=P.colorStops[1];i.startColorStop=Number((C=L.length)==null?void 0:C.value)||0,i.endColorStop=Number((R=ce.length)==null?void 0:R.value)||0,P.type==="linear-gradient"&&((q=P.orientation)==null?void 0:q.type)==="angular"&&(i.angle=Number((A=P.orientation)==null?void 0:A.value)||0),i.type=P.type.split("-")[0];const[j,D,K,Ce]=L.value,[Ge,Wt,st,Le]=ce.value;i.startColor=new ee({r:Number(j),g:Number(D),b:Number(K),a:Number(Ce)}),i.endColor=new ee({r:Number(Ge),g:Number(Wt),b:Number(st),a:Number(Le)})}}catch(P){console.log(`[Parse Color]: ${P}`)}},k=We(()=>{const C=_();try{i.gradientColor=hl.stringify(C),t("update:gradientColor",i.gradientColor),t("gradientColorChange",i.gradientColor)}catch(R){console.log(R)}},e.debounce),_=()=>{const C=[],R=i.startColor.RGB.map(P=>P.toString()),q=i.endColor.RGB.map(P=>P.toString()),A=[{type:"rgba",value:[R[0],R[1],R[2],R[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"?C.push({type:"linear-gradient",orientation:{type:"angular",value:i.angle+""},colorStops:A}):i.type==="radial"&&C.push({type:"radial-gradient",orientation:[{type:"shape",value:"circle"}],colorStops:A}),C},M=()=>{u.value&&f.value&&(d=Rv(u.value,f.value,{placement:"auto",modifiers:[{name:"offset",options:{offset:[0,8]}},{name:"flip",options:{allowedAutoPlacements:["top","bottom","left","right"],rootBoundary:"viewport"}}]}))},H=C=>{l.value=C,n.pureColor=C.toString(e.format),N()},N=We(()=>{t("update:pureColor",n.pureColor),t("pureColorChange",n.pureColor)},e.debounce),W=C=>{n.activeKey=C,t("update:activeKey",C),t("activeKeyChange",C)};return dt(()=>{w(),d||M()}),fe(()=>e.gradientColor,C=>{C!=i.gradientColor&&(i.gradientColor=C)}),fe(()=>i.gradientColor,()=>{w()}),fe(()=>e.activeKey,C=>{n.activeKey=C}),fe(()=>e.useType,C=>{n.activeKey!=="gradient"&&C==="gradient"?n.activeKey="gradient":n.activeKey="pure"}),fe(()=>e.pureColor,C=>{O.equals(C,n.pureColor)||(n.pureColor=C,l.value=new ee(C))},{deep:!0}),{colorCubeRef:u,pickerRef:f,showPicker:c,colorInstance:l,getBgColorStyle:h,getComponentName:m,getBindArgs:v,state:n,hasExtra:r,onColorChange:H,onShowPicker:p,onActiveKeyChange:W,onAutoClose:b}}}),Tb={key:0,class:"vc-color-extra"},Rb={key:0,class:"vc-color-extra"};function jb(e,t,r,n,o,a){const s=T("WrapContainer");return I(),U(tt,null,[e.isWidget?(I(),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:kr(()=>[(I(),te(bn(e.getComponentName),ne({key:e.getComponentName},e.getBindArgs),null,16)),e.hasExtra?(I(),U("div",Tb,[Tr(e.$slots,"extra",{},void 0,!0)])):z("",!0)]),_:3},8,["active-key","show-tab","style","theme","onChange"])):z("",!0),e.isWidget?z("",!0):(I(),U(tt,{key:1},[E("div",{class:ue(["vc-color-wrap transparent",{round:e.shape==="circle"}]),ref:"colorCubeRef"},[E("div",{class:"current-color",style:ie(e.getBgColorStyle),onClick:t[1]||(t[1]=(...i)=>e.onShowPicker&&e.onShowPicker(...i))},null,4)],2),(I(),te(Xa,{to:e.pickerContainer},[Yt(E("div",{ref:"pickerRef",style:ie({zIndex:e.zIndex}),onMouseleave:t[3]||(t[3]=(...i)=>e.onAutoClose&&e.onAutoClose(...i))},[e.showPicker?(I(),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:kr(()=>[(I(),te(bn(e.getComponentName),ne({key:e.getComponentName},e.getBindArgs),null,16)),e.hasExtra?(I(),U("div",Rb,[Tr(e.$slots,"extra",{},void 0,!0)])):z("",!0)]),_:3},8,["show-tab","theme","active-key","onChange"])):z("",!0)],36),[[Rr,e.showPicker]])],8,["to"]))],64))],64)}const Pb=Pe(Ab,[["render",jb],["__scopeId","data-v-354ca836"]]),$b={install(e){e.use(If),e.use(Ff),e.use(Bf),e.use(Lf),e.use(Uf),e.use(Wf),e.use(Xf),e.use(Qf),e.use(rd),e.use(id),e.use(ud),e.use(cd),e.use(dd),e.use(gd),e.use(yd),e.use(Sd),e.use(xd),e.use(Od),e.use(Mf),e.use(bd),e.use(fd),e.use(hd),e.use(Kf),e.component("ColorPicker",Pb)}},yc=$({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=V("gct-edit-form");if(!e.model)throw new Error("未传递表单模型配置");const n=e.controller||ri(()=>new ni(e.model)),o=B(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,ve(e.context,()=>{Object.assign(n.context,e.context),n.state.isNew=!n.context.id},{immediate:!0}),ve(e.params,()=>{Object.assign(n.params,e.params)}),oi(async()=>{try{await o.value.formRef.validate();const i=await n.save();if(i)return{ok:!0,data:[_n(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])}}),Ib={install(e){e.component(yc.name,yc)}};function Fb(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const bc=$({name:"GctFormItem",props:{c:{type:Object,required:!0},formModel:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=V("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=G(()=>{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(ai.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=Cn(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"},Fb(n)?n:{default:()=>[n]})}});function Mb(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Cc=$({name:"GctForm",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=V("gct-form");yn("formController",e.c);const r=B(null),n=e.c;Object.keys(n.item).forEach(c=>{const u=n.item[c];u.state=we(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 Cn(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},Mb(e=this.model.children.map(t=>this.renderContainer(t)))?e:{default:()=>[e]})}});class qb{constructor(){Y(this,"component","gct-form-item")}createController(t,r){return Ve(()=>new ii(t,r))}}class Nb{constructor(){Y(this,"component","gct-form-hidden-item")}createController(t,r){return Ve(()=>new li(t,r))}}class Bb{constructor(){Y(this,"component","gct-form-collapse-pane")}createController(t,r){return Ve(()=>new si(t,r))}}function wc(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Sc=$({name:"GctFormCollapsePane",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=V("form-collapse-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-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)])}}),Db={install(e){_gct.register.formItem.register("collapse-pane",()=>new Bb),e.component(Sc.name,Sc)}};class Gb{constructor(){Y(this,"component","gct-form-collapse")}createController(t,r){return Ve(()=>new ui(t,r))}}const xc=$({name:"GctFormCollapse",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){var s;const t=V("form-collapse"),r=B([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=B([]);o.value=((s=e.model.children)==null?void 0:s.map(i=>i.name))||[];const a=G(()=>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(On,{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(On.Panel,{key:o.name,header:o.title,collapsible:i},{default:()=>[e[a]]})})]}})}}),Lb={install(e){_gct.register.formItem.register("collapse",()=>new Gb),e.component(xc.name,xc)}};class Hb{constructor(){Y(this,"component","gct-form-group")}createController(t,r){return Ve(()=>new Sn(t,r))}}function Fa(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Oc=$({name:"GctFormGroup",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=V("gct-form-group"),r=B([0]);function n(a){if(e.model.layout==="flex")return S(T("flex-container"),{layout:e.model.flex},Fa(a)?a:{default:()=>[a]});if(e.model.layout==="grid")return S(T("grid-container"),{layout:e.model.grid},Fa(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},Fa(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)])])}}),Vb={install(e){_gct.register.formItem.register("container",()=>new Hb),e.component(Oc.name,Oc)}};class Ub{constructor(){Y(this,"component","gct-form-tab")}createController(t,r){return Ve(()=>new ci(t,r))}}const _c=$({name:"GctFormTab",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=V("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]]}))]}})}}),Wb={install(e){_gct.register.formItem.register("tab",()=>new Ub),e.component(_c.name,_c)}};class Kb{constructor(){Y(this,"component","gct-form-tab-pane")}createController(t,r){return Ve(()=>new fi(t,r))}}function kc(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Ec=$({name:"GctFormTabPane",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=V("form-tab-pane"),r={};function n(o){if(e.model.layout==="flex")return S(T("flex-container"),{layout:e.model.flex},kc(o)?o:{default:()=>[o]});if(e.model.layout==="grid")return S(T("grid-container"),{layout:e.model.grid},kc(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)])}}),zb={install(e){_gct.register.formItem.register("tab-pane",()=>new Kb),e.component(Ec.name,Ec)}};class Yb{constructor(){Y(this,"component","gct-form-title-group")}createController(t,r){return Ve(()=>new Sn(t,r))}}function Ac(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Me(e)}const Tc=$({name:"GctFormTitleGroup",props:{c:{type:Object,required:!0},model:{type:Object,required:!0}},setup(e){const t=V("gct-form-title-group"),r=B([0]);function n(a){if(e.model.layout==="flex")return S(T("flex-container"),{layout:e.model.flex},Ac(a)?a:{default:()=>[a]});if(e.model.layout==="grid")return S(T("grid-container"),{layout:e.model.grid},Ac(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)])])}}),Xb={install(e){_gct.register.formItem.register(di.FORM_TITLE_GROUP,()=>new Yb),e.component(Tc.name,Tc)}},Jb={install(e){_gct.register.formItem.register("item",()=>new qb),_gct.register.formItem.register("hidden",()=>new Nb),e.use(Db),e.use(Lb),e.use(Vb),e.use(Wb),e.use(zb),e.use(Xb),e.component(Cc.name,Cc),e.component(bc.name,bc)}},s0=He("withInstall",(e,t)=>(e.install=r=>{const n=e.name||e.displayName;n&&(r.component(n,e),t&&(r.config.globalProperties[t]=e))},e)),u0=He("default",{install(e){e.use($b),e.use(Ib),e.use(Jb),e.component(ki.name,ki),e.component(Ei.name,Ei),e.component(An.name,An),e.component(Ti.name,Ti),e.component(Ri.name,Ri)}})})}}));
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(){})}}));