@opentiny/tiny-robot 0.2.0-alpha.2 → 0.2.0-alpha.3

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 (414) hide show
  1. package/dist/_plugin-vue_export-helper.js +9 -0
  2. package/dist/action-group/index.js +142 -0
  3. package/dist/bubble/index.js +3211 -0
  4. package/dist/{node_modules/.pnpm/@opentiny_vue-icon@3.22.0/node_modules/@opentiny/vue-icon/lib/close.js → close.js} +9 -9
  5. package/dist/container/index.js +60 -0
  6. package/dist/conversations/index.js +14 -0
  7. package/dist/feedback/index.js +192 -0
  8. package/dist/history/index.js +228 -0
  9. package/dist/icon-button/index.js +31 -0
  10. package/dist/index.d.ts +2190 -26
  11. package/dist/index.js +35 -43
  12. package/dist/index2.js +376 -0
  13. package/dist/index3.js +3895 -0
  14. package/dist/index4.js +637 -0
  15. package/dist/index5.js +3237 -0
  16. package/dist/index6.js +4623 -0
  17. package/dist/prompts/index.js +83 -0
  18. package/dist/question/index.js +375 -0
  19. package/dist/sender/index.js +683 -0
  20. package/dist/style.css +1 -1
  21. package/dist/suggestion/index.js +497 -0
  22. package/dist/{packages/svgs/dist/tiny-robot-svgs.js → tiny-robot-svgs.js} +100 -100
  23. package/dist/welcome/index.js +38 -0
  24. package/package.json +7 -3
  25. package/dist/_virtual/_plugin-vue_export-helper.js +0 -9
  26. package/dist/action-group/ActionGroup.vue.d.ts +0 -26
  27. package/dist/action-group/ActionGroupItem.vue.d.ts +0 -18
  28. package/dist/action-group/index.d.ts +0 -12
  29. package/dist/action-group/index.type.d.ts +0 -17
  30. package/dist/bubble/BubbleList.vue.d.ts +0 -5
  31. package/dist/bubble/index.d.ts +0 -12
  32. package/dist/bubble/index.type.d.ts +0 -51
  33. package/dist/container/index.d.ts +0 -7
  34. package/dist/container/index.type.d.ts +0 -16
  35. package/dist/container/index.vue.d.ts +0 -26
  36. package/dist/conversations/index.d.ts +0 -7
  37. package/dist/conversations/index.vue.d.ts +0 -2
  38. package/dist/feedback/components/SourceList.vue.d.ts +0 -11
  39. package/dist/feedback/components/index.d.ts +0 -1
  40. package/dist/feedback/index.d.ts +0 -7
  41. package/dist/feedback/index.type.d.ts +0 -25
  42. package/dist/feedback/index.vue.d.ts +0 -13
  43. package/dist/history/components/index.d.ts +0 -2
  44. package/dist/history/components/item-tag.vue.d.ts +0 -5
  45. package/dist/history/components/search-empty.vue.d.ts +0 -7
  46. package/dist/history/composables/index.d.ts +0 -1
  47. package/dist/history/composables/useEditItemTitle.d.ts +0 -12
  48. package/dist/history/index.d.ts +0 -6
  49. package/dist/history/index.type.d.ts +0 -43
  50. package/dist/history/index.vue.d.ts +0 -2
  51. package/dist/icon-button/index.d.ts +0 -7
  52. package/dist/icon-button/index.type.d.ts +0 -6
  53. package/dist/icon-button/index.vue.d.ts +0 -6
  54. package/dist/node_modules/.pnpm/@opentiny_utils@1.0.0/node_modules/@opentiny/utils/dist/opentiny-utils.es.js +0 -832
  55. package/dist/node_modules/.pnpm/@opentiny_utils@3.22.0/node_modules/@opentiny/utils/dist/index.es.js +0 -2116
  56. package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/index.js +0 -113
  57. package/dist/node_modules/.pnpm/@opentiny_vue-button@3.21.0/node_modules/@opentiny/vue-button/lib/pc.js +0 -93
  58. package/dist/node_modules/.pnpm/@opentiny_vue-common@3.21.0/node_modules/@opentiny/vue-common/lib/index.js +0 -727
  59. package/dist/node_modules/.pnpm/@opentiny_vue-common@3.22.0/node_modules/@opentiny/vue-common/lib/index.js +0 -710
  60. package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/index.js +0 -198
  61. package/dist/node_modules/.pnpm/@opentiny_vue-dialog-box@3.21.0/node_modules/@opentiny/vue-dialog-box/lib/pc.js +0 -204
  62. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useEventListener.js +0 -10
  63. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useInstanceSlots.js +0 -14
  64. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/useRelation.js +0 -54
  65. package/dist/node_modules/.pnpm/@opentiny_vue-hooks@3.22.0/node_modules/@opentiny/vue-hooks/dist/src/vue-popper.js +0 -85
  66. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/close.js +0 -29
  67. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeclose.js +0 -42
  68. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/eyeopen.js +0 -43
  69. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/finish.js +0 -34
  70. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/fullscreen.js +0 -30
  71. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/loading-shadow.js +0 -77
  72. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/minscreen.js +0 -30
  73. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-after.js +0 -24
  74. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-column-before.js +0 -24
  75. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-after.js +0 -24
  76. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-add-row-before.js +0 -24
  77. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-center.js +0 -24
  78. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-left.js +0 -24
  79. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-align-right.js +0 -24
  80. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-bold.js +0 -24
  81. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-block.js +0 -24
  82. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-code-view.js +0 -24
  83. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-color.js +0 -24
  84. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-column.js +0 -24
  85. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-row.js +0 -24
  86. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-delete-table.js +0 -24
  87. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-font-size.js +0 -24
  88. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-format-clear.js +0 -24
  89. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h1.js +0 -24
  90. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h2.js +0 -24
  91. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h3.js +0 -24
  92. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h4.js +0 -24
  93. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h5.js +0 -24
  94. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-h6.js +0 -24
  95. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-heading.js +0 -24
  96. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-high-light.js +0 -24
  97. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-image.js +0 -24
  98. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-italic.js +0 -24
  99. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-line-height.js +0 -24
  100. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link-unlink.js +0 -24
  101. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-link.js +0 -24
  102. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-ordered.js +0 -24
  103. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-list-unordered.js +0 -24
  104. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells-vertical.js +0 -24
  105. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-merge-cells.js +0 -24
  106. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-node-delete.js +0 -24
  107. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-paragraph.js +0 -24
  108. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-quote-text.js +0 -24
  109. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-redo.js +0 -24
  110. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-horizontal.js +0 -24
  111. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-split-cells-vertical.js +0 -24
  112. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-strike-through.js +0 -24
  113. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-subscript.js +0 -24
  114. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-superscript.js +0 -24
  115. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-table.js +0 -24
  116. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-task-list.js +0 -24
  117. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-underline.js +0 -24
  118. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/rich-text-undo.js +0 -24
  119. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/sub-script.js +0 -29
  120. package/dist/node_modules/.pnpm/@opentiny_vue-icon@3.21.0/node_modules/@opentiny/vue-icon/lib/warn.js +0 -26
  121. package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/index.js +0 -196
  122. package/dist/node_modules/.pnpm/@opentiny_vue-input@3.21.0/node_modules/@opentiny/vue-input/lib/pc.js +0 -568
  123. package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.21.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
  124. package/dist/node_modules/.pnpm/@opentiny_vue-locale@3.22.0/node_modules/@opentiny/vue-locale/lib/index.js +0 -1783
  125. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/index.js +0 -13
  126. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/button/vue.js +0 -34
  127. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/chunk-G2ADBYYC.js +0 -12
  128. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/browser.js +0 -36
  129. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/clickoutside.js +0 -47
  130. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/debounce.js +0 -7
  131. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/dom.js +0 -45
  132. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popper.js +0 -320
  133. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/popup-manager.js +0 -118
  134. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/throttle.js +0 -23
  135. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useEventListener.js +0 -9
  136. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useInstanceSlots.js +0 -14
  137. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/useRelation.js +0 -54
  138. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popper.js +0 -84
  139. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/deps/vue-popup.js +0 -73
  140. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/event.js +0 -13
  141. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/function.js +0 -5
  142. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/index.js +0 -11
  143. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/object.js +0 -84
  144. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/string.js +0 -28
  145. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/common/type.js +0 -28
  146. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/index.js +0 -136
  147. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/dialog-box/vue.js +0 -148
  148. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/index.js +0 -228
  149. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/input/vue.js +0 -263
  150. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/index.js +0 -63
  151. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue-storage-box.js +0 -16
  152. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tall-storage/vue.js +0 -23
  153. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -78
  154. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.21.2/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
  155. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/index.js +0 -77
  156. package/dist/node_modules/.pnpm/@opentiny_vue-renderless@3.22.0/node_modules/@opentiny/vue-renderless/tooltip/vue.js +0 -90
  157. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -173
  158. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.21.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
  159. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/index.js +0 -176
  160. package/dist/node_modules/.pnpm/@opentiny_vue-tooltip@3.22.0/node_modules/@opentiny/vue-tooltip/lib/pc.js +0 -248
  161. package/dist/node_modules/.pnpm/@vueuse_core@13.1.0_vue@3.5.13/node_modules/@vueuse/core/index.js +0 -310
  162. package/dist/node_modules/.pnpm/@vueuse_shared@13.1.0_vue@3.5.13/node_modules/@vueuse/shared/index.js +0 -110
  163. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +0 -277
  164. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +0 -46
  165. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  166. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  167. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +0 -187
  168. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +0 -19
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +0 -67
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +0 -5
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +0 -164
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +0 -8
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -44
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +0 -21
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -37
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +0 -112
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +0 -63
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +0 -34
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +0 -96
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +0 -78
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +0 -40
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +0 -59
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +0 -127
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +0 -95
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +0 -59
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +0 -23
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +0 -30
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +0 -28
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +0 -27
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +0 -37
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +0 -43
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +0 -110
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -25
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +0 -95
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +0 -84
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +0 -99
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +0 -7
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +0 -10
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +0 -57
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +0 -9
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +0 -31
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +0 -80
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +0 -8
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +0 -16
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -46
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +0 -31
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +0 -34
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +0 -57
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +0 -33
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +0 -32
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +0 -10
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -32
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +0 -48
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +0 -40
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +0 -28
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +0 -23
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -27
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +0 -54
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +0 -39
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +0 -31
  221. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +0 -10
  222. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +0 -61
  223. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +0 -48
  224. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +0 -7
  225. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +0 -74
  226. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -139
  227. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +0 -4
  228. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +0 -4
  229. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +0 -4
  230. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +0 -4
  231. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +0 -4
  232. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +0 -14
  233. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +0 -4
  234. package/dist/packages/components/src/action-group/ActionGroup.vue.js +0 -7
  235. package/dist/packages/components/src/action-group/ActionGroup.vue2.js +0 -121
  236. package/dist/packages/components/src/action-group/ActionGroupItem.vue.js +0 -14
  237. package/dist/packages/components/src/action-group/ActionGroupItem.vue2.js +0 -4
  238. package/dist/packages/components/src/action-group/index.js +0 -17
  239. package/dist/packages/components/src/assets/icons/accessory.svg.js +0 -4
  240. package/dist/packages/components/src/assets/icons/loading-speech.svg.js +0 -4
  241. package/dist/packages/components/src/assets/icons/loading.svg.js +0 -4
  242. package/dist/packages/components/src/assets/icons/send.svg.js +0 -4
  243. package/dist/packages/components/src/assets/icons/voice.svg.js +0 -4
  244. package/dist/packages/components/src/bubble/Bubble.vue.js +0 -7
  245. package/dist/packages/components/src/bubble/Bubble.vue2.js +0 -76
  246. package/dist/packages/components/src/bubble/BubbleList.vue.js +0 -7
  247. package/dist/packages/components/src/bubble/BubbleList.vue2.js +0 -50
  248. package/dist/packages/components/src/bubble/index.js +0 -18
  249. package/dist/packages/components/src/container/index.js +0 -9
  250. package/dist/packages/components/src/container/index.vue.js +0 -7
  251. package/dist/packages/components/src/container/index.vue2.js +0 -55
  252. package/dist/packages/components/src/conversations/index.js +0 -9
  253. package/dist/packages/components/src/conversations/index.vue.js +0 -9
  254. package/dist/packages/components/src/feedback/components/SourceList.vue.js +0 -7
  255. package/dist/packages/components/src/feedback/components/SourceList.vue2.js +0 -52
  256. package/dist/packages/components/src/feedback/index.js +0 -9
  257. package/dist/packages/components/src/feedback/index.vue.js +0 -7
  258. package/dist/packages/components/src/feedback/index.vue2.js +0 -143
  259. package/dist/packages/components/src/history/components/item-tag.vue.js +0 -7
  260. package/dist/packages/components/src/history/components/item-tag.vue2.js +0 -21
  261. package/dist/packages/components/src/history/components/search-empty.vue.js +0 -7
  262. package/dist/packages/components/src/history/components/search-empty.vue2.js +0 -20
  263. package/dist/packages/components/src/history/composables/useEditItemTitle.js +0 -43
  264. package/dist/packages/components/src/history/index.js +0 -11
  265. package/dist/packages/components/src/history/index.vue.js +0 -7
  266. package/dist/packages/components/src/history/index.vue2.js +0 -130
  267. package/dist/packages/components/src/icon-button/index.js +0 -9
  268. package/dist/packages/components/src/icon-button/index.vue.js +0 -7
  269. package/dist/packages/components/src/icon-button/index.vue2.js +0 -22
  270. package/dist/packages/components/src/prompts/index.js +0 -18
  271. package/dist/packages/components/src/prompts/prompt.vue.js +0 -7
  272. package/dist/packages/components/src/prompts/prompt.vue2.js +0 -39
  273. package/dist/packages/components/src/prompts/prompts.vue.js +0 -7
  274. package/dist/packages/components/src/prompts/prompts.vue2.js +0 -36
  275. package/dist/packages/components/src/question/components/CommonQuestions.vue.js +0 -89
  276. package/dist/packages/components/src/question/components/CommonQuestions.vue2.js +0 -4
  277. package/dist/packages/components/src/question/components/HotQuestions.vue.js +0 -140
  278. package/dist/packages/components/src/question/components/HotQuestions.vue2.js +0 -4
  279. package/dist/packages/components/src/question/composables/useQuestions.js +0 -48
  280. package/dist/packages/components/src/question/index.js +0 -9
  281. package/dist/packages/components/src/question/index.vue.js +0 -113
  282. package/dist/packages/components/src/question/index.vue2.js +0 -4
  283. package/dist/packages/components/src/sender/components/ActionButtons.vue.js +0 -143
  284. package/dist/packages/components/src/sender/components/ActionButtons.vue2.js +0 -4
  285. package/dist/packages/components/src/sender/components/TemplateEditor.vue.js +0 -7
  286. package/dist/packages/components/src/sender/components/TemplateEditor.vue2.js +0 -175
  287. package/dist/packages/components/src/sender/composables/useInputHandler.js +0 -38
  288. package/dist/packages/components/src/sender/composables/useKeyboardHandler.js +0 -31
  289. package/dist/packages/components/src/sender/composables/useSpeechHandler.js +0 -67
  290. package/dist/packages/components/src/sender/index.js +0 -9
  291. package/dist/packages/components/src/sender/index.vue.js +0 -255
  292. package/dist/packages/components/src/sender/index.vue2.js +0 -4
  293. package/dist/packages/components/src/suggestion/components/CategoryNav.vue.js +0 -38
  294. package/dist/packages/components/src/suggestion/components/CategoryNav.vue2.js +0 -4
  295. package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue.js +0 -107
  296. package/dist/packages/components/src/suggestion/components/SuggestionCapsule.vue2.js +0 -4
  297. package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue.js +0 -123
  298. package/dist/packages/components/src/suggestion/components/SuggestionPanel.vue2.js +0 -4
  299. package/dist/packages/components/src/suggestion/composables/useKeyboardNavigation.js +0 -45
  300. package/dist/packages/components/src/suggestion/composables/useTriggerDetection.js +0 -17
  301. package/dist/packages/components/src/suggestion/index.js +0 -9
  302. package/dist/packages/components/src/suggestion/index.vue.js +0 -179
  303. package/dist/packages/components/src/suggestion/index.vue2.js +0 -4
  304. package/dist/packages/components/src/suggestion/utils/dom.js +0 -18
  305. package/dist/packages/components/src/welcome/index.js +0 -9
  306. package/dist/packages/components/src/welcome/index.vue.js +0 -7
  307. package/dist/packages/components/src/welcome/index.vue2.js +0 -32
  308. package/dist/prompts/index.d.ts +0 -12
  309. package/dist/prompts/index.type.d.ts +0 -55
  310. package/dist/prompts/prompt.vue.d.ts +0 -3
  311. package/dist/prompts/prompts.vue.d.ts +0 -20
  312. package/dist/question/components/CommonQuestions.vue.d.ts +0 -32
  313. package/dist/question/components/HotQuestions.vue.d.ts +0 -89
  314. package/dist/question/composables/useQuestions.d.ts +0 -17
  315. package/dist/question/index.d.ts +0 -7
  316. package/dist/question/index.type.d.ts +0 -74
  317. package/dist/question/index.vue.d.ts +0 -46
  318. package/dist/sender/components/ActionButtons.vue.d.ts +0 -25
  319. package/dist/sender/components/TemplateEditor.vue.d.ts +0 -18
  320. package/dist/sender/composables/useInputHandler.d.ts +0 -17
  321. package/dist/sender/composables/useKeyboardHandler.d.ts +0 -18
  322. package/dist/sender/composables/useSpeechHandler.d.ts +0 -8
  323. package/dist/sender/index.d.ts +0 -7
  324. package/dist/sender/index.type.d.ts +0 -137
  325. package/dist/sender/index.vue.d.ts +0 -1012
  326. package/dist/suggestion/components/CategoryNav.vue.d.ts +0 -45
  327. package/dist/suggestion/components/SuggestionCapsule.vue.d.ts +0 -32
  328. package/dist/suggestion/components/SuggestionPanel.vue.d.ts +0 -84
  329. package/dist/suggestion/composables/useKeyboardNavigation.d.ts +0 -18
  330. package/dist/suggestion/composables/useSuggestionFilter.d.ts +0 -10
  331. package/dist/suggestion/composables/useTriggerDetection.d.ts +0 -11
  332. package/dist/suggestion/index.d.ts +0 -7
  333. package/dist/suggestion/index.type.d.ts +0 -94
  334. package/dist/suggestion/index.vue.d.ts +0 -343
  335. package/dist/suggestion/utils/dom.d.ts +0 -20
  336. package/dist/welcome/index.d.ts +0 -7
  337. package/dist/welcome/index.type.d.ts +0 -10
  338. package/dist/welcome/index.vue.d.ts +0 -18
  339. package/src/action-group/ActionGroup.vue +0 -247
  340. package/src/action-group/ActionGroupItem.vue +0 -9
  341. package/src/action-group/index.ts +0 -25
  342. package/src/action-group/index.type.ts +0 -21
  343. package/src/assets/icons/accessory.svg +0 -12
  344. package/src/assets/icons/loading-speech.svg +0 -16
  345. package/src/assets/icons/loading.svg +0 -17
  346. package/src/assets/icons/send.svg +0 -21
  347. package/src/assets/icons/voice.svg +0 -22
  348. package/src/bubble/Bubble.vue +0 -153
  349. package/src/bubble/BubbleList.vue +0 -55
  350. package/src/bubble/index.ts +0 -23
  351. package/src/bubble/index.type.ts +0 -49
  352. package/src/container/index.ts +0 -12
  353. package/src/container/index.type.ts +0 -17
  354. package/src/container/index.vue +0 -109
  355. package/src/conversations/index.ts +0 -12
  356. package/src/conversations/index.vue +0 -3
  357. package/src/feedback/components/SourceList.vue +0 -112
  358. package/src/feedback/components/index.ts +0 -1
  359. package/src/feedback/index.ts +0 -12
  360. package/src/feedback/index.type.ts +0 -27
  361. package/src/feedback/index.vue +0 -166
  362. package/src/history/components/index.ts +0 -2
  363. package/src/history/components/item-tag.vue +0 -49
  364. package/src/history/components/search-empty.vue +0 -38
  365. package/src/history/composables/index.ts +0 -1
  366. package/src/history/composables/useEditItemTitle.ts +0 -75
  367. package/src/history/index.ts +0 -12
  368. package/src/history/index.type.ts +0 -50
  369. package/src/history/index.vue +0 -292
  370. package/src/icon-button/index.ts +0 -12
  371. package/src/icon-button/index.type.ts +0 -7
  372. package/src/icon-button/index.vue +0 -58
  373. package/src/index.ts +0 -76
  374. package/src/prompts/index.ts +0 -25
  375. package/src/prompts/index.type.ts +0 -59
  376. package/src/prompts/prompt.vue +0 -101
  377. package/src/prompts/prompts.vue +0 -50
  378. package/src/question/components/CommonQuestions.vue +0 -146
  379. package/src/question/components/HotQuestions.vue +0 -148
  380. package/src/question/composables/useQuestions.ts +0 -106
  381. package/src/question/index.less +0 -447
  382. package/src/question/index.ts +0 -12
  383. package/src/question/index.type.ts +0 -86
  384. package/src/question/index.vue +0 -140
  385. package/src/question/vars.less +0 -135
  386. package/src/sender/components/ActionButtons.vue +0 -168
  387. package/src/sender/components/TemplateEditor.vue +0 -465
  388. package/src/sender/composables/useInputHandler.ts +0 -74
  389. package/src/sender/composables/useKeyboardHandler.ts +0 -101
  390. package/src/sender/composables/useSpeechHandler.ts +0 -122
  391. package/src/sender/index.less +0 -352
  392. package/src/sender/index.ts +0 -12
  393. package/src/sender/index.type.ts +0 -162
  394. package/src/sender/index.vue +0 -338
  395. package/src/sender/vars.less +0 -84
  396. package/src/suggestion/components/CategoryNav.vue +0 -38
  397. package/src/suggestion/components/SuggestionCapsule.vue +0 -183
  398. package/src/suggestion/components/SuggestionPanel.vue +0 -147
  399. package/src/suggestion/composables/useKeyboardNavigation.ts +0 -101
  400. package/src/suggestion/composables/useSuggestionFilter.ts +0 -34
  401. package/src/suggestion/composables/useTriggerDetection.ts +0 -46
  402. package/src/suggestion/index.less +0 -497
  403. package/src/suggestion/index.ts +0 -12
  404. package/src/suggestion/index.type.ts +0 -101
  405. package/src/suggestion/index.vue +0 -338
  406. package/src/suggestion/utils/dom.ts +0 -66
  407. package/src/suggestion/vars.less +0 -141
  408. package/src/vite-env.d.ts +0 -1
  409. package/src/welcome/index.ts +0 -12
  410. package/src/welcome/index.type.ts +0 -12
  411. package/src/welcome/index.vue +0 -69
  412. package/tsconfig.json +0 -37
  413. package/tsconfig.node.json +0 -10
  414. package/vite.config.ts +0 -53
package/dist/index6.js ADDED
@@ -0,0 +1,4623 @@
1
+ import * as k from "vue";
2
+ var _r = Object.defineProperty, Or = (r, e, n) => e in r ? _r(r, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[e] = n, te = (r, e, n) => Or(r, typeof e != "symbol" ? e + "" : e, n), Oe = { exports: {} }, P = {}, Me = { exports: {} }, Q = {}, at;
3
+ function Lt() {
4
+ if (at) return Q;
5
+ at = 1;
6
+ function r() {
7
+ var t = {};
8
+ return t["align-content"] = !1, t["align-items"] = !1, t["align-self"] = !1, t["alignment-adjust"] = !1, t["alignment-baseline"] = !1, t.all = !1, t["anchor-point"] = !1, t.animation = !1, t["animation-delay"] = !1, t["animation-direction"] = !1, t["animation-duration"] = !1, t["animation-fill-mode"] = !1, t["animation-iteration-count"] = !1, t["animation-name"] = !1, t["animation-play-state"] = !1, t["animation-timing-function"] = !1, t.azimuth = !1, t["backface-visibility"] = !1, t.background = !0, t["background-attachment"] = !0, t["background-clip"] = !0, t["background-color"] = !0, t["background-image"] = !0, t["background-origin"] = !0, t["background-position"] = !0, t["background-repeat"] = !0, t["background-size"] = !0, t["baseline-shift"] = !1, t.binding = !1, t.bleed = !1, t["bookmark-label"] = !1, t["bookmark-level"] = !1, t["bookmark-state"] = !1, t.border = !0, t["border-bottom"] = !0, t["border-bottom-color"] = !0, t["border-bottom-left-radius"] = !0, t["border-bottom-right-radius"] = !0, t["border-bottom-style"] = !0, t["border-bottom-width"] = !0, t["border-collapse"] = !0, t["border-color"] = !0, t["border-image"] = !0, t["border-image-outset"] = !0, t["border-image-repeat"] = !0, t["border-image-slice"] = !0, t["border-image-source"] = !0, t["border-image-width"] = !0, t["border-left"] = !0, t["border-left-color"] = !0, t["border-left-style"] = !0, t["border-left-width"] = !0, t["border-radius"] = !0, t["border-right"] = !0, t["border-right-color"] = !0, t["border-right-style"] = !0, t["border-right-width"] = !0, t["border-spacing"] = !0, t["border-style"] = !0, t["border-top"] = !0, t["border-top-color"] = !0, t["border-top-left-radius"] = !0, t["border-top-right-radius"] = !0, t["border-top-style"] = !0, t["border-top-width"] = !0, t["border-width"] = !0, t.bottom = !1, t["box-decoration-break"] = !0, t["box-shadow"] = !0, t["box-sizing"] = !0, t["box-snap"] = !0, t["box-suppress"] = !0, t["break-after"] = !0, t["break-before"] = !0, t["break-inside"] = !0, t["caption-side"] = !1, t.chains = !1, t.clear = !0, t.clip = !1, t["clip-path"] = !1, t["clip-rule"] = !1, t.color = !0, t["color-interpolation-filters"] = !0, t["column-count"] = !1, t["column-fill"] = !1, t["column-gap"] = !1, t["column-rule"] = !1, t["column-rule-color"] = !1, t["column-rule-style"] = !1, t["column-rule-width"] = !1, t["column-span"] = !1, t["column-width"] = !1, t.columns = !1, t.contain = !1, t.content = !1, t["counter-increment"] = !1, t["counter-reset"] = !1, t["counter-set"] = !1, t.crop = !1, t.cue = !1, t["cue-after"] = !1, t["cue-before"] = !1, t.cursor = !1, t.direction = !1, t.display = !0, t["display-inside"] = !0, t["display-list"] = !0, t["display-outside"] = !0, t["dominant-baseline"] = !1, t.elevation = !1, t["empty-cells"] = !1, t.filter = !1, t.flex = !1, t["flex-basis"] = !1, t["flex-direction"] = !1, t["flex-flow"] = !1, t["flex-grow"] = !1, t["flex-shrink"] = !1, t["flex-wrap"] = !1, t.float = !1, t["float-offset"] = !1, t["flood-color"] = !1, t["flood-opacity"] = !1, t["flow-from"] = !1, t["flow-into"] = !1, t.font = !0, t["font-family"] = !0, t["font-feature-settings"] = !0, t["font-kerning"] = !0, t["font-language-override"] = !0, t["font-size"] = !0, t["font-size-adjust"] = !0, t["font-stretch"] = !0, t["font-style"] = !0, t["font-synthesis"] = !0, t["font-variant"] = !0, t["font-variant-alternates"] = !0, t["font-variant-caps"] = !0, t["font-variant-east-asian"] = !0, t["font-variant-ligatures"] = !0, t["font-variant-numeric"] = !0, t["font-variant-position"] = !0, t["font-weight"] = !0, t.grid = !1, t["grid-area"] = !1, t["grid-auto-columns"] = !1, t["grid-auto-flow"] = !1, t["grid-auto-rows"] = !1, t["grid-column"] = !1, t["grid-column-end"] = !1, t["grid-column-start"] = !1, t["grid-row"] = !1, t["grid-row-end"] = !1, t["grid-row-start"] = !1, t["grid-template"] = !1, t["grid-template-areas"] = !1, t["grid-template-columns"] = !1, t["grid-template-rows"] = !1, t["hanging-punctuation"] = !1, t.height = !0, t.hyphens = !1, t.icon = !1, t["image-orientation"] = !1, t["image-resolution"] = !1, t["ime-mode"] = !1, t["initial-letters"] = !1, t["inline-box-align"] = !1, t["justify-content"] = !1, t["justify-items"] = !1, t["justify-self"] = !1, t.left = !1, t["letter-spacing"] = !0, t["lighting-color"] = !0, t["line-box-contain"] = !1, t["line-break"] = !1, t["line-grid"] = !1, t["line-height"] = !1, t["line-snap"] = !1, t["line-stacking"] = !1, t["line-stacking-ruby"] = !1, t["line-stacking-shift"] = !1, t["line-stacking-strategy"] = !1, t["list-style"] = !0, t["list-style-image"] = !0, t["list-style-position"] = !0, t["list-style-type"] = !0, t.margin = !0, t["margin-bottom"] = !0, t["margin-left"] = !0, t["margin-right"] = !0, t["margin-top"] = !0, t["marker-offset"] = !1, t["marker-side"] = !1, t.marks = !1, t.mask = !1, t["mask-box"] = !1, t["mask-box-outset"] = !1, t["mask-box-repeat"] = !1, t["mask-box-slice"] = !1, t["mask-box-source"] = !1, t["mask-box-width"] = !1, t["mask-clip"] = !1, t["mask-image"] = !1, t["mask-origin"] = !1, t["mask-position"] = !1, t["mask-repeat"] = !1, t["mask-size"] = !1, t["mask-source-type"] = !1, t["mask-type"] = !1, t["max-height"] = !0, t["max-lines"] = !1, t["max-width"] = !0, t["min-height"] = !0, t["min-width"] = !0, t["move-to"] = !1, t["nav-down"] = !1, t["nav-index"] = !1, t["nav-left"] = !1, t["nav-right"] = !1, t["nav-up"] = !1, t["object-fit"] = !1, t["object-position"] = !1, t.opacity = !1, t.order = !1, t.orphans = !1, t.outline = !1, t["outline-color"] = !1, t["outline-offset"] = !1, t["outline-style"] = !1, t["outline-width"] = !1, t.overflow = !1, t["overflow-wrap"] = !1, t["overflow-x"] = !1, t["overflow-y"] = !1, t.padding = !0, t["padding-bottom"] = !0, t["padding-left"] = !0, t["padding-right"] = !0, t["padding-top"] = !0, t.page = !1, t["page-break-after"] = !1, t["page-break-before"] = !1, t["page-break-inside"] = !1, t["page-policy"] = !1, t.pause = !1, t["pause-after"] = !1, t["pause-before"] = !1, t.perspective = !1, t["perspective-origin"] = !1, t.pitch = !1, t["pitch-range"] = !1, t["play-during"] = !1, t.position = !1, t["presentation-level"] = !1, t.quotes = !1, t["region-fragment"] = !1, t.resize = !1, t.rest = !1, t["rest-after"] = !1, t["rest-before"] = !1, t.richness = !1, t.right = !1, t.rotation = !1, t["rotation-point"] = !1, t["ruby-align"] = !1, t["ruby-merge"] = !1, t["ruby-position"] = !1, t["shape-image-threshold"] = !1, t["shape-outside"] = !1, t["shape-margin"] = !1, t.size = !1, t.speak = !1, t["speak-as"] = !1, t["speak-header"] = !1, t["speak-numeral"] = !1, t["speak-punctuation"] = !1, t["speech-rate"] = !1, t.stress = !1, t["string-set"] = !1, t["tab-size"] = !1, t["table-layout"] = !1, t["text-align"] = !0, t["text-align-last"] = !0, t["text-combine-upright"] = !0, t["text-decoration"] = !0, t["text-decoration-color"] = !0, t["text-decoration-line"] = !0, t["text-decoration-skip"] = !0, t["text-decoration-style"] = !0, t["text-emphasis"] = !0, t["text-emphasis-color"] = !0, t["text-emphasis-position"] = !0, t["text-emphasis-style"] = !0, t["text-height"] = !0, t["text-indent"] = !0, t["text-justify"] = !0, t["text-orientation"] = !0, t["text-overflow"] = !0, t["text-shadow"] = !0, t["text-space-collapse"] = !0, t["text-transform"] = !0, t["text-underline-position"] = !0, t["text-wrap"] = !0, t.top = !1, t.transform = !1, t["transform-origin"] = !1, t["transform-style"] = !1, t.transition = !1, t["transition-delay"] = !1, t["transition-duration"] = !1, t["transition-property"] = !1, t["transition-timing-function"] = !1, t["unicode-bidi"] = !1, t["vertical-align"] = !1, t.visibility = !1, t["voice-balance"] = !1, t["voice-duration"] = !1, t["voice-family"] = !1, t["voice-pitch"] = !1, t["voice-range"] = !1, t["voice-rate"] = !1, t["voice-stress"] = !1, t["voice-volume"] = !1, t.volume = !1, t["white-space"] = !1, t.widows = !1, t.width = !0, t["will-change"] = !1, t["word-break"] = !0, t["word-spacing"] = !0, t["word-wrap"] = !0, t["wrap-flow"] = !1, t["wrap-through"] = !1, t["writing-mode"] = !1, t["z-index"] = !1, t;
9
+ }
10
+ function e(t, a, s) {
11
+ }
12
+ function n(t, a, s) {
13
+ }
14
+ var o = /javascript\s*\:/img;
15
+ function i(t, a) {
16
+ return o.test(a) ? "" : a;
17
+ }
18
+ return Q.whiteList = r(), Q.getDefaultWhiteList = r, Q.onAttr = e, Q.onIgnoreAttr = n, Q.safeAttrValue = i, Q;
19
+ }
20
+ var st, lt;
21
+ function zt() {
22
+ return lt || (lt = 1, st = {
23
+ indexOf: function(r, e) {
24
+ var n, o;
25
+ if (Array.prototype.indexOf)
26
+ return r.indexOf(e);
27
+ for (n = 0, o = r.length; n < o; n++)
28
+ if (r[n] === e)
29
+ return n;
30
+ return -1;
31
+ },
32
+ forEach: function(r, e, n) {
33
+ var o, i;
34
+ if (Array.prototype.forEach)
35
+ return r.forEach(e, n);
36
+ for (o = 0, i = r.length; o < i; o++)
37
+ e.call(n, r[o], o, r);
38
+ },
39
+ trim: function(r) {
40
+ return String.prototype.trim ? r.trim() : r.replace(/(^\s*)|(\s*$)/g, "");
41
+ },
42
+ trimRight: function(r) {
43
+ return String.prototype.trimRight ? r.trimRight() : r.replace(/(\s*$)/g, "");
44
+ }
45
+ }), st;
46
+ }
47
+ var Ie, ct;
48
+ function Mr() {
49
+ if (ct) return Ie;
50
+ ct = 1;
51
+ var r = zt();
52
+ function e(n, o) {
53
+ n = r.trimRight(n), n[n.length - 1] !== ";" && (n += ";");
54
+ var i = n.length, t = !1, a = 0, s = 0, c = "";
55
+ function d() {
56
+ if (!t) {
57
+ var p = r.trim(n.slice(a, s)), u = p.indexOf(":");
58
+ if (u !== -1) {
59
+ var T = r.trim(p.slice(0, u)), w = r.trim(p.slice(u + 1));
60
+ if (T) {
61
+ var h = o(a, c.length, T, w, p);
62
+ h && (c += h + "; ");
63
+ }
64
+ }
65
+ }
66
+ a = s + 1;
67
+ }
68
+ for (; s < i; s++) {
69
+ var f = n[s];
70
+ if (f === "/" && n[s + 1] === "*") {
71
+ var l = n.indexOf("*/", s + 2);
72
+ if (l === -1) break;
73
+ s = l + 1, a = s + 1, t = !1;
74
+ } else f === "(" ? t = !0 : f === ")" ? t = !1 : f === ";" ? t || d() : f === `
75
+ ` && d();
76
+ }
77
+ return r.trim(c);
78
+ }
79
+ return Ie = e, Ie;
80
+ }
81
+ var Pe, ut;
82
+ function Ir() {
83
+ if (ut) return Pe;
84
+ ut = 1;
85
+ var r = Lt(), e = Mr();
86
+ zt();
87
+ function n(t) {
88
+ return t == null;
89
+ }
90
+ function o(t) {
91
+ var a = {};
92
+ for (var s in t)
93
+ a[s] = t[s];
94
+ return a;
95
+ }
96
+ function i(t) {
97
+ t = o(t || {}), t.whiteList = t.whiteList || r.whiteList, t.onAttr = t.onAttr || r.onAttr, t.onIgnoreAttr = t.onIgnoreAttr || r.onIgnoreAttr, t.safeAttrValue = t.safeAttrValue || r.safeAttrValue, this.options = t;
98
+ }
99
+ return i.prototype.process = function(t) {
100
+ if (t = t || "", t = t.toString(), !t) return "";
101
+ var a = this, s = a.options, c = s.whiteList, d = s.onAttr, f = s.onIgnoreAttr, l = s.safeAttrValue, p = e(t, function(u, T, w, h, S) {
102
+ var g = c[w], v = !1;
103
+ if (g === !0 ? v = g : typeof g == "function" ? v = g(h) : g instanceof RegExp && (v = g.test(h)), v !== !0 && (v = !1), h = l(w, h), !!h) {
104
+ var E = {
105
+ position: T,
106
+ sourcePosition: u,
107
+ source: S,
108
+ isWhite: v
109
+ };
110
+ if (v) {
111
+ var x = d(w, h, E);
112
+ return n(x) ? w + ":" + h : x;
113
+ } else {
114
+ var x = f(w, h, E);
115
+ if (!n(x))
116
+ return x;
117
+ }
118
+ }
119
+ });
120
+ return p;
121
+ }, Pe = i, Pe;
122
+ }
123
+ var dt;
124
+ function Be() {
125
+ return dt || (dt = 1, function(r, e) {
126
+ var n = Lt(), o = Ir();
127
+ function i(a, s) {
128
+ var c = new o(s);
129
+ return c.process(a);
130
+ }
131
+ e = r.exports = i, e.FilterCSS = o;
132
+ for (var t in n) e[t] = n[t];
133
+ typeof window < "u" && (window.filterCSS = r.exports);
134
+ }(Me, Me.exports)), Me.exports;
135
+ }
136
+ var ft, pt;
137
+ function Ze() {
138
+ return pt || (pt = 1, ft = {
139
+ indexOf: function(r, e) {
140
+ var n, o;
141
+ if (Array.prototype.indexOf)
142
+ return r.indexOf(e);
143
+ for (n = 0, o = r.length; n < o; n++)
144
+ if (r[n] === e)
145
+ return n;
146
+ return -1;
147
+ },
148
+ forEach: function(r, e, n) {
149
+ var o, i;
150
+ if (Array.prototype.forEach)
151
+ return r.forEach(e, n);
152
+ for (o = 0, i = r.length; o < i; o++)
153
+ e.call(n, r[o], o, r);
154
+ },
155
+ trim: function(r) {
156
+ return String.prototype.trim ? r.trim() : r.replace(/(^\s*)|(\s*$)/g, "");
157
+ },
158
+ spaceIndex: function(r) {
159
+ var e = /\s|\n|\t/, n = e.exec(r);
160
+ return n ? n.index : -1;
161
+ }
162
+ }), ft;
163
+ }
164
+ var ht;
165
+ function Rt() {
166
+ if (ht) return P;
167
+ ht = 1;
168
+ var r = Be().FilterCSS, e = Be().getDefaultWhiteList, n = Ze();
169
+ function o() {
170
+ return {
171
+ a: ["target", "href", "title"],
172
+ abbr: ["title"],
173
+ address: [],
174
+ area: ["shape", "coords", "href", "alt"],
175
+ article: [],
176
+ aside: [],
177
+ audio: [
178
+ "autoplay",
179
+ "controls",
180
+ "crossorigin",
181
+ "loop",
182
+ "muted",
183
+ "preload",
184
+ "src"
185
+ ],
186
+ b: [],
187
+ bdi: ["dir"],
188
+ bdo: ["dir"],
189
+ big: [],
190
+ blockquote: ["cite"],
191
+ br: [],
192
+ caption: [],
193
+ center: [],
194
+ cite: [],
195
+ code: [],
196
+ col: ["align", "valign", "span", "width"],
197
+ colgroup: ["align", "valign", "span", "width"],
198
+ dd: [],
199
+ del: ["datetime"],
200
+ details: ["open"],
201
+ div: [],
202
+ dl: [],
203
+ dt: [],
204
+ em: [],
205
+ figcaption: [],
206
+ figure: [],
207
+ font: ["color", "size", "face"],
208
+ footer: [],
209
+ h1: [],
210
+ h2: [],
211
+ h3: [],
212
+ h4: [],
213
+ h5: [],
214
+ h6: [],
215
+ header: [],
216
+ hr: [],
217
+ i: [],
218
+ img: ["src", "alt", "title", "width", "height"],
219
+ ins: ["datetime"],
220
+ li: [],
221
+ mark: [],
222
+ nav: [],
223
+ ol: [],
224
+ p: [],
225
+ pre: [],
226
+ s: [],
227
+ section: [],
228
+ small: [],
229
+ span: [],
230
+ sub: [],
231
+ summary: [],
232
+ sup: [],
233
+ strong: [],
234
+ strike: [],
235
+ table: ["width", "border", "align", "valign"],
236
+ tbody: ["align", "valign"],
237
+ td: ["width", "rowspan", "colspan", "align", "valign"],
238
+ tfoot: ["align", "valign"],
239
+ th: ["width", "rowspan", "colspan", "align", "valign"],
240
+ thead: ["align", "valign"],
241
+ tr: ["rowspan", "align", "valign"],
242
+ tt: [],
243
+ u: [],
244
+ ul: [],
245
+ video: [
246
+ "autoplay",
247
+ "controls",
248
+ "crossorigin",
249
+ "loop",
250
+ "muted",
251
+ "playsinline",
252
+ "poster",
253
+ "preload",
254
+ "src",
255
+ "height",
256
+ "width"
257
+ ]
258
+ };
259
+ }
260
+ var i = new r();
261
+ function t(y, A, m) {
262
+ }
263
+ function a(y, A, m) {
264
+ }
265
+ function s(y, A, m) {
266
+ }
267
+ function c(y, A, m) {
268
+ }
269
+ function d(y) {
270
+ return y.replace(l, "&lt;").replace(p, "&gt;");
271
+ }
272
+ function f(y, A, m, I) {
273
+ if (m = M(m), A === "href" || A === "src") {
274
+ if (m = n.trim(m), m === "#") return "#";
275
+ if (!(m.substr(0, 7) === "http://" || m.substr(0, 8) === "https://" || m.substr(0, 7) === "mailto:" || m.substr(0, 4) === "tel:" || m.substr(0, 11) === "data:image/" || m.substr(0, 6) === "ftp://" || m.substr(0, 2) === "./" || m.substr(0, 3) === "../" || m[0] === "#" || m[0] === "/"))
276
+ return "";
277
+ } else if (A === "background") {
278
+ if (g.lastIndex = 0, g.test(m))
279
+ return "";
280
+ } else if (A === "style") {
281
+ if (v.lastIndex = 0, v.test(m) || (E.lastIndex = 0, E.test(m) && (g.lastIndex = 0, g.test(m))))
282
+ return "";
283
+ I !== !1 && (I = I || i, m = I.process(m));
284
+ }
285
+ return m = L(m), m;
286
+ }
287
+ var l = /</g, p = />/g, u = /"/g, T = /&quot;/g, w = /&#([a-zA-Z0-9]*);?/gim, h = /&colon;?/gim, S = /&newline;?/gim, g = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, v = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, E = /u\s*r\s*l\s*\(.*/gi;
288
+ function x(y) {
289
+ return y.replace(u, "&quot;");
290
+ }
291
+ function b(y) {
292
+ return y.replace(T, '"');
293
+ }
294
+ function C(y) {
295
+ return y.replace(w, function(A, m) {
296
+ return m[0] === "x" || m[0] === "X" ? String.fromCharCode(parseInt(m.substr(1), 16)) : String.fromCharCode(parseInt(m, 10));
297
+ });
298
+ }
299
+ function _(y) {
300
+ return y.replace(h, ":").replace(S, " ");
301
+ }
302
+ function O(y) {
303
+ for (var A = "", m = 0, I = y.length; m < I; m++)
304
+ A += y.charCodeAt(m) < 32 ? " " : y.charAt(m);
305
+ return n.trim(A);
306
+ }
307
+ function M(y) {
308
+ return y = b(y), y = C(y), y = _(y), y = O(y), y;
309
+ }
310
+ function L(y) {
311
+ return y = x(y), y = d(y), y;
312
+ }
313
+ function U() {
314
+ return "";
315
+ }
316
+ function j(y, A) {
317
+ typeof A != "function" && (A = function() {
318
+ });
319
+ var m = !Array.isArray(y);
320
+ function I(K) {
321
+ return m ? !0 : n.indexOf(y, K) !== -1;
322
+ }
323
+ var $ = [], N = !1;
324
+ return {
325
+ onIgnoreTag: function(K, ae, q) {
326
+ if (I(K))
327
+ if (q.isClosing) {
328
+ var se = "[/removed]", Ar = q.position + se.length;
329
+ return $.push([
330
+ N !== !1 ? N : q.position,
331
+ Ar
332
+ ]), N = !1, se;
333
+ } else
334
+ return N || (N = q.position), "[removed]";
335
+ else
336
+ return A(K, ae, q);
337
+ },
338
+ remove: function(K) {
339
+ var ae = "", q = 0;
340
+ return n.forEach($, function(se) {
341
+ ae += K.slice(q, se[0]), q = se[1];
342
+ }), ae += K.slice(q), ae;
343
+ }
344
+ };
345
+ }
346
+ function J(y) {
347
+ for (var A = "", m = 0; m < y.length; ) {
348
+ var I = y.indexOf("<!--", m);
349
+ if (I === -1) {
350
+ A += y.slice(m);
351
+ break;
352
+ }
353
+ A += y.slice(m, I);
354
+ var $ = y.indexOf("-->", I);
355
+ if ($ === -1)
356
+ break;
357
+ m = $ + 3;
358
+ }
359
+ return A;
360
+ }
361
+ function he(y) {
362
+ var A = y.split("");
363
+ return A = A.filter(function(m) {
364
+ var I = m.charCodeAt(0);
365
+ return I === 127 ? !1 : I <= 31 ? I === 10 || I === 13 : !0;
366
+ }), A.join("");
367
+ }
368
+ return P.whiteList = o(), P.getDefaultWhiteList = o, P.onTag = t, P.onIgnoreTag = a, P.onTagAttr = s, P.onIgnoreTagAttr = c, P.safeAttrValue = f, P.escapeHtml = d, P.escapeQuote = x, P.unescapeQuote = b, P.escapeHtmlEntities = C, P.escapeDangerHtml5Entities = _, P.clearNonPrintableCharacter = O, P.friendlyAttrValue = M, P.escapeAttrValue = L, P.onIgnoreTagStripAll = U, P.StripTagBody = j, P.stripCommentTag = J, P.stripBlankChar = he, P.cssFilter = i, P.getDefaultCSSWhiteList = e, P;
369
+ }
370
+ var me = {}, mt;
371
+ function Dt() {
372
+ if (mt) return me;
373
+ mt = 1;
374
+ var r = Ze();
375
+ function e(l) {
376
+ var p = r.spaceIndex(l), u;
377
+ return p === -1 ? u = l.slice(1, -1) : u = l.slice(1, p + 1), u = r.trim(u).toLowerCase(), u.slice(0, 1) === "/" && (u = u.slice(1)), u.slice(-1) === "/" && (u = u.slice(0, -1)), u;
378
+ }
379
+ function n(l) {
380
+ return l.slice(0, 2) === "</";
381
+ }
382
+ function o(l, p, u) {
383
+ var T = "", w = 0, h = !1, S = !1, g = 0, v = l.length, E = "", x = "";
384
+ e: for (g = 0; g < v; g++) {
385
+ var b = l.charAt(g);
386
+ if (h === !1) {
387
+ if (b === "<") {
388
+ h = g;
389
+ continue;
390
+ }
391
+ } else if (S === !1) {
392
+ if (b === "<") {
393
+ T += u(l.slice(w, g)), h = g, w = g;
394
+ continue;
395
+ }
396
+ if (b === ">" || g === v - 1) {
397
+ T += u(l.slice(w, h)), x = l.slice(h, g + 1), E = e(x), T += p(
398
+ h,
399
+ T.length,
400
+ E,
401
+ x,
402
+ n(x)
403
+ ), w = g + 1, h = !1;
404
+ continue;
405
+ }
406
+ if (b === '"' || b === "'")
407
+ for (var C = 1, _ = l.charAt(g - C); _.trim() === "" || _ === "="; ) {
408
+ if (_ === "=") {
409
+ S = b;
410
+ continue e;
411
+ }
412
+ _ = l.charAt(g - ++C);
413
+ }
414
+ } else if (b === S) {
415
+ S = !1;
416
+ continue;
417
+ }
418
+ }
419
+ return w < v && (T += u(l.substr(w))), T;
420
+ }
421
+ var i = /[^a-zA-Z0-9\\_:.-]/gim;
422
+ function t(l, p) {
423
+ var u = 0, T = 0, w = [], h = !1, S = l.length;
424
+ function g(C, _) {
425
+ if (C = r.trim(C), C = C.replace(i, "").toLowerCase(), !(C.length < 1)) {
426
+ var O = p(C, _ || "");
427
+ O && w.push(O);
428
+ }
429
+ }
430
+ for (var v = 0; v < S; v++) {
431
+ var E = l.charAt(v), x, b;
432
+ if (h === !1 && E === "=") {
433
+ h = l.slice(u, v), u = v + 1, T = l.charAt(u) === '"' || l.charAt(u) === "'" ? u : s(l, v + 1);
434
+ continue;
435
+ }
436
+ if (h !== !1 && v === T) {
437
+ if (b = l.indexOf(E, v + 1), b === -1)
438
+ break;
439
+ x = r.trim(l.slice(T + 1, b)), g(h, x), h = !1, v = b, u = v + 1;
440
+ continue;
441
+ }
442
+ if (/\s|\n|\t/.test(E))
443
+ if (l = l.replace(/\s|\n|\t/g, " "), h === !1)
444
+ if (b = a(l, v), b === -1) {
445
+ x = r.trim(l.slice(u, v)), g(x), h = !1, u = v + 1;
446
+ continue;
447
+ } else {
448
+ v = b - 1;
449
+ continue;
450
+ }
451
+ else if (b = c(l, v - 1), b === -1) {
452
+ x = r.trim(l.slice(u, v)), x = f(x), g(h, x), h = !1, u = v + 1;
453
+ continue;
454
+ } else
455
+ continue;
456
+ }
457
+ return u < l.length && (h === !1 ? g(l.slice(u)) : g(h, f(r.trim(l.slice(u))))), r.trim(w.join(" "));
458
+ }
459
+ function a(l, p) {
460
+ for (; p < l.length; p++) {
461
+ var u = l[p];
462
+ if (u !== " ")
463
+ return u === "=" ? p : -1;
464
+ }
465
+ }
466
+ function s(l, p) {
467
+ for (; p < l.length; p++) {
468
+ var u = l[p];
469
+ if (u !== " ")
470
+ return u === "'" || u === '"' ? p : -1;
471
+ }
472
+ }
473
+ function c(l, p) {
474
+ for (; p > 0; p--) {
475
+ var u = l[p];
476
+ if (u !== " ")
477
+ return u === "=" ? p : -1;
478
+ }
479
+ }
480
+ function d(l) {
481
+ return l[0] === '"' && l[l.length - 1] === '"' || l[0] === "'" && l[l.length - 1] === "'";
482
+ }
483
+ function f(l) {
484
+ return d(l) ? l.substr(1, l.length - 2) : l;
485
+ }
486
+ return me.parseTag = o, me.parseAttr = t, me;
487
+ }
488
+ var Fe, gt;
489
+ function Pr() {
490
+ if (gt) return Fe;
491
+ gt = 1;
492
+ var r = Be().FilterCSS, e = Rt(), n = Dt(), o = n.parseTag, i = n.parseAttr, t = Ze();
493
+ function a(l) {
494
+ return l == null;
495
+ }
496
+ function s(l) {
497
+ var p = t.spaceIndex(l);
498
+ if (p === -1)
499
+ return {
500
+ html: "",
501
+ closing: l[l.length - 2] === "/"
502
+ };
503
+ l = t.trim(l.slice(p + 1, -1));
504
+ var u = l[l.length - 1] === "/";
505
+ return u && (l = t.trim(l.slice(0, -1))), {
506
+ html: l,
507
+ closing: u
508
+ };
509
+ }
510
+ function c(l) {
511
+ var p = {};
512
+ for (var u in l)
513
+ p[u] = l[u];
514
+ return p;
515
+ }
516
+ function d(l) {
517
+ var p = {};
518
+ for (var u in l)
519
+ Array.isArray(l[u]) ? p[u.toLowerCase()] = l[u].map(function(T) {
520
+ return T.toLowerCase();
521
+ }) : p[u.toLowerCase()] = l[u];
522
+ return p;
523
+ }
524
+ function f(l) {
525
+ l = c(l || {}), l.stripIgnoreTag && (l.onIgnoreTag && console.error(
526
+ 'Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'
527
+ ), l.onIgnoreTag = e.onIgnoreTagStripAll), l.whiteList || l.allowList ? l.whiteList = d(l.whiteList || l.allowList) : l.whiteList = e.whiteList, l.onTag = l.onTag || e.onTag, l.onTagAttr = l.onTagAttr || e.onTagAttr, l.onIgnoreTag = l.onIgnoreTag || e.onIgnoreTag, l.onIgnoreTagAttr = l.onIgnoreTagAttr || e.onIgnoreTagAttr, l.safeAttrValue = l.safeAttrValue || e.safeAttrValue, l.escapeHtml = l.escapeHtml || e.escapeHtml, this.options = l, l.css === !1 ? this.cssFilter = !1 : (l.css = l.css || {}, this.cssFilter = new r(l.css));
528
+ }
529
+ return f.prototype.process = function(l) {
530
+ if (l = l || "", l = l.toString(), !l) return "";
531
+ var p = this, u = p.options, T = u.whiteList, w = u.onTag, h = u.onIgnoreTag, S = u.onTagAttr, g = u.onIgnoreTagAttr, v = u.safeAttrValue, E = u.escapeHtml, x = p.cssFilter;
532
+ u.stripBlankChar && (l = e.stripBlankChar(l)), u.allowCommentTag || (l = e.stripCommentTag(l));
533
+ var b = !1;
534
+ u.stripIgnoreTagBody && (b = e.StripTagBody(
535
+ u.stripIgnoreTagBody,
536
+ h
537
+ ), h = b.onIgnoreTag);
538
+ var C = o(
539
+ l,
540
+ function(_, O, M, L, U) {
541
+ var j = {
542
+ sourcePosition: _,
543
+ position: O,
544
+ isClosing: U,
545
+ isWhite: Object.prototype.hasOwnProperty.call(T, M)
546
+ }, J = w(M, L, j);
547
+ if (!a(J)) return J;
548
+ if (j.isWhite) {
549
+ if (j.isClosing)
550
+ return "</" + M + ">";
551
+ var he = s(L), y = T[M], A = i(he.html, function(m, I) {
552
+ var $ = t.indexOf(y, m) !== -1, N = S(M, m, I, $);
553
+ return a(N) ? $ ? (I = v(M, m, I, x), I ? m + '="' + I + '"' : m) : (N = g(M, m, I, $), a(N) ? void 0 : N) : N;
554
+ });
555
+ return L = "<" + M, A && (L += " " + A), he.closing && (L += " /"), L += ">", L;
556
+ } else
557
+ return J = h(M, L, j), a(J) ? E(L) : J;
558
+ },
559
+ E
560
+ );
561
+ return b && (C = b.remove(C)), C;
562
+ }, Fe = f, Fe;
563
+ }
564
+ var vt;
565
+ function Fr() {
566
+ return vt || (vt = 1, function(r, e) {
567
+ var n = Rt(), o = Dt(), i = Pr();
568
+ function t(s, c) {
569
+ var d = new i(c);
570
+ return d.process(s);
571
+ }
572
+ e = r.exports = t, e.filterXSS = t, e.FilterXSS = i, function() {
573
+ for (var s in n)
574
+ e[s] = n[s];
575
+ for (var c in o)
576
+ e[c] = o[c];
577
+ }(), typeof window < "u" && (window.filterXSS = r.exports);
578
+ function a() {
579
+ return typeof self < "u" && typeof DedicatedWorkerGlobalScope < "u" && self instanceof DedicatedWorkerGlobalScope;
580
+ }
581
+ a() && (self.filterXSS = r.exports);
582
+ }(Oe, Oe.exports)), Oe.exports;
583
+ }
584
+ var Ue = Fr();
585
+ let $e = {
586
+ html: {
587
+ whiteList: {
588
+ a: ["class", "style", "contenteditable", "data-id", "data-title", "data-size", "href", "data-last-modified"],
589
+ address: ["class", "style"],
590
+ area: ["class", "style"],
591
+ article: ["class", "style"],
592
+ aside: ["class", "style"],
593
+ audio: ["class", "style"],
594
+ b: ["class", "style"],
595
+ bdi: ["class", "style"],
596
+ bdo: ["class", "style"],
597
+ big: ["class", "style"],
598
+ blockquote: ["class", "style"],
599
+ br: ["class", "style"],
600
+ caption: ["class", "style"],
601
+ center: ["class", "style"],
602
+ cite: ["class", "style"],
603
+ code: ["class", "style"],
604
+ col: ["class", "style"],
605
+ colgroup: ["class", "style"],
606
+ dd: ["class", "style"],
607
+ del: ["class", "style"],
608
+ details: ["class", "style"],
609
+ div: [
610
+ "class",
611
+ "style",
612
+ "spellcheck",
613
+ "data-gramm",
614
+ "spellcheck",
615
+ "data-mode",
616
+ "data-position",
617
+ "data-row",
618
+ "data-cell",
619
+ "data-rowspan",
620
+ "data-colspan",
621
+ "data-cell-bg",
622
+ "data-parent-bg"
623
+ ],
624
+ dl: ["class", "style"],
625
+ dt: ["class", "style"],
626
+ em: ["class", "style"],
627
+ figcaption: ["class", "style"],
628
+ figure: ["class", "style"],
629
+ font: ["class", "style"],
630
+ footer: ["class", "style"],
631
+ h1: ["class", "style"],
632
+ h2: ["class", "style"],
633
+ h3: ["class", "style"],
634
+ h4: ["class", "style"],
635
+ h5: ["class", "style"],
636
+ h6: ["class", "style"],
637
+ header: ["class", "style"],
638
+ hr: ["class", "style"],
639
+ i: ["class", "style", "data-image-id", "data-image"],
640
+ img: ["class", "style", "devui-editorx-image", "style", "data-image-id", "src"],
641
+ input: ["class", "style", "data-formula", "data-link", "data-video"],
642
+ ins: ["class", "style"],
643
+ li: ["class", "style"],
644
+ mark: ["class", "style"],
645
+ nav: ["class", "style"],
646
+ ol: ["class", "style"],
647
+ p: ["class", "style"],
648
+ pre: ["class", "style"],
649
+ s: ["class", "style"],
650
+ section: ["class", "style"],
651
+ small: ["class", "style"],
652
+ span: ["class", "style", "contenteditable", "color", "style"],
653
+ sub: ["class", "style"],
654
+ summary: ["class", "style"],
655
+ sup: ["class", "style"],
656
+ strong: ["class", "style"],
657
+ strike: ["class", "style"],
658
+ svg: ["class", "style", "t", "viewBox", "viewbox", "version", "xmlns", "p-id", "xmlns:xlink"],
659
+ path: ["d", "p-id"],
660
+ table: ["class", "style"],
661
+ tbody: ["class", "style"],
662
+ td: ["class", "style", "data-row", "data-cell", "data-cell-bg", "data-parent-bg"],
663
+ tfoot: ["class", "style"],
664
+ th: ["class", "style"],
665
+ thead: ["class", "style"],
666
+ tr: ["class", "style", "data-row"],
667
+ tt: ["class", "style"],
668
+ u: ["class", "style"],
669
+ ul: ["class", "style"],
670
+ video: ["class", "style"]
671
+ }
672
+ }
673
+ };
674
+ const Lr = Ue.getDefaultWhiteList && Ue.getDefaultWhiteList() || {};
675
+ $e.html.whiteList = Object.assign(Lr, $e.html.whiteList);
676
+ new Ue.FilterXSS($e.html);
677
+ const Nt = Object.prototype.toString, jt = Object.prototype.hasOwnProperty, zr = Object.getPrototypeOf, Bt = jt.toString, Rr = Bt.call(Object), Dr = {
678
+ "[object Error]": "error",
679
+ "[object Object]": "object",
680
+ "[object RegExp]": "regExp",
681
+ "[object Date]": "date",
682
+ "[object Array]": "array",
683
+ "[object Function]": "function",
684
+ "[object AsyncFunction]": "asyncFunction",
685
+ "[object String]": "string",
686
+ "[object Number]": "number",
687
+ "[object Boolean]": "boolean"
688
+ }, Ut = (r) => r == null, Te = (r) => Ut(r) ? String(r) : Dr[Nt.call(r)] || "object", yt = (r) => Te(r) === "object", ne = (r) => {
689
+ if (!r || Nt.call(r) !== "[object Object]")
690
+ return !1;
691
+ const e = zr(r);
692
+ if (!e)
693
+ return !0;
694
+ const n = jt.call(e, "constructor") && e.constructor;
695
+ return typeof n == "function" && Bt.call(n) === Rr;
696
+ }, F = typeof window > "u", Nr = () => {
697
+ let r = 8;
698
+ return document.addEventListener && window.performance && (r = 9, window.atob && window.matchMedia && (r = 10, !window.attachEvent && !document.all && (r = 11))), r;
699
+ }, jr = (r) => {
700
+ r.chrome && ~navigator.userAgent.indexOf("Edg") ? (r.name = "edge", r.edge = !0, delete r.chrome) : !document.documentMode && window.StyleMedia && (r.name = "edge", r.edge = !0);
701
+ };
702
+ (() => {
703
+ if (F) return null;
704
+ const r = {
705
+ name: "",
706
+ version: 0,
707
+ isDoc: typeof document < "u",
708
+ isMobile: !1,
709
+ isPC: !0,
710
+ isNode: F,
711
+ chrome: !1,
712
+ ie: !1,
713
+ firefox: !1,
714
+ safari: !1,
715
+ opera: !1,
716
+ edge: !1
717
+ }, e = /(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent);
718
+ r.isMobile = e, r.isPC = !e;
719
+ let n;
720
+ if (window.chrome && (window.chrome.webstore || /^Google\b/.test(window.navigator.vendor)) ? (r.name = "chrome", r.chrome = !0, n = navigator.userAgent.match(/chrome\/(\d+)/i), r.version = !!n && !!n[1] && parseInt(n[1], 10), n = void 0) : document.all || document.documentMode ? (r.name = "ie", r.version = Nr(), r.ie = !0) : typeof window.InstallTrigger < "u" ? (r.name = "firefox", r.firefox = !0) : Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? (r.name = "safari", r.safari = !0) : (window.opr && window.opr.addons || window.opera) && (r.name = "opera", r.opera = !0), jr(r), !~["ie", "chrome"].indexOf(r.name)) {
721
+ const o = r.name + "/(\\d+)";
722
+ n = navigator.userAgent.match(new RegExp(o, "i")), r.version = !!n && !!n[1] && parseInt(n[1], 10), n = void 0;
723
+ }
724
+ if (r.isDoc) {
725
+ const o = document.body || document.documentElement;
726
+ ["webkit", "khtml", "moz", "ms", "o"].forEach((i) => {
727
+ r["-" + i] = !!o[i + "MatchesSelector"];
728
+ });
729
+ }
730
+ return r;
731
+ })();
732
+ const B = (r, e, n, o = !1) => {
733
+ r && e && n && r.addEventListener(e, n, o);
734
+ }, Z = (r, e, n, o = !1) => {
735
+ r && e && r.removeEventListener(e, n, o);
736
+ }, ge = (r, e = "") => {
737
+ r && e.split(" ").filter((n) => n).forEach((n) => r.classList.add(n));
738
+ }, ve = (r, e) => {
739
+ !r || !e || e.split(" ").filter((n) => n).forEach((n) => r.classList.remove(n));
740
+ }, $t = (r) => {
741
+ if (F) return !1;
742
+ if (r) {
743
+ const e = getComputedStyle(r);
744
+ if (e.getPropertyValue("position") === "fixed") {
745
+ if (e.getPropertyValue("display") === "none")
746
+ return !0;
747
+ if (r.parentNode !== document.body)
748
+ return $t(r.parentNode);
749
+ } else
750
+ return r.offsetParent === null;
751
+ }
752
+ return !1;
753
+ }, qt = function() {
754
+ if (typeof Map < "u")
755
+ return Map;
756
+ const r = (e, n) => {
757
+ let o = -1;
758
+ return e.some((i, t) => i[0] === n ? (o = t, !0) : !1), o;
759
+ };
760
+ return function() {
761
+ function e() {
762
+ this.__entries__ = [];
763
+ }
764
+ return Object.defineProperty(e.prototype, "size", {
765
+ get() {
766
+ return this.__entries__.length;
767
+ },
768
+ enumerable: !0,
769
+ configurable: !0
770
+ }), e.prototype.get = function(n) {
771
+ const o = r(this.__entries__, n), i = this.__entries__[o];
772
+ return i && i[1];
773
+ }, e.prototype.set = function(n, o) {
774
+ const i = r(this.__entries__, n);
775
+ ~i ? this.__entries__[i][1] = o : this.__entries__.push([n, o]);
776
+ }, e.prototype.delete = function(n) {
777
+ const o = this.__entries__, i = r(o, n);
778
+ ~i && o.splice(i, 1);
779
+ }, e.prototype.clear = function() {
780
+ this.__entries__.splice(0);
781
+ }, e.prototype.has = function(n) {
782
+ return !!~r(this.__entries__, n);
783
+ }, e.prototype.forEach = function(n, o) {
784
+ o === void 0 && (o = null);
785
+ for (let i = 0, t = this.__entries__; i < t.length; i++) {
786
+ const a = t[i];
787
+ n.call(o, a[1], a[0]);
788
+ }
789
+ }, e;
790
+ }();
791
+ }(), Br = globalThis.Function, xe = function() {
792
+ const r = (e) => e.Math === Math;
793
+ return typeof global < "u" && r(global) ? global : typeof self < "u" && r(self) ? self : typeof window < "u" && r(window) ? window : Br("return this")();
794
+ }(), Ur = function() {
795
+ return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(xe) : function(r) {
796
+ return setTimeout(() => r(Date.now()), 1e3 / 60);
797
+ };
798
+ }();
799
+ let $r = 2;
800
+ function qr(r, e) {
801
+ let n = !1, o = !1, i = 0, t;
802
+ const a = () => {
803
+ n && (n = !1, r()), o && t();
804
+ }, s = () => {
805
+ Ur(a);
806
+ };
807
+ return t = () => {
808
+ const c = Date.now();
809
+ if (n) {
810
+ if (c - i < $r)
811
+ return;
812
+ o = !0;
813
+ } else
814
+ n = !0, o = !1, setTimeout(s, e);
815
+ i = c;
816
+ }, t;
817
+ }
818
+ const Vr = 20, Hr = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Wr = typeof MutationObserver < "u", Gr = function() {
819
+ function r() {
820
+ this.observers_ = [], this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = qr(this.refresh.bind(this), Vr);
821
+ }
822
+ return r.prototype.addObserver = function(e) {
823
+ !~this.observers_.indexOf(e) && this.observers_.push(e), !this.connected_ && this.connect_();
824
+ }, r.prototype.removeObserver = function(e) {
825
+ const n = this.observers_, o = n.indexOf(e);
826
+ ~o && n.splice(o, 1), !n.length && this.connected_ && this.disconnect_();
827
+ }, r.prototype.refresh = function() {
828
+ this.updateObservers_() && this.refresh();
829
+ }, r.prototype.updateObservers_ = function() {
830
+ const e = this.observers_.filter((n) => (n.gatherActive(), n.hasActive()));
831
+ return e.forEach((n) => n.broadcastActive()), e.length > 0;
832
+ }, r.prototype.connect_ = function() {
833
+ if (!(F || this.connected_)) {
834
+ if (B(document, "transitionend", this.onTransitionEnd_), B(window, "resize", this.refresh), Wr) {
835
+ this.mutationsObserver_ = new MutationObserver(this.refresh);
836
+ const e = {
837
+ attributes: !0,
838
+ childList: !0,
839
+ characterData: !0,
840
+ subtree: !0
841
+ };
842
+ this.mutationsObserver_.observe(document, e);
843
+ } else
844
+ B(document, "DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0;
845
+ this.connected_ = !0;
846
+ }
847
+ }, r.prototype.disconnect_ = function() {
848
+ F || !this.connected_ || (Z(document, "transitionend", this.onTransitionEnd_), Z(window, "resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && Z(document, "DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
849
+ }, r.prototype.onTransitionEnd_ = function(e) {
850
+ const n = e.propertyName, o = n === void 0 ? "" : n;
851
+ Hr.some((i) => !!~o.indexOf(i)) && this.refresh();
852
+ }, r.getInstance = function() {
853
+ return this._instance || (this._instance = new r()), this._instance;
854
+ }, r._instance = null, r;
855
+ }(), Vt = function(r, e) {
856
+ for (let n = 0, o = Object.keys(e); n < o.length; n++) {
857
+ const i = o[n];
858
+ Object.defineProperty(r, i, {
859
+ value: e[i],
860
+ configurable: !0,
861
+ writable: !1,
862
+ enumerable: !1
863
+ });
864
+ }
865
+ return r;
866
+ }, Ce = function(r, e, n, o) {
867
+ return { x: r, y: e, width: n, height: o };
868
+ }, oe = function(r) {
869
+ return r && r.ownerDocument && r.ownerDocument.defaultView || xe;
870
+ }, Ht = Ce(0, 0, 0, 0), Se = (r) => parseFloat(r) || 0, bt = function(r) {
871
+ let e = [];
872
+ for (let n = 1; n < arguments.length; n++)
873
+ e[n - 1] = arguments[n];
874
+ return e.reduce((n, o) => {
875
+ const i = r[`border-${o}-width`];
876
+ return n + Se(i);
877
+ }, 0);
878
+ }, Yr = function(r) {
879
+ const e = ["top", "right", "bottom", "left"];
880
+ let n = {};
881
+ for (let o = 0, i = e; o < i.length; o++) {
882
+ const t = i[o], a = r[`padding-${t}`];
883
+ n[t] = Se(a);
884
+ }
885
+ return n;
886
+ }, Jr = function(r) {
887
+ const e = r.getBBox();
888
+ return Ce(0, 0, e.width, e.height);
889
+ }, Kr = function(r) {
890
+ return r === oe(r).document.documentElement;
891
+ }, Qr = function(r) {
892
+ const e = r.clientWidth, n = r.clientHeight;
893
+ if (!n && !e)
894
+ return Ht;
895
+ const o = oe(r).getComputedStyle(r), i = Yr(o), t = i.top + i.bottom, a = i.left + i.right;
896
+ let s = Se(o.width), c = Se(o.height);
897
+ if (o.boxSizing === "border-box" && (Math.round(c + t) !== n && (c -= bt(o, "top", "bottom") + t), Math.round(s + a) !== e && (s -= bt(o, "left", "right") + a)), !Kr(r)) {
898
+ const d = Math.round(c + t) - n, f = Math.round(s + a) - e;
899
+ Math.abs(d) !== 1 && (c -= d), Math.abs(f) !== 1 && (s -= f);
900
+ }
901
+ return Ce(i.left, i.top, s, c);
902
+ }, Zr = /* @__PURE__ */ function() {
903
+ return typeof SVGGraphicsElement < "u" ? (r) => r instanceof oe(r).SVGGraphicsElement : (r) => r instanceof oe(r).SVGElement && typeof r.getBBox == "function";
904
+ }(), Xr = function(r) {
905
+ return F ? Ht : Zr(r) ? Jr(r) : Qr(r);
906
+ }, en = function(r) {
907
+ const e = r.x, n = r.y, o = r.width, i = r.height, t = Object.create((typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object).prototype);
908
+ return Vt(t, {
909
+ x: e,
910
+ y: n,
911
+ width: o,
912
+ height: i,
913
+ top: n,
914
+ right: e + o,
915
+ bottom: i + n,
916
+ left: e
917
+ }), t;
918
+ }, tn = function() {
919
+ function r(e) {
920
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = Ce(0, 0, 0, 0), this.target = e;
921
+ }
922
+ return r.prototype.broadcastRect = function() {
923
+ const e = this.contentRect_;
924
+ return this.broadcastWidth = e.width, this.broadcastHeight = e.height, e;
925
+ }, r.prototype.isActive = function() {
926
+ const e = Xr(this.target);
927
+ return this.contentRect_ = e, e.width !== this.broadcastWidth || e.height !== this.broadcastHeight;
928
+ }, r;
929
+ }(), rn = /* @__PURE__ */ function() {
930
+ function r(e, n) {
931
+ const o = en(n);
932
+ Vt(this, { target: e, contentRect: o });
933
+ }
934
+ return r;
935
+ }(), nn = function() {
936
+ function r(e, n, o) {
937
+ if (this.observations_ = new qt(), this.activeObservations_ = [], typeof e != "function")
938
+ throw new TypeError("[TINY-Resize] The callback provided as parameter 1 is not a function.");
939
+ this.callback_ = e, this.controller_ = n, this.callbackCtx_ = o;
940
+ }
941
+ return r.prototype.observe = function(e) {
942
+ if (!arguments.length)
943
+ throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
944
+ if (typeof Element > "u" || !(Element instanceof Object))
945
+ return;
946
+ if (!(e instanceof oe(e).Element))
947
+ throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
948
+ const n = this.observations_;
949
+ n.has(e) || (n.set(e, new tn(e)), this.controller_.addObserver(this), this.controller_.refresh());
950
+ }, r.prototype.unobserve = function(e) {
951
+ if (!arguments.length)
952
+ throw new TypeError("[TINY-Resize]1 argument required, but only 0 present.");
953
+ if (typeof Element > "u" || !(Element instanceof Object))
954
+ return;
955
+ if (!(e instanceof oe(e).Element))
956
+ throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
957
+ const n = this.observations_;
958
+ n.has(e) && (n.delete(e), !n.size && this.controller_.removeObserver(this));
959
+ }, r.prototype.gatherActive = function() {
960
+ const e = this;
961
+ this.clearActive(), this.observations_.forEach((n) => {
962
+ n.isActive() && e.activeObservations_.push(n);
963
+ });
964
+ }, r.prototype.disconnect = function() {
965
+ this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
966
+ }, r.prototype.broadcastActive = function() {
967
+ if (!this.hasActive())
968
+ return;
969
+ const e = this.callbackCtx_, n = this.activeObservations_.map(
970
+ (o) => new rn(o.target, o.broadcastRect())
971
+ );
972
+ this.callback_.call(e, n, e), this.clearActive();
973
+ }, r.prototype.hasActive = function() {
974
+ return this.activeObservations_.length > 0;
975
+ }, r.prototype.clearActive = function() {
976
+ this.activeObservations_.splice(0);
977
+ }, r;
978
+ }(), Wt = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new qt(), Gt = /* @__PURE__ */ function() {
979
+ function r(e) {
980
+ if (!(this instanceof r))
981
+ throw new TypeError("[TINY-Resize] Cannot call a class as a function.");
982
+ if (!arguments.length)
983
+ throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
984
+ const n = Gr.getInstance(), o = new nn(e, n, this);
985
+ Wt.set(this, o);
986
+ }
987
+ return r;
988
+ }();
989
+ ["observe", "unobserve", "disconnect"].forEach((r) => {
990
+ Gt.prototype[r] = function() {
991
+ let e;
992
+ return (e = Wt.get(this))[r].apply(e, arguments);
993
+ };
994
+ });
995
+ (function() {
996
+ return typeof xe.ResizeObserver < "u" ? xe.ResizeObserver : Gt;
997
+ })();
998
+ const on = "tcirzywvqlkjhgfbZQG_FLOWHSUBDNIMYREVKCAJxp57XP043891T62-modnaesu";
999
+ on.split("").reverse().join("");
1000
+ function an(r) {
1001
+ return !F && (r.document.all || r.document.documentMode) && !r.crypto && r.msCrypto;
1002
+ }
1003
+ function sn(r) {
1004
+ if (an(r)) {
1005
+ r.crypto = r.msCrypto;
1006
+ const e = r.crypto.getRandomValues;
1007
+ r.crypto.getRandomValues = function(n) {
1008
+ const o = e.call(r.crypto, n), i = [];
1009
+ for (let t = 0; t < n.length; t++)
1010
+ i[t] = o[t];
1011
+ return i;
1012
+ };
1013
+ }
1014
+ }
1015
+ const ln = globalThis;
1016
+ sn(ln);
1017
+ let Ee;
1018
+ const cn = (r, e, n) => {
1019
+ if (!r || !ne(r) || !e || typeof e != "string")
1020
+ return;
1021
+ const o = e.split(".");
1022
+ let i = r;
1023
+ const t = o.length;
1024
+ if (t > 1) {
1025
+ for (let s = 0; s < t; s++)
1026
+ if (i = i[o[s]], Ut(i))
1027
+ return i;
1028
+ return i;
1029
+ } else
1030
+ return i[o[0]];
1031
+ }, un = (r, e, n, o) => {
1032
+ if (!r || !ne(r) || !e || typeof e != "string")
1033
+ return r;
1034
+ const i = e.split("."), t = r;
1035
+ let a = i.length, s = i[0];
1036
+ if (a > 1) {
1037
+ a--;
1038
+ let c = t, d, f;
1039
+ for (let l = 0; l < a; l++)
1040
+ d = i[l], f = c[d], (f === null || !ne(f)) && (c[d] = {}, f = c[d]), c = f;
1041
+ s = i[a], c[s] = n;
1042
+ } else
1043
+ t[s] = n;
1044
+ return t;
1045
+ }, dn = (r, e, n, o) => {
1046
+ const i = (t, a, s, c) => {
1047
+ const d = {};
1048
+ return a.forEach((f) => un(d, f, cn(t, f))), d;
1049
+ };
1050
+ return ne(r) ? Array.isArray(e) ? i(r, e) : Ee(n !== !1, {}, r) : r;
1051
+ }, fn = (r) => Array.isArray(r) ? r.map((e) => dn(e)) : r, pn = (r, e, n, o, i) => {
1052
+ let t;
1053
+ if (n && o && (ne(o) || (t = Array.isArray(o))))
1054
+ if (t)
1055
+ t = !1, r[e] = fn(o);
1056
+ else {
1057
+ const a = i && ne(i) ? i : {};
1058
+ r[e] = Ee(n, a, o);
1059
+ }
1060
+ else if (o !== void 0)
1061
+ try {
1062
+ r[e] = o;
1063
+ } catch {
1064
+ }
1065
+ };
1066
+ Ee = function(...r) {
1067
+ const e = r.length;
1068
+ let n = r[0] || {}, o = 1, i = !1;
1069
+ for (Te(n) === "boolean" && (i = n, n = r[o] || {}, o++), !yt(n) && Te(n) !== "function" && (n = {}); o < e; o++) {
1070
+ const t = r[o];
1071
+ if (t !== null && yt(t)) {
1072
+ const a = Object.keys(t);
1073
+ for (const s of a) {
1074
+ const c = n[s], d = t[s];
1075
+ n !== d && pn(n, s, i, d, c);
1076
+ }
1077
+ }
1078
+ }
1079
+ return n;
1080
+ };
1081
+ function Xe(r) {
1082
+ let e = /* @__PURE__ */ Object.create(null);
1083
+ return function(n) {
1084
+ return e[n] || (e[n] = r(n));
1085
+ };
1086
+ }
1087
+ const hn = /-(\w)/g, mn = Xe((r) => r.replace(hn, (e, n) => n ? n.toUpperCase() : "")), gn = Xe((r) => r.charAt(0).toUpperCase() + r.slice(1)), vn = /\B([A-Z])/g, yn = Xe((r) => r.replace(vn, "-$1").toLowerCase()), bn = () => globalThis.crypto.getRandomValues(new Uint32Array(1))[0] / 4294967296, Vo = (r = "", e = 8) => r + bn().toString().substr(2, e), wn = {
1088
+ Escape: 27
1089
+ }, Yt = {
1090
+ fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
1091
+ fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1092
+ }, et = ["\\d\\d?", "\\d{3}", "\\d{4}"], G = et[0], Tn = et[1], xn = et[2], le = "[^\\s]+", wt = () => {
1093
+ }, Jt = (r, e) => {
1094
+ let n = [];
1095
+ for (let o = 0, i = r.length; o < i; o++)
1096
+ n.push(r[o].substr(0, e));
1097
+ return n;
1098
+ }, Tt = (r) => (e, n, o) => {
1099
+ const i = o[r].indexOf(n.charAt(0).toUpperCase() + n.substr(1).toLowerCase());
1100
+ ~i && (e.month = i);
1101
+ }, Sn = Yt.fullWeeks, kn = Yt.fullMonths;
1102
+ Jt(kn, 3);
1103
+ Jt(Sn, 3);
1104
+ const re = {
1105
+ d: [
1106
+ G,
1107
+ (r, e) => {
1108
+ r.day = e;
1109
+ }
1110
+ ],
1111
+ Do: [
1112
+ G + le,
1113
+ (r, e) => {
1114
+ r.day = parseInt(e, 10);
1115
+ }
1116
+ ],
1117
+ M: [
1118
+ G,
1119
+ (r, e) => {
1120
+ r.month = e - 1;
1121
+ }
1122
+ ],
1123
+ yy: [
1124
+ G,
1125
+ (r, e) => {
1126
+ const n = Number(String((/* @__PURE__ */ new Date()).getFullYear()).substr(0, 2));
1127
+ r.year = String(e > 68 ? n - 1 : n) + e;
1128
+ }
1129
+ ],
1130
+ h: [
1131
+ G,
1132
+ (r, e) => {
1133
+ r.hour = e;
1134
+ }
1135
+ ],
1136
+ m: [
1137
+ G,
1138
+ (r, e) => {
1139
+ r.minute = e;
1140
+ }
1141
+ ],
1142
+ s: [
1143
+ G,
1144
+ (r, e) => {
1145
+ r.second = e;
1146
+ }
1147
+ ],
1148
+ yyyy: [
1149
+ xn,
1150
+ (r, e) => {
1151
+ r.year = e;
1152
+ }
1153
+ ],
1154
+ S: [
1155
+ "\\d",
1156
+ (r, e) => {
1157
+ r.millisecond = e * 100;
1158
+ }
1159
+ ],
1160
+ SS: [
1161
+ "\\d{2}",
1162
+ (r, e) => {
1163
+ r.millisecond = e * 10;
1164
+ }
1165
+ ],
1166
+ SSS: [
1167
+ Tn,
1168
+ (r, e) => {
1169
+ r.millisecond = e;
1170
+ }
1171
+ ],
1172
+ D: [G, wt],
1173
+ ddd: [le, wt],
1174
+ MMM: [le, Tt("monthNamesShort")],
1175
+ MMMM: [le, Tt("monthNames")],
1176
+ a: [
1177
+ le,
1178
+ (r, e, n) => {
1179
+ const o = e.toLowerCase();
1180
+ o === n.amPm[0] ? r.isPm = !1 : o === n.amPm[1] && (r.isPm = !0);
1181
+ }
1182
+ ],
1183
+ ZZ: [
1184
+ "[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",
1185
+ (r, e) => {
1186
+ let n = String(e).match(/([+-]|\d\d)/gi), o;
1187
+ n && (o = Number(n[1] * 60) + parseInt(n[2], 10), r.timezoneOffset = n[0] === "+" ? o : -o);
1188
+ }
1189
+ ]
1190
+ }, Cn = ["A", "DD", "dd", "mm", "hh", "MM", "ss", "hh", "H", "HH"];
1191
+ re.dddd = re.ddd;
1192
+ Cn.forEach((r) => {
1193
+ r === "MM" ? re[r] = re[r.substr(0, 1)] : re[r] = re[r.substr(0, 1).toLowerCase()];
1194
+ });
1195
+ const En = () => {
1196
+ }, An = function() {
1197
+ return F ? function(r) {
1198
+ setTimeout(() => r(Date.now()), 1e3 / 60);
1199
+ } : window.requestAnimationFrame.bind(window);
1200
+ }(), qe = (r) => {
1201
+ r.scheduled || (r.scheduled = !0, r.raf(_n.bind(null, r)));
1202
+ }, _n = (r) => {
1203
+ const { reads: e, writes: n } = r;
1204
+ let o;
1205
+ try {
1206
+ r.runTasks(e), r.runTasks(n);
1207
+ } catch (i) {
1208
+ o = i;
1209
+ }
1210
+ if (r.scheduled = !1, (e.length || n.length) && qe(r), o)
1211
+ if (r.catch)
1212
+ r.catch(o);
1213
+ else
1214
+ throw o;
1215
+ }, xt = (r, e) => {
1216
+ const n = r.indexOf(e);
1217
+ return !!~n && !!r.splice(n, 1);
1218
+ }, On = (r, e) => {
1219
+ for (let n in e)
1220
+ Object.hasOwnProperty.call(e, n) && (r[n] = e[n]);
1221
+ };
1222
+ class Mn {
1223
+ constructor() {
1224
+ this.reads = [], this.writes = [], this.raf = An.bind(window);
1225
+ }
1226
+ runTasks(e) {
1227
+ let n;
1228
+ for (; n = e.shift(); ) n();
1229
+ }
1230
+ measure(e, n) {
1231
+ const o = n ? e.bind(n) : e;
1232
+ return this.reads.push(o), qe(this), o;
1233
+ }
1234
+ mutate(e, n) {
1235
+ const o = n ? e.bind(n) : e;
1236
+ return this.writes.push(o), qe(this), o;
1237
+ }
1238
+ clear(e) {
1239
+ return xt(this.reads, e) || xt(this.writes, e);
1240
+ }
1241
+ extend(e) {
1242
+ if (!e || typeof e != "object") throw new Error("[TINY][FastDom] expected object");
1243
+ const n = Object.create(this);
1244
+ return On(n, e), n.fastdom = this, n.initialize && n.initialize(), n;
1245
+ }
1246
+ }
1247
+ const Kt = new Mn(), St = (r, e, n, o) => {
1248
+ const i = r._tasks, t = r.fastdom;
1249
+ let a;
1250
+ const s = new Promise(function(c, d) {
1251
+ a = t[e](function() {
1252
+ i.delete(s);
1253
+ try {
1254
+ c(o ? n.call(o) : n());
1255
+ } catch (f) {
1256
+ d(f);
1257
+ }
1258
+ }, o);
1259
+ });
1260
+ return i.set(s, a), s;
1261
+ }, In = {
1262
+ initialize() {
1263
+ this._tasks = /* @__PURE__ */ new Map();
1264
+ },
1265
+ mutate(r, e) {
1266
+ return St(this, "mutate", r, e);
1267
+ },
1268
+ measure(r, e) {
1269
+ return St(this, "measure", r, e);
1270
+ },
1271
+ clear(r) {
1272
+ const e = this._tasks, n = e.get(r);
1273
+ this.fastdom.clear(n), e.delete(r);
1274
+ }
1275
+ };
1276
+ Kt.extend(In);
1277
+ const Pn = (r, e) => {
1278
+ let n = e.length;
1279
+ for (; n--; )
1280
+ r.clear(e[n]), e.splice(n, 1);
1281
+ }, Fn = (r, e) => {
1282
+ const n = r.indexOf(e);
1283
+ return !!~n && !!r.splice(n, 1);
1284
+ };
1285
+ class Ln {
1286
+ constructor(e) {
1287
+ this.fastdom = e, this.tasks = [];
1288
+ }
1289
+ measure(e, n) {
1290
+ const o = this.tasks, i = this.fastdom.measure(function() {
1291
+ return o.splice(o.indexOf(i)), e.call(n);
1292
+ });
1293
+ return o.push(i), i;
1294
+ }
1295
+ mutate(e, n) {
1296
+ const o = this.tasks, i = this.fastdom.mutate(function() {
1297
+ return o.splice(o.indexOf(i)), e.call(n);
1298
+ });
1299
+ return this.tasks.push(i), i;
1300
+ }
1301
+ clear(e) {
1302
+ return arguments.length || Pn(this.fastdom, this.tasks), Fn(this.tasks, e), this.fastdom.clear(e);
1303
+ }
1304
+ }
1305
+ const zn = {
1306
+ sandbox() {
1307
+ return new Ln(this.fastdom);
1308
+ }
1309
+ };
1310
+ Kt.extend(zn);
1311
+ const Rn = [
1312
+ "fullscreenElement",
1313
+ "fullscreenEnabled",
1314
+ "requestFullscreen",
1315
+ "exitFullscreen",
1316
+ "fullscreenchange",
1317
+ "fullscreenerror"
1318
+ ], Dn = [
1319
+ "mozFullScreenElement",
1320
+ "mozFullScreenEnabled",
1321
+ "mozRequestFullScreen",
1322
+ "mozCancelFullScreen",
1323
+ "mozfullscreenchange",
1324
+ "mozfullscreenerror"
1325
+ ], Nn = [
1326
+ "webkitFullscreenElement",
1327
+ "webkitFullscreenEnabled",
1328
+ "webkitRequestFullscreen",
1329
+ "webkitExitFullscreen",
1330
+ "webkitfullscreenchange",
1331
+ "webkitfullscreenerror"
1332
+ ], jn = [
1333
+ "msFullscreenElement",
1334
+ "msFullscreenEnabled",
1335
+ "msRequestFullscreen",
1336
+ "msExitFullscreen",
1337
+ "MSFullscreenChange",
1338
+ "MSFullscreenError"
1339
+ ], Le = [Rn, Nn, Dn, jn], V = typeof window < "u" && typeof window.document < "u" ? window.document : {};
1340
+ let z = null;
1341
+ const Bn = () => {
1342
+ if (!F)
1343
+ for (let r = 0, e = Le.length; r < e; r++) {
1344
+ let n = Le[r];
1345
+ if (n && n[1] in V) {
1346
+ for (z = {}, r = 0; r < n.length; r++)
1347
+ z[Le[0][r]] = n[r];
1348
+ return;
1349
+ }
1350
+ }
1351
+ };
1352
+ Bn();
1353
+ const kt = {
1354
+ change: z && z.fullscreenchange,
1355
+ error: z && z.fullscreenerror
1356
+ }, Ve = {
1357
+ request(r, e) {
1358
+ return new Promise((n, o) => {
1359
+ const i = () => {
1360
+ this.off("change", i), n();
1361
+ };
1362
+ if (this.on("change", i), r = r || (F ? null : V.documentElement), r && z && r[z.requestFullscreen]) {
1363
+ const t = r[z.requestFullscreen](e);
1364
+ t instanceof Promise && t.then(i).catch(o);
1365
+ } else
1366
+ o(new Error("Fullscreen API not supported or element is null."));
1367
+ });
1368
+ },
1369
+ exit() {
1370
+ return new Promise((r, e) => {
1371
+ if (!this.isFullscreen) {
1372
+ r();
1373
+ return;
1374
+ }
1375
+ const n = () => {
1376
+ this.off("change", n), r();
1377
+ };
1378
+ if (this.on("change", n), !F && z && V[z.exitFullscreen]) {
1379
+ const o = V[z.exitFullscreen]();
1380
+ o instanceof Promise && o.then(n).catch(e);
1381
+ } else
1382
+ e(new Error("Fullscreen API not supported."));
1383
+ });
1384
+ },
1385
+ toggle(r, e) {
1386
+ return this.isFullscreen ? this.exit() : this.request(r, e);
1387
+ },
1388
+ onchange(r) {
1389
+ this.on("change", r);
1390
+ },
1391
+ onerror(r) {
1392
+ this.on("error", r);
1393
+ },
1394
+ on(r, e) {
1395
+ const n = kt[r];
1396
+ n && !F && B(V, n, e);
1397
+ },
1398
+ off(r, e) {
1399
+ const n = kt[r];
1400
+ n && !F && Z(V, n, e);
1401
+ },
1402
+ raw: z || {}
1403
+ };
1404
+ F ? Object.defineProperties(Ve, {
1405
+ isFullscreen: {
1406
+ get() {
1407
+ return !1;
1408
+ }
1409
+ },
1410
+ element: {
1411
+ enumerable: !0,
1412
+ get() {
1413
+ return null;
1414
+ }
1415
+ },
1416
+ isEnabled: {
1417
+ enumerable: !0,
1418
+ get() {
1419
+ return !1;
1420
+ }
1421
+ }
1422
+ }) : Object.defineProperties(Ve, {
1423
+ isFullscreen: {
1424
+ get() {
1425
+ return !!V[z && z.fullscreenElement];
1426
+ }
1427
+ },
1428
+ element: {
1429
+ enumerable: !0,
1430
+ get() {
1431
+ return V[z && z.fullscreenElement];
1432
+ }
1433
+ },
1434
+ isEnabled: {
1435
+ enumerable: !0,
1436
+ get() {
1437
+ return !!V[z && z.fullscreenEnabled];
1438
+ }
1439
+ }
1440
+ });
1441
+ Ve.isEnabled;
1442
+ function Un(r, e, n, o) {
1443
+ let i, t = 0;
1444
+ typeof e != "boolean" && (o = n, n = e, e = void 0);
1445
+ function a() {
1446
+ const c = this, d = (/* @__PURE__ */ new Date()).valueOf() - t, f = arguments;
1447
+ function l() {
1448
+ t = (/* @__PURE__ */ new Date()).valueOf(), n.apply(c, f);
1449
+ }
1450
+ function p() {
1451
+ i = void 0;
1452
+ }
1453
+ o && !i && l(), i && clearTimeout(i);
1454
+ const u = o === void 0;
1455
+ u && d > r ? l() : e !== !0 && (i = setTimeout(o ? p : l, u ? r - d : r));
1456
+ }
1457
+ function s() {
1458
+ i && (clearTimeout(i), i = null);
1459
+ }
1460
+ return a._cancel = s, a;
1461
+ }
1462
+ function $n(r, e, n) {
1463
+ return Un(r, e, !1);
1464
+ }
1465
+ let X = null;
1466
+ const qn = "ws://localhost", Ct = [27197, 27198, 27199];
1467
+ let ze = 0, ee, Qt = 1e3, Zt = 3e4, Vn = 0, tt = {}, Xt;
1468
+ const Hn = 20 * 1e3;
1469
+ let Et = null, er = null, He = {}, tr = {}, D = {}, rr = () => {
1470
+ }, nr = () => {
1471
+ };
1472
+ const or = function(r) {
1473
+ clearTimeout(He[r]), delete tt[r], delete He[r];
1474
+ }, Wn = function() {
1475
+ er = setTimeout(() => {
1476
+ X.close();
1477
+ }, 5e3);
1478
+ }, W = function(r, e) {
1479
+ let n = Vn++;
1480
+ if (n = String(n), r.cid = n, !ee) {
1481
+ e && setTimeout(e, 0, { ok: !1, message: "eSpace is not logged in." });
1482
+ return;
1483
+ }
1484
+ typeof e == "function" && (tt[n] = e, He[n] = setTimeout(() => {
1485
+ e({ ok: !1, message: "time out" }), or(n);
1486
+ }, Zt)), X.send(JSON.stringify(r));
1487
+ }, ir = function() {
1488
+ Et = setTimeout(() => {
1489
+ ee ? W(
1490
+ {
1491
+ type: "heartbeat"
1492
+ },
1493
+ () => {
1494
+ ir();
1495
+ }
1496
+ ) : clearTimeout(Et);
1497
+ }, Hn);
1498
+ }, Gn = function(r) {
1499
+ ee = !0, ir(), clearTimeout(Xt), clearTimeout(er), nr(r);
1500
+ }, Yn = function(r) {
1501
+ let e = r.data;
1502
+ if (typeof e == "string" && (e = e.replace(/^\d+/, ""), !!e)) {
1503
+ try {
1504
+ e = JSON.parse(e);
1505
+ } catch (n) {
1506
+ return !n;
1507
+ }
1508
+ if (ee) {
1509
+ let n = tr[e.type];
1510
+ if (n)
1511
+ return n(e.data);
1512
+ let o = e.cid, i = tt[o];
1513
+ i && (e.ok ? i(null, e.data) : i({ ok: e.ok }), or(o));
1514
+ } else
1515
+ e.type === "eSpace-ctrl-connection-success" ? Gn(e.data) : X.close();
1516
+ }
1517
+ }, Jn = function() {
1518
+ X.onopen = Wn, X.onclose = Kn, X.onmessage = Yn;
1519
+ }, ar = function(r) {
1520
+ Xt = setTimeout(() => {
1521
+ ze >= Ct.length && (ze = 0), X = new WebSocket(qn + ":" + Ct[ze++]), Jn();
1522
+ }, r || 0);
1523
+ }, Kn = function() {
1524
+ (ee || typeof ee > "u") && (ee = !1, rr()), ar(Qt);
1525
+ };
1526
+ D.init = function(r) {
1527
+ r && (Zt = r.timeout || 3e4, Qt = r.pollingInterval || 0), ar();
1528
+ };
1529
+ D.ready = function(r) {
1530
+ nr = r;
1531
+ };
1532
+ D.error = function(r) {
1533
+ rr = r;
1534
+ };
1535
+ const At = function(r, e, n) {
1536
+ let o = [];
1537
+ for (let i = 0; i < e; i++) {
1538
+ let t = r;
1539
+ i && (t += i);
1540
+ let a = n[t];
1541
+ a && o.push(a);
1542
+ }
1543
+ return o;
1544
+ };
1545
+ D.on = function(r, e) {
1546
+ tr[r] = e;
1547
+ };
1548
+ D.getUserInfo = function(r, e) {
1549
+ W(
1550
+ {
1551
+ type: "get-user-info",
1552
+ param: r
1553
+ },
1554
+ function(n, o) {
1555
+ if (n)
1556
+ return e(n);
1557
+ const i = function(t) {
1558
+ return {
1559
+ account: t.account,
1560
+ name: t.name,
1561
+ mobile: At("mobile", 6, t),
1562
+ office_phone: At("office_phone", 6, t),
1563
+ home_phone: t.home_phone,
1564
+ ip_phone: t.ip_phone,
1565
+ other_phone: t.other_phone
1566
+ };
1567
+ };
1568
+ if (o.account)
1569
+ e(null, i(o));
1570
+ else {
1571
+ let t = {};
1572
+ for (let a in o)
1573
+ if (Object.prototype.hasOwnProperty.call(o, a)) {
1574
+ let s = o[a];
1575
+ t[a] = s && i(s);
1576
+ }
1577
+ e(null, t);
1578
+ }
1579
+ }
1580
+ );
1581
+ };
1582
+ D.subscribeUserStatus = function(r, e) {
1583
+ Array.isArray(r) && r.forEach((n) => {
1584
+ }), W(
1585
+ {
1586
+ type: "subscribe-user-status",
1587
+ param: r
1588
+ },
1589
+ e
1590
+ );
1591
+ };
1592
+ D.eSpaceCall = function(r, e, n) {
1593
+ W(
1594
+ {
1595
+ type: "espace-call",
1596
+ param: {
1597
+ account: r,
1598
+ number: e
1599
+ }
1600
+ },
1601
+ n
1602
+ );
1603
+ };
1604
+ D.eSpaceCallByAccount = function(r, e) {
1605
+ W(
1606
+ {
1607
+ type: "espace-call",
1608
+ param: {
1609
+ account: r
1610
+ }
1611
+ },
1612
+ e
1613
+ );
1614
+ };
1615
+ D.eSpaceCallByNumber = function(r, e) {
1616
+ W(
1617
+ {
1618
+ type: "espace-call",
1619
+ param: {
1620
+ number: r
1621
+ }
1622
+ },
1623
+ e
1624
+ );
1625
+ };
1626
+ D.showImDialog = function(r, e) {
1627
+ W(
1628
+ {
1629
+ type: "show-espace-im-dialog",
1630
+ param: r
1631
+ },
1632
+ e
1633
+ );
1634
+ };
1635
+ D.showGroupDialog = function(r, e) {
1636
+ W(
1637
+ {
1638
+ type: "show-espace-im-group-dialog",
1639
+ param: r
1640
+ },
1641
+ e
1642
+ );
1643
+ };
1644
+ D.addContactList = function(r, e) {
1645
+ W(
1646
+ {
1647
+ type: "add-contact-list",
1648
+ param: r
1649
+ },
1650
+ e
1651
+ );
1652
+ };
1653
+ if (F || !window.WebSocket) {
1654
+ const r = function() {
1655
+ };
1656
+ for (let e in D)
1657
+ Object.prototype.hasOwnProperty.call(D, e) && typeof D[e] == "function" && (D[e] = r);
1658
+ }
1659
+ const ye = {}, ce = {
1660
+ leave: "v-modal-leave",
1661
+ enter: "v-modal-enter",
1662
+ modal: "v-modal"
1663
+ }, Qn = (r, e) => {
1664
+ for (let n = r.length - 1; n >= 0; n--)
1665
+ if (r[n].id === e) {
1666
+ r.splice(n, 1);
1667
+ break;
1668
+ }
1669
+ };
1670
+ let We;
1671
+ const R = {
1672
+ step: 2,
1673
+ zIndex: 2e3,
1674
+ globalScroll: !1,
1675
+ // 是否打开全局滚动监听
1676
+ modalFade: !0,
1677
+ modalStack: [],
1678
+ modalDom: null,
1679
+ // 当前model挂载的div.
1680
+ hasModal: !1,
1681
+ // 当前是否有Modal
1682
+ popLockClass: "popup-parent--hidden",
1683
+ oldBodyBorder: "",
1684
+ viewportWindow: null,
1685
+ fixBodyBorder() {
1686
+ const r = window.innerWidth - document.documentElement.clientWidth;
1687
+ r && (this.oldBodyBorder = document.documentElement.style.borderRight, document.body.style.borderRight = `${r}px solid transparent`);
1688
+ },
1689
+ resetBodyBorder() {
1690
+ document.body.style.borderRight = this.oldBodyBorder, this.oldBodyBorder = "";
1691
+ },
1692
+ /** 全局反注册 */
1693
+ deregister: (r) => {
1694
+ r && (ye[r] = null, delete ye[r]);
1695
+ },
1696
+ /** 返回全局实例 */
1697
+ getInstance: (r) => ye[r],
1698
+ /** 全局注册 仅vue-popup.ts中使用,instance就是vm, 把vm注册到 vm._popupId 这个键值上 */
1699
+ register: (r, e) => {
1700
+ r && e && (ye[r] = e);
1701
+ },
1702
+ nextZIndex: () => {
1703
+ const r = R.zIndex;
1704
+ return R.zIndex += R.step, r;
1705
+ },
1706
+ /** 打开遮罩层, 仅vue-popup.ts中使用。 dom = vm.$el 或者 undefined (appendtoBody时) */
1707
+ openModal(r, e, n, o, i) {
1708
+ if (F || !r || e === void 0)
1709
+ return;
1710
+ this.modalFade = i;
1711
+ for (let s = 0, c = this.modalStack.length; s < c; s++)
1712
+ if (this.modalStack[s].id === r)
1713
+ return;
1714
+ const t = We();
1715
+ ge(t, ce.modal), this.modalFade && !R.hasModal && ge(t, ce.enter), o && o.trim().split(/\s+/).forEach((s) => ge(t, s)), setTimeout(() => {
1716
+ ve(t, ce.enter);
1717
+ }, 200), e && (t.style.zIndex = e.toString()), t.style.display = "", t.tabIndex = 0;
1718
+ let a;
1719
+ n && n.parentNode && n.parentNode.nodeType !== 11 ? a = n.parentNode : a = document.body, a.appendChild(t), this.modalStack.push({ id: r, zIndex: e, modalClass: o });
1720
+ },
1721
+ /** 点击背景遮罩层时,调用栈顶的popup,调用它的close() */
1722
+ doOnModalClick: () => {
1723
+ const r = R.modalStack, e = r[r.length - 1];
1724
+ if (!e)
1725
+ return;
1726
+ const n = R.getInstance(e.id);
1727
+ n && n.closeOnClickModal && typeof n.close == "function" && n.close();
1728
+ },
1729
+ closeModal(r) {
1730
+ const e = this.modalStack, n = We();
1731
+ if (e.length > 0) {
1732
+ const o = e[e.length - 1];
1733
+ if (o.id === r) {
1734
+ o.modalClass && o.modalClass.trim().split(/\s+/).forEach((t) => ve(n, t)), e.pop();
1735
+ const i = e.length;
1736
+ i > 0 && (n.style.zIndex = e[i - 1].zIndex.toString());
1737
+ } else
1738
+ Qn(e, r);
1739
+ }
1740
+ e.length === 0 && (this.modalFade && ge(n, ce.leave), ve(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(() => {
1741
+ e.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", R.modalDom = null), ve(n, ce.leave);
1742
+ }, 200));
1743
+ }
1744
+ };
1745
+ We = () => {
1746
+ if (F)
1747
+ return null;
1748
+ let r = R.modalDom;
1749
+ return r ? R.hasModal = !0 : (R.hasModal = !1, r = document.createElement("div"), R.modalDom = r, r.addEventListener(
1750
+ "touchmove",
1751
+ (e) => {
1752
+ e.preventDefault(), e.stopPropagation();
1753
+ },
1754
+ { passive: !0 }
1755
+ ), B(r, "click", () => {
1756
+ R.doOnModalClick();
1757
+ })), r;
1758
+ };
1759
+ F || B(window, "keydown", (r) => {
1760
+ if (r.keyCode === wn.Escape) {
1761
+ const e = R.modalStack;
1762
+ if (e.length > 0) {
1763
+ const n = e[e.length - 1];
1764
+ if (!n)
1765
+ return;
1766
+ const o = R.getInstance(n.id);
1767
+ o && o.closeOnPressEscape && (o.handleClose ? o.handleClose("esc") : o.handleAction ? o.handleAction("cancel") : o.close());
1768
+ }
1769
+ }
1770
+ });
1771
+ const Zn = ["left", "right", "top", "bottom"], sr = ["shift", "offset", "preventOverflow", "keepTogether", "arrow", "flip", "applyStyle"], Xn = {
1772
+ arrowOffset: 0,
1773
+ arrowElement: "[x-arrow]",
1774
+ boundariesElement: "viewport",
1775
+ boundariesPadding: 5,
1776
+ flipBehavior: "flip",
1777
+ // 全局没有修改过它,所以它一直是flip
1778
+ forceAbsolute: !1,
1779
+ gpuAcceleration: !0,
1780
+ offset: 0,
1781
+ placement: "bottom",
1782
+ preventOverflowOrder: Zn,
1783
+ modifiers: sr,
1784
+ // 此处是string数组, 构造函数调用之后转为函数数组
1785
+ updateHiddenPopperOnScroll: !1
1786
+ // 滚动过程中是否更新隐藏的弹出层位置
1787
+ }, be = (r, e) => {
1788
+ const n = (o) => o !== "" && !isNaN(parseFloat(o)) && isFinite(o);
1789
+ Object.keys(e).forEach((o) => {
1790
+ let i = "";
1791
+ ~["width", "height", "top", "right", "bottom", "left"].indexOf(o) && n(e[o]) && (i = "px"), r.style[o] = e[o] + i;
1792
+ });
1793
+ }, Re = (r) => {
1794
+ let e = r.offsetParent;
1795
+ return e === window.document.body || !e ? window.document.documentElement : e;
1796
+ }, de = (r, e) => !r || r.nodeType !== 1 ? void 0 : window.getComputedStyle(r, null)[e], lr = (r) => r === window.document.body ? !1 : de(r, "position") === "fixed" ? !0 : (r.host && (r = r.host), r.parentNode ? lr(r.parentNode) : !1), Ge = (r) => {
1797
+ let e = r.getBoundingClientRect();
1798
+ return {
1799
+ left: e.left,
1800
+ top: e.top,
1801
+ right: e.right,
1802
+ bottom: e.bottom,
1803
+ width: e.right - e.left,
1804
+ height: e.bottom - e.top
1805
+ };
1806
+ }, cr = (r) => {
1807
+ const e = ["scroll", "auto"];
1808
+ return e.includes(de(r, "overflow")) || e.includes(de(r, "overflow-x")) || e.includes(de(r, "overflow-y"));
1809
+ }, eo = (r) => {
1810
+ const e = document.createElement("div");
1811
+ be(e, {
1812
+ opacity: 0,
1813
+ position: "fixed",
1814
+ width: 1,
1815
+ height: 1,
1816
+ top: 0,
1817
+ left: 0,
1818
+ "z-index": "-99"
1819
+ }), r.appendChild(e);
1820
+ const n = Ge(e);
1821
+ return r.removeChild(e), n;
1822
+ }, we = (r) => {
1823
+ let e = r.parentNode;
1824
+ return e ? e === window.document ? window.document.body.scrollTop || window.document.body.scrollLeft ? window.document.body : window.document.documentElement : cr(e) ? e : we(e) : r;
1825
+ }, to = (r, e, n, o) => {
1826
+ let { top: i, left: t, width: a, height: s } = Ge(r);
1827
+ if (n) {
1828
+ if (o.parentElement) {
1829
+ const { top: d, left: f } = eo(o.parentElement);
1830
+ i -= d, t -= f;
1831
+ }
1832
+ return {
1833
+ top: i,
1834
+ left: t,
1835
+ bottom: i + s,
1836
+ right: t + a,
1837
+ width: a,
1838
+ height: s
1839
+ };
1840
+ }
1841
+ let c = Ge(e);
1842
+ return {
1843
+ top: i - c.top,
1844
+ left: t - c.left,
1845
+ bottom: i - c.top + s,
1846
+ right: t - c.left + a,
1847
+ width: a,
1848
+ height: s
1849
+ };
1850
+ }, ro = (r) => r === document.body ? Math.max(document.documentElement.scrollTop, document.body.scrollTop) : r.scrollTop, no = (r) => r === document.body ? Math.max(document.documentElement.scrollLeft, document.body.scrollLeft) : r.scrollLeft, oo = (r, e) => {
1851
+ const n = Math.max(r.scrollHeight, r.offsetHeight, e.clientHeight, e.scrollHeight, e.offsetHeight);
1852
+ return { width: Math.max(r.scrollWidth, r.offsetWidth, e.clientWidth, e.scrollWidth, e.offsetWidth), height: n };
1853
+ }, De = (r) => {
1854
+ let e = r.style.display, n = r.style.visibility;
1855
+ r.style.display = "block", r.style.visibility = "hidden";
1856
+ let o = window.getComputedStyle(r), i = parseFloat(o.marginTop) + parseFloat(o.marginBottom), t = parseFloat(o.marginLeft) + parseFloat(o.marginRight), a = { width: r.offsetWidth + t, height: r.offsetHeight + i };
1857
+ return r.style.display = e, r.style.visibility = n, a;
1858
+ }, _t = (r) => {
1859
+ let e = { left: "right", right: "left", bottom: "top", top: "bottom" };
1860
+ return r.replace(/left|right|bottom|top/g, (n) => e[n]);
1861
+ }, ue = (r) => {
1862
+ let e = { ...r };
1863
+ return e.right = e.left + e.width, e.bottom = e.top + e.height, e;
1864
+ }, ur = (r, e = []) => {
1865
+ const n = r.parentNode;
1866
+ return n ? (cr(n) && e.push(n), de(n, "position") === "fixed" ? e : ur(n, e)) : e;
1867
+ }, Ot = (r) => {
1868
+ const e = {
1869
+ width: r.offsetWidth,
1870
+ height: r.offsetHeight,
1871
+ left: r.offsetLeft,
1872
+ top: r.offsetTop,
1873
+ right: 0,
1874
+ bottom: 0
1875
+ };
1876
+ return e.right = e.left + e.width, e.bottom = e.top + e.height, e;
1877
+ }, Mt = (r) => {
1878
+ r.stopPropagation();
1879
+ }, It = !F && typeof ResizeObserver == "function" ? new ResizeObserver((r) => {
1880
+ r.forEach((e) => {
1881
+ e.target.popperVm && e.contentRect.height > 50 && e.target.popperVm.update();
1882
+ });
1883
+ }) : null;
1884
+ class Ho {
1885
+ constructor(e, n, o) {
1886
+ te(this, "_reference"), te(this, "_popper"), te(this, "state"), te(this, "_options"), te(this, "modifiers", {}), te(this, "popperOuterSize", null), this._reference = e, this._popper = n, this.state = {}, this._options = { ...Xn, ...o }, this._options.modifierFns = sr.map((i) => this[i]), F || (this._popper.setAttribute("x-placement", this._options.placement), this.state.position = this._getPopperPositionByRefernce(this._reference), be(this._popper, { position: this.state.position, top: 0 }), this._popper && (this._popper.popperVm = this, It && It.observe(this._popper)), this.update(), this._setupEventListeners());
1887
+ }
1888
+ destroy() {
1889
+ return this._popper.removeAttribute("x-placement"), this._popper.style.display = "none", this._removeEventListeners(), this._options.removeOnDestroy && this._popper.remove(), this;
1890
+ }
1891
+ onUpdate(e) {
1892
+ return this.state.updateCallback = e, this;
1893
+ }
1894
+ update() {
1895
+ let e = { instance: this, styles: {} };
1896
+ this.stopEventBubble(), this.popperOuterSize = null, e.placement = e._originalPlacement = this._options.placement, e.offsets = this._getRefPopOffsets(this._popper, this._reference, e.placement), e.boundaries = this._getBoundaries(e, this._options.boundariesPadding, this._options.boundariesElement), e = this.runModifiers(e, this._options.modifierFns), typeof this.state.updateCallback == "function" && this.state.updateCallback(e);
1897
+ }
1898
+ // 阻止popper的mousewheel等事件冒泡。 通过 onxxx 绑定,是为了避免重复绑定事件
1899
+ stopEventBubble() {
1900
+ this._popper && (this._popper.onmousewheel || (this._popper.onmousewheel = Mt), this._popper.onwheel || (this._popper.onwheel = Mt));
1901
+ }
1902
+ /** 按顺序执行Modifiers, 如果传入终点modifier,则执行到指定位置 */
1903
+ runModifiers(e, n, o) {
1904
+ let i = n.slice();
1905
+ const t = this._options;
1906
+ return o !== void 0 && (i = this._options.modifierFns.slice(
1907
+ 0,
1908
+ t.modifierFns.findIndex((a) => a === o)
1909
+ )), i.forEach((a) => {
1910
+ Te(a) === "function" && (e = a.call(this, e));
1911
+ }), e;
1912
+ }
1913
+ // 此时才把offsets.popper 赋值给popper dom, offsets.array赋值给array dom
1914
+ applyStyle(e) {
1915
+ let n = { position: e.offsets.popper.position }, o = Math.round(e.offsets.popper.left), i = Math.round(e.offsets.popper.top);
1916
+ return this._options.gpuAcceleration ? (n.transform = `translate3d(${o}px, ${i}px, 0)`, Object.assign(n, { top: 0, left: 0 })) : Object.assign(n, { top: i, left: o }), Object.assign(n, e.styles), be(this._popper, n), this._popper.setAttribute("x-placement", e.placement), e.offsets.arrow && be(e.arrowElement, e.offsets.arrow), e;
1917
+ }
1918
+ // 判断 placement是不是2段式的,是则处理一下偏移。 修改data.offsets.popper的值
1919
+ shift(e) {
1920
+ let n = e.placement, o = n.split("-")[0], i = n.split("-")[1];
1921
+ if (i) {
1922
+ let { top: t, left: a, height: s, width: c } = e.offsets.reference, d = ue(e.offsets.popper), f = {
1923
+ y: {
1924
+ start: { top: t },
1925
+ end: { top: t + s - d.height }
1926
+ },
1927
+ x: {
1928
+ start: { left: a },
1929
+ end: { left: a + c - d.width }
1930
+ }
1931
+ }, l = ~["bottom", "top"].indexOf(o) ? "x" : "y";
1932
+ e.offsets.popper = Object.assign(d, f[l][i]);
1933
+ }
1934
+ return e;
1935
+ }
1936
+ // 校正popper的位置在boundaries 的内部
1937
+ preventOverflow(e) {
1938
+ if (this._options.ignoreBoundaries)
1939
+ return e;
1940
+ let n = this._options.preventOverflowOrder, o = ue(e.offsets.popper), i = {
1941
+ top: () => {
1942
+ let { top: t } = o;
1943
+ return t < e.boundaries.top && (t = Math.max(t, e.boundaries.top)), { top: t };
1944
+ },
1945
+ right: () => {
1946
+ let { left: t } = o;
1947
+ return o.right > e.boundaries.right && (t = Math.min(t, e.boundaries.right - o.width)), { left: t };
1948
+ },
1949
+ bottom: () => {
1950
+ let { top: t } = o;
1951
+ return o.bottom > e.boundaries.bottom && (t = Math.min(t, e.boundaries.bottom - o.height)), { top: t };
1952
+ },
1953
+ left: () => {
1954
+ let { left: t } = o;
1955
+ return o.left < e.boundaries.left && (t = Math.max(t, e.boundaries.left)), { left: t };
1956
+ }
1957
+ };
1958
+ return n.forEach((t) => {
1959
+ e.offsets.popper = Object.assign(o, i[t]());
1960
+ }), e;
1961
+ }
1962
+ // 校正popper的位置在reference的边上。 如果2个分离了,重新调整popper的位置。 可能是担心 modifiers.offset 带来的副作用吧
1963
+ keepTogether(e) {
1964
+ let n = ue(e.offsets.popper), o = e.offsets.reference;
1965
+ return n.right < Math.floor(o.left) && (e.offsets.popper.left = Math.floor(o.left) - n.width), n.left > Math.floor(o.right) && (e.offsets.popper.left = Math.floor(o.right)), n.bottom < Math.floor(o.top) && (e.offsets.popper.top = Math.floor(o.top) - n.height), n.top > Math.floor(o.bottom) && (e.offsets.popper.top = Math.floor(o.bottom)), e;
1966
+ }
1967
+ // 根据flip的策略,计算当前应该显示的位置。 空间不够要计算出flip的位置。 可能是担心preventOverflow 时,造成pop, reference会重叠。 重叠了就要flip一下
1968
+ flip(e) {
1969
+ if (e.flipped && e.placement === e._originalPlacement)
1970
+ return e;
1971
+ const n = e.placement.split("-");
1972
+ let o = n[0], i = _t(o), t = n[1] || "", a = [o, i];
1973
+ return a.forEach((s, c) => {
1974
+ if (o !== s || a.length === c + 1)
1975
+ return;
1976
+ o = e.placement.split("-")[0], i = _t(o);
1977
+ let d = ue(e.offsets.popper), f = ~["right", "bottom"].indexOf(o), l = Math.floor(e.offsets.reference[o]), p = Math.floor(d[i]);
1978
+ (f && l > p || !f && l < p) && (e.flipped = !0, e.placement = a[c + 1], t && (e.placement += `-${t}`), e.offsets.popper = this._getRefPopOffsets(this._popper, this._reference, e.placement).popper, e = this.runModifiers(e, this._options.modifierFns, this.flip));
1979
+ }), e;
1980
+ }
1981
+ // 根据入参option上的offset, 给data.offset.popper进行校正
1982
+ offset(e) {
1983
+ let n = this._options.offset, o = e.offsets.popper;
1984
+ return ~e.placement.indexOf("left") ? o.top -= n : ~e.placement.indexOf("right") ? o.top += n : ~e.placement.indexOf("top") ? o.left -= n : ~e.placement.indexOf("bottom") && (o.left += n), e;
1985
+ }
1986
+ // 计算arrow的位置,保存在data.offsets.arrow ={top,left}
1987
+ arrow(e) {
1988
+ let n = this._options.arrowElement, o = this._options.arrowOffset;
1989
+ if (typeof n == "string" && (n = this._popper.querySelector(n)), !n || !this._popper.contains(n))
1990
+ return e;
1991
+ let i = {}, t = e.placement.split("-")[0], a = ue(e.offsets.popper), s = e.offsets.reference, c = ~["left", "right"].indexOf(t), d = c ? "height" : "width", f = c ? "bottom" : "right", l = c ? "left" : "top", p = c ? "top" : "left", u = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = De(this._popper), T = De(n), w = T[d];
1992
+ s[f] - w < a[p] && (e.offsets.popper[p] -= a[p] - (s[f] - w)), s[p] + w > a[f] && (e.offsets.popper[p] += s[p] + w - a[f]);
1993
+ let h = s[p] + (o || s[d] / 2 - w / 2) - a[p];
1994
+ h = Math.max(Math.min(a[d] - w - 8, h), 8), i[p] = h, i[l] = "";
1995
+ const S = this._options.placement.split("-");
1996
+ return this._options.adjustArrow && ~["top", "bottom"].indexOf(S[0]) && p === "left" && (S[1] === "start" ? i.left = 8 : S[1] || (i.left = (u.width - T.width) / 2)), e.offsets.arrow = i, e.arrowElement = n, e;
1997
+ }
1998
+ /** 判断 reference 的 offsetParent 元素是fix还是abs, 这个值会赋值给popper 的dom */
1999
+ _getPopperPositionByRefernce(e) {
2000
+ return this._options.forceAbsolute ? "absolute" : lr(e) ? "fixed" : "absolute";
2001
+ }
2002
+ /** 实时计算一下popper, reference的 位置信息, 用于 */
2003
+ _getRefPopOffsets(e, n, o) {
2004
+ o = o.split("-")[0];
2005
+ let i = { position: this.state.position }, t = i.position === "fixed", a = to(
2006
+ n,
2007
+ Re(e),
2008
+ t,
2009
+ e
2010
+ );
2011
+ const { width: s, height: c } = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = De(e);
2012
+ return ~["right", "left"].indexOf(o) ? (i.top = a.top + a.height / 2 - c / 2, o === "left" ? i.left = a.left - s : i.left = a.right) : (i.left = a.left + a.width / 2 - s / 2, o === "top" ? i.top = a.top - c : i.top = a.bottom), i.width = s, i.height = c, {
2013
+ popper: i,
2014
+ reference: a
2015
+ };
2016
+ }
2017
+ _setupEventListeners() {
2018
+ var e, n;
2019
+ if (this.state.updateBoundFn = this.update.bind(this), this.state.scrollUpdate = () => {
2020
+ if (this._options.updateHiddenPopperOnScroll)
2021
+ this.state.updateBoundFn();
2022
+ else {
2023
+ if ($t(this._reference)) return;
2024
+ this.state.updateBoundFn();
2025
+ }
2026
+ }, B(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window") {
2027
+ let o = this._options.scrollParent || we(this._reference);
2028
+ const i = [];
2029
+ if ((n = (e = o == null ? void 0 : o.dataset) == null ? void 0 : e.tag) != null && n.includes("-form")) {
2030
+ i.push(o);
2031
+ let t = we(o);
2032
+ (t === window.document.body || t === window.document.documentElement) && (t = window), i.push(t);
2033
+ }
2034
+ if ((o === window.document.body || o === window.document.documentElement) && (o = window), this.state.scrollTarget = o, this._options.bubbling || R.globalScroll) {
2035
+ let t = ur(this._reference);
2036
+ this.state.scrollTargets = t || [], t.forEach((a) => {
2037
+ B(a, "scroll", this.state.scrollUpdate);
2038
+ });
2039
+ } else
2040
+ i.length ? (this.state.scrollTargets = i, i.forEach((t) => {
2041
+ B(t, "scroll", this.state.scrollUpdate);
2042
+ })) : B(o, "scroll", this.state.scrollUpdate);
2043
+ }
2044
+ }
2045
+ _removeEventListeners() {
2046
+ Z(window, "resize", this.state.updateBoundFn), this._options.boundariesElement !== "window" && this.state.scrollTarget && (Z(this.state.scrollTarget, "scroll", this.state.scrollUpdate), this.state.scrollTarget = null, (this._options.bubbling || R.globalScroll) && ((this.state.scrollTargets || []).forEach((e) => {
2047
+ Z(e, "scroll", this.state.scrollUpdate);
2048
+ }), this.state.scrollTargets = null)), this.state.updateBoundFn = null, this.state.scrollUpdate = null;
2049
+ }
2050
+ /** 实时计算一下Boundary的位置 */
2051
+ _getBoundaries(e, n, o) {
2052
+ let i = { right: 0, left: 0, top: 0, bottom: 0 };
2053
+ if (o === "window" || o === "body") {
2054
+ let t = window.document.body, a = window.document.documentElement, { width: s, height: c } = oo(t, a);
2055
+ i = { top: 0, right: s, bottom: c, left: 0 };
2056
+ } else if (o === "viewport") {
2057
+ let t = Re(this._popper), a = we(this._popper), s = Ot(t);
2058
+ const c = e.offsets.popper.position === "fixed" || !this._options.appendToBody && ["right", "left"].includes(this._options.placement);
2059
+ let d = c ? 0 : ro(a), f = c ? 0 : no(a);
2060
+ const l = window;
2061
+ i = {
2062
+ top: 0 - (s.top - d),
2063
+ right: l.document.documentElement.clientWidth - (s.left - f),
2064
+ bottom: l.document.documentElement.clientHeight - (s.top - d),
2065
+ left: 0 - (s.left - f)
2066
+ };
2067
+ } else if (Re(this._popper) === o) {
2068
+ const { clientWidth: t, clientHeight: a } = o;
2069
+ i = {
2070
+ right: t,
2071
+ bottom: a,
2072
+ top: 0,
2073
+ left: 0
2074
+ };
2075
+ } else
2076
+ i = Ot(o);
2077
+ return i.right -= n, i.left += n, i.bottom = i.bottom - n, i.top = i.top + n, i;
2078
+ }
2079
+ // https://popper.js.org/docs/v2/lifecycle/#set-new-options
2080
+ setOptions(e) {
2081
+ Object.assign(this._options, e);
2082
+ }
2083
+ }
2084
+ var Ae = {
2085
+ "en-US": "英语",
2086
+ "zh-CN": "中文",
2087
+ "zh-TW": "中国台湾",
2088
+ hello: "你好 {name}",
2089
+ code: "zh-CN",
2090
+ yes: "是",
2091
+ no: "否",
2092
+ ui: {
2093
+ input: {
2094
+ close: "关闭",
2095
+ more: "更多",
2096
+ detail: "详细信息"
2097
+ },
2098
+ numeric: {
2099
+ equalTo: "等于",
2100
+ notEqualTo: "不等于",
2101
+ moreThan: "大于",
2102
+ moreThanOrEqualTo: "大于等于",
2103
+ lessThan: "小于",
2104
+ lessThanOrEqualTo: "小于等于",
2105
+ empty: "为空",
2106
+ nonEmpty: "不为空"
2107
+ },
2108
+ queryBuilder: {
2109
+ addItem: "新增条件",
2110
+ addGroup: "新增子条件组",
2111
+ removeGroup: "移除条件组"
2112
+ },
2113
+ wizard: {
2114
+ previousStep: "上一步",
2115
+ nextStep: "下一步",
2116
+ save: "保存",
2117
+ submit: "提交"
2118
+ },
2119
+ linkMenu: {
2120
+ title: "消息",
2121
+ placeholder: "请输入关键字过滤...",
2122
+ sure: "确定",
2123
+ cancel: "取消"
2124
+ },
2125
+ todoList: {
2126
+ add: "提交",
2127
+ placeholder: "请输入内容..."
2128
+ },
2129
+ alert: {
2130
+ error: "错误",
2131
+ info: "消息",
2132
+ success: "成功",
2133
+ title: "消息提示",
2134
+ warning: "警告"
2135
+ },
2136
+ amount: {
2137
+ currency: "币种",
2138
+ amount: "金额",
2139
+ date: "日期",
2140
+ equalTo: "等于",
2141
+ notEqualTo: "不等于",
2142
+ moreThan: "大于",
2143
+ moreThanOrEqualTo: "大于等于",
2144
+ lessThan: "小于",
2145
+ lessThanOrEqualTo: "小于等于",
2146
+ empty: "为空",
2147
+ nonEmpty: "不为空"
2148
+ },
2149
+ actionMenu: {
2150
+ moreText: "更多"
2151
+ },
2152
+ base: {
2153
+ all: "全部",
2154
+ cancel: "取消",
2155
+ confirm: "确定",
2156
+ delete: "删除",
2157
+ edit: "编辑",
2158
+ more: "更多",
2159
+ reset: "重置",
2160
+ clear: "清空",
2161
+ comma: ","
2162
+ },
2163
+ button: {
2164
+ cancel: "取消",
2165
+ confirm: "确定"
2166
+ },
2167
+ buttonGroup: {
2168
+ noData: "暂无数据"
2169
+ },
2170
+ buttonMessage: {
2171
+ cancel: "取消",
2172
+ confirm: "确定"
2173
+ },
2174
+ cell: {
2175
+ placeholder: "请选择"
2176
+ },
2177
+ cascader: {
2178
+ noMatch: "无匹配数据",
2179
+ loading: "加载中",
2180
+ placeholder: "请选择",
2181
+ noData: "暂无数据"
2182
+ },
2183
+ chart: {
2184
+ auxiliary: "辅助",
2185
+ emptyText: "暂无数据",
2186
+ kName: "日K",
2187
+ other: "其他",
2188
+ summation: "总量",
2189
+ total: "总计",
2190
+ value: "数值"
2191
+ },
2192
+ colorSelectPanel: {
2193
+ confirm: "选择",
2194
+ cancel: "取消",
2195
+ predefine: "预定义颜色",
2196
+ history: "历史记录",
2197
+ empty: "暂无"
2198
+ },
2199
+ crop: {
2200
+ choose: "选择图片",
2201
+ zoomOut: "缩小10%",
2202
+ zoomIn: "放大10%",
2203
+ rotate_45: "逆时针旋转45°",
2204
+ rotate45: "顺时针旋转45°",
2205
+ closeCropArea: "隐藏选区",
2206
+ reset: "重置视图",
2207
+ closeCrop: "退出裁剪",
2208
+ cropImage: "选择区域"
2209
+ },
2210
+ datepicker: {
2211
+ clear: "清空",
2212
+ cancel: "取消",
2213
+ endDate: "结束日期",
2214
+ confirm: "确定",
2215
+ month: "月",
2216
+ endTime: "结束时间",
2217
+ month2: "2 月",
2218
+ month1: "1 月",
2219
+ month4: "4 月",
2220
+ month3: "3 月",
2221
+ month6: "6 月",
2222
+ month5: "5 月",
2223
+ month8: "8 月",
2224
+ month7: "7 月",
2225
+ month10: "10 月",
2226
+ month9: "9 月",
2227
+ month12: "12 月",
2228
+ month11: "11 月",
2229
+ months: {
2230
+ feb: "二月",
2231
+ jan: "一月",
2232
+ apr: "四月",
2233
+ mar: "三月",
2234
+ jun: "六月",
2235
+ may: "五月",
2236
+ aug: "八月",
2237
+ jul: "七月",
2238
+ oct: "十月",
2239
+ sep: "九月",
2240
+ dec: "十二月",
2241
+ nov: "十一月"
2242
+ },
2243
+ nextYear: "后一年",
2244
+ nextMonth: "下个月",
2245
+ prevMonth: "上个月",
2246
+ now: "此刻",
2247
+ selectDate: "选择日期",
2248
+ prevYear: "前一年",
2249
+ startDate: "开始日期",
2250
+ selectTime: "选择时间",
2251
+ today: "今天",
2252
+ currentMonth: "本月",
2253
+ startTime: "开始时间",
2254
+ week: "周次",
2255
+ weeks: {
2256
+ mon: "一",
2257
+ sun: "日",
2258
+ wed: "三",
2259
+ tue: "二",
2260
+ fri: "五",
2261
+ thu: "四",
2262
+ sat: "六"
2263
+ },
2264
+ timezone: "选择时区",
2265
+ year: "年",
2266
+ hour: "时",
2267
+ minute: "分",
2268
+ second: "秒",
2269
+ to: "至",
2270
+ yearMonth: "{year}年{month}月",
2271
+ yearMonthDay: "{year}年{month}月{day}日"
2272
+ },
2273
+ richTextEditor: {
2274
+ bold: "加粗",
2275
+ italic: "斜体",
2276
+ link: "链接",
2277
+ unlink: "移除链接",
2278
+ highlight: "高亮",
2279
+ underline: "下划线",
2280
+ strike: "中划线",
2281
+ subscript: "下标",
2282
+ superscript: "上标",
2283
+ code: "代码",
2284
+ unorderedlist: "无序列表",
2285
+ orderedlist: "有序列表",
2286
+ taskList: "任务列表",
2287
+ quote: "引用",
2288
+ codeBlock: "代码块",
2289
+ formatClear: "清除标记",
2290
+ nodeDelete: "删除节点",
2291
+ undo: "回退",
2292
+ redo: "前进",
2293
+ left: "左对齐",
2294
+ center: "居中",
2295
+ right: "右对齐",
2296
+ fontSize: "字号",
2297
+ lineHeight: "行高",
2298
+ hBox: "段落标题",
2299
+ img: "图片",
2300
+ color: "颜色",
2301
+ table: "表格",
2302
+ backgroundColor: "文字背景色",
2303
+ localResources: "本地资源",
2304
+ resourceLink: "资源链接"
2305
+ },
2306
+ calendar: {
2307
+ showType: {
2308
+ year: "年"
2309
+ }
2310
+ },
2311
+ dept: {
2312
+ code: "编码",
2313
+ company: "公司",
2314
+ dept1: "一级部门",
2315
+ dept2: "二级部门",
2316
+ dept3: "三级部门",
2317
+ dept4: "四级部门",
2318
+ dept5: "五级部门",
2319
+ dept6: "六级部门",
2320
+ dept7: "七级部门",
2321
+ dept8: "八级部门",
2322
+ input: "可输入部门编码或名称",
2323
+ name: "名称",
2324
+ search: "辅助查询",
2325
+ selected: "已选"
2326
+ },
2327
+ dialogBox: {
2328
+ confirm: "确定",
2329
+ cancel: "取消"
2330
+ },
2331
+ load: {
2332
+ dot: "加载中"
2333
+ },
2334
+ exception: {
2335
+ build: "模块正在建设中",
2336
+ busy: "系统繁忙,请稍等一下",
2337
+ noperm: "茫茫大海,找不到页面",
2338
+ weaknet: "网络不给力",
2339
+ pcview: "请到PC上查看文件",
2340
+ nodata: "休息一下",
2341
+ create: "创建",
2342
+ provide: "TINY 开发团队提供",
2343
+ nodatamf: "暂无数据",
2344
+ nopermmf: "无访问权限",
2345
+ weaknetmf: "网络异常",
2346
+ noresult: "无相关搜索结果",
2347
+ nonews: "暂无最新消息",
2348
+ pagenoperm: "403:无访问权限",
2349
+ pageweaknet: "网络异常",
2350
+ pagenothing: "404:你访问的页面不存在",
2351
+ pageservererror: "500:服务器异常"
2352
+ },
2353
+ fileUpload: {
2354
+ largefile: "文件过大,将会分片上传,请耐心等待!",
2355
+ folder: "文件所在文件夹层数已超过 5 层,将不会上传该文件",
2356
+ init: "服务报错,请重试",
2357
+ token: "请先进行 EDM 鉴权,获取 token",
2358
+ exceed: "{fileName} 文件大小超过限制({maxSize})",
2359
+ largeFile: "文件大小超出限制 2G !!",
2360
+ fileSize: "{fileName} 文件大小低于限制({minSize}{sizeUnit})",
2361
+ deleteTip: "按 delete 键可删除",
2362
+ downloadFile: "下载文件",
2363
+ previewFile: "预览文件",
2364
+ updateFile: "更新文件",
2365
+ reUploadFile: "重新上传",
2366
+ cancelFile: "取消上传",
2367
+ deleteFile: "删除文件",
2368
+ empty: "是空文件!",
2369
+ kiaScanTip: "抱歉,从公网接入下载文档,需要通过KIA检测;当前文档正在KIA检测中,请稍后几分钟后再下载!",
2370
+ fileNameExceeds: "超过255个字符,请修改文件名。",
2371
+ fileName: "该文件名",
2372
+ calcHash: "文档正在计算加密中",
2373
+ uploadFile: "文件上传",
2374
+ downloadAll: "全部下载",
2375
+ onlySupport: "支持{type}格式文件",
2376
+ fileNotLessThan: "单个文件不能小于",
2377
+ fileNotMoreThan: "单个文件不能超过",
2378
+ fileSizeRange: "单个文件大小需在{moreThan}~{lessThan}之间",
2379
+ notSupport: "格式(.{format})暂不支持",
2380
+ notSupportNoSuffix: "暂不支持无后缀文件",
2381
+ notSupportSpecialCharacters: "文件名包含特殊字符,请重命名后上传",
2382
+ attachment: "附件",
2383
+ uploadList: "上传列表",
2384
+ numberExceed: "批量上传个数超过限制({number})",
2385
+ numberLimit: "最多上传{number}个文件",
2386
+ encryptDialogTitle: "水印及加密设置",
2387
+ addWatermark: "添加水印",
2388
+ encrypted: "加密",
2389
+ docPreview: "文档预览",
2390
+ networkError: "网络出错",
2391
+ pictureNetworkError: "网络出错,上传失败",
2392
+ reUploadTip: "{number}个文件上传失败!"
2393
+ },
2394
+ uploadList: {
2395
+ pictureUploading: "图片上传中",
2396
+ uploadFailed: "上传失败",
2397
+ uploading: "上传中",
2398
+ download: "下载",
2399
+ reUpload: "重新上传",
2400
+ delete: "删除",
2401
+ noAttachments: "暂无附件",
2402
+ cancel: "取消",
2403
+ preview: "预览",
2404
+ releaseAndUpload: "释放鼠标,上传文件",
2405
+ dragOrClickImport: "将文件拖到此处,或点击导入",
2406
+ shoot: "拍摄",
2407
+ selectFromAlbum: "从相册选择",
2408
+ uploadFailedAndReupload: "上传失败,点击重新上传"
2409
+ },
2410
+ upload: {
2411
+ addPicture: "添加图片",
2412
+ addAudio: "添加音频",
2413
+ addVideo: "添加视频"
2414
+ },
2415
+ grid: {
2416
+ dataUnchanged: "数据未改动!",
2417
+ deleteSelectRecord: "您确定要删除所选记录吗?",
2418
+ emptyText: "暂无数据",
2419
+ error: {
2420
+ delRevert: "方法 revert 已废弃,请使用 revertData",
2421
+ groupFixed: "如果使用分组表头,固定列必须在左右两侧",
2422
+ notDelete: "Delete 方法不存在",
2423
+ notQuery: "query 方法不存在",
2424
+ notResizable: "横向虚拟滚动不支持 resizable",
2425
+ notSave: "save 方法不存在",
2426
+ reqModule: "缺少 {{name}} 模块",
2427
+ rowIdEmpty: "参数 row-id 不允许为空",
2428
+ scrollYHeight: "启用虚拟滚动必须要设置 height 或 max-height",
2429
+ toolbarId: "工具栏需要设置唯一 id",
2430
+ treeFixedExpand: "树结构的固定列与展开行功能有冲突",
2431
+ treeInsert: "树结构不支持 insert 操作",
2432
+ treeRemove: "树结构不支持 remove 操作",
2433
+ unableInsert: "无法插入到指定位置",
2434
+ notAllowDragSelf: "不允许自己给自己拖动",
2435
+ notAllowDragFixed: "固定列不允许拖动",
2436
+ remoteMethod: "个性化模板管理远端存储需要设置 multipleHistory.remoteMethod",
2437
+ remoteSelectedMethod: "个性化模板管理远端存储需要设置 multipleHistory.remoteSelectedMethod",
2438
+ chainCallError: "列的默认插槽中存在语法错误,请检查。",
2439
+ renderParamError: "期望配置一个生成 VNode 的渲染方法。",
2440
+ classComponentError: "类组件渲染出错。",
2441
+ groupColumnFixedError: "同一个分组内不能设置不同的固定类型。",
2442
+ missingValueFormat: "渲染器无法格式化日期字符串,需要提供 valueFormat 源日期格式配置。",
2443
+ clipboardWriteError: "剪切板写入错误"
2444
+ },
2445
+ filter: {
2446
+ allSelect: "(全选)",
2447
+ endDate: "结束日期",
2448
+ startDate: "开始日期",
2449
+ dateTips: "请至少输入一个日期",
2450
+ clear: "清除当前列筛选",
2451
+ clearAll: "清除所有列筛选",
2452
+ confirmFilter: "筛选",
2453
+ empty: "为空",
2454
+ emptyText: "暂无数据",
2455
+ equal: "等于",
2456
+ include: "包含",
2457
+ prefix: "开头是",
2458
+ resetFilter: "重置",
2459
+ unempty: "不为空"
2460
+ },
2461
+ individuation: {
2462
+ cancelBtn: "取消",
2463
+ colConfigs: {
2464
+ visible: "显示",
2465
+ invisible: "隐藏",
2466
+ asc: "正序",
2467
+ desc: "倒序",
2468
+ unsorted: "未排序",
2469
+ frozenLeft: "左冻结",
2470
+ frozenRight: "右冻结",
2471
+ unfrozen: "未冻结",
2472
+ unfreeze: "取消冻结",
2473
+ unsort: "取消排序"
2474
+ },
2475
+ toolbar: {
2476
+ set: "设置",
2477
+ selected: "已选",
2478
+ freeze: "冻结",
2479
+ sort: "排序",
2480
+ clear: "清空",
2481
+ search: "搜索",
2482
+ all: "全选"
2483
+ },
2484
+ columnSet: "列设置",
2485
+ overwriteSave: "覆盖保存",
2486
+ saveAs: "另存为",
2487
+ saveTemplate: "存模板",
2488
+ selectTemplate: "选择模板",
2489
+ hideMsg: "至少保留一列显示",
2490
+ maxFreezeNumMsg: "冻结列不可超过6项",
2491
+ defaultTemplateName: "请输入名称,如未填写由系统按时间生成",
2492
+ reserveTemplateName: "如未填写名称将保留之前的名称",
2493
+ resetBtn: "重置",
2494
+ saveBtn: "确定",
2495
+ hideAll: "全部隐藏",
2496
+ showAll: "全部显示",
2497
+ tabs: {
2498
+ base: {
2499
+ title: "基础设置",
2500
+ tips: "点击图标按钮设置个性化"
2501
+ },
2502
+ other: {
2503
+ title: "其他设置",
2504
+ tips: "设置服务器排序或客户端排序、每页条数大小。",
2505
+ sortType: "排序类型",
2506
+ currPageSort: "当前页数据排序",
2507
+ allDataSort: "所有数据排序",
2508
+ pageSize: "每页条数"
2509
+ }
2510
+ },
2511
+ title: "个性化设置",
2512
+ switchtitle: "模板管理",
2513
+ switchsave: "保存配置",
2514
+ switchlabel: "配置列表:",
2515
+ switchapply: "使用",
2516
+ switchedit: "编辑",
2517
+ switchdel: "删除",
2518
+ switchconfirm: "确定",
2519
+ switchdelconfirm: "删除确认",
2520
+ switchonlytemp: "保存模板",
2521
+ switchtempapply: "保存并使用模板",
2522
+ switchtempoverwrite: "覆盖并使用模板",
2523
+ switchdelcon: "确定要删除这个模板?",
2524
+ switchdelyes: "确定",
2525
+ switchdelno: "取消",
2526
+ switchapplycon: "确定要使用这个模板?"
2527
+ },
2528
+ removeSelectRecord: "您确定要移除所选记录吗?",
2529
+ saveSuccess: "保存成功",
2530
+ selectOneRecord: "请至少选择一条记录!",
2531
+ isSaveMsg: "有修改的数据,是否要保存?"
2532
+ },
2533
+ hrapprover: {
2534
+ approver: "权签人",
2535
+ noselected: "没有选择权签人",
2536
+ noapprover: "没有权签人",
2537
+ remark: "备注"
2538
+ },
2539
+ imageViewer: {
2540
+ loadErrorAlt: "加载失败",
2541
+ save: "保存图片",
2542
+ del: "删除图片",
2543
+ thumbnail: "缩略图",
2544
+ menu: "目录",
2545
+ hide: "隐藏侧边栏",
2546
+ show: "显示侧边栏"
2547
+ },
2548
+ navMenu: {
2549
+ moreText: "更多"
2550
+ },
2551
+ logout: {
2552
+ in: "登录",
2553
+ out: "注销"
2554
+ },
2555
+ page: {
2556
+ goto: "前往",
2557
+ item: "条",
2558
+ next: "下一页",
2559
+ page: "条/页",
2560
+ pageClassifier: "页",
2561
+ pagesize: "条/页",
2562
+ prev: "上一页",
2563
+ total: "共",
2564
+ totals: "总条数:",
2565
+ jump: "跳至",
2566
+ hundredThousand: "10万+",
2567
+ million: "100万+",
2568
+ tenMillion: "1千万+",
2569
+ loadingTotals: "加载总条数…"
2570
+ },
2571
+ popeditor: {
2572
+ cancel: "取 消",
2573
+ confirm: "确 认",
2574
+ historyLists: "历史数据列表",
2575
+ reset: "重 置",
2576
+ search: "查 询",
2577
+ selectionLists: "选择数据列表",
2578
+ sourceLists: "所有数据列表",
2579
+ title: "选择",
2580
+ filterNode: "输入内容进行筛选"
2581
+ },
2582
+ popupload: {
2583
+ fileName: "文件名",
2584
+ fileSize: "文件大小",
2585
+ fileStatus: "文件状态",
2586
+ uploadError: "上传失败",
2587
+ dialogTitle: "文件上传",
2588
+ cancelButtonText: "取消",
2589
+ tipsFileText: "上传提示",
2590
+ saveButtonText: "开始上传",
2591
+ uploadSuccess: "上传成功!",
2592
+ uploadButtonText: "选择文件",
2593
+ uploadsButtonText: "选择批量文件",
2594
+ errorTypeTips: "上传文件类型不匹配",
2595
+ errorNumTips: "上传文件数量超出限制,已取消该操作",
2596
+ errorSizeTips: "上传文件大小超出限制",
2597
+ confirmDeleteTips: "确定要删除该文件吗?",
2598
+ delete: "删除",
2599
+ waitUpload: "等待上传",
2600
+ operation: "操作",
2601
+ success: "上传成功",
2602
+ listTip: "共{0}条数据:",
2603
+ errorListTip: "其中{0}条出错,请修改后重试",
2604
+ limitUploadFileNumber: "上传文件数限制为",
2605
+ limitUploadFileType: "上传文件类型限制为",
2606
+ limitUploadFileSize: "上传文件大小不超过"
2607
+ },
2608
+ rate: {
2609
+ level: {
2610
+ average: "一般",
2611
+ excellent: "很好",
2612
+ fair: "差",
2613
+ good: "好",
2614
+ poor: "很差"
2615
+ }
2616
+ },
2617
+ select: {
2618
+ loading: "加载中",
2619
+ noMatch: "无匹配数据",
2620
+ noData: "暂无相关数据",
2621
+ placeholder: "请选择",
2622
+ pleaseSearch: "请搜索",
2623
+ search: "搜索",
2624
+ selected: "已选",
2625
+ selectedNum: "已选 {num} 个",
2626
+ noSearchData: "无相关搜索结果,请重新输入",
2627
+ add: "新增",
2628
+ collapse: "收起"
2629
+ },
2630
+ search: {
2631
+ placeholder: "搜索"
2632
+ },
2633
+ signature: {
2634
+ confirm: "确认",
2635
+ rewrite: "重写",
2636
+ cancel: "取消",
2637
+ tips: "请手写签名",
2638
+ resign: "重新签名",
2639
+ placeholder: "请在此签名(必填)"
2640
+ },
2641
+ tabs: {
2642
+ moreItem: "更多"
2643
+ },
2644
+ tag: {
2645
+ add: "添加"
2646
+ },
2647
+ toggleMenu: {
2648
+ placeholder: "请输入内容进行筛选"
2649
+ },
2650
+ treeMenu: {
2651
+ placeholder: "输入关键字搜索"
2652
+ },
2653
+ transfer: {
2654
+ filterPlaceholder: "请输入搜索内容",
2655
+ hasCheckedFormat: "已选 {checked}/{total} 项",
2656
+ noCheckedFormat: "共 {total} 项",
2657
+ noData: "无数据",
2658
+ noMatch: "无匹配数据",
2659
+ titles: ["列表 1", "列表 2"]
2660
+ },
2661
+ tree: {
2662
+ loading: "加载中",
2663
+ emptyText: "暂无数据",
2664
+ switchText: "同时勾选下级",
2665
+ edit: "编辑",
2666
+ delete: "删除",
2667
+ addChild: "新增下级",
2668
+ newNodeTitle: "新增下级",
2669
+ deleteTip1: "删除后数据不可恢复,确定删除吗?",
2670
+ deleteTip2: "该节点存在下级节点,是否保留下级节点数据?",
2671
+ deleteTip3: "保留下级节点数据"
2672
+ },
2673
+ usercard: {
2674
+ address: "地址",
2675
+ collapse: "收起",
2676
+ email: "邮箱",
2677
+ empno: "工号",
2678
+ expand: "展开",
2679
+ fax: "传真",
2680
+ internal: "内线",
2681
+ manager: "主管",
2682
+ mobile: "手机",
2683
+ other: "其他",
2684
+ phone: "固定电话",
2685
+ timezone: "时区",
2686
+ travelcode: "出差联系信息",
2687
+ viop: "VIOP"
2688
+ },
2689
+ richText: {
2690
+ bold: "加粗",
2691
+ italic: "倾斜",
2692
+ underline: "下划线",
2693
+ header: "段落格式",
2694
+ strike: "删除线",
2695
+ blockquote: "块引用",
2696
+ codeBlock: "插入代码段",
2697
+ size: "字体大小",
2698
+ listOrdered: "编号列表",
2699
+ listBullet: "项目列表",
2700
+ header1: "h1",
2701
+ header2: "h2",
2702
+ align: "对齐方式",
2703
+ color: "字体颜色",
2704
+ background: "背景颜色",
2705
+ image: "图像",
2706
+ video: "视频",
2707
+ link: "添加链接",
2708
+ formula: "插入公式",
2709
+ clean: "清除格式",
2710
+ indent1: "向左缩进",
2711
+ indent2: "向右缩进",
2712
+ pickerLabel: "标题大小",
2713
+ headerPicker1: "标题一",
2714
+ headerPicker2: "标题二",
2715
+ headerPicker3: "标题三",
2716
+ headerPicker4: "标题四",
2717
+ headerPicker5: "标题五",
2718
+ headerPicker6: "标题六",
2719
+ normal: "标准",
2720
+ sizeSmall: "小号",
2721
+ sizeLarge: "大号",
2722
+ sizeHuge: "超大号",
2723
+ alignPicker1: "居左对齐",
2724
+ alignPicker2: "居中对齐",
2725
+ alignPicker3: "居右对齐",
2726
+ alignPicker4: "两端对齐",
2727
+ subScript: "下标",
2728
+ superScript: "上标",
2729
+ directionRTL: "从右到左",
2730
+ font: "字体",
2731
+ file: "文件",
2732
+ betterTable: "表格",
2733
+ fullscreen: "全屏",
2734
+ insertColumnRight: "右插入列",
2735
+ insertColumnLeft: "左插入列",
2736
+ insertRowUp: "上插入行",
2737
+ insertRowDown: "下插入行",
2738
+ mergeCells: "合并单元格",
2739
+ unmergeCells: "拆分单元格",
2740
+ deleteColumn: "删除当前列",
2741
+ deleteRow: "删除当前行",
2742
+ deleteTable: "删除表格",
2743
+ colorPicker: "背景颜色",
2744
+ placeholder: "在此处插入文本...",
2745
+ maxLength: "文本长度超过限制,支持的最大长度是 "
2746
+ },
2747
+ fluentEditor: {
2748
+ undo: "撤销",
2749
+ redo: "重做",
2750
+ lineheight: "行高"
2751
+ },
2752
+ steps: {
2753
+ done: "已完成",
2754
+ doing: "进行中",
2755
+ wait: "等待中"
2756
+ },
2757
+ actionSheet: {
2758
+ cancel: "取消"
2759
+ },
2760
+ image: {
2761
+ loadFail: "加载失败"
2762
+ },
2763
+ miniPicker: {
2764
+ cancel: "取消",
2765
+ confirm: "确定"
2766
+ },
2767
+ pullRefresh: {
2768
+ pullingDown: "下拉即可刷新",
2769
+ pullingUp: "上拉即可刷新",
2770
+ pulling: "下拉即可刷新",
2771
+ loosing: "释放即可刷新",
2772
+ success: "刷新成功",
2773
+ failed: "刷新失败",
2774
+ noMore: "没有更多了"
2775
+ },
2776
+ currency: {
2777
+ defaultCurrency: "默认币种",
2778
+ setDefault: "设为默认",
2779
+ chooseCurrency: "选择币种"
2780
+ },
2781
+ calendarBar: {
2782
+ week: {
2783
+ 0: "日",
2784
+ 1: "一",
2785
+ 2: "二",
2786
+ 3: "三",
2787
+ 4: "四",
2788
+ 5: "五",
2789
+ 6: "六"
2790
+ },
2791
+ year: "%s年",
2792
+ yearMonth: "%y年%m月",
2793
+ month: {
2794
+ 1: "1月",
2795
+ 2: "2月",
2796
+ 3: "3月",
2797
+ 4: "4月",
2798
+ 5: "5月",
2799
+ 6: "6月",
2800
+ 7: "7月",
2801
+ 8: "8月",
2802
+ 9: "9月",
2803
+ 10: "10月",
2804
+ 11: "11月",
2805
+ 12: "12月"
2806
+ },
2807
+ monthAbbr: {
2808
+ 1: "1",
2809
+ 2: "2",
2810
+ 3: "3",
2811
+ 4: "4",
2812
+ 5: "5",
2813
+ 6: "6",
2814
+ 7: "7",
2815
+ 8: "8",
2816
+ 9: "9",
2817
+ 10: "10",
2818
+ 11: "11",
2819
+ 12: "12"
2820
+ }
2821
+ },
2822
+ calendarView: {
2823
+ week: {
2824
+ 0: "日",
2825
+ 1: "一",
2826
+ 2: "二",
2827
+ 3: "三",
2828
+ 4: "四",
2829
+ 5: "五",
2830
+ 6: "六"
2831
+ },
2832
+ weekDays: {
2833
+ 0: "周日",
2834
+ 1: "周一",
2835
+ 2: "周二",
2836
+ 3: "周三",
2837
+ 4: "周四",
2838
+ 5: "周五",
2839
+ 6: "周六"
2840
+ },
2841
+ backToday: "回今天",
2842
+ new: "新增",
2843
+ noSchedule: "暂无日程",
2844
+ year: "年",
2845
+ month: "月",
2846
+ dateFormat: "yyyy 年 MM 月"
2847
+ },
2848
+ selectedBox: {
2849
+ select: "已选(%s)",
2850
+ allSelect: "已全选(%s)",
2851
+ clear: "清空",
2852
+ noData: "暂无数据"
2853
+ },
2854
+ record: {
2855
+ record: "录音",
2856
+ cancel: "取消",
2857
+ confirm: "确定",
2858
+ clickToStartRecording: "点击开始录音",
2859
+ clickToResumeRecording: "点击继续录音"
2860
+ },
2861
+ dialogSelect: {
2862
+ treeSearch: "请输入关键字并回车"
2863
+ },
2864
+ loadList: {
2865
+ errorText: "出错了",
2866
+ loadingText: "加载中...",
2867
+ finishedText: "没有更多了"
2868
+ }
2869
+ },
2870
+ validation: {
2871
+ array: {
2872
+ len: "长度必须为 %s",
2873
+ min: "长度不能小于 %s",
2874
+ max: "长度不能大于 %s",
2875
+ range: "长度必须介于 %s 和 %s 之间"
2876
+ },
2877
+ date: {
2878
+ format: "日期 %s 对于格式 %s 无效",
2879
+ invalid: "日期 %s 无效",
2880
+ parse: "无法分析 %s 日期, %s 无效"
2881
+ },
2882
+ default: "%s 字段校验错误",
2883
+ enum: "必须是 %s 中的一个",
2884
+ number: {
2885
+ len: "必须等于 %s",
2886
+ min: "不能小于 %s",
2887
+ max: "不能大于 %s",
2888
+ range: "必须介于 %s 和 %s 之间"
2889
+ },
2890
+ pattern: {
2891
+ mismatch: "值%s 与模式 %s 不匹配"
2892
+ },
2893
+ required: "必填",
2894
+ string: {
2895
+ len: "必须是 %s 个字符",
2896
+ min: "必须至少为 %s 个字符",
2897
+ max: "不能大于 %s 个字符",
2898
+ range: "必须介于 %s 和 %s 个字符之间"
2899
+ },
2900
+ types: {
2901
+ acceptFile: "只接受文件",
2902
+ acceptImg: "只接受图片格式",
2903
+ array: "非法数组",
2904
+ boolean: "非法布尔值",
2905
+ date: "不符合规则的日期格式",
2906
+ dateTime: "不符合规则的日期时间格式",
2907
+ dateYM: "不符合规则的日期格式(yyyy-mm)",
2908
+ dateYMD: "不符合规则的日期格式(yyyy-MM-dd)",
2909
+ digits: "非法纯数字",
2910
+ email: "非法邮件地址",
2911
+ fileSize: "文件大小的格式不正确,应如 3kb",
2912
+ float: "非法浮点数",
2913
+ hex: "非法十六进制",
2914
+ integer: "非法整数",
2915
+ longDateTime: "不符合规则的长日期格式",
2916
+ method: "必须是函数(Function)",
2917
+ number: "非法数字",
2918
+ object: "非法对象",
2919
+ regexp: "非法正则表达式",
2920
+ specialch: "只能包含数字、字母、下划线、横杠、点号",
2921
+ specialch2: "只能包含数字、字母、下划线、横杠",
2922
+ speczh: "只能包含数字、字母、下划线、汉",
2923
+ string: "非法字符串",
2924
+ time: "不符合规则的时间格式",
2925
+ url: "非法 URL 地址",
2926
+ version: "非法版本格式"
2927
+ },
2928
+ whitespace: "不能为空"
2929
+ }
2930
+ }, rt = {
2931
+ "en-US": "English",
2932
+ "zh-CN": "Chinese",
2933
+ "zh-TW": "China Taiwan",
2934
+ hello: "Hello {name}",
2935
+ code: "en-US",
2936
+ yes: "Yes",
2937
+ no: "No",
2938
+ ui: {
2939
+ input: {
2940
+ close: "Close",
2941
+ more: "More",
2942
+ detail: "Detailed Info"
2943
+ },
2944
+ numeric: {
2945
+ equalTo: "Equal to",
2946
+ notEqualTo: "Not equal to",
2947
+ moreThan: "Greater than",
2948
+ moreThanOrEqualTo: "Greater than or equal to",
2949
+ lessThan: "Less than",
2950
+ lessThanOrEqualTo: "Less than or equal to",
2951
+ empty: "Null",
2952
+ nonEmpty: "Not null"
2953
+ },
2954
+ queryBuilder: {
2955
+ addItem: "Add Rule",
2956
+ addGroup: "Add Rule Group",
2957
+ removeGroup: "Del Rule Group"
2958
+ },
2959
+ wizard: {
2960
+ previousStep: "Previous",
2961
+ nextStep: "Next",
2962
+ save: "Save",
2963
+ submit: "Submit"
2964
+ },
2965
+ linkMenu: {
2966
+ title: "Messages",
2967
+ placeholder: "Enter a keyword.",
2968
+ sure: "OK",
2969
+ cancel: "Cancel"
2970
+ },
2971
+ todoList: {
2972
+ add: "Add",
2973
+ placeholder: "Please enter content..."
2974
+ },
2975
+ alert: {
2976
+ error: "Error",
2977
+ info: "Information",
2978
+ success: "Success",
2979
+ title: "Information",
2980
+ warning: "Warning"
2981
+ },
2982
+ amount: {
2983
+ currency: "Currency",
2984
+ amount: "Amount",
2985
+ date: "Date",
2986
+ equalTo: "Equal to",
2987
+ notEqualTo: "Not equal to",
2988
+ moreThan: "Greater than",
2989
+ moreThanOrEqualTo: "Greater than or equal to",
2990
+ lessThan: "Less than",
2991
+ lessThanOrEqualTo: "Less than or equal to",
2992
+ empty: "Null",
2993
+ nonEmpty: "Not null"
2994
+ },
2995
+ actionMenu: {
2996
+ moreText: "More"
2997
+ },
2998
+ base: {
2999
+ all: "All",
3000
+ cancel: "Cancel",
3001
+ confirm: "OK",
3002
+ delete: "Delete",
3003
+ edit: "Edit",
3004
+ more: "More",
3005
+ reset: "Reset",
3006
+ clear: "Clear",
3007
+ comma: ","
3008
+ },
3009
+ button: {
3010
+ cancel: "Cancel",
3011
+ confirm: "Confirm"
3012
+ },
3013
+ buttonGroup: {
3014
+ noData: "No data"
3015
+ },
3016
+ buttonMessage: {
3017
+ cancel: "Cancel",
3018
+ confirm: "Confirm"
3019
+ },
3020
+ cell: {
3021
+ placeholder: "--Select--"
3022
+ },
3023
+ cascader: {
3024
+ noMatch: "No matches.",
3025
+ loading: "Loading",
3026
+ placeholder: "--Select--",
3027
+ noData: "No data available."
3028
+ },
3029
+ chart: {
3030
+ auxiliary: "Auxiliary",
3031
+ emptyText: "No Data",
3032
+ kName: "Daily K-line",
3033
+ other: "Other",
3034
+ summation: "Summation",
3035
+ total: "Total",
3036
+ value: "Value"
3037
+ },
3038
+ colorSelectPanel: {
3039
+ confirm: "Select",
3040
+ cancel: "Cancel",
3041
+ predefine: "Default Colors",
3042
+ history: "Recent Colors",
3043
+ empty: "None"
3044
+ },
3045
+ crop: {
3046
+ choose: "Select Picture",
3047
+ zoomOut: "Reduced by 10%",
3048
+ zoomIn: "Zoom in by 10%",
3049
+ rotate_45: "rotate -45°",
3050
+ rotate45: "rotate 45°",
3051
+ closeCropArea: "hide selection",
3052
+ reset: "reset",
3053
+ closeCrop: "Exit cropping",
3054
+ cropImage: "Selecting a Region"
3055
+ },
3056
+ datepicker: {
3057
+ clear: "Clear",
3058
+ cancel: "Cancel",
3059
+ endDate: "End Date",
3060
+ confirm: "OK",
3061
+ month: "Month",
3062
+ endTime: "End Time",
3063
+ month2: "Feb",
3064
+ month1: "Jan",
3065
+ month4: "Apr",
3066
+ month3: "Mar",
3067
+ month6: "Jun",
3068
+ month5: "May",
3069
+ month8: "Aug",
3070
+ month7: "Jul",
3071
+ month10: "Oct",
3072
+ month9: "Sep",
3073
+ month12: "Dec",
3074
+ month11: "Nov",
3075
+ months: {
3076
+ feb: "February",
3077
+ jan: "January",
3078
+ apr: "April",
3079
+ mar: "March",
3080
+ jun: "June",
3081
+ may: "May",
3082
+ aug: "August",
3083
+ jul: "July",
3084
+ oct: "October",
3085
+ sep: "September",
3086
+ dec: "December",
3087
+ nov: "November"
3088
+ },
3089
+ nextYear: "Next year",
3090
+ nextMonth: "Next Month",
3091
+ prevMonth: "Previous Month",
3092
+ now: "Now",
3093
+ selectDate: "Select a date.",
3094
+ prevYear: "Previous year",
3095
+ startDate: "Start Date",
3096
+ selectTime: "Select a time.",
3097
+ today: "Today",
3098
+ currentMonth: "This Month",
3099
+ startTime: "Start Time",
3100
+ week: "Week",
3101
+ weeks: {
3102
+ mon: "Mon",
3103
+ sun: "Sun",
3104
+ wed: "Wed",
3105
+ tue: "Tue",
3106
+ thu: "Thu",
3107
+ sat: "Sat",
3108
+ fri: "Fri"
3109
+ },
3110
+ timezone: "Select a time zone.",
3111
+ year: "",
3112
+ hour: "Hour",
3113
+ minute: "Minute",
3114
+ second: "Second",
3115
+ to: "-",
3116
+ yearMonth: "{month} {year}",
3117
+ yearMonthDay: "{month} {day}, {year}"
3118
+ },
3119
+ richTextEditor: {
3120
+ bold: "bold",
3121
+ italic: "Italic",
3122
+ link: "Link",
3123
+ unlink: "Unlink",
3124
+ highlight: "Highlight",
3125
+ underline: "Underline",
3126
+ strike: "Strikethrough",
3127
+ subscript: "Subscript",
3128
+ superscript: "Superscript",
3129
+ code: "Coding",
3130
+ unorderedlist: "Bullet Lists",
3131
+ orderedlist: "Numbered Lists",
3132
+ taskList: "Multi-level Lists",
3133
+ quote: "Reference",
3134
+ codeBlock: "Code Block",
3135
+ formatClear: "Clear Formatting",
3136
+ nodeDelete: "Delete Node",
3137
+ undo: "Undo",
3138
+ redo: "Redo",
3139
+ left: "Left-Aligned",
3140
+ center: "Centered",
3141
+ right: "Right-Aligned",
3142
+ fontSize: "Font Size",
3143
+ lineHeight: "Line Spacing",
3144
+ hBox: "Headings",
3145
+ img: "Picture",
3146
+ color: "Text Color",
3147
+ table: "Table",
3148
+ backgroundColor: "Background Color",
3149
+ localResources: "Upload Local File",
3150
+ resourceLink: "Past Link"
3151
+ },
3152
+ calendar: {
3153
+ showType: {
3154
+ year: "Year"
3155
+ }
3156
+ },
3157
+ dept: {
3158
+ code: "Code",
3159
+ company: "Company",
3160
+ dept1: "Level-1 Dept.",
3161
+ dept2: "Level-2 Dept.",
3162
+ dept3: "Level-3 Dept.",
3163
+ dept4: "Level-4 Dept.",
3164
+ dept5: "Level-5 Dept.",
3165
+ dept6: "Level-6 Dept.",
3166
+ dept7: "Level-7 Dept.",
3167
+ dept8: "Level-8 Dept.",
3168
+ input: "Enter a department code ID or name.",
3169
+ name: "Name",
3170
+ search: "Auxiliary Search",
3171
+ selected: "Selected"
3172
+ },
3173
+ dialogBox: {
3174
+ confirm: "OK",
3175
+ cancel: "Cancel"
3176
+ },
3177
+ load: {
3178
+ dot: "Loading…"
3179
+ },
3180
+ exception: {
3181
+ build: "The module is under construction.",
3182
+ busy: "The network is busy. Please wait",
3183
+ noperm: "Not find the page",
3184
+ weaknet: "Poor network performance",
3185
+ pcview: "View the file on the PC",
3186
+ nodata: "Get some rest",
3187
+ create: "Create",
3188
+ provide: "Provided by the TINY Team DEV",
3189
+ nodatamf: "No data available.",
3190
+ nopermmf: "Insufficient permissions.",
3191
+ weaknetmf: "Network error.",
3192
+ noresult: "No results found.",
3193
+ nonews: "No messages.",
3194
+ pagenoperm: "403 Forbidden",
3195
+ pageweaknet: "Network error.",
3196
+ pagenothing: "404 Not Found",
3197
+ pageservererror: "500 Internal Server Error"
3198
+ },
3199
+ fileUpload: {
3200
+ largefile: "The file is too large and will be uploaded in segments. Please wait.",
3201
+ folder: "The file cannot be uploaded because it is more than five-folder levels deep.",
3202
+ init: "Service error. Please try again.",
3203
+ token: "Before starting, perform EDM authentication and obtain the token.",
3204
+ exceed: "{fileName} The file size exceeds the upper limit ({maxSize}).",
3205
+ largeFile: "The file exceeds 2 GB.",
3206
+ fileSize: "{fileName} The file is less than the minimum size ({minSize} {sizeUnit}).",
3207
+ deleteTip: "Press the Delete key.",
3208
+ downloadFile: "Download",
3209
+ previewFile: "Preview",
3210
+ updateFile: "Update",
3211
+ reUploadFile: "Upload Again",
3212
+ cancelFile: "Cancel Upload",
3213
+ deleteFile: "Delete",
3214
+ empty: "The file is empty.",
3215
+ kiaScanTip: "KIA needs to verify the download of documents from the public network. The current document is being checked by KIA. Try again later.",
3216
+ fileNameExceeds: "The file name contains more than 255 characters. Shorten the file name.",
3217
+ fileName: "This file name",
3218
+ calcHash: "The document is being analyzed and encrypted.",
3219
+ uploadFile: "Upload",
3220
+ downloadAll: "Download All",
3221
+ onlySupport: "Only {type} files are supported.",
3222
+ fileNotLessThan: "A single file cannot be less than ",
3223
+ fileNotMoreThan: "A single file cannot exceed ",
3224
+ fileSizeRange: "The size of a single file must range from {moreThan} to {lessThan}.",
3225
+ notSupport: "The format (.{format}) is not supported.",
3226
+ notSupportNoSuffix: "Files without file name extensions are not supported.",
3227
+ notSupportSpecialCharacters: "Special characters not allowed. Rename the file and upload it again.",
3228
+ attachment: "Attachments",
3229
+ uploadList: "File List",
3230
+ numberExceed: "Too many files in this batch. Max. supported: {number}",
3231
+ numberLimit: "Maximum files per batch: {number}",
3232
+ encryptDialogTitle: "Watermark and Encryption",
3233
+ addWatermark: "Add Watermark",
3234
+ encrypted: "Encryption",
3235
+ docPreview: "Preview",
3236
+ networkError: "Network error.",
3237
+ pictureNetworkError: "Network error. File upload failed.",
3238
+ reUploadTip: "{number} files failed to be uploaded."
3239
+ },
3240
+ uploadList: {
3241
+ pictureUploading: "Uploading",
3242
+ uploadFailed: "Upload failed",
3243
+ uploading: "Uploading",
3244
+ download: "Download",
3245
+ reUpload: "Upload Again",
3246
+ delete: "Delete",
3247
+ noAttachments: "No attachments available.",
3248
+ cancel: "Cancel",
3249
+ preview: "Preview",
3250
+ releaseAndUpload: "Release mouse capture to upload the file.",
3251
+ dragOrClickImport: "Drag a file here or click to import.",
3252
+ shoot: "Take Photo or Video",
3253
+ selectFromAlbum: "Select from Album",
3254
+ uploadFailedAndReupload: "Upload failed. Please try again."
3255
+ },
3256
+ upload: {
3257
+ addPicture: "Add Picture",
3258
+ addAudio: "Add Audio",
3259
+ addVideo: "Add Video"
3260
+ },
3261
+ grid: {
3262
+ dataUnchanged: "Data remains unchanged.",
3263
+ deleteSelectRecord: "Delete the selected records?",
3264
+ emptyText: "No data available.",
3265
+ error: {
3266
+ delRevert: "The <strong>revert</strong> method has been deprecated. Use <strong>revertData</strong> instead.",
3267
+ groupFixed: "If you want to use grouping headers, place the fixed columns on the left and right sides.",
3268
+ notDelete: "The <strong>delete</strong> method does not exist.",
3269
+ notQuery: "The <strong>query</strong> method does not exist.",
3270
+ notResizable: "Horizontal virtual scrolling cannot be resized.",
3271
+ notSave: "The <strong>save</strong> method does not exist.",
3272
+ reqModule: "The module {{name}} is missing.",
3273
+ rowIdEmpty: "The <strong>row-id</strong> parameter is required.",
3274
+ scrollYHeight: "The height or max-height must be specified before enabling virtual scrolling.",
3275
+ toolbarId: "A unique ID is required for the toolbar.",
3276
+ treeFixedExpand: "The fixed column conflicts with row expansion in the tree structure.",
3277
+ treeInsert: "The tree structure does not support the <strong>insert</strong> operation.",
3278
+ treeRemove: "The tree structure does not support the <strong>remove</strong> operation.",
3279
+ unableInsert: "Unable to insert data to the specified location.",
3280
+ notAllowDragSelf: "Self dragging is not allowed.",
3281
+ notAllowDragFixed: "Fixed columns cannot be dragged.",
3282
+ remoteMethod: "The <strong>multipleHistory.remoteSelectedMethod</strong> must be set for the remote storage of personalized template management.",
3283
+ remoteSelectedMethod: '"remoteSelectedMethod" needs to be set for remote storage for personalized template management.',
3284
+ chainCallError: "There are syntax errors in the default slot.",
3285
+ renderParamError: "A rendering method is required for generating VNode.",
3286
+ classComponentError: "There was an error in the class component rendering.",
3287
+ groupColumnFixedError: "Each group must have the same type.",
3288
+ missingValueFormat: "The renderer cannot format the date character string. The valueFormat source date format is required.",
3289
+ clipboardWriteError: "Clipboard write error."
3290
+ },
3291
+ filter: {
3292
+ allSelect: "All",
3293
+ endDate: "End Date",
3294
+ startDate: "Start Date",
3295
+ dateTips: "Select at least one date.",
3296
+ clear: "Clear Filter Criteria from Current Column",
3297
+ clearAll: "Clear Filter Criteria from All Columns",
3298
+ confirmFilter: "Filter",
3299
+ empty: "Empty",
3300
+ emptyText: "No data available.",
3301
+ equal: "Equal to",
3302
+ include: "Contains",
3303
+ prefix: "Starts with",
3304
+ resetFilter: "Reset",
3305
+ unempty: "Not empty"
3306
+ },
3307
+ individuation: {
3308
+ cancelBtn: "Cancel",
3309
+ colConfigs: {
3310
+ asc: "Ascending",
3311
+ desc: "Descending",
3312
+ frozenLeft: "Freeze left",
3313
+ frozenRight: "Freeze right",
3314
+ invisible: "Hide",
3315
+ unsorted: "Unsorted",
3316
+ unfrozen: "Unfrozen",
3317
+ visible: "Show",
3318
+ unfreeze: "Unfreeze",
3319
+ unsort: "Unsort"
3320
+ },
3321
+ toolbar: {
3322
+ set: "Operation",
3323
+ selected: "Selected",
3324
+ freeze: "Frozen",
3325
+ sort: "Sorting",
3326
+ clear: "Clear",
3327
+ search: "Search",
3328
+ all: "All"
3329
+ },
3330
+ columnSet: "Set Columns",
3331
+ overwriteSave: "Overwrite and Save",
3332
+ saveAs: "Save As",
3333
+ saveTemplate: "Save",
3334
+ selectTemplate: "Select",
3335
+ hideMsg: "There must be at least one column.",
3336
+ maxFreezeNumMsg: "A maximum of 6 columns can be frozen.",
3337
+ defaultTemplateName: "Enter a name. If no name is specified, a name will be automatically generated based on the time.",
3338
+ reserveTemplateName: "If no new name is specified, the original name will be kept.",
3339
+ resetBtn: "Reset",
3340
+ saveBtn: "OK",
3341
+ hideAll: "Hide All",
3342
+ showAll: "Show All",
3343
+ tabs: {
3344
+ base: {
3345
+ title: "Basic Settings",
3346
+ tips: "Click the icons to customize the display style."
3347
+ },
3348
+ other: {
3349
+ allDataSort: "All data",
3350
+ currPageSort: "Current page",
3351
+ pageSize: "Records per Page",
3352
+ title: "Other Settings",
3353
+ tips: "Set sorting for servers or clients and the number of records on each page.",
3354
+ sortType: "Sorting Data"
3355
+ }
3356
+ },
3357
+ title: "Custom Settings",
3358
+ switchtitle: "Manage",
3359
+ switchsave: "Save",
3360
+ switchlabel: "Configuration List:",
3361
+ switchapply: "Use",
3362
+ switchedit: "Edit",
3363
+ switchdel: "Delete",
3364
+ switchdelconfirm: "Deletion Confirmation",
3365
+ switchconfirm: "Confirm",
3366
+ switchonlytemp: "Save",
3367
+ switchtempapply: "Save and Use",
3368
+ switchtempoverwrite: "Overwrite and Use",
3369
+ switchdelcon: "Delete this template?",
3370
+ switchdelyes: "Confirm",
3371
+ switchdelno: "Cancel",
3372
+ switchapplycon: "Use this template??"
3373
+ },
3374
+ removeSelectRecord: "Remove the selected records?",
3375
+ saveSuccess: "Saved successfully.",
3376
+ selectOneRecord: "Select at least one record.",
3377
+ isSaveMsg: "Some data has been modified. Save the changes?"
3378
+ },
3379
+ hrapprover: {
3380
+ approver: "Authorized Approver",
3381
+ noapprover: "No authorized approver.",
3382
+ noselected: "No authorized approver selected.",
3383
+ remark: "Remarks"
3384
+ },
3385
+ imageViewer: {
3386
+ loadErrorAlt: "Loading failed.",
3387
+ save: "Save",
3388
+ del: "Delete",
3389
+ thumbnail: "Thumbnail",
3390
+ menu: "Directory",
3391
+ hide: "Hide Sidebar",
3392
+ show: "Show Sidebar"
3393
+ },
3394
+ navMenu: {
3395
+ moreText: "More"
3396
+ },
3397
+ logout: {
3398
+ in: "Login",
3399
+ out: "Logout"
3400
+ },
3401
+ page: {
3402
+ goto: "Go to",
3403
+ item: "items",
3404
+ next: "Next",
3405
+ page: "Records/Page",
3406
+ pageClassifier: "page",
3407
+ pagesize: "Records/Page",
3408
+ prev: "Previous",
3409
+ total: "Total:",
3410
+ totals: "Total:",
3411
+ jump: "Go to",
3412
+ hundredThousand: "100,000+",
3413
+ million: "1 million+",
3414
+ tenMillion: "10 million+",
3415
+ loadingTotals: "Loading the total number of items..."
3416
+ },
3417
+ popeditor: {
3418
+ cancel: "Cancel",
3419
+ confirm: "OK",
3420
+ historyLists: "History",
3421
+ reset: "Reset",
3422
+ search: "Query",
3423
+ selectionLists: "Selected",
3424
+ sourceLists: "All",
3425
+ title: "Select",
3426
+ filterNode: "Enter a keyword."
3427
+ },
3428
+ popupload: {
3429
+ fileName: "Name",
3430
+ fileSize: "Size",
3431
+ fileStatus: "Status",
3432
+ dialogTitle: "Upload Files",
3433
+ cancelButtonText: "Cancel",
3434
+ tipsFileText: "Info",
3435
+ uploadError: "Upload failed.",
3436
+ uploadButtonText: "Upload",
3437
+ uploadSuccess: "Upload completed.",
3438
+ saveButtonText: "Select File",
3439
+ uploadsButtonText: "Select Files",
3440
+ errorTypeTips: "Invalid file format.",
3441
+ errorSizeTips: "File too large.",
3442
+ confirmDeleteTips: "Delete This File?",
3443
+ delete: "Delete",
3444
+ waitUpload: "Waiting for upload",
3445
+ operation: "Operation",
3446
+ success: "Upload successful",
3447
+ listTip: "There are a total of {0} pieces of data: ",
3448
+ errorListTip: "There are {0} errors in them. Please modify them and try again",
3449
+ limitUploadFileType: "Supported file formats",
3450
+ limitUploadFileNumber: "Maximum files allowed",
3451
+ limitUploadFileSize: "Maximum file size",
3452
+ errorNumTips: "The number of uploaded files exceeds the limit. The operation has been cancelled"
3453
+ },
3454
+ rate: {
3455
+ level: {
3456
+ average: "Acceptable",
3457
+ excellent: "Very Good",
3458
+ fair: "Poor",
3459
+ good: "Good",
3460
+ poor: "Very Poor"
3461
+ }
3462
+ },
3463
+ select: {
3464
+ loading: "Loading...",
3465
+ noData: "No data available.",
3466
+ noMatch: "No matches.",
3467
+ placeholder: "--Select--",
3468
+ pleaseSearch: "Enter a keyword.",
3469
+ search: "Search",
3470
+ selected: "Selected",
3471
+ selectedNum: "{num} selected",
3472
+ noSearchData: "No matches. Enter another keyword.",
3473
+ add: "Add",
3474
+ collapse: "Collapse"
3475
+ },
3476
+ search: {
3477
+ placeholder: "Search"
3478
+ },
3479
+ signature: {
3480
+ confirm: "Done",
3481
+ rewrite: "Re-sign",
3482
+ cancel: "Cancel",
3483
+ tips: "Handwritten signature required.",
3484
+ resign: "Re-sign",
3485
+ placeholder: "Please sign here (mandatory)."
3486
+ },
3487
+ tabs: {
3488
+ moreItem: "More"
3489
+ },
3490
+ tag: {
3491
+ add: "Add"
3492
+ },
3493
+ toggleMenu: {
3494
+ placeholder: "Enter a keyword."
3495
+ },
3496
+ treeMenu: {
3497
+ placeholder: "Enter a keyword."
3498
+ },
3499
+ transfer: {
3500
+ filterPlaceholder: "Enter a keyword.",
3501
+ hasCheckedFormat: "{checked}/{total} checked",
3502
+ noData: "No data available.",
3503
+ noMatch: "No matches.",
3504
+ noCheckedFormat: "{total} items",
3505
+ titles: ["List 1", "List 2"]
3506
+ },
3507
+ tree: {
3508
+ loading: "Loading...",
3509
+ emptyText: "No data available.",
3510
+ switchText: "Select child nodes",
3511
+ edit: "Edit",
3512
+ delete: "Delete",
3513
+ addChild: "Add Child",
3514
+ newNodeTitle: "Add Child Node",
3515
+ deleteTip1: "Deleted data cannot be restored. Continue?",
3516
+ deleteTip2: "This node has child nodes. Retain them?",
3517
+ deleteTip3: "Retain child nodes"
3518
+ },
3519
+ usercard: {
3520
+ address: "Address",
3521
+ collapse: "Show less",
3522
+ email: "Email",
3523
+ empno: "Employee ID",
3524
+ expand: "Show more",
3525
+ fax: "Fax",
3526
+ internal: "Extension",
3527
+ manager: "Supervisor",
3528
+ mobile: "Mobile",
3529
+ other: "Additional Info",
3530
+ phone: "Landline",
3531
+ timezone: "Time Zone",
3532
+ travelcode: "Out-of-Office Message for a Business Trip",
3533
+ viop: "VIOP"
3534
+ },
3535
+ richText: {
3536
+ bold: "Bold",
3537
+ italic: "Tilt",
3538
+ underline: "Underline",
3539
+ header: "Paragraph Format",
3540
+ strike: "Delete Line",
3541
+ blockquote: "Block Reference",
3542
+ codeBlock: "Insert Code Segment",
3543
+ size: "Font Size",
3544
+ listOrdered: "No. List",
3545
+ listBullet: "Project List",
3546
+ header1: "H1",
3547
+ header2: "H2",
3548
+ align: "Alignment Mode",
3549
+ color: "Font Color",
3550
+ background: "Background Color",
3551
+ image: "Image",
3552
+ video: "Video",
3553
+ link: "Add Link",
3554
+ formula: "Insert Function",
3555
+ clean: "Clear Format",
3556
+ indent1: "Indent To The Left",
3557
+ indent2: "Indent To The Right",
3558
+ pickerLabel: "Title Size",
3559
+ headerPicker1: "Title 1",
3560
+ headerPicker2: "Title 2",
3561
+ headerPicker3: "Title 3",
3562
+ headerPicker4: "Title 4",
3563
+ headerPicker5: "Title 5",
3564
+ headerPicker6: "Title 6",
3565
+ normal: "Normal",
3566
+ sizeSmall: "Small",
3567
+ sizeLarge: "Large",
3568
+ sizeHuge: "Super Large Size",
3569
+ alignPicker1: "Align To The Left",
3570
+ alignPicker2: "Align In The Center",
3571
+ alignPicker3: "Align To The Right",
3572
+ alignPicker4: "Align The Two Ends",
3573
+ subScript: "Subscript",
3574
+ superScript: "Superscript",
3575
+ directionRTL: "Right To Left",
3576
+ font: "Font",
3577
+ file: "File",
3578
+ betterTable: "Table",
3579
+ fullscreen: "Fullscreen",
3580
+ insertColumnRight: "Insert Column Right",
3581
+ insertColumnLeft: "Insert Column Left",
3582
+ insertRowUp: "Insert Row Up",
3583
+ insertRowDown: "Insert Row Down",
3584
+ mergeCells: "Merge Cells",
3585
+ unmergeCells: "Split Cells",
3586
+ deleteColumn: "Delete Current Column",
3587
+ deleteRow: "Delete Current Row",
3588
+ deleteTable: "Delete Table",
3589
+ colorPicker: "Background Color",
3590
+ placeholder: "Insert text here...",
3591
+ maxLength: "Text Length exceeds the Limit, max Length config is "
3592
+ },
3593
+ fluentEditor: {
3594
+ undo: "Undo",
3595
+ redo: "Redo",
3596
+ lineheight: "Line Height"
3597
+ },
3598
+ steps: {
3599
+ done: "Completed",
3600
+ doing: "In Progress",
3601
+ wait: "Pending"
3602
+ },
3603
+ actionSheet: {
3604
+ cancel: "Cancel"
3605
+ },
3606
+ image: {
3607
+ loadFail: "Loading failed."
3608
+ },
3609
+ miniPicker: {
3610
+ cancel: "Cancel",
3611
+ confirm: "OK"
3612
+ },
3613
+ pullRefresh: {
3614
+ pullingDown: "Pull down to refresh.",
3615
+ pullingUp: "Pull up to refresh.",
3616
+ pulling: "Pull down to refresh.",
3617
+ loosing: "Release to refresh.",
3618
+ success: "Refreshed.",
3619
+ failed: "Refresh failed.",
3620
+ noMore: "No more data."
3621
+ },
3622
+ currency: {
3623
+ defaultCurrency: "Default",
3624
+ setDefault: "Set as default",
3625
+ chooseCurrency: "Select Currency"
3626
+ },
3627
+ calendarBar: {
3628
+ week: {
3629
+ 0: "Sun",
3630
+ 1: "Mon",
3631
+ 2: "Tue",
3632
+ 3: "Wed",
3633
+ 4: "Thu",
3634
+ 5: "Fri",
3635
+ 6: "Sat"
3636
+ },
3637
+ year: "%s",
3638
+ yearMonth: "%m %y",
3639
+ month: {
3640
+ 1: "Jan",
3641
+ 2: "Feb",
3642
+ 3: "Mar",
3643
+ 4: "Apr",
3644
+ 5: "May",
3645
+ 6: "Jun",
3646
+ 7: "Jul",
3647
+ 8: "Aug",
3648
+ 9: "Sep",
3649
+ 10: "Oct",
3650
+ 11: "Nov",
3651
+ 12: "Dec"
3652
+ },
3653
+ monthAbbr: {
3654
+ 1: "Jan",
3655
+ 2: "Feb",
3656
+ 3: "Mar",
3657
+ 4: "Apr",
3658
+ 5: "May",
3659
+ 6: "Jun",
3660
+ 7: "Jul",
3661
+ 8: "Aug",
3662
+ 9: "Sept",
3663
+ 10: "Oct",
3664
+ 11: "Nov",
3665
+ 12: "Dec"
3666
+ }
3667
+ },
3668
+ calendarView: {
3669
+ week: {
3670
+ 0: "Sun",
3671
+ 1: "Mon",
3672
+ 2: "Tue",
3673
+ 3: "Wed",
3674
+ 4: "Thu",
3675
+ 5: "Fri",
3676
+ 6: "Sat"
3677
+ },
3678
+ weekDays: {
3679
+ 0: "SUN",
3680
+ 1: "MON",
3681
+ 2: "TUE",
3682
+ 3: "WED",
3683
+ 4: "THU",
3684
+ 5: "FRI",
3685
+ 6: "SAT"
3686
+ },
3687
+ backToday: "Today",
3688
+ new: "Add",
3689
+ noSchedule: "No Schedule",
3690
+ year: "",
3691
+ month: "",
3692
+ dateFormat: "yyyy-MM"
3693
+ },
3694
+ selectedBox: {
3695
+ select: "Selected (%s)",
3696
+ allSelect: "All Selected (%s)",
3697
+ clear: "Clear",
3698
+ noData: "No data"
3699
+ },
3700
+ record: {
3701
+ record: "Recording",
3702
+ cancel: "Cancel",
3703
+ confirm: "OK",
3704
+ clickToStartRecording: "Click to record.",
3705
+ clickToResumeRecording: "Click to continue recording."
3706
+ },
3707
+ dialogSelect: {
3708
+ treeSearch: "Enter a keyword and press Enter."
3709
+ },
3710
+ loadList: {
3711
+ errorText: "Something went wrong.",
3712
+ loadingText: "Loading...",
3713
+ finishedText: "There's no more."
3714
+ }
3715
+ },
3716
+ validation: {
3717
+ array: {
3718
+ len: "This field must contain %s characters.",
3719
+ min: "This field must contain %s characters or more.",
3720
+ max: "This field must contain %s characters or less.",
3721
+ range: "This field must have %s to %s characters."
3722
+ },
3723
+ date: {
3724
+ format: "The date %s does not match the %s format.",
3725
+ invalid: "%s field verification error.",
3726
+ parse: "Unable to parse %s, %s is invalid"
3727
+ },
3728
+ default: "%s field verification error.",
3729
+ enum: "Must be one of %s",
3730
+ number: {
3731
+ len: "The value must be %s.",
3732
+ min: "The value must be %s or larger.",
3733
+ max: "The value must be %s or less.",
3734
+ range: "The value must be between %s and %s."
3735
+ },
3736
+ pattern: {
3737
+ mismatch: "The value %s does not match %s."
3738
+ },
3739
+ required: "Required field",
3740
+ string: {
3741
+ len: "This field must contain %s characters.",
3742
+ min: "This field must contain at least %s characters.",
3743
+ max: "This field can contain a maximum of %s characters.",
3744
+ range: "This field must contain %s to %s characters."
3745
+ },
3746
+ types: {
3747
+ acceptFile: "Only files are supported.",
3748
+ acceptImg: "Only images are supported.",
3749
+ array: "Invalid array.",
3750
+ boolean: "Invalid boolean value.",
3751
+ date: "Invalid date format.",
3752
+ dateTime: "Invalid date and time format.",
3753
+ dateYM: "The date format (yyyy-mm) does not comply with the rule.",
3754
+ dateYMD: "The date format (y-MM-dd) does not comply with the rule.",
3755
+ digits: "Invalid number only.",
3756
+ email: "Invalid email address.",
3757
+ fileSize: "The file size is not in the correct format, such as 3kb.",
3758
+ float: "Invalid floating point number.",
3759
+ hex: "Invalid hexadecimal number.",
3760
+ integer: "Invalid integer.",
3761
+ longDateTime: "Invalid long date format.",
3762
+ method: "Must be a function.",
3763
+ number: "Invalid number.",
3764
+ object: "Invalid object.",
3765
+ regexp: "Invalid regular expression.",
3766
+ specialch: "Only digits, letters, underscores (_), hyphens (-), and dots (.) are allowed.",
3767
+ specialch2: "Only digits, letters, underscores (_), and hyphens (-) are allowed.",
3768
+ speczh: "Only digits, letters, and underscores (_) are allowed.",
3769
+ string: "Invalid string.",
3770
+ time: "Invalid time format.",
3771
+ url: "Invalid URL.",
3772
+ version: "Invalid version format."
3773
+ },
3774
+ whitespace: "This field cannot be left blank."
3775
+ }
3776
+ }, io = /(%|)\{([0-9a-zA-Z_]+)\}/g;
3777
+ function ao(r) {
3778
+ for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), o = 1; o < e; o++)
3779
+ n[o - 1] = arguments[o];
3780
+ return n.length === 1 && typeof n[0] == "object" && (n = n[0]), (!n || !n.hasOwnProperty) && (n = {}), r.replace(io, function(i, t, a, s) {
3781
+ var c;
3782
+ return r[s - 1] === "{" && r[s + i.length] === "}" ? a : (c = Object.prototype.hasOwnProperty.call(n, a) ? n[a] : null, c ?? "");
3783
+ });
3784
+ }
3785
+ var fe = Ae, pe = null, _e = function(e, n) {
3786
+ if (n === void 0 && (n = void 0), pe) return pe.apply(this, arguments);
3787
+ for (var o = e.split("."), i = null, t = fe, a = 0, s = o.length; a < s; a++) {
3788
+ var c = o[a];
3789
+ if (i = t[c] || "", a === s - 1) return ao(i, n);
3790
+ if (!i) return "";
3791
+ t = i;
3792
+ }
3793
+ return "";
3794
+ }, dr = function(e) {
3795
+ return fe = e || fe, fe;
3796
+ }, so = function() {
3797
+ return fe.code;
3798
+ }, fr = function(e) {
3799
+ return pe = e || _e, pe;
3800
+ }, nt = Ee, pr = function(e) {
3801
+ var n = e.app, o = e.createI18n, i = e.messages, t = i === void 0 ? {} : i, a = e.i18n, s = a === void 0 ? {} : a, c = e.merge;
3802
+ typeof c != "function" && (c = function(p) {
3803
+ var u = p.lang, T = p.i18n, w = p.messages;
3804
+ return nt(!0, u, T.messages, w);
3805
+ });
3806
+ var d = {
3807
+ zhCN: Ae,
3808
+ enUS: rt
3809
+ };
3810
+ if (typeof o == "function") {
3811
+ var f = o({
3812
+ legacy: s.legacy,
3813
+ locale: s.locale || "zhCN",
3814
+ messages: c({
3815
+ lang: d,
3816
+ i18n: s,
3817
+ messages: t
3818
+ })
3819
+ });
3820
+ return pe = function(p, u) {
3821
+ return f.global.t(p, u);
3822
+ }, f;
3823
+ }
3824
+ return n && n.config && n.config.globalProperties && (n.config.globalProperties.$t = _e), c({
3825
+ lang: d,
3826
+ i18n: s,
3827
+ messages: t
3828
+ });
3829
+ }, hr = !0, mr = !1, lo = {
3830
+ isVue2: hr,
3831
+ isVue3: mr,
3832
+ use: dr,
3833
+ t: _e,
3834
+ i18n: fr,
3835
+ initI18n: pr,
3836
+ extend: nt,
3837
+ zhCN: Ae,
3838
+ enUS: rt
3839
+ }, Y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3840
+ __proto__: null,
3841
+ default: lo,
3842
+ enUS: rt,
3843
+ extend: nt,
3844
+ i18n: fr,
3845
+ initI18n: pr,
3846
+ isVue2: hr,
3847
+ isVue3: mr,
3848
+ language: so,
3849
+ t: _e,
3850
+ use: dr,
3851
+ zhCN: Ae
3852
+ }, Symbol.toStringTag, {
3853
+ value: "Module"
3854
+ }));
3855
+ Y.use;
3856
+ var Pt = Y.t;
3857
+ Y.i18n;
3858
+ Y.initI18n;
3859
+ Y.extend;
3860
+ Y.zhCN;
3861
+ Y.enUS;
3862
+ Y.language;
3863
+ const co = ({ onMounted: r, onActivated: e, nextTick: n }) => (o) => {
3864
+ let i;
3865
+ r(() => {
3866
+ o(), n(() => i = !0);
3867
+ }), e(() => i && o());
3868
+ }, uo = ({ getCurrentInstance: r, isVue2: e, nextTick: n, onUnmounted: o }) => () => {
3869
+ const i = r().proxy;
3870
+ e || Object.defineProperty(i, "$scopedSlots", { configurable: !0, value: null }), Object.defineProperty(i, "instanceSlots", {
3871
+ configurable: !0,
3872
+ get: () => i.$scopedSlots || i.$slots
3873
+ }), o(() => {
3874
+ n(() => {
3875
+ e || delete i.$scopedSlots, delete i.instanceSlots;
3876
+ });
3877
+ });
3878
+ }, fo = ({
3879
+ computed: r,
3880
+ getCurrentInstance: e,
3881
+ inject: n,
3882
+ markRaw: o,
3883
+ nextTick: i,
3884
+ onMounted: t,
3885
+ onActivated: a,
3886
+ onUnmounted: s,
3887
+ provide: c,
3888
+ reactive: d,
3889
+ toRef: f
3890
+ }) => ({ relationKey: l, relationContainer: p, onChange: u, childrenKey: T, delivery: w } = {}) => {
3891
+ if (!l)
3892
+ throw new Error("[TINY Error]<relationKey> must exist.");
3893
+ const h = e(), S = d({ children: [], indexInParent: -1 }), g = n(l, null);
3894
+ let v = [];
3895
+ if (g) {
3896
+ const { link: b, unlink: C, callbacks: _, childrenKey: O, delivery: M } = g;
3897
+ v = _, T = T || O || "instanceChildren", w = M, S.indexInParent = b(h), s(() => C(h));
3898
+ } else {
3899
+ T = T || "instanceChildren";
3900
+ const b = co({ onMounted: t, onActivated: a, nextTick: i }), C = u ? () => i(u) : En;
3901
+ let _;
3902
+ i(() => {
3903
+ const O = typeof p == "function" ? p() : p;
3904
+ O && (_ = new MutationObserver((M, L) => {
3905
+ const U = [];
3906
+ gr(O.childNodes, U), v.forEach((j) => j(U, M, L)), C();
3907
+ }), _.observe(O, { attributes: !0, childList: !0, subtree: !0 }));
3908
+ }), b(() => C()), s(() => {
3909
+ _ && (_.disconnect(), _ = null), v = null;
3910
+ });
3911
+ }
3912
+ const E = (b) => {
3913
+ const C = b.proxy;
3914
+ return S.children.push(o(C)), r(() => S.children.indexOf(C));
3915
+ }, x = (b) => {
3916
+ const C = S.children.indexOf(b.proxy);
3917
+ C > -1 && S.children.splice(C, 1);
3918
+ };
3919
+ return v.push((b) => po(S.children, b)), c(l, { link: E, unlink: x, callbacks: v, childrenKey: T, delivery: w }), Object.defineProperty(h.proxy, T, { configurable: !0, get: () => S.children }), s(() => delete h.proxy[T]), { children: f(S, "children"), index: f(S, "indexInParent"), delivery: w };
3920
+ }, gr = (r, e) => {
3921
+ r.length && r.forEach((n) => {
3922
+ e.push(n), n.childNodes && gr(n.childNodes, e);
3923
+ });
3924
+ }, po = (r, e) => {
3925
+ r.sort((n, o) => e.indexOf(n.$el) - e.indexOf(o.$el));
3926
+ };
3927
+ function ie() {
3928
+ return ie = Object.assign ? Object.assign.bind() : function(r) {
3929
+ for (var e = 1; e < arguments.length; e++) {
3930
+ var n = arguments[e];
3931
+ for (var o in n) ({}).hasOwnProperty.call(n, o) && (r[o] = n[o]);
3932
+ }
3933
+ return r;
3934
+ }, ie.apply(null, arguments);
3935
+ }
3936
+ var vr = function() {
3937
+ var e = {}, n = function(t, a, s) {
3938
+ if (s === void 0 && (s = !1), t && typeof t == "string" && typeof a == "function") {
3939
+ var c = e[t] || [];
3940
+ e[t] = c, c.push(a), a.once = s;
3941
+ }
3942
+ }, o = {
3943
+ emit: function(t) {
3944
+ var a = arguments, s = e[t];
3945
+ s && (s.forEach(function(c) {
3946
+ return c.apply(null, [].slice.call(a, 1));
3947
+ }), e[t] = s.filter(function(c) {
3948
+ return !c.once;
3949
+ }));
3950
+ },
3951
+ on: n,
3952
+ once: function(t, a) {
3953
+ n(t, a, !0);
3954
+ },
3955
+ off: function(t, a) {
3956
+ if (t && typeof t == "string") {
3957
+ var s = e[t];
3958
+ typeof a == "function" ? e[t] = s.filter(function(c) {
3959
+ return c !== a;
3960
+ }) : delete e[t];
3961
+ } else
3962
+ e = {};
3963
+ }
3964
+ };
3965
+ return o;
3966
+ }, ho = function(e, n) {
3967
+ n === void 0 && (n = {});
3968
+ var o = {};
3969
+ for (var i in e)
3970
+ i.indexOf("_") !== 0 && (o[i] = e[i]);
3971
+ for (var t in n)
3972
+ o[t] = n[t];
3973
+ return o;
3974
+ }, mo = function(e, n) {
3975
+ if (e === void 0 && (e = {}), typeof n == "object") {
3976
+ var o = Array.isArray(n) ? n : Object.keys(n).filter(function(t) {
3977
+ return n[t];
3978
+ }), i = "";
3979
+ return o.forEach(function(t) {
3980
+ e[t] && (i += e[t] + " ");
3981
+ }), i;
3982
+ } else
3983
+ return e[n] || "";
3984
+ }, go = k.defineAsyncComponent, vo = k.markRaw, yr = function(e) {
3985
+ var n = e.view, o = n === void 0 ? void 0 : n, i = e.component, t = i === void 0 ? void 0 : i, a = e.props, s = e.context, c = s.attrs, d = s.slots, f = e.extend, l = f === void 0 ? {} : f;
3986
+ return function() {
3987
+ return k.h(o && o.value || t, ie({
3988
+ ref: "modeTemplate"
3989
+ }, a, c, l), d);
3990
+ };
3991
+ }, ot = function(e) {
3992
+ var n = k.getCurrentInstance();
3993
+ return e && br(n), n == null ? void 0 : n.appContext.config.globalProperties;
3994
+ }, yo = function() {
3995
+ var e, n = k.getCurrentInstance(), o = n == null || (e = n.type) == null ? void 0 : e.name;
3996
+ if (!o) {
3997
+ var i, t;
3998
+ o = n == null || (i = n.parent) == null || (t = i.type) == null ? void 0 : t.name;
3999
+ }
4000
+ return o || "";
4001
+ }, bo = function() {
4002
+ var e;
4003
+ return ((e = k.getCurrentInstance()) == null ? void 0 : e.appContext) || {
4004
+ component: function() {
4005
+ }
4006
+ };
4007
+ }, wo = function() {
4008
+ var e = k.getCurrentInstance();
4009
+ return (e == null ? void 0 : e.appContext.config.globalProperties) || {};
4010
+ }, To = function(e) {
4011
+ var n;
4012
+ e === void 0 && (e = k.getCurrentInstance());
4013
+ var o = (n = e) == null ? void 0 : n.appContext.config.globalProperties.$router, i = o && o.currentRoute.value;
4014
+ return {
4015
+ route: i,
4016
+ router: o
4017
+ };
4018
+ }, br = function(e) {
4019
+ var n = vr();
4020
+ typeof e.$emitter > "u" && Object.defineProperty(e, "$emitter", {
4021
+ get: function() {
4022
+ return n;
4023
+ }
4024
+ });
4025
+ }, xo = function(e) {
4026
+ var n = function(i, t, a, s) {
4027
+ var c = i.subTree && i.subTree.children || i.children;
4028
+ Array.isArray(c) && c.forEach(function(d) {
4029
+ var f = d.type && d.type.componentName, l = d.component;
4030
+ f === t ? (l.emit(a, s), l.$emitter && l.$emitter.emit(a, s)) : n(d, t, a, s);
4031
+ });
4032
+ };
4033
+ return {
4034
+ dispatch: function(i, t, a) {
4035
+ for (var s = e.parent || e.root, c = s.type && s.type.componentName; s && (!c || c !== i); )
4036
+ s = s.parent, s && (c = s.type && s.type.componentName);
4037
+ if (s) {
4038
+ var d, f;
4039
+ (d = s).emit.apply(d, [t].concat(a)), s.$emitter && (f = s.$emitter).emit.apply(f, [t].concat(a));
4040
+ }
4041
+ },
4042
+ broadcast: function(i, t, a) {
4043
+ n(e, i, t, a);
4044
+ }
4045
+ };
4046
+ }, ke = function(e) {
4047
+ if (e && e.parent) return e.parent.type.name === "AsyncComponentWrapper" && e.parent.parent ? e.parent.parent : e.parent;
4048
+ }, So = function(e) {
4049
+ return function(n) {
4050
+ var o = ke(e), i = 0, t = function(s) {
4051
+ return {
4052
+ level: i,
4053
+ vm: H({}, s),
4054
+ el: s.vnode.el,
4055
+ options: s.type
4056
+ };
4057
+ };
4058
+ if (typeof n != "function") return o ? t(o) : {};
4059
+ for (i++; o && !n(t(o)); )
4060
+ o = ke(o), i++;
4061
+ };
4062
+ }, ko = function(e) {
4063
+ return function(n) {
4064
+ if (typeof n != "function") return wr(e.subTree);
4065
+ var o = 1, i = function(a) {
4066
+ if (a) {
4067
+ var s = a.children || a.dynamicChildren, c = o++;
4068
+ if (Array.isArray(s)) {
4069
+ if (s.some(function(d) {
4070
+ return d.component && n({
4071
+ level: c,
4072
+ vm: H({}, d.component),
4073
+ el: d.el,
4074
+ options: d.type,
4075
+ isLevel1: !0
4076
+ });
4077
+ })) return;
4078
+ s.forEach(function(d) {
4079
+ return i(d);
4080
+ });
4081
+ }
4082
+ }
4083
+ };
4084
+ i(e.subTree);
4085
+ };
4086
+ }, Co = /^on[A-Z]/, Eo = function(e) {
4087
+ var n = {}, o = {};
4088
+ for (var i in e) {
4089
+ var t = e[i];
4090
+ if (Co.test(i) && typeof t == "function") {
4091
+ o[yn(i.substr(2))] = t;
4092
+ continue;
4093
+ }
4094
+ n[i] = t;
4095
+ }
4096
+ return {
4097
+ $attrs: n,
4098
+ $listeners: o
4099
+ };
4100
+ }, wr = function(e) {
4101
+ var n = [];
4102
+ if (n.refs = {}, e) {
4103
+ var o = e.dynamicChildren || e.children;
4104
+ Array.isArray(o) ? o.forEach(function(i) {
4105
+ if (i.component) {
4106
+ var t = H({}, i.component);
4107
+ n.push(t), i.props.ref && (n.refs[i.props.ref] = t);
4108
+ }
4109
+ }) : e.component && n.push(H({}, e.component));
4110
+ }
4111
+ return n;
4112
+ }, Ne = function(e, n, o, i) {
4113
+ var t = function(c) {
4114
+ if (typeof i == "function" && i(c)) return 1;
4115
+ Object.defineProperty(e, c, {
4116
+ configurable: !0,
4117
+ enumerable: !0,
4118
+ get: function() {
4119
+ return n[o][c];
4120
+ },
4121
+ set: function(f) {
4122
+ return n[o][c] = f;
4123
+ }
4124
+ });
4125
+ };
4126
+ for (var a in n[o])
4127
+ t(a);
4128
+ return e;
4129
+ }, Ft = function(e) {
4130
+ return e.indexOf("_") === 0;
4131
+ }, Tr = function(e, n) {
4132
+ return Ne(e, n, "setupState", null), Ne(e, n, "props", Ft), Ne(e, n, "ctx", Ft), e;
4133
+ }, H = function(e, n, o) {
4134
+ o === void 0 && (o = null);
4135
+ var i = Eo(n.attrs), t = i.$attrs, a = i.$listeners, s = n.$emitter;
4136
+ s || (br(n), s = n.$emitter);
4137
+ var c = function() {
4138
+ for (var l = arguments.length, p = new Array(l), u = 0; u < l; u++)
4139
+ p[u] = arguments[u];
4140
+ n.emit.apply(n, p), s.emit.apply(e, p);
4141
+ }, d = function(l, p, u) {
4142
+ return l[p] = u;
4143
+ };
4144
+ return o || Tr(e, n), Object.defineProperties(e, {
4145
+ $attrs: {
4146
+ get: function() {
4147
+ return t;
4148
+ }
4149
+ },
4150
+ $children: {
4151
+ get: function() {
4152
+ return wr(n.subTree);
4153
+ }
4154
+ },
4155
+ $constants: {
4156
+ get: function() {
4157
+ return n.props._constants;
4158
+ }
4159
+ },
4160
+ $emit: {
4161
+ get: function() {
4162
+ return c;
4163
+ }
4164
+ },
4165
+ $el: {
4166
+ get: function() {
4167
+ return n.vnode.el;
4168
+ }
4169
+ },
4170
+ $listeners: {
4171
+ get: function() {
4172
+ return a;
4173
+ }
4174
+ },
4175
+ $mode: {
4176
+ get: function() {
4177
+ return n._tiny_mode;
4178
+ }
4179
+ },
4180
+ $nextTick: {
4181
+ get: function() {
4182
+ return k.nextTick;
4183
+ }
4184
+ },
4185
+ $off: {
4186
+ get: function() {
4187
+ return s.off;
4188
+ }
4189
+ },
4190
+ $on: {
4191
+ get: function() {
4192
+ return s.on;
4193
+ }
4194
+ },
4195
+ $once: {
4196
+ get: function() {
4197
+ return s.once;
4198
+ }
4199
+ },
4200
+ $options: {
4201
+ get: function() {
4202
+ return {
4203
+ componentName: n.type.componentName
4204
+ };
4205
+ }
4206
+ },
4207
+ $parent: {
4208
+ get: function() {
4209
+ return n.parent && H({}, ke(n));
4210
+ }
4211
+ },
4212
+ $refs: {
4213
+ get: function() {
4214
+ return n.refs;
4215
+ }
4216
+ },
4217
+ $renderless: {
4218
+ get: function() {
4219
+ return n.props.tiny_renderless;
4220
+ }
4221
+ },
4222
+ $scopedSlots: {
4223
+ get: function() {
4224
+ return n.slots;
4225
+ }
4226
+ },
4227
+ $set: {
4228
+ get: function() {
4229
+ return d;
4230
+ }
4231
+ },
4232
+ $slots: {
4233
+ get: function() {
4234
+ return n.slots;
4235
+ }
4236
+ },
4237
+ $template: {
4238
+ get: function() {
4239
+ return n.props.tiny_template;
4240
+ }
4241
+ }
4242
+ }), e;
4243
+ }, Ao = function(e, n) {
4244
+ for (var o in e.refs)
4245
+ Object.prototype.hasOwnProperty.call(e.refs, o) && (n[o] = e.refs[o]);
4246
+ }, _o = function(e, n) {
4247
+ var o, i, t = k.getCurrentInstance(), a = t == null ? void 0 : t.appContext.config.globalProperties, s = To(t), c = s.route, d = s.router, f = t == null || (o = t.proxy) == null || (i = o.$root) == null ? void 0 : i.$i18n, l = xo(t), p = l.dispatch, u = l.broadcast, T = So(t), w = ko(t), h = H({}, t, e), S = e.emit, g = {}, v = typeof t.props.tiny_template > "u" && ke(t), E = v ? H({}, v) : t.parent ? H({}, t.parent) : null, x = function(O) {
4248
+ var M, L = O.name, U = O.value, j = v ? v.ctx : t == null || (M = t.parent) == null ? void 0 : M.ctx;
4249
+ j[L] = U, E[L] = U;
4250
+ }, b = function(O) {
4251
+ Object.defineProperties(h, O), Object.defineProperties(t == null ? void 0 : t.ctx, O);
4252
+ }, C = function(O) {
4253
+ E && Object.defineProperties(E, O);
4254
+ };
4255
+ return k.onBeforeMount(function() {
4256
+ return Tr(h, t);
4257
+ }), k.onMounted(function() {
4258
+ return Ao(t, g);
4259
+ }), {
4260
+ framework: "vue3",
4261
+ vm: h,
4262
+ emit: S,
4263
+ emitter: vr,
4264
+ route: c,
4265
+ router: d,
4266
+ dispatch: p,
4267
+ broadcast: u,
4268
+ parentHandler: T,
4269
+ childrenHandler: w,
4270
+ i18n: f,
4271
+ refs: g,
4272
+ slots: t == null ? void 0 : t.slots,
4273
+ scopedSlots: t == null ? void 0 : t.slots,
4274
+ attrs: e.attrs,
4275
+ parent: E,
4276
+ nextTick: k.nextTick,
4277
+ constants: t == null ? void 0 : t.props._constants,
4278
+ mode: n,
4279
+ isPCMode: n === "pc",
4280
+ isMobileMode: n === "mobile",
4281
+ service: a == null ? void 0 : a.$service,
4282
+ getService: function() {
4283
+ return a == null ? void 0 : a.$getService(h);
4284
+ },
4285
+ setParentAttribute: x,
4286
+ defineInstanceProperties: b,
4287
+ defineParentInstanceProperties: C
4288
+ };
4289
+ }, Wo = function(e) {
4290
+ return e;
4291
+ }, Oo = k.Text, Mo = k.Comment, Go = function(e) {
4292
+ return !e || !e.type || [Oo, Mo].includes(e.type);
4293
+ }, Io = function(e) {
4294
+ var n = {};
4295
+ for (var o in e)
4296
+ if (o === "class" || o === "style")
4297
+ n[o] = e[o];
4298
+ else if (o === "on" || o === "nativeOn") {
4299
+ var i = e[o];
4300
+ for (var t in i) n["on" + gn(mn(t))] = i[t];
4301
+ } else if (o === "attrs" || o === "props" || o === "domProps") {
4302
+ var a = e[o];
4303
+ for (var s in a) n[s] = a[s];
4304
+ } else
4305
+ n[o] = e[o];
4306
+ return n;
4307
+ }, Po = function(e) {
4308
+ var n = e, o = !1;
4309
+ if (typeof e == "string" && typeof document < "u") {
4310
+ var i = document.createElement(e), t = ["SVG", "CIRCLE", "PATH"];
4311
+ i instanceof HTMLUnknownElement && !t.includes(i.nodeName) || e.includes("-") ? (e = e.toLowerCase(), o = !0, e === "transition" ? n = k.Transition : e === "transition-group" ? n = k.TransitionGroup : n = k.resolveComponent(e)) : n = e;
4312
+ }
4313
+ return {
4314
+ type: n,
4315
+ component: e,
4316
+ customElement: o
4317
+ };
4318
+ }, Yo = function(e, n, o) {
4319
+ var i = {}, t = o, a = Po(e), s = a.customElement, c = a.type;
4320
+ return e = a.component, n && typeof n == "object" && !Array.isArray(n) ? (i = Io(n), n.scopedSlots && (t = n.scopedSlots)) : (typeof n == "string" || Array.isArray(n)) && (o = n), (typeof o == "string" || Array.isArray(o)) && (t = typeof e != "string" || s ? function() {
4321
+ return o;
4322
+ } : o), k.h(c, i, t);
4323
+ }, Fo = function(e) {
4324
+ return function(n) {
4325
+ var o, i = n.component, t = n.propsData, a = n.el, s = Object.assign(i, {
4326
+ provide: (o = {}, o[e.configKey] = e.configInstance, o)
4327
+ }), c = k.createVNode(s, t);
4328
+ return k.render(c, a), H({}, c.component);
4329
+ };
4330
+ }, Lo = k.defineComponent, xr = !1, Ye = function(e) {
4331
+ var n = [];
4332
+ return Object.keys(e).forEach(function(o) {
4333
+ return e[o] && n.push(o);
4334
+ }), n.join(" ");
4335
+ }, zo = function(e) {
4336
+ var n = [];
4337
+ return e.forEach(function(o) {
4338
+ typeof o == "string" ? n.push(o) : typeof o == "object" && n.push(Ye(o));
4339
+ }), n.join(" ");
4340
+ }, Je = function(e) {
4341
+ if (!e)
4342
+ return "";
4343
+ if (typeof e == "string")
4344
+ return e;
4345
+ if (Array.isArray(e) && e.length > 0) {
4346
+ var n = [];
4347
+ return e.forEach(function(o) {
4348
+ o && (typeof o == "string" ? n.push(o) : Array.isArray(o) ? n.push(zo(o)) : typeof o == "object" && n.push(Ye(o)));
4349
+ }), n.join(" ");
4350
+ }
4351
+ return typeof e == "object" ? Ye(e) : "";
4352
+ }, Jo = function(e) {
4353
+ var n = Je(e), o = Array.from(new Set(n.split(" "))).filter(function(i) {
4354
+ return i;
4355
+ });
4356
+ return Je(o);
4357
+ }, Ro = function() {
4358
+ var e = k.ref(""), n = ["2xl", "xl", "lg", "md", "sm"], o = function(c) {
4359
+ return F || typeof matchMedia != "function" ? {
4360
+ matches: !1,
4361
+ media: c,
4362
+ addEventListener: function() {
4363
+ },
4364
+ removeEventListener: function() {
4365
+ }
4366
+ } : window.matchMedia(c);
4367
+ }, i = {
4368
+ "2xl": o("(min-width:1536px)"),
4369
+ xl: o("(min-width:1280px)"),
4370
+ lg: o("(min-width:1024px)"),
4371
+ md: o("(min-width:768px)"),
4372
+ sm: o("(min-width:640px)")
4373
+ }, t = function() {
4374
+ for (var c = 0; c < n.length; c++) {
4375
+ var d = n[c];
4376
+ if (i[d].matches) {
4377
+ e.value = d;
4378
+ return;
4379
+ }
4380
+ }
4381
+ e.value = "default";
4382
+ }, a = $n(0, function() {
4383
+ return t();
4384
+ });
4385
+ return t(), n.forEach(function(s) {
4386
+ return i[s].addEventListener("change", a);
4387
+ }), k.onBeforeUnmount(function() {
4388
+ n.forEach(function(s) {
4389
+ return i[s].removeEventListener("change", a);
4390
+ });
4391
+ }), {
4392
+ current: e
4393
+ };
4394
+ }, Do = ["IconLoadingShadow", "IconNoData"], Sr = 0, kr = function(e, n) {
4395
+ {
4396
+ var o;
4397
+ if ((o = e.props) != null && o.id) {
4398
+ var i = "" + e.props.id + Sr;
4399
+ n[e.props.id] = i, e.props.id = i;
4400
+ }
4401
+ }
4402
+ Array.isArray(e == null ? void 0 : e.children) && e.children.forEach(function(t) {
4403
+ kr(t, n);
4404
+ });
4405
+ }, Cr = function(e, n) {
4406
+ var o = ["fill", "mask", "filter"];
4407
+ o.forEach(function(i) {
4408
+ {
4409
+ var t, a;
4410
+ if ((t = e.props) != null && (a = t[i]) != null && a.includes("url(#")) {
4411
+ var s = e.props[i].replace("url(#", "").replace(")", ""), c = n[s];
4412
+ c && (e.props[i] = "url(#" + c + ")");
4413
+ }
4414
+ }
4415
+ }), Array.isArray(e == null ? void 0 : e.children) && e.children.forEach(function(i) {
4416
+ Cr(i, n);
4417
+ });
4418
+ }, No = function(e) {
4419
+ if (e) {
4420
+ var n = {};
4421
+ kr(e, n), Cr(e, n), Sr++;
4422
+ }
4423
+ };
4424
+ uo(ie({}, k, {
4425
+ isVue2: xr
4426
+ }));
4427
+ fo(ie({}, k, {
4428
+ isVue2: xr
4429
+ }));
4430
+ var Ke = "Tiny", Ko = {
4431
+ tiny_mode: String,
4432
+ tiny_mode_root: Boolean,
4433
+ tiny_template: [Function, Object],
4434
+ tiny_renderless: Function,
4435
+ tiny_theme: String,
4436
+ tiny_chart_theme: Object
4437
+ }, it = function(e, n) {
4438
+ var o = function(l) {
4439
+ return ~["pc", "mobile", "mobile-first"].indexOf(l);
4440
+ }, i = ot(n), t = typeof e.tiny_mode == "string" ? e.tiny_mode : null, a = k.inject("TinyMode", null), s;
4441
+ typeof i.tiny_mode == "string" ? s = i.tiny_mode : i.tiny_mode && (s = i.tiny_mode.value), o(t) || (t = null), o(a) || (a = null), o(s) || (s = null);
4442
+ var c = t || a || s || "pc";
4443
+ e.tiny_mode_root && k.provide("TinyMode", c);
4444
+ var d = k.getCurrentInstance();
4445
+ return Object.defineProperty(d, "_tiny_mode", {
4446
+ value: c
4447
+ }), c;
4448
+ }, jo = function(e, n) {
4449
+ var o = function(f) {
4450
+ return ~["tiny", "saas"].indexOf(f);
4451
+ }, i = ot(n), t = typeof e.tiny_theme == "string" ? e.tiny_theme : null, a = k.inject("TinyTheme", null), s = i.tiny_theme && i.tiny_theme.value;
4452
+ o(t) || (t = null), o(a) || (a = null), o(s) || (s = null);
4453
+ var c = t || a || s || "tiny";
4454
+ return c;
4455
+ }, Bo = function(e, n) {
4456
+ var o = ot(n), i = typeof e.tiny_chart_theme == "object" ? e.tiny_chart_theme : null, t = k.inject("TinyChartTheme", null), a = o.tiny_chart_theme && o.tiny_chart_theme.value, s = i || t || a || null;
4457
+ return s;
4458
+ }, Qo = function(e) {
4459
+ var n = e.props, o = e.context, i = e.template, t = e.extend, a = t === void 0 ? {} : t, s = it(n, o), c = k.computed(function() {
4460
+ if (typeof n.tiny_template < "u") return n.tiny_template;
4461
+ var d = i(s, n);
4462
+ return typeof d == "function" ? go(d) : d;
4463
+ });
4464
+ return yr({
4465
+ view: c,
4466
+ props: n,
4467
+ context: o,
4468
+ extend: a
4469
+ });
4470
+ }, Er = {
4471
+ configKey: Symbol("designConfigKey"),
4472
+ configInstance: null
4473
+ }, Zo = Fo(Er), Uo = {
4474
+ designConfig: null,
4475
+ twMerge: function() {
4476
+ return "";
4477
+ }
4478
+ }, Qe = function() {
4479
+ for (var e = arguments.length, n = new Array(e), o = 0; o < e; o++)
4480
+ n[o] = arguments[o];
4481
+ return Uo.twMerge(Je(n));
4482
+ }, Xo = function(e) {
4483
+ var n, o, i, t = e.props, a = e.context, s = e.renderless, c = e.api, d = e.extendOptions, f = d === void 0 ? {} : d, l = e.mono, p = l === void 0 ? !1 : l, u = e.classes, T = u === void 0 ? {} : u, w = typeof t.tiny_renderless == "function" ? t.tiny_renderless : s, h = k.inject(Er.configKey, {});
4484
+ h = ((n = h) == null ? void 0 : n.value) || h || {};
4485
+ var S = (o = h) == null || (i = o.components) == null ? void 0 : i[yo().replace(Ke, "")], g = ie({
4486
+ $prefix: Ke,
4487
+ t: Pt
4488
+ }, _o(a, it(t, a)), {
4489
+ designConfig: S,
4490
+ globalDesignConfig: h,
4491
+ useBreakpoint: Ro,
4492
+ mergeClass: Qe
4493
+ });
4494
+ g.vm.theme = jo(t, a), g.vm.chartTheme = Bo(t, a);
4495
+ var v = w(t, k, g, f);
4496
+ typeof (S == null ? void 0 : S.renderless) == "function" && Object.assign(v, S.renderless(t, k, g, v));
4497
+ var E = {
4498
+ t: Pt,
4499
+ vm: g.vm,
4500
+ f: ho,
4501
+ a: $o,
4502
+ d: g.defineInstanceProperties,
4503
+ dp: g.defineParentInstanceProperties,
4504
+ gcls: function(b) {
4505
+ return mo(T, b);
4506
+ },
4507
+ m: Qe
4508
+ };
4509
+ return E.d({
4510
+ slots: {
4511
+ get: function() {
4512
+ return g.vm.$slots;
4513
+ },
4514
+ configurable: !0
4515
+ },
4516
+ scopedSlots: {
4517
+ get: function() {
4518
+ return g.vm.$scopedSlots;
4519
+ },
4520
+ configurable: !0
4521
+ }
4522
+ }), E.dp({
4523
+ slots: {
4524
+ get: function() {
4525
+ return g.parent.$slots;
4526
+ },
4527
+ configurable: !0
4528
+ },
4529
+ scopedSlots: {
4530
+ get: function() {
4531
+ return g.parent.$scopedSlots;
4532
+ },
4533
+ configurable: !0
4534
+ }
4535
+ }), qo(), Array.isArray(c) && (Array.isArray(S == null ? void 0 : S.api) && (c = c.concat(S.api)), c.forEach(function(x) {
4536
+ var b = v[x];
4537
+ typeof b < "u" && (E[x] = b, p || g.setParentAttribute({
4538
+ name: x,
4539
+ value: b
4540
+ }));
4541
+ })), E;
4542
+ };
4543
+ function ei(r) {
4544
+ var e = r.name, n = e === void 0 ? "Icon" : e, o = r.component;
4545
+ return function(i) {
4546
+ return vo(Lo({
4547
+ name: Ke + n,
4548
+ setup: function(a, s) {
4549
+ var c = s.attrs || {}, d = c.fill, f = c.width, l = c.height, p = c["custom-class"], u = c["first-color"], T = c["second-color"], w = Object.assign({}, a, i || null), h = it(w, s), S = h === "mobile-first", g = {
4550
+ "data-tag": S ? "tiny-svg" : null
4551
+ }, v = g, E = "tiny-svg";
4552
+ S && (E = Qe("h-4 w-4 inline-block", p || "", w.class || ""));
4553
+ var x = Object.assign({
4554
+ style: {
4555
+ fill: d,
4556
+ width: f,
4557
+ height: l,
4558
+ "--tiny-first-color": u || "",
4559
+ "--tiny-second-color": T || ""
4560
+ },
4561
+ class: E,
4562
+ isSvg: !0
4563
+ }, v);
4564
+ if (x.nativeOn = s.listeners, Do.includes(n)) {
4565
+ var b = o.render;
4566
+ o.render = function() {
4567
+ for (var C = b.bind(this), _ = arguments.length, O = new Array(_), M = 0; M < _; M++)
4568
+ O[M] = arguments[M];
4569
+ var L = C(O);
4570
+ return No(L), L;
4571
+ };
4572
+ }
4573
+ return yr({
4574
+ component: o,
4575
+ props: w,
4576
+ context: s,
4577
+ extend: x
4578
+ });
4579
+ }
4580
+ }));
4581
+ };
4582
+ }
4583
+ var $o = function(e, n, o) {
4584
+ var i = {}, t = function(c) {
4585
+ var d = n.some(function(f) {
4586
+ return new RegExp(f).test(c);
4587
+ });
4588
+ (o && d || !o && !d) && (i[c] = e[c]);
4589
+ };
4590
+ for (var a in e)
4591
+ t(a);
4592
+ return i;
4593
+ }, je = {}, qo = function() {
4594
+ for (var e in je) {
4595
+ var n = je[e];
4596
+ typeof n.install == "function" && n.install(bo()), typeof n.init == "function" && n.init(wo());
4597
+ }
4598
+ je = {};
4599
+ };
4600
+ export {
4601
+ R as $,
4602
+ $n as G,
4603
+ Vo as P,
4604
+ Ho as Q,
4605
+ F as S,
4606
+ B as Z,
4607
+ Jo as a,
4608
+ $t as b,
4609
+ Zo as c,
4610
+ Lo as d,
4611
+ Je as e,
4612
+ Xo as f,
4613
+ Ke as g,
4614
+ Yo as h,
4615
+ Go as i,
4616
+ Ko as j,
4617
+ Qo as k,
4618
+ ei as l,
4619
+ Z as n,
4620
+ Wo as p,
4621
+ ve as s,
4622
+ ge as t
4623
+ };